@flickfyi/flkr 0.0.182 → 0.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-client-CAg1b8Bh.js → api-client-nn4U_Vfn.js} +1 -1
- package/dist/{app-DpM5nhb9.js → app-COXGJhrt.js} +3 -3
- package/dist/{bundler-DNrDcqyk.js → bundler-CW4YC73e.js} +4 -2
- package/dist/cli.js +11 -11
- package/dist/{delegate-DcVye0KE.js → delegate-aUVluBjB.js} +2 -2
- package/dist/{generate-B1l1z_FZ.js → generate-BeL1QPDi.js} +1 -1
- package/dist/{preview-Dqn_Tq6K.js → preview-DTVM8Csb.js} +2 -2
- package/dist/{publish-BmDqO1xU.js → publish-BJG-s-w5.js} +4 -4
- package/dist/{pull-CO80DMn8.js → pull-B_Yfjpi2.js} +1 -1
- package/dist/{save-8crfOeo1.js → save-UrfgmK2-.js} +2 -2
- package/dist/{sdk-app-BXWrf_pf.js → sdk-app-BAxznAf9.js} +3 -3
- package/dist/{sdk-deploy-CaEonlvx.js → sdk-deploy-D1wgQxse.js} +3 -3
- package/dist/{sdk-generation-CF8ATbrL.js → sdk-generation-CLQ-QrVM.js} +1 -1
- package/dist/{sdk-project-CKV3U3u9.js → sdk-project-BaO0fqhW.js} +1 -1
- package/dist/{use-auth-B6nwU2rp.js → use-auth-CtM4_BAY.js} +1 -1
- package/node_modules/@flickfyi/biscuit/.turbo/turbo-build.log +4 -4
- package/node_modules/@flickfyi/core/README.md +19 -9
- package/node_modules/@flickfyi/core/dist/chunks/{default-CuxDsQoM.js → default-BTmKidHV.js} +1 -1
- package/node_modules/@flickfyi/core/dist/chunks/{default-BB6YexEH.cjs → default-JhTq5I_y.cjs} +1 -1
- package/node_modules/@flickfyi/core/dist/chunks/{define-CUJRqVKY.cjs → define-BKCRhpuY.cjs} +1 -1
- package/node_modules/@flickfyi/core/dist/chunks/{define-e_VqSs4M.js → define-DZXgUsy7.js} +5 -5
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.js +728 -549
- package/node_modules/@flickfyi/core/dist/kowalski/index.cjs +5 -5
- package/node_modules/@flickfyi/core/dist/kowalski/index.js +4297 -3700
- package/node_modules/@flickfyi/core/dist/kowalski/schemas.cjs +1 -0
- package/node_modules/@flickfyi/core/dist/kowalski/schemas.js +637 -0
- package/node_modules/@flickfyi/core/dist/kowalski-catalog.css +516 -0
- package/node_modules/@flickfyi/core/dist/kowalski.css +10 -0
- package/node_modules/@flickfyi/core/dist/themes/athletic/athletic.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/athletic/athletic.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/compact/compact.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/compact/compact.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/default/default.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/default/default.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/editorial/editorial.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/editorial/editorial.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/handwritten/handwritten.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/handwritten/handwritten.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/index.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/index.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/kids/kids.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/kids/kids.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/rounded/rounded.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/rounded/rounded.js +1 -1
- package/node_modules/@flickfyi/core/dist/themes/technical/technical.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/themes/technical/technical.js +1 -1
- package/node_modules/@flickfyi/core/dist-types/hooks/use-feature-store/index.d.ts +43 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/calculations.d.ts +57 -3
- package/node_modules/@flickfyi/core/dist-types/kowalski/calculator.d.ts +7 -6
- package/node_modules/@flickfyi/core/dist-types/kowalski/catalog.d.cts +524 -809
- package/node_modules/@flickfyi/core/dist-types/kowalski/catalog.d.ts +524 -809
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/bill-split.d.ts +38 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/bookmark.d.ts +48 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/budget.d.ts +39 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/calculator.d.ts +62 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/checklist.d.ts +35 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/color-palette.d.ts +32 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/contact.d.ts +41 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/countdown.d.ts +34 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/event.d.ts +43 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/expense.d.ts +40 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/goal.d.ts +36 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/habit.d.ts +57 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/ledger.d.ts +43 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/note.d.ts +35 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/poll.d.ts +41 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/random-picker.d.ts +69 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/rating.d.ts +33 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/reminder.d.ts +48 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/rotation.d.ts +39 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/scoreboard.d.ts +37 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/shopping-list.d.ts +41 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/task-board.d.ts +39 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/time-zone.d.ts +34 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/timer.d.ts +43 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/trip.d.ts +61 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/components/unit-converter.d.ts +106 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/create-schemas.d.ts +6 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/date-time.d.ts +1 -1
- package/node_modules/@flickfyi/core/dist-types/kowalski/everyday.d.ts +28 -8
- package/node_modules/@flickfyi/core/dist-types/kowalski/feature-schema.d.ts +65 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/format.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/fortune.d.ts +21 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/frame.d.ts +4 -4
- package/node_modules/@flickfyi/core/dist-types/kowalski/index.d.cts +31 -7
- package/node_modules/@flickfyi/core/dist-types/kowalski/index.d.ts +31 -7
- package/node_modules/@flickfyi/core/dist-types/kowalski/lesson.d.ts +89 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/recipe.d.ts +129 -8
- package/node_modules/@flickfyi/core/dist-types/kowalski/schemas.d.cts +4 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/schemas.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist-types/kowalski/time-since.d.ts +34 -0
- package/node_modules/@flickfyi/core/examples/example-metadata.ts +19 -2
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.stories.tsx +25 -6
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.tsx +6 -12
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.stories.tsx +22 -5
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.stories.tsx +26 -5
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.tsx +6 -21
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.stories.tsx +18 -5
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.tsx +6 -19
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.stories.tsx +25 -5
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.tsx +6 -21
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.stories.tsx +19 -6
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.tsx +6 -17
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.stories.tsx +30 -5
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.stories.tsx +22 -5
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.stories.tsx +23 -5
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.tsx +6 -19
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.stories.tsx +23 -5
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/fortune/fortune.stories.tsx +61 -0
- package/node_modules/@flickfyi/core/examples/kowalski/fortune/fortune.tsx +11 -0
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.stories.tsx +18 -5
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.tsx +3 -19
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.stories.tsx +22 -5
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.stories.tsx +25 -5
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.tsx +6 -20
- package/node_modules/@flickfyi/core/examples/kowalski/lesson/lesson.stories.tsx +99 -0
- package/node_modules/@flickfyi/core/examples/kowalski/lesson/lesson.tsx +11 -0
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.stories.tsx +21 -5
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.tsx +3 -17
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.stories.tsx +26 -5
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.tsx +3 -21
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.stories.tsx +37 -6
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.stories.tsx +18 -5
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.tsx +6 -14
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.stories.tsx +117 -5
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.tsx +6 -115
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.stories.tsx +22 -5
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.stories.tsx +26 -5
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.tsx +6 -22
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.stories.tsx +26 -5
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.tsx +6 -21
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.stories.tsx +28 -6
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.tsx +6 -22
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.stories.tsx +27 -6
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.tsx +6 -22
- package/node_modules/@flickfyi/core/examples/kowalski/time-since/time-since.stories.tsx +33 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-since/time-since.tsx +12 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.stories.tsx +22 -6
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.tsx +6 -17
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.stories.tsx +18 -5
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.tsx +6 -18
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.stories.tsx +25 -5
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.tsx +3 -21
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.stories.tsx +19 -6
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.tsx +6 -19
- package/node_modules/@flickfyi/core/examples/parrott/calculator/calculator.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/calculator/calculator.tsx +2 -13
- package/node_modules/@flickfyi/core/examples/parrott/checklist/checklist.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/checklist/checklist.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/countdown/countdown.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/countdown/countdown.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/counter/counter.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/counter/counter.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/fortune/fortune.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/fortune/fortune.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/grid/grid.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/grid/grid.tsx +4 -9
- package/node_modules/@flickfyi/core/examples/parrott/kale-smoothie/kale-smoothie.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/kale-smoothie/kale-smoothie.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/list/list.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/list/list.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/log/log.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/log/log.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/timed-task/timed-task.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/timed-task/timed-task.tsx +0 -8
- package/node_modules/@flickfyi/core/examples/parrott/timer/timer.stories.tsx +10 -3
- package/node_modules/@flickfyi/core/examples/parrott/timer/timer.tsx +0 -8
- package/node_modules/@flickfyi/core/package.json +16 -3
- package/node_modules/@flickfyi/core/src/{kowalski/use-configured-feature.ts → hooks/use-configured-feature/index.ts} +1 -1
- package/node_modules/@flickfyi/core/src/{kowalski/use-feature-store.ts → hooks/use-feature-store/index.ts} +37 -12
- package/node_modules/@flickfyi/core/src/kowalski/README.md +13 -0
- package/node_modules/@flickfyi/core/src/kowalski/calculations.ts +36 -8
- package/node_modules/@flickfyi/core/src/kowalski/calculator.ts +15 -7
- package/node_modules/@flickfyi/core/src/kowalski/catalog.ts +110 -704
- package/node_modules/@flickfyi/core/src/kowalski/components/bill-split.tsx +284 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/bookmark.tsx +347 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/budget.tsx +169 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/calculator.tsx +202 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/checklist.tsx +119 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/color-palette.tsx +302 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/contact.tsx +247 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/countdown.tsx +173 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/event.tsx +260 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/expense.tsx +257 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/goal.tsx +182 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/habit.tsx +272 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/ledger.tsx +211 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/note.tsx +188 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/poll.tsx +242 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/random-picker.tsx +308 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/rating.tsx +112 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/reminder.tsx +298 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/rotation.tsx +146 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/scoreboard.tsx +139 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/shopping-list.tsx +144 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/task-board.tsx +146 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/time-zone.tsx +240 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/timer.tsx +225 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/trip.tsx +338 -0
- package/node_modules/@flickfyi/core/src/kowalski/components/unit-converter.tsx +285 -0
- package/node_modules/@flickfyi/core/src/kowalski/create-schemas.ts +8 -0
- package/node_modules/@flickfyi/core/src/kowalski/date-time.tsx +1 -1
- package/node_modules/@flickfyi/core/src/kowalski/everyday.tsx +1 -640
- package/node_modules/@flickfyi/core/src/kowalski/feature-schema.ts +84 -0
- package/node_modules/@flickfyi/core/src/kowalski/format.ts +29 -3
- package/node_modules/@flickfyi/core/src/kowalski/fortune.tsx +67 -0
- package/node_modules/@flickfyi/core/src/kowalski/frame.tsx +5 -6
- package/node_modules/@flickfyi/core/src/kowalski/index.ts +31 -22
- package/node_modules/@flickfyi/core/src/kowalski/lesson.tsx +564 -0
- package/node_modules/@flickfyi/core/src/kowalski/recipe.tsx +78 -37
- package/node_modules/@flickfyi/core/src/kowalski/schemas.ts +67 -0
- package/node_modules/@flickfyi/core/src/kowalski/stories/composition.tsx +22 -20
- package/node_modules/@flickfyi/core/src/kowalski/time-since.tsx +145 -0
- package/node_modules/@flickfyi/core/src/molecules/progress/progress.tsx +4 -1
- package/node_modules/@flickfyi/core/src/oklch.ts +1 -6
- package/node_modules/@flickfyi/core/src/parrott/theme.ts +3 -1
- package/node_modules/@flickfyi/core/src/themes/editorial/editorial.ts +6 -1
- package/node_modules/@flickfyi/core/src/themes/palette.ts +5 -5
- package/node_modules/@flickfyi/core/src/themes/stories/composition.tsx +11 -9
- package/node_modules/@flickfyi/core/src/themes/stories/gallery.tsx +7 -11
- package/node_modules/@flickfyi/core/tsgo.bun.lock +7 -7
- package/node_modules/@flickfyi/core/tsgo.package.json +1 -1
- package/package.json +2 -2
- package/node_modules/@flickfyi/core/dist-types/kowalski/clocks.d.ts +0 -4
- package/node_modules/@flickfyi/core/dist-types/kowalski/details.d.ts +0 -7
- package/node_modules/@flickfyi/core/dist-types/kowalski/productivity.d.ts +0 -5
- package/node_modules/@flickfyi/core/dist-types/kowalski/tools.d.ts +0 -7
- package/node_modules/@flickfyi/core/dist-types/kowalski/use-feature-store.d.ts +0 -15
- package/node_modules/@flickfyi/core/src/kowalski/clocks.tsx +0 -464
- package/node_modules/@flickfyi/core/src/kowalski/details.tsx +0 -1387
- package/node_modules/@flickfyi/core/src/kowalski/productivity.tsx +0 -575
- package/node_modules/@flickfyi/core/src/kowalski/tools.tsx +0 -1213
- /package/node_modules/@flickfyi/core/dist-types/{kowalski/use-clock.d.ts → hooks/use-clock/index.d.ts} +0 -0
- /package/node_modules/@flickfyi/core/dist-types/{kowalski/use-configured-feature.d.ts → hooks/use-configured-feature/index.d.ts} +0 -0
- /package/node_modules/@flickfyi/core/src/{kowalski/use-clock.ts → hooks/use-clock/index.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
require("../themes.css");
|
|
2
|
-
const e=require("./athletic/athletic.cjs"),t=require("./compact/compact.cjs"),n=require("../chunks/default-
|
|
2
|
+
const e=require("./athletic/athletic.cjs"),t=require("./compact/compact.cjs"),n=require("../chunks/default-JhTq5I_y.cjs"),r=require("./editorial/editorial.cjs"),i=require("./handwritten/handwritten.cjs"),a=require("./kids/kids.cjs"),o=require("./rounded/rounded.cjs"),s=require("./technical/technical.cjs");var c={athletic:e.createTheme,compact:t.createTheme,default:n.t,editorial:r.createTheme,handwritten:i.createTheme,kids:a.createTheme,rounded:o.createTheme,technical:s.createTheme};module.exports=c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../themes.css";
|
|
2
2
|
import { createTheme as e } from "./athletic/athletic.js";
|
|
3
3
|
import { createTheme as t } from "./compact/compact.js";
|
|
4
|
-
import { t as n } from "../chunks/default-
|
|
4
|
+
import { t as n } from "../chunks/default-BTmKidHV.js";
|
|
5
5
|
import { createTheme as r } from "./editorial/editorial.js";
|
|
6
6
|
import { createTheme as i } from "./handwritten/handwritten.js";
|
|
7
7
|
import { createTheme as a } from "./kids/kids.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
require("../../themes.css");
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-BKCRhpuY.cjs");var t={density:1,display:{accent:!0,family:`Bricolage Grotesque`,step:`6xl`,weight:`800`},emphasis:{weight:`400`},fonts:{body:`Andika`,ui:`Bricolage Grotesque`,uiWeight:`700`},heading:{accent:!0,family:`Bricolage Grotesque`,step:`4xl`,weight:`800`},label:{uppercase:!1},radius:1,stroke:2,surface:`outlined`,title:{family:`Bricolage Grotesque`,weight:`700`},unit:20},n=e.t({name:`kids`,roles:[`h1`,`label`,`muted`,`text`],spec:t});exports.createTheme=n,exports.spec=t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
require("../../themes.css");
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-BKCRhpuY.cjs");var t={density:1.25,display:{family:`Fredoka`,step:`6xl`,weight:`600`},emphasis:{weight:`700`},fonts:{body:`Nunito`,ui:`Fredoka`,uiWeight:`500`},heading:{family:`Fredoka`,step:`4xl`,weight:`600`},label:{uppercase:!1},pill:!0,radius:1.5,stroke:1.5,surface:`floating`,title:{family:`Fredoka`,weight:`600`},unit:17},n=e.t({name:`rounded`,roles:[`display`,`h1`,`h2`,`label`,`muted`,`strong`,`text`],spec:t});exports.createTheme=n,exports.spec=t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
require("../../themes.css");
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/define-BKCRhpuY.cjs");var t={density:1,display:{family:`Doto`,step:`6xl`,weight:`800`},emphasis:{weight:`600`},fonts:{body:`"Chakra Petch"`,ui:`"Martian Mono"`,uiWeight:`500`},heading:{family:`"Chakra Petch"`,step:`3xl`,weight:`600`},label:{uppercase:!0},radius:.25,stroke:1,surface:`outlined`,title:{family:`"Chakra Petch"`,weight:`600`},unit:15},n=e.t({name:`technical`,roles:[`display`,`h1`,`h2`,`muted`,`strong`,`text`],spec:t});exports.createTheme=n,exports.spec=t;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Subscribes to a Quantum store and exposes optimistic writes after hydration.
|
|
4
|
+
*
|
|
5
|
+
* @typeParam T - The state validated by the store schema.
|
|
6
|
+
* @param options - The store identity, schema, initial state, and sharing scope.
|
|
7
|
+
* @returns The visible state and save status. `set` accepts a partial update or an
|
|
8
|
+
* updater function and returns whether the write was queued; its optional callback
|
|
9
|
+
* runs after persistence succeeds. `ready` means the store is hydrated and writable.
|
|
10
|
+
* `retry` is available after a load failure. Failed writes roll back and set `error`.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Public stores share state between users of the same flick. Pass `scope: 'private'`
|
|
14
|
+
* for separate state per user. Changing the name or scope opens a different store;
|
|
15
|
+
* it does not migrate existing data.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useFeatureStore<T extends object>(options: UseFeatureStoreOptions<T>): {
|
|
18
|
+
error: string | undefined;
|
|
19
|
+
ready: boolean;
|
|
20
|
+
retry: (() => void) | undefined;
|
|
21
|
+
saving: boolean;
|
|
22
|
+
set: (update: Partial<T> | ((current: T) => Partial<T>), onSaved?: () => void) => boolean;
|
|
23
|
+
value: T;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Options for {@link useFeatureStore}.
|
|
27
|
+
*
|
|
28
|
+
* @typeParam T - The state validated by `schema`.
|
|
29
|
+
*/
|
|
30
|
+
export type UseFeatureStoreOptions<T extends object> = {
|
|
31
|
+
/** Seeds a new store and supplies the value before hydration; never replaces saved state. */
|
|
32
|
+
initialState: T;
|
|
33
|
+
/** Stable store name within the flick. Reuse it to reopen the same store and scope. */
|
|
34
|
+
name: string;
|
|
35
|
+
/** Validates snapshots and updates and determines the store version. Keep its reference stable. */
|
|
36
|
+
schema: z.ZodType<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether state is shared between users of the flick or kept separately per user.
|
|
39
|
+
*
|
|
40
|
+
* @defaultValue `'public'`
|
|
41
|
+
*/
|
|
42
|
+
scope?: 'private' | 'public';
|
|
43
|
+
};
|
|
@@ -1,9 +1,61 @@
|
|
|
1
|
-
import { PickerDomain
|
|
1
|
+
import { PickerDomain } from './components/random-picker.js';
|
|
2
|
+
export declare const unitDefinitions: {
|
|
3
|
+
c: {
|
|
4
|
+
dimension: string;
|
|
5
|
+
factor: number;
|
|
6
|
+
offset: number;
|
|
7
|
+
};
|
|
8
|
+
f: {
|
|
9
|
+
dimension: string;
|
|
10
|
+
factor: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
};
|
|
13
|
+
ft: {
|
|
14
|
+
dimension: string;
|
|
15
|
+
factor: number;
|
|
16
|
+
offset: number;
|
|
17
|
+
};
|
|
18
|
+
g: {
|
|
19
|
+
dimension: string;
|
|
20
|
+
factor: number;
|
|
21
|
+
offset: number;
|
|
22
|
+
};
|
|
23
|
+
k: {
|
|
24
|
+
dimension: string;
|
|
25
|
+
factor: number;
|
|
26
|
+
offset: number;
|
|
27
|
+
};
|
|
28
|
+
kg: {
|
|
29
|
+
dimension: string;
|
|
30
|
+
factor: number;
|
|
31
|
+
offset: number;
|
|
32
|
+
};
|
|
33
|
+
km: {
|
|
34
|
+
dimension: string;
|
|
35
|
+
factor: number;
|
|
36
|
+
offset: number;
|
|
37
|
+
};
|
|
38
|
+
lb: {
|
|
39
|
+
dimension: string;
|
|
40
|
+
factor: number;
|
|
41
|
+
offset: number;
|
|
42
|
+
};
|
|
43
|
+
m: {
|
|
44
|
+
dimension: string;
|
|
45
|
+
factor: number;
|
|
46
|
+
offset: number;
|
|
47
|
+
};
|
|
48
|
+
mi: {
|
|
49
|
+
dimension: string;
|
|
50
|
+
factor: number;
|
|
51
|
+
offset: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
2
54
|
export declare function elapsedSeconds(state: {
|
|
3
55
|
elapsedSeconds: number;
|
|
4
56
|
startedAt: number | null;
|
|
5
57
|
}, now: number): number;
|
|
6
|
-
export declare function billShares(total: number, people: number, tipPercent: number, currency: string): {
|
|
58
|
+
export declare function billShares(total: number, people: number, tipPercent: number, currency: string | undefined): {
|
|
7
59
|
perPerson: number;
|
|
8
60
|
remainder: number;
|
|
9
61
|
total: number;
|
|
@@ -12,6 +64,8 @@ export declare function convertUnit(value: number, from: keyof typeof unitDefini
|
|
|
12
64
|
export declare function localDate(now: number, timeZone: string): string;
|
|
13
65
|
/** Recurrence is an explicit 24-hour / 7-day interval from the supplied instant. */
|
|
14
66
|
export declare function nextReminder(dueAt: string | null, recurrence: 'none' | 'daily' | 'weekly', now: number): string | null;
|
|
67
|
+
/** Stored and authored instants are unvalidated text; anything unparseable reads as unset. */
|
|
68
|
+
export declare function parseInstant(value: string | null | undefined): number | null;
|
|
15
69
|
export declare function pickResult(domain: PickerDomain, sample: number): string | number;
|
|
16
70
|
/** Currency padding and grouping stay identical in the saved card and its editor. */
|
|
17
|
-
export declare function formatCurrency(value: number, currency: string): string;
|
|
71
|
+
export declare function formatCurrency(value: number, currency: string | undefined): string;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { CalculatorData, calculatorStoreSchema } from './components/calculator.js';
|
|
3
|
+
type CalculatorState = z.output<typeof calculatorStoreSchema>['calculation'];
|
|
4
|
+
type CalculatorOperator = NonNullable<z.output<typeof CalculatorData>['operator']>;
|
|
4
5
|
export type CalculatorKey = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | CalculatorOperator | '.' | '=' | '%' | 'backspace' | 'clear' | 'sign';
|
|
5
|
-
export declare const calculatorKeys: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "clear" | "%" | "*" | "
|
|
6
|
-
export declare function initialCalculator({ left, operator, right, }: Pick<
|
|
6
|
+
export declare const calculatorKeys: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "clear" | "%" | "*" | "." | "-" | "+" | "/" | "=" | "backspace" | "sign")[];
|
|
7
|
+
export declare function initialCalculator({ left, operator, right, }: Pick<z.output<typeof CalculatorData>, 'left' | 'operator' | 'right'>): CalculatorState;
|
|
7
8
|
/** One complete JSON replacement keeps the pending operation and its entry together. */
|
|
8
9
|
export declare function pressCalculatorKey(state: CalculatorState, key: CalculatorKey): CalculatorState;
|
|
9
|
-
export declare function calculatorKeyLabel(state: CalculatorState, key: CalculatorKey): "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "%" | "
|
|
10
|
+
export declare function calculatorKeyLabel(state: CalculatorState, key: CalculatorKey): "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "%" | "." | "+" | "=" | "C" | "AC" | "⌫" | "±" | "×" | "÷" | "−";
|
|
10
11
|
export declare function calculatorEquation(state: CalculatorState): string;
|
|
11
12
|
/** Presentation only: the keypad and Quantum keep the exact canonical entry. */
|
|
12
13
|
export declare function calculatorDisplay(entry: string): string;
|