chore: v0.15.0 — cart source, multistep source, version bump, docs#340
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@askable-ui/angular
@askable-ui/context
@askable-ui/core
@askable-ui/create-app
@askable-ui/mcp
@askable-ui/qwik
@askable-ui/react
@askable-ui/react-native
@askable-ui/solid
@askable-ui/svelte
@askable-ui/vue
@askable-ui/web-component
commit: |
…EADME, and website
Separates the 45 sources into two tiers: - /core: essential sources every app will use (form, table, error, user, navigation, cart, multistep, etc.) - /extended: opt-in niche sources (battery, geolocation, performance, A/B test, feature flags, etc.) The main entry point is unchanged — the split is for clarity, not restriction. All sources remain tree-shakeable in both tiers.
9ec0d70 to
9ddd706
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
0.14.0→0.15.0(core, context, react, vue, svelte, solid, angular, mcp, web-component, react-native, qwik, create-askable-app)README.md— expanded context sources table (35 sources across three categories: UI & content, User & session, Environment), updated framework hooks listing for all packages, expanded Features list to cover all new source familiessite/www/index.html— package card descriptions updated to highlight the full hook surface, new Context Sources section showcasing cart, multistep, environment, sensor, and session intelligence sourcessite/docs/guide/whats-new.md— prepend v0.15.0 release notes with full API examples foruseAskableCartSourceanduseAskableMultistepSourcesite/docs/api/core.md— appendcreateAskableMultistepSourceandcreateAskableCartSourcefactory documentation with field tablessite/docs/index.md,versioning.md,versions.json,versions/README.md, andguide/getting-started.md— advance all version references to v0.15.0What changed
Cart source (
useAskableCartSource)Exposes ecommerce cart state — items, itemCount, totalQuantity, subtotal, discount, tax, shipping, total (clamped ≥ 0), currency, couponCode, isEmpty, lastModifiedAt. Mutate with
addItem,removeItem,updateQuantity,setItems,setTotals,clearCart. Available in React, Vue, Svelte (runes), SolidJS, and Angular (AskableCartSourceService).Multistep source (
useAskableMultistepSource)Tracks wizard/stepper progress — currentId, currentIndex, currentLabel, totalSteps, progress (0–100), isFirstStep, isLastStep, isComplete. Navigate with
next,prev,goTo,complete,reset. Available in all six framework packages.Test plan
npm run build --workspacespasses cleanly (no TypeScript errors)npm test -w packages/core)0.15.0across allpackage.jsonfilessite/docs/guide/whats-new.mdopens with v0.15.0 sectionsite/www/index.htmlcontains new Context Sources sectionGenerated by Claude Code