@cerberus-design/react 0.18.4 → 0.19.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/build/legacy/_tsup-dts-rollup.d.cts +2429 -790
- package/build/legacy/components/accordion/index.cjs +146 -57
- package/build/legacy/components/accordion/index.cjs.map +1 -1
- package/build/legacy/components/accordion/index.d.cts +5 -0
- package/build/legacy/components/accordion/item-group.cjs +143 -54
- package/build/legacy/components/accordion/item-group.cjs.map +1 -1
- package/build/legacy/components/accordion/item-indicator.cjs +134 -45
- package/build/legacy/components/accordion/item-indicator.cjs.map +1 -1
- package/build/legacy/components/accordion/parts.cjs +132 -43
- package/build/legacy/components/accordion/parts.cjs.map +1 -1
- package/build/legacy/components/accordion/primitives.cjs +132 -43
- package/build/legacy/components/accordion/primitives.cjs.map +1 -1
- package/build/legacy/components/accordion/primitives.d.cts +5 -0
- package/build/legacy/components/admonition/admonition.cjs +194 -96
- package/build/legacy/components/admonition/admonition.cjs.map +1 -1
- package/build/legacy/components/admonition/index.cjs +181 -83
- package/build/legacy/components/admonition/index.cjs.map +1 -1
- package/build/legacy/components/admonition/index.d.cts +5 -0
- package/build/legacy/components/admonition/match-avatar.cjs +120 -23
- package/build/legacy/components/admonition/match-avatar.cjs.map +1 -1
- package/build/legacy/components/admonition/parts.cjs +150 -35
- package/build/legacy/components/admonition/parts.cjs.map +1 -1
- package/build/legacy/components/admonition/primitives.cjs +150 -35
- package/build/legacy/components/admonition/primitives.cjs.map +1 -1
- package/build/legacy/components/admonition/primitives.d.cts +5 -0
- package/build/legacy/components/avatar/avatar.cjs +120 -23
- package/build/legacy/components/avatar/avatar.cjs.map +1 -1
- package/build/legacy/components/avatar/index.cjs +120 -23
- package/build/legacy/components/avatar/index.cjs.map +1 -1
- package/build/legacy/components/avatar/index.d.cts +3 -0
- package/build/legacy/components/avatar/parts.cjs +119 -22
- package/build/legacy/components/avatar/parts.cjs.map +1 -1
- package/build/legacy/components/avatar/primitives.cjs +119 -22
- package/build/legacy/components/avatar/primitives.cjs.map +1 -1
- package/build/legacy/components/avatar/primitives.d.cts +3 -0
- package/build/legacy/components/button/button.cjs +126 -24
- package/build/legacy/components/button/button.cjs.map +1 -1
- package/build/legacy/components/button/index.cjs +126 -24
- package/build/legacy/components/button/index.cjs.map +1 -1
- package/build/legacy/components/button/parts.cjs +126 -24
- package/build/legacy/components/button/parts.cjs.map +1 -1
- package/build/legacy/components/button/primitives.cjs +148 -0
- package/build/legacy/components/button/primitives.cjs.map +1 -0
- package/build/legacy/components/button/primitives.d.cts +1 -0
- package/build/legacy/components/checkbox/checkbox-icon.cjs +148 -55
- package/build/legacy/components/checkbox/checkbox-icon.cjs.map +1 -1
- package/build/legacy/components/checkbox/checkbox.cjs +136 -43
- package/build/legacy/components/checkbox/checkbox.cjs.map +1 -1
- package/build/legacy/components/checkbox/index.cjs +136 -43
- package/build/legacy/components/checkbox/index.cjs.map +1 -1
- package/build/legacy/components/checkbox/index.d.cts +6 -0
- package/build/legacy/components/checkbox/parts.cjs +134 -41
- package/build/legacy/components/checkbox/parts.cjs.map +1 -1
- package/build/legacy/components/checkbox/primitives.cjs +134 -41
- package/build/legacy/components/checkbox/primitives.cjs.map +1 -1
- package/build/legacy/components/checkbox/primitives.d.cts +6 -0
- package/build/legacy/components/circular-progress/circular-progress.cjs +188 -0
- package/build/legacy/components/circular-progress/circular-progress.cjs.map +1 -0
- package/build/legacy/components/circular-progress/circular-progress.d.cts +2 -0
- package/build/legacy/components/circular-progress/index.cjs +202 -0
- package/build/legacy/components/circular-progress/index.cjs.map +1 -0
- package/build/legacy/components/circular-progress/index.d.cts +16 -0
- package/build/legacy/components/circular-progress/primitives.cjs +182 -0
- package/build/legacy/components/circular-progress/primitives.cjs.map +1 -0
- package/build/legacy/components/circular-progress/primitives.d.cts +14 -0
- package/build/legacy/components/combobox/combobox.cjs +208 -135
- package/build/legacy/components/combobox/combobox.cjs.map +1 -1
- package/build/legacy/components/combobox/index.cjs +258 -142
- package/build/legacy/components/combobox/index.cjs.map +1 -1
- package/build/legacy/components/combobox/index.d.cts +14 -0
- package/build/legacy/components/combobox/item-group.cjs +166 -111
- package/build/legacy/components/combobox/item-group.cjs.map +1 -1
- package/build/legacy/components/combobox/item.cjs +166 -111
- package/build/legacy/components/combobox/item.cjs.map +1 -1
- package/build/legacy/components/combobox/parts.cjs +166 -111
- package/build/legacy/components/combobox/parts.cjs.map +1 -1
- package/build/legacy/components/combobox/primitives.cjs +166 -115
- package/build/legacy/components/combobox/primitives.cjs.map +1 -1
- package/build/legacy/components/combobox/primitives.d.cts +14 -0
- package/build/legacy/components/combobox/use-stateful-collection.cjs +157 -0
- package/build/legacy/components/combobox/use-stateful-collection.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/index.cjs +186 -154
- package/build/legacy/components/cta-dialog/index.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/provider.cjs +186 -154
- package/build/legacy/components/cta-dialog/provider.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/trigger-item.cjs +127 -23
- package/build/legacy/components/cta-dialog/trigger-item.cjs.map +1 -1
- package/build/legacy/components/date-picker/calendar.cjs +209 -228
- package/build/legacy/components/date-picker/calendar.cjs.map +1 -1
- package/build/legacy/components/date-picker/calendar.d.cts +1 -0
- package/build/legacy/components/date-picker/content.cjs +156 -156
- package/build/legacy/components/date-picker/content.cjs.map +1 -1
- package/build/legacy/components/date-picker/date-picker.cjs +150 -147
- package/build/legacy/components/date-picker/date-picker.cjs.map +1 -1
- package/build/legacy/components/date-picker/day-view.cjs +177 -193
- package/build/legacy/components/date-picker/day-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/index.cjs +202 -221
- package/build/legacy/components/date-picker/index.cjs.map +1 -1
- package/build/legacy/components/date-picker/index.d.cts +25 -0
- package/build/legacy/components/date-picker/input.cjs +161 -169
- package/build/legacy/components/date-picker/input.cjs.map +1 -1
- package/build/legacy/components/date-picker/month-view.cjs +177 -193
- package/build/legacy/components/date-picker/month-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/parts.cjs +150 -147
- package/build/legacy/components/date-picker/parts.cjs.map +1 -1
- package/build/legacy/components/date-picker/primitives.cjs +150 -147
- package/build/legacy/components/date-picker/primitives.cjs.map +1 -1
- package/build/legacy/components/date-picker/primitives.d.cts +24 -0
- package/build/legacy/components/date-picker/range-input.cjs +157 -165
- package/build/legacy/components/date-picker/range-input.cjs.map +1 -1
- package/build/legacy/components/date-picker/trigger.cjs +161 -169
- package/build/legacy/components/date-picker/trigger.cjs.map +1 -1
- package/build/legacy/components/date-picker/view-control-group.cjs +184 -202
- package/build/legacy/components/date-picker/view-control-group.cjs.map +1 -1
- package/build/legacy/components/date-picker/year-view.cjs +177 -193
- package/build/legacy/components/date-picker/year-view.cjs.map +1 -1
- package/build/legacy/components/deprecated/Label.cjs +155 -8
- package/build/legacy/components/deprecated/Label.cjs.map +1 -1
- package/build/legacy/components/deprecated/Legend.cjs +1 -1
- package/build/legacy/components/deprecated/Legend.cjs.map +1 -1
- package/build/legacy/components/deprecated/NavMenuLink.cjs +1 -1
- package/build/legacy/components/deprecated/NavMenuLink.cjs.map +1 -1
- package/build/legacy/components/deprecated/NavMenuList.cjs +1 -1
- package/build/legacy/components/deprecated/NavMenuList.cjs.map +1 -1
- package/build/legacy/components/deprecated/NavMenuTrigger.cjs +9 -9
- package/build/legacy/components/deprecated/NavMenuTrigger.cjs.map +1 -1
- package/build/legacy/components/deprecated/Notification.cjs +13 -13
- package/build/legacy/components/deprecated/Notification.cjs.map +1 -1
- package/build/legacy/components/deprecated/NotificationDescription.d.cts +1 -1
- package/build/legacy/components/deprecated/NotificationHeading.d.cts +1 -1
- package/build/legacy/components/deprecated/aria-helpers/nav-menu.aria.cjs +36 -0
- package/build/legacy/components/deprecated/aria-helpers/nav-menu.aria.cjs.map +1 -0
- package/build/legacy/components/deprecated/aria-helpers/nav-menu.aria.d.cts +2 -0
- package/build/legacy/components/deprecated/aria-helpers/trap-focus.aria.cjs +54 -0
- package/build/legacy/components/deprecated/aria-helpers/trap-focus.aria.cjs.map +1 -0
- package/build/legacy/components/deprecated/aria-helpers/trap-focus.aria.d.cts +1 -0
- package/build/legacy/components/dialog/close-icon-trigger.cjs +135 -25
- package/build/legacy/components/dialog/close-icon-trigger.cjs.map +1 -1
- package/build/legacy/components/dialog/dialog.cjs +129 -39
- package/build/legacy/components/dialog/dialog.cjs.map +1 -1
- package/build/legacy/components/dialog/index.cjs +137 -88
- package/build/legacy/components/dialog/index.cjs.map +1 -1
- package/build/legacy/components/dialog/index.d.cts +9 -1
- package/build/legacy/components/dialog/parts.cjs +122 -59
- package/build/legacy/components/dialog/parts.cjs.map +1 -1
- package/build/legacy/components/dialog/primitives.cjs +122 -59
- package/build/legacy/components/dialog/primitives.cjs.map +1 -1
- package/build/legacy/components/dialog/primitives.d.cts +9 -1
- package/build/legacy/components/feature-flag/feature-flag.cjs +65 -0
- package/build/legacy/components/feature-flag/feature-flag.cjs.map +1 -0
- package/build/legacy/components/feature-flag/feature-flag.d.cts +2 -0
- package/build/legacy/components/feature-flag/index.cjs +64 -0
- package/build/legacy/components/feature-flag/index.cjs.map +1 -0
- package/build/legacy/components/feature-flag/index.d.cts +2 -0
- package/build/legacy/components/field/error-text.cjs +36 -0
- package/build/legacy/components/field/error-text.cjs.map +1 -0
- package/build/legacy/components/field/error-text.d.cts +1 -0
- package/build/legacy/components/field/field.cjs +176 -63
- package/build/legacy/components/field/field.cjs.map +1 -1
- package/build/legacy/components/field/helper-text.cjs +157 -12
- package/build/legacy/components/field/helper-text.cjs.map +1 -1
- package/build/legacy/components/field/index.cjs +225 -119
- package/build/legacy/components/field/index.cjs.map +1 -1
- package/build/legacy/components/field/index.d.cts +11 -3
- package/build/legacy/components/field/input.cjs +298 -0
- package/build/legacy/components/field/input.cjs.map +1 -0
- package/build/legacy/components/field/input.d.cts +2 -0
- package/build/legacy/components/field/parts.cjs +175 -92
- package/build/legacy/components/field/parts.cjs.map +1 -1
- package/build/legacy/components/field/primitives.cjs +215 -89
- package/build/legacy/components/field/primitives.cjs.map +1 -1
- package/build/legacy/components/field/primitives.d.cts +9 -2
- package/build/legacy/components/fieldset/fieldset.cjs +127 -34
- package/build/legacy/components/fieldset/fieldset.cjs.map +1 -1
- package/build/legacy/components/fieldset/index.cjs +127 -34
- package/build/legacy/components/fieldset/index.cjs.map +1 -1
- package/build/legacy/components/fieldset/index.d.cts +4 -0
- package/build/legacy/components/fieldset/parts.cjs +127 -34
- package/build/legacy/components/fieldset/parts.cjs.map +1 -1
- package/build/legacy/components/fieldset/primitives.cjs +127 -34
- package/build/legacy/components/fieldset/primitives.cjs.map +1 -1
- package/build/legacy/components/fieldset/primitives.d.cts +4 -0
- package/build/legacy/components/file-upload/file-status.cjs +570 -0
- package/build/legacy/components/file-upload/file-status.cjs.map +1 -0
- package/build/legacy/components/file-upload/file-status.d.cts +6 -0
- package/build/legacy/components/file-upload/file-uploader.cjs +286 -0
- package/build/legacy/components/file-upload/file-uploader.cjs.map +1 -0
- package/build/legacy/components/file-upload/file-uploader.d.cts +2 -0
- package/build/legacy/components/file-upload/index.cjs +627 -0
- package/build/legacy/components/file-upload/index.cjs.map +1 -0
- package/build/legacy/components/file-upload/index.d.cts +8 -0
- package/build/legacy/components/for/for.cjs +38 -0
- package/build/legacy/components/for/for.cjs.map +1 -0
- package/build/legacy/components/for/for.d.cts +2 -0
- package/build/legacy/components/for/index.cjs +40 -0
- package/build/legacy/components/for/index.cjs.map +1 -0
- package/build/legacy/components/for/index.d.cts +2 -0
- package/build/legacy/components/icon-button/button.cjs +157 -0
- package/build/legacy/components/icon-button/button.cjs.map +1 -0
- package/build/legacy/components/icon-button/button.d.cts +2 -0
- package/build/legacy/components/icon-button/index.cjs +159 -0
- package/build/legacy/components/icon-button/index.cjs.map +1 -0
- package/build/legacy/components/icon-button/index.d.cts +4 -0
- package/build/legacy/components/icon-button/primitives.cjs +148 -0
- package/build/legacy/components/icon-button/primitives.cjs.map +1 -0
- package/build/legacy/components/icon-button/primitives.d.cts +2 -0
- package/build/legacy/components/menu/index.cjs +220 -0
- package/build/legacy/components/menu/index.cjs.map +1 -0
- package/build/legacy/components/menu/index.d.cts +27 -0
- package/build/legacy/components/menu/menu.cjs +200 -0
- package/build/legacy/components/menu/menu.cjs.map +1 -0
- package/build/legacy/components/menu/menu.d.cts +7 -0
- package/build/legacy/components/menu/primitives.cjs +190 -0
- package/build/legacy/components/menu/primitives.cjs.map +1 -0
- package/build/legacy/components/menu/primitives.d.cts +20 -0
- package/build/legacy/components/notifications/center.cjs +144 -64
- package/build/legacy/components/notifications/center.cjs.map +1 -1
- package/build/legacy/components/notifications/close-trigger.cjs +128 -36
- package/build/legacy/components/notifications/close-trigger.cjs.map +1 -1
- package/build/legacy/components/notifications/index.cjs +140 -62
- package/build/legacy/components/notifications/index.cjs.map +1 -1
- package/build/legacy/components/notifications/index.d.cts +6 -0
- package/build/legacy/components/notifications/match-icon.cjs +2 -2
- package/build/legacy/components/notifications/match-icon.cjs.map +1 -1
- package/build/legacy/components/notifications/parts.cjs +128 -36
- package/build/legacy/components/notifications/parts.cjs.map +1 -1
- package/build/legacy/components/notifications/primitives.cjs +129 -39
- package/build/legacy/components/notifications/primitives.cjs.map +1 -1
- package/build/legacy/components/notifications/primitives.d.cts +6 -0
- package/build/legacy/components/portal/index.cjs +34 -0
- package/build/legacy/components/portal/index.cjs.map +1 -0
- package/build/legacy/components/portal/index.d.cts +2 -0
- package/build/legacy/components/portal/portal.cjs +32 -0
- package/build/legacy/components/portal/portal.cjs.map +1 -0
- package/build/legacy/components/portal/portal.d.cts +2 -0
- package/build/legacy/components/progress/index.cjs +194 -0
- package/build/legacy/components/progress/index.cjs.map +1 -0
- package/build/legacy/components/progress/index.d.cts +8 -0
- package/build/legacy/components/progress/primitives.cjs +164 -0
- package/build/legacy/components/progress/primitives.cjs.map +1 -0
- package/build/legacy/components/progress/primitives.d.cts +4 -0
- package/build/legacy/components/progress/progress-bar.cjs +190 -0
- package/build/legacy/components/progress/progress-bar.cjs.map +1 -0
- package/build/legacy/components/progress/progress-bar.d.cts +4 -0
- package/build/legacy/components/radio/index.cjs +136 -64
- package/build/legacy/components/radio/index.cjs.map +1 -1
- package/build/legacy/components/radio/index.d.cts +7 -0
- package/build/legacy/components/radio/parts.cjs +136 -64
- package/build/legacy/components/radio/parts.cjs.map +1 -1
- package/build/legacy/components/radio/primitives.cjs +136 -64
- package/build/legacy/components/radio/primitives.cjs.map +1 -1
- package/build/legacy/components/radio/primitives.d.cts +7 -0
- package/build/legacy/components/radio/radio.cjs +136 -33
- package/build/legacy/components/radio/radio.cjs.map +1 -1
- package/build/legacy/components/rating/index.cjs +131 -50
- package/build/legacy/components/rating/index.cjs.map +1 -1
- package/build/legacy/components/rating/index.d.cts +7 -0
- package/build/legacy/components/rating/parts.cjs +130 -49
- package/build/legacy/components/rating/parts.cjs.map +1 -1
- package/build/legacy/components/rating/primitives.cjs +130 -49
- package/build/legacy/components/rating/primitives.cjs.map +1 -1
- package/build/legacy/components/rating/primitives.d.cts +7 -0
- package/build/legacy/components/rating/rating.cjs +131 -50
- package/build/legacy/components/rating/rating.cjs.map +1 -1
- package/build/legacy/components/select/index.cjs +175 -121
- package/build/legacy/components/select/index.cjs.map +1 -1
- package/build/legacy/components/select/index.d.cts +17 -3
- package/build/legacy/components/select/option-group.cjs +157 -18
- package/build/legacy/components/select/option-group.cjs.map +1 -1
- package/build/legacy/components/select/option.cjs +237 -0
- package/build/legacy/components/select/option.cjs.map +1 -0
- package/build/legacy/components/select/option.d.cts +2 -0
- package/build/legacy/components/select/parts.cjs +154 -95
- package/build/legacy/components/select/parts.cjs.map +1 -1
- package/build/legacy/components/select/primitives.cjs +154 -95
- package/build/legacy/components/select/primitives.cjs.map +1 -1
- package/build/legacy/components/select/primitives.d.cts +16 -1
- package/build/legacy/components/select/select.cjs +171 -126
- package/build/legacy/components/select/select.cjs.map +1 -1
- package/build/legacy/components/select/select.d.cts +0 -3
- package/build/legacy/components/show/index.cjs +43 -0
- package/build/legacy/components/show/index.cjs.map +1 -0
- package/build/legacy/components/show/index.d.cts +2 -0
- package/build/legacy/components/show/show.cjs +41 -0
- package/build/legacy/components/show/show.cjs.map +1 -0
- package/build/legacy/components/show/show.d.cts +2 -0
- package/build/legacy/components/spinner/index.cjs +107 -0
- package/build/legacy/components/spinner/index.cjs.map +1 -0
- package/build/legacy/components/spinner/index.d.cts +2 -0
- package/build/legacy/components/spinner/spinner.cjs +105 -0
- package/build/legacy/components/spinner/spinner.cjs.map +1 -0
- package/build/legacy/components/spinner/spinner.d.cts +2 -0
- package/build/legacy/components/switch/index.cjs +127 -30
- package/build/legacy/components/switch/index.cjs.map +1 -1
- package/build/legacy/components/switch/index.d.cts +5 -1
- package/build/legacy/components/switch/parts.cjs +127 -30
- package/build/legacy/components/switch/parts.cjs.map +1 -1
- package/build/legacy/components/switch/primitives.cjs +127 -30
- package/build/legacy/components/switch/primitives.cjs.map +1 -1
- package/build/legacy/components/switch/primitives.d.cts +5 -0
- package/build/legacy/components/switch/switch.cjs +127 -30
- package/build/legacy/components/switch/switch.cjs.map +1 -1
- package/build/legacy/components/switch/switch.d.cts +0 -1
- package/build/legacy/components/table/index.cjs +173 -120
- package/build/legacy/components/table/index.cjs.map +1 -1
- package/build/legacy/components/table/index.d.cts +11 -0
- package/build/legacy/components/table/parts.cjs +172 -119
- package/build/legacy/components/table/parts.cjs.map +1 -1
- package/build/legacy/components/table/primitives.cjs +172 -119
- package/build/legacy/components/table/primitives.cjs.map +1 -1
- package/build/legacy/components/table/primitives.d.cts +10 -0
- package/build/legacy/components/table/table.cjs +173 -120
- package/build/legacy/components/table/table.cjs.map +1 -1
- package/build/legacy/components/table/table.d.cts +1 -0
- package/build/legacy/components/tabs/index.cjs +125 -31
- package/build/legacy/components/tabs/index.cjs.map +1 -1
- package/build/legacy/components/tabs/index.d.cts +5 -0
- package/build/legacy/components/tabs/parts.cjs +125 -31
- package/build/legacy/components/tabs/parts.cjs.map +1 -1
- package/build/legacy/components/tabs/primitives.cjs +125 -31
- package/build/legacy/components/tabs/primitives.cjs.map +1 -1
- package/build/legacy/components/tabs/primitives.d.cts +5 -0
- package/build/legacy/components/tabs/tabs.cjs +125 -31
- package/build/legacy/components/tabs/tabs.cjs.map +1 -1
- package/build/legacy/components/tag/index.cjs +234 -0
- package/build/legacy/components/tag/index.cjs.map +1 -0
- package/build/legacy/components/tag/index.d.cts +4 -0
- package/build/legacy/components/tag/tag.cjs +233 -0
- package/build/legacy/components/tag/tag.cjs.map +1 -0
- package/build/legacy/components/tag/tag.d.cts +4 -0
- package/build/legacy/components/text/index.cjs +55 -0
- package/build/legacy/components/text/index.cjs.map +1 -0
- package/build/legacy/components/text/index.d.cts +4 -0
- package/build/legacy/components/text/text.cjs +53 -0
- package/build/legacy/components/text/text.cjs.map +1 -0
- package/build/legacy/components/text/text.d.cts +4 -0
- package/build/legacy/components/theme/index.cjs +185 -0
- package/build/legacy/components/theme/index.cjs.map +1 -0
- package/build/legacy/components/theme/index.d.cts +2 -0
- package/build/legacy/components/theme/theme.cjs +185 -0
- package/build/legacy/components/theme/theme.cjs.map +1 -0
- package/build/legacy/components/theme/theme.d.cts +2 -0
- package/build/legacy/components/toggle/index.cjs +117 -5
- package/build/legacy/components/toggle/index.cjs.map +1 -1
- package/build/legacy/components/toggle/index.d.cts +2 -0
- package/build/legacy/components/toggle/parts.cjs +117 -5
- package/build/legacy/components/toggle/parts.cjs.map +1 -1
- package/build/legacy/components/toggle/primitives.cjs +117 -5
- package/build/legacy/components/toggle/primitives.cjs.map +1 -1
- package/build/legacy/components/toggle/primitives.d.cts +2 -0
- package/build/legacy/components/tooltip/index.cjs +213 -0
- package/build/legacy/components/tooltip/index.cjs.map +1 -0
- package/build/legacy/components/tooltip/index.d.cts +15 -0
- package/build/legacy/components/tooltip/parts.cjs +183 -0
- package/build/legacy/components/tooltip/parts.cjs.map +1 -0
- package/build/legacy/components/tooltip/parts.d.cts +1 -0
- package/build/legacy/components/tooltip/primitives.cjs +181 -0
- package/build/legacy/components/tooltip/primitives.cjs.map +1 -0
- package/build/legacy/components/tooltip/primitives.d.cts +12 -0
- package/build/legacy/components/tooltip/tooltip.cjs +199 -0
- package/build/legacy/components/tooltip/tooltip.cjs.map +1 -0
- package/build/legacy/components/tooltip/tooltip.d.cts +2 -0
- package/build/legacy/context/confirm-modal.cjs +171 -130
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/field.cjs +161 -17
- package/build/legacy/context/field.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs +275 -208
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/hooks/useRootColors.cjs +2 -2
- package/build/legacy/hooks/useRootColors.cjs.map +1 -1
- package/build/legacy/index.cjs +1499 -1974
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +213 -17
- package/build/legacy/system/factory.cjs +167 -0
- package/build/legacy/system/factory.cjs.map +1 -0
- package/build/legacy/system/factory.d.cts +1 -0
- package/build/legacy/system/index.cjs +170 -0
- package/build/legacy/system/index.cjs.map +1 -0
- package/build/legacy/system/index.d.cts +12 -0
- package/build/legacy/system/primitive-factory.cjs +135 -0
- package/build/legacy/system/primitive-factory.cjs.map +1 -0
- package/build/legacy/system/primitive-factory.d.cts +1 -0
- package/build/legacy/system/types.cjs +19 -0
- package/build/legacy/system/types.cjs.map +1 -0
- package/build/legacy/system/types.d.cts +10 -0
- package/build/modern/_tsup-dts-rollup.d.ts +2429 -790
- package/build/modern/chunk-24FZWSGV.js +18 -0
- package/build/modern/chunk-24FZWSGV.js.map +1 -0
- package/build/modern/chunk-26VVDQAY.js +34 -0
- package/build/modern/chunk-26VVDQAY.js.map +1 -0
- package/build/modern/chunk-34U4QQ3I.js +1 -0
- package/build/modern/chunk-3RPBRD5W.js +1 -0
- package/build/modern/chunk-3WTLKTIL.js +39 -0
- package/build/modern/chunk-3WTLKTIL.js.map +1 -0
- package/build/modern/chunk-3XA6Y4S4.js +49 -0
- package/build/modern/chunk-3XA6Y4S4.js.map +1 -0
- package/build/modern/chunk-4FRIJ5VV.js +14 -0
- package/build/modern/chunk-4FRIJ5VV.js.map +1 -0
- package/build/modern/chunk-4LBGIGNJ.js +15 -0
- package/build/modern/chunk-4NW7Q2VS.js +21 -0
- package/build/modern/chunk-4TQO7LCB.js +44 -0
- package/build/modern/chunk-4TQO7LCB.js.map +1 -0
- package/build/modern/chunk-4XTYDXVV.js +48 -0
- package/build/modern/chunk-4XTYDXVV.js.map +1 -0
- package/build/modern/chunk-56YCKMC2.js +21 -0
- package/build/modern/chunk-5CG7URT6.js +19 -0
- package/build/modern/chunk-5CG7URT6.js.map +1 -0
- package/build/modern/chunk-5IMS6G4G.js +1 -0
- package/build/modern/chunk-6LH6MOXD.js +25 -0
- package/build/modern/chunk-6QWS7HII.js +47 -0
- package/build/modern/chunk-6W6QY3XG.js +23 -0
- package/build/modern/chunk-6W6QY3XG.js.map +1 -0
- package/build/modern/chunk-75VWN4C7.js +81 -0
- package/build/modern/chunk-75VWN4C7.js.map +1 -0
- package/build/modern/chunk-7F4AOCTU.js +22 -0
- package/build/modern/chunk-7F4AOCTU.js.map +1 -0
- package/build/modern/chunk-7PTAPZOO.js +26 -0
- package/build/modern/chunk-7PTAPZOO.js.map +1 -0
- package/build/modern/chunk-AAWEAXIA.js +15 -0
- package/build/modern/chunk-APDQJ7MW.js +41 -0
- package/build/modern/chunk-APDQJ7MW.js.map +1 -0
- package/build/modern/chunk-B4GBNIU7.js +1 -0
- package/build/modern/chunk-B4X5H2QZ.js +46 -0
- package/build/modern/chunk-B4X5H2QZ.js.map +1 -0
- package/build/modern/chunk-BCN2E47W.js +41 -0
- package/build/modern/chunk-BCN2E47W.js.map +1 -0
- package/build/modern/chunk-BF2IDJMZ.js +37 -0
- package/build/modern/chunk-BF2IDJMZ.js.map +1 -0
- package/build/modern/chunk-BFV463NP.js +27 -0
- package/build/modern/chunk-C3FEINCR.js +12 -0
- package/build/modern/chunk-C3FEINCR.js.map +1 -0
- package/build/modern/chunk-CIKCQHPC.js +20 -0
- package/build/modern/chunk-CIKCQHPC.js.map +1 -0
- package/build/modern/chunk-CKLLERV7.js +21 -0
- package/build/modern/chunk-D2TQPEZQ.js +13 -0
- package/build/modern/chunk-D2TQPEZQ.js.map +1 -0
- package/build/modern/chunk-DJCPF4JA.js +77 -0
- package/build/modern/chunk-DJCPF4JA.js.map +1 -0
- package/build/modern/chunk-DUCW5X4Y.js +23 -0
- package/build/modern/chunk-DUFKXBQT.js +22 -0
- package/build/modern/chunk-DWKGFNTK.js +15 -0
- package/build/modern/chunk-E2AW2N7Q.js +33 -0
- package/build/modern/chunk-EALORWDQ.js +126 -0
- package/build/modern/chunk-EALORWDQ.js.map +1 -0
- package/build/modern/chunk-EPIO6H3A.js +18 -0
- package/build/modern/chunk-EZTDGHEX.js +1 -0
- package/build/modern/chunk-F45WBSRP.js +215 -0
- package/build/modern/chunk-F45WBSRP.js.map +1 -0
- package/build/modern/chunk-FRT3VY4M.js +22 -0
- package/build/modern/chunk-FRT3VY4M.js.map +1 -0
- package/build/modern/chunk-G4CDF7LY.js +15 -0
- package/build/modern/chunk-G4CDF7LY.js.map +1 -0
- package/build/modern/chunk-GPGFQNJ6.js +21 -0
- package/build/modern/chunk-GZ6T3352.js +109 -0
- package/build/modern/chunk-GZ6T3352.js.map +1 -0
- package/build/modern/chunk-GZXW3JIW.js +41 -0
- package/build/modern/chunk-HBS3B3SE.js +33 -0
- package/build/modern/chunk-HHY26N7O.js +20 -0
- package/build/modern/chunk-HHY26N7O.js.map +1 -0
- package/build/modern/chunk-IX7BYPTS.js +29 -0
- package/build/modern/chunk-IX7BYPTS.js.map +1 -0
- package/build/modern/chunk-JFWPJXFF.js +33 -0
- package/build/modern/chunk-JFWPJXFF.js.map +1 -0
- package/build/modern/chunk-JHCKXQEK.js +27 -0
- package/build/modern/chunk-JHCKXQEK.js.map +1 -0
- package/build/modern/chunk-JIXUOTH4.js +1 -0
- package/build/modern/chunk-JLMHKTPI.js +27 -0
- package/build/modern/chunk-JLMHKTPI.js.map +1 -0
- package/build/modern/chunk-JPWFSCTC.js +80 -0
- package/build/modern/chunk-JPWFSCTC.js.map +1 -0
- package/build/modern/chunk-JQNVN6R6.js +42 -0
- package/build/modern/chunk-JQNVN6R6.js.map +1 -0
- package/build/modern/chunk-JVWOAPWY.js +70 -0
- package/build/modern/chunk-JVWOAPWY.js.map +1 -0
- package/build/modern/chunk-JYWTA3OZ.js +18 -0
- package/build/modern/chunk-JYWTA3OZ.js.map +1 -0
- package/build/modern/chunk-KIKGNZ2H.js +86 -0
- package/build/modern/chunk-KIKGNZ2H.js.map +1 -0
- package/build/modern/chunk-KJYL3RJ2.js +42 -0
- package/build/modern/chunk-KJYL3RJ2.js.map +1 -0
- package/build/modern/chunk-KOVD3FG7.js +87 -0
- package/build/modern/chunk-KOVD3FG7.js.map +1 -0
- package/build/modern/chunk-KRTXDJ4S.js +43 -0
- package/build/modern/chunk-KRTXDJ4S.js.map +1 -0
- package/build/modern/chunk-KTTGGO72.js +35 -0
- package/build/modern/chunk-KTTGGO72.js.map +1 -0
- package/build/modern/chunk-KUR42DQQ.js +25 -0
- package/build/modern/chunk-KUTKPR3G.js +22 -0
- package/build/modern/chunk-KUTKPR3G.js.map +1 -0
- package/build/modern/chunk-L3V6I7YH.js +35 -0
- package/build/modern/chunk-L3V6I7YH.js.map +1 -0
- package/build/modern/chunk-L654KDXH.js +37 -0
- package/build/modern/chunk-L654KDXH.js.map +1 -0
- package/build/modern/chunk-LRHHDORZ.js +1 -0
- package/build/modern/chunk-LWOV3N62.js +31 -0
- package/build/modern/chunk-LWOV3N62.js.map +1 -0
- package/build/modern/chunk-MBZHMWPR.js +94 -0
- package/build/modern/chunk-MBZHMWPR.js.map +1 -0
- package/build/modern/chunk-MS7LB3BL.js +86 -0
- package/build/modern/chunk-MS7LB3BL.js.map +1 -0
- package/build/modern/chunk-MW2BVQ5A.js +64 -0
- package/build/modern/chunk-MW2BVQ5A.js.map +1 -0
- package/build/modern/chunk-NAPG6OWJ.js +41 -0
- package/build/modern/chunk-NAPG6OWJ.js.map +1 -0
- package/build/modern/chunk-NE6TEVH2.js +67 -0
- package/build/modern/chunk-NE6TEVH2.js.map +1 -0
- package/build/modern/chunk-NUXMADXV.js +17 -0
- package/build/modern/chunk-NUXMADXV.js.map +1 -0
- package/build/modern/chunk-NZBKI6AF.js +42 -0
- package/build/modern/chunk-NZBKI6AF.js.map +1 -0
- package/build/modern/chunk-NZP3XQNQ.js +1 -0
- package/build/modern/chunk-NZZS2A53.js +37 -0
- package/build/modern/chunk-OCK4XVNE.js +24 -0
- package/build/modern/chunk-OCK4XVNE.js.map +1 -0
- package/build/modern/chunk-OKU736EK.js +17 -0
- package/build/modern/chunk-OQN4HVLQ.js +38 -0
- package/build/modern/chunk-P3EIOH5D.js +30 -0
- package/build/modern/chunk-P3EIOH5D.js.map +1 -0
- package/build/modern/chunk-P4GJKPNL.js +21 -0
- package/build/modern/chunk-PAQ6YQ7Y.js +1 -0
- package/build/modern/chunk-PLPYBCZQ.js +8 -0
- package/build/modern/chunk-PLPYBCZQ.js.map +1 -0
- package/build/modern/chunk-Q2MJ7JRM.js +22 -0
- package/build/modern/chunk-Q4CS3AKY.js +1 -0
- package/build/modern/chunk-QHV4IK52.js +27 -0
- package/build/modern/chunk-QHV4IK52.js.map +1 -0
- package/build/modern/chunk-QTV75ATT.js +12 -0
- package/build/modern/chunk-QTV75ATT.js.map +1 -0
- package/build/modern/chunk-QULAH262.js +27 -0
- package/build/modern/chunk-QULAH262.js.map +1 -0
- package/build/modern/chunk-QUOJS5LL.js +81 -0
- package/build/modern/chunk-QUOJS5LL.js.map +1 -0
- package/build/modern/chunk-QZ5BIUMH.js +226 -0
- package/build/modern/chunk-QZ5BIUMH.js.map +1 -0
- package/build/modern/chunk-RIBBTTT4.js +36 -0
- package/build/modern/chunk-RIBBTTT4.js.map +1 -0
- package/build/modern/chunk-RJGEKVHZ.js +59 -0
- package/build/modern/chunk-RMEVOJ2E.js +1 -0
- package/build/modern/chunk-SFQIENJB.js +40 -0
- package/build/modern/chunk-SFQIENJB.js.map +1 -0
- package/build/modern/chunk-SQRFRBDB.js +48 -0
- package/build/modern/chunk-SQRFRBDB.js.map +1 -0
- package/build/modern/chunk-T5TX5YHC.js +25 -0
- package/build/modern/chunk-T5TX5YHC.js.map +1 -0
- package/build/modern/chunk-TCACYLCL.js +40 -0
- package/build/modern/chunk-TCACYLCL.js.map +1 -0
- package/build/modern/chunk-TGCKJHEE.js +52 -0
- package/build/modern/chunk-TGCKJHEE.js.map +1 -0
- package/build/modern/chunk-TLRRDNS3.js +1 -0
- package/build/modern/chunk-TOXQSWPN.js +49 -0
- package/build/modern/chunk-TOXQSWPN.js.map +1 -0
- package/build/modern/chunk-TQB6U3JH.js +24 -0
- package/build/modern/chunk-TQB6U3JH.js.map +1 -0
- package/build/modern/chunk-TTWDHJ3J.js +38 -0
- package/build/modern/chunk-TTWDHJ3J.js.map +1 -0
- package/build/modern/chunk-TVSVKDWV.js +14 -0
- package/build/modern/chunk-TVSVKDWV.js.map +1 -0
- package/build/modern/chunk-TXV55LWL.js +23 -0
- package/build/modern/chunk-TXV55LWL.js.map +1 -0
- package/build/modern/chunk-ULKVI2EH.js +40 -0
- package/build/modern/chunk-ULKVI2EH.js.map +1 -0
- package/build/modern/chunk-UWNLOY27.js +22 -0
- package/build/modern/chunk-UWNLOY27.js.map +1 -0
- package/build/modern/chunk-V3LIZS3V.js +62 -0
- package/build/modern/chunk-V3LIZS3V.js.map +1 -0
- package/build/modern/chunk-VB5XZZKE.js +23 -0
- package/build/modern/chunk-VKL3CMI3.js +19 -0
- package/build/modern/chunk-VKL3CMI3.js.map +1 -0
- package/build/modern/chunk-VOVGPV7G.js +31 -0
- package/build/modern/chunk-VOVGPV7G.js.map +1 -0
- package/build/modern/chunk-VPD3PPBW.js +41 -0
- package/build/modern/chunk-VPD3PPBW.js.map +1 -0
- package/build/modern/chunk-VQ3NO6IC.js +36 -0
- package/build/modern/chunk-VQ3NO6IC.js.map +1 -0
- package/build/modern/chunk-VT6DJ2VM.js +1 -0
- package/build/modern/chunk-WC5DERNW.js +43 -0
- package/build/modern/chunk-WC5DERNW.js.map +1 -0
- package/build/modern/chunk-WC75SKFH.js +21 -0
- package/build/modern/chunk-WJHG3ZFR.js +35 -0
- package/build/modern/chunk-WJHG3ZFR.js.map +1 -0
- package/build/modern/chunk-WJW4FF4J.js +1 -0
- package/build/modern/chunk-WN2WTSWG.js +31 -0
- package/build/modern/chunk-WRKDPEIM.js +182 -0
- package/build/modern/chunk-WRKDPEIM.js.map +1 -0
- package/build/modern/chunk-X5LBBTCV.js +1 -0
- package/build/modern/chunk-X627G6B3.js +22 -0
- package/build/modern/chunk-X627G6B3.js.map +1 -0
- package/build/modern/chunk-X7JS25IL.js +19 -0
- package/build/modern/chunk-XDMGFB6Q.js +1 -0
- package/build/modern/chunk-XNER5INS.js +35 -0
- package/build/modern/chunk-XNER5INS.js.map +1 -0
- package/build/modern/chunk-YJR4NLDB.js +14 -0
- package/build/modern/chunk-YJR4NLDB.js.map +1 -0
- package/build/modern/chunk-ZLHQYCL3.js +45 -0
- package/build/modern/chunk-ZLHQYCL3.js.map +1 -0
- package/build/modern/components/accordion/index.d.ts +5 -0
- package/build/modern/components/accordion/index.js +9 -5
- package/build/modern/components/accordion/item-group.js +9 -5
- package/build/modern/components/accordion/item-indicator.js +6 -3
- package/build/modern/components/accordion/parts.js +5 -2
- package/build/modern/components/accordion/primitives.d.ts +5 -0
- package/build/modern/components/accordion/primitives.js +4 -1
- package/build/modern/components/admonition/admonition.js +12 -8
- package/build/modern/components/admonition/index.d.ts +5 -0
- package/build/modern/components/admonition/index.js +12 -8
- package/build/modern/components/admonition/match-avatar.js +9 -5
- package/build/modern/components/admonition/parts.js +5 -2
- package/build/modern/components/admonition/primitives.d.ts +5 -0
- package/build/modern/components/admonition/primitives.js +4 -1
- package/build/modern/components/avatar/avatar.js +8 -4
- package/build/modern/components/avatar/index.d.ts +3 -0
- package/build/modern/components/avatar/index.js +8 -4
- package/build/modern/components/avatar/parts.js +5 -2
- package/build/modern/components/avatar/primitives.d.ts +3 -0
- package/build/modern/components/avatar/primitives.js +4 -1
- package/build/modern/components/button/button.js +9 -3
- package/build/modern/components/button/index.js +10 -4
- package/build/modern/components/button/parts.js +10 -4
- package/build/modern/components/button/primitives.d.ts +1 -0
- package/build/modern/components/button/primitives.js +10 -0
- package/build/modern/components/checkbox/checkbox-icon.js +8 -4
- package/build/modern/components/checkbox/checkbox.js +11 -6
- package/build/modern/components/checkbox/index.d.ts +6 -0
- package/build/modern/components/checkbox/index.js +11 -6
- package/build/modern/components/checkbox/parts.js +5 -2
- package/build/modern/components/checkbox/primitives.d.ts +6 -0
- package/build/modern/components/checkbox/primitives.js +4 -1
- package/build/modern/components/circular-progress/circular-progress.d.ts +2 -0
- package/build/modern/components/circular-progress/circular-progress.js +11 -0
- package/build/modern/components/circular-progress/circular-progress.js.map +1 -0
- package/build/modern/components/circular-progress/index.d.ts +16 -0
- package/build/modern/components/circular-progress/index.js +27 -0
- package/build/modern/components/circular-progress/index.js.map +1 -0
- package/build/modern/components/circular-progress/primitives.d.ts +14 -0
- package/build/modern/components/circular-progress/primitives.js +22 -0
- package/build/modern/components/circular-progress/primitives.js.map +1 -0
- package/build/modern/components/combobox/combobox.js +12 -5
- package/build/modern/components/combobox/index.d.ts +14 -0
- package/build/modern/components/combobox/index.js +16 -9
- package/build/modern/components/combobox/item-group.js +6 -3
- package/build/modern/components/combobox/item.js +6 -3
- package/build/modern/components/combobox/parts.js +5 -2
- package/build/modern/components/combobox/primitives.d.ts +14 -0
- package/build/modern/components/combobox/primitives.js +4 -1
- package/build/modern/components/combobox/use-stateful-collection.js +5 -2
- package/build/modern/components/cta-dialog/index.js +25 -15
- package/build/modern/components/cta-dialog/provider.js +25 -15
- package/build/modern/components/cta-dialog/trigger-item.js +10 -4
- package/build/modern/components/date-picker/calendar.d.ts +1 -0
- package/build/modern/components/date-picker/calendar.js +22 -13
- package/build/modern/components/date-picker/content.js +8 -4
- package/build/modern/components/date-picker/date-picker.js +6 -3
- package/build/modern/components/date-picker/day-view.js +16 -8
- package/build/modern/components/date-picker/index.d.ts +25 -0
- package/build/modern/components/date-picker/index.js +26 -17
- package/build/modern/components/date-picker/input.js +10 -5
- package/build/modern/components/date-picker/month-view.js +16 -8
- package/build/modern/components/date-picker/parts.js +5 -2
- package/build/modern/components/date-picker/primitives.d.ts +24 -0
- package/build/modern/components/date-picker/primitives.js +4 -1
- package/build/modern/components/date-picker/range-input.js +10 -5
- package/build/modern/components/date-picker/trigger.js +9 -4
- package/build/modern/components/date-picker/view-control-group.js +15 -7
- package/build/modern/components/date-picker/year-view.js +16 -8
- package/build/modern/components/deprecated/Label.js +11 -6
- package/build/modern/components/deprecated/Legend.js +3 -2
- package/build/modern/components/deprecated/NavMenuLink.js +3 -2
- package/build/modern/components/deprecated/NavMenuList.js +3 -2
- package/build/modern/components/deprecated/NavMenuTrigger.js +4 -3
- package/build/modern/components/deprecated/Notification.js +3 -3
- package/build/modern/components/deprecated/Notification.js.map +1 -1
- package/build/modern/components/deprecated/NotificationDescription.d.ts +1 -1
- package/build/modern/components/deprecated/NotificationHeading.d.ts +1 -1
- package/build/modern/components/deprecated/aria-helpers/nav-menu.aria.d.ts +2 -0
- package/build/modern/components/deprecated/aria-helpers/nav-menu.aria.js +7 -0
- package/build/modern/components/deprecated/aria-helpers/nav-menu.aria.js.map +1 -0
- package/build/modern/components/deprecated/aria-helpers/trap-focus.aria.d.ts +1 -0
- package/build/modern/components/deprecated/aria-helpers/trap-focus.aria.js +7 -0
- package/build/modern/components/deprecated/aria-helpers/trap-focus.aria.js.map +1 -0
- package/build/modern/components/dialog/close-icon-trigger.js +8 -3
- package/build/modern/components/dialog/dialog.js +7 -3
- package/build/modern/components/dialog/index.d.ts +9 -1
- package/build/modern/components/dialog/index.js +12 -6
- package/build/modern/components/dialog/parts.js +5 -2
- package/build/modern/components/dialog/primitives.d.ts +9 -1
- package/build/modern/components/dialog/primitives.js +4 -1
- package/build/modern/components/feature-flag/feature-flag.d.ts +2 -0
- package/build/modern/components/feature-flag/feature-flag.js +11 -0
- package/build/modern/components/feature-flag/feature-flag.js.map +1 -0
- package/build/modern/components/feature-flag/index.d.ts +2 -0
- package/build/modern/components/feature-flag/index.js +11 -0
- package/build/modern/components/feature-flag/index.js.map +1 -0
- package/build/modern/components/field/error-text.d.ts +1 -0
- package/build/modern/components/field/error-text.js +7 -0
- package/build/modern/components/field/error-text.js.map +1 -0
- package/build/modern/components/field/field.js +9 -4
- package/build/modern/components/field/helper-text.js +8 -2
- package/build/modern/components/field/index.d.ts +11 -3
- package/build/modern/components/field/index.js +14 -7
- package/build/modern/components/field/input.d.ts +2 -0
- package/build/modern/components/field/input.js +16 -0
- package/build/modern/components/field/input.js.map +1 -0
- package/build/modern/components/field/parts.js +8 -2
- package/build/modern/components/field/primitives.d.ts +9 -2
- package/build/modern/components/field/primitives.js +9 -1
- package/build/modern/components/fieldset/fieldset.js +6 -3
- package/build/modern/components/fieldset/index.d.ts +4 -0
- package/build/modern/components/fieldset/index.js +6 -3
- package/build/modern/components/fieldset/parts.js +5 -2
- package/build/modern/components/fieldset/primitives.d.ts +4 -0
- package/build/modern/components/fieldset/primitives.js +4 -1
- package/build/modern/components/file-upload/file-status.d.ts +6 -0
- package/build/modern/components/file-upload/file-status.js +35 -0
- package/build/modern/components/file-upload/file-status.js.map +1 -0
- package/build/modern/components/file-upload/file-uploader.d.ts +2 -0
- package/build/modern/components/file-upload/file-uploader.js +19 -0
- package/build/modern/components/file-upload/file-uploader.js.map +1 -0
- package/build/modern/components/file-upload/index.d.ts +8 -0
- package/build/modern/components/file-upload/index.js +39 -0
- package/build/modern/components/file-upload/index.js.map +1 -0
- package/build/modern/components/for/for.d.ts +2 -0
- package/build/modern/components/for/for.js +7 -0
- package/build/modern/components/for/for.js.map +1 -0
- package/build/modern/components/for/index.d.ts +2 -0
- package/build/modern/components/for/index.js +8 -0
- package/build/modern/components/for/index.js.map +1 -0
- package/build/modern/components/icon-button/button.d.ts +2 -0
- package/build/modern/components/icon-button/button.js +11 -0
- package/build/modern/components/icon-button/button.js.map +1 -0
- package/build/modern/components/icon-button/index.d.ts +4 -0
- package/build/modern/components/icon-button/index.js +15 -0
- package/build/modern/components/icon-button/index.js.map +1 -0
- package/build/modern/components/icon-button/primitives.d.ts +2 -0
- package/build/modern/components/icon-button/primitives.js +10 -0
- package/build/modern/components/icon-button/primitives.js.map +1 -0
- package/build/modern/components/menu/index.d.ts +27 -0
- package/build/modern/components/menu/index.js +45 -0
- package/build/modern/components/menu/index.js.map +1 -0
- package/build/modern/components/menu/menu.d.ts +7 -0
- package/build/modern/components/menu/menu.js +23 -0
- package/build/modern/components/menu/menu.js.map +1 -0
- package/build/modern/components/menu/primitives.d.ts +20 -0
- package/build/modern/components/menu/primitives.js +28 -0
- package/build/modern/components/menu/primitives.js.map +1 -0
- package/build/modern/components/notifications/center.js +14 -8
- package/build/modern/components/notifications/close-trigger.js +6 -3
- package/build/modern/components/notifications/index.d.ts +6 -0
- package/build/modern/components/notifications/index.js +15 -9
- package/build/modern/components/notifications/match-icon.js +3 -2
- package/build/modern/components/notifications/parts.js +5 -2
- package/build/modern/components/notifications/primitives.d.ts +6 -0
- package/build/modern/components/notifications/primitives.js +4 -1
- package/build/modern/components/portal/index.d.ts +2 -0
- package/build/modern/components/portal/index.js +8 -0
- package/build/modern/components/portal/index.js.map +1 -0
- package/build/modern/components/portal/portal.d.ts +2 -0
- package/build/modern/components/portal/portal.js +7 -0
- package/build/modern/components/portal/portal.js.map +1 -0
- package/build/modern/components/progress/index.d.ts +8 -0
- package/build/modern/components/progress/index.js +17 -0
- package/build/modern/components/progress/index.js.map +1 -0
- package/build/modern/components/progress/primitives.d.ts +4 -0
- package/build/modern/components/progress/primitives.js +12 -0
- package/build/modern/components/progress/primitives.js.map +1 -0
- package/build/modern/components/progress/progress-bar.d.ts +4 -0
- package/build/modern/components/progress/progress-bar.js +11 -0
- package/build/modern/components/progress/progress-bar.js.map +1 -0
- package/build/modern/components/radio/index.d.ts +7 -0
- package/build/modern/components/radio/index.js +6 -3
- package/build/modern/components/radio/parts.js +5 -2
- package/build/modern/components/radio/primitives.d.ts +7 -0
- package/build/modern/components/radio/primitives.js +4 -1
- package/build/modern/components/radio/radio.js +5 -2
- package/build/modern/components/rating/index.d.ts +7 -0
- package/build/modern/components/rating/index.js +8 -4
- package/build/modern/components/rating/parts.js +5 -2
- package/build/modern/components/rating/primitives.d.ts +7 -0
- package/build/modern/components/rating/primitives.js +4 -1
- package/build/modern/components/rating/rating.js +8 -4
- package/build/modern/components/select/index.d.ts +17 -3
- package/build/modern/components/select/index.js +16 -9
- package/build/modern/components/select/option-group.js +5 -2
- package/build/modern/components/select/option.d.ts +2 -0
- package/build/modern/components/select/option.js +14 -0
- package/build/modern/components/select/option.js.map +1 -0
- package/build/modern/components/select/parts.js +5 -2
- package/build/modern/components/select/primitives.d.ts +16 -1
- package/build/modern/components/select/primitives.js +4 -1
- package/build/modern/components/select/select.d.ts +0 -3
- package/build/modern/components/select/select.js +10 -7
- package/build/modern/components/show/index.d.ts +2 -0
- package/build/modern/components/show/index.js +8 -0
- package/build/modern/components/show/index.js.map +1 -0
- package/build/modern/components/show/show.d.ts +2 -0
- package/build/modern/components/show/show.js +7 -0
- package/build/modern/components/show/show.js.map +1 -0
- package/build/modern/components/spinner/index.d.ts +2 -0
- package/build/modern/components/spinner/index.js +8 -0
- package/build/modern/components/spinner/index.js.map +1 -0
- package/build/modern/components/spinner/spinner.d.ts +2 -0
- package/build/modern/components/spinner/spinner.js +7 -0
- package/build/modern/components/spinner/spinner.js.map +1 -0
- package/build/modern/components/switch/index.d.ts +5 -1
- package/build/modern/components/switch/index.js +7 -4
- package/build/modern/components/switch/parts.js +5 -2
- package/build/modern/components/switch/primitives.d.ts +5 -0
- package/build/modern/components/switch/primitives.js +4 -1
- package/build/modern/components/switch/switch.d.ts +0 -1
- package/build/modern/components/switch/switch.js +6 -3
- package/build/modern/components/table/index.d.ts +11 -0
- package/build/modern/components/table/index.js +8 -4
- package/build/modern/components/table/parts.js +5 -2
- package/build/modern/components/table/primitives.d.ts +10 -0
- package/build/modern/components/table/primitives.js +4 -1
- package/build/modern/components/table/table.d.ts +1 -0
- package/build/modern/components/table/table.js +7 -3
- package/build/modern/components/tabs/index.d.ts +5 -0
- package/build/modern/components/tabs/index.js +6 -3
- package/build/modern/components/tabs/parts.js +5 -2
- package/build/modern/components/tabs/primitives.d.ts +5 -0
- package/build/modern/components/tabs/primitives.js +4 -1
- package/build/modern/components/tabs/tabs.js +6 -3
- package/build/modern/components/tag/index.d.ts +4 -0
- package/build/modern/components/tag/index.js +17 -0
- package/build/modern/components/tag/index.js.map +1 -0
- package/build/modern/components/tag/tag.d.ts +4 -0
- package/build/modern/components/tag/tag.js +17 -0
- package/build/modern/components/tag/tag.js.map +1 -0
- package/build/modern/components/text/index.d.ts +4 -0
- package/build/modern/components/text/index.js +8 -0
- package/build/modern/components/text/index.js.map +1 -0
- package/build/modern/components/text/text.d.ts +4 -0
- package/build/modern/components/text/text.js +7 -0
- package/build/modern/components/text/text.js.map +1 -0
- package/build/modern/components/theme/index.d.ts +2 -0
- package/build/modern/components/theme/index.js +11 -0
- package/build/modern/components/theme/index.js.map +1 -0
- package/build/modern/components/theme/theme.d.ts +2 -0
- package/build/modern/components/theme/theme.js +10 -0
- package/build/modern/components/theme/theme.js.map +1 -0
- package/build/modern/components/toggle/index.d.ts +2 -0
- package/build/modern/components/toggle/index.js +5 -2
- package/build/modern/components/toggle/parts.js +5 -2
- package/build/modern/components/toggle/primitives.d.ts +2 -0
- package/build/modern/components/toggle/primitives.js +4 -1
- package/build/modern/components/tooltip/index.d.ts +15 -0
- package/build/modern/components/tooltip/index.js +29 -0
- package/build/modern/components/tooltip/index.js.map +1 -0
- package/build/modern/components/tooltip/parts.d.ts +1 -0
- package/build/modern/components/tooltip/parts.js +11 -0
- package/build/modern/components/tooltip/parts.js.map +1 -0
- package/build/modern/components/tooltip/primitives.d.ts +12 -0
- package/build/modern/components/tooltip/primitives.js +20 -0
- package/build/modern/components/tooltip/primitives.js.map +1 -0
- package/build/modern/components/tooltip/tooltip.d.ts +2 -0
- package/build/modern/components/tooltip/tooltip.js +12 -0
- package/build/modern/components/tooltip/tooltip.js.map +1 -0
- package/build/modern/config/index.js +1 -1
- package/build/modern/context/confirm-modal.js +22 -13
- package/build/modern/context/field.js +7 -1
- package/build/modern/context/field.js.map +1 -1
- package/build/modern/context/prompt-modal.js +30 -19
- package/build/modern/hooks/useRootColors.js +1 -1
- package/build/modern/index.d.ts +213 -17
- package/build/modern/index.js +294 -203
- package/build/modern/index.js.map +1 -1
- package/build/modern/system/factory.d.ts +1 -0
- package/build/modern/system/factory.js +9 -0
- package/build/modern/system/factory.js.map +1 -0
- package/build/modern/system/index.d.ts +12 -0
- package/build/modern/system/index.js +11 -0
- package/build/modern/system/index.js.map +1 -0
- package/build/modern/system/primitive-factory.d.ts +1 -0
- package/build/modern/system/primitive-factory.js +7 -0
- package/build/modern/system/primitive-factory.js.map +1 -0
- package/build/modern/system/types.d.ts +10 -0
- package/build/modern/system/types.js +2 -0
- package/build/modern/system/types.js.map +1 -0
- package/package.json +20 -7
- package/src/components/accordion/item-group.tsx +1 -1
- package/src/components/accordion/primitives.tsx +45 -53
- package/src/components/admonition/admonition.tsx +3 -6
- package/src/components/admonition/primitives.tsx +64 -43
- package/src/components/avatar/avatar.tsx +3 -5
- package/src/components/avatar/primitives.tsx +23 -29
- package/src/components/button/button.tsx +14 -24
- package/src/components/button/primitives.tsx +15 -0
- package/src/components/checkbox/checkbox-icon.tsx +1 -1
- package/src/components/checkbox/checkbox.tsx +2 -2
- package/src/components/checkbox/primitives.tsx +59 -54
- package/src/components/circular-progress/circular-progress.tsx +39 -0
- package/src/components/circular-progress/index.ts +2 -0
- package/src/components/circular-progress/primitives.ts +88 -0
- package/src/components/combobox/combobox.tsx +20 -7
- package/src/components/combobox/primitives.tsx +106 -134
- package/src/components/cta-dialog/provider.tsx +2 -2
- package/src/components/date-picker/calendar.tsx +21 -4
- package/src/components/date-picker/content.tsx +6 -7
- package/src/components/date-picker/date-picker.tsx +1 -1
- package/src/components/date-picker/day-view.tsx +1 -1
- package/src/components/date-picker/input.tsx +2 -2
- package/src/components/date-picker/month-view.tsx +3 -5
- package/src/components/date-picker/primitives.tsx +117 -164
- package/src/components/date-picker/range-input.tsx +2 -2
- package/src/components/date-picker/trigger.tsx +2 -2
- package/src/components/date-picker/view-control-group.tsx +4 -4
- package/src/components/date-picker/year-view.tsx +3 -5
- package/src/components/deprecated/Legend.tsx +1 -1
- package/src/components/deprecated/NavMenuLink.tsx +1 -1
- package/src/components/deprecated/NavMenuList.tsx +1 -1
- package/src/components/deprecated/NavMenuTrigger.tsx +5 -6
- package/src/components/deprecated/Notification.tsx +1 -1
- package/src/components/dialog/close-icon-trigger.tsx +2 -3
- package/src/components/dialog/dialog.tsx +7 -3
- package/src/components/dialog/primitives.tsx +42 -75
- package/src/components/feature-flag/feature-flag.tsx +21 -0
- package/src/components/feature-flag/index.ts +1 -0
- package/src/components/field/error-text.tsx +19 -0
- package/src/components/field/field.tsx +2 -2
- package/src/components/field/index.ts +3 -1
- package/src/components/field/input.tsx +47 -0
- package/src/components/field/primitives.tsx +86 -150
- package/src/components/fieldset/fieldset.tsx +2 -3
- package/src/components/fieldset/primitives.tsx +44 -63
- package/src/components/file-upload/file-status.tsx +278 -0
- package/src/components/file-upload/file-uploader.tsx +72 -0
- package/src/components/file-upload/index.ts +2 -0
- package/src/components/for/index.ts +1 -0
- package/src/components/icon-button/button.tsx +24 -0
- package/src/components/icon-button/index.tsx +2 -0
- package/src/components/icon-button/primitives.ts +21 -0
- package/src/components/menu/index.ts +2 -0
- package/src/components/menu/menu.tsx +144 -0
- package/src/components/menu/primitives.ts +93 -0
- package/src/components/notifications/center.tsx +1 -1
- package/src/components/notifications/close-trigger.tsx +2 -2
- package/src/components/notifications/match-icon.tsx +2 -2
- package/src/components/notifications/primitives.tsx +47 -54
- package/src/components/portal/index.ts +1 -0
- package/src/components/portal/portal.tsx +28 -0
- package/src/components/progress/index.ts +2 -0
- package/src/components/progress/primitives.ts +43 -0
- package/src/components/progress/progress-bar.tsx +80 -0
- package/src/components/radio/primitives.tsx +83 -101
- package/src/components/rating/primitives.tsx +57 -80
- package/src/components/rating/rating.tsx +3 -6
- package/src/components/select/index.ts +1 -0
- package/src/components/select/option-group.tsx +8 -10
- package/src/components/select/option.tsx +42 -0
- package/src/components/select/primitives.tsx +125 -156
- package/src/components/select/select.tsx +13 -33
- package/src/components/show/index.ts +1 -0
- package/src/components/spinner/index.ts +1 -0
- package/src/components/switch/primitives.tsx +45 -55
- package/src/components/switch/switch.tsx +2 -5
- package/src/components/table/primitives.tsx +101 -146
- package/src/components/table/table.tsx +3 -5
- package/src/components/tabs/primitives.tsx +43 -56
- package/src/components/tabs/tabs.tsx +3 -3
- package/src/components/tag/index.ts +1 -0
- package/src/components/tag/tag.tsx +108 -0
- package/src/components/text/index.ts +1 -0
- package/src/components/theme/index.ts +1 -0
- package/src/components/theme/theme.tsx +34 -0
- package/src/components/toggle/primitives.tsx +19 -15
- package/src/components/tooltip/index.ts +3 -0
- package/src/components/tooltip/parts.ts +59 -0
- package/src/components/tooltip/primitives.ts +71 -0
- package/src/components/tooltip/tooltip.tsx +46 -0
- package/src/context/confirm-modal.tsx +1 -1
- package/src/context/prompt-modal.tsx +5 -8
- package/src/hooks/useRootColors.ts +2 -2
- package/src/index.ts +16 -20
- package/src/system/factory.ts +37 -0
- package/src/system/index.ts +47 -0
- package/src/system/primitive-factory.tsx +151 -0
- package/src/system/types.ts +58 -0
- package/build/legacy/aria-helpers/nav-menu.aria.cjs +0 -36
- package/build/legacy/aria-helpers/nav-menu.aria.cjs.map +0 -1
- package/build/legacy/aria-helpers/nav-menu.aria.d.cts +0 -2
- package/build/legacy/aria-helpers/trap-focus.aria.cjs +0 -54
- package/build/legacy/aria-helpers/trap-focus.aria.cjs.map +0 -1
- package/build/legacy/aria-helpers/trap-focus.aria.d.cts +0 -1
- package/build/legacy/components/CircularProgress.cjs +0 -198
- package/build/legacy/components/CircularProgress.cjs.map +0 -1
- package/build/legacy/components/CircularProgress.d.cts +0 -2
- package/build/legacy/components/FeatureFlag.cjs +0 -65
- package/build/legacy/components/FeatureFlag.cjs.map +0 -1
- package/build/legacy/components/FeatureFlag.d.cts +0 -2
- package/build/legacy/components/FileStatus.cjs +0 -470
- package/build/legacy/components/FileStatus.cjs.map +0 -1
- package/build/legacy/components/FileStatus.d.cts +0 -6
- package/build/legacy/components/FileUploader.cjs +0 -191
- package/build/legacy/components/FileUploader.cjs.map +0 -1
- package/build/legacy/components/FileUploader.d.cts +0 -2
- package/build/legacy/components/IconButton.cjs +0 -52
- package/build/legacy/components/IconButton.cjs.map +0 -1
- package/build/legacy/components/IconButton.d.cts +0 -3
- package/build/legacy/components/Menu.cjs +0 -86
- package/build/legacy/components/Menu.cjs.map +0 -1
- package/build/legacy/components/Menu.d.cts +0 -7
- package/build/legacy/components/Portal.cjs +0 -35
- package/build/legacy/components/Portal.cjs.map +0 -1
- package/build/legacy/components/Portal.d.cts +0 -2
- package/build/legacy/components/ProgressBar.cjs +0 -63
- package/build/legacy/components/ProgressBar.cjs.map +0 -1
- package/build/legacy/components/ProgressBar.d.cts +0 -5
- package/build/legacy/components/Show.cjs +0 -41
- package/build/legacy/components/Show.cjs.map +0 -1
- package/build/legacy/components/Show.d.cts +0 -2
- package/build/legacy/components/Spinner.cjs +0 -105
- package/build/legacy/components/Spinner.cjs.map +0 -1
- package/build/legacy/components/Spinner.d.cts +0 -2
- package/build/legacy/components/Tag.cjs +0 -130
- package/build/legacy/components/Tag.cjs.map +0 -1
- package/build/legacy/components/Tag.d.cts +0 -4
- package/build/legacy/components/Text.cjs +0 -53
- package/build/legacy/components/Text.cjs.map +0 -1
- package/build/legacy/components/Text.d.cts +0 -4
- package/build/legacy/components/Tooltip.cjs +0 -55
- package/build/legacy/components/Tooltip.cjs.map +0 -1
- package/build/legacy/components/Tooltip.d.cts +0 -2
- package/build/legacy/components/for.cjs +0 -38
- package/build/legacy/components/for.cjs.map +0 -1
- package/build/legacy/components/for.d.cts +0 -2
- package/build/modern/aria-helpers/nav-menu.aria.d.ts +0 -2
- package/build/modern/aria-helpers/nav-menu.aria.js +0 -7
- package/build/modern/aria-helpers/trap-focus.aria.d.ts +0 -1
- package/build/modern/aria-helpers/trap-focus.aria.js +0 -7
- package/build/modern/chunk-25P3FUUT.js +0 -20
- package/build/modern/chunk-25P3FUUT.js.map +0 -1
- package/build/modern/chunk-25S67KZH.js +0 -44
- package/build/modern/chunk-25S67KZH.js.map +0 -1
- package/build/modern/chunk-2CZWHED6.js +0 -18
- package/build/modern/chunk-2IYWFZTK.js +0 -15
- package/build/modern/chunk-2LF3HPNA.js +0 -1
- package/build/modern/chunk-2U2JYN3D.js +0 -15
- package/build/modern/chunk-3DZW23OX.js +0 -50
- package/build/modern/chunk-3DZW23OX.js.map +0 -1
- package/build/modern/chunk-52ZQ26IV.js +0 -23
- package/build/modern/chunk-53YVHIGJ.js +0 -11
- package/build/modern/chunk-53YVHIGJ.js.map +0 -1
- package/build/modern/chunk-5FC7HIAR.js +0 -22
- package/build/modern/chunk-5HEU3SYR.js +0 -19
- package/build/modern/chunk-5HEU3SYR.js.map +0 -1
- package/build/modern/chunk-5MUUKSLF.js +0 -131
- package/build/modern/chunk-5MUUKSLF.js.map +0 -1
- package/build/modern/chunk-6KX5P5OU.js +0 -86
- package/build/modern/chunk-6KX5P5OU.js.map +0 -1
- package/build/modern/chunk-6MMH3Y2U.js +0 -49
- package/build/modern/chunk-6MMH3Y2U.js.map +0 -1
- package/build/modern/chunk-6UVR3VGK.js +0 -31
- package/build/modern/chunk-75DUDVPA.js +0 -22
- package/build/modern/chunk-75DUDVPA.js.map +0 -1
- package/build/modern/chunk-7I7LA2EE.js +0 -21
- package/build/modern/chunk-AN65HXHS.js +0 -23
- package/build/modern/chunk-AUI74W7J.js +0 -81
- package/build/modern/chunk-AUI74W7J.js.map +0 -1
- package/build/modern/chunk-BMDNCJUB.js +0 -22
- package/build/modern/chunk-BMDNCJUB.js.map +0 -1
- package/build/modern/chunk-BMPMMTX3.js +0 -62
- package/build/modern/chunk-BMPMMTX3.js.map +0 -1
- package/build/modern/chunk-CF4TCMJI.js +0 -35
- package/build/modern/chunk-CF4TCMJI.js.map +0 -1
- package/build/modern/chunk-CJVKAGCJ.js +0 -47
- package/build/modern/chunk-CJVKAGCJ.js.map +0 -1
- package/build/modern/chunk-D4BVNWAY.js +0 -146
- package/build/modern/chunk-D4BVNWAY.js.map +0 -1
- package/build/modern/chunk-D6PFYSIP.js +0 -20
- package/build/modern/chunk-D6PFYSIP.js.map +0 -1
- package/build/modern/chunk-D7PY357P.js +0 -42
- package/build/modern/chunk-D7PY357P.js.map +0 -1
- package/build/modern/chunk-D7QIPJQC.js +0 -67
- package/build/modern/chunk-D7QIPJQC.js.map +0 -1
- package/build/modern/chunk-DVCTN3GN.js +0 -33
- package/build/modern/chunk-ENJUQNVT.js +0 -60
- package/build/modern/chunk-ENJUQNVT.js.map +0 -1
- package/build/modern/chunk-F2MWSSK2.js +0 -48
- package/build/modern/chunk-F2MWSSK2.js.map +0 -1
- package/build/modern/chunk-FAQ3F72W.js +0 -24
- package/build/modern/chunk-FAQ3F72W.js.map +0 -1
- package/build/modern/chunk-FHNT274F.js +0 -29
- package/build/modern/chunk-FHNT274F.js.map +0 -1
- package/build/modern/chunk-FUTYPCHZ.js +0 -12
- package/build/modern/chunk-FUTYPCHZ.js.map +0 -1
- package/build/modern/chunk-GB7W3YNU.js +0 -51
- package/build/modern/chunk-GB7W3YNU.js.map +0 -1
- package/build/modern/chunk-GC6JUHVS.js +0 -15
- package/build/modern/chunk-GJBUGESH.js +0 -27
- package/build/modern/chunk-GJBUGESH.js.map +0 -1
- package/build/modern/chunk-GUAF4FXQ.js +0 -19
- package/build/modern/chunk-GUAF4FXQ.js.map +0 -1
- package/build/modern/chunk-GYUCW2QK.js +0 -25
- package/build/modern/chunk-H2VYN32T.js +0 -22
- package/build/modern/chunk-H4SH6ORP.js +0 -18
- package/build/modern/chunk-H4SH6ORP.js.map +0 -1
- package/build/modern/chunk-HJ7MAPDD.js +0 -86
- package/build/modern/chunk-HJ7MAPDD.js.map +0 -1
- package/build/modern/chunk-I4EGYD24.js +0 -21
- package/build/modern/chunk-I5RGBB57.js +0 -13
- package/build/modern/chunk-I5RGBB57.js.map +0 -1
- package/build/modern/chunk-IL677ECW.js +0 -71
- package/build/modern/chunk-IL677ECW.js.map +0 -1
- package/build/modern/chunk-INVZVMY4.js +0 -42
- package/build/modern/chunk-INVZVMY4.js.map +0 -1
- package/build/modern/chunk-IUF74GEL.js +0 -17
- package/build/modern/chunk-J76SGDYP.js +0 -59
- package/build/modern/chunk-JQYW4IOC.js +0 -21
- package/build/modern/chunk-JXWNDJJW.js +0 -226
- package/build/modern/chunk-JXWNDJJW.js.map +0 -1
- package/build/modern/chunk-KEGLWDD6.js +0 -45
- package/build/modern/chunk-KEGLWDD6.js.map +0 -1
- package/build/modern/chunk-KV4NRGKW.js +0 -51
- package/build/modern/chunk-KV4NRGKW.js.map +0 -1
- package/build/modern/chunk-L2EGF5AV.js +0 -33
- package/build/modern/chunk-L2EGF5AV.js.map +0 -1
- package/build/modern/chunk-L5FYGWAZ.js +0 -49
- package/build/modern/chunk-L5FYGWAZ.js.map +0 -1
- package/build/modern/chunk-LUGOJGMO.js +0 -82
- package/build/modern/chunk-LUGOJGMO.js.map +0 -1
- package/build/modern/chunk-M3TZCQ7J.js +0 -41
- package/build/modern/chunk-M3TZCQ7J.js.map +0 -1
- package/build/modern/chunk-MDXJ6MGF.js +0 -143
- package/build/modern/chunk-MDXJ6MGF.js.map +0 -1
- package/build/modern/chunk-MTD4JSHT.js +0 -21
- package/build/modern/chunk-MZXSSTS7.js +0 -25
- package/build/modern/chunk-N6XHXPBI.js +0 -27
- package/build/modern/chunk-N6XHXPBI.js.map +0 -1
- package/build/modern/chunk-NJ37QRAI.js +0 -33
- package/build/modern/chunk-NQ22M7U7.js +0 -19
- package/build/modern/chunk-NYEUNVKR.js +0 -22
- package/build/modern/chunk-NYEUNVKR.js.map +0 -1
- package/build/modern/chunk-NYVKL2IS.js +0 -38
- package/build/modern/chunk-OK3VJFQL.js +0 -99
- package/build/modern/chunk-OK3VJFQL.js.map +0 -1
- package/build/modern/chunk-ONHP3RYL.js +0 -41
- package/build/modern/chunk-ONHP3RYL.js.map +0 -1
- package/build/modern/chunk-OY33UHBG.js +0 -57
- package/build/modern/chunk-OY33UHBG.js.map +0 -1
- package/build/modern/chunk-P7FPAUWN.js +0 -40
- package/build/modern/chunk-P7FPAUWN.js.map +0 -1
- package/build/modern/chunk-PHPXOX2Y.js +0 -40
- package/build/modern/chunk-PHPXOX2Y.js.map +0 -1
- package/build/modern/chunk-PRV3HAK3.js +0 -156
- package/build/modern/chunk-PRV3HAK3.js.map +0 -1
- package/build/modern/chunk-Q737W5KJ.js +0 -41
- package/build/modern/chunk-Q737W5KJ.js.map +0 -1
- package/build/modern/chunk-QBA6KLL7.js +0 -31
- package/build/modern/chunk-QBA6KLL7.js.map +0 -1
- package/build/modern/chunk-QCZ5VNGU.js +0 -36
- package/build/modern/chunk-QCZ5VNGU.js.map +0 -1
- package/build/modern/chunk-QD3WAARV.js +0 -47
- package/build/modern/chunk-QNZIH2KG.js +0 -21
- package/build/modern/chunk-RF4VKGOQ.js +0 -70
- package/build/modern/chunk-RF4VKGOQ.js.map +0 -1
- package/build/modern/chunk-RMSM3XPV.js +0 -218
- package/build/modern/chunk-RMSM3XPV.js.map +0 -1
- package/build/modern/chunk-RP6DNLP3.js +0 -17
- package/build/modern/chunk-RP6DNLP3.js.map +0 -1
- package/build/modern/chunk-RTLS6K4E.js +0 -40
- package/build/modern/chunk-RTLS6K4E.js.map +0 -1
- package/build/modern/chunk-RW3YEBDW.js +0 -184
- package/build/modern/chunk-RW3YEBDW.js.map +0 -1
- package/build/modern/chunk-RYRB5GPN.js +0 -18
- package/build/modern/chunk-RYRB5GPN.js.map +0 -1
- package/build/modern/chunk-SHBKM6EW.js +0 -126
- package/build/modern/chunk-SHBKM6EW.js.map +0 -1
- package/build/modern/chunk-SZOV7M64.js +0 -59
- package/build/modern/chunk-SZOV7M64.js.map +0 -1
- package/build/modern/chunk-T44C3KQO.js +0 -22
- package/build/modern/chunk-T44C3KQO.js.map +0 -1
- package/build/modern/chunk-TRT6OCHJ.js +0 -27
- package/build/modern/chunk-TS7PAQPV.js +0 -27
- package/build/modern/chunk-TS7PAQPV.js.map +0 -1
- package/build/modern/chunk-TV346AYO.js +0 -64
- package/build/modern/chunk-TV346AYO.js.map +0 -1
- package/build/modern/chunk-UCVB2VOI.js +0 -81
- package/build/modern/chunk-UCVB2VOI.js.map +0 -1
- package/build/modern/chunk-UGFSACHC.js +0 -39
- package/build/modern/chunk-UGFSACHC.js.map +0 -1
- package/build/modern/chunk-UH6XSYYD.js +0 -28
- package/build/modern/chunk-UH6XSYYD.js.map +0 -1
- package/build/modern/chunk-UJTE43LT.js +0 -27
- package/build/modern/chunk-UJTE43LT.js.map +0 -1
- package/build/modern/chunk-V6ZOASMM.js +0 -37
- package/build/modern/chunk-VEAC4I3F.js +0 -17
- package/build/modern/chunk-VEAC4I3F.js.map +0 -1
- package/build/modern/chunk-W337WQTU.js +0 -21
- package/build/modern/chunk-WSOITM7D.js +0 -182
- package/build/modern/chunk-WSOITM7D.js.map +0 -1
- package/build/modern/chunk-XJQXHSH7.js +0 -38
- package/build/modern/chunk-XJQXHSH7.js.map +0 -1
- package/build/modern/chunk-YOYCS3MD.js +0 -41
- package/build/modern/chunk-YUVPXW6D.js +0 -58
- package/build/modern/chunk-YUVPXW6D.js.map +0 -1
- package/build/modern/chunk-ZL7AX5EM.js +0 -22
- package/build/modern/chunk-ZL7AX5EM.js.map +0 -1
- package/build/modern/chunk-ZPHPCKAG.js +0 -41
- package/build/modern/chunk-ZPHPCKAG.js.map +0 -1
- package/build/modern/components/CircularProgress.d.ts +0 -2
- package/build/modern/components/CircularProgress.js +0 -9
- package/build/modern/components/FeatureFlag.d.ts +0 -2
- package/build/modern/components/FeatureFlag.js +0 -10
- package/build/modern/components/FileStatus.d.ts +0 -6
- package/build/modern/components/FileStatus.js +0 -26
- package/build/modern/components/FileUploader.d.ts +0 -2
- package/build/modern/components/FileUploader.js +0 -15
- package/build/modern/components/IconButton.d.ts +0 -3
- package/build/modern/components/IconButton.js +0 -7
- package/build/modern/components/Menu.d.ts +0 -7
- package/build/modern/components/Menu.js +0 -19
- package/build/modern/components/Portal.d.ts +0 -2
- package/build/modern/components/Portal.js +0 -7
- package/build/modern/components/ProgressBar.d.ts +0 -5
- package/build/modern/components/ProgressBar.js +0 -7
- package/build/modern/components/Show.d.ts +0 -2
- package/build/modern/components/Show.js +0 -7
- package/build/modern/components/Spinner.d.ts +0 -2
- package/build/modern/components/Spinner.js +0 -7
- package/build/modern/components/Tag.d.ts +0 -4
- package/build/modern/components/Tag.js +0 -11
- package/build/modern/components/Text.d.ts +0 -4
- package/build/modern/components/Text.js +0 -7
- package/build/modern/components/Tooltip.d.ts +0 -2
- package/build/modern/components/Tooltip.js +0 -7
- package/build/modern/components/for.d.ts +0 -2
- package/build/modern/components/for.js +0 -7
- package/src/components/CircularProgress.tsx +0 -184
- package/src/components/FeatureFlag.tsx +0 -21
- package/src/components/FileStatus.tsx +0 -278
- package/src/components/FileUploader.tsx +0 -72
- package/src/components/IconButton.tsx +0 -38
- package/src/components/Menu.tsx +0 -165
- package/src/components/Portal.tsx +0 -31
- package/src/components/ProgressBar.tsx +0 -88
- package/src/components/Tag.tsx +0 -108
- package/src/components/Tooltip.tsx +0 -61
- /package/build/modern/{aria-helpers/nav-menu.aria.js.map → chunk-34U4QQ3I.js.map} +0 -0
- /package/build/modern/{aria-helpers/trap-focus.aria.js.map → chunk-3RPBRD5W.js.map} +0 -0
- /package/build/modern/{chunk-GC6JUHVS.js.map → chunk-4LBGIGNJ.js.map} +0 -0
- /package/build/modern/{chunk-QNZIH2KG.js.map → chunk-4NW7Q2VS.js.map} +0 -0
- /package/build/modern/{chunk-I4EGYD24.js.map → chunk-56YCKMC2.js.map} +0 -0
- /package/build/modern/{chunk-2LF3HPNA.js.map → chunk-5IMS6G4G.js.map} +0 -0
- /package/build/modern/{chunk-GYUCW2QK.js.map → chunk-6LH6MOXD.js.map} +0 -0
- /package/build/modern/{chunk-QD3WAARV.js.map → chunk-6QWS7HII.js.map} +0 -0
- /package/build/modern/{chunk-2IYWFZTK.js.map → chunk-AAWEAXIA.js.map} +0 -0
- /package/build/modern/{components/CircularProgress.js.map → chunk-B4GBNIU7.js.map} +0 -0
- /package/build/modern/{chunk-TRT6OCHJ.js.map → chunk-BFV463NP.js.map} +0 -0
- /package/build/modern/{chunk-W337WQTU.js.map → chunk-CKLLERV7.js.map} +0 -0
- /package/build/modern/{chunk-52ZQ26IV.js.map → chunk-DUCW5X4Y.js.map} +0 -0
- /package/build/modern/{chunk-5FC7HIAR.js.map → chunk-DUFKXBQT.js.map} +0 -0
- /package/build/modern/{chunk-2U2JYN3D.js.map → chunk-DWKGFNTK.js.map} +0 -0
- /package/build/modern/{chunk-DVCTN3GN.js.map → chunk-E2AW2N7Q.js.map} +0 -0
- /package/build/modern/{chunk-2CZWHED6.js.map → chunk-EPIO6H3A.js.map} +0 -0
- /package/build/modern/{components/FeatureFlag.js.map → chunk-EZTDGHEX.js.map} +0 -0
- /package/build/modern/{chunk-7I7LA2EE.js.map → chunk-GPGFQNJ6.js.map} +0 -0
- /package/build/modern/{chunk-YOYCS3MD.js.map → chunk-GZXW3JIW.js.map} +0 -0
- /package/build/modern/{chunk-NJ37QRAI.js.map → chunk-HBS3B3SE.js.map} +0 -0
- /package/build/modern/{components/FileStatus.js.map → chunk-JIXUOTH4.js.map} +0 -0
- /package/build/modern/{chunk-MZXSSTS7.js.map → chunk-KUR42DQQ.js.map} +0 -0
- /package/build/modern/{components/FileUploader.js.map → chunk-LRHHDORZ.js.map} +0 -0
- /package/build/modern/{components/IconButton.js.map → chunk-NZP3XQNQ.js.map} +0 -0
- /package/build/modern/{chunk-V6ZOASMM.js.map → chunk-NZZS2A53.js.map} +0 -0
- /package/build/modern/{chunk-IUF74GEL.js.map → chunk-OKU736EK.js.map} +0 -0
- /package/build/modern/{chunk-NYVKL2IS.js.map → chunk-OQN4HVLQ.js.map} +0 -0
- /package/build/modern/{chunk-MTD4JSHT.js.map → chunk-P4GJKPNL.js.map} +0 -0
- /package/build/modern/{components/Menu.js.map → chunk-PAQ6YQ7Y.js.map} +0 -0
- /package/build/modern/{chunk-H2VYN32T.js.map → chunk-Q2MJ7JRM.js.map} +0 -0
- /package/build/modern/{components/Portal.js.map → chunk-Q4CS3AKY.js.map} +0 -0
- /package/build/modern/{chunk-J76SGDYP.js.map → chunk-RJGEKVHZ.js.map} +0 -0
- /package/build/modern/{components/ProgressBar.js.map → chunk-RMEVOJ2E.js.map} +0 -0
- /package/build/modern/{components/Show.js.map → chunk-TLRRDNS3.js.map} +0 -0
- /package/build/modern/{chunk-AN65HXHS.js.map → chunk-VB5XZZKE.js.map} +0 -0
- /package/build/modern/{components/Spinner.js.map → chunk-VT6DJ2VM.js.map} +0 -0
- /package/build/modern/{chunk-JQYW4IOC.js.map → chunk-WC75SKFH.js.map} +0 -0
- /package/build/modern/{components/Tag.js.map → chunk-WJW4FF4J.js.map} +0 -0
- /package/build/modern/{chunk-6UVR3VGK.js.map → chunk-WN2WTSWG.js.map} +0 -0
- /package/build/modern/{components/Text.js.map → chunk-X5LBBTCV.js.map} +0 -0
- /package/build/modern/{chunk-NQ22M7U7.js.map → chunk-X7JS25IL.js.map} +0 -0
- /package/build/modern/{components/Tooltip.js.map → chunk-XDMGFB6Q.js.map} +0 -0
- /package/build/modern/components/{for.js.map → button/primitives.js.map} +0 -0
- /package/src/{aria-helpers → components/deprecated/aria-helpers}/nav-menu.aria.ts +0 -0
- /package/src/{aria-helpers → components/deprecated/aria-helpers}/trap-focus.aria.ts +0 -0
- /package/src/components/{for.tsx → for/for.tsx} +0 -0
- /package/src/components/{Show.tsx → show/show.tsx} +0 -0
- /package/src/components/{Spinner.tsx → spinner/spinner.tsx} +0 -0
- /package/src/components/{Text.tsx → text/text.tsx} +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DatePickerTrigger
|
|
3
|
-
} from "./chunk-ZL7AX5EM.js";
|
|
4
|
-
import {
|
|
5
|
-
DatePickerParts
|
|
6
|
-
} from "./chunk-J76SGDYP.js";
|
|
7
|
-
|
|
8
|
-
// src/components/date-picker/range-input.tsx
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
function RangePickerInput(props) {
|
|
11
|
-
return /* @__PURE__ */ jsxs(DatePickerParts.Control, { "data-range": true, children: [
|
|
12
|
-
/* @__PURE__ */ jsx(DatePickerTrigger, {}),
|
|
13
|
-
/* @__PURE__ */ jsx(
|
|
14
|
-
DatePickerParts.Input,
|
|
15
|
-
{
|
|
16
|
-
...props,
|
|
17
|
-
"data-range-input": true,
|
|
18
|
-
placeholder: props.placeholder ?? "DD MMM YYYY",
|
|
19
|
-
maxLength: 11,
|
|
20
|
-
index: 0
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
/* @__PURE__ */ jsx(
|
|
24
|
-
DatePickerParts.Input,
|
|
25
|
-
{
|
|
26
|
-
...props,
|
|
27
|
-
"data-range-input": true,
|
|
28
|
-
"data-range-end-input": true,
|
|
29
|
-
placeholder: props.placeholder ?? "DD MMM YYYY",
|
|
30
|
-
maxLength: 11,
|
|
31
|
-
index: 1
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
] });
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
RangePickerInput
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=chunk-P7FPAUWN.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/date-picker/range-input.tsx"],"sourcesContent":["import { type DatePickerInputProps } from '@ark-ui/react/date-picker'\nimport { DatePickerParts } from './parts'\nimport { DatePickerTrigger } from './trigger'\n\n/**\n * This private module contains the RangePickerInput component.\n * @module RangePickerInput\n */\n\nexport type RangePickerInputProps = DatePickerInputProps\n\n/**\n * An abstraction of the DatePicker input that wraps the input and the\n * triggers to open the DatePicker and clear the value.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function RangePickerInput(props: RangePickerInputProps) {\n return (\n <DatePickerParts.Control data-range>\n <DatePickerTrigger />\n <DatePickerParts.Input\n {...props}\n data-range-input\n placeholder={props.placeholder ?? 'DD MMM YYYY'}\n maxLength={11}\n index={0}\n />\n <DatePickerParts.Input\n {...props}\n data-range-input\n data-range-end-input\n placeholder={props.placeholder ?? 'DD MMM YYYY'}\n maxLength={11}\n index={1}\n />\n </DatePickerParts.Control>\n )\n}\n"],"mappings":";;;;;;;;AAkBI,SACE,KADF;AAFG,SAAS,iBAAiB,OAA8B;AAC7D,SACE,qBAAC,gBAAgB,SAAhB,EAAwB,cAAU,MACjC;AAAA,wBAAC,qBAAkB;AAAA,IACnB;AAAA,MAAC,gBAAgB;AAAA,MAAhB;AAAA,QACE,GAAG;AAAA,QACJ,oBAAgB;AAAA,QAChB,aAAa,MAAM,eAAe;AAAA,QAClC,WAAW;AAAA,QACX,OAAO;AAAA;AAAA,IACT;AAAA,IACA;AAAA,MAAC,gBAAgB;AAAA,MAAhB;AAAA,QACE,GAAG;AAAA,QACJ,oBAAgB;AAAA,QAChB,wBAAoB;AAAA,QACpB,aAAa,MAAM,eAAe;AAAA,QAClC,WAAW;AAAA,QACX,OAAO;AAAA;AAAA,IACT;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AccordionChevronItemIndicator
|
|
3
|
-
} from "./chunk-7I7LA2EE.js";
|
|
4
|
-
import {
|
|
5
|
-
AccordionParts
|
|
6
|
-
} from "./chunk-QNZIH2KG.js";
|
|
7
|
-
import {
|
|
8
|
-
splitProps
|
|
9
|
-
} from "./chunk-BL7G3577.js";
|
|
10
|
-
import {
|
|
11
|
-
Show
|
|
12
|
-
} from "./chunk-VEAC4I3F.js";
|
|
13
|
-
|
|
14
|
-
// src/components/accordion/item-group.tsx
|
|
15
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
function Accordion(props) {
|
|
17
|
-
return /* @__PURE__ */ jsx(AccordionParts.Root, { ...props });
|
|
18
|
-
}
|
|
19
|
-
function AccordionItemGroup(props) {
|
|
20
|
-
const [groupProps, itemProps] = splitProps(props, [
|
|
21
|
-
"heading",
|
|
22
|
-
"children",
|
|
23
|
-
"indicatorPosition"
|
|
24
|
-
]);
|
|
25
|
-
const indicatorPosition = groupProps.indicatorPosition ?? "end";
|
|
26
|
-
return /* @__PURE__ */ jsxs(AccordionParts.Item, { ...itemProps, children: [
|
|
27
|
-
/* @__PURE__ */ jsxs(AccordionParts.ItemTrigger, { "data-indicator-position": indicatorPosition, children: [
|
|
28
|
-
/* @__PURE__ */ jsx(Show, { when: indicatorPosition === "start", children: /* @__PURE__ */ jsx(AccordionChevronItemIndicator, {}) }),
|
|
29
|
-
groupProps.heading,
|
|
30
|
-
/* @__PURE__ */ jsx(Show, { when: indicatorPosition === "end", children: /* @__PURE__ */ jsx(AccordionChevronItemIndicator, {}) })
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ jsx(AccordionParts.ItemContent, { children: groupProps.children })
|
|
33
|
-
] });
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
Accordion,
|
|
38
|
-
AccordionItemGroup
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=chunk-PHPXOX2Y.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/accordion/item-group.tsx"],"sourcesContent":["import type {\n AccordionItemProps,\n AccordionRootProps,\n} from '@ark-ui/react/accordion'\nimport { type AccordionVariantProps } from 'styled-system/recipes'\nimport { splitProps } from '../../utils/index'\nimport { Show } from '../Show'\nimport { AccordionParts } from './parts'\nimport { AccordionChevronItemIndicator } from './item-indicator'\n\n/**\n * This module contains an abstraction of the AccordionItem components.\n * @module\n */\n\nexport function Accordion(props: AccordionRootProps & AccordionVariantProps) {\n return <AccordionParts.Root {...props} />\n}\n\nexport interface AccordionItemGroupProps\n extends AccordionItemProps,\n AccordionVariantProps {\n /**\n * The heading of the accordion item to open and close the content.\n */\n heading: string\n /**\n * The position of the arrow indicator.\n */\n indicatorPosition?: 'start' | 'end'\n}\n\n/**\n * The AccordionItemGroup component is an abstraction of the Accordion primitive\n * components which renders an accordion item with a heading and an indicator.\n *\n * It is a wrapper around the `AccordionParts.Item`, `AccordionParts.\n * ItemTrigger`, `AccordionParts.ItemIndicator`, and `AccordionParts.ItemContent` components.\n *\n * @description [Cerberus docs](https://cerberus.digitalu.design/react/accordion)\n * @description [Ark docs](https://ark-ui.com/react/docs/components/accordion)\n */\nexport function AccordionItemGroup(props: AccordionItemGroupProps) {\n const [groupProps, itemProps] = splitProps(props, [\n 'heading',\n 'children',\n 'indicatorPosition',\n ])\n const indicatorPosition = groupProps.indicatorPosition ?? 'end'\n\n return (\n <AccordionParts.Item {...itemProps}>\n <AccordionParts.ItemTrigger data-indicator-position={indicatorPosition}>\n <Show when={indicatorPosition === 'start'}>\n <AccordionChevronItemIndicator />\n </Show>\n\n {groupProps.heading}\n\n <Show when={indicatorPosition === 'end'}>\n <AccordionChevronItemIndicator />\n </Show>\n </AccordionParts.ItemTrigger>\n\n <AccordionParts.ItemContent>\n {groupProps.children}\n </AccordionParts.ItemContent>\n </AccordionParts.Item>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBS,cAoCH,YApCG;AADF,SAAS,UAAU,OAAmD;AAC3E,SAAO,oBAAC,eAAe,MAAf,EAAqB,GAAG,OAAO;AACzC;AAyBO,SAAS,mBAAmB,OAAgC;AACjE,QAAM,CAAC,YAAY,SAAS,IAAI,WAAW,OAAO;AAAA,IAChD;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,oBAAoB,WAAW,qBAAqB;AAE1D,SACE,qBAAC,eAAe,MAAf,EAAqB,GAAG,WACvB;AAAA,yBAAC,eAAe,aAAf,EAA2B,2BAAyB,mBACnD;AAAA,0BAAC,QAAK,MAAM,sBAAsB,SAChC,8BAAC,iCAA8B,GACjC;AAAA,MAEC,WAAW;AAAA,MAEZ,oBAAC,QAAK,MAAM,sBAAsB,OAChC,8BAAC,iCAA8B,GACjC;AAAA,OACF;AAAA,IAEA,oBAAC,eAAe,aAAf,EACE,qBAAW,UACd;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
For
|
|
3
|
-
} from "./chunk-I5RGBB57.js";
|
|
4
|
-
import {
|
|
5
|
-
Show
|
|
6
|
-
} from "./chunk-VEAC4I3F.js";
|
|
7
|
-
|
|
8
|
-
// src/components/CircularProgress.tsx
|
|
9
|
-
import { circularProgress } from "styled-system/recipes";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
function CircularProgress(props) {
|
|
12
|
-
const { size = "1.1em" } = props;
|
|
13
|
-
const sizeProps = props.size ? {
|
|
14
|
-
height: size,
|
|
15
|
-
width: size
|
|
16
|
-
} : {};
|
|
17
|
-
const strokeW = 14;
|
|
18
|
-
const radius = `calc(50% * (1 - ${strokeW}/100))`;
|
|
19
|
-
const status = props.syntax ?? "Done";
|
|
20
|
-
const now = props.now >= 100 ? 100 : props.now;
|
|
21
|
-
const bgStyle = props.bgStyle ?? "filled";
|
|
22
|
-
const styles = circularProgress();
|
|
23
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
-
"div",
|
|
25
|
-
{
|
|
26
|
-
id: props.id,
|
|
27
|
-
"aria-label": props.label,
|
|
28
|
-
"aria-valuemin": 0,
|
|
29
|
-
"aria-valuemax": 100,
|
|
30
|
-
"aria-valuenow": now,
|
|
31
|
-
className: styles.root,
|
|
32
|
-
role: "progressbar",
|
|
33
|
-
children: /* @__PURE__ */ jsxs(
|
|
34
|
-
"svg",
|
|
35
|
-
{
|
|
36
|
-
"data-complete": now === 100,
|
|
37
|
-
className: styles.group,
|
|
38
|
-
fill: "none",
|
|
39
|
-
strokeLinecap: "round",
|
|
40
|
-
strokeWidth: strokeW,
|
|
41
|
-
viewBox: "0 0 100 100",
|
|
42
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
-
...sizeProps,
|
|
44
|
-
children: [
|
|
45
|
-
/* @__PURE__ */ jsx("title", { children: props.title }),
|
|
46
|
-
/* @__PURE__ */ jsx("desc", { children: `${now}% ${status}` }),
|
|
47
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "gradient", children: [
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
49
|
-
"stop",
|
|
50
|
-
{
|
|
51
|
-
offset: "0%",
|
|
52
|
-
stopColor: "var(--cerberus-colors-data-viz-progress-start)"
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
/* @__PURE__ */ jsx(
|
|
56
|
-
"stop",
|
|
57
|
-
{
|
|
58
|
-
offset: "100%",
|
|
59
|
-
stopColor: "var(--cerberus-colors-data-viz-progress-end)"
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
] }) }),
|
|
63
|
-
/* @__PURE__ */ jsx(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ jsx(
|
|
64
|
-
"circle",
|
|
65
|
-
{
|
|
66
|
-
className: styles.base,
|
|
67
|
-
cx: "50%",
|
|
68
|
-
cy: "50%",
|
|
69
|
-
r: `calc(50% * (1 - ${strokeW}/100))`,
|
|
70
|
-
pathLength: "100"
|
|
71
|
-
}
|
|
72
|
-
) }),
|
|
73
|
-
/* @__PURE__ */ jsx(
|
|
74
|
-
"circle",
|
|
75
|
-
{
|
|
76
|
-
className: styles.track,
|
|
77
|
-
cx: "50%",
|
|
78
|
-
cy: "50%",
|
|
79
|
-
r: radius,
|
|
80
|
-
pathLength: "100"
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ jsxs(
|
|
84
|
-
Show,
|
|
85
|
-
{
|
|
86
|
-
when: now > 0,
|
|
87
|
-
fallback: /* @__PURE__ */ jsx(
|
|
88
|
-
"text",
|
|
89
|
-
{
|
|
90
|
-
"data-fallback": true,
|
|
91
|
-
className: styles.description,
|
|
92
|
-
x: "50%",
|
|
93
|
-
y: "27%",
|
|
94
|
-
dominantBaseline: "middle",
|
|
95
|
-
textAnchor: "middle",
|
|
96
|
-
textLength: "65%",
|
|
97
|
-
children: /* @__PURE__ */ jsx(For, { each: status.split(" "), children: (word, idx) => /* @__PURE__ */ jsx("tspan", { x: "50%", dy: "1.2em", children: word }, `${word}:${idx}`) })
|
|
98
|
-
}
|
|
99
|
-
),
|
|
100
|
-
children: [
|
|
101
|
-
/* @__PURE__ */ jsx(
|
|
102
|
-
"circle",
|
|
103
|
-
{
|
|
104
|
-
"data-complete": now === 100,
|
|
105
|
-
className: styles.path,
|
|
106
|
-
cx: "50%",
|
|
107
|
-
cy: "50%",
|
|
108
|
-
fill: "none",
|
|
109
|
-
r: radius,
|
|
110
|
-
pathLength: "100",
|
|
111
|
-
strokeDasharray: "100",
|
|
112
|
-
strokeDashoffset: 100 - now,
|
|
113
|
-
transform: "rotate(-90 50 50)"
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
/* @__PURE__ */ jsxs("g", { children: [
|
|
117
|
-
/* @__PURE__ */ jsxs(
|
|
118
|
-
"text",
|
|
119
|
-
{
|
|
120
|
-
className: styles.title,
|
|
121
|
-
x: "50%",
|
|
122
|
-
y: "47%",
|
|
123
|
-
dominantBaseline: "middle",
|
|
124
|
-
textAnchor: "middle",
|
|
125
|
-
children: [
|
|
126
|
-
now,
|
|
127
|
-
"%"
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
),
|
|
131
|
-
/* @__PURE__ */ jsx(
|
|
132
|
-
"text",
|
|
133
|
-
{
|
|
134
|
-
className: styles.description,
|
|
135
|
-
x: "50%",
|
|
136
|
-
y: "59%",
|
|
137
|
-
dominantBaseline: "middle",
|
|
138
|
-
textAnchor: "middle",
|
|
139
|
-
children: status
|
|
140
|
-
}
|
|
141
|
-
)
|
|
142
|
-
] })
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
)
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
)
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export {
|
|
154
|
-
CircularProgress
|
|
155
|
-
};
|
|
156
|
-
//# sourceMappingURL=chunk-PRV3HAK3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/CircularProgress.tsx"],"sourcesContent":["import { circularProgress } from 'styled-system/recipes'\nimport type { SVGProps } from 'react'\nimport { Show } from './Show'\nimport { For } from './for'\n\n/**\n * This module contains the CircularProgress component.\n * @module\n */\n\nexport interface CircularProgressProps extends SVGProps<SVGSVGElement> {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The current value of the CircularProgress\n */\n now: number\n /**\n * The title of the CircularProgress for a11y\n */\n title: string\n /**\n * What is shown below the now value (default: 'Done')\n */\n syntax?: string\n /**\n * The background style of the CircularProgress\n */\n bgStyle?: 'filled' | 'transparent'\n /**\n * The size of the CircularProgress\n * @default '1.1em'\n */\n size?: string\n}\n\n/**\n * The CircularProgress component is used to display a loading indicator.\n * @param props - SVG element attributes\n * @param props.now - The current value of the CircularProgress\n * @param props.title - The title of the CircularProgress for a11y\n * @param props.label - What is shown below the now value (default: 'Done')\n * @see https://cerberus.digitalu.design/react/progress-indicators\n * @example\n * ```tsx\n * <CircularProgress now={24} title=\"Course completion\" label=\"done\" />\n * ```\n */\nexport function CircularProgress(props: CircularProgressProps) {\n const { size = '1.1em' } = props\n const sizeProps = props.size\n ? {\n height: size,\n width: size,\n }\n : {}\n\n const strokeW: number = 14\n const radius = `calc(50% * (1 - ${strokeW}/100))`\n const status: string = props.syntax ?? 'Done'\n const now: number = props.now >= 100 ? 100 : props.now\n const bgStyle: string = props.bgStyle ?? 'filled'\n\n const styles = circularProgress()\n\n return (\n <div\n id={props.id}\n aria-label={props.label}\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={now}\n className={styles.root}\n role=\"progressbar\"\n >\n <svg\n data-complete={now === 100}\n className={styles.group}\n fill=\"none\"\n strokeLinecap=\"round\"\n strokeWidth={strokeW}\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...sizeProps}\n >\n <title>{props.title}</title>\n <desc>{`${now}% ${status}`}</desc>\n\n <defs>\n <linearGradient id=\"gradient\">\n <stop\n offset=\"0%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-start)\"\n />\n <stop\n offset=\"100%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-end)\"\n />\n </linearGradient>\n </defs>\n\n <Show when={bgStyle === 'filled'}>\n <circle\n className={styles.base}\n cx=\"50%\"\n cy=\"50%\"\n r={`calc(50% * (1 - ${strokeW}/100))`}\n pathLength=\"100\"\n />\n </Show>\n\n <circle\n className={styles.track}\n cx=\"50%\"\n cy=\"50%\"\n r={radius}\n pathLength=\"100\"\n />\n\n <Show\n when={now > 0}\n fallback={\n <text\n data-fallback\n className={styles.description}\n x=\"50%\"\n y=\"27%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n textLength=\"65%\"\n >\n <For each={status.split(' ')}>\n {(word, idx) => (\n <tspan key={`${word}:${idx}`} x=\"50%\" dy=\"1.2em\">\n {word}\n </tspan>\n )}\n </For>\n </text>\n }\n >\n <circle\n data-complete={now === 100}\n className={styles.path}\n cx=\"50%\"\n cy=\"50%\"\n fill=\"none\"\n r={radius}\n pathLength=\"100\"\n strokeDasharray=\"100\"\n strokeDashoffset={100 - now}\n transform=\"rotate(-90 50 50)\"\n />\n <g>\n <text\n className={styles.title}\n x=\"50%\"\n y=\"47%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {now}%\n </text>\n <text\n className={styles.description}\n x=\"50%\"\n y=\"59%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {status}\n </text>\n </g>\n </Show>\n </svg>\n </div>\n )\n}\n"],"mappings":";;;;;;;;AAAA,SAAS,wBAAwB;AA2FzB,cAIE,YAJF;AArCD,SAAS,iBAAiB,OAA8B;AAC7D,QAAM,EAAE,OAAO,QAAQ,IAAI;AAC3B,QAAM,YAAY,MAAM,OACpB;AAAA,IACE,QAAQ;AAAA,IACR,OAAO;AAAA,EACT,IACA,CAAC;AAEL,QAAM,UAAkB;AACxB,QAAM,SAAS,mBAAmB,OAAO;AACzC,QAAM,SAAiB,MAAM,UAAU;AACvC,QAAM,MAAc,MAAM,OAAO,MAAM,MAAM,MAAM;AACnD,QAAM,UAAkB,MAAM,WAAW;AAEzC,QAAM,SAAS,iBAAiB;AAEhC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,MAAM;AAAA,MACV,cAAY,MAAM;AAAA,MAClB,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,WAAW,OAAO;AAAA,MAClB,MAAK;AAAA,MAEL;AAAA,QAAC;AAAA;AAAA,UACC,iBAAe,QAAQ;AAAA,UACvB,WAAW,OAAO;AAAA,UAClB,MAAK;AAAA,UACL,eAAc;AAAA,UACd,aAAa;AAAA,UACb,SAAQ;AAAA,UACR,OAAM;AAAA,UACL,GAAG;AAAA,UAEJ;AAAA,gCAAC,WAAO,gBAAM,OAAM;AAAA,YACpB,oBAAC,UAAM,aAAG,GAAG,KAAK,MAAM,IAAG;AAAA,YAE3B,oBAAC,UACC,+BAAC,oBAAe,IAAG,YACjB;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,eACF,GACF;AAAA,YAEA,oBAAC,QAAK,MAAM,YAAY,UACtB;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG,mBAAmB,OAAO;AAAA,gBAC7B,YAAW;AAAA;AAAA,YACb,GACF;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG;AAAA,gBACH,YAAW;AAAA;AAAA,YACb;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,MAAM,MAAM;AAAA,gBACZ,UACE;AAAA,kBAAC;AAAA;AAAA,oBACC,iBAAa;AAAA,oBACb,WAAW,OAAO;AAAA,oBAClB,GAAE;AAAA,oBACF,GAAE;AAAA,oBACF,kBAAiB;AAAA,oBACjB,YAAW;AAAA,oBACX,YAAW;AAAA,oBAEX,8BAAC,OAAI,MAAM,OAAO,MAAM,GAAG,GACxB,WAAC,MAAM,QACN,oBAAC,WAA6B,GAAE,OAAM,IAAG,SACtC,kBADS,GAAG,IAAI,IAAI,GAAG,EAE1B,GAEJ;AAAA;AAAA,gBACF;AAAA,gBAGF;AAAA;AAAA,oBAAC;AAAA;AAAA,sBACC,iBAAe,QAAQ;AAAA,sBACvB,WAAW,OAAO;AAAA,sBAClB,IAAG;AAAA,sBACH,IAAG;AAAA,sBACH,MAAK;AAAA,sBACL,GAAG;AAAA,sBACH,YAAW;AAAA,sBACX,iBAAgB;AAAA,sBAChB,kBAAkB,MAAM;AAAA,sBACxB,WAAU;AAAA;AAAA,kBACZ;AAAA,kBACA,qBAAC,OACC;AAAA;AAAA,sBAAC;AAAA;AAAA,wBACC,WAAW,OAAO;AAAA,wBAClB,GAAE;AAAA,wBACF,GAAE;AAAA,wBACF,kBAAiB;AAAA,wBACjB,YAAW;AAAA,wBAEV;AAAA;AAAA,0BAAI;AAAA;AAAA;AAAA,oBACP;AAAA,oBACA;AAAA,sBAAC;AAAA;AAAA,wBACC,WAAW,OAAO;AAAA,wBAClB,GAAE;AAAA,wBACF,GAAE;AAAA,wBACF,kBAAiB;AAAA,wBACjB,YAAW;AAAA,wBAEV;AAAA;AAAA,oBACH;AAAA,qBACF;AAAA;AAAA;AAAA,YACF;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// src/components/ProgressBar.tsx
|
|
2
|
-
import { ark } from "@ark-ui/react/factory";
|
|
3
|
-
import { cx } from "styled-system/css";
|
|
4
|
-
import {
|
|
5
|
-
progressBar
|
|
6
|
-
} from "styled-system/recipes";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
function ProgressBar(props) {
|
|
9
|
-
const { indeterminate, size, usage, now, label, ...nativeProps } = props;
|
|
10
|
-
const styles = progressBar({ size, usage });
|
|
11
|
-
const nowClamped = Math.min(100, Math.max(0, now || 0));
|
|
12
|
-
const width = {
|
|
13
|
-
width: indeterminate ? "50%" : `${nowClamped}%`
|
|
14
|
-
};
|
|
15
|
-
return /* @__PURE__ */ jsx(
|
|
16
|
-
ark.div,
|
|
17
|
-
{
|
|
18
|
-
...nativeProps,
|
|
19
|
-
"aria-label": label,
|
|
20
|
-
"aria-valuemin": 0,
|
|
21
|
-
"aria-valuemax": 100,
|
|
22
|
-
"aria-valuenow": indeterminate ? 0 : nowClamped,
|
|
23
|
-
className: cx(nativeProps.className, styles.root),
|
|
24
|
-
role: "progressbar",
|
|
25
|
-
children: /* @__PURE__ */ jsx(
|
|
26
|
-
ark.div,
|
|
27
|
-
{
|
|
28
|
-
...indeterminate && { "data-indeterminate": true },
|
|
29
|
-
"data-complete": nowClamped === 100,
|
|
30
|
-
className: styles.bar,
|
|
31
|
-
style: width
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export {
|
|
39
|
-
ProgressBar
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=chunk-Q737W5KJ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/ProgressBar.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from 'styled-system/css'\nimport {\n progressBar,\n type ProgressBarVariantProps,\n} from 'styled-system/recipes'\n\n/**\n * This module contains the ProgressBar component.\n * @module\n */\n\nexport type ProgressBarBaseProps = HTMLArkProps<'div'>\nexport type NonIndeterminateProgressBarProps = {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The state of the progress bar.\n */\n indeterminate?: never\n /**\n * The current value of the progress bar.\n */\n now: number\n}\nexport type IndeterminateProgressBarProps = {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The state of the progress bar.\n */\n indeterminate?: true\n /**\n * The current value of the progress bar.\n */\n now?: never\n}\nexport type ProgressBarProps = ProgressBarBaseProps &\n ProgressBarVariantProps &\n (NonIndeterminateProgressBarProps | IndeterminateProgressBarProps)\n\n/**\n * The ProgressBar component is used to display the progress of a task.\n * @see https://cerberus.digitalu.design/react/progress-indicators\n * @example\n * ```tsx\n * <ProgressBar value={75} />\n * ```\n */\nexport function ProgressBar(props: ProgressBarProps) {\n const { indeterminate, size, usage, now, label, ...nativeProps } = props\n const styles = progressBar({ size, usage })\n const nowClamped = Math.min(100, Math.max(0, now || 0))\n const width = {\n width: indeterminate ? '50%' : `${nowClamped}%`,\n }\n\n return (\n <ark.div\n {...nativeProps}\n aria-label={label}\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={indeterminate ? 0 : nowClamped}\n className={cx(nativeProps.className, styles.root)}\n role=\"progressbar\"\n >\n <ark.div\n {...(indeterminate && { 'data-indeterminate': true })}\n data-complete={nowClamped === 100}\n className={styles.bar}\n style={width}\n />\n </ark.div>\n )\n}\n"],"mappings":";AAAA,SAAS,WAA8B;AACvC,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AA0ED;AAlBC,SAAS,YAAY,OAAyB;AACnD,QAAM,EAAE,eAAe,MAAM,OAAO,KAAK,OAAO,GAAG,YAAY,IAAI;AACnE,QAAM,SAAS,YAAY,EAAE,MAAM,MAAM,CAAC;AAC1C,QAAM,aAAa,KAAK,IAAI,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC,CAAC;AACtD,QAAM,QAAQ;AAAA,IACZ,OAAO,gBAAgB,QAAQ,GAAG,UAAU;AAAA,EAC9C;AAEA,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,cAAY;AAAA,MACZ,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,iBAAe,gBAAgB,IAAI;AAAA,MACnC,WAAW,GAAG,YAAY,WAAW,OAAO,IAAI;AAAA,MAChD,MAAK;AAAA,MAEL;AAAA,QAAC,IAAI;AAAA,QAAJ;AAAA,UACE,GAAI,iBAAiB,EAAE,sBAAsB,KAAK;AAAA,UACnD,iBAAe,eAAe;AAAA,UAC9B,WAAW,OAAO;AAAA,UAClB,OAAO;AAAA;AAAA,MACT;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CheckboxIcon
|
|
3
|
-
} from "./chunk-NYEUNVKR.js";
|
|
4
|
-
import {
|
|
5
|
-
CheckboxParts
|
|
6
|
-
} from "./chunk-52ZQ26IV.js";
|
|
7
|
-
import {
|
|
8
|
-
Text
|
|
9
|
-
} from "./chunk-ZPHPCKAG.js";
|
|
10
|
-
import {
|
|
11
|
-
Show
|
|
12
|
-
} from "./chunk-VEAC4I3F.js";
|
|
13
|
-
|
|
14
|
-
// src/components/checkbox/checkbox.tsx
|
|
15
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
function Checkbox(props) {
|
|
17
|
-
const { size, children, ...rootProps } = props;
|
|
18
|
-
return /* @__PURE__ */ jsxs(CheckboxParts.Root, { ...rootProps, children: [
|
|
19
|
-
/* @__PURE__ */ jsx(CheckboxParts.Control, { size, children: /* @__PURE__ */ jsx(CheckboxIcon, { indeterminate: rootProps.checked === "indeterminate" }) }),
|
|
20
|
-
/* @__PURE__ */ jsxs(CheckboxParts.Label, { size, children: [
|
|
21
|
-
children,
|
|
22
|
-
/* @__PURE__ */ jsx(Show, { when: props.required, children: /* @__PURE__ */ jsx(Text, { as: "span", "data-part": "required-indicator", children: "(required)" }) })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ jsx(CheckboxParts.HiddenInput, {})
|
|
25
|
-
] });
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export {
|
|
29
|
-
Checkbox
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=chunk-QBA6KLL7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import type { CheckboxRootProps } from '@ark-ui/react'\nimport { type CheckboxVariantProps } from 'styled-system/recipes'\nimport { Show } from '../Show'\nimport { Text } from '../Text'\nimport { CheckboxParts } from './parts'\nimport { CheckboxIcon } from './checkbox-icon'\n\n/**\n * This module contains the Checkbox component.\n * @module\n */\n\nexport type CheckboxProps = CheckboxVariantProps & CheckboxRootProps\n\n/**\n * Checkbox component is an abstraction of the primitives that displays a\n * controlled checkbox with a label.\n * @description [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)\n * @description [Ark Docs](https://ark-ui.com/docs/components/checkbox)\n */\nexport function Checkbox(props: CheckboxProps) {\n const { size, children, ...rootProps } = props\n\n return (\n <CheckboxParts.Root {...rootProps}>\n <CheckboxParts.Control size={size}>\n <CheckboxIcon indeterminate={rootProps.checked === 'indeterminate'} />\n </CheckboxParts.Control>\n\n <CheckboxParts.Label size={size}>\n {children}\n <Show when={props.required}>\n <Text as=\"span\" data-part=\"required-indicator\">\n (required)\n </Text>\n </Show>\n </CheckboxParts.Label>\n\n <CheckboxParts.HiddenInput />\n </CheckboxParts.Root>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AA0BQ,cAGF,YAHE;AAND,SAAS,SAAS,OAAsB;AAC7C,QAAM,EAAE,MAAM,UAAU,GAAG,UAAU,IAAI;AAEzC,SACE,qBAAC,cAAc,MAAd,EAAoB,GAAG,WACtB;AAAA,wBAAC,cAAc,SAAd,EAAsB,MACrB,8BAAC,gBAAa,eAAe,UAAU,YAAY,iBAAiB,GACtE;AAAA,IAEA,qBAAC,cAAc,OAAd,EAAoB,MAClB;AAAA;AAAA,MACD,oBAAC,QAAK,MAAM,MAAM,UAChB,8BAAC,QAAK,IAAG,QAAO,aAAU,sBAAqB,wBAE/C,GACF;AAAA,OACF;AAAA,IAEA,oBAAC,cAAc,aAAd,EAA0B;AAAA,KAC7B;AAEJ;","names":[]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RatingParts
|
|
3
|
-
} from "./chunk-GYUCW2QK.js";
|
|
4
|
-
import {
|
|
5
|
-
splitProps
|
|
6
|
-
} from "./chunk-BL7G3577.js";
|
|
7
|
-
import {
|
|
8
|
-
Show
|
|
9
|
-
} from "./chunk-VEAC4I3F.js";
|
|
10
|
-
|
|
11
|
-
// src/components/rating/rating.tsx
|
|
12
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
function Rating(props) {
|
|
14
|
-
const [{ label }, styleProps, rootProps] = splitProps(
|
|
15
|
-
props,
|
|
16
|
-
["label"],
|
|
17
|
-
["orientation", "palette", "size"]
|
|
18
|
-
);
|
|
19
|
-
return /* @__PURE__ */ jsxs(RatingParts.Root, { ...styleProps, ...rootProps, children: [
|
|
20
|
-
/* @__PURE__ */ jsx(Show, { when: label, children: /* @__PURE__ */ jsx(RatingParts.Label, { children: label }) }),
|
|
21
|
-
/* @__PURE__ */ jsx(RatingParts.Control, { children: /* @__PURE__ */ jsx(RatingParts.Context, { children: (context) => context.items.map((item) => /* @__PURE__ */ jsx(
|
|
22
|
-
RatingParts.Item,
|
|
23
|
-
{
|
|
24
|
-
index: item,
|
|
25
|
-
palette: styleProps.palette,
|
|
26
|
-
children: /* @__PURE__ */ jsx(RatingParts.ItemContext, { children: rootProps.children })
|
|
27
|
-
},
|
|
28
|
-
item
|
|
29
|
-
)) }) })
|
|
30
|
-
] });
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
Rating
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=chunk-QCZ5VNGU.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/rating/rating.tsx"],"sourcesContent":["import type {\n RatingGroupRootProps,\n UseRatingGroupContext,\n UseRatingGroupItemContext,\n} from '@ark-ui/react/rating-group'\nimport type { RatingGroupVariantProps } from 'styled-system/recipes'\nimport type { ReactNode } from 'react'\nimport { splitProps } from '../../utils/index'\nimport { Show } from '../Show'\nimport { RatingParts } from './parts'\n\n/**\n * This module contains the abstracted Rating component.\n * @module 'react/rating'\n */\n\nexport interface RatingProps\n extends Omit<RatingGroupRootProps, 'children'>,\n RatingGroupVariantProps {\n /**\n * The label of the rating component.\n */\n label?: string\n /**\n * The children of the rating component.\n */\n children: (context: UseRatingGroupItemContext) => ReactNode\n}\n\n/**\n * The Rating component is an abstraction of the primitives which provides a\n * visual rating system for a user to select a value.\n * @description [Cerberus Docs](https://cerberus.digitalu.design/react/rating)\n * @description [Ark Docs](https://ark-ui.com/react/docs/components/rating-group#api-reference)\n * @example\n * ```tsx\n * <Rating count={5} defaultValue={3} allowHalf>\n * {({ half, highlighted }) => {\n * if (half) return <StarHalfIcon fill=\"current\" />\n * if (highlighted) return <StarIcon fill=\"current\" />\n * return <StarIcon />\n * }}\n * </Rating>\n * ```\n */\nexport function Rating(props: RatingProps) {\n const [{ label }, styleProps, rootProps] = splitProps(\n props,\n ['label'],\n ['orientation', 'palette', 'size'],\n )\n\n return (\n <RatingParts.Root {...styleProps} {...rootProps}>\n <Show when={label}>\n <RatingParts.Label>{label}</RatingParts.Label>\n </Show>\n\n <RatingParts.Control>\n <RatingParts.Context>\n {(context: UseRatingGroupContext) =>\n context.items.map((item) => (\n <RatingParts.Item\n key={item}\n index={item}\n palette={styleProps.palette}\n >\n <RatingParts.ItemContext>\n {rootProps.children}\n </RatingParts.ItemContext>\n </RatingParts.Item>\n ))\n }\n </RatingParts.Context>\n </RatingParts.Control>\n </RatingParts.Root>\n )\n}\n"],"mappings":";;;;;;;;;;;AAqDI,SAEI,KAFJ;AARG,SAAS,OAAO,OAAoB;AACzC,QAAM,CAAC,EAAE,MAAM,GAAG,YAAY,SAAS,IAAI;AAAA,IACzC;AAAA,IACA,CAAC,OAAO;AAAA,IACR,CAAC,eAAe,WAAW,MAAM;AAAA,EACnC;AAEA,SACE,qBAAC,YAAY,MAAZ,EAAkB,GAAG,YAAa,GAAG,WACpC;AAAA,wBAAC,QAAK,MAAM,OACV,8BAAC,YAAY,OAAZ,EAAmB,iBAAM,GAC5B;AAAA,IAEA,oBAAC,YAAY,SAAZ,EACC,8BAAC,YAAY,SAAZ,EACE,WAAC,YACA,QAAQ,MAAM,IAAI,CAAC,SACjB;AAAA,MAAC,YAAY;AAAA,MAAZ;AAAA,QAEC,OAAO;AAAA,QACP,SAAS,WAAW;AAAA,QAEpB,8BAAC,YAAY,aAAZ,EACE,oBAAU,UACb;AAAA;AAAA,MANK;AAAA,IAOP,CACD,GAEL,GACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button
|
|
3
|
-
} from "./chunk-GB7W3YNU.js";
|
|
4
|
-
|
|
5
|
-
// src/components/cta-dialog/trigger-item.tsx
|
|
6
|
-
import { css, cx } from "styled-system/css";
|
|
7
|
-
import { ark } from "@ark-ui/react/factory";
|
|
8
|
-
import { button } from "styled-system/recipes";
|
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
function TriggerItem(props) {
|
|
11
|
-
const { asChild, children, ...buttonProps } = props;
|
|
12
|
-
if (asChild) {
|
|
13
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
-
ark.div,
|
|
15
|
-
{
|
|
16
|
-
className: cx(
|
|
17
|
-
button({
|
|
18
|
-
shape: "rounded",
|
|
19
|
-
usage: "ghost"
|
|
20
|
-
}),
|
|
21
|
-
css({
|
|
22
|
-
w: "1/2"
|
|
23
|
-
})
|
|
24
|
-
),
|
|
25
|
-
asChild: true,
|
|
26
|
-
children
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
-
Button,
|
|
32
|
-
{
|
|
33
|
-
...buttonProps,
|
|
34
|
-
className: css({
|
|
35
|
-
w: "1/2"
|
|
36
|
-
}),
|
|
37
|
-
shape: "rounded",
|
|
38
|
-
usage: "outlined",
|
|
39
|
-
children
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export {
|
|
45
|
-
TriggerItem
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=chunk-QD3WAARV.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AccordionItem,
|
|
3
|
-
AccordionItemContent,
|
|
4
|
-
AccordionItemIndicator,
|
|
5
|
-
AccordionItemTrigger,
|
|
6
|
-
AccordionRoot
|
|
7
|
-
} from "./chunk-BMPMMTX3.js";
|
|
8
|
-
|
|
9
|
-
// src/components/accordion/parts.ts
|
|
10
|
-
var AccordionParts = {
|
|
11
|
-
Root: AccordionRoot,
|
|
12
|
-
Item: AccordionItem,
|
|
13
|
-
ItemTrigger: AccordionItemTrigger,
|
|
14
|
-
ItemContent: AccordionItemContent,
|
|
15
|
-
ItemIndicator: AccordionItemIndicator
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
AccordionParts
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=chunk-QNZIH2KG.js.map
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ToastCloseTrigger
|
|
3
|
-
} from "./chunk-5HEU3SYR.js";
|
|
4
|
-
import {
|
|
5
|
-
MatchNotificationIcon
|
|
6
|
-
} from "./chunk-TS7PAQPV.js";
|
|
7
|
-
import {
|
|
8
|
-
NotificationParts
|
|
9
|
-
} from "./chunk-MTD4JSHT.js";
|
|
10
|
-
import {
|
|
11
|
-
Button
|
|
12
|
-
} from "./chunk-GB7W3YNU.js";
|
|
13
|
-
import {
|
|
14
|
-
Show
|
|
15
|
-
} from "./chunk-VEAC4I3F.js";
|
|
16
|
-
|
|
17
|
-
// src/components/notifications/center.tsx
|
|
18
|
-
import {
|
|
19
|
-
createToaster,
|
|
20
|
-
Toaster
|
|
21
|
-
} from "@ark-ui/react/toast";
|
|
22
|
-
import { Box } from "styled-system/jsx";
|
|
23
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
24
|
-
var toaster = createToaster({
|
|
25
|
-
gap: 16,
|
|
26
|
-
overlap: true,
|
|
27
|
-
placement: "top-end"
|
|
28
|
-
});
|
|
29
|
-
function NotificationCenter() {
|
|
30
|
-
return /* @__PURE__ */ jsx(Toaster, { toaster, children: (toast) => /* @__PURE__ */ jsxs(NotificationParts.Root, { children: [
|
|
31
|
-
/* @__PURE__ */ jsx(
|
|
32
|
-
MatchNotificationIcon,
|
|
33
|
-
{
|
|
34
|
-
type: toast.type
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ jsxs(Box, { flex: "1", paddingBlock: "sm", children: [
|
|
38
|
-
/* @__PURE__ */ jsx(NotificationParts.Heading, { children: toast.title }),
|
|
39
|
-
/* @__PURE__ */ jsx(NotificationParts.Description, { children: toast.description }),
|
|
40
|
-
/* @__PURE__ */ jsx(Show, { when: toast.action, children: /* @__PURE__ */ jsx(NotificationParts.ActionTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
41
|
-
Button,
|
|
42
|
-
{
|
|
43
|
-
palette: toast.type,
|
|
44
|
-
usage: "ghost",
|
|
45
|
-
size: "sm",
|
|
46
|
-
children: toast.action?.label
|
|
47
|
-
}
|
|
48
|
-
) }) })
|
|
49
|
-
] }),
|
|
50
|
-
/* @__PURE__ */ jsx(ToastCloseTrigger, {})
|
|
51
|
-
] }, toast.id) });
|
|
52
|
-
}
|
|
53
|
-
function useNotificationCenter() {
|
|
54
|
-
function notify(options) {
|
|
55
|
-
toaster.create({
|
|
56
|
-
title: options.heading,
|
|
57
|
-
description: options.description,
|
|
58
|
-
type: options.palette,
|
|
59
|
-
action: options.action
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
return { ...toaster, notify };
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export {
|
|
66
|
-
toaster,
|
|
67
|
-
NotificationCenter,
|
|
68
|
-
useNotificationCenter
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=chunk-RF4VKGOQ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/notifications/center.tsx"],"sourcesContent":["'use client'\n\nimport {\n createToaster,\n Toaster,\n type CreateToasterReturn,\n} from '@ark-ui/react/toast'\nimport { Box } from 'styled-system/jsx'\nimport { Button, type ButtonProps } from '../button/button'\nimport { Show } from '../Show'\nimport { NotificationParts } from './parts'\nimport type { NotifyOptions, UseNotificationCenterReturn } from './types'\nimport { MatchNotificationIcon } from './match-icon'\nimport { ToastCloseTrigger } from './close-trigger'\n\n/**\n * This module contains an abstraction of the Notification parts.\n * @module 'notification/center'\n */\n\nexport const toaster: CreateToasterReturn = createToaster({\n gap: 16,\n overlap: true,\n placement: 'top-end',\n})\n\n/**\n * The NotificationCenter component is an abstraction for the Notification\n * component. It manages displaying all the toasts in the center.\n */\nexport function NotificationCenter() {\n return (\n <Toaster toaster={toaster}>\n {(toast) => (\n <NotificationParts.Root key={toast.id}>\n <MatchNotificationIcon\n type={toast.type as NotifyOptions['palette']}\n />\n\n <Box flex=\"1\" paddingBlock=\"sm\">\n <NotificationParts.Heading>{toast.title}</NotificationParts.Heading>\n <NotificationParts.Description>\n {toast.description}\n </NotificationParts.Description>\n <Show when={toast.action}>\n <NotificationParts.ActionTrigger asChild>\n <Button\n palette={toast.type as ButtonProps['palette']}\n usage=\"ghost\"\n size=\"sm\"\n >\n {toast.action?.label}\n </Button>\n </NotificationParts.ActionTrigger>\n </Show>\n </Box>\n\n <ToastCloseTrigger />\n </NotificationParts.Root>\n )}\n </Toaster>\n )\n}\n\n/**\n * @deprecated use `toaster` instead\n */\nexport function useNotificationCenter(): UseNotificationCenterReturn {\n function notify(options: NotifyOptions) {\n toaster.create({\n title: options.heading,\n description: options.description,\n type: options.palette,\n action: options.action,\n })\n }\n return { ...toaster, notify }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP,SAAS,WAAW;AA4BV,cAIA,YAJA;AAfH,IAAM,UAA+B,cAAc;AAAA,EACxD,KAAK;AAAA,EACL,SAAS;AAAA,EACT,WAAW;AACb,CAAC;AAMM,SAAS,qBAAqB;AACnC,SACE,oBAAC,WAAQ,SACN,WAAC,UACA,qBAAC,kBAAkB,MAAlB,EACC;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,MAAM;AAAA;AAAA,IACd;AAAA,IAEA,qBAAC,OAAI,MAAK,KAAI,cAAa,MACzB;AAAA,0BAAC,kBAAkB,SAAlB,EAA2B,gBAAM,OAAM;AAAA,MACxC,oBAAC,kBAAkB,aAAlB,EACE,gBAAM,aACT;AAAA,MACA,oBAAC,QAAK,MAAM,MAAM,QAChB,8BAAC,kBAAkB,eAAlB,EAAgC,SAAO,MACtC;AAAA,QAAC;AAAA;AAAA,UACC,SAAS,MAAM;AAAA,UACf,OAAM;AAAA,UACN,MAAK;AAAA,UAEJ,gBAAM,QAAQ;AAAA;AAAA,MACjB,GACF,GACF;AAAA,OACF;AAAA,IAEA,oBAAC,qBAAkB;AAAA,OAvBQ,MAAM,EAwBnC,GAEJ;AAEJ;AAKO,SAAS,wBAAqD;AACnE,WAAS,OAAO,SAAwB;AACtC,YAAQ,OAAO;AAAA,MACb,OAAO,QAAQ;AAAA,MACf,aAAa,QAAQ;AAAA,MACrB,MAAM,QAAQ;AAAA,MACd,QAAQ,QAAQ;AAAA,IAClB,CAAC;AAAA,EACH;AACA,SAAO,EAAE,GAAG,SAAS,OAAO;AAC9B;","names":[]}
|