@krizaka/ui 2.0.0-beta.5 → 2.0.0
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/README.md +44 -28
- package/dist/{button-D5aSsmxX.d.ts → button-Cgfkg_3y.d.ts} +5 -1
- package/dist/button.d.ts +5 -1
- package/dist/button.js +4 -2
- package/dist/button.js.map +1 -1
- package/dist/card.d.ts +7 -1
- package/dist/card.js +2 -2
- package/dist/card.js.map +1 -1
- package/dist/{chunk-IUGBKMJC.js → chunk-FHYZSO2S.js} +2 -2
- package/dist/{chunk-6DJ6SQY3.js → chunk-PESA2R4U.js} +5 -3
- package/dist/chunk-PESA2R4U.js.map +1 -0
- package/dist/command.d.ts +11 -2
- package/dist/command.js +17 -6
- package/dist/command.js.map +1 -1
- package/dist/confirm-button.d.ts +1 -1
- package/dist/confirm-button.js +1 -1
- package/dist/countdown.d.ts +7 -6
- package/dist/countdown.js +12 -8
- package/dist/countdown.js.map +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dropdown-menu.js +3 -3
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/field.js +2 -2
- package/dist/field.js.map +1 -1
- package/dist/native.d.ts +56 -6
- package/dist/native.js +129 -85
- package/dist/native.js.map +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +1 -1
- package/package.json +11 -11
- package/registry/alert.json +141 -3
- package/registry/avatar.json +314 -3
- package/registry/badge.json +233 -3
- package/registry/button.json +522 -8
- package/registry/card.json +427 -4
- package/registry/checkbox.json +127 -3
- package/registry/chip.json +394 -3
- package/registry/cn.json +51 -3
- package/registry/command.json +246 -5
- package/registry/confirm-button.json +172 -5
- package/registry/countdown.json +318 -7
- package/registry/dialog.json +310 -3
- package/registry/dropdown-menu.json +117 -4
- package/registry/empty-state.json +170 -3
- package/registry/examples/alert/danger.d.ts +4 -0
- package/registry/examples/alert/danger.js +22 -0
- package/registry/examples/alert/danger.tsx +25 -0
- package/registry/examples/alert/info.d.ts +4 -0
- package/registry/{demos/alert.js → examples/alert/info.js} +3 -3
- package/registry/{demos/alert.tsx → examples/alert/info.tsx} +1 -1
- package/registry/examples/alert/success.d.ts +4 -0
- package/registry/examples/alert/success.js +12 -0
- package/registry/examples/alert/success.tsx +15 -0
- package/registry/examples/alert/title-only.d.ts +4 -0
- package/registry/examples/alert/title-only.js +11 -0
- package/registry/examples/alert/title-only.tsx +5 -0
- package/registry/examples/alert/warning.d.ts +4 -0
- package/registry/examples/alert/warning.js +13 -0
- package/registry/examples/alert/warning.tsx +17 -0
- package/registry/examples/avatar/fallback.d.ts +4 -0
- package/registry/examples/avatar/fallback.js +11 -0
- package/registry/examples/avatar/fallback.tsx +6 -0
- package/registry/examples/avatar/group.d.ts +4 -0
- package/registry/examples/avatar/group.js +20 -0
- package/registry/examples/avatar/group.tsx +21 -0
- package/registry/examples/avatar/native/group.d.ts +4 -0
- package/registry/examples/avatar/native/group.dark.png +0 -0
- package/registry/examples/avatar/native/group.js +17 -0
- package/registry/examples/avatar/native/group.light.png +0 -0
- package/registry/examples/avatar/native/group.tsx +13 -0
- package/registry/examples/avatar/native/sizes.d.ts +4 -0
- package/registry/examples/avatar/native/sizes.dark.png +0 -0
- package/registry/examples/avatar/native/sizes.js +18 -0
- package/registry/examples/avatar/native/sizes.light.png +0 -0
- package/registry/examples/avatar/native/sizes.tsx +15 -0
- package/registry/examples/avatar/sizes.d.ts +4 -0
- package/registry/examples/avatar/sizes.js +17 -0
- package/registry/examples/avatar/sizes.tsx +13 -0
- package/registry/examples/avatar/with-image.d.ts +4 -0
- package/registry/{demos/avatar.js → examples/avatar/with-image.js} +3 -3
- package/registry/{demos/avatar.tsx → examples/avatar/with-image.tsx} +1 -1
- package/registry/examples/badge/accent.d.ts +4 -0
- package/registry/examples/badge/accent.js +11 -0
- package/registry/examples/badge/accent.tsx +9 -0
- package/registry/examples/badge/danger.d.ts +4 -0
- package/registry/examples/badge/danger.js +11 -0
- package/registry/examples/badge/danger.tsx +9 -0
- package/registry/examples/badge/medium.d.ts +4 -0
- package/registry/examples/badge/medium.js +11 -0
- package/registry/examples/badge/medium.tsx +9 -0
- package/registry/examples/badge/native/dot.d.ts +4 -0
- package/registry/examples/badge/native/dot.dark.png +0 -0
- package/registry/examples/badge/native/dot.js +15 -0
- package/registry/examples/badge/native/dot.light.png +0 -0
- package/registry/examples/badge/native/dot.tsx +16 -0
- package/registry/examples/badge/native/scrim.d.ts +4 -0
- package/registry/examples/badge/native/scrim.dark.png +0 -0
- package/registry/examples/badge/native/scrim.js +13 -0
- package/registry/examples/badge/native/scrim.light.png +0 -0
- package/registry/examples/badge/native/scrim.tsx +14 -0
- package/registry/examples/badge/native/tones.d.ts +4 -0
- package/registry/examples/badge/native/tones.dark.png +0 -0
- package/registry/examples/badge/native/tones.js +18 -0
- package/registry/examples/badge/native/tones.light.png +0 -0
- package/registry/examples/badge/native/tones.tsx +14 -0
- package/registry/examples/badge/neutral.d.ts +4 -0
- package/registry/{demos/badge.js → examples/badge/neutral.js} +3 -3
- package/registry/{demos/badge.tsx → examples/badge/neutral.tsx} +1 -1
- package/registry/examples/badge/scrim.d.ts +4 -0
- package/registry/examples/badge/scrim.js +11 -0
- package/registry/examples/badge/scrim.tsx +10 -0
- package/registry/examples/badge/success.d.ts +4 -0
- package/registry/examples/badge/success.js +11 -0
- package/registry/examples/badge/success.tsx +9 -0
- package/registry/examples/badge/warning.d.ts +4 -0
- package/registry/examples/badge/warning.js +11 -0
- package/registry/examples/badge/warning.tsx +9 -0
- package/registry/examples/button/as-child-link.d.ts +4 -0
- package/registry/examples/button/as-child-link.js +11 -0
- package/registry/examples/button/as-child-link.tsx +10 -0
- package/registry/examples/button/danger.d.ts +4 -0
- package/registry/examples/button/danger.js +11 -0
- package/registry/examples/button/danger.tsx +5 -0
- package/registry/examples/button/disabled.d.ts +4 -0
- package/registry/examples/button/disabled.js +11 -0
- package/registry/examples/button/disabled.tsx +9 -0
- package/registry/examples/button/ghost.d.ts +4 -0
- package/registry/examples/button/ghost.js +11 -0
- package/registry/examples/button/ghost.tsx +5 -0
- package/registry/examples/button/gradient.d.ts +4 -0
- package/registry/examples/button/gradient.js +11 -0
- package/registry/examples/button/gradient.tsx +5 -0
- package/registry/examples/button/icon.d.ts +4 -0
- package/registry/examples/button/icon.js +14 -0
- package/registry/examples/button/icon.tsx +18 -0
- package/registry/examples/button/loading.d.ts +4 -0
- package/registry/examples/button/loading.js +11 -0
- package/registry/examples/button/loading.tsx +10 -0
- package/registry/examples/button/native/danger.d.ts +4 -0
- package/registry/examples/button/native/danger.dark.png +0 -0
- package/registry/examples/button/native/danger.js +12 -0
- package/registry/examples/button/native/danger.light.png +0 -0
- package/registry/examples/button/native/danger.tsx +5 -0
- package/registry/examples/button/native/disabled.d.ts +4 -0
- package/registry/examples/button/native/disabled.dark.png +0 -0
- package/registry/examples/button/native/disabled.js +11 -0
- package/registry/examples/button/native/disabled.light.png +0 -0
- package/registry/examples/button/native/disabled.tsx +5 -0
- package/registry/examples/button/native/ghost.d.ts +4 -0
- package/registry/examples/button/native/ghost.dark.png +0 -0
- package/registry/examples/button/native/ghost.js +12 -0
- package/registry/examples/button/native/ghost.light.png +0 -0
- package/registry/examples/button/native/ghost.tsx +5 -0
- package/registry/examples/button/native/gradient.d.ts +4 -0
- package/registry/examples/button/native/gradient.dark.png +0 -0
- package/registry/examples/button/native/gradient.js +12 -0
- package/registry/examples/button/native/gradient.light.png +0 -0
- package/registry/examples/button/native/gradient.tsx +5 -0
- package/registry/examples/button/native/icon-only.d.ts +4 -0
- package/registry/examples/button/native/icon-only.dark.png +0 -0
- package/registry/examples/button/native/icon-only.js +19 -0
- package/registry/examples/button/native/icon-only.light.png +0 -0
- package/registry/examples/button/native/icon-only.tsx +21 -0
- package/registry/examples/button/native/icon.d.ts +4 -0
- package/registry/examples/button/native/icon.dark.png +0 -0
- package/registry/examples/button/native/icon.js +16 -0
- package/registry/examples/button/native/icon.light.png +0 -0
- package/registry/examples/button/native/icon.tsx +15 -0
- package/registry/examples/button/native/loading.d.ts +4 -0
- package/registry/examples/button/native/loading.dark.png +0 -0
- package/registry/examples/button/native/loading.js +11 -0
- package/registry/examples/button/native/loading.light.png +0 -0
- package/registry/examples/button/native/loading.tsx +6 -0
- package/registry/examples/button/native/outline.d.ts +4 -0
- package/registry/examples/button/native/outline.dark.png +0 -0
- package/registry/examples/button/native/outline.js +12 -0
- package/registry/examples/button/native/outline.light.png +0 -0
- package/registry/examples/button/native/outline.tsx +5 -0
- package/registry/examples/button/native/primary.d.ts +4 -0
- package/registry/examples/button/native/primary.dark.png +0 -0
- package/registry/examples/button/native/primary.js +12 -0
- package/registry/examples/button/native/primary.light.png +0 -0
- package/registry/examples/button/native/primary.tsx +5 -0
- package/registry/examples/button/native/secondary.d.ts +4 -0
- package/registry/examples/button/native/secondary.dark.png +0 -0
- package/registry/examples/button/native/secondary.js +12 -0
- package/registry/examples/button/native/secondary.light.png +0 -0
- package/registry/examples/button/native/secondary.tsx +6 -0
- package/registry/examples/button/native/sizes.d.ts +4 -0
- package/registry/examples/button/native/sizes.dark.png +0 -0
- package/registry/examples/button/native/sizes.js +15 -0
- package/registry/examples/button/native/sizes.light.png +0 -0
- package/registry/examples/button/native/sizes.tsx +11 -0
- package/registry/examples/button/outline.d.ts +4 -0
- package/registry/examples/button/outline.js +11 -0
- package/registry/examples/button/outline.tsx +5 -0
- package/registry/examples/button/pill.d.ts +4 -0
- package/registry/examples/button/pill.js +11 -0
- package/registry/examples/button/pill.tsx +9 -0
- package/registry/examples/button/primary.d.ts +4 -0
- package/registry/{demos/button.js → examples/button/primary.js} +3 -3
- package/registry/{demos/button.tsx → examples/button/primary.tsx} +1 -1
- package/registry/examples/button/secondary.d.ts +4 -0
- package/registry/examples/button/secondary.js +11 -0
- package/registry/examples/button/secondary.tsx +6 -0
- package/registry/examples/button/sizes.d.ts +4 -0
- package/registry/examples/button/sizes.js +15 -0
- package/registry/examples/button/sizes.tsx +17 -0
- package/registry/examples/card/interactive-link.d.ts +4 -0
- package/registry/examples/card/interactive-link.js +15 -0
- package/registry/examples/card/interactive-link.tsx +16 -0
- package/registry/examples/card/media-card.d.ts +4 -0
- package/registry/{demos/card.js → examples/card/media-card.js} +3 -3
- package/registry/{demos/card.tsx → examples/card/media-card.tsx} +1 -1
- package/registry/examples/card/media-fallback.d.ts +4 -0
- package/registry/examples/card/media-fallback.js +18 -0
- package/registry/examples/card/media-fallback.tsx +22 -0
- package/registry/examples/card/native/body.d.ts +4 -0
- package/registry/examples/card/native/body.dark.png +0 -0
- package/registry/examples/card/native/body.js +15 -0
- package/registry/examples/card/native/body.light.png +0 -0
- package/registry/examples/card/native/body.tsx +13 -0
- package/registry/examples/card/native/default.d.ts +4 -0
- package/registry/examples/card/native/default.dark.png +0 -0
- package/registry/examples/card/native/default.js +24 -0
- package/registry/examples/card/native/default.light.png +0 -0
- package/registry/examples/card/native/default.tsx +28 -0
- package/registry/examples/card/native/elevated.d.ts +4 -0
- package/registry/examples/card/native/elevated.dark.png +0 -0
- package/registry/examples/card/native/elevated.js +24 -0
- package/registry/examples/card/native/elevated.light.png +0 -0
- package/registry/examples/card/native/elevated.tsx +28 -0
- package/registry/examples/card/native/pressable.d.ts +4 -0
- package/registry/examples/card/native/pressable.dark.png +0 -0
- package/registry/examples/card/native/pressable.js +15 -0
- package/registry/examples/card/native/pressable.light.png +0 -0
- package/registry/examples/card/native/pressable.tsx +13 -0
- package/registry/examples/card/reveal-grid.d.ts +4 -0
- package/registry/examples/card/reveal-grid.js +28 -0
- package/registry/examples/card/reveal-grid.tsx +31 -0
- package/registry/examples/card/stat-card.d.ts +4 -0
- package/registry/examples/card/stat-card.js +18 -0
- package/registry/examples/card/stat-card.tsx +17 -0
- package/registry/examples/checkbox/checked.d.ts +4 -0
- package/registry/examples/checkbox/checked.js +11 -0
- package/registry/examples/checkbox/checked.tsx +5 -0
- package/registry/examples/checkbox/disabled.d.ts +4 -0
- package/registry/examples/checkbox/disabled.js +14 -0
- package/registry/examples/checkbox/disabled.tsx +12 -0
- package/registry/examples/checkbox/indeterminate.d.ts +4 -0
- package/registry/examples/checkbox/indeterminate.js +11 -0
- package/registry/examples/checkbox/indeterminate.tsx +6 -0
- package/registry/examples/checkbox/invalid.d.ts +4 -0
- package/registry/examples/checkbox/invalid.js +15 -0
- package/registry/examples/checkbox/invalid.tsx +14 -0
- package/registry/examples/checkbox/unchecked.d.ts +4 -0
- package/registry/{demos/checkbox.js → examples/checkbox/unchecked.js} +3 -3
- package/registry/{demos/checkbox.tsx → examples/checkbox/unchecked.tsx} +2 -1
- package/registry/examples/chip/multiple.d.ts +4 -0
- package/registry/examples/chip/multiple.js +16 -0
- package/registry/examples/chip/multiple.tsx +12 -0
- package/registry/examples/chip/native/multiple.d.ts +4 -0
- package/registry/examples/chip/native/multiple.dark.png +0 -0
- package/registry/examples/chip/native/multiple.js +18 -0
- package/registry/examples/chip/native/multiple.light.png +0 -0
- package/registry/examples/chip/native/multiple.tsx +17 -0
- package/registry/examples/chip/native/removable.d.ts +4 -0
- package/registry/examples/chip/native/removable.dark.png +0 -0
- package/registry/examples/chip/native/removable.js +17 -0
- package/registry/examples/chip/native/removable.light.png +0 -0
- package/registry/examples/chip/native/removable.tsx +15 -0
- package/registry/examples/chip/native/single.d.ts +4 -0
- package/registry/examples/chip/native/single.dark.png +0 -0
- package/registry/examples/chip/native/single.js +15 -0
- package/registry/examples/chip/native/single.light.png +0 -0
- package/registry/examples/chip/native/single.tsx +11 -0
- package/registry/examples/chip/native/toggle.d.ts +4 -0
- package/registry/examples/chip/native/toggle.dark.png +0 -0
- package/registry/examples/chip/native/toggle.js +17 -0
- package/registry/examples/chip/native/toggle.light.png +0 -0
- package/registry/examples/chip/native/toggle.tsx +16 -0
- package/registry/examples/chip/removable.d.ts +4 -0
- package/registry/examples/chip/removable.js +16 -0
- package/registry/examples/chip/removable.tsx +15 -0
- package/registry/examples/chip/single.d.ts +4 -0
- package/registry/examples/chip/single.js +16 -0
- package/registry/examples/chip/single.tsx +13 -0
- package/registry/examples/chip/small.d.ts +4 -0
- package/registry/examples/chip/small.js +16 -0
- package/registry/examples/chip/small.tsx +12 -0
- package/registry/examples/chip/toggle.d.ts +4 -0
- package/registry/{demos/chip.js → examples/chip/toggle.js} +3 -3
- package/registry/{demos/chip.tsx → examples/chip/toggle.tsx} +2 -1
- package/registry/examples/cn/merge.d.ts +4 -0
- package/registry/{demos/cn.js → examples/cn/merge.js} +3 -3
- package/registry/{demos/cn.tsx → examples/cn/merge.tsx} +1 -1
- package/registry/examples/command/dialog.d.ts +4 -0
- package/registry/examples/command/dialog.js +39 -0
- package/registry/examples/command/dialog.tsx +35 -0
- package/registry/examples/command/inline.d.ts +4 -0
- package/registry/{demos/command.js → examples/command/inline.js} +4 -5
- package/registry/{demos/command.tsx → examples/command/inline.tsx} +2 -3
- package/registry/examples/command/no-results.d.ts +4 -0
- package/registry/examples/command/no-results.js +19 -0
- package/registry/examples/command/no-results.tsx +20 -0
- package/registry/examples/confirm-button/armed.d.ts +4 -0
- package/registry/examples/confirm-button/armed.js +12 -0
- package/registry/examples/confirm-button/armed.tsx +14 -0
- package/registry/examples/confirm-button/idle.d.ts +4 -0
- package/registry/{demos/confirm-button.js → examples/confirm-button/idle.js} +3 -3
- package/registry/{demos/confirm-button.tsx → examples/confirm-button/idle.tsx} +1 -1
- package/registry/examples/confirm-button/with-text.d.ts +4 -0
- package/registry/examples/confirm-button/with-text.js +12 -0
- package/registry/examples/confirm-button/with-text.tsx +12 -0
- package/registry/examples/countdown/days.d.ts +4 -0
- package/registry/examples/countdown/days.js +13 -0
- package/registry/examples/countdown/days.tsx +10 -0
- package/registry/examples/countdown/ended.d.ts +4 -0
- package/registry/examples/countdown/ended.js +13 -0
- package/registry/examples/countdown/ended.tsx +10 -0
- package/registry/examples/countdown/hours.d.ts +4 -0
- package/registry/{demos/countdown.js → examples/countdown/hours.js} +3 -3
- package/registry/{demos/countdown.tsx → examples/countdown/hours.tsx} +1 -1
- package/registry/examples/countdown/native/days.d.ts +4 -0
- package/registry/examples/countdown/native/days.dark.png +0 -0
- package/registry/examples/countdown/native/days.js +13 -0
- package/registry/examples/countdown/native/days.light.png +0 -0
- package/registry/examples/countdown/native/days.tsx +7 -0
- package/registry/examples/countdown/native/hours.d.ts +4 -0
- package/registry/examples/countdown/native/hours.dark.png +0 -0
- package/registry/examples/countdown/native/hours.js +13 -0
- package/registry/examples/countdown/native/hours.light.png +0 -0
- package/registry/examples/countdown/native/hours.tsx +7 -0
- package/registry/examples/countdown/native/sizes.d.ts +4 -0
- package/registry/examples/countdown/native/sizes.dark.png +0 -0
- package/registry/examples/countdown/native/sizes.js +18 -0
- package/registry/examples/countdown/native/sizes.light.png +0 -0
- package/registry/examples/countdown/native/sizes.tsx +15 -0
- package/registry/examples/countdown/native/urgent.d.ts +4 -0
- package/registry/examples/countdown/native/urgent.dark.png +0 -0
- package/registry/examples/countdown/native/urgent.js +13 -0
- package/registry/examples/countdown/native/urgent.light.png +0 -0
- package/registry/examples/countdown/native/urgent.tsx +7 -0
- package/registry/examples/countdown/native/with-label.d.ts +4 -0
- package/registry/examples/countdown/native/with-label.dark.png +0 -0
- package/registry/examples/countdown/native/with-label.js +13 -0
- package/registry/examples/countdown/native/with-label.light.png +0 -0
- package/registry/examples/countdown/native/with-label.tsx +7 -0
- package/registry/examples/countdown/sizes.d.ts +4 -0
- package/registry/examples/countdown/sizes.js +18 -0
- package/registry/examples/countdown/sizes.tsx +17 -0
- package/registry/examples/countdown/urgent.d.ts +4 -0
- package/registry/examples/countdown/urgent.js +13 -0
- package/registry/examples/countdown/urgent.tsx +10 -0
- package/registry/examples/countdown/with-label.d.ts +4 -0
- package/registry/examples/countdown/with-label.js +13 -0
- package/registry/examples/countdown/with-label.tsx +10 -0
- package/registry/examples/dialog/alert-destructive.d.ts +4 -0
- package/registry/examples/dialog/alert-destructive.js +24 -0
- package/registry/examples/dialog/alert-destructive.tsx +20 -0
- package/registry/examples/dialog/bottom.d.ts +4 -0
- package/registry/examples/dialog/bottom.js +29 -0
- package/registry/examples/dialog/bottom.tsx +32 -0
- package/registry/examples/dialog/center.d.ts +4 -0
- package/registry/{demos/dialog.js → examples/dialog/center.js} +3 -3
- package/registry/{demos/dialog.tsx → examples/dialog/center.tsx} +1 -1
- package/registry/examples/dialog/gate.d.ts +4 -0
- package/registry/examples/dialog/gate.js +24 -0
- package/registry/examples/dialog/gate.tsx +27 -0
- package/registry/examples/dialog/right.d.ts +4 -0
- package/registry/examples/dialog/right.js +29 -0
- package/registry/examples/dialog/right.tsx +32 -0
- package/registry/examples/dialog/sheet-form.d.ts +4 -0
- package/registry/examples/dialog/sheet-form.js +35 -0
- package/registry/examples/dialog/sheet-form.tsx +36 -0
- package/registry/examples/dropdown-menu/actions.d.ts +4 -0
- package/registry/{demos/dropdown-menu.js → examples/dropdown-menu/actions.js} +3 -3
- package/registry/{demos/dropdown-menu.tsx → examples/dropdown-menu/actions.tsx} +1 -1
- package/registry/examples/empty-state/default.d.ts +4 -0
- package/registry/{demos/empty-state.js → examples/empty-state/default.js} +3 -3
- package/registry/{demos/empty-state.tsx → examples/empty-state/default.tsx} +1 -1
- package/registry/examples/empty-state/native/default.d.ts +4 -0
- package/registry/examples/empty-state/native/default.dark.png +0 -0
- package/registry/examples/empty-state/native/default.js +25 -0
- package/registry/examples/empty-state/native/default.light.png +0 -0
- package/registry/examples/empty-state/native/default.tsx +25 -0
- package/registry/examples/empty-state/title-only.d.ts +4 -0
- package/registry/examples/empty-state/title-only.js +11 -0
- package/registry/examples/empty-state/title-only.tsx +5 -0
- package/registry/examples/empty-state/with-action.d.ts +4 -0
- package/registry/examples/empty-state/with-action.js +24 -0
- package/registry/examples/empty-state/with-action.tsx +25 -0
- package/registry/examples/field/default.d.ts +4 -0
- package/registry/{demos/field.js → examples/field/default.js} +3 -3
- package/registry/{demos/field.tsx → examples/field/default.tsx} +1 -1
- package/registry/examples/field/disabled.d.ts +4 -0
- package/registry/examples/field/disabled.js +14 -0
- package/registry/examples/field/disabled.tsx +10 -0
- package/registry/examples/field/invalid.d.ts +4 -0
- package/registry/examples/field/invalid.js +15 -0
- package/registry/examples/field/invalid.tsx +12 -0
- package/registry/examples/field/select.d.ts +4 -0
- package/registry/examples/field/select.js +18 -0
- package/registry/examples/field/select.tsx +15 -0
- package/registry/examples/field/textarea.d.ts +4 -0
- package/registry/examples/field/textarea.js +14 -0
- package/registry/examples/field/textarea.tsx +10 -0
- package/registry/examples/kbd/key.d.ts +4 -0
- package/registry/{demos/kbd.js → examples/kbd/key.js} +3 -3
- package/registry/{demos/kbd.tsx → examples/kbd/key.tsx} +1 -1
- package/registry/examples/kbd/shortcut.d.ts +4 -0
- package/registry/examples/kbd/shortcut.js +15 -0
- package/registry/examples/kbd/shortcut.tsx +11 -0
- package/registry/examples/kbd/small.d.ts +4 -0
- package/registry/examples/kbd/small.js +11 -0
- package/registry/examples/kbd/small.tsx +5 -0
- package/registry/examples/page-header/default.d.ts +4 -0
- package/registry/{demos/page-header.js → examples/page-header/default.js} +3 -3
- package/registry/{demos/page-header.tsx → examples/page-header/default.tsx} +1 -1
- package/registry/examples/page-header/with-actions.d.ts +4 -0
- package/registry/examples/page-header/with-actions.js +22 -0
- package/registry/examples/page-header/with-actions.tsx +17 -0
- package/registry/examples/page-header/with-breadcrumb.d.ts +4 -0
- package/registry/examples/page-header/with-breadcrumb.js +24 -0
- package/registry/examples/page-header/with-breadcrumb.tsx +26 -0
- package/registry/examples/popover/form.d.ts +4 -0
- package/registry/{demos/popover.js → examples/popover/form.js} +3 -3
- package/registry/{demos/popover.tsx → examples/popover/form.tsx} +1 -1
- package/registry/examples/progress/bar-indeterminate.d.ts +4 -0
- package/registry/examples/progress/bar-indeterminate.js +11 -0
- package/registry/examples/progress/bar-indeterminate.tsx +6 -0
- package/registry/examples/progress/bar-sizes.d.ts +4 -0
- package/registry/examples/progress/bar-sizes.js +15 -0
- package/registry/examples/progress/bar-sizes.tsx +11 -0
- package/registry/examples/progress/bar.d.ts +4 -0
- package/registry/{demos/progress.js → examples/progress/bar.js} +3 -3
- package/registry/{demos/progress.tsx → examples/progress/bar.tsx} +1 -1
- package/registry/examples/progress/native/bar.d.ts +4 -0
- package/registry/examples/progress/native/bar.dark.png +0 -0
- package/registry/examples/progress/native/bar.js +16 -0
- package/registry/examples/progress/native/bar.light.png +0 -0
- package/registry/examples/progress/native/bar.tsx +12 -0
- package/registry/examples/progress/native/indeterminate.d.ts +4 -0
- package/registry/examples/progress/native/indeterminate.dark.png +0 -0
- package/registry/examples/progress/native/indeterminate.js +15 -0
- package/registry/examples/progress/native/indeterminate.light.png +0 -0
- package/registry/examples/progress/native/indeterminate.tsx +12 -0
- package/registry/examples/progress/native/ring.d.ts +4 -0
- package/registry/examples/progress/native/ring.dark.png +0 -0
- package/registry/examples/progress/native/ring.js +19 -0
- package/registry/examples/progress/native/ring.light.png +0 -0
- package/registry/examples/progress/native/ring.tsx +19 -0
- package/registry/examples/progress/ring-indeterminate.d.ts +4 -0
- package/registry/examples/progress/ring-indeterminate.js +11 -0
- package/registry/examples/progress/ring-indeterminate.tsx +5 -0
- package/registry/examples/progress/ring.d.ts +4 -0
- package/registry/examples/progress/ring.js +18 -0
- package/registry/examples/progress/ring.tsx +17 -0
- package/registry/examples/radio-group/cards.d.ts +4 -0
- package/registry/examples/radio-group/cards.js +19 -0
- package/registry/examples/radio-group/cards.tsx +21 -0
- package/registry/examples/radio-group/horizontal.d.ts +4 -0
- package/registry/examples/radio-group/horizontal.js +15 -0
- package/registry/examples/radio-group/horizontal.tsx +12 -0
- package/registry/examples/radio-group/items.d.ts +4 -0
- package/registry/{demos/radio-group.js → examples/radio-group/items.js} +3 -3
- package/registry/{demos/radio-group.tsx → examples/radio-group/items.tsx} +1 -1
- package/registry/examples/section-backdrop/depth-of-field.d.ts +4 -0
- package/registry/examples/section-backdrop/depth-of-field.js +18 -0
- package/registry/examples/section-backdrop/depth-of-field.tsx +13 -0
- package/registry/examples/section-backdrop/hero.d.ts +4 -0
- package/registry/{demos/section-backdrop.js → examples/section-backdrop/hero.js} +3 -3
- package/registry/{demos/section-backdrop.tsx → examples/section-backdrop/hero.tsx} +1 -1
- package/registry/examples/section-backdrop/plain.d.ts +4 -0
- package/registry/examples/section-backdrop/plain.js +11 -0
- package/registry/examples/section-backdrop/plain.tsx +10 -0
- package/registry/examples/section-backdrop/sequence.d.ts +4 -0
- package/registry/examples/section-backdrop/sequence.js +14 -0
- package/registry/examples/section-backdrop/sequence.tsx +15 -0
- package/registry/examples/section-backdrop/up.d.ts +4 -0
- package/registry/examples/section-backdrop/up.js +11 -0
- package/registry/examples/section-backdrop/up.tsx +10 -0
- package/registry/examples/segmented/native/default.d.ts +4 -0
- package/registry/examples/segmented/native/default.dark.png +0 -0
- package/registry/examples/segmented/native/default.js +19 -0
- package/registry/examples/segmented/native/default.light.png +0 -0
- package/registry/examples/segmented/native/default.tsx +19 -0
- package/registry/examples/segmented/native/small.d.ts +4 -0
- package/registry/examples/segmented/native/small.dark.png +0 -0
- package/registry/examples/segmented/native/small.js +19 -0
- package/registry/examples/segmented/native/small.light.png +0 -0
- package/registry/examples/segmented/native/small.tsx +19 -0
- package/registry/examples/separator/horizontal.d.ts +4 -0
- package/registry/{demos/separator.js → examples/separator/horizontal.js} +3 -3
- package/registry/{demos/separator.tsx → examples/separator/horizontal.tsx} +1 -1
- package/registry/examples/separator/vertical.d.ts +4 -0
- package/registry/examples/separator/vertical.js +17 -0
- package/registry/examples/separator/vertical.tsx +14 -0
- package/registry/examples/skeleton/circle.d.ts +4 -0
- package/registry/examples/skeleton/circle.js +11 -0
- package/registry/examples/skeleton/circle.tsx +5 -0
- package/registry/examples/skeleton/composition.d.ts +4 -0
- package/registry/{demos/skeleton.js → examples/skeleton/composition.js} +3 -3
- package/registry/{demos/skeleton.tsx → examples/skeleton/composition.tsx} +1 -1
- package/registry/examples/skeleton/native/shapes.d.ts +4 -0
- package/registry/examples/skeleton/native/shapes.dark.png +0 -0
- package/registry/examples/skeleton/native/shapes.js +21 -0
- package/registry/examples/skeleton/native/shapes.light.png +0 -0
- package/registry/examples/skeleton/native/shapes.tsx +18 -0
- package/registry/examples/skeleton/rect.d.ts +4 -0
- package/registry/examples/skeleton/rect.js +11 -0
- package/registry/examples/skeleton/rect.tsx +5 -0
- package/registry/examples/skeleton/text.d.ts +4 -0
- package/registry/examples/skeleton/text.js +11 -0
- package/registry/examples/skeleton/text.tsx +5 -0
- package/registry/examples/slider/centred.d.ts +4 -0
- package/registry/examples/slider/centred.js +11 -0
- package/registry/examples/slider/centred.tsx +8 -0
- package/registry/examples/slider/default.d.ts +4 -0
- package/registry/{demos/slider.js → examples/slider/default.js} +3 -3
- package/registry/{demos/slider.tsx → examples/slider/default.tsx} +1 -1
- package/registry/examples/slider/disabled.d.ts +4 -0
- package/registry/examples/slider/disabled.js +11 -0
- package/registry/examples/slider/disabled.tsx +5 -0
- package/registry/examples/slider/range.d.ts +4 -0
- package/registry/examples/slider/range.js +22 -0
- package/registry/examples/slider/range.tsx +18 -0
- package/registry/examples/slider/with-label.d.ts +4 -0
- package/registry/examples/slider/with-label.js +11 -0
- package/registry/examples/slider/with-label.tsx +8 -0
- package/registry/examples/slot/as-child.d.ts +4 -0
- package/registry/{demos/slot.js → examples/slot/as-child.js} +3 -3
- package/registry/{demos/slot.tsx → examples/slot/as-child.tsx} +1 -1
- package/registry/examples/slot/visually-hidden.d.ts +4 -0
- package/registry/examples/slot/visually-hidden.js +14 -0
- package/registry/examples/slot/visually-hidden.tsx +13 -0
- package/registry/examples/spinner/default.d.ts +4 -0
- package/registry/{demos/spinner.js → examples/spinner/default.js} +3 -3
- package/registry/{demos/spinner.tsx → examples/spinner/default.tsx} +1 -1
- package/registry/examples/spinner/muted.d.ts +4 -0
- package/registry/examples/spinner/muted.js +11 -0
- package/registry/examples/spinner/muted.tsx +6 -0
- package/registry/examples/spinner/native/sizes.d.ts +4 -0
- package/registry/examples/spinner/native/sizes.dark.png +0 -0
- package/registry/examples/spinner/native/sizes.js +16 -0
- package/registry/examples/spinner/native/sizes.light.png +0 -0
- package/registry/examples/spinner/native/sizes.tsx +13 -0
- package/registry/examples/spinner/sizes.d.ts +4 -0
- package/registry/examples/spinner/sizes.js +15 -0
- package/registry/examples/spinner/sizes.tsx +11 -0
- package/registry/examples/stat/down.d.ts +4 -0
- package/registry/examples/stat/down.js +11 -0
- package/registry/examples/stat/down.tsx +5 -0
- package/registry/examples/stat/flat.d.ts +4 -0
- package/registry/examples/stat/flat.js +11 -0
- package/registry/examples/stat/flat.tsx +5 -0
- package/registry/examples/stat/plain.d.ts +4 -0
- package/registry/examples/stat/plain.js +11 -0
- package/registry/examples/stat/plain.tsx +5 -0
- package/registry/examples/stat/row.d.ts +4 -0
- package/registry/examples/stat/row.js +15 -0
- package/registry/examples/stat/row.tsx +12 -0
- package/registry/examples/stat/up.d.ts +4 -0
- package/registry/{demos/stat.js → examples/stat/up.js} +3 -3
- package/registry/{demos/stat.tsx → examples/stat/up.tsx} +1 -1
- package/registry/examples/switch/disabled.d.ts +4 -0
- package/registry/examples/switch/disabled.js +14 -0
- package/registry/examples/switch/disabled.tsx +10 -0
- package/registry/examples/switch/off.d.ts +4 -0
- package/registry/{demos/switch.js → examples/switch/off.js} +3 -3
- package/registry/{demos/switch.tsx → examples/switch/off.tsx} +1 -1
- package/registry/examples/switch/on.d.ts +4 -0
- package/registry/examples/switch/on.js +11 -0
- package/registry/examples/switch/on.tsx +5 -0
- package/registry/examples/switch/small.d.ts +4 -0
- package/registry/examples/switch/small.js +11 -0
- package/registry/examples/switch/small.tsx +5 -0
- package/registry/examples/switch/with-label.d.ts +4 -0
- package/registry/examples/switch/with-label.js +18 -0
- package/registry/examples/switch/with-label.tsx +17 -0
- package/registry/examples/tabs/pills.d.ts +4 -0
- package/registry/examples/tabs/pills.js +20 -0
- package/registry/examples/tabs/pills.tsx +23 -0
- package/registry/examples/tabs/segmented.d.ts +4 -0
- package/registry/examples/tabs/segmented.js +20 -0
- package/registry/examples/tabs/segmented.tsx +23 -0
- package/registry/examples/tabs/underline.d.ts +4 -0
- package/registry/{demos/tabs.js → examples/tabs/underline.js} +3 -3
- package/registry/{demos/tabs.tsx → examples/tabs/underline.tsx} +1 -1
- package/registry/examples/tabs/vertical.d.ts +4 -0
- package/registry/examples/tabs/vertical.js +20 -0
- package/registry/examples/tabs/vertical.tsx +23 -0
- package/registry/examples/theme/native/provider.d.ts +4 -0
- package/registry/examples/theme/native/provider.js +23 -0
- package/registry/examples/theme/native/provider.tsx +21 -0
- package/registry/examples/theme/secondary.d.ts +4 -0
- package/registry/examples/theme/secondary.js +11 -0
- package/registry/examples/theme/secondary.tsx +10 -0
- package/registry/examples/theme/toggle.d.ts +4 -0
- package/registry/{demos/theme.js → examples/theme/toggle.js} +3 -3
- package/registry/{demos/theme.tsx → examples/theme/toggle.tsx} +1 -1
- package/registry/examples/toast/custom.d.ts +4 -0
- package/registry/examples/toast/custom.js +30 -0
- package/registry/examples/toast/custom.tsx +35 -0
- package/registry/examples/toast/native/notification.d.ts +4 -0
- package/registry/examples/toast/native/notification.dark.png +0 -0
- package/registry/examples/toast/native/notification.js +29 -0
- package/registry/examples/toast/native/notification.light.png +0 -0
- package/registry/examples/toast/native/notification.tsx +30 -0
- package/registry/examples/toast/native/tones.d.ts +4 -0
- package/registry/examples/toast/native/tones.dark.png +0 -0
- package/registry/examples/toast/native/tones.js +28 -0
- package/registry/examples/toast/native/tones.light.png +0 -0
- package/registry/examples/toast/native/tones.tsx +25 -0
- package/registry/examples/toast/tones.d.ts +4 -0
- package/registry/{demos/toast.js → examples/toast/tones.js} +3 -3
- package/registry/{demos/toast.tsx → examples/toast/tones.tsx} +1 -1
- package/registry/examples/tooltip/right.d.ts +4 -0
- package/registry/examples/tooltip/right.js +15 -0
- package/registry/examples/tooltip/right.tsx +15 -0
- package/registry/examples/tooltip/top.d.ts +4 -0
- package/registry/{demos/tooltip.js → examples/tooltip/top.js} +3 -3
- package/registry/{demos/tooltip.tsx → examples/tooltip/top.tsx} +1 -1
- package/registry/examples/txt/native/tones.d.ts +4 -0
- package/registry/examples/txt/native/tones.dark.png +0 -0
- package/registry/examples/txt/native/tones.js +16 -0
- package/registry/examples/txt/native/tones.light.png +0 -0
- package/registry/examples/txt/native/tones.tsx +17 -0
- package/registry/examples/txt/native/variants.d.ts +4 -0
- package/registry/examples/txt/native/variants.dark.png +0 -0
- package/registry/examples/txt/native/variants.js +18 -0
- package/registry/examples/txt/native/variants.light.png +0 -0
- package/registry/examples/txt/native/variants.tsx +15 -0
- package/registry/field.json +142 -4
- package/registry/index.json +353 -33
- package/registry/kbd.json +90 -3
- package/registry/page-header.json +121 -3
- package/registry/popover.json +90 -3
- package/registry/progress.json +265 -3
- package/registry/radio-group.json +136 -3
- package/registry/section-backdrop.json +144 -3
- package/registry/segmented.json +125 -0
- package/registry/separator.json +67 -3
- package/registry/skeleton.json +166 -3
- package/registry/slider.json +177 -3
- package/registry/slot.json +79 -3
- package/registry/spinner.json +144 -3
- package/registry/stat.json +140 -3
- package/registry/switch.json +130 -3
- package/registry/tabs.json +117 -3
- package/registry/theme.json +190 -4
- package/registry/toast.json +190 -3
- package/registry/tooltip.json +143 -3
- package/registry/txt.json +97 -0
- package/dist/chunk-6DJ6SQY3.js.map +0 -1
- package/registry/demos/alert.d.ts +0 -5
- package/registry/demos/avatar.d.ts +0 -5
- package/registry/demos/badge.d.ts +0 -5
- package/registry/demos/button.d.ts +0 -5
- package/registry/demos/card.d.ts +0 -5
- package/registry/demos/checkbox.d.ts +0 -5
- package/registry/demos/chip.d.ts +0 -5
- package/registry/demos/cn.d.ts +0 -7
- package/registry/demos/command.d.ts +0 -5
- package/registry/demos/confirm-button.d.ts +0 -5
- package/registry/demos/countdown.d.ts +0 -5
- package/registry/demos/dialog.d.ts +0 -7
- package/registry/demos/dropdown-menu.d.ts +0 -7
- package/registry/demos/empty-state.d.ts +0 -5
- package/registry/demos/field.d.ts +0 -5
- package/registry/demos/kbd.d.ts +0 -5
- package/registry/demos/page-header.d.ts +0 -5
- package/registry/demos/popover.d.ts +0 -7
- package/registry/demos/progress.d.ts +0 -5
- package/registry/demos/radio-group.d.ts +0 -5
- package/registry/demos/section-backdrop.d.ts +0 -5
- package/registry/demos/separator.d.ts +0 -5
- package/registry/demos/skeleton.d.ts +0 -5
- package/registry/demos/slider.d.ts +0 -5
- package/registry/demos/slot.d.ts +0 -5
- package/registry/demos/spinner.d.ts +0 -5
- package/registry/demos/stat.d.ts +0 -5
- package/registry/demos/switch.d.ts +0 -5
- package/registry/demos/tabs.d.ts +0 -5
- package/registry/demos/theme.d.ts +0 -5
- package/registry/demos/toast.d.ts +0 -8
- package/registry/demos/tooltip.d.ts +0 -7
- /package/dist/{chunk-IUGBKMJC.js.map → chunk-FHYZSO2S.js.map} +0 -0
package/registry/index.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/ui",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
6
|
"name": "alert",
|
|
7
7
|
"type": "primitive",
|
|
8
|
-
"
|
|
8
|
+
"title": "Alert",
|
|
9
|
+
"summary": "A message in the flow of the page: a tone, an icon, a title, a text and an optional action.",
|
|
10
|
+
"description": "A message in the flow of the page: a tone, an icon, a title, a text and an optional action.",
|
|
11
|
+
"status": "stable",
|
|
12
|
+
"category": "feedback",
|
|
13
|
+
"platforms": "web",
|
|
14
|
+
"examples": {
|
|
15
|
+
"web": 5,
|
|
16
|
+
"native": 0
|
|
17
|
+
},
|
|
9
18
|
"dependencies": [
|
|
10
19
|
"tailwind-variants@^3.3.1"
|
|
11
20
|
],
|
|
@@ -14,7 +23,16 @@
|
|
|
14
23
|
{
|
|
15
24
|
"name": "avatar",
|
|
16
25
|
"type": "primitive",
|
|
17
|
-
"
|
|
26
|
+
"title": "Avatar",
|
|
27
|
+
"summary": "A person or an account: their picture, or initials while it loads, when it fails or when there is none.",
|
|
28
|
+
"description": "A person or an account: their picture, or initials while it loads, when it fails or when there is none.",
|
|
29
|
+
"status": "stable",
|
|
30
|
+
"category": "data-display",
|
|
31
|
+
"platforms": "both",
|
|
32
|
+
"examples": {
|
|
33
|
+
"web": 4,
|
|
34
|
+
"native": 2
|
|
35
|
+
},
|
|
18
36
|
"dependencies": [
|
|
19
37
|
"radix-ui@^1.7.0",
|
|
20
38
|
"tailwind-variants@^3.3.1"
|
|
@@ -24,7 +42,16 @@
|
|
|
24
42
|
{
|
|
25
43
|
"name": "badge",
|
|
26
44
|
"type": "primitive",
|
|
27
|
-
"
|
|
45
|
+
"title": "Badge",
|
|
46
|
+
"summary": "A short status or label: a tone, two sizes, an optional dot that can pulse.",
|
|
47
|
+
"description": "A short status or label: a tone, two sizes, an optional dot that can pulse.",
|
|
48
|
+
"status": "stable",
|
|
49
|
+
"category": "data-display",
|
|
50
|
+
"platforms": "both",
|
|
51
|
+
"examples": {
|
|
52
|
+
"web": 7,
|
|
53
|
+
"native": 3
|
|
54
|
+
},
|
|
28
55
|
"dependencies": [
|
|
29
56
|
"tailwind-variants@^3.3.1"
|
|
30
57
|
],
|
|
@@ -33,7 +60,16 @@
|
|
|
33
60
|
{
|
|
34
61
|
"name": "button",
|
|
35
62
|
"type": "primitive",
|
|
36
|
-
"
|
|
63
|
+
"title": "Button",
|
|
64
|
+
"summary": "The action: a button in six looks (primary, gradient, secondary, outline, ghost, danger), three sizes and two shapes.",
|
|
65
|
+
"description": "The action: a button in six looks (primary, gradient, secondary, outline, ghost, danger), three sizes and two shapes.",
|
|
66
|
+
"status": "stable",
|
|
67
|
+
"category": "actions",
|
|
68
|
+
"platforms": "both",
|
|
69
|
+
"examples": {
|
|
70
|
+
"web": 12,
|
|
71
|
+
"native": 11
|
|
72
|
+
},
|
|
37
73
|
"dependencies": [
|
|
38
74
|
"radix-ui@^1.7.0",
|
|
39
75
|
"tailwind-variants@^3.3.1"
|
|
@@ -43,7 +79,16 @@
|
|
|
43
79
|
{
|
|
44
80
|
"name": "card",
|
|
45
81
|
"type": "primitive",
|
|
46
|
-
"
|
|
82
|
+
"title": "Card",
|
|
83
|
+
"summary": "The composed chassis of every card: a media with overlays, a body with a title, a description, stats and a footer.",
|
|
84
|
+
"description": "The composed chassis of every card: a media with overlays, a body with a title, a description, stats and a footer.",
|
|
85
|
+
"status": "stable",
|
|
86
|
+
"category": "layout",
|
|
87
|
+
"platforms": "both",
|
|
88
|
+
"examples": {
|
|
89
|
+
"web": 5,
|
|
90
|
+
"native": 4
|
|
91
|
+
},
|
|
47
92
|
"dependencies": [
|
|
48
93
|
"radix-ui@^1.7.0",
|
|
49
94
|
"tailwind-variants@^3.3.1"
|
|
@@ -55,7 +100,16 @@
|
|
|
55
100
|
{
|
|
56
101
|
"name": "checkbox",
|
|
57
102
|
"type": "primitive",
|
|
58
|
-
"
|
|
103
|
+
"title": "Checkbox",
|
|
104
|
+
"summary": "A box to check: checked, unchecked or indeterminate, with its words as one clickable label.",
|
|
105
|
+
"description": "A box to check: checked, unchecked or indeterminate, with its words as one clickable label.",
|
|
106
|
+
"status": "beta",
|
|
107
|
+
"category": "forms",
|
|
108
|
+
"platforms": "web",
|
|
109
|
+
"examples": {
|
|
110
|
+
"web": 5,
|
|
111
|
+
"native": 0
|
|
112
|
+
},
|
|
59
113
|
"dependencies": [
|
|
60
114
|
"radix-ui@^1.7.0",
|
|
61
115
|
"tailwind-variants@^3.3.1"
|
|
@@ -65,7 +119,16 @@
|
|
|
65
119
|
{
|
|
66
120
|
"name": "chip",
|
|
67
121
|
"type": "primitive",
|
|
68
|
-
"
|
|
122
|
+
"title": "Chip",
|
|
123
|
+
"summary": "A selectable pill: alone a toggle, in a group a single or multiple choice, or a removable tag.",
|
|
124
|
+
"description": "A selectable pill: alone a toggle, in a group a single or multiple choice, or a removable tag.",
|
|
125
|
+
"status": "beta",
|
|
126
|
+
"category": "forms",
|
|
127
|
+
"platforms": "both",
|
|
128
|
+
"examples": {
|
|
129
|
+
"web": 5,
|
|
130
|
+
"native": 4
|
|
131
|
+
},
|
|
69
132
|
"dependencies": [
|
|
70
133
|
"radix-ui@^1.7.0",
|
|
71
134
|
"tailwind-variants@^3.3.1"
|
|
@@ -75,7 +138,16 @@
|
|
|
75
138
|
{
|
|
76
139
|
"name": "cn",
|
|
77
140
|
"type": "primitive",
|
|
78
|
-
"
|
|
141
|
+
"title": "cn",
|
|
142
|
+
"summary": "Joins class names and resolves Tailwind conflicts: the last class wins.",
|
|
143
|
+
"description": "Joins class names and resolves Tailwind conflicts: the last class wins.",
|
|
144
|
+
"status": "stable",
|
|
145
|
+
"category": "foundations",
|
|
146
|
+
"platforms": "web",
|
|
147
|
+
"examples": {
|
|
148
|
+
"web": 1,
|
|
149
|
+
"native": 0
|
|
150
|
+
},
|
|
79
151
|
"dependencies": [
|
|
80
152
|
"clsx@^2.1.1",
|
|
81
153
|
"tailwind-variants@^3.3.1"
|
|
@@ -85,7 +157,16 @@
|
|
|
85
157
|
{
|
|
86
158
|
"name": "command",
|
|
87
159
|
"type": "primitive",
|
|
88
|
-
"
|
|
160
|
+
"title": "Command",
|
|
161
|
+
"summary": "A command palette on cmdk: a search input over a filtered list of commands, inline or in a dialog.",
|
|
162
|
+
"description": "A command palette on cmdk: a search input over a filtered list of commands, inline or in a dialog.",
|
|
163
|
+
"status": "beta",
|
|
164
|
+
"category": "navigation",
|
|
165
|
+
"platforms": "web",
|
|
166
|
+
"examples": {
|
|
167
|
+
"web": 3,
|
|
168
|
+
"native": 0
|
|
169
|
+
},
|
|
89
170
|
"dependencies": [
|
|
90
171
|
"cmdk@^1.1.1",
|
|
91
172
|
"radix-ui@^1.7.0",
|
|
@@ -99,7 +180,16 @@
|
|
|
99
180
|
{
|
|
100
181
|
"name": "confirm-button",
|
|
101
182
|
"type": "primitive",
|
|
102
|
-
"
|
|
183
|
+
"title": "Confirm button",
|
|
184
|
+
"summary": "A destructive action in two presses: the first arms it and says what will happen, the second runs it.",
|
|
185
|
+
"description": "A destructive action in two presses: the first arms it and says what will happen, the second runs it.",
|
|
186
|
+
"status": "beta",
|
|
187
|
+
"category": "actions",
|
|
188
|
+
"platforms": "web",
|
|
189
|
+
"examples": {
|
|
190
|
+
"web": 3,
|
|
191
|
+
"native": 0
|
|
192
|
+
},
|
|
103
193
|
"dependencies": [
|
|
104
194
|
"radix-ui@^1.7.0"
|
|
105
195
|
],
|
|
@@ -111,7 +201,16 @@
|
|
|
111
201
|
{
|
|
112
202
|
"name": "countdown",
|
|
113
203
|
"type": "primitive",
|
|
114
|
-
"
|
|
204
|
+
"title": "Countdown",
|
|
205
|
+
"summary": "The time left until a moment, in tabular figures, turning urgent under a threshold.",
|
|
206
|
+
"description": "The time left until a moment, in tabular figures, turning urgent under a threshold.",
|
|
207
|
+
"status": "stable",
|
|
208
|
+
"category": "data-display",
|
|
209
|
+
"platforms": "both",
|
|
210
|
+
"examples": {
|
|
211
|
+
"web": 6,
|
|
212
|
+
"native": 5
|
|
213
|
+
},
|
|
115
214
|
"dependencies": [
|
|
116
215
|
"tailwind-variants@^3.3.1"
|
|
117
216
|
],
|
|
@@ -120,7 +219,16 @@
|
|
|
120
219
|
{
|
|
121
220
|
"name": "dialog",
|
|
122
221
|
"type": "primitive",
|
|
123
|
-
"
|
|
222
|
+
"title": "Dialog",
|
|
223
|
+
"summary": "A window over the page — centred, a bottom sheet or a side panel — and `AlertDialog` for a confirmation.",
|
|
224
|
+
"description": "A window over the page — centred, a bottom sheet or a side panel — and `AlertDialog` for a confirmation.",
|
|
225
|
+
"status": "stable",
|
|
226
|
+
"category": "overlays",
|
|
227
|
+
"platforms": "web",
|
|
228
|
+
"examples": {
|
|
229
|
+
"web": 6,
|
|
230
|
+
"native": 0
|
|
231
|
+
},
|
|
124
232
|
"dependencies": [
|
|
125
233
|
"radix-ui@^1.7.0",
|
|
126
234
|
"tailwind-variants@^3.3.1"
|
|
@@ -132,7 +240,16 @@
|
|
|
132
240
|
{
|
|
133
241
|
"name": "dropdown-menu",
|
|
134
242
|
"type": "primitive",
|
|
135
|
-
"
|
|
243
|
+
"title": "Dropdown menu",
|
|
244
|
+
"summary": "A menu of actions opened from a trigger: items with icons, checkbox items, labels, separators, a destructive item.",
|
|
245
|
+
"description": "A menu of actions opened from a trigger: items with icons, checkbox items, labels, separators, a destructive item.",
|
|
246
|
+
"status": "stable",
|
|
247
|
+
"category": "overlays",
|
|
248
|
+
"platforms": "web",
|
|
249
|
+
"examples": {
|
|
250
|
+
"web": 1,
|
|
251
|
+
"native": 0
|
|
252
|
+
},
|
|
136
253
|
"dependencies": [
|
|
137
254
|
"radix-ui@^1.7.0",
|
|
138
255
|
"tailwind-variants@^3.3.1"
|
|
@@ -144,7 +261,16 @@
|
|
|
144
261
|
{
|
|
145
262
|
"name": "empty-state",
|
|
146
263
|
"type": "primitive",
|
|
147
|
-
"
|
|
264
|
+
"title": "Empty state",
|
|
265
|
+
"summary": "What a list, a search or a panel says when it has nothing to show: an icon, a title, a line and an action.",
|
|
266
|
+
"description": "What a list, a search or a panel says when it has nothing to show: an icon, a title, a line and an action.",
|
|
267
|
+
"status": "stable",
|
|
268
|
+
"category": "feedback",
|
|
269
|
+
"platforms": "both",
|
|
270
|
+
"examples": {
|
|
271
|
+
"web": 3,
|
|
272
|
+
"native": 1
|
|
273
|
+
},
|
|
148
274
|
"dependencies": [
|
|
149
275
|
"tailwind-variants@^3.3.1"
|
|
150
276
|
],
|
|
@@ -153,7 +279,16 @@
|
|
|
153
279
|
{
|
|
154
280
|
"name": "field",
|
|
155
281
|
"type": "primitive",
|
|
156
|
-
"
|
|
282
|
+
"title": "Field",
|
|
283
|
+
"summary": "A form field: a label, a hint and an error around an `Input`, a `Textarea` or a native `Select`.",
|
|
284
|
+
"description": "A form field: a label, a hint and an error around an `Input`, a `Textarea` or a native `Select`.",
|
|
285
|
+
"status": "stable",
|
|
286
|
+
"category": "forms",
|
|
287
|
+
"platforms": "web",
|
|
288
|
+
"examples": {
|
|
289
|
+
"web": 5,
|
|
290
|
+
"native": 0
|
|
291
|
+
},
|
|
157
292
|
"dependencies": [
|
|
158
293
|
"tailwind-variants@^3.3.1"
|
|
159
294
|
],
|
|
@@ -164,7 +299,16 @@
|
|
|
164
299
|
{
|
|
165
300
|
"name": "kbd",
|
|
166
301
|
"type": "primitive",
|
|
167
|
-
"
|
|
302
|
+
"title": "Kbd",
|
|
303
|
+
"summary": "A key or a keyboard shortcut, set as keys: one `Kbd` per key.",
|
|
304
|
+
"description": "A key or a keyboard shortcut, set as keys: one `Kbd` per key.",
|
|
305
|
+
"status": "stable",
|
|
306
|
+
"category": "data-display",
|
|
307
|
+
"platforms": "web",
|
|
308
|
+
"examples": {
|
|
309
|
+
"web": 3,
|
|
310
|
+
"native": 0
|
|
311
|
+
},
|
|
168
312
|
"dependencies": [
|
|
169
313
|
"tailwind-variants@^3.3.1"
|
|
170
314
|
],
|
|
@@ -173,7 +317,16 @@
|
|
|
173
317
|
{
|
|
174
318
|
"name": "page-header",
|
|
175
319
|
"type": "primitive",
|
|
176
|
-
"
|
|
320
|
+
"title": "Page header",
|
|
321
|
+
"summary": "The top of a page: a breadcrumb, the title, a description and the page's actions.",
|
|
322
|
+
"description": "The top of a page: a breadcrumb, the title, a description and the page's actions.",
|
|
323
|
+
"status": "stable",
|
|
324
|
+
"category": "layout",
|
|
325
|
+
"platforms": "web",
|
|
326
|
+
"examples": {
|
|
327
|
+
"web": 3,
|
|
328
|
+
"native": 0
|
|
329
|
+
},
|
|
177
330
|
"dependencies": [
|
|
178
331
|
"tailwind-variants@^3.3.1"
|
|
179
332
|
],
|
|
@@ -182,7 +335,16 @@
|
|
|
182
335
|
{
|
|
183
336
|
"name": "popover",
|
|
184
337
|
"type": "primitive",
|
|
185
|
-
"
|
|
338
|
+
"title": "Popover",
|
|
339
|
+
"summary": "A floating panel next to its trigger, for a small form or details, closed by Escape or a click outside.",
|
|
340
|
+
"description": "A floating panel next to its trigger, for a small form or details, closed by Escape or a click outside.",
|
|
341
|
+
"status": "stable",
|
|
342
|
+
"category": "overlays",
|
|
343
|
+
"platforms": "web",
|
|
344
|
+
"examples": {
|
|
345
|
+
"web": 1,
|
|
346
|
+
"native": 0
|
|
347
|
+
},
|
|
186
348
|
"dependencies": [
|
|
187
349
|
"radix-ui@^1.7.0"
|
|
188
350
|
],
|
|
@@ -193,7 +355,16 @@
|
|
|
193
355
|
{
|
|
194
356
|
"name": "progress",
|
|
195
357
|
"type": "primitive",
|
|
196
|
-
"
|
|
358
|
+
"title": "Progress",
|
|
359
|
+
"summary": "How far a task or a goal has come: a bar or a ring, determinate or indeterminate.",
|
|
360
|
+
"description": "How far a task or a goal has come: a bar or a ring, determinate or indeterminate.",
|
|
361
|
+
"status": "beta",
|
|
362
|
+
"category": "feedback",
|
|
363
|
+
"platforms": "both",
|
|
364
|
+
"examples": {
|
|
365
|
+
"web": 5,
|
|
366
|
+
"native": 3
|
|
367
|
+
},
|
|
197
368
|
"dependencies": [
|
|
198
369
|
"tailwind-variants@^3.3.1"
|
|
199
370
|
],
|
|
@@ -202,7 +373,16 @@
|
|
|
202
373
|
{
|
|
203
374
|
"name": "radio-group",
|
|
204
375
|
"type": "primitive",
|
|
205
|
-
"
|
|
376
|
+
"title": "Radio group",
|
|
377
|
+
"summary": "One choice among a few options, all visible: dots with their words, or whole cards.",
|
|
378
|
+
"description": "One choice among a few options, all visible: dots with their words, or whole cards.",
|
|
379
|
+
"status": "beta",
|
|
380
|
+
"category": "forms",
|
|
381
|
+
"platforms": "web",
|
|
382
|
+
"examples": {
|
|
383
|
+
"web": 3,
|
|
384
|
+
"native": 0
|
|
385
|
+
},
|
|
206
386
|
"dependencies": [
|
|
207
387
|
"radix-ui@^1.7.0",
|
|
208
388
|
"tailwind-variants@^3.3.1"
|
|
@@ -212,16 +392,50 @@
|
|
|
212
392
|
{
|
|
213
393
|
"name": "section-backdrop",
|
|
214
394
|
"type": "primitive",
|
|
215
|
-
"
|
|
395
|
+
"title": "Section backdrop",
|
|
396
|
+
"summary": "The backdrop of a page section: the brand's gradient, a light dome, an optional perspective grid and a blurred foreground.",
|
|
397
|
+
"description": "The backdrop of a page section: the brand's gradient, a light dome, an optional perspective grid and a blurred foreground.",
|
|
398
|
+
"status": "beta",
|
|
399
|
+
"category": "layout",
|
|
400
|
+
"platforms": "web",
|
|
401
|
+
"examples": {
|
|
402
|
+
"web": 5,
|
|
403
|
+
"native": 0
|
|
404
|
+
},
|
|
216
405
|
"dependencies": [
|
|
217
406
|
"tailwind-variants@^3.3.1"
|
|
218
407
|
],
|
|
219
408
|
"registryDependencies": []
|
|
220
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"name": "segmented",
|
|
412
|
+
"type": "native",
|
|
413
|
+
"title": "Segmented",
|
|
414
|
+
"summary": "A segmented control that switches between views of a screen — the native counterpart of the web's segmented tabs.",
|
|
415
|
+
"description": "A segmented control that switches between views of a screen — the native counterpart of the web's segmented tabs.",
|
|
416
|
+
"status": "beta",
|
|
417
|
+
"category": "navigation",
|
|
418
|
+
"platforms": "native",
|
|
419
|
+
"examples": {
|
|
420
|
+
"web": 0,
|
|
421
|
+
"native": 2
|
|
422
|
+
},
|
|
423
|
+
"dependencies": [],
|
|
424
|
+
"registryDependencies": []
|
|
425
|
+
},
|
|
221
426
|
{
|
|
222
427
|
"name": "separator",
|
|
223
428
|
"type": "primitive",
|
|
224
|
-
"
|
|
429
|
+
"title": "Separator",
|
|
430
|
+
"summary": "A line between groups of content, horizontal or vertical, decorative by default.",
|
|
431
|
+
"description": "A line between groups of content, horizontal or vertical, decorative by default.",
|
|
432
|
+
"status": "stable",
|
|
433
|
+
"category": "layout",
|
|
434
|
+
"platforms": "web",
|
|
435
|
+
"examples": {
|
|
436
|
+
"web": 2,
|
|
437
|
+
"native": 0
|
|
438
|
+
},
|
|
225
439
|
"dependencies": [
|
|
226
440
|
"radix-ui@^1.7.0",
|
|
227
441
|
"tailwind-variants@^3.3.1"
|
|
@@ -231,7 +445,16 @@
|
|
|
231
445
|
{
|
|
232
446
|
"name": "skeleton",
|
|
233
447
|
"type": "primitive",
|
|
234
|
-
"
|
|
448
|
+
"title": "Skeleton",
|
|
449
|
+
"summary": "A placeholder the shape of what is loading: a line, a circle or a block.",
|
|
450
|
+
"description": "A placeholder the shape of what is loading: a line, a circle or a block.",
|
|
451
|
+
"status": "stable",
|
|
452
|
+
"category": "feedback",
|
|
453
|
+
"platforms": "both",
|
|
454
|
+
"examples": {
|
|
455
|
+
"web": 4,
|
|
456
|
+
"native": 1
|
|
457
|
+
},
|
|
235
458
|
"dependencies": [
|
|
236
459
|
"tailwind-variants@^3.3.1"
|
|
237
460
|
],
|
|
@@ -240,7 +463,16 @@
|
|
|
240
463
|
{
|
|
241
464
|
"name": "slider",
|
|
242
465
|
"type": "primitive",
|
|
243
|
-
"
|
|
466
|
+
"title": "Slider",
|
|
467
|
+
"summary": "A value or a range chosen by dragging a thumb along a track, with arrows and Page keys.",
|
|
468
|
+
"description": "A value or a range chosen by dragging a thumb along a track, with arrows and Page keys.",
|
|
469
|
+
"status": "beta",
|
|
470
|
+
"category": "forms",
|
|
471
|
+
"platforms": "web",
|
|
472
|
+
"examples": {
|
|
473
|
+
"web": 5,
|
|
474
|
+
"native": 0
|
|
475
|
+
},
|
|
244
476
|
"dependencies": [
|
|
245
477
|
"radix-ui@^1.7.0",
|
|
246
478
|
"tailwind-variants@^3.3.1"
|
|
@@ -250,7 +482,16 @@
|
|
|
250
482
|
{
|
|
251
483
|
"name": "slot",
|
|
252
484
|
"type": "primitive",
|
|
253
|
-
"
|
|
485
|
+
"title": "Slot",
|
|
486
|
+
"summary": "`Slot` merges its props and classes into its only child — the engine of `asChild` — and `VisuallyHidden` names things for screen readers only.",
|
|
487
|
+
"description": "`Slot` merges its props and classes into its only child — the engine of `asChild` — and `VisuallyHidden` names things for screen readers only.",
|
|
488
|
+
"status": "stable",
|
|
489
|
+
"category": "foundations",
|
|
490
|
+
"platforms": "web",
|
|
491
|
+
"examples": {
|
|
492
|
+
"web": 2,
|
|
493
|
+
"native": 0
|
|
494
|
+
},
|
|
254
495
|
"dependencies": [
|
|
255
496
|
"radix-ui@^1.7.0"
|
|
256
497
|
],
|
|
@@ -259,7 +500,16 @@
|
|
|
259
500
|
{
|
|
260
501
|
"name": "spinner",
|
|
261
502
|
"type": "primitive",
|
|
262
|
-
"
|
|
503
|
+
"title": "Spinner",
|
|
504
|
+
"summary": "An indeterminate wait: a turning ring named by `label`.",
|
|
505
|
+
"description": "An indeterminate wait: a turning ring named by `label`.",
|
|
506
|
+
"status": "stable",
|
|
507
|
+
"category": "feedback",
|
|
508
|
+
"platforms": "both",
|
|
509
|
+
"examples": {
|
|
510
|
+
"web": 3,
|
|
511
|
+
"native": 1
|
|
512
|
+
},
|
|
263
513
|
"dependencies": [
|
|
264
514
|
"tailwind-variants@^3.3.1"
|
|
265
515
|
],
|
|
@@ -268,7 +518,16 @@
|
|
|
268
518
|
{
|
|
269
519
|
"name": "stat",
|
|
270
520
|
"type": "primitive",
|
|
271
|
-
"
|
|
521
|
+
"title": "Stat",
|
|
522
|
+
"summary": "A key figure: a label, a value in tabular digits, a hint and a trend said in words.",
|
|
523
|
+
"description": "A key figure: a label, a value in tabular digits, a hint and a trend said in words.",
|
|
524
|
+
"status": "stable",
|
|
525
|
+
"category": "data-display",
|
|
526
|
+
"platforms": "web",
|
|
527
|
+
"examples": {
|
|
528
|
+
"web": 5,
|
|
529
|
+
"native": 0
|
|
530
|
+
},
|
|
272
531
|
"dependencies": [
|
|
273
532
|
"tailwind-variants@^3.3.1"
|
|
274
533
|
],
|
|
@@ -277,7 +536,16 @@
|
|
|
277
536
|
{
|
|
278
537
|
"name": "switch",
|
|
279
538
|
"type": "primitive",
|
|
280
|
-
"
|
|
539
|
+
"title": "Switch",
|
|
540
|
+
"summary": "An on/off setting that applies at once.",
|
|
541
|
+
"description": "An on/off setting that applies at once.",
|
|
542
|
+
"status": "beta",
|
|
543
|
+
"category": "forms",
|
|
544
|
+
"platforms": "web",
|
|
545
|
+
"examples": {
|
|
546
|
+
"web": 5,
|
|
547
|
+
"native": 0
|
|
548
|
+
},
|
|
281
549
|
"dependencies": [
|
|
282
550
|
"radix-ui@^1.7.0",
|
|
283
551
|
"tailwind-variants@^3.3.1"
|
|
@@ -287,7 +555,16 @@
|
|
|
287
555
|
{
|
|
288
556
|
"name": "tabs",
|
|
289
557
|
"type": "primitive",
|
|
290
|
-
"
|
|
558
|
+
"title": "Tabs",
|
|
559
|
+
"summary": "Views of the same page, one at a time: underlined sections, a segmented switch or pills.",
|
|
560
|
+
"description": "Views of the same page, one at a time: underlined sections, a segmented switch or pills.",
|
|
561
|
+
"status": "beta",
|
|
562
|
+
"category": "navigation",
|
|
563
|
+
"platforms": "web",
|
|
564
|
+
"examples": {
|
|
565
|
+
"web": 4,
|
|
566
|
+
"native": 0
|
|
567
|
+
},
|
|
291
568
|
"dependencies": [
|
|
292
569
|
"radix-ui@^1.7.0",
|
|
293
570
|
"tailwind-variants@^3.3.1"
|
|
@@ -297,7 +574,16 @@
|
|
|
297
574
|
{
|
|
298
575
|
"name": "theme",
|
|
299
576
|
"type": "primitive",
|
|
300
|
-
"
|
|
577
|
+
"title": "Theme",
|
|
578
|
+
"summary": "Dark, light or the system's: `ThemeProvider`, `ThemeScript` against the flash, and `ThemeToggle`.",
|
|
579
|
+
"description": "Dark, light or the system's: `ThemeProvider`, `ThemeScript` against the flash, and `ThemeToggle`.",
|
|
580
|
+
"status": "stable",
|
|
581
|
+
"category": "foundations",
|
|
582
|
+
"platforms": "both",
|
|
583
|
+
"examples": {
|
|
584
|
+
"web": 2,
|
|
585
|
+
"native": 1
|
|
586
|
+
},
|
|
301
587
|
"dependencies": [],
|
|
302
588
|
"registryDependencies": [
|
|
303
589
|
"button"
|
|
@@ -306,7 +592,16 @@
|
|
|
306
592
|
{
|
|
307
593
|
"name": "toast",
|
|
308
594
|
"type": "primitive",
|
|
309
|
-
"
|
|
595
|
+
"title": "Toast",
|
|
596
|
+
"summary": "A short message that comes and goes: `toast()` from anywhere, one `Toaster` per app.",
|
|
597
|
+
"description": "A short message that comes and goes: `toast()` from anywhere, one `Toaster` per app.",
|
|
598
|
+
"status": "stable",
|
|
599
|
+
"category": "feedback",
|
|
600
|
+
"platforms": "both",
|
|
601
|
+
"examples": {
|
|
602
|
+
"web": 2,
|
|
603
|
+
"native": 2
|
|
604
|
+
},
|
|
310
605
|
"dependencies": [
|
|
311
606
|
"sonner@^2.0.8"
|
|
312
607
|
],
|
|
@@ -317,13 +612,38 @@
|
|
|
317
612
|
{
|
|
318
613
|
"name": "tooltip",
|
|
319
614
|
"type": "primitive",
|
|
320
|
-
"
|
|
615
|
+
"title": "Tooltip",
|
|
616
|
+
"summary": "A short label shown on hover and on keyboard focus, next to its trigger.",
|
|
617
|
+
"description": "A short label shown on hover and on keyboard focus, next to its trigger.",
|
|
618
|
+
"status": "stable",
|
|
619
|
+
"category": "overlays",
|
|
620
|
+
"platforms": "web",
|
|
621
|
+
"examples": {
|
|
622
|
+
"web": 2,
|
|
623
|
+
"native": 0
|
|
624
|
+
},
|
|
321
625
|
"dependencies": [
|
|
322
626
|
"radix-ui@^1.7.0"
|
|
323
627
|
],
|
|
324
628
|
"registryDependencies": [
|
|
325
629
|
"cn"
|
|
326
630
|
]
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "txt",
|
|
634
|
+
"type": "native",
|
|
635
|
+
"title": "Txt",
|
|
636
|
+
"summary": "Text in the platform's type scale, coloured by a role of the current theme.",
|
|
637
|
+
"description": "Text in the platform's type scale, coloured by a role of the current theme.",
|
|
638
|
+
"status": "beta",
|
|
639
|
+
"category": "foundations",
|
|
640
|
+
"platforms": "native",
|
|
641
|
+
"examples": {
|
|
642
|
+
"web": 0,
|
|
643
|
+
"native": 2
|
|
644
|
+
},
|
|
645
|
+
"dependencies": [],
|
|
646
|
+
"registryDependencies": []
|
|
327
647
|
}
|
|
328
648
|
]
|
|
329
649
|
}
|