@proto.ui/prototypes-shadcn 0.3.0-alpha.1 → 0.3.0-rc.2
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 +82 -4
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/dist/accordion/content.proto.d.ts +4 -0
- package/dist/accordion/content.proto.js +20 -0
- package/dist/accordion/heading.proto.d.ts +4 -0
- package/dist/accordion/heading.proto.js +13 -0
- package/dist/accordion/index.d.ts +7 -0
- package/dist/accordion/index.js +5 -0
- package/dist/accordion/item.proto.d.ts +4 -0
- package/dist/accordion/item.proto.js +33 -0
- package/dist/accordion/root.proto.d.ts +4 -0
- package/dist/accordion/root.proto.js +35 -0
- package/dist/accordion/trigger.proto.d.ts +4 -0
- package/dist/accordion/trigger.proto.js +130 -0
- package/dist/accordion/types.d.ts +7 -0
- package/dist/accordion/types.js +1 -0
- package/dist/accordion/visual.d.ts +4 -0
- package/dist/accordion/visual.js +38 -0
- package/dist/alert-dialog/action-paint.d.ts +18 -0
- package/dist/alert-dialog/action-paint.js +232 -0
- package/dist/alert-dialog/action.proto.d.ts +4 -0
- package/dist/alert-dialog/action.proto.js +19 -0
- package/dist/alert-dialog/cancel.proto.d.ts +4 -0
- package/dist/alert-dialog/cancel.proto.js +19 -0
- package/dist/alert-dialog/content.proto.d.ts +4 -0
- package/dist/alert-dialog/content.proto.js +39 -0
- package/dist/alert-dialog/description.proto.d.ts +4 -0
- package/dist/alert-dialog/description.proto.js +11 -0
- package/dist/alert-dialog/footer.proto.d.ts +4 -0
- package/dist/alert-dialog/footer.proto.js +14 -0
- package/dist/alert-dialog/header.proto.d.ts +4 -0
- package/dist/alert-dialog/header.proto.js +26 -0
- package/dist/alert-dialog/index.d.ts +13 -0
- package/dist/alert-dialog/index.js +11 -0
- package/dist/alert-dialog/mask.proto.d.ts +3 -0
- package/dist/alert-dialog/mask.proto.js +25 -0
- package/dist/alert-dialog/recipes.d.ts +60 -0
- package/dist/alert-dialog/recipes.js +61 -0
- package/dist/alert-dialog/root.proto.d.ts +4 -0
- package/dist/alert-dialog/root.proto.js +11 -0
- package/dist/alert-dialog/title.proto.d.ts +4 -0
- package/dist/alert-dialog/title.proto.js +11 -0
- package/dist/alert-dialog/trigger.proto.d.ts +4 -0
- package/dist/alert-dialog/trigger.proto.js +18 -0
- package/dist/alert-dialog/types.d.ts +38 -0
- package/dist/alert-dialog/types.js +1 -0
- package/dist/async-region/index.d.ts +2 -0
- package/dist/async-region/index.js +1 -0
- package/dist/async-region/root.proto.d.ts +4 -0
- package/dist/async-region/root.proto.js +14 -0
- package/dist/autocomplete/content.proto.d.ts +3 -0
- package/dist/autocomplete/content.proto.js +17 -0
- package/dist/autocomplete/empty.proto.d.ts +3 -0
- package/dist/autocomplete/empty.proto.js +13 -0
- package/dist/autocomplete/index.d.ts +15 -0
- package/dist/autocomplete/index.js +21 -0
- package/dist/autocomplete/input.proto.d.ts +3 -0
- package/dist/autocomplete/input.proto.js +43 -0
- package/dist/autocomplete/item.proto.d.ts +3 -0
- package/dist/autocomplete/item.proto.js +54 -0
- package/dist/autocomplete/root.proto.d.ts +3 -0
- package/dist/autocomplete/root.proto.js +13 -0
- package/dist/autocomplete/textarea.proto.d.ts +8 -0
- package/dist/autocomplete/textarea.proto.js +29 -0
- package/dist/autocomplete/trigger.proto.d.ts +3 -0
- package/dist/autocomplete/trigger.proto.js +140 -0
- package/dist/autocomplete/types.d.ts +14 -0
- package/dist/autocomplete/types.js +1 -0
- package/dist/button/button.proto.d.ts +4 -7
- package/dist/button/button.proto.js +222 -90
- package/dist/button/index.d.ts +3 -2
- package/dist/button/index.js +1 -1
- package/dist/button/new-york.d.ts +31 -0
- package/dist/button/new-york.js +31 -0
- package/dist/button/paint.d.ts +12 -0
- package/dist/button/paint.js +13 -0
- package/dist/button/profiles.d.ts +105 -0
- package/dist/button/profiles.js +190 -0
- package/dist/button/types.d.ts +10 -2
- package/dist/calendar/calendar.proto.d.ts +35 -0
- package/dist/calendar/calendar.proto.js +161 -0
- package/dist/calendar/index.d.ts +2 -0
- package/dist/calendar/index.js +1 -0
- package/dist/calendar/visual.d.ts +80 -0
- package/dist/calendar/visual.js +288 -0
- package/dist/card/content.proto.d.ts +2 -0
- package/dist/card/content.proto.js +9 -0
- package/dist/card/footer.proto.d.ts +2 -0
- package/dist/card/footer.proto.js +46 -0
- package/dist/card/header.proto.d.ts +2 -0
- package/dist/card/header.proto.js +50 -0
- package/dist/card/index.d.ts +5 -0
- package/dist/card/index.js +5 -0
- package/dist/card/root.proto.d.ts +2 -0
- package/dist/card/root.proto.js +46 -0
- package/dist/card/types.d.ts +20 -0
- package/dist/card/types.js +1 -0
- package/dist/card/visual.d.ts +14 -0
- package/dist/card/visual.js +70 -0
- package/dist/carousel/carousel.proto.d.ts +20 -0
- package/dist/carousel/carousel.proto.js +85 -0
- package/dist/carousel/index.d.ts +1 -0
- package/dist/carousel/index.js +1 -0
- package/dist/carousel/visual.d.ts +17 -0
- package/dist/carousel/visual.js +211 -0
- package/dist/checkbox/composition.d.ts +55 -0
- package/dist/checkbox/composition.js +45 -0
- package/dist/checkbox/index.d.ts +8 -6
- package/dist/checkbox/index.js +6 -5
- package/dist/checkbox/indicator.proto.d.ts +1 -1
- package/dist/checkbox/indicator.proto.js +1 -1
- package/dist/checkbox/root-visual.d.ts +4 -0
- package/dist/checkbox/root-visual.js +89 -0
- package/dist/checkbox/root.proto.d.ts +3 -8
- package/dist/checkbox/root.proto.js +8 -55
- package/dist/checkbox/types.d.ts +3 -1
- package/dist/checkbox-group/all.proto.d.ts +4 -0
- package/dist/checkbox-group/all.proto.js +27 -0
- package/dist/checkbox-group/index.d.ts +5 -0
- package/dist/checkbox-group/index.js +3 -0
- package/dist/checkbox-group/indicator-paint.d.ts +12 -0
- package/dist/checkbox-group/indicator-paint.js +101 -0
- package/dist/checkbox-group/item.proto.d.ts +4 -0
- package/dist/checkbox-group/item.proto.js +27 -0
- package/dist/checkbox-group/root.proto.d.ts +4 -0
- package/dist/checkbox-group/root.proto.js +20 -0
- package/dist/checkbox-group/types.d.ts +7 -0
- package/dist/checkbox-group/types.js +1 -0
- package/dist/collapsible/content.proto.d.ts +3 -0
- package/dist/collapsible/content.proto.js +56 -0
- package/dist/collapsible/index.d.ts +4 -0
- package/dist/collapsible/index.js +3 -0
- package/dist/collapsible/root.proto.d.ts +3 -0
- package/dist/collapsible/root.proto.js +20 -0
- package/dist/collapsible/trigger.proto.d.ts +3 -0
- package/dist/collapsible/trigger.proto.js +98 -0
- package/dist/collapsible/types.d.ts +19 -0
- package/dist/collapsible/types.js +1 -0
- package/dist/combobox/chip-remove.proto.d.ts +6 -0
- package/dist/combobox/chip-remove.proto.js +28 -0
- package/dist/combobox/chip.proto.d.ts +6 -0
- package/dist/combobox/chip.proto.js +18 -0
- package/dist/combobox/chips.proto.d.ts +6 -0
- package/dist/combobox/chips.proto.js +28 -0
- package/dist/combobox/content.proto.d.ts +3 -0
- package/dist/combobox/content.proto.js +12 -0
- package/dist/combobox/empty.proto.d.ts +3 -0
- package/dist/combobox/empty.proto.js +12 -0
- package/dist/combobox/index.d.ts +19 -0
- package/dist/combobox/index.js +23 -0
- package/dist/combobox/input.proto.d.ts +3 -0
- package/dist/combobox/input.proto.js +24 -0
- package/dist/combobox/item.proto.d.ts +3 -0
- package/dist/combobox/item.proto.js +16 -0
- package/dist/combobox/root.proto.d.ts +3 -0
- package/dist/combobox/root.proto.js +13 -0
- package/dist/combobox/trigger.proto.d.ts +3 -0
- package/dist/combobox/trigger.proto.js +16 -0
- package/dist/combobox/types.d.ts +11 -0
- package/dist/combobox/types.js +1 -0
- package/dist/combobox/visual.d.ts +18 -0
- package/dist/combobox/visual.js +234 -0
- package/dist/command/content.proto.d.ts +4 -0
- package/dist/command/content.proto.js +12 -0
- package/dist/command/dialog-content.proto.d.ts +12 -0
- package/dist/command/dialog-content.proto.js +75 -0
- package/dist/command/dialog-mask.proto.d.ts +10 -0
- package/dist/command/dialog-mask.proto.js +17 -0
- package/dist/command/empty.proto.d.ts +4 -0
- package/dist/command/empty.proto.js +16 -0
- package/dist/command/index.d.ts +18 -0
- package/dist/command/index.js +23 -0
- package/dist/command/input-wrapper.proto.d.ts +5 -0
- package/dist/command/input-wrapper.proto.js +25 -0
- package/dist/command/input.proto.d.ts +4 -0
- package/dist/command/input.proto.js +47 -0
- package/dist/command/item.proto.d.ts +4 -0
- package/dist/command/item.proto.js +28 -0
- package/dist/command/root.proto.d.ts +4 -0
- package/dist/command/root.proto.js +17 -0
- package/dist/command/types.d.ts +12 -0
- package/dist/command/types.js +1 -0
- package/dist/command/visual.d.ts +94 -0
- package/dist/command/visual.js +145 -0
- package/dist/component-presets.d.ts +4 -4
- package/dist/component-presets.js +3 -3
- package/dist/context-menu/content.proto.d.ts +3 -0
- package/dist/context-menu/content.proto.js +13 -0
- package/dist/context-menu/index.d.ts +17 -0
- package/dist/context-menu/index.js +31 -0
- package/dist/context-menu/item.proto.d.ts +3 -0
- package/dist/context-menu/item.proto.js +37 -0
- package/dist/context-menu/root.proto.d.ts +3 -0
- package/dist/context-menu/root.proto.js +12 -0
- package/dist/context-menu/trigger.proto.d.ts +3 -0
- package/dist/context-menu/trigger.proto.js +18 -0
- package/dist/context-menu/types.d.ts +10 -0
- package/dist/context-menu/types.js +1 -0
- package/dist/data-table/data-table.proto.d.ts +25 -0
- package/dist/data-table/data-table.proto.js +161 -0
- package/dist/data-table/header-row.proto.d.ts +5 -0
- package/dist/data-table/header-row.proto.js +14 -0
- package/dist/data-table/index.d.ts +2 -0
- package/dist/data-table/index.js +1 -0
- package/dist/data-table/visual.d.ts +10 -0
- package/dist/data-table/visual.js +58 -0
- package/dist/date-picker/date-picker.proto.d.ts +18 -0
- package/dist/date-picker/date-picker.proto.js +186 -0
- package/dist/date-picker/index.d.ts +2 -0
- package/dist/date-picker/index.js +1 -0
- package/dist/dialog/close-icon.proto.d.ts +2 -1
- package/dist/dialog/close-icon.proto.js +26 -4
- package/dist/dialog/close.proto.d.ts +2 -1
- package/dist/dialog/close.proto.js +4 -1
- package/dist/dialog/content.proto.d.ts +1 -1
- package/dist/dialog/content.proto.js +5 -1
- package/dist/dialog/description.proto.d.ts +2 -1
- package/dist/dialog/description.proto.js +4 -2
- package/dist/dialog/footer.proto.d.ts +2 -1
- package/dist/dialog/footer.proto.js +4 -1
- package/dist/dialog/header.proto.d.ts +2 -1
- package/dist/dialog/header.proto.js +4 -1
- package/dist/dialog/index.d.ts +22 -22
- package/dist/dialog/index.js +21 -21
- package/dist/dialog/overlay.proto.d.ts +1 -1
- package/dist/dialog/overlay.proto.js +8 -2
- package/dist/dialog/recipes.d.ts +71 -0
- package/dist/dialog/recipes.js +75 -0
- package/dist/dialog/root.proto.d.ts +2 -1
- package/dist/dialog/root.proto.js +2 -0
- package/dist/dialog/style.d.ts +17 -0
- package/dist/dialog/style.js +84 -0
- package/dist/dialog/title.proto.d.ts +2 -1
- package/dist/dialog/title.proto.js +4 -2
- package/dist/dialog/trigger.proto.d.ts +2 -1
- package/dist/dialog/trigger.proto.js +3 -1
- package/dist/dialog/types.d.ts +8 -7
- package/dist/drawer/close.proto.d.ts +4 -0
- package/dist/drawer/close.proto.js +15 -0
- package/dist/drawer/command-paint.d.ts +13 -0
- package/dist/drawer/command-paint.js +37 -0
- package/dist/drawer/content.proto.d.ts +4 -0
- package/dist/drawer/content.proto.js +92 -0
- package/dist/drawer/description.proto.d.ts +4 -0
- package/dist/drawer/description.proto.js +11 -0
- package/dist/drawer/footer.proto.d.ts +4 -0
- package/dist/drawer/footer.proto.js +13 -0
- package/dist/drawer/handle.proto.d.ts +4 -0
- package/dist/drawer/handle.proto.js +38 -0
- package/dist/drawer/header.proto.d.ts +4 -0
- package/dist/drawer/header.proto.js +25 -0
- package/dist/drawer/index.d.ts +15 -0
- package/dist/drawer/index.js +11 -0
- package/dist/drawer/mask.proto.d.ts +3 -0
- package/dist/drawer/mask.proto.js +21 -0
- package/dist/drawer/recipes.d.ts +68 -0
- package/dist/drawer/recipes.js +73 -0
- package/dist/drawer/root.proto.d.ts +4 -0
- package/dist/drawer/root.proto.js +11 -0
- package/dist/drawer/title.proto.d.ts +4 -0
- package/dist/drawer/title.proto.js +11 -0
- package/dist/drawer/trigger.proto.d.ts +4 -0
- package/dist/drawer/trigger.proto.js +15 -0
- package/dist/drawer/types.d.ts +17 -0
- package/dist/drawer/types.js +1 -0
- package/dist/dropdown/content.proto.d.ts +2 -1
- package/dist/dropdown/content.proto.js +6 -30
- package/dist/dropdown/group.proto.d.ts +4 -0
- package/dist/dropdown/group.proto.js +11 -0
- package/dist/dropdown/index.d.ts +21 -9
- package/dist/dropdown/index.js +32 -8
- package/dist/dropdown/item.proto.d.ts +1 -1
- package/dist/dropdown/item.proto.js +4 -38
- package/dist/dropdown/label.proto.d.ts +3 -0
- package/dist/dropdown/label.proto.js +30 -0
- package/dist/dropdown/root.proto.d.ts +2 -1
- package/dist/dropdown/root.proto.js +5 -0
- package/dist/dropdown/separator.proto.d.ts +4 -0
- package/dist/dropdown/separator.proto.js +19 -0
- package/dist/dropdown/shortcut.proto.d.ts +4 -0
- package/dist/dropdown/shortcut.proto.js +29 -0
- package/dist/dropdown/trigger.proto.d.ts +1 -1
- package/dist/dropdown/trigger.proto.js +27 -33
- package/dist/dropdown/types.d.ts +12 -5
- package/dist/dropdown/visual.d.ts +97 -0
- package/dist/dropdown/visual.js +219 -0
- package/dist/field/checkbox.proto.d.ts +6 -0
- package/dist/field/checkbox.proto.js +14 -0
- package/dist/field/control.proto.d.ts +4 -0
- package/dist/field/control.proto.js +15 -0
- package/dist/field/description.proto.d.ts +4 -0
- package/dist/field/description.proto.js +12 -0
- package/dist/field/error.proto.d.ts +4 -0
- package/dist/field/error.proto.js +12 -0
- package/dist/field/index.d.ts +18 -0
- package/dist/field/index.js +11 -0
- package/dist/field/label.proto.d.ts +4 -0
- package/dist/field/label.proto.js +12 -0
- package/dist/field/radio-group.proto.d.ts +6 -0
- package/dist/field/radio-group.proto.js +11 -0
- package/dist/field/root.proto.d.ts +4 -0
- package/dist/field/root.proto.js +24 -0
- package/dist/field/select-trigger.proto.d.ts +7 -0
- package/dist/field/select-trigger.proto.js +15 -0
- package/dist/field/switch.proto.d.ts +6 -0
- package/dist/field/switch.proto.js +15 -0
- package/dist/field/textarea.proto.d.ts +7 -0
- package/dist/field/textarea.proto.js +16 -0
- package/dist/field/types.d.ts +11 -0
- package/dist/field/types.js +1 -0
- package/dist/field/validity.proto.d.ts +4 -0
- package/dist/field/validity.proto.js +12 -0
- package/dist/field/visual.d.ts +6 -0
- package/dist/field/visual.js +68 -0
- package/dist/fieldset/description.proto.d.ts +4 -0
- package/dist/fieldset/description.proto.js +12 -0
- package/dist/fieldset/index.d.ts +5 -0
- package/dist/fieldset/index.js +3 -0
- package/dist/fieldset/legend.proto.d.ts +5 -0
- package/dist/fieldset/legend.proto.js +51 -0
- package/dist/fieldset/root.proto.d.ts +4 -0
- package/dist/fieldset/root.proto.js +23 -0
- package/dist/fieldset/types.d.ts +8 -0
- package/dist/fieldset/types.js +1 -0
- package/dist/form/action-visual.d.ts +8 -0
- package/dist/form/action-visual.js +200 -0
- package/dist/form/field.proto.d.ts +4 -0
- package/dist/form/field.proto.js +16 -0
- package/dist/form/index.d.ts +6 -0
- package/dist/form/index.js +4 -0
- package/dist/form/reset.proto.d.ts +4 -0
- package/dist/form/reset.proto.js +12 -0
- package/dist/form/root.proto.d.ts +4 -0
- package/dist/form/root.proto.js +20 -0
- package/dist/form/submit.proto.d.ts +4 -0
- package/dist/form/submit.proto.js +12 -0
- package/dist/form/types.d.ts +10 -0
- package/dist/form/types.js +1 -0
- package/dist/hover-card/content.proto.d.ts +2 -1
- package/dist/hover-card/content.proto.js +15 -19
- package/dist/hover-card/index.d.ts +7 -7
- package/dist/hover-card/index.js +6 -6
- package/dist/hover-card/recipes.d.ts +17 -0
- package/dist/hover-card/recipes.js +20 -0
- package/dist/hover-card/root.proto.d.ts +2 -1
- package/dist/hover-card/root.proto.js +2 -0
- package/dist/hover-card/trigger.proto.d.ts +2 -1
- package/dist/hover-card/trigger.proto.js +7 -3
- package/dist/hover-card/types.d.ts +4 -3
- package/dist/image/index.d.ts +3 -0
- package/dist/image/index.js +1 -0
- package/dist/image/root.proto.d.ts +10 -0
- package/dist/image/root.proto.js +57 -0
- package/dist/index.d.ts +113 -59
- package/dist/index.js +92 -46
- package/dist/input/index.d.ts +2 -0
- package/dist/input/index.js +1 -0
- package/dist/input/root.proto.d.ts +3 -0
- package/dist/input/root.proto.js +19 -0
- package/dist/input/types.d.ts +4 -0
- package/dist/input/types.js +1 -0
- package/dist/input/visual.d.ts +7 -0
- package/dist/input/visual.js +131 -0
- package/dist/input-otp/control.proto.d.ts +4 -0
- package/dist/input-otp/control.proto.js +20 -0
- package/dist/input-otp/index.d.ts +7 -0
- package/dist/input-otp/index.js +5 -0
- package/dist/input-otp/input.proto.d.ts +5 -0
- package/dist/input-otp/input.proto.js +31 -0
- package/dist/input-otp/root.proto.d.ts +4 -0
- package/dist/input-otp/root.proto.js +40 -0
- package/dist/input-otp/separator.proto.d.ts +3 -0
- package/dist/input-otp/separator.proto.js +14 -0
- package/dist/input-otp/slot.proto.d.ts +4 -0
- package/dist/input-otp/slot.proto.js +165 -0
- package/dist/input-otp/types.d.ts +16 -0
- package/dist/input-otp/types.js +1 -0
- package/dist/input-otp/visual.d.ts +6 -0
- package/dist/input-otp/visual.js +3 -0
- package/dist/input-shell/bind-control.d.ts +28 -0
- package/dist/input-shell/bind-control.js +235 -0
- package/dist/input-shell/context.d.ts +6 -0
- package/dist/input-shell/context.js +12 -0
- package/dist/input-shell/control.proto.d.ts +4 -0
- package/dist/input-shell/control.proto.js +16 -0
- package/dist/input-shell/index.d.ts +5 -0
- package/dist/input-shell/index.js +3 -0
- package/dist/input-shell/root.proto.d.ts +4 -0
- package/dist/input-shell/root.proto.js +26 -0
- package/dist/input-shell/types.d.ts +14 -0
- package/dist/input-shell/types.js +1 -0
- package/dist/input-shell/visual.d.ts +4 -0
- package/dist/input-shell/visual.js +166 -0
- package/dist/label/index.d.ts +3 -0
- package/dist/label/index.js +1 -0
- package/dist/label/root.proto.d.ts +5 -0
- package/dist/label/root.proto.js +32 -0
- package/dist/live-region/index.d.ts +2 -0
- package/dist/live-region/index.js +1 -0
- package/dist/live-region/root.proto.d.ts +4 -0
- package/dist/live-region/root.proto.js +14 -0
- package/dist/menu-extensions.d.ts +49 -0
- package/dist/menu-extensions.js +156 -0
- package/dist/menubar/content.proto.d.ts +3 -0
- package/dist/menubar/content.proto.js +13 -0
- package/dist/menubar/index.d.ts +17 -0
- package/dist/menubar/index.js +31 -0
- package/dist/menubar/item.proto.d.ts +3 -0
- package/dist/menubar/item.proto.js +16 -0
- package/dist/menubar/root.proto.d.ts +3 -0
- package/dist/menubar/root.proto.js +12 -0
- package/dist/menubar/trigger.proto.d.ts +3 -0
- package/dist/menubar/trigger.proto.js +17 -0
- package/dist/menubar/types.d.ts +10 -0
- package/dist/menubar/types.js +1 -0
- package/dist/menubar/visual.d.ts +9 -0
- package/dist/menubar/visual.js +83 -0
- package/dist/message-scroller/index.d.ts +1 -0
- package/dist/message-scroller/index.js +1 -0
- package/dist/message-scroller/message-scroller.proto.d.ts +16 -0
- package/dist/message-scroller/message-scroller.proto.js +64 -0
- package/dist/message-scroller/visual.d.ts +14 -0
- package/dist/message-scroller/visual.js +87 -0
- package/dist/meter/index.d.ts +7 -0
- package/dist/meter/index.js +5 -0
- package/dist/meter/indicator.proto.d.ts +3 -0
- package/dist/meter/indicator.proto.js +26 -0
- package/dist/meter/label.proto.d.ts +3 -0
- package/dist/meter/label.proto.js +12 -0
- package/dist/meter/root.proto.d.ts +4 -0
- package/dist/meter/root.proto.js +13 -0
- package/dist/meter/track.proto.d.ts +3 -0
- package/dist/meter/track.proto.js +12 -0
- package/dist/meter/types.d.ts +4 -0
- package/dist/meter/types.js +1 -0
- package/dist/meter/value.proto.d.ts +3 -0
- package/dist/meter/value.proto.js +12 -0
- package/dist/meter/visual.d.ts +6 -0
- package/dist/meter/visual.js +64 -0
- package/dist/navigation-menu/content.proto.d.ts +3 -0
- package/dist/navigation-menu/content.proto.js +13 -0
- package/dist/navigation-menu/index.d.ts +7 -0
- package/dist/navigation-menu/index.js +6 -0
- package/dist/navigation-menu/item.proto.d.ts +3 -0
- package/dist/navigation-menu/item.proto.js +18 -0
- package/dist/navigation-menu/link.proto.d.ts +3 -0
- package/dist/navigation-menu/link.proto.js +16 -0
- package/dist/navigation-menu/root.proto.d.ts +3 -0
- package/dist/navigation-menu/root.proto.js +15 -0
- package/dist/navigation-menu/trigger.proto.d.ts +3 -0
- package/dist/navigation-menu/trigger.proto.js +17 -0
- package/dist/navigation-menu/types.d.ts +8 -0
- package/dist/navigation-menu/types.js +1 -0
- package/dist/navigation-menu/visual.d.ts +15 -0
- package/dist/navigation-menu/visual.js +184 -0
- package/dist/number-field/control.proto.d.ts +4 -0
- package/dist/number-field/control.proto.js +21 -0
- package/dist/number-field/decrement.proto.d.ts +4 -0
- package/dist/number-field/decrement.proto.js +12 -0
- package/dist/number-field/increment.proto.d.ts +4 -0
- package/dist/number-field/increment.proto.js +12 -0
- package/dist/number-field/index.d.ts +8 -0
- package/dist/number-field/index.js +6 -0
- package/dist/number-field/input.proto.d.ts +5 -0
- package/dist/number-field/input.proto.js +23 -0
- package/dist/number-field/label.proto.d.ts +4 -0
- package/dist/number-field/label.proto.js +13 -0
- package/dist/number-field/root.proto.d.ts +4 -0
- package/dist/number-field/root.proto.js +14 -0
- package/dist/number-field/step-visual.d.ts +6 -0
- package/dist/number-field/step-visual.js +115 -0
- package/dist/number-field/types.d.ts +4 -0
- package/dist/number-field/types.js +1 -0
- package/dist/popover/close.proto.d.ts +4 -0
- package/dist/popover/close.proto.js +18 -0
- package/dist/popover/command-paint.d.ts +13 -0
- package/dist/popover/command-paint.js +127 -0
- package/dist/popover/content.proto.d.ts +4 -0
- package/dist/popover/content.proto.js +84 -0
- package/dist/popover/description.proto.d.ts +4 -0
- package/dist/popover/description.proto.js +13 -0
- package/dist/popover/index.d.ts +9 -0
- package/dist/popover/index.js +7 -0
- package/dist/popover/motion.d.ts +13 -0
- package/dist/popover/motion.js +33 -0
- package/dist/popover/recipes.d.ts +47 -0
- package/dist/popover/recipes.js +48 -0
- package/dist/popover/root.proto.d.ts +4 -0
- package/dist/popover/root.proto.js +13 -0
- package/dist/popover/title.proto.d.ts +4 -0
- package/dist/popover/title.proto.js +13 -0
- package/dist/popover/trigger.proto.d.ts +4 -0
- package/dist/popover/trigger.proto.js +24 -0
- package/dist/popover/types.d.ts +13 -0
- package/dist/popover/types.js +1 -0
- package/dist/progress/index.d.ts +7 -0
- package/dist/progress/index.js +5 -0
- package/dist/progress/indicator.proto.d.ts +3 -0
- package/dist/progress/indicator.proto.js +26 -0
- package/dist/progress/label.proto.d.ts +3 -0
- package/dist/progress/label.proto.js +12 -0
- package/dist/progress/root.proto.d.ts +4 -0
- package/dist/progress/root.proto.js +24 -0
- package/dist/progress/track.proto.d.ts +3 -0
- package/dist/progress/track.proto.js +12 -0
- package/dist/progress/types.d.ts +7 -0
- package/dist/progress/types.js +1 -0
- package/dist/progress/value.proto.d.ts +3 -0
- package/dist/progress/value.proto.js +12 -0
- package/dist/progress/visual.d.ts +6 -0
- package/dist/progress/visual.js +64 -0
- package/dist/radio-group/index.d.ts +4 -0
- package/dist/radio-group/index.js +3 -0
- package/dist/radio-group/indicator.proto.d.ts +3 -0
- package/dist/radio-group/indicator.proto.js +86 -0
- package/dist/radio-group/item.proto.d.ts +3 -0
- package/dist/radio-group/item.proto.js +92 -0
- package/dist/radio-group/root-visual.d.ts +3 -0
- package/dist/radio-group/root-visual.js +28 -0
- package/dist/radio-group/root.proto.d.ts +3 -0
- package/dist/radio-group/root.proto.js +11 -0
- package/dist/radio-group/types.d.ts +17 -0
- package/dist/radio-group/types.js +1 -0
- package/dist/radio-group/visual.d.ts +4 -0
- package/dist/radio-group/visual.js +4 -0
- package/dist/resizable/index.d.ts +1 -0
- package/dist/resizable/index.js +1 -0
- package/dist/resizable/resizable.proto.d.ts +15 -0
- package/dist/resizable/resizable.proto.js +161 -0
- package/dist/scroll-area/index.d.ts +5 -5
- package/dist/scroll-area/index.js +4 -4
- package/dist/scroll-area/root.proto.d.ts +2 -1
- package/dist/scroll-area/root.proto.js +5 -1
- package/dist/scroll-area/scrollbar.proto.d.ts +2 -1
- package/dist/scroll-area/scrollbar.proto.js +15 -4
- package/dist/scroll-area/thumb.proto.d.ts +2 -1
- package/dist/scroll-area/thumb.proto.js +23 -2
- package/dist/scroll-area/types.d.ts +5 -4
- package/dist/scroll-area/viewport.proto.d.ts +2 -1
- package/dist/scroll-area/viewport.proto.js +12 -4
- package/dist/search-extensions.d.ts +18 -0
- package/dist/search-extensions.js +50 -0
- package/dist/select/content.proto.d.ts +1 -2
- package/dist/select/content.proto.js +86 -22
- package/dist/select/group.proto.d.ts +2 -0
- package/dist/select/group.proto.js +17 -0
- package/dist/select/index.d.ts +21 -11
- package/dist/select/index.js +16 -10
- package/dist/select/item-text.proto.d.ts +2 -0
- package/dist/select/item-text.proto.js +15 -0
- package/dist/select/item.proto.d.ts +2 -1
- package/dist/select/item.proto.js +55 -9
- package/dist/select/label.proto.d.ts +2 -0
- package/dist/select/label.proto.js +21 -0
- package/dist/select/recipes.d.ts +56 -0
- package/dist/select/recipes.js +191 -0
- package/dist/select/root.proto.d.ts +2 -1
- package/dist/select/root.proto.js +3 -1
- package/dist/select/separator.proto.d.ts +2 -0
- package/dist/select/separator.proto.js +22 -0
- package/dist/select/style.d.ts +6 -0
- package/dist/select/style.js +32 -0
- package/dist/select/surface.proto.d.ts +2 -0
- package/dist/select/surface.proto.js +14 -0
- package/dist/select/trigger-visual.d.ts +4 -0
- package/dist/select/trigger-visual.js +201 -0
- package/dist/select/trigger.proto.d.ts +3 -4
- package/dist/select/trigger.proto.js +6 -60
- package/dist/select/types.d.ts +18 -5
- package/dist/select/value.proto.d.ts +2 -1
- package/dist/select/value.proto.js +17 -5
- package/dist/select/viewport.proto.d.ts +2 -0
- package/dist/select/viewport.proto.js +31 -0
- package/dist/select/visual.d.ts +9 -0
- package/dist/select/visual.js +94 -0
- package/dist/separator/index.d.ts +2 -2
- package/dist/separator/index.js +1 -1
- package/dist/separator/root.proto.d.ts +2 -2
- package/dist/separator/root.proto.js +9 -2
- package/dist/separator/types.d.ts +2 -1
- package/dist/slider/field-thumb.proto.d.ts +4 -0
- package/dist/slider/field-thumb.proto.js +41 -0
- package/dist/slider/index.d.ts +17 -0
- package/dist/slider/index.js +13 -0
- package/dist/slider/indicator.proto.d.ts +4 -0
- package/dist/slider/indicator.proto.js +32 -0
- package/dist/slider/label.proto.d.ts +4 -0
- package/dist/slider/label.proto.js +29 -0
- package/dist/slider/paint.d.ts +13 -0
- package/dist/slider/paint.js +39 -0
- package/dist/slider/root.proto.d.ts +4 -0
- package/dist/slider/root.proto.js +27 -0
- package/dist/slider/scalar-visual.d.ts +28 -0
- package/dist/slider/scalar-visual.js +128 -0
- package/dist/slider/thumb.proto.d.ts +4 -0
- package/dist/slider/thumb.proto.js +41 -0
- package/dist/slider/track.proto.d.ts +4 -0
- package/dist/slider/track.proto.js +56 -0
- package/dist/slider/value.proto.d.ts +4 -0
- package/dist/slider/value.proto.js +25 -0
- package/dist/slider/values-indicator.proto.d.ts +4 -0
- package/dist/slider/values-indicator.proto.js +31 -0
- package/dist/slider/values-label.proto.d.ts +3 -0
- package/dist/slider/values-label.proto.js +11 -0
- package/dist/slider/values-root.proto.d.ts +5 -0
- package/dist/slider/values-root.proto.js +16 -0
- package/dist/slider/values-thumb.proto.d.ts +4 -0
- package/dist/slider/values-thumb.proto.js +70 -0
- package/dist/slider/values-track.proto.d.ts +4 -0
- package/dist/slider/values-track.proto.js +50 -0
- package/dist/slider/values-value.proto.d.ts +3 -0
- package/dist/slider/values-value.proto.js +11 -0
- package/dist/slider/values-visual.d.ts +19 -0
- package/dist/slider/values-visual.js +147 -0
- package/dist/style-scope/context.d.ts +12 -0
- package/dist/style-scope/context.js +16 -0
- package/dist/style-scope/ids.d.ts +3 -0
- package/dist/style-scope/ids.js +12 -0
- package/dist/style-scope/index.d.ts +5 -0
- package/dist/style-scope/index.js +4 -0
- package/dist/style-scope/root.proto.d.ts +4 -0
- package/dist/style-scope/root.proto.js +8 -0
- package/dist/style-scope/selection.d.ts +8 -0
- package/dist/style-scope/selection.js +59 -0
- package/dist/surface/action-appearance.d.ts +20 -0
- package/dist/surface/action-appearance.js +78 -0
- package/dist/surface/index.d.ts +4 -0
- package/dist/surface/index.js +2 -0
- package/dist/surface/root.proto.d.ts +8 -0
- package/dist/surface/root.proto.js +206 -0
- package/dist/switch/hit-lease.d.ts +5 -0
- package/dist/switch/hit-lease.js +33 -0
- package/dist/switch/index.d.ts +6 -6
- package/dist/switch/index.js +5 -5
- package/dist/switch/root-visual.d.ts +6 -0
- package/dist/switch/root-visual.js +242 -0
- package/dist/switch/root.proto.d.ts +3 -8
- package/dist/switch/root.proto.js +10 -71
- package/dist/switch/thumb.proto.d.ts +1 -6
- package/dist/switch/thumb.proto.js +197 -32
- package/dist/switch/types.d.ts +10 -2
- package/dist/switch/visual.d.ts +7 -0
- package/dist/switch/visual.js +8 -0
- package/dist/table/caption.proto.d.ts +2 -0
- package/dist/table/caption.proto.js +15 -0
- package/dist/table/cell.proto.d.ts +3 -0
- package/dist/table/cell.proto.js +14 -0
- package/dist/table/header-cell.proto.d.ts +3 -0
- package/dist/table/header-cell.proto.js +17 -0
- package/dist/table/index.d.ts +7 -0
- package/dist/table/index.js +5 -0
- package/dist/table/root.proto.d.ts +2 -0
- package/dist/table/root.proto.js +20 -0
- package/dist/table/row.proto.d.ts +3 -0
- package/dist/table/row.proto.js +61 -0
- package/dist/table/types.d.ts +31 -0
- package/dist/table/types.js +1 -0
- package/dist/table/visual.d.ts +6 -0
- package/dist/table/visual.js +48 -0
- package/dist/tabs/content.proto.d.ts +1 -2
- package/dist/tabs/content.proto.js +13 -10
- package/dist/tabs/index.d.ts +14 -10
- package/dist/tabs/index.js +13 -9
- package/dist/tabs/indicator.proto.d.ts +3 -0
- package/dist/tabs/indicator.proto.js +20 -0
- package/dist/tabs/list.proto.d.ts +1 -2
- package/dist/tabs/list.proto.js +86 -4
- package/dist/tabs/root.proto.d.ts +1 -2
- package/dist/tabs/root.proto.js +12 -4
- package/dist/tabs/trigger.proto.d.ts +1 -2
- package/dist/tabs/trigger.proto.js +136 -37
- package/dist/tabs/types.d.ts +13 -5
- package/dist/tabs/visual.d.ts +59 -0
- package/dist/tabs/visual.js +147 -0
- package/dist/text/index.d.ts +4 -0
- package/dist/text/index.js +2 -0
- package/dist/text/root.proto.d.ts +8 -0
- package/dist/text/root.proto.js +180 -0
- package/dist/text/typography.d.ts +4 -0
- package/dist/text/typography.js +11 -0
- package/dist/textarea/index.d.ts +2 -2
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/root.proto.d.ts +2 -1
- package/dist/textarea/root.proto.js +8 -47
- package/dist/textarea/types.d.ts +2 -1
- package/dist/textarea/visual.d.ts +6 -0
- package/dist/textarea/visual.js +103 -0
- package/dist/toast/action.proto.d.ts +4 -0
- package/dist/toast/action.proto.js +37 -0
- package/dist/toast/close.proto.d.ts +4 -0
- package/dist/toast/close.proto.js +36 -0
- package/dist/toast/description.proto.d.ts +4 -0
- package/dist/toast/description.proto.js +12 -0
- package/dist/toast/index.d.ts +9 -0
- package/dist/toast/index.js +7 -0
- package/dist/toast/recipes.d.ts +71 -0
- package/dist/toast/recipes.js +72 -0
- package/dist/toast/root.proto.d.ts +4 -0
- package/dist/toast/root.proto.js +168 -0
- package/dist/toast/title.proto.d.ts +4 -0
- package/dist/toast/title.proto.js +12 -0
- package/dist/toast/types.d.ts +11 -0
- package/dist/toast/types.js +1 -0
- package/dist/toast/viewport.proto.d.ts +4 -0
- package/dist/toast/viewport.proto.js +51 -0
- package/dist/toggle/index.d.ts +2 -2
- package/dist/toggle/index.js +1 -1
- package/dist/toggle/profiles.d.ts +72 -0
- package/dist/toggle/profiles.js +73 -0
- package/dist/toggle/toggle.proto.d.ts +5 -8
- package/dist/toggle/toggle.proto.js +54 -43
- package/dist/toggle/types.d.ts +6 -3
- package/dist/toggle-group/index.d.ts +6 -0
- package/dist/toggle-group/index.js +3 -0
- package/dist/toggle-group/item.proto.d.ts +8 -0
- package/dist/toggle-group/item.proto.js +224 -0
- package/dist/toggle-group/root.proto.d.ts +8 -0
- package/dist/toggle-group/root.proto.js +112 -0
- package/dist/toggle-group/types.d.ts +16 -0
- package/dist/toggle-group/types.js +1 -0
- package/dist/toggle-group/visual.d.ts +10 -0
- package/dist/toggle-group/visual.js +3 -0
- package/dist/toolbar/action-visual.d.ts +12 -0
- package/dist/toolbar/action-visual.js +164 -0
- package/dist/toolbar/button.proto.d.ts +3 -0
- package/dist/toolbar/button.proto.js +259 -0
- package/dist/toolbar/index.d.ts +7 -0
- package/dist/toolbar/index.js +4 -0
- package/dist/toolbar/root.proto.d.ts +3 -0
- package/dist/toolbar/root.proto.js +83 -0
- package/dist/toolbar/separator.proto.d.ts +3 -0
- package/dist/toolbar/separator.proto.js +32 -0
- package/dist/toolbar/types.d.ts +16 -0
- package/dist/toolbar/types.js +1 -0
- package/dist/tooltip/content.proto.d.ts +2 -1
- package/dist/tooltip/content.proto.js +13 -14
- package/dist/tooltip/group.proto.d.ts +2 -1
- package/dist/tooltip/group.proto.js +2 -0
- package/dist/tooltip/index.d.ts +5 -5
- package/dist/tooltip/index.js +4 -4
- package/dist/tooltip/recipes.d.ts +17 -0
- package/dist/tooltip/recipes.js +18 -0
- package/dist/tooltip/root.proto.d.ts +2 -1
- package/dist/tooltip/root.proto.js +3 -1
- package/dist/tooltip/trigger.proto.d.ts +2 -1
- package/dist/tooltip/trigger.proto.js +10 -0
- package/dist/tooltip/types.d.ts +5 -4
- package/dist/transition/index.d.ts +2 -0
- package/dist/transition/index.js +1 -0
- package/dist/transition/transition.proto.d.ts +8 -0
- package/dist/transition/transition.proto.js +26 -0
- package/dist/tree/index.d.ts +2 -0
- package/dist/tree/index.js +1 -0
- package/dist/tree/tree.proto.d.ts +24 -0
- package/dist/tree/tree.proto.js +307 -0
- package/dist/virtual-list/index.d.ts +1 -0
- package/dist/virtual-list/index.js +1 -0
- package/dist/virtual-list/virtual-list.proto.d.ts +16 -0
- package/dist/virtual-list/virtual-list.proto.js +104 -0
- package/package.json +375 -5
- package/src/button/button.proto.ts +477 -0
- package/src/button/index.ts +8 -0
- package/src/button/new-york.ts +32 -0
- package/src/button/paint.ts +16 -0
- package/src/button/profiles.ts +222 -0
- package/src/button/types.ts +36 -0
- package/src/checkbox/composition.ts +57 -0
- package/src/checkbox/index.ts +24 -0
- package/src/checkbox/indicator.proto.ts +99 -0
- package/src/checkbox/preset.ts +18 -0
- package/src/checkbox/root-visual.ts +115 -0
- package/src/checkbox/root.proto.ts +14 -0
- package/src/checkbox/types.ts +28 -0
- package/src/collapsible/content.proto.ts +70 -0
- package/src/collapsible/index.ts +20 -0
- package/src/collapsible/root.proto.ts +23 -0
- package/src/collapsible/trigger.proto.ts +132 -0
- package/src/collapsible/types.ts +33 -0
- package/src/component-presets.types.ts +10 -0
- package/src/data-table/data-table.proto.ts +220 -0
- package/src/data-table/header-row.proto.ts +24 -0
- package/src/data-table/index.ts +11 -0
- package/src/data-table/visual.ts +79 -0
- package/src/dialog/close-icon.proto.ts +77 -0
- package/src/dialog/close.proto.ts +19 -0
- package/src/dialog/content.proto.ts +40 -0
- package/src/dialog/description.proto.ts +22 -0
- package/src/dialog/footer.proto.ts +17 -0
- package/src/dialog/header.proto.ts +17 -0
- package/src/dialog/index.ts +59 -0
- package/src/dialog/overlay.proto.ts +38 -0
- package/src/dialog/preset.ts +18 -0
- package/src/dialog/recipes.ts +118 -0
- package/src/dialog/root.proto.ts +19 -0
- package/src/dialog/style.ts +122 -0
- package/src/dialog/title.proto.ts +19 -0
- package/src/dialog/trigger.proto.ts +19 -0
- package/src/dialog/types.ts +56 -0
- package/src/drawer/close.proto.ts +18 -0
- package/src/drawer/command-paint.ts +59 -0
- package/src/drawer/content.proto.ts +96 -0
- package/src/drawer/description.proto.ts +16 -0
- package/src/drawer/footer.proto.ts +15 -0
- package/src/drawer/handle.proto.ts +48 -0
- package/src/drawer/header.proto.ts +31 -0
- package/src/drawer/index.ts +38 -0
- package/src/drawer/mask.proto.ts +23 -0
- package/src/drawer/recipes.ts +86 -0
- package/src/drawer/root.proto.ts +13 -0
- package/src/drawer/title.proto.ts +13 -0
- package/src/drawer/trigger.proto.ts +18 -0
- package/src/drawer/types.ts +25 -0
- package/src/field/visual.ts +93 -0
- package/src/input/index.ts +6 -0
- package/src/input/root.proto.ts +24 -0
- package/src/input/types.ts +5 -0
- package/src/input/visual.ts +169 -0
- package/src/label/index.ts +3 -0
- package/src/label/root.proto.ts +43 -0
- package/src/message-scroller/index.ts +1 -0
- package/src/message-scroller/message-scroller.proto.ts +124 -0
- package/src/message-scroller/visual.ts +155 -0
- package/src/number-field/control.proto.ts +24 -0
- package/src/number-field/decrement.proto.ts +15 -0
- package/src/number-field/increment.proto.ts +15 -0
- package/src/number-field/index.ts +8 -0
- package/src/number-field/input.proto.ts +26 -0
- package/src/number-field/label.proto.ts +15 -0
- package/src/number-field/root.proto.ts +16 -0
- package/src/number-field/step-visual.ts +137 -0
- package/src/number-field/types.ts +7 -0
- package/src/scroll-area/index.ts +28 -0
- package/src/scroll-area/root.proto.ts +17 -0
- package/src/scroll-area/scrollbar.proto.ts +53 -0
- package/src/scroll-area/thumb.proto.ts +34 -0
- package/src/scroll-area/types.ts +36 -0
- package/src/scroll-area/viewport.proto.ts +41 -0
- package/src/select/content.proto.ts +163 -0
- package/src/select/group.proto.ts +19 -0
- package/src/select/index.ts +59 -0
- package/src/select/item-text.proto.ts +18 -0
- package/src/select/item.proto.ts +136 -0
- package/src/select/label.proto.ts +23 -0
- package/src/select/recipes.ts +235 -0
- package/src/select/root.proto.ts +17 -0
- package/src/select/separator.proto.ts +24 -0
- package/src/select/style.ts +43 -0
- package/src/select/surface.proto.ts +17 -0
- package/src/select/trigger-visual.ts +321 -0
- package/src/select/trigger.proto.ts +12 -0
- package/src/select/types.ts +73 -0
- package/src/select/value.proto.ts +31 -0
- package/src/select/viewport.proto.ts +42 -0
- package/src/select/visual.ts +127 -0
- package/src/separator/index.ts +7 -0
- package/src/separator/root.proto.ts +61 -0
- package/src/separator/types.ts +15 -0
- package/src/style-scope/context.ts +19 -0
- package/src/style-scope/ids.ts +13 -0
- package/src/style-scope/index.ts +5 -0
- package/src/style-scope/root.proto.ts +10 -0
- package/src/style-scope/selection.ts +82 -0
- package/src/switch/hit-lease.ts +29 -0
- package/src/switch/index.ts +18 -0
- package/src/switch/preset.ts +18 -0
- package/src/switch/root-visual.ts +302 -0
- package/src/switch/root.proto.ts +15 -0
- package/src/switch/thumb.proto.ts +261 -0
- package/src/switch/types.ts +36 -0
- package/src/switch/visual.ts +15 -0
- package/src/tabs/content.proto.ts +26 -0
- package/src/tabs/index.ts +34 -0
- package/src/tabs/indicator.proto.ts +21 -0
- package/src/tabs/list.proto.ts +129 -0
- package/src/tabs/root.proto.ts +22 -0
- package/src/tabs/trigger.proto.ts +220 -0
- package/src/tabs/types.ts +45 -0
- package/src/tabs/visual.ts +184 -0
- package/src/textarea/index.ts +6 -0
- package/src/textarea/root.proto.ts +19 -0
- package/src/textarea/types.ts +6 -0
- package/src/textarea/visual.ts +144 -0
- package/src/toggle/index.ts +7 -0
- package/src/toggle/profiles.ts +76 -0
- package/src/toggle/toggle.proto.ts +128 -0
- package/src/toggle/types.ts +21 -0
- package/src/toggle-group/index.ts +12 -0
- package/src/toggle-group/item.proto.ts +328 -0
- package/src/toggle-group/root.proto.ts +128 -0
- package/src/toggle-group/types.ts +25 -0
- package/src/toggle-group/visual.ts +15 -0
- package/src/toolbar/action-visual.ts +229 -0
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @proto.ui/prototypes-shadcn
|
|
2
2
|
|
|
3
|
-
shadcn-style Proto UI prototype library for adapter-driven components.
|
|
3
|
+
shadcn-style Proto UI prototype library for adapter-driven components and explicitly exported compiler source inputs.
|
|
4
4
|
|
|
5
5
|
## Purpose
|
|
6
6
|
|
|
7
|
-
Provides
|
|
7
|
+
Provides Shadcn presentation over Base protocols for Proto UI adapters, with selected authored-source entries available to the experimental compiler.
|
|
8
8
|
|
|
9
9
|
## Source Attribution And Status
|
|
10
10
|
|
|
@@ -17,12 +17,18 @@ Provides a shadcn-style Proto UI prototype library that works with Proto UI adap
|
|
|
17
17
|
|
|
18
18
|
## Package Role
|
|
19
19
|
|
|
20
|
-
Prototype library package
|
|
20
|
+
Prototype library package with ordinary runtime/type exports for adapters and separate, explicit authored-source exports for compiler consumers.
|
|
21
21
|
|
|
22
22
|
## Install
|
|
23
23
|
|
|
24
|
+
<!-- proto-ui-release-status:start -->
|
|
25
|
+
|
|
26
|
+
> **Unpublished release preparation:** `0.3.0-rc.2` has not been published. The command below is an example for use after publication; it is not currently an installable version.
|
|
27
|
+
|
|
28
|
+
<!-- proto-ui-release-status:end -->
|
|
29
|
+
|
|
24
30
|
```bash
|
|
25
|
-
npm install @proto.ui/prototypes-shadcn@0.3.0-
|
|
31
|
+
npm install @proto.ui/prototypes-shadcn@0.3.0-rc.2
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
## Family Imports
|
|
@@ -44,10 +50,43 @@ import {
|
|
|
44
50
|
shadcnTooltipTrigger,
|
|
45
51
|
shadcnTooltipContent,
|
|
46
52
|
} from '@proto.ui/prototypes-shadcn/tooltip';
|
|
53
|
+
import {
|
|
54
|
+
shadcnRadioGroupRoot,
|
|
55
|
+
shadcnRadioGroupItem,
|
|
56
|
+
shadcnRadioGroupIndicator,
|
|
57
|
+
} from '@proto.ui/prototypes-shadcn/radio-group';
|
|
47
58
|
```
|
|
48
59
|
|
|
49
60
|
The root package export remains available for compatibility. Shadcn families do not depend on sibling Shadcn families.
|
|
50
61
|
|
|
62
|
+
### Authored source inputs
|
|
63
|
+
|
|
64
|
+
The following existing family subpaths also declare a `proto` condition pointing to their package-local `src/<family>/index.ts`:
|
|
65
|
+
|
|
66
|
+
`button`, `checkbox`, `dialog`, `input`, `select`, `separator`, `switch`, `tabs`, `textarea`, `toggle`, `scroll-area`, `label`, `collapsible`, `drawer`, `toggle-group`, `number-field`, `message-scroller`, and `data-table`.
|
|
67
|
+
|
|
68
|
+
These explicit source entries remain package metadata; they do not imply an available compiler. The public package build and release staging retain their transitive package-local source and type dependencies, including shared presentation helpers. The package's ordinary `types`, `import` and `default` conditions continue to resolve to `dist`; other subpaths and the root do not gain an implicit source condition.
|
|
69
|
+
|
|
70
|
+
Source reachability and packed source bytes do not establish successful compilation or native interaction, styling, accessibility or application acceptance. Existing prototype lifecycle boundaries remain in force. The old compiler and its profiles are retired; the [0.4 compiler foundation](../../../internal/compiler/README.md) defines the replacement, whose five backends remain unimplemented. The release above remains unpublished.
|
|
71
|
+
|
|
72
|
+
### Opt-in typography preset (draft)
|
|
73
|
+
|
|
74
|
+
`SHADCN_TYPOGRAPHY`, exported from the root and `/text`, supplies the ordinary `font-sans` and `font-heading` family values for a consumer that chooses the Geist-based Shadcn website typography. It does not select a component profile, change existing component defaults, fetch/bundle fonts, or change Surface's no-font-policy contract. The consumer binds these values through its theme's existing `--pui-font-sans` / `--pui-font-heading` inputs and owns licensed font delivery. A generic authored scope supplies inheritance for ordinary labels and editors; detached portal surfaces must carry the same selected-family input.
|
|
75
|
+
|
|
76
|
+
The website's source font is unmodified Geist 1.800 with complete OFL attribution. Chinese glyphs use the explicit platform fallback tail, not Geist. Other families retain their own font maps. Source/token transport is not actual glyph, layout stability, all-profile parity or native/compiler acceptance.
|
|
77
|
+
|
|
78
|
+
Radio Group composes its three parts explicitly. Base owns the selected value, Collection, roving focus, selection requests, and accessibility; Shadcn adds the circular control and passive selected dot. The family has no native form, `asChild`, public orientation/loop, or visual-variant API. Its catalog entries remain draft.
|
|
79
|
+
|
|
80
|
+
## Current Base draft projections
|
|
81
|
+
|
|
82
|
+
The workspace also contains direct passive-region, Image, Table and Transition projections, complete Select structural/alignment parts, an optional passive Tabs Indicator and a separate indexed Slider Values family. Existing controls, forms, overlays, search/navigation and collection/layout families retain their real Base owners. Drawer accepted-side/scroll are helper boundaries rather than additional rendered parts. Indexed Values Track remains structural; pointer-origin/session, grouped Field and native/Compiler admission are not manufactured by family paint.
|
|
83
|
+
|
|
84
|
+
The retained source comparison for the eight modern profiles (vega, nova, maia, lyra, mira, luma, sera, rhea) and the independently retained New York recipes is `shadcn-ui/ui@3d98900e9b73c45f035f8109e9d41ba6a51685e7`. Existing component-specific API and adopted content pins remain distinct. Scope/default/profile support is declared per component: a profile name is not a cross-component compatibility guarantee, and unsupported consumers fail rather than silently borrow another profile. Native layout, drag/motion, four-Web consumers, accessibility, Compiler and exact-head source-derived style closure require their own evidence; source/catalog availability does not promote a draft.
|
|
85
|
+
|
|
86
|
+
Style selection is private Rule state, not a Web data-attribute API. Profile-qualified focus, checked and theme rules therefore apply bare tokens only while their full runtime condition holds; profile-independent exposed-state rules can still lower to conditional Web tokens. Static CSS collection must retain every profile's runtime tokens, including the shared menu recipes and Luma/Sera separator negative spacing, even when those tokens are absent from an idle host.
|
|
87
|
+
|
|
88
|
+
Scroll Area retains its component-specific `f31ed81983653919dd4fe77aee4b4859f610f1dc` New York comparison alongside the later retained source. Viewport inherits its authored parent radius; vertical/horizontal tracks use only their inward left/top transparent border with one-pixel padding. Thumb has no authored border: New York and the nonsquare profiles use round ends, while Lyra/Sera are square. Native forced-color visibility and geometry still require separate evidence. Drawer Header/Footer layout and inherited Title paint follow the retained New York recipe; accepted-side rules select directional borders/corners rather than a fixed all-edge shell, without replacing the Root owner or caller nodes. Runtime CSS declarations alone do not establish native layout or paint acceptance.
|
|
89
|
+
|
|
51
90
|
## Internal Structure
|
|
52
91
|
|
|
53
92
|
- `src/button/`
|
|
@@ -57,6 +96,7 @@ The root package export remains available for compatibility. Shadcn families do
|
|
|
57
96
|
- `src/dropdown/`
|
|
58
97
|
- `src/hover-card/`
|
|
59
98
|
- `src/index.ts`
|
|
99
|
+
- `src/radio-group/`
|
|
60
100
|
- `src/select/`
|
|
61
101
|
- `src/scroll-area/`
|
|
62
102
|
- `src/switch/`
|
|
@@ -73,3 +113,41 @@ The root package export remains available for compatibility. Shadcn families do
|
|
|
73
113
|
## License
|
|
74
114
|
|
|
75
115
|
The Proto UI integration code is MIT-licensed. The pinned shadcn/ui attribution and upstream MIT license are distributed in [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md); the Proto UI package license does not replace that upstream notice.
|
|
116
|
+
|
|
117
|
+
### Wrapping action labels
|
|
118
|
+
|
|
119
|
+
`ShadcnButtonProps.wrap` is an optional Proto UI presentation extension. It keeps the default single-line recipe when omitted or false. With `wrap: true`, text sizes use their original height as a minimum and allow the label to wrap within the containing inline width. `size: 'icon'` remains fixed-size. Activation, focus, disabled state and accessible names still come from Base Button.
|
|
120
|
+
|
|
121
|
+
Dialog Footer uses intrinsic reverse wrapping, rather than reproducing the upstream `sm` media-query breakpoint. Footer does not restyle arbitrary child components. Use wrapping-capable actions when labels can exceed available space; the public Dialog example explicitly opts into Button wrapping. Custom wrappers must also supply a bounded inline size. This is not a guarantee that arbitrary unbounded or fixed-width descendants will fit every viewport.
|
|
122
|
+
|
|
123
|
+
## Field (draft workspace source)
|
|
124
|
+
|
|
125
|
+
The `./field` subpath exports `fieldRoot`, `fieldLabel`, `fieldControl`, `fieldDescription`, `fieldError` and `fieldValidity`. Root owns validation and consumer-owned async request leases; the default Control owns one host text editor. All six atoms share the same Base protocol, including controlled validity, required/length checks, disabled/readOnly, exact label/help/error relationships and stale-result rejection.
|
|
126
|
+
|
|
127
|
+
The same entry exports `fieldTextarea`, `fieldSelectTrigger` and `fieldSwitch`, each consuming its matching optional-Field Base hook once and sharing standalone family paint. The canonical Field binding alone supplies invalid/pending, policy and relationships; these are not parallel editors or additional selection owners.
|
|
128
|
+
|
|
129
|
+
This is not Fieldset/Form or form submission. Native TextControl transport, OS accessibility, browser screenshots and optical/GPUI evidence remain separate gates. Package source and synthetic-DOM tests do not imply stable release admission.
|
|
130
|
+
|
|
131
|
+
## Card (draft)
|
|
132
|
+
|
|
133
|
+
`./card` exports ShadcnCardRoot/Header/Content/Footer and their `shadcnCard*` aliases. These direct styled-only parts have no Base Card dependency, role, focus or action protocol. The source comparison is `f31ed81983653919dd4fe77aee4b4859f610f1dc`, `apps/v4/registry/new-york-v4/ui/card.tsx`, covered by the MIT third-party notice above. Root uses card-specific fill/foreground, rounded-xl, border plus explicit border-border ink (the upstream global reset made self-contained), shadow-sm and vertical spacing; the other parts own local spacing. Surface outline retains its neutral meaning.
|
|
134
|
+
|
|
135
|
+
Titles and descriptions remain ordinary content. Use native headings/paragraphs where appropriate, Shadcn Text `tone: 'inherit'` for nested title/body and explicit muted tone for captions. Upstream CardTitle/Description/Action, action-dependent header columns, header container-query markers, border-presence selectors and `asChild` are outside this bounded subset. Source/CLI/preview availability is not stable admission or a completed Finf goal; current native visual and first-frame evidence remains pending.
|
|
136
|
+
|
|
137
|
+
### Textarea style scope (draft)
|
|
138
|
+
|
|
139
|
+
`shadcnTextareaRoot` accepts `inherit`, New York (`new-york-v4`, alias `new-york`) and all eight modern `styleProfile` values: vega, nova, maia, lyra, mira, luma, sera and rhea. The public shared `styleScope` selects nearest inherited paint; an explicit leaf choice wins, then the existing New York baseline is the fallback. Unknown profiles fail rather than silently borrowing another recipe. Base still owns the single editor, value, selection, composition, labels, focus, disabled/readOnly and native props.
|
|
140
|
+
|
|
141
|
+
Use `fieldTextarea` from the existing `field` entry (also root-exported) when the multiline editor belongs to a Field. This is the semantic optional-Field composition from Base, not a second editor or Rhea-specific product. It shares exactly the same paint setup with ordinary Textarea. Field owns invalid/pending and label/description/error relationships; nonempty external `labelledBy`/`describedBy` are rejected. Ordinary Textarea retains explicit label relationships and does not automatically absorb a nearby Field.
|
|
142
|
+
|
|
143
|
+
The mapped profiles use native CSS `field-sizing: content`; no JS measures content or sets height. This explicitly revises the former Shadcn slice's blanket auto-resize exclusion, while preserving the prohibition on a new JS/editor sizing protocol. Rhea uses `resize: none`; New York retains the existing `resize: vertical` compatibility choice, and other profiles retain their own pinned paint. Browser support for intrinsic sizing and its effect on `rows` is native CSS behavior, not a replacement editor API.
|
|
144
|
+
|
|
145
|
+
The md font-size threshold is prototype Rule data (`viewport.width >= 768` CSS pixels), not adapter code. SSR/missing paired source uses the safe base font size. Fixed upstream source is `shadcn-ui/ui@3d98900e9b73c45f035f8109e9d41ba6a51685e7`; full native intrinsic/resizing/raster acceptance and positive compiler lowering remain separate evidence boundaries.
|
|
146
|
+
|
|
147
|
+
### Command and single-control input shell (draft)
|
|
148
|
+
|
|
149
|
+
Command accepts shared `styleProfile` selection for New York and all eight modern styles, each with its retained source recipe. The New York default retains standalone compatibility. The explicitly composed Rhea example remains Command Root → CommandInputWrapper → InputShell → CommandInput, alongside CommandContent; its passive shell is not an editor or selection owner. The public `./input-shell` entry also supplies `inputShellControl`, an ordinary Base Input editor, so the shell is reusable rather than Command-specific. Do not add a second rounded border to the inner input.
|
|
150
|
+
|
|
151
|
+
Bind actual control focus/disabled exposes with `bindInputShellControl` and an explicit view owner; merge its facts with shell props, retire it on disposal, and use its replacement method when changing the control instance. Command uses `focusIndicator: 'none'` to match its upstream slot selector; ordinary input uses the default ring. This is not full InputGroup, invalid aggregation or an addon API. See [the bounded composition contract](../../../internal/contracts/command/shadcn-input-shell.presentation.v0.md) for exact lifecycle, omissions and source attribution. Native visual acceptance is separate from source/unit coverage.
|
|
152
|
+
|
|
153
|
+
If a control unsubscribe throws during disposal or replacement, the binding still attempts every unsubscribe and releases its reservations, then surfaces the first thrown value unchanged, including `undefined`, `null`, `false`, `0` or an empty string. The owner cleanup returned by `onDispose` is attempted in the same pass and never replaces that first failure; it surfaces only when no control unsubscribe failed first. A failed replacement never attaches the new control; cleanup failure is not successful disposal or replacement.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -13,3 +13,41 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
13
13
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
16
|
+
|
|
17
|
+
## Tooltip static surface snapshot (2026-10-10)
|
|
18
|
+
|
|
19
|
+
Tooltip Content's static surface separately derives from [the base-nova registry](https://ui.shadcn.com/r/styles/base-nova/tooltip.json), retrieved 2026-10-10, under the shadcn MIT license above. JSON SHA256: `2f55867faecee2d3616cfd8c6a80b538909a21e62fdfa2788b1ead56093e5395`; extracted TSX SHA256: `f83d5f511812573f4ac98b866d397a46fda0f27eeb0af0ea89af01969eefbc5a`. The deployment Git SHA is unknown. This reference does not replace the earlier pinned API compatibility baseline. See `internal/records/2026-10-10-finf-tooltip-surface-migration.md` for transformations and remaining differences.
|
|
20
|
+
|
|
21
|
+
## New York AlertDialog and shared Button paint (2026-10-13)
|
|
22
|
+
|
|
23
|
+
The bounded AlertDialog presentation and shared Button default/outline paint and existing fixed sizes derive from shadcn/ui revision `02cad61166c4c20edbc8a3f71bd720eed4c1f49b`, `apps/v4/registry/new-york-v4/ui/alert-dialog.tsx` (blob `566c463a61b48c79ad544bfdd80434174107c9d5`) and `button.tsx` (blob `e3345d985d14c33e3cb9d8c45cf973807326c944`), under the MIT license above. This is the fixed New York recipe, not Base/Nova. It does not replace the historical API baseline or the separately adopted destructive variant. Mobile breakpoints, small/media variants and animated AlertDialog presence remain open. See `internal/contracts/overlay/shadcn-alert-dialog.presentation.v0.md`.
|
|
24
|
+
|
|
25
|
+
The bounded Drawer bottom Handle recipe uses the same revision’s `apps/v4/registry/new-york-v4/ui/drawer.tsx` (line 67), and default content-column composition uses `examples/drawer-demo.tsx` (line 74). Drawer Trigger/Close reuse the shared Button paint. Current passive action recipes select New York’s 90% primary hover and the separately pinned modern profiles’ 80% hover. Form uses its own borrowed Base action states; the isolated Form source collector and actual submit/disable/restore consumption are covered by `test/button-passive-consumer-closure.test.ts`. This source/CSS closure evidence does not replace native visual or full Button acceptance.
|
|
26
|
+
|
|
27
|
+
## New York Button ghost hover (2026-10-14)
|
|
28
|
+
|
|
29
|
+
The bounded ghost hover recipe derives from the same fixed shadcn/ui revision `02cad61166c4c20edbc8a3f71bd720eed4c1f49b`, `apps/v4/registry/new-york-v4/ui/button.tsx`, lines 18–19 (blob `e3345d985d14c33e3cb9d8c45cf973807326c944`), under the MIT license above. It uses accent/accent-foreground hover and half-opacity accent in dark mode. It does not advance the historical API baseline or replace the separately adopted destructive variant. Native visual and complete Button acceptance remain separate.
|
|
30
|
+
|
|
31
|
+
## Homepage Rhea / Luma Button profiles (2026-10-22)
|
|
32
|
+
|
|
33
|
+
The direct Button and explicitly opted-in passive action appearance derive from shadcn/ui revision `25af02b1b467fcd53b63e0c6d6d324c57c16ef18`, `apps/v4/registry/styles/style-rhea.css` and `style-luma.css`, under the MIT license above. At that revision the homepage UI Elements card imports `base-rhea`, while the hero imports `radix-luma`; these are distinct presentation profiles, not a universal shadcn default. This bounded migration replaces the direct Button's earlier New York paint, not the independent AlertDialog/Drawer command paint. The compatibility baseline, deliberately omitted APIs, Proto multiline wrapping, and compact icon extension remain separately documented. See `internal/records/2026-10-22-shadcn-homepage-button-profiles.md`.
|
|
34
|
+
|
|
35
|
+
## Shared-scope passive Card (2026-10-23)
|
|
36
|
+
|
|
37
|
+
The existing four Card presentation regions additionally map New York, Rhea, and Luma from shadcn/ui `3d98900e9b73c45f035f8109e9d41ba6a51685e7`, `apps/v4/registry/bases/base/ui/card.tsx` (blob `2062884f29a8044fa48edf86605182eca29f8716`), `apps/v4/registry/new-york-v4/ui/card.tsx` (blob `6aebd4cf612dfa24d40ffdf357c6f6363e144d6a`), `apps/v4/registry/styles/style-rhea.css` (blob `94bbca2a7f78845e7cfbcff68fb8f535e3848a98`), and `apps/v4/registry/styles/style-luma.css`, under the MIT license above. Scope and density are Proto presentation semantics, not upstream React API equivalence. Image-edge selectors, automatic CardAction layout and container queries remain unsupported by this bounded four-part surface.
|
|
38
|
+
|
|
39
|
+
## Shared-scope Command and single-control shell (2026-10-23)
|
|
40
|
+
|
|
41
|
+
The bounded Rhea Command and reusable single-inline-control shell derive from shadcn/ui `3d98900e9b73c45f035f8109e9d41ba6a51685e7`, `apps/v4/registry/bases/base/ui/command.tsx`, `apps/v4/registry/bases/base/ui/input-group.tsx`, `apps/v4/registry/styles/style-rhea.css`, and the New York shell in `apps/v4/registry/new-york-v4/ui/input-group.tsx`, under the MIT license above. The existing New York standalone Command remains a Proto compatibility recipe, not a new claim of full cmdk parity. See `internal/contracts/command/shadcn-input-shell.presentation.v0.md` for the omitted addons, invalid aggregation, groups, shortcuts and other unsupported upstream anatomy.
|
|
42
|
+
|
|
43
|
+
## Shared-scope Select profiles (2026-10-23)
|
|
44
|
+
|
|
45
|
+
The bounded Rhea Select presentation derives from shadcn/ui `3d98900e9b73c45f035f8109e9d41ba6a51685e7`, `apps/v4/registry/bases/base/ui/select.tsx` (blob `2cb76c117197336324cfaed1300e92ca65273b40`) and `apps/v4/registry/styles/style-rhea.css` (blob `94bbca2a7f78845e7cfbcff68fb8f535e3848a98`), under the MIT license above. Existing New York behavior and presentation compatibility remain separately documented. Scope selection, optional Field binding and the existing Content/Surface/Viewport/ItemText composition are Proto contracts, not upstream React/Base UI API equivalence. Scroll controls, foreign-document portals, arbitrary glyph selectors and full positioning parity are not included.
|
|
46
|
+
|
|
47
|
+
## Base-draft family profile projections
|
|
48
|
+
|
|
49
|
+
The additional family recipes compare the retained `apps/v4/registry/bases/base/ui/`, `apps/v4/registry/new-york-v4/ui/` and `apps/v4/registry/styles/style-{vega,nova,maia,lyra,mira,luma,sera,rhea}.css` sources at `3d98900e9b73c45f035f8109e9d41ba6a51685e7`, under the MIT license above. Source units, per-profile paint, states and deliberately unsupported selectors remain explicit; no upstream React runtime or stylesheet is executed as a Proto renderer. This broader presentation comparison does not relabel older API or content-pinned baselines. Passive regions, private exact-Base Table hook wrappers, optional Field compositions and indexed Slider Values retain Proto Base ownership rather than borrowing another family or claiming upstream APIs. All attribution above remains applicable; source/catalog coverage and authored tests are not exact-head native or full-profile acceptance.
|
|
50
|
+
|
|
51
|
+
## Explicit website CommandMenu presentation (2026-10-31)
|
|
52
|
+
|
|
53
|
+
The opt-in `presentation="menu"` visual recipe derives from the MIT-licensed shadcn/ui revision `24a16429815cc4d691f38b49d0f4ffc11a9daef4`, `apps/v4/components/command-menu.tsx` and its New York Command anatomy. This is a website-consumer recipe, not a replacement of Rhea or the other ordinary registry profiles. Proto keeps the selected family color/theme and semantic Dialog/Command owners, uses its actual localized navigation and Pagefind results, preserves an accessible Cancel action, and bounds enlarged/short layouts. A passive glyph is not an actionable input prefix or full InputGroup addon API. Upstream Next.js, Fumadocs/cmdk, analytics, styles/colors/blocks catalog and copy-command features are not imported or claimed implemented. The existing MIT license and attribution above continue to apply; native and full upstream conformance remain separate.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AccordionContentExposes } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnAccordionContentProps } from "./types.js";
|
|
3
|
+
declare const _default: import("@proto.ui/core").Prototype<ShadcnAccordionContentProps, AccordionContentExposes>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { definePrototype, tw } from '@proto.ui/core';
|
|
2
|
+
import { asAccordionContent, } from '@proto.ui/prototypes-base/accordion';
|
|
3
|
+
import { setupAccordionContentPaint } from "./visual.js";
|
|
4
|
+
export default definePrototype({
|
|
5
|
+
name: 'shadcn-accordion-content',
|
|
6
|
+
modules: asAccordionContent.modules,
|
|
7
|
+
setup(def) {
|
|
8
|
+
const inherited = asAccordionContent();
|
|
9
|
+
setupAccordionContentPaint(def);
|
|
10
|
+
// Own the family panel's formatting context. A conditional hidden token
|
|
11
|
+
// withdraws WC's fallback display even while open; block children must
|
|
12
|
+
// still lay out inside the profile padding, without a page CSS patch.
|
|
13
|
+
// The Base open/hidden facts remain the only visibility/presence owners.
|
|
14
|
+
def.rule({
|
|
15
|
+
when: (w) => w.state(inherited.stateHandles.open).eq(true),
|
|
16
|
+
intent: (i) => i.feedback.style.use(tw('block')),
|
|
17
|
+
});
|
|
18
|
+
return inherited.render;
|
|
19
|
+
},
|
|
20
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AccordionHeadingExposes } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnAccordionHeadingProps } from "./types.js";
|
|
3
|
+
declare const _default: import("@proto.ui/core").Prototype<ShadcnAccordionHeadingProps, AccordionHeadingExposes>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { definePrototype, tw } from '@proto.ui/core';
|
|
2
|
+
import { asAccordionHeading, } from '@proto.ui/prototypes-base/accordion';
|
|
3
|
+
import { setupAccordionStyle } from "./visual.js";
|
|
4
|
+
export default definePrototype({
|
|
5
|
+
name: 'shadcn-accordion-heading',
|
|
6
|
+
modules: asAccordionHeading.modules,
|
|
7
|
+
setup(def) {
|
|
8
|
+
const inherited = asAccordionHeading();
|
|
9
|
+
setupAccordionStyle(def);
|
|
10
|
+
def.feedback.style.use(tw('flex m-0 min-w-0'));
|
|
11
|
+
return inherited.render;
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as accordionRoot, default as shadcnAccordionRoot } from "./root.proto.js";
|
|
2
|
+
export { default as accordionItem, default as shadcnAccordionItem } from "./item.proto.js";
|
|
3
|
+
export { default as accordionHeading, default as shadcnAccordionHeading } from "./heading.proto.js";
|
|
4
|
+
export { default as accordionTrigger, default as shadcnAccordionTrigger } from "./trigger.proto.js";
|
|
5
|
+
export { default as accordionContent, default as shadcnAccordionContent } from "./content.proto.js";
|
|
6
|
+
export type * from "./types.js";
|
|
7
|
+
export type { AccordionRootProps, AccordionRootExposes, AccordionItemProps, AccordionItemExposes, AccordionHeadingProps, AccordionHeadingExposes, AccordionTriggerProps, AccordionTriggerExposes, AccordionContentProps, AccordionContentExposes, } from '@proto.ui/prototypes-base/accordion';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as accordionRoot, default as shadcnAccordionRoot } from "./root.proto.js";
|
|
2
|
+
export { default as accordionItem, default as shadcnAccordionItem } from "./item.proto.js";
|
|
3
|
+
export { default as accordionHeading, default as shadcnAccordionHeading } from "./heading.proto.js";
|
|
4
|
+
export { default as accordionTrigger, default as shadcnAccordionTrigger } from "./trigger.proto.js";
|
|
5
|
+
export { default as accordionContent, default as shadcnAccordionContent } from "./content.proto.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AccordionItemExposes } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnAccordionItemProps } from "./types.js";
|
|
3
|
+
declare const _default: import("@proto.ui/core").Prototype<ShadcnAccordionItemProps, AccordionItemExposes>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { definePrototype, tw } from '@proto.ui/core';
|
|
2
|
+
import { asAccordionItem, ACCORDION_FAMILY, } from '@proto.ui/prototypes-base/accordion';
|
|
3
|
+
import { setupAccordionStyle } from "./visual.js";
|
|
4
|
+
export default definePrototype({
|
|
5
|
+
name: 'shadcn-accordion-item',
|
|
6
|
+
modules: asAccordionItem.modules,
|
|
7
|
+
setup(def) {
|
|
8
|
+
const inherited = asAccordionItem();
|
|
9
|
+
const style = setupAccordionStyle(def);
|
|
10
|
+
const followed = def.state.bool('accordionHasFollowingItem', false);
|
|
11
|
+
const syncOrder = (run) => {
|
|
12
|
+
followed.set(run.anatomy.order.nextOfSelf(ACCORDION_FAMILY, 'item') !== null, 'accordion item order');
|
|
13
|
+
};
|
|
14
|
+
def.anatomy.subscribeParts(ACCORDION_FAMILY, 'item', (run, parts) => {
|
|
15
|
+
if (parts.length === 0) {
|
|
16
|
+
followed.set(false, 'accordion item domain withdrawn');
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
syncOrder(run);
|
|
20
|
+
});
|
|
21
|
+
def.lifecycle.onMounted(syncOrder);
|
|
22
|
+
def.feedback.style.use(tw('block min-w-0 border-border'));
|
|
23
|
+
def.rule({
|
|
24
|
+
when: (w) => w.state(followed).eq(true),
|
|
25
|
+
intent: (i) => i.feedback.style.use(tw('border-b')),
|
|
26
|
+
});
|
|
27
|
+
def.rule({
|
|
28
|
+
when: (w) => w.all(w.state(inherited.stateHandles.open).eq(true), w.any(w.state(style).eq('maia'), w.state(style).eq('mira'), w.state(style).eq('luma'), w.state(style).eq('rhea'))),
|
|
29
|
+
intent: (i) => i.feedback.style.use(tw('bg-muted/50')),
|
|
30
|
+
});
|
|
31
|
+
return inherited.render;
|
|
32
|
+
},
|
|
33
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AccordionRootExposes } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnAccordionRootProps } from "./types.js";
|
|
3
|
+
declare const _default: import("@proto.ui/core").Prototype<ShadcnAccordionRootProps, AccordionRootExposes>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { definePrototype, tw } from '@proto.ui/core';
|
|
2
|
+
import { asAccordionRoot } from '@proto.ui/prototypes-base/accordion';
|
|
3
|
+
import { setupShadcnStyleScope } from "../style-scope/index.js";
|
|
4
|
+
import { setupAccordionStyle } from "./visual.js";
|
|
5
|
+
export default definePrototype({
|
|
6
|
+
name: 'shadcn-accordion-root',
|
|
7
|
+
modules: asAccordionRoot.modules,
|
|
8
|
+
setup(def) {
|
|
9
|
+
const inherited = asAccordionRoot();
|
|
10
|
+
setupShadcnStyleScope(def);
|
|
11
|
+
const style = setupAccordionStyle(def);
|
|
12
|
+
def.feedback.style.use(tw('flex w-full min-w-0 text-foreground'));
|
|
13
|
+
def.rule({
|
|
14
|
+
when: (w) => w.prop('orientation').eq('horizontal'),
|
|
15
|
+
intent: (i) => i.feedback.style.use(tw('flex-row flex-wrap')),
|
|
16
|
+
});
|
|
17
|
+
def.rule({
|
|
18
|
+
when: (w) => w.not(w.prop('orientation').eq('horizontal')),
|
|
19
|
+
intent: (i) => i.feedback.style.use(tw('flex-col')),
|
|
20
|
+
});
|
|
21
|
+
def.rule({
|
|
22
|
+
when: (w) => w.prop('direction').eq('rtl'),
|
|
23
|
+
intent: (i) => i.feedback.style.use(tw('direction-rtl')),
|
|
24
|
+
});
|
|
25
|
+
def.rule({
|
|
26
|
+
when: (w) => w.any(w.state(style).eq('maia'), w.state(style).eq('luma'), w.state(style).eq('rhea')),
|
|
27
|
+
intent: (i) => i.feedback.style.use(tw('rounded-[var(--pui-radius-2xl)] border border-border overflow-hidden')),
|
|
28
|
+
});
|
|
29
|
+
def.rule({
|
|
30
|
+
when: (w) => w.state(style).eq('mira'),
|
|
31
|
+
intent: (i) => i.feedback.style.use(tw('rounded-md border border-border overflow-hidden')),
|
|
32
|
+
});
|
|
33
|
+
return inherited.render;
|
|
34
|
+
},
|
|
35
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AccordionTriggerExposes } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnAccordionTriggerProps } from "./types.js";
|
|
3
|
+
declare const _default: import("@proto.ui/core").Prototype<ShadcnAccordionTriggerProps, AccordionTriggerExposes>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { definePrototype, tw, delay } from '@proto.ui/core';
|
|
2
|
+
import { asAccordionTrigger, } from '@proto.ui/prototypes-base/accordion';
|
|
3
|
+
import { setupAccordionStyle } from "./visual.js";
|
|
4
|
+
import { SHADCN_STYLE_SCOPE } from "../style-scope/index.js";
|
|
5
|
+
export default definePrototype({
|
|
6
|
+
name: 'shadcn-accordion-trigger',
|
|
7
|
+
modules: asAccordionTrigger.modules,
|
|
8
|
+
setup(def) {
|
|
9
|
+
const inherited = asAccordionTrigger();
|
|
10
|
+
const state = inherited.stateHandles;
|
|
11
|
+
const style = setupAccordionStyle(def);
|
|
12
|
+
def.feedback.style.use(tw('relative flex flex-1 w-full min-w-0 items-start justify-between text-start whitespace-normal break-words cursor-pointer select-none outline-none transition-all'));
|
|
13
|
+
def.rule({
|
|
14
|
+
when: (w) => w.any(w.state(style).eq('vega'), w.state(style).eq('new-york-v4')),
|
|
15
|
+
intent: (i) => i.feedback.style.use(tw('gap-4 rounded-md py-4 text-sm font-medium')),
|
|
16
|
+
});
|
|
17
|
+
def.rule({
|
|
18
|
+
when: (w) => w.state(style).eq('nova'),
|
|
19
|
+
intent: (i) => i.feedback.style.use(tw('gap-4 rounded-lg py-2.5 text-sm font-medium')),
|
|
20
|
+
});
|
|
21
|
+
def.rule({
|
|
22
|
+
when: (w) => w.state(style).eq('lyra'),
|
|
23
|
+
intent: (i) => i.feedback.style.use(tw('gap-4 rounded-none py-2.5 text-xs font-medium')),
|
|
24
|
+
});
|
|
25
|
+
def.rule({
|
|
26
|
+
when: (w) => w.any(w.state(style).eq('maia'), w.state(style).eq('luma'), w.state(style).eq('rhea')),
|
|
27
|
+
intent: (i) => i.feedback.style.use(tw('gap-6 p-4 text-sm font-medium')),
|
|
28
|
+
});
|
|
29
|
+
def.rule({
|
|
30
|
+
when: (w) => w.state(style).eq('mira'),
|
|
31
|
+
intent: (i) => i.feedback.style.use(tw('gap-6 p-2 text-xs leading-relaxed font-medium')),
|
|
32
|
+
});
|
|
33
|
+
def.rule({
|
|
34
|
+
when: (w) => w.state(style).eq('sera'),
|
|
35
|
+
intent: (i) => i.feedback.style.use(tw('gap-6 rounded-none py-4 text-sm font-semibold')),
|
|
36
|
+
});
|
|
37
|
+
def.rule({
|
|
38
|
+
when: (w) => w.not(w.state(style).eq('new-york-v4')),
|
|
39
|
+
intent: (i) => i.feedback.style.use(tw('border border-transparent')),
|
|
40
|
+
});
|
|
41
|
+
def.rule({
|
|
42
|
+
when: (w) => w.all(w.state(state.hovered).eq(true), w.state(state.disabled).eq(false), w.state(state.collapseBlocked).eq(false)),
|
|
43
|
+
intent: (i) => i.feedback.style.use(tw('underline')),
|
|
44
|
+
});
|
|
45
|
+
def.rule({
|
|
46
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.any(w.state(style).eq('vega'), w.state(style).eq('nova'), w.state(style).eq('new-york-v4'))),
|
|
47
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-3 ring-ring/50')),
|
|
48
|
+
});
|
|
49
|
+
def.rule({
|
|
50
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.state(style).eq('lyra')),
|
|
51
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-1 ring-ring/50')),
|
|
52
|
+
});
|
|
53
|
+
def.rule({
|
|
54
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.state(style).eq('sera')),
|
|
55
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-2 ring-ring/30')),
|
|
56
|
+
});
|
|
57
|
+
// Bordered overflow-hidden Root presets use inset rings so focus paint never clips along edges.
|
|
58
|
+
def.rule({
|
|
59
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.state(style).eq('maia')),
|
|
60
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-3 ring-inset ring-ring/50 forced-colors-focus-outline')),
|
|
61
|
+
});
|
|
62
|
+
def.rule({
|
|
63
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.state(style).eq('mira')),
|
|
64
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-2 ring-inset ring-ring/30 forced-colors-focus-outline')),
|
|
65
|
+
});
|
|
66
|
+
def.rule({
|
|
67
|
+
when: (w) => w.all(w.state(state.focusVisible).eq(true), w.any(w.state(style).eq('luma'), w.state(style).eq('rhea'))),
|
|
68
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-3 ring-inset ring-ring/30 forced-colors-focus-outline')),
|
|
69
|
+
});
|
|
70
|
+
def.rule({
|
|
71
|
+
when: (w) => w.state(state.collapseBlocked).eq(true),
|
|
72
|
+
intent: (i) => i.feedback.style.use(tw('cursor-not-allowed')),
|
|
73
|
+
});
|
|
74
|
+
def.rule({
|
|
75
|
+
when: (w) => w.state(state.disabled).eq(true),
|
|
76
|
+
intent: (i) => i.feedback.style.use(tw('opacity-50 pointer-events-none')),
|
|
77
|
+
});
|
|
78
|
+
let pending = null;
|
|
79
|
+
let mounted = false;
|
|
80
|
+
const refresh = (run) => {
|
|
81
|
+
if (!mounted)
|
|
82
|
+
return;
|
|
83
|
+
pending?.cancel();
|
|
84
|
+
pending = delay(0, () => {
|
|
85
|
+
pending = null;
|
|
86
|
+
if (mounted)
|
|
87
|
+
run.update();
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
state.expanded.watch((run, event) => {
|
|
91
|
+
if (event.type === 'next')
|
|
92
|
+
refresh(run);
|
|
93
|
+
});
|
|
94
|
+
// The style selection is owned, not watchable. Observe the same public
|
|
95
|
+
// selector inputs after its resolver, and update only while mounted.
|
|
96
|
+
def.context.trySubscribe(SHADCN_STYLE_SCOPE, refresh);
|
|
97
|
+
def.props.watchRaw(['styleProfile'], refresh);
|
|
98
|
+
def.lifecycle.onMounted(() => {
|
|
99
|
+
mounted = true;
|
|
100
|
+
});
|
|
101
|
+
def.lifecycle.onUnmounted(() => {
|
|
102
|
+
mounted = false;
|
|
103
|
+
pending?.cancel();
|
|
104
|
+
pending = null;
|
|
105
|
+
});
|
|
106
|
+
def.lifecycle.onBeforeDispose(() => {
|
|
107
|
+
mounted = false;
|
|
108
|
+
pending?.cancel();
|
|
109
|
+
pending = null;
|
|
110
|
+
});
|
|
111
|
+
return (r) => [
|
|
112
|
+
r.slot(),
|
|
113
|
+
r.el('span', {
|
|
114
|
+
style: style.get() === 'sera'
|
|
115
|
+
? tw('pointer-events-none ms-auto translate-y-0.5 flex size-3.5 shrink-0 items-center text-muted-foreground')
|
|
116
|
+
: tw('pointer-events-none ms-auto translate-y-0.5 flex size-4 shrink-0 items-center text-muted-foreground'),
|
|
117
|
+
}, r.svg.root({
|
|
118
|
+
viewBox: '0 0 24 24',
|
|
119
|
+
width: '100%',
|
|
120
|
+
height: '100%',
|
|
121
|
+
'aria-hidden': 'true',
|
|
122
|
+
fill: 'none',
|
|
123
|
+
stroke: 'currentColor',
|
|
124
|
+
strokeWidth: 2,
|
|
125
|
+
strokeLinecap: 'round',
|
|
126
|
+
strokeLinejoin: 'round',
|
|
127
|
+
}, r.svg.path({ d: state.expanded.get() ? 'm6 15 6-6 6 6' : 'm6 9 6 6 6-6' }))),
|
|
128
|
+
];
|
|
129
|
+
},
|
|
130
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AccordionRootProps, AccordionItemProps, AccordionHeadingProps, AccordionTriggerProps, AccordionContentProps } from '@proto.ui/prototypes-base/accordion';
|
|
2
|
+
import type { ShadcnStyleProps } from "../style-scope/index.js";
|
|
3
|
+
export type ShadcnAccordionRootProps = AccordionRootProps & ShadcnStyleProps;
|
|
4
|
+
export type ShadcnAccordionItemProps = AccordionItemProps & ShadcnStyleProps;
|
|
5
|
+
export type ShadcnAccordionHeadingProps = AccordionHeadingProps & ShadcnStyleProps;
|
|
6
|
+
export type ShadcnAccordionTriggerProps = AccordionTriggerProps & ShadcnStyleProps;
|
|
7
|
+
export type ShadcnAccordionContentProps = AccordionContentProps & ShadcnStyleProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type DefHandle } from '@proto.ui/core';
|
|
2
|
+
import { type ShadcnStyleProps } from "../style-scope/index.js";
|
|
3
|
+
export declare function setupAccordionStyle<Props extends ShadcnStyleProps, Exposes = Record<string, unknown>>(def: DefHandle<Props, Exposes>): import("@proto.ui/core").OwnedStateHandle<"vega" | "nova" | "maia" | "lyra" | "mira" | "luma" | "sera" | "rhea" | "new-york-v4">;
|
|
4
|
+
export declare function setupAccordionContentPaint<Props extends ShadcnStyleProps, Exposes = Record<string, unknown>>(def: DefHandle<Props, Exposes>): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { tw } from '@proto.ui/core';
|
|
2
|
+
import { setupShadcnStyleSelection } from "../style-scope/index.js";
|
|
3
|
+
// shadcn-ui/ui@3d98900e: apps/v4/registry/styles/style-*.css,
|
|
4
|
+
// .cn-accordion*, and the independent new-york-v4/ui/accordion.tsx.
|
|
5
|
+
// Nova is the existing projection's compatibility recipe, not a universal default.
|
|
6
|
+
export function setupAccordionStyle(def) {
|
|
7
|
+
return setupShadcnStyleSelection(def, 'nova');
|
|
8
|
+
}
|
|
9
|
+
export function setupAccordionContentPaint(def) {
|
|
10
|
+
const style = setupAccordionStyle(def);
|
|
11
|
+
def.feedback.style.use(tw('min-w-0 break-words overflow-x-auto'));
|
|
12
|
+
def.rule({
|
|
13
|
+
when: (w) => w.any(w.state(style).eq('nova'), w.state(style).eq('lyra')),
|
|
14
|
+
intent: (i) => i.feedback.style.use(tw('pb-2.5')),
|
|
15
|
+
});
|
|
16
|
+
def.rule({
|
|
17
|
+
when: (w) => w.not(w.any(w.state(style).eq('nova'), w.state(style).eq('lyra'))),
|
|
18
|
+
intent: (i) => i.feedback.style.use(tw('pb-4')),
|
|
19
|
+
});
|
|
20
|
+
def.rule({
|
|
21
|
+
when: (w) => w.state(style).eq('lyra'),
|
|
22
|
+
intent: (i) => i.feedback.style.use(tw('text-xs')),
|
|
23
|
+
});
|
|
24
|
+
def.rule({
|
|
25
|
+
when: (w) => w.state(style).eq('mira'),
|
|
26
|
+
intent: (i) => i.feedback.style.use(tw('px-2 text-xs leading-relaxed')),
|
|
27
|
+
});
|
|
28
|
+
def.rule({
|
|
29
|
+
when: (w) => w.not(w.any(w.state(style).eq('lyra'), w.state(style).eq('mira'))),
|
|
30
|
+
intent: (i) => i.feedback.style.use(tw('text-sm')),
|
|
31
|
+
});
|
|
32
|
+
def.rule({
|
|
33
|
+
when: (w) => w.any(w.state(style).eq('maia'), w.state(style).eq('luma'), w.state(style).eq('rhea')),
|
|
34
|
+
intent: (i) => i.feedback.style.use(tw('px-4')),
|
|
35
|
+
});
|
|
36
|
+
// Measured-height enter/leave animation is deliberately not fabricated over
|
|
37
|
+
// Base's immediate L1 detach. Long content remains in normal, unclipped flow.
|
|
38
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DefHandle, type State } from '@proto.ui/core';
|
|
2
|
+
import type { ShadcnStyleProps } from "../style-scope/index.js";
|
|
3
|
+
import type { ShadcnAlertDialogActionSize, ShadcnAlertDialogActionVariant } from "./types.js";
|
|
4
|
+
type PassiveActionProps = ShadcnStyleProps & {
|
|
5
|
+
variant?: ShadcnAlertDialogActionVariant;
|
|
6
|
+
size?: ShadcnAlertDialogActionSize;
|
|
7
|
+
wrap?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/** Finite passive Button paint for AlertDialog Trigger, Action, and Cancel.
|
|
10
|
+
* AlertDialog commands retain their single Base interaction owner.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setupAlertDialogButtonPaint<Props extends PassiveActionProps, Exposes = Record<string, unknown>>(def: DefHandle<Props, Exposes>, state: {
|
|
13
|
+
hovered: State<boolean>;
|
|
14
|
+
focusVisible: State<boolean>;
|
|
15
|
+
disabled: State<boolean>;
|
|
16
|
+
pressed: State<boolean>;
|
|
17
|
+
}, defaultVariant: ShadcnAlertDialogActionVariant): import("@proto.ui/core").OwnedStateHandle<"vega" | "nova" | "maia" | "lyra" | "mira" | "luma" | "sera" | "rhea" | "new-york-v4">;
|
|
18
|
+
export {};
|