@flickfyi/flkr 0.0.141 → 0.0.146
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/node_modules/@flickfyi/attestation/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/biscuit/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/core/.oxlintrc.json +2 -1
- package/node_modules/@flickfyi/core/.turbo/turbo-build.log +502 -95
- package/node_modules/@flickfyi/core/README.md +58 -4
- package/node_modules/@flickfyi/core/dist/index.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/index.js +35 -24
- package/node_modules/@flickfyi/core/dist/kowalski/calculations.d.ts +17 -0
- package/node_modules/@flickfyi/core/dist/kowalski/calculator.d.ts +13 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.cjs +1 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.d.cts +962 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.d.ts +962 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.js +639 -0
- package/node_modules/@flickfyi/core/dist/kowalski/clocks.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist/kowalski/date-time.d.ts +22 -0
- package/node_modules/@flickfyi/core/dist/kowalski/details.d.ts +7 -0
- package/node_modules/@flickfyi/core/dist/kowalski/everyday.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/format.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist/kowalski/frame.d.ts +161 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.cjs +21 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.d.cts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.js +7496 -0
- package/node_modules/@flickfyi/core/dist/kowalski/productivity.d.ts +5 -0
- package/node_modules/@flickfyi/core/dist/kowalski/recipe.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/tools.d.ts +7 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-clock.d.ts +6 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-configured-feature.d.ts +19 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-feature-store.d.ts +15 -0
- package/node_modules/@flickfyi/core/dist/kowalski.css +506 -0
- package/node_modules/@flickfyi/core/dist/molecules/field/field.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/molecules/index.d.cts +3 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.d.ts +3 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.js +88 -27
- package/node_modules/@flickfyi/core/dist/molecules/segmented/segmented.d.ts +10 -0
- package/node_modules/@flickfyi/core/dist/molecules/stepper/stepper.d.ts +10 -0
- package/node_modules/@flickfyi/core/dist/quantum/use-store.d.ts +7 -1
- package/node_modules/@flickfyi/core/dist/themes.css +2 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.tsx +17 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.tsx +25 -0
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.tsx +19 -0
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.tsx +120 -0
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/theme.ts +3 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/parrott/calculator/calculator.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/checklist/checklist.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/countdown/countdown.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/counter/counter.stories.tsx +1 -0
- package/node_modules/@flickfyi/core/examples/parrott/fortune/fortune.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/grid/grid.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/kale-smoothie/kale-smoothie.stories.tsx +1 -0
- package/node_modules/@flickfyi/core/examples/parrott/list/list.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/log/log.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/timed-task/timed-task.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/timer/timer.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/fixtures/native/host/project.yml +3 -0
- package/node_modules/@flickfyi/core/fixtures/native/src/catalog-features.tsx +88 -0
- package/node_modules/@flickfyi/core/package.json +35 -5
- package/node_modules/@flickfyi/core/package.tsgo.json +19 -1
- package/node_modules/@flickfyi/core/scripts/vite-globals.d.ts +2 -0
- package/node_modules/@flickfyi/core/src/generated-types.d.ts +1 -0
- package/node_modules/@flickfyi/core/src/kowalski/README.md +9 -0
- package/node_modules/@flickfyi/core/src/kowalski/calculations.ts +106 -0
- package/node_modules/@flickfyi/core/src/kowalski/calculator.ts +243 -0
- package/node_modules/@flickfyi/core/src/kowalski/catalog.ts +787 -0
- package/node_modules/@flickfyi/core/src/kowalski/clocks.tsx +464 -0
- package/node_modules/@flickfyi/core/src/kowalski/date-time.tsx +469 -0
- package/node_modules/@flickfyi/core/src/kowalski/details.tsx +1387 -0
- package/node_modules/@flickfyi/core/src/kowalski/everyday.tsx +652 -0
- package/node_modules/@flickfyi/core/src/kowalski/format.ts +48 -0
- package/node_modules/@flickfyi/core/src/kowalski/frame.tsx +351 -0
- package/node_modules/@flickfyi/core/src/kowalski/index.ts +23 -0
- package/node_modules/@flickfyi/core/src/kowalski/productivity.tsx +575 -0
- package/node_modules/@flickfyi/core/src/kowalski/recipe.tsx +555 -0
- package/node_modules/@flickfyi/core/src/kowalski/stories/composition.stories.tsx +47 -0
- package/node_modules/@flickfyi/core/src/kowalski/stories/composition.tsx +100 -0
- package/node_modules/@flickfyi/core/src/kowalski/tools.tsx +1213 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-clock.ts +19 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-configured-feature.ts +85 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-feature-store.ts +119 -0
- package/node_modules/@flickfyi/core/src/molecules/field/field.tsx +34 -0
- package/node_modules/@flickfyi/core/src/molecules/index.ts +3 -0
- package/node_modules/@flickfyi/core/src/molecules/segmented/segmented.tsx +48 -0
- package/node_modules/@flickfyi/core/src/molecules/stepper/stepper.tsx +54 -0
- package/node_modules/@flickfyi/core/src/quantum/use-store.ts +41 -16
- package/node_modules/@flickfyi/core/tests/fly.test.ts +34 -7
- package/node_modules/@flickfyi/core/tests/kowalski-calculations.test.ts +60 -0
- package/node_modules/@flickfyi/core/tests/kowalski-calculator.test.ts +142 -0
- package/node_modules/@flickfyi/core/tests/kowalski-contracts.test.ts +223 -0
- package/node_modules/@flickfyi/core/tests/kowalski-date-time.test.tsx +462 -0
- package/node_modules/@flickfyi/core/tests/kowalski-features.test.tsx +2158 -0
- package/node_modules/@flickfyi/core/tests/kowalski-store.test.tsx +514 -0
- package/node_modules/@flickfyi/core/tests/preview-build.test.ts +1 -1
- package/node_modules/@flickfyi/core/tests/quantum-use-store.test.ts +53 -1
- package/node_modules/@flickfyi/core/tests/verify-tsgo-assets.test.ts +1 -1
- package/node_modules/@flickfyi/core/tsconfig.vite-dts.json +2 -1
- package/node_modules/@flickfyi/core/tsgo.bun.lock +111 -9
- package/node_modules/@flickfyi/core/tsgo.package.json +21 -3
- package/node_modules/@flickfyi/core/vite.config.ts +9 -5
- package/node_modules/@flickfyi/core/vitest.config.ts +1 -1
- package/node_modules/@flickfyi/http-message-sig/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/identity/.turbo/turbo-build.log +8 -9
- package/node_modules/@flickfyi/lens/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/photon/.turbo/turbo-build.log +10 -4
- package/node_modules/@flickfyi/photon/Sources/Photon/Components/Button.swift +29 -2
- package/node_modules/@flickfyi/photon/Sources/PhotonVersion/Resources/photon-version.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Components/ButtonHostTests.swift +26 -0
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-features.styles.json +1 -0
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-native.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-scale.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-theme.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-typography.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/stylex-calculator.styles.json +1 -1
- package/node_modules/@flickfyi/photon/dist/globals.d.ts +5 -0
- package/node_modules/@flickfyi/photon/dist/version.cjs +1 -1
- package/node_modules/@flickfyi/photon/dist/version.js +1 -1
- package/node_modules/@flickfyi/photon/generated/react-swiftui.d.ts +1 -0
- package/node_modules/@flickfyi/photon/package.json +1 -1
- package/node_modules/@flickfyi/photon/src/globals.d.ts +5 -0
- package/node_modules/@flickfyi/rwsdk-extensions/.turbo/turbo-build.log +7 -7
- package/node_modules/@formatjs/fast-memoize/LICENSE.md +9 -0
- package/node_modules/@formatjs/fast-memoize/README.md +3 -0
- package/node_modules/@formatjs/fast-memoize/index.d.ts +35 -0
- package/node_modules/@formatjs/fast-memoize/index.js +69 -0
- package/node_modules/@formatjs/fast-memoize/index.js.map +1 -0
- package/node_modules/@formatjs/fast-memoize/package.json +25 -0
- package/node_modules/@formatjs/icu-messageformat-parser/LICENSE.md +9 -0
- package/node_modules/@formatjs/icu-messageformat-parser/README.md +38 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.d.ts +393 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.js +2187 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.d.ts +175 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +209 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.d.ts +183 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +162 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/package.json +21 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.d.ts +154 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.js +224 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.js.map +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/LICENSE.md +9 -0
- package/node_modules/@formatjs/icu-skeleton-parser/README.md +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.d.ts +67 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.js +380 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.js.map +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/package.json +15 -0
- package/node_modules/@formatjs/intl/LICENSE.md +9 -0
- package/node_modules/@formatjs/intl/README.md +3 -0
- package/node_modules/@formatjs/intl/index.d.ts +499 -0
- package/node_modules/@formatjs/intl/index.js +595 -0
- package/node_modules/@formatjs/intl/index.js.map +1 -0
- package/node_modules/@formatjs/intl/package.json +37 -0
- package/node_modules/decimal.js/LICENCE.md +23 -0
- package/node_modules/decimal.js/README.md +246 -0
- package/node_modules/decimal.js/decimal.d.ts +301 -0
- package/node_modules/decimal.js/decimal.js +4951 -0
- package/node_modules/decimal.js/decimal.mjs +4914 -0
- package/node_modules/decimal.js/package.json +55 -0
- package/node_modules/format-quantity/LICENSE +21 -0
- package/node_modules/format-quantity/README.md +181 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.d.ts +131 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.js +214 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.js.map +1 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.d.ts +131 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.js +2 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.js.map +1 -0
- package/node_modules/format-quantity/dist/cjs/index.d.ts +1 -0
- package/node_modules/format-quantity/dist/cjs/index.js +6 -0
- package/node_modules/format-quantity/dist/format-quantity.d.mts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.d.ts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.js +268 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.js.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.mjs +208 -0
- package/node_modules/format-quantity/dist/format-quantity.mjs.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.production.d.mts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.production.mjs +2 -0
- package/node_modules/format-quantity/dist/format-quantity.production.mjs.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.umd.min.js +3 -0
- package/node_modules/format-quantity/dist/format-quantity.umd.min.js.map +1 -0
- package/node_modules/format-quantity/package.json +81 -0
- package/node_modules/intl-messageformat/LICENSE.md +33 -0
- package/node_modules/intl-messageformat/README.md +3 -0
- package/node_modules/intl-messageformat/index.d.ts +177 -0
- package/node_modules/intl-messageformat/index.js +327 -0
- package/node_modules/intl-messageformat/index.js.map +1 -0
- package/node_modules/intl-messageformat/intl-messageformat.iife.js +2819 -0
- package/node_modules/intl-messageformat/package.json +40 -0
- package/node_modules/numeric-quantity/LICENSE +21 -0
- package/node_modules/numeric-quantity/README.md +306 -0
- package/node_modules/numeric-quantity/dist/cjs/index.d.ts +1 -0
- package/node_modules/numeric-quantity/dist/cjs/index.js +6 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.js +579 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.js.map +1 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.js +2 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.d.mts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.iife.umd.min.js +2 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.iife.umd.min.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.js +622 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.mjs +564 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.mjs.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.d.mts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.mjs +2 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.mjs.map +1 -0
- package/node_modules/numeric-quantity/package.json +72 -0
- package/node_modules/validator/LICENSE +20 -0
- package/node_modules/validator/README.md +269 -0
- package/node_modules/validator/es/index.js +218 -0
- package/node_modules/validator/es/lib/alpha.js +151 -0
- package/node_modules/validator/es/lib/blacklist.js +5 -0
- package/node_modules/validator/es/lib/contains.js +15 -0
- package/node_modules/validator/es/lib/equals.js +5 -0
- package/node_modules/validator/es/lib/escape.js +5 -0
- package/node_modules/validator/es/lib/isAbaRouting.js +15 -0
- package/node_modules/validator/es/lib/isAfter.js +10 -0
- package/node_modules/validator/es/lib/isAlpha.js +23 -0
- package/node_modules/validator/es/lib/isAlphanumeric.js +23 -0
- package/node_modules/validator/es/lib/isAscii.js +10 -0
- package/node_modules/validator/es/lib/isBIC.js +16 -0
- package/node_modules/validator/es/lib/isBase32.js +15 -0
- package/node_modules/validator/es/lib/isBase58.js +8 -0
- package/node_modules/validator/es/lib/isBase64.js +23 -0
- package/node_modules/validator/es/lib/isBefore.js +10 -0
- package/node_modules/validator/es/lib/isBoolean.js +15 -0
- package/node_modules/validator/es/lib/isBtcAddress.js +7 -0
- package/node_modules/validator/es/lib/isByteLength.js +19 -0
- package/node_modules/validator/es/lib/isCreditCard.js +43 -0
- package/node_modules/validator/es/lib/isCurrency.js +74 -0
- package/node_modules/validator/es/lib/isDataURI.js +31 -0
- package/node_modules/validator/es/lib/isDate.js +93 -0
- package/node_modules/validator/es/lib/isDecimal.js +22 -0
- package/node_modules/validator/es/lib/isDivisibleBy.js +6 -0
- package/node_modules/validator/es/lib/isEAN.js +70 -0
- package/node_modules/validator/es/lib/isEmail.js +165 -0
- package/node_modules/validator/es/lib/isEmpty.js +10 -0
- package/node_modules/validator/es/lib/isEthereumAddress.js +6 -0
- package/node_modules/validator/es/lib/isFQDN.js +67 -0
- package/node_modules/validator/es/lib/isFloat.js +14 -0
- package/node_modules/validator/es/lib/isFullWidth.js +6 -0
- package/node_modules/validator/es/lib/isHSL.js +13 -0
- package/node_modules/validator/es/lib/isHalfWidth.js +6 -0
- package/node_modules/validator/es/lib/isHash.js +21 -0
- package/node_modules/validator/es/lib/isHexColor.js +13 -0
- package/node_modules/validator/es/lib/isHexadecimal.js +6 -0
- package/node_modules/validator/es/lib/isIBAN.js +171 -0
- package/node_modules/validator/es/lib/isIMEI.js +40 -0
- package/node_modules/validator/es/lib/isIP.js +58 -0
- package/node_modules/validator/es/lib/isIPRange.js +41 -0
- package/node_modules/validator/es/lib/isISBN.js +47 -0
- package/node_modules/validator/es/lib/isISIN.js +55 -0
- package/node_modules/validator/es/lib/isISO15924.js +9 -0
- package/node_modules/validator/es/lib/isISO31661Alpha2.js +21 -0
- package/node_modules/validator/es/lib/isISO31661Alpha3.js +20 -0
- package/node_modules/validator/es/lib/isISO31661Numeric.js +8 -0
- package/node_modules/validator/es/lib/isISO4217.js +9 -0
- package/node_modules/validator/es/lib/isISO6346.js +28 -0
- package/node_modules/validator/es/lib/isISO6391.js +6 -0
- package/node_modules/validator/es/lib/isISO8601.js +42 -0
- package/node_modules/validator/es/lib/isISRC.js +8 -0
- package/node_modules/validator/es/lib/isISSN.js +19 -0
- package/node_modules/validator/es/lib/isIdentityCard.js +407 -0
- package/node_modules/validator/es/lib/isIn.js +23 -0
- package/node_modules/validator/es/lib/isInt.js +19 -0
- package/node_modules/validator/es/lib/isJSON.js +26 -0
- package/node_modules/validator/es/lib/isJWT.js +15 -0
- package/node_modules/validator/es/lib/isLatLong.js +21 -0
- package/node_modules/validator/es/lib/isLength.js +27 -0
- package/node_modules/validator/es/lib/isLicensePlate.js +58 -0
- package/node_modules/validator/es/lib/isLocale.js +107 -0
- package/node_modules/validator/es/lib/isLowercase.js +5 -0
- package/node_modules/validator/es/lib/isLuhnNumber.js +25 -0
- package/node_modules/validator/es/lib/isMACAddress.js +36 -0
- package/node_modules/validator/es/lib/isMD5.js +6 -0
- package/node_modules/validator/es/lib/isMagnetURI.js +9 -0
- package/node_modules/validator/es/lib/isMailtoURI.js +75 -0
- package/node_modules/validator/es/lib/isMimeType.js +40 -0
- package/node_modules/validator/es/lib/isMobilePhone.js +212 -0
- package/node_modules/validator/es/lib/isMongoId.js +6 -0
- package/node_modules/validator/es/lib/isMultibyte.js +10 -0
- package/node_modules/validator/es/lib/isNumeric.js +10 -0
- package/node_modules/validator/es/lib/isOctal.js +6 -0
- package/node_modules/validator/es/lib/isPassportNumber.js +145 -0
- package/node_modules/validator/es/lib/isPort.js +8 -0
- package/node_modules/validator/es/lib/isPostalCode.js +100 -0
- package/node_modules/validator/es/lib/isRFC3339.js +21 -0
- package/node_modules/validator/es/lib/isRgbColor.js +34 -0
- package/node_modules/validator/es/lib/isSemVer.js +14 -0
- package/node_modules/validator/es/lib/isSlug.js +6 -0
- package/node_modules/validator/es/lib/isStrongPassword.js +90 -0
- package/node_modules/validator/es/lib/isSurrogatePair.js +6 -0
- package/node_modules/validator/es/lib/isTaxID.js +1407 -0
- package/node_modules/validator/es/lib/isTime.js +22 -0
- package/node_modules/validator/es/lib/isULID.js +5 -0
- package/node_modules/validator/es/lib/isURL.js +241 -0
- package/node_modules/validator/es/lib/isUUID.js +23 -0
- package/node_modules/validator/es/lib/isUppercase.js +5 -0
- package/node_modules/validator/es/lib/isVAT.js +264 -0
- package/node_modules/validator/es/lib/isVariableWidth.js +7 -0
- package/node_modules/validator/es/lib/isWhitelisted.js +10 -0
- package/node_modules/validator/es/lib/ltrim.js +7 -0
- package/node_modules/validator/es/lib/matches.js +8 -0
- package/node_modules/validator/es/lib/normalizeEmail.js +131 -0
- package/node_modules/validator/es/lib/rtrim.js +15 -0
- package/node_modules/validator/es/lib/stripLow.js +7 -0
- package/node_modules/validator/es/lib/toBoolean.js +8 -0
- package/node_modules/validator/es/lib/toDate.js +6 -0
- package/node_modules/validator/es/lib/toFloat.js +5 -0
- package/node_modules/validator/es/lib/toInt.js +5 -0
- package/node_modules/validator/es/lib/trim.js +5 -0
- package/node_modules/validator/es/lib/unescape.js +8 -0
- package/node_modules/validator/es/lib/util/algorithms.js +79 -0
- package/node_modules/validator/es/lib/util/assertString.js +4 -0
- package/node_modules/validator/es/lib/util/checkHost.js +12 -0
- package/node_modules/validator/es/lib/util/includesArray.js +6 -0
- package/node_modules/validator/es/lib/util/includesString.js +4 -0
- package/node_modules/validator/es/lib/util/merge.js +14 -0
- package/node_modules/validator/es/lib/util/multilineRegex.js +12 -0
- package/node_modules/validator/es/lib/util/nullUndefinedCheck.js +3 -0
- package/node_modules/validator/es/lib/util/toString.js +13 -0
- package/node_modules/validator/es/lib/util/typeOf.js +10 -0
- package/node_modules/validator/es/lib/whitelist.js +5 -0
- package/node_modules/validator/index.js +229 -0
- package/node_modules/validator/lib/alpha.js +157 -0
- package/node_modules/validator/lib/blacklist.js +14 -0
- package/node_modules/validator/lib/contains.js +24 -0
- package/node_modules/validator/lib/equals.js +14 -0
- package/node_modules/validator/lib/escape.js +14 -0
- package/node_modules/validator/lib/isAbaRouting.js +23 -0
- package/node_modules/validator/lib/isAfter.js +19 -0
- package/node_modules/validator/lib/isAlpha.js +31 -0
- package/node_modules/validator/lib/isAlphanumeric.js +31 -0
- package/node_modules/validator/lib/isAscii.js +18 -0
- package/node_modules/validator/lib/isBIC.js +24 -0
- package/node_modules/validator/lib/isBase32.js +24 -0
- package/node_modules/validator/lib/isBase58.js +16 -0
- package/node_modules/validator/lib/isBase64.js +32 -0
- package/node_modules/validator/lib/isBefore.js +19 -0
- package/node_modules/validator/lib/isBoolean.js +24 -0
- package/node_modules/validator/lib/isBtcAddress.js +16 -0
- package/node_modules/validator/lib/isByteLength.js +27 -0
- package/node_modules/validator/lib/isCreditCard.js +52 -0
- package/node_modules/validator/lib/isCurrency.js +83 -0
- package/node_modules/validator/lib/isDataURI.js +40 -0
- package/node_modules/validator/lib/isDate.js +102 -0
- package/node_modules/validator/lib/isDecimal.js +31 -0
- package/node_modules/validator/lib/isDivisibleBy.js +15 -0
- package/node_modules/validator/lib/isEAN.js +78 -0
- package/node_modules/validator/lib/isEmail.js +174 -0
- package/node_modules/validator/lib/isEmpty.js +19 -0
- package/node_modules/validator/lib/isEthereumAddress.js +15 -0
- package/node_modules/validator/lib/isFQDN.js +76 -0
- package/node_modules/validator/lib/isFloat.js +22 -0
- package/node_modules/validator/lib/isFullWidth.js +14 -0
- package/node_modules/validator/lib/isHSL.js +22 -0
- package/node_modules/validator/lib/isHalfWidth.js +14 -0
- package/node_modules/validator/lib/isHash.js +30 -0
- package/node_modules/validator/lib/isHexColor.js +22 -0
- package/node_modules/validator/lib/isHexadecimal.js +15 -0
- package/node_modules/validator/lib/isIBAN.js +178 -0
- package/node_modules/validator/lib/isIMEI.js +49 -0
- package/node_modules/validator/lib/isIP.js +67 -0
- package/node_modules/validator/lib/isIPRange.js +50 -0
- package/node_modules/validator/lib/isISBN.js +56 -0
- package/node_modules/validator/lib/isISIN.js +64 -0
- package/node_modules/validator/lib/isISO15924.js +16 -0
- package/node_modules/validator/lib/isISO31661Alpha2.js +28 -0
- package/node_modules/validator/lib/isISO31661Alpha3.js +28 -0
- package/node_modules/validator/lib/isISO31661Numeric.js +16 -0
- package/node_modules/validator/lib/isISO4217.js +16 -0
- package/node_modules/validator/lib/isISO6346.js +35 -0
- package/node_modules/validator/lib/isISO6391.js +15 -0
- package/node_modules/validator/lib/isISO8601.js +50 -0
- package/node_modules/validator/lib/isISRC.js +16 -0
- package/node_modules/validator/lib/isISSN.js +28 -0
- package/node_modules/validator/lib/isIdentityCard.js +416 -0
- package/node_modules/validator/lib/isIn.js +32 -0
- package/node_modules/validator/lib/isInt.js +28 -0
- package/node_modules/validator/lib/isJSON.js +35 -0
- package/node_modules/validator/lib/isJWT.js +24 -0
- package/node_modules/validator/lib/isLatLong.js +30 -0
- package/node_modules/validator/lib/isLength.js +35 -0
- package/node_modules/validator/lib/isLicensePlate.js +67 -0
- package/node_modules/validator/lib/isLocale.js +115 -0
- package/node_modules/validator/lib/isLowercase.js +14 -0
- package/node_modules/validator/lib/isLuhnNumber.js +34 -0
- package/node_modules/validator/lib/isMACAddress.js +45 -0
- package/node_modules/validator/lib/isMD5.js +15 -0
- package/node_modules/validator/lib/isMagnetURI.js +18 -0
- package/node_modules/validator/lib/isMailtoURI.js +84 -0
- package/node_modules/validator/lib/isMimeType.js +48 -0
- package/node_modules/validator/lib/isMobilePhone.js +219 -0
- package/node_modules/validator/lib/isMongoId.js +15 -0
- package/node_modules/validator/lib/isMultibyte.js +18 -0
- package/node_modules/validator/lib/isNumeric.js +19 -0
- package/node_modules/validator/lib/isOctal.js +15 -0
- package/node_modules/validator/lib/isPassportNumber.js +152 -0
- package/node_modules/validator/lib/isPort.js +17 -0
- package/node_modules/validator/lib/isPostalCode.js +107 -0
- package/node_modules/validator/lib/isRFC3339.js +29 -0
- package/node_modules/validator/lib/isRgbColor.js +42 -0
- package/node_modules/validator/lib/isSemVer.js +22 -0
- package/node_modules/validator/lib/isSlug.js +15 -0
- package/node_modules/validator/lib/isStrongPassword.js +99 -0
- package/node_modules/validator/lib/isSurrogatePair.js +15 -0
- package/node_modules/validator/lib/isTaxID.js +1417 -0
- package/node_modules/validator/lib/isTime.js +31 -0
- package/node_modules/validator/lib/isULID.js +14 -0
- package/node_modules/validator/lib/isURL.js +249 -0
- package/node_modules/validator/lib/isUUID.js +32 -0
- package/node_modules/validator/lib/isUppercase.js +14 -0
- package/node_modules/validator/lib/isVAT.js +274 -0
- package/node_modules/validator/lib/isVariableWidth.js +16 -0
- package/node_modules/validator/lib/isWhitelisted.js +19 -0
- package/node_modules/validator/lib/ltrim.js +16 -0
- package/node_modules/validator/lib/matches.js +17 -0
- package/node_modules/validator/lib/normalizeEmail.js +140 -0
- package/node_modules/validator/lib/rtrim.js +24 -0
- package/node_modules/validator/lib/stripLow.js +16 -0
- package/node_modules/validator/lib/toBoolean.js +17 -0
- package/node_modules/validator/lib/toDate.js +15 -0
- package/node_modules/validator/lib/toFloat.js +14 -0
- package/node_modules/validator/lib/toInt.js +14 -0
- package/node_modules/validator/lib/trim.js +14 -0
- package/node_modules/validator/lib/unescape.js +17 -0
- package/node_modules/validator/lib/util/algorithms.js +88 -0
- package/node_modules/validator/lib/util/assertString.js +12 -0
- package/node_modules/validator/lib/util/checkHost.js +20 -0
- package/node_modules/validator/lib/util/includesArray.js +14 -0
- package/node_modules/validator/lib/util/includesString.js +12 -0
- package/node_modules/validator/lib/util/merge.js +22 -0
- package/node_modules/validator/lib/util/multilineRegex.js +20 -0
- package/node_modules/validator/lib/util/nullUndefinedCheck.js +11 -0
- package/node_modules/validator/lib/util/toString.js +21 -0
- package/node_modules/validator/lib/util/typeOf.js +18 -0
- package/node_modules/validator/lib/whitelist.js +14 -0
- package/node_modules/validator/package.json +76 -0
- package/node_modules/validator/validator.js +5808 -0
- package/node_modules/validator/validator.min.js +23 -0
- package/package.json +3 -3
|
@@ -132,22 +132,43 @@ var C = { tasks: {
|
|
|
132
132
|
kzqmXN: "xh8yej3",
|
|
133
133
|
$$css: !0
|
|
134
134
|
}
|
|
135
|
-
}
|
|
136
|
-
|
|
135
|
+
};
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/molecules/field/field.tsx
|
|
138
|
+
function T({ children: t, error: n, label: r, style: i }) {
|
|
139
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(E.root, i), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.label, E.label), r), t, n && /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.muted, E.error), n));
|
|
140
|
+
}
|
|
141
|
+
var E = {
|
|
142
|
+
error: {
|
|
143
|
+
kMwMTN: "x1gaiw33",
|
|
144
|
+
$$css: !0
|
|
145
|
+
},
|
|
146
|
+
label: {
|
|
147
|
+
kMwMTN: "x1hvuwc0",
|
|
148
|
+
$$css: !0
|
|
149
|
+
},
|
|
150
|
+
root: {
|
|
151
|
+
kGNEyG: "x1qjc9v5",
|
|
152
|
+
kOIVth: "x138sq3e",
|
|
153
|
+
k7Eaqz: "xeuugli",
|
|
154
|
+
$$css: !0
|
|
155
|
+
}
|
|
156
|
+
}, D = Object.assign(O, { Item: k });
|
|
157
|
+
function O({ children: e, style: t }) {
|
|
137
158
|
let n = u.toArray(e);
|
|
138
|
-
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(
|
|
159
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(A.list, t), u.map(n, (e, t) => /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, {
|
|
139
160
|
0: { className: "xib9ri7 x1n0l8mo x1y0btm7 xc342km xeuugli x1717udv" },
|
|
140
161
|
1: { className: "x1n0l8mo x1y0btm7 xc342km xeuugli x1717udv x1qhh985" }
|
|
141
162
|
}[(t === n.length - 1) << 0], e)));
|
|
142
163
|
}
|
|
143
|
-
function
|
|
164
|
+
function k({ description: t, label: n, leading: r, onClick: i, style: s, trailing: u }) {
|
|
144
165
|
let d = /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(_CRAYONCORE_$REACT.Fragment, null, (!!r || r === 0) && /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 x78zum5 x2lah0s" }, r), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x1t1x2f9 x1iyjqo2 xs83m0k xeuugli x3ba9qd" }, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, null, n), (!!t || t === 0) && /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.muted), t)), u != null && /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 x78zum5 x2lah0s" }, typeof u == "string" || typeof u == "number" ? /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, null, u) : u));
|
|
145
166
|
return i ? /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(a, {
|
|
146
167
|
onClick: i,
|
|
147
|
-
...l.props(
|
|
148
|
-
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 xtjojy7 x1q0g3np xh8yej3" }, d)) : /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(
|
|
168
|
+
...l.props(A.item, s)
|
|
169
|
+
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 xtjojy7 x1q0g3np xh8yej3" }, d)) : /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(A.item, A.rowContent, s), d);
|
|
149
170
|
}
|
|
150
|
-
var
|
|
171
|
+
var A = {
|
|
151
172
|
item: {
|
|
152
173
|
kWkggS: "xjbqb8w",
|
|
153
174
|
kMzoRj: "xc342km",
|
|
@@ -172,12 +193,12 @@ var O = {
|
|
|
172
193
|
};
|
|
173
194
|
//#endregion
|
|
174
195
|
//#region src/molecules/progress/progress.tsx
|
|
175
|
-
function
|
|
196
|
+
function j({ fillStyle: e, max: t, style: n, value: r }) {
|
|
176
197
|
let i = t > 0 ? Math.max(0, Math.min(r / t, 1)) : 0, a = p({
|
|
177
198
|
config: f.stiff,
|
|
178
199
|
width: i * 100
|
|
179
|
-
}), s = l.props(
|
|
180
|
-
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(
|
|
200
|
+
}), s = l.props(M.progressFill, e);
|
|
201
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(M.progressTrack, n), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, {
|
|
181
202
|
...s,
|
|
182
203
|
style: {
|
|
183
204
|
...s.style,
|
|
@@ -185,7 +206,7 @@ function k({ fillStyle: e, max: t, style: n, value: r }) {
|
|
|
185
206
|
}
|
|
186
207
|
}));
|
|
187
208
|
}
|
|
188
|
-
var
|
|
209
|
+
var M = {
|
|
189
210
|
progressFill: {
|
|
190
211
|
kWkggS: "x1ckma9v",
|
|
191
212
|
kaIpWk: "x7duk5r",
|
|
@@ -202,15 +223,15 @@ var A = {
|
|
|
202
223
|
};
|
|
203
224
|
//#endregion
|
|
204
225
|
//#region src/molecules/quantity-group/quantity-group.tsx
|
|
205
|
-
function
|
|
206
|
-
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(
|
|
226
|
+
function N({ decrementStyle: n, disabledStyle: r, incrementStyle: a, items: u, onValueChange: f, style: p }) {
|
|
227
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(P.quantityContainer, p), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 x1d5xbla xrvj5dj x1986ba8 x1jux8zf" }, u.map(({ label: p, step: m, unit: h, value: g }, _) => /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(d, { key: p }, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x1pha0wt x1d5xbla x1q0g3np x1a02dak xeuugli x3ba9qd" }, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, { className: "x193iq5w xeuugli" }, p), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.muted, P.quantityValue), g, " ", h)), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(i, {
|
|
207
228
|
accessibilityLabel: `Decrease ${p}`,
|
|
208
229
|
disabled: g === 0,
|
|
209
230
|
onClick: () => f(_, Math.max(0, g - m)),
|
|
210
231
|
style: [
|
|
211
232
|
t.secondary,
|
|
212
233
|
t.sm,
|
|
213
|
-
|
|
234
|
+
P.quantityControl,
|
|
214
235
|
g === 0 && t.disabled,
|
|
215
236
|
n,
|
|
216
237
|
g === 0 && r
|
|
@@ -224,7 +245,7 @@ function j({ decrementStyle: n, disabledStyle: r, incrementStyle: a, items: u, o
|
|
|
224
245
|
style: [
|
|
225
246
|
t.primary,
|
|
226
247
|
t.sm,
|
|
227
|
-
|
|
248
|
+
P.quantityControl,
|
|
228
249
|
a
|
|
229
250
|
]
|
|
230
251
|
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(s, {
|
|
@@ -232,7 +253,7 @@ function j({ decrementStyle: n, disabledStyle: r, incrementStyle: a, items: u, o
|
|
|
232
253
|
className: "xrbuwz4"
|
|
233
254
|
})), _ < u.length - 1 && /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "xa4x7ug xx1abn8 xcrlgei x7e7z7i xpe194 x8ad1qq" })))));
|
|
234
255
|
}
|
|
235
|
-
var
|
|
256
|
+
var P = {
|
|
236
257
|
quantityContainer: {
|
|
237
258
|
kmVPX3: "x1eh0wgb",
|
|
238
259
|
$$css: !0
|
|
@@ -252,23 +273,42 @@ var M = {
|
|
|
252
273
|
kmuXW: "x2lah0s",
|
|
253
274
|
$$css: !0
|
|
254
275
|
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
276
|
+
};
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region src/molecules/segmented/segmented.tsx
|
|
279
|
+
function F({ disabled: e = !1, onChange: n, options: r, value: a }) {
|
|
280
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x1q0g3np x1a02dak x138sq3e xeuugli" }, r.map((r) => /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(i, {
|
|
281
|
+
disabled: e,
|
|
282
|
+
key: String(r.value),
|
|
283
|
+
onClick: () => n(r.value),
|
|
284
|
+
selected: r.value === a,
|
|
285
|
+
style: [t.secondary, I.segment]
|
|
286
|
+
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, null, r.label))));
|
|
287
|
+
}
|
|
288
|
+
var I = { segment: {
|
|
289
|
+
kCS8Yb: "xdl72j9",
|
|
290
|
+
kzQI83: "x1iyjqo2",
|
|
291
|
+
kmuXW: "x2lah0s",
|
|
292
|
+
kE3dHu: "xf3mudm",
|
|
293
|
+
kpe85a: "x1t92ggr",
|
|
294
|
+
$$css: !0
|
|
295
|
+
} }, L = Object.assign(R, {
|
|
296
|
+
Caption: B,
|
|
297
|
+
Value: z
|
|
258
298
|
});
|
|
259
|
-
function
|
|
260
|
-
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(
|
|
299
|
+
function R({ children: e, style: t }) {
|
|
300
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, l.props(V.root, t), e);
|
|
261
301
|
}
|
|
262
|
-
function
|
|
302
|
+
function z({ children: t, style: n }) {
|
|
263
303
|
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, {
|
|
264
304
|
animated: "numeric",
|
|
265
|
-
...l.props(e.display,
|
|
305
|
+
...l.props(e.display, V.value, n)
|
|
266
306
|
}, t);
|
|
267
307
|
}
|
|
268
|
-
function
|
|
269
|
-
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.label,
|
|
308
|
+
function B({ children: t, style: n }) {
|
|
309
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(c, l.props(e.label, V.caption, n), t);
|
|
270
310
|
}
|
|
271
|
-
var
|
|
311
|
+
var V = {
|
|
272
312
|
caption: {
|
|
273
313
|
kMwMTN: "x1hvuwc0",
|
|
274
314
|
k9WMMc: "x2b8uid",
|
|
@@ -289,4 +329,25 @@ var L = {
|
|
|
289
329
|
}
|
|
290
330
|
};
|
|
291
331
|
//#endregion
|
|
292
|
-
|
|
332
|
+
//#region src/molecules/stepper/stepper.tsx
|
|
333
|
+
function H({ children: e, decrementDisabled: n = !1, decrementLabel: r, incrementDisabled: a = !1, incrementLabel: c, onDecrement: l, onIncrement: u }) {
|
|
334
|
+
return /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x6s0dn4 x1d5xbla x1q0g3np xeuugli" }, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(i, {
|
|
335
|
+
accessibilityLabel: r,
|
|
336
|
+
disabled: n,
|
|
337
|
+
onClick: l,
|
|
338
|
+
style: [t.secondary, U.control]
|
|
339
|
+
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(s, { name: "minus" })), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(o, { className: "x1r8uery x1iyjqo2 xeuugli" }, e), /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(i, {
|
|
340
|
+
accessibilityLabel: c,
|
|
341
|
+
disabled: a,
|
|
342
|
+
onClick: u,
|
|
343
|
+
style: [t.secondary, U.control]
|
|
344
|
+
}, /* @__PURE__ */ _CRAYONCORE_$REACT.createElement(s, { name: "plus" })));
|
|
345
|
+
}
|
|
346
|
+
var U = { control: {
|
|
347
|
+
kmuXW: "x2lah0s",
|
|
348
|
+
kE3dHu: "x1uhho1l",
|
|
349
|
+
kpe85a: "x1xpa7k",
|
|
350
|
+
$$css: !0
|
|
351
|
+
} };
|
|
352
|
+
//#endregion
|
|
353
|
+
export { m as Card, S as Choice, T as Field, D as List, j as Progress, N as QuantityGroup, F as Segmented, L as Stat, H as Stepper, C as completedTaskStyle };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Pick one of a few options; the chosen one wears the theme's selected paint. */
|
|
2
|
+
export declare function Segmented<Value extends number | string>({ disabled, onChange, options, value, }: {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
onChange: (value: Value) => void;
|
|
5
|
+
options: ReadonlyArray<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: Value;
|
|
8
|
+
}>;
|
|
9
|
+
value: Value | undefined;
|
|
10
|
+
}): import("@flickfyi/photon/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
/** A value between square − and + controls; the value is any text or input. */
|
|
3
|
+
export declare function Stepper({ children, decrementDisabled, decrementLabel, incrementDisabled, incrementLabel, onDecrement, onIncrement, }: PropsWithChildren<{
|
|
4
|
+
decrementDisabled?: boolean;
|
|
5
|
+
decrementLabel: string;
|
|
6
|
+
incrementDisabled?: boolean;
|
|
7
|
+
incrementLabel: string;
|
|
8
|
+
onDecrement: () => void;
|
|
9
|
+
onIncrement: () => void;
|
|
10
|
+
}>): import("@flickfyi/photon/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AnyLens, InferLens } from '@flickfyi/lens';
|
|
2
2
|
type QuantumStore = {
|
|
3
|
+
canWrite?: boolean;
|
|
3
4
|
set: (value: unknown) => void;
|
|
5
|
+
setAsync?: (value: unknown) => Promise<QuantumStorePayload>;
|
|
4
6
|
subscribe: (callback: (raw: {
|
|
5
7
|
rawValue: unknown;
|
|
6
8
|
version: number;
|
|
@@ -22,9 +24,13 @@ type UseStoreResult<T extends QuantumStoreState> = [T | undefined, StoreSetter<T
|
|
|
22
24
|
* The adapter provides stable subscribe/getSnapshot for useSyncExternalStore
|
|
23
25
|
* while handling async initialization internally.
|
|
24
26
|
*/
|
|
25
|
-
export declare function createQuantumStoreAdapter<T>(openStore: () => Promise<QuantumStore>, initialState: T, parseSnapshot: (raw: QuantumStorePayload) => Promise<T
|
|
27
|
+
export declare function createQuantumStoreAdapter<T>(openStore: () => Promise<QuantumStore>, initialState: T, parseSnapshot: (raw: QuantumStorePayload) => Promise<T>, onLoadError?: () => void): {
|
|
28
|
+
acceptSnapshot: (raw: QuantumStorePayload) => Promise<void>;
|
|
26
29
|
getSnapshot: () => T;
|
|
27
30
|
getStore: () => QuantumStore | undefined;
|
|
31
|
+
/** Notify listeners after a local optimistic change or write-state update. */
|
|
32
|
+
replaceSnapshot(next: T): void;
|
|
33
|
+
retry(): void;
|
|
28
34
|
subscribe(onStoreChange: () => void): () => void;
|
|
29
35
|
};
|
|
30
36
|
type InitializedUsePublicStoreOptions<TLens extends AnyLens> = {
|
|
@@ -377,6 +377,7 @@
|
|
|
377
377
|
.x1koujpl:not(#\#):not(#\#):not(#\#){box-shadow:var(--xj0oami)}
|
|
378
378
|
.x1heor9g:not(#\#):not(#\#):not(#\#){color:inherit}
|
|
379
379
|
.xy4y6by:not(#\#):not(#\#):not(#\#){color:var(--x1bctnvr)}
|
|
380
|
+
.x1gaiw33:not(#\#):not(#\#):not(#\#){color:var(--x1d1hsve)}
|
|
380
381
|
.xy2o0r3:not(#\#):not(#\#):not(#\#){color:var(--x1f7fr1i)}
|
|
381
382
|
.x1suklrh:not(#\#):not(#\#):not(#\#){color:var(--x1k33wfp)}
|
|
382
383
|
.x1hqp5vk:not(#\#):not(#\#):not(#\#){color:var(--x1k9w341)}
|
|
@@ -395,6 +396,7 @@
|
|
|
395
396
|
.xrvj5dj:not(#\#):not(#\#):not(#\#){display:grid}
|
|
396
397
|
.x1r8uery:not(#\#):not(#\#):not(#\#){flex-basis:0}
|
|
397
398
|
.x1t1x2f9:not(#\#):not(#\#):not(#\#){flex-basis:0%}
|
|
399
|
+
.xdl72j9:not(#\#):not(#\#):not(#\#){flex-basis:auto}
|
|
398
400
|
.xdt5ytf:not(#\#):not(#\#):not(#\#){flex-direction:column}
|
|
399
401
|
.x1q0g3np:not(#\#):not(#\#):not(#\#){flex-direction:row}
|
|
400
402
|
.x1iyjqo2:not(#\#):not(#\#):not(#\#){flex-grow:1}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import BillSplitExample from './bill-split'
|
|
4
|
+
import exampleSource from './bill-split.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: BillSplitExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/BillSplit',
|
|
10
|
+
} satisfies Meta<typeof BillSplitExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { BillSplit } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function BillSplitExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return <BillSplit people={3} tipPercent={20} total={86.5} />
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const exampleMetadata = {
|
|
14
|
+
description:
|
|
15
|
+
'An instantiatable BillSplit from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
16
|
+
name: 'BillSplit',
|
|
17
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import BookmarkExample from './bookmark'
|
|
4
|
+
import exampleSource from './bookmark.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: BookmarkExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Bookmark',
|
|
10
|
+
} satisfies Meta<typeof BookmarkExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Bookmark } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function BookmarkExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Bookmark
|
|
12
|
+
note="Small details make an interface feel considered."
|
|
13
|
+
title="The Shape of Software"
|
|
14
|
+
url="https://emilkowal.ski/"
|
|
15
|
+
/>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const exampleMetadata = {
|
|
20
|
+
description:
|
|
21
|
+
'An instantiatable Bookmark from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
22
|
+
name: 'Bookmark',
|
|
23
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import BudgetExample from './budget'
|
|
4
|
+
import exampleSource from './budget.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: BudgetExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Budget',
|
|
10
|
+
} satisfies Meta<typeof BudgetExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Budget } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function BudgetExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Budget
|
|
12
|
+
categories={[
|
|
13
|
+
{ id: 'groceries', label: 'Groceries', limit: 400 },
|
|
14
|
+
{ id: 'eating', label: 'Eating out', limit: 150 },
|
|
15
|
+
{ id: 'transport', label: 'Transport', limit: 120 },
|
|
16
|
+
]}
|
|
17
|
+
title="October"
|
|
18
|
+
/>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const exampleMetadata = {
|
|
23
|
+
description:
|
|
24
|
+
'An instantiatable Budget from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
25
|
+
name: 'Budget',
|
|
26
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import CalculatorExample from './calculator'
|
|
4
|
+
import exampleSource from './calculator.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: CalculatorExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Calculator',
|
|
10
|
+
} satisfies Meta<typeof CalculatorExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Calculator } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function CalculatorExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Calculator
|
|
12
|
+
left={24}
|
|
13
|
+
operator="*"
|
|
14
|
+
right={7}
|
|
15
|
+
title="Work it out"
|
|
16
|
+
/>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const exampleMetadata = {
|
|
21
|
+
description:
|
|
22
|
+
'An instantiatable Calculator from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
23
|
+
name: 'Calculator',
|
|
24
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import ChecklistExample from './checklist'
|
|
4
|
+
import exampleSource from './checklist.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: ChecklistExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Checklist',
|
|
10
|
+
} satisfies Meta<typeof ChecklistExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Checklist } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function ChecklistExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Checklist
|
|
12
|
+
items={[
|
|
13
|
+
{ id: 'water', label: 'Fill water bottle' },
|
|
14
|
+
{ id: 'layers', label: 'Pack a warm layer' },
|
|
15
|
+
{ id: 'route', label: 'Save the route' },
|
|
16
|
+
]}
|
|
17
|
+
title="Ready for the trail"
|
|
18
|
+
/>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const exampleMetadata = {
|
|
23
|
+
description:
|
|
24
|
+
'An instantiatable Checklist from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
25
|
+
name: 'Checklist',
|
|
26
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import ColorPaletteExample from './color-palette'
|
|
4
|
+
import exampleSource from './color-palette.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: ColorPaletteExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/ColorPalette',
|
|
10
|
+
} satisfies Meta<typeof ColorPaletteExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { ColorPalette } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function ColorPaletteExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<ColorPalette
|
|
12
|
+
color="#7c6ee6"
|
|
13
|
+
title="Violet palette"
|
|
14
|
+
/>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const exampleMetadata = {
|
|
19
|
+
description:
|
|
20
|
+
'An instantiatable ColorPalette from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
21
|
+
name: 'ColorPalette',
|
|
22
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import ContactExample from './contact'
|
|
4
|
+
import exampleSource from './contact.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: ContactExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Contact',
|
|
10
|
+
} satisfies Meta<typeof ContactExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Contact } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function ContactExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Contact
|
|
12
|
+
email="alex@example.com"
|
|
13
|
+
name="Alex Morgan"
|
|
14
|
+
phone="+1 415 555 0128"
|
|
15
|
+
/>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const exampleMetadata = {
|
|
20
|
+
description:
|
|
21
|
+
'An instantiatable Contact from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
22
|
+
name: 'Contact',
|
|
23
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import CountdownExample from './countdown'
|
|
4
|
+
import exampleSource from './countdown.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: CountdownExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Countdown',
|
|
10
|
+
} satisfies Meta<typeof CountdownExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Countdown } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function CountdownExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Countdown
|
|
12
|
+
target="2027-01-01T00:00:00-08:00"
|
|
13
|
+
timeZone="America/Los_Angeles"
|
|
14
|
+
title="The next chapter"
|
|
15
|
+
/>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const exampleMetadata = {
|
|
20
|
+
description:
|
|
21
|
+
'An instantiatable Countdown from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
22
|
+
name: 'Countdown',
|
|
23
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import EventExample from './event'
|
|
4
|
+
import exampleSource from './event.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: EventExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Event',
|
|
10
|
+
} satisfies Meta<typeof EventExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useTheme } from '@flickfyi/core'
|
|
2
|
+
import { theme } from '@flickfyi/core/examples/kowalski/theme'
|
|
3
|
+
import { Event } from '@flickfyi/core/kowalski'
|
|
4
|
+
|
|
5
|
+
import type { ExampleMetadata } from '@flickfyi/core/examples/metadata'
|
|
6
|
+
|
|
7
|
+
export default function EventExample() {
|
|
8
|
+
useTheme(theme)
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Event
|
|
12
|
+
location="Studio, second floor"
|
|
13
|
+
startsAt="2026-11-05T18:30:00-08:00"
|
|
14
|
+
timeZone="America/Los_Angeles"
|
|
15
|
+
title="Design night"
|
|
16
|
+
/>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const exampleMetadata = {
|
|
21
|
+
description:
|
|
22
|
+
'An instantiatable Event from Core. Authored UI and standard Quantum persistence; the model supplies typed content only.',
|
|
23
|
+
name: 'Event',
|
|
24
|
+
} satisfies ExampleMetadata
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite'
|
|
2
|
+
|
|
3
|
+
import ExpenseExample from './expense'
|
|
4
|
+
import exampleSource from './expense.tsx?raw'
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: ExpenseExample,
|
|
8
|
+
parameters: { docs: { source: { code: exampleSource, language: 'tsx' } } },
|
|
9
|
+
title: 'Kowalski/Expense',
|
|
10
|
+
} satisfies Meta<typeof ExpenseExample>
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
13
|
+
export const Example: StoryObj<typeof meta> = {
|
|
14
|
+
args: { enabledForAgents: false },
|
|
15
|
+
}
|