@gv-tech/design-system 2.27.3 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.cjs.map +1 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.mjs +17 -18
- package/dist/accordion.mjs.map +1 -1
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.cjs.map +1 -1
- package/dist/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog.mjs +27 -28
- package/dist/alert-dialog.mjs.map +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.cjs.map +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/alert.mjs +2 -3
- package/dist/alert.mjs.map +1 -1
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/attachment.cjs +2 -0
- package/dist/attachment.cjs.map +1 -0
- package/dist/attachment.d.ts +2 -0
- package/dist/attachment.mjs +100 -0
- package/dist/attachment.mjs.map +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.mjs +11 -11
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +2 -2
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.cjs.map +1 -1
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.mjs +17 -18
- package/dist/breadcrumb.mjs.map +1 -1
- package/dist/bubble.cjs +2 -0
- package/dist/bubble.cjs.map +1 -0
- package/dist/bubble.d.ts +2 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.mjs.map +1 -0
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.cjs.map +1 -1
- package/dist/button-group.d.ts +1 -1
- package/dist/button-group.mjs +10 -11
- package/dist/button-group.mjs.map +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.cjs.map +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.mjs +7 -8
- package/dist/button.mjs.map +1 -1
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.cjs.map +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.mjs +22 -22
- package/dist/calendar.mjs.map +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.cjs.map +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.mjs +5 -6
- package/dist/card.mjs.map +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.cjs.map +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.mjs +23 -24
- package/dist/carousel.mjs.map +1 -1
- package/dist/chart.cjs +2 -2
- package/dist/chart.cjs.map +1 -1
- package/dist/chart.d.ts +1 -1
- package/dist/chart.mjs +1 -2
- package/dist/chart.mjs.map +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.cjs.map +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.mjs +4 -5
- package/dist/checkbox.mjs.map +1 -1
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.mjs +7 -7
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.cjs.map +1 -1
- package/dist/combobox.d.ts +1 -1
- package/dist/combobox.mjs +44 -45
- package/dist/combobox.mjs.map +1 -1
- package/dist/command.cjs +1 -1
- package/dist/command.cjs.map +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.mjs +25 -26
- package/dist/command.mjs.map +1 -1
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.cjs.map +1 -1
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.mjs +35 -36
- package/dist/context-menu.mjs.map +1 -1
- package/dist/design-system.css +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.mjs +23 -24
- package/dist/dialog.mjs.map +1 -1
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.mjs +6 -6
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.cjs.map +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.mjs +2 -3
- package/dist/drawer.mjs.map +1 -1
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.cjs.map +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.mjs +41 -42
- package/dist/dropdown-menu.mjs.map +1 -1
- package/dist/empty.cjs +1 -1
- package/dist/empty.cjs.map +1 -1
- package/dist/empty.d.ts +1 -1
- package/dist/empty.mjs +2 -3
- package/dist/empty.mjs.map +1 -1
- package/dist/field.cjs +1 -1
- package/dist/field.cjs.map +1 -1
- package/dist/field.d.ts +1 -1
- package/dist/field.mjs +2 -3
- package/dist/field.mjs.map +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.cjs.map +1 -1
- package/dist/form.d.ts +1 -1
- package/dist/form.mjs +6 -6
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.cjs.map +1 -1
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.mjs +11 -12
- package/dist/hover-card.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +74 -67
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.cjs.map +1 -1
- package/dist/input-group.d.ts +1 -1
- package/dist/input-group.mjs +4 -5
- package/dist/input-group.mjs.map +1 -1
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.cjs.map +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input-otp.mjs +11 -12
- package/dist/input-otp.mjs.map +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.cjs.map +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.mjs +1 -2
- package/dist/input.mjs.map +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.cjs.map +1 -1
- package/dist/item.d.ts +1 -1
- package/dist/item.mjs +15 -16
- package/dist/item.mjs.map +1 -1
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.cjs.map +1 -1
- package/dist/kbd.d.ts +1 -1
- package/dist/kbd.mjs +2 -3
- package/dist/kbd.mjs.map +1 -1
- package/dist/label.cjs +1 -1
- package/dist/label.cjs.map +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.mjs +1 -2
- package/dist/label.mjs.map +1 -1
- package/dist/marker.cjs +2 -0
- package/dist/marker.cjs.map +1 -0
- package/dist/marker.d.ts +2 -0
- package/dist/marker.mjs +39 -0
- package/dist/marker.mjs.map +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.cjs.map +1 -1
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.mjs +43 -44
- package/dist/menubar.mjs.map +1 -1
- package/dist/message-scroller.cjs +2 -0
- package/dist/message-scroller.cjs.map +1 -0
- package/dist/message-scroller.d.ts +2 -0
- package/dist/message-scroller.mjs +61 -0
- package/dist/message-scroller.mjs.map +1 -0
- package/dist/message.cjs +2 -0
- package/dist/message.cjs.map +1 -0
- package/dist/message.d.ts +2 -0
- package/dist/message.mjs +52 -0
- package/dist/message.mjs.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.cjs.map +1 -1
- package/dist/native-select.d.ts +1 -1
- package/dist/native-select.mjs +1 -2
- package/dist/native-select.mjs.map +1 -1
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.cjs.map +1 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/navigation-menu.mjs +23 -24
- package/dist/navigation-menu.mjs.map +1 -1
- package/dist/packages/ui-core/src/contracts/attachment.d.ts +47 -0
- package/dist/packages/ui-core/src/contracts/bubble.d.ts +27 -0
- package/dist/packages/ui-core/src/contracts/marker.d.ts +16 -0
- package/dist/packages/ui-core/src/contracts/message-scroller.d.ts +31 -0
- package/dist/packages/ui-core/src/contracts/message.d.ts +28 -0
- package/dist/packages/ui-core/src/contracts/questionnaire.d.ts +72 -0
- package/dist/packages/ui-core/src/index.d.ts +6 -0
- package/dist/packages/ui-web/src/__contracts.d.ts +44 -1
- package/dist/packages/ui-web/src/accordion.d.ts +4 -4
- package/dist/packages/ui-web/src/alert-dialog.d.ts +12 -12
- package/dist/packages/ui-web/src/alert.d.ts +4 -4
- package/dist/packages/ui-web/src/aspect-ratio.d.ts +1 -1
- package/dist/packages/ui-web/src/attachment.d.ts +23 -0
- package/dist/packages/ui-web/src/attachment.test.d.ts +1 -0
- package/dist/packages/ui-web/src/avatar.d.ts +6 -6
- package/dist/packages/ui-web/src/badge.d.ts +1 -1
- package/dist/packages/ui-web/src/breadcrumb.d.ts +7 -7
- package/dist/packages/ui-web/src/bubble.d.ts +13 -0
- package/dist/packages/ui-web/src/bubble.test.d.ts +1 -0
- package/dist/packages/ui-web/src/button-group.d.ts +3 -3
- package/dist/packages/ui-web/src/button.d.ts +1 -1
- package/dist/packages/ui-web/src/calendar.d.ts +2 -2
- package/dist/packages/ui-web/src/card.d.ts +7 -7
- package/dist/packages/ui-web/src/carousel.d.ts +5 -5
- package/dist/packages/ui-web/src/chart.d.ts +4 -4
- package/dist/packages/ui-web/src/checkbox.d.ts +1 -1
- package/dist/packages/ui-web/src/collapsible.d.ts +3 -3
- package/dist/packages/ui-web/src/combobox.d.ts +14 -14
- package/dist/packages/ui-web/src/command.d.ts +9 -9
- package/dist/packages/ui-web/src/context-menu.d.ts +15 -15
- package/dist/packages/ui-web/src/dialog.d.ts +10 -10
- package/dist/packages/ui-web/src/direction.d.ts +1 -1
- package/dist/packages/ui-web/src/drawer.d.ts +10 -10
- package/dist/packages/ui-web/src/dropdown-menu.d.ts +15 -15
- package/dist/packages/ui-web/src/empty.d.ts +6 -6
- package/dist/packages/ui-web/src/field.d.ts +11 -11
- package/dist/packages/ui-web/src/form.d.ts +6 -5
- package/dist/packages/ui-web/src/hover-card.d.ts +3 -3
- package/dist/packages/ui-web/src/index.d.ts +7 -1
- package/dist/packages/ui-web/src/input-group.d.ts +7 -7
- package/dist/packages/ui-web/src/input-otp.d.ts +4 -4
- package/dist/packages/ui-web/src/input.d.ts +1 -1
- package/dist/packages/ui-web/src/item.d.ts +11 -11
- package/dist/packages/ui-web/src/kbd.d.ts +2 -2
- package/dist/packages/ui-web/src/label.d.ts +1 -1
- package/dist/packages/ui-web/src/marker.d.ts +12 -0
- package/dist/packages/ui-web/src/marker.test.d.ts +1 -0
- package/dist/packages/ui-web/src/menubar.d.ts +16 -16
- package/dist/packages/ui-web/src/message-scroller.d.ts +12 -0
- package/dist/packages/ui-web/src/message-scroller.test.d.ts +1 -0
- package/dist/packages/ui-web/src/message.d.ts +10 -0
- package/dist/packages/ui-web/src/message.test.d.ts +1 -0
- package/dist/packages/ui-web/src/native-select.d.ts +3 -3
- package/dist/packages/ui-web/src/navigation-menu.d.ts +8 -8
- package/dist/packages/ui-web/src/pagination.d.ts +7 -7
- package/dist/packages/ui-web/src/popover.d.ts +7 -7
- package/dist/packages/ui-web/src/progress.d.ts +1 -1
- package/dist/packages/ui-web/src/questionnaire.d.ts +21 -0
- package/dist/packages/ui-web/src/questionnaire.test.d.ts +1 -0
- package/dist/packages/ui-web/src/radio-group.d.ts +2 -2
- package/dist/packages/ui-web/src/resizable.d.ts +3 -3
- package/dist/packages/ui-web/src/scroll-area.d.ts +2 -2
- package/dist/packages/ui-web/src/scroll-to-top.d.ts +1 -1
- package/dist/packages/ui-web/src/search.d.ts +1 -1
- package/dist/packages/ui-web/src/select.d.ts +10 -10
- package/dist/packages/ui-web/src/separator.d.ts +1 -1
- package/dist/packages/ui-web/src/sheet.d.ts +8 -8
- package/dist/packages/ui-web/src/sidebar.d.ts +24 -24
- package/dist/packages/ui-web/src/skeleton.d.ts +1 -1
- package/dist/packages/ui-web/src/slider.d.ts +1 -1
- package/dist/packages/ui-web/src/sonner.d.ts +2 -4
- package/dist/packages/ui-web/src/spinner.d.ts +1 -1
- package/dist/packages/ui-web/src/support-fab.d.ts +1 -1
- package/dist/packages/ui-web/src/switch.d.ts +1 -1
- package/dist/packages/ui-web/src/table-of-contents.d.ts +4 -3
- package/dist/packages/ui-web/src/table.d.ts +8 -8
- package/dist/packages/ui-web/src/tabs.d.ts +4 -4
- package/dist/packages/ui-web/src/textarea.d.ts +1 -1
- package/dist/packages/ui-web/src/theme-provider.d.ts +1 -1
- package/dist/packages/ui-web/src/theme-toggle.d.ts +1 -1
- package/dist/packages/ui-web/src/toaster.d.ts +1 -1
- package/dist/packages/ui-web/src/toggle-group.d.ts +2 -2
- package/dist/packages/ui-web/src/toggle.d.ts +1 -1
- package/dist/packages/ui-web/src/tooltip.d.ts +4 -4
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.cjs.map +1 -1
- package/dist/pagination.d.ts +1 -1
- package/dist/pagination.mjs +18 -13
- package/dist/pagination.mjs.map +1 -1
- package/dist/popover.cjs +1 -1
- package/dist/popover.cjs.map +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.mjs +8 -9
- package/dist/popover.mjs.map +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.mjs +4 -5
- package/dist/progress.mjs.map +1 -1
- package/dist/questionnaire.cjs +2 -0
- package/dist/questionnaire.cjs.map +1 -0
- package/dist/questionnaire.d.ts +2 -0
- package/dist/questionnaire.mjs +171 -0
- package/dist/questionnaire.mjs.map +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.cjs.map +1 -1
- package/dist/radio-group.d.ts +1 -1
- package/dist/radio-group.mjs +10 -11
- package/dist/radio-group.mjs.map +1 -1
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.cjs.map +1 -1
- package/dist/resizable.d.ts +1 -1
- package/dist/resizable.mjs +10 -11
- package/dist/resizable.mjs.map +1 -1
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.cjs.map +1 -1
- package/dist/scroll-area.d.ts +1 -1
- package/dist/scroll-area.mjs +9 -10
- package/dist/scroll-area.mjs.map +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.mjs +2 -2
- package/dist/search.cjs +1 -1
- package/dist/search.cjs.map +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.mjs +2 -2
- package/dist/select.cjs +1 -1
- package/dist/select.cjs.map +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.mjs +32 -33
- package/dist/select.mjs.map +1 -1
- package/dist/separator.cjs +1 -1
- package/dist/separator.cjs.map +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.mjs +3 -4
- package/dist/separator.mjs.map +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.cjs.map +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/sheet.mjs +22 -23
- package/dist/sheet.mjs.map +1 -1
- package/dist/{sidebar-BnEmNYS2.mjs → sidebar-C5ukZKYH.mjs} +40 -41
- package/dist/sidebar-C5ukZKYH.mjs.map +1 -0
- package/dist/sidebar-DyP2Q-Ru.js +2 -0
- package/dist/sidebar-DyP2Q-Ru.js.map +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.mjs +1 -2
- package/dist/skeleton.mjs.map +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/slider.mjs +11 -12
- package/dist/slider.mjs.map +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.cjs.map +1 -1
- package/dist/sonner.d.ts +1 -1
- package/dist/sonner.mjs +9 -9
- package/dist/sonner.mjs.map +1 -1
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.cjs.map +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.mjs +6 -6
- package/dist/spinner.mjs.map +1 -1
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.cjs.map +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.mjs +37 -29
- package/dist/support-fab.mjs.map +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.mjs +7 -8
- package/dist/switch.mjs.map +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.cjs.map +1 -1
- package/dist/table-of-contents.d.ts +1 -1
- package/dist/table-of-contents.mjs +4 -4
- package/dist/table-of-contents.mjs.map +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.cjs.map +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.mjs +1 -2
- package/dist/table.mjs.map +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.mjs +15 -16
- package/dist/tabs.mjs.map +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.mjs +2 -2
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.cjs.map +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.mjs +1 -2
- package/dist/textarea.mjs.map +1 -1
- package/dist/theme-provider.cjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.mjs +1 -1
- package/dist/{theme-toggle-CgEJLId-.mjs → theme-toggle-BGVdrh4J.mjs} +12 -12
- package/dist/{theme-toggle-CgEJLId-.mjs.map → theme-toggle-BGVdrh4J.mjs.map} +1 -1
- package/dist/{theme-toggle-CNDBFa9t.js → theme-toggle-CMdzi7Y8.js} +2 -2
- package/dist/{theme-toggle-CNDBFa9t.js.map → theme-toggle-CMdzi7Y8.js.map} +1 -1
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.mjs +1 -1
- package/dist/toast.cjs +1 -1
- package/dist/toast.cjs.map +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toast.mjs +20 -20
- package/dist/{toaster-DH0UX0nD.mjs → toaster-CfNd-vsx.mjs} +2 -2
- package/dist/{toaster-DH0UX0nD.mjs.map → toaster-CfNd-vsx.mjs.map} +1 -1
- package/dist/{toaster-C3UZyPzU.js → toaster-D9OZF7hL.js} +2 -2
- package/dist/{toaster-C3UZyPzU.js.map → toaster-D9OZF7hL.js.map} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.cjs.map +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.mjs +3 -4
- package/dist/toggle-group.mjs.map +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.cjs.map +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.mjs +3 -4
- package/dist/toggle.mjs.map +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +5 -6
- package/dist/tooltip.mjs.map +1 -1
- package/dist/{utils-IYJAOUsw.mjs → utils-BtHTUEvP.mjs} +2 -2
- package/dist/{utils-IYJAOUsw.mjs.map → utils-BtHTUEvP.mjs.map} +1 -1
- package/dist/{utils-D7tt_q-u.js → utils-CnOgTvBJ.js} +2 -2
- package/dist/{utils-D7tt_q-u.js.map → utils-CnOgTvBJ.js.map} +1 -1
- package/dist/{vendor-B6CFfDyk.mjs → vendor-D9rWr_E8.mjs} +19011 -15688
- package/dist/vendor-D9rWr_E8.mjs.map +1 -0
- package/dist/vendor-i1KCLryV.js +101 -0
- package/dist/vendor-i1KCLryV.js.map +1 -0
- package/package.json +17 -15
- package/dist/sidebar-BnEmNYS2.mjs.map +0 -1
- package/dist/sidebar-BnuanaZN.js +0 -2
- package/dist/sidebar-BnuanaZN.js.map +0 -1
- package/dist/vendor-B6CFfDyk.mjs.map +0 -1
- package/dist/vendor-UfQavLF9.js +0 -111
- package/dist/vendor-UfQavLF9.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { SidebarBaseProps, SidebarContentBaseProps, SidebarFooterBaseProps, SidebarGroupActionBaseProps, SidebarGroupBaseProps, SidebarGroupContentBaseProps, SidebarGroupLabelBaseProps, SidebarHeaderBaseProps, SidebarInputBaseProps, SidebarInsetBaseProps, SidebarMenuActionBaseProps, SidebarMenuBadgeBaseProps, SidebarMenuBaseProps, SidebarMenuButtonBaseProps, SidebarMenuItemBaseProps, SidebarMenuSkeletonBaseProps, SidebarMenuSubBaseProps, SidebarMenuSubButtonBaseProps, SidebarMenuSubItemBaseProps, SidebarProviderBaseProps, SidebarRailBaseProps, SidebarSeparatorBaseProps, SidebarTriggerBaseProps } from '../../ui-core/src';
|
|
3
2
|
import { Button } from './button';
|
|
4
3
|
import { Input } from './input';
|
|
5
4
|
import { Separator } from './separator';
|
|
5
|
+
import { SidebarBaseProps, SidebarContentBaseProps, SidebarFooterBaseProps, SidebarGroupActionBaseProps, SidebarGroupBaseProps, SidebarGroupContentBaseProps, SidebarGroupLabelBaseProps, SidebarHeaderBaseProps, SidebarInputBaseProps, SidebarInsetBaseProps, SidebarMenuActionBaseProps, SidebarMenuBadgeBaseProps, SidebarMenuBaseProps, SidebarMenuButtonBaseProps, SidebarMenuItemBaseProps, SidebarMenuSkeletonBaseProps, SidebarMenuSubBaseProps, SidebarMenuSubButtonBaseProps, SidebarMenuSubItemBaseProps, SidebarProviderBaseProps, SidebarRailBaseProps, SidebarSeparatorBaseProps, SidebarTriggerBaseProps } from '../../ui-core/src';
|
|
6
6
|
import { ClassProp } from 'class-variance-authority/types';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
type SidebarContextProps = {
|
|
@@ -15,31 +15,31 @@ type SidebarContextProps = {
|
|
|
15
15
|
toggleSidebar: () => void;
|
|
16
16
|
};
|
|
17
17
|
declare function useSidebar(): SidebarContextProps;
|
|
18
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<'div'> & SidebarProviderBaseProps):
|
|
19
|
-
declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React.ComponentProps<'div'> & SidebarBaseProps):
|
|
20
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button> & SidebarTriggerBaseProps):
|
|
21
|
-
declare function SidebarRail({ className, ...props }: React.ComponentProps<'button'> & SidebarRailBaseProps):
|
|
22
|
-
declare function SidebarInset({ className, ...props }: React.ComponentProps<'main'> & SidebarInsetBaseProps):
|
|
23
|
-
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input> & SidebarInputBaseProps):
|
|
24
|
-
declare function SidebarHeader({ className, ...props }: React.ComponentProps<'div'> & SidebarHeaderBaseProps):
|
|
25
|
-
declare function SidebarFooter({ className, ...props }: React.ComponentProps<'div'> & SidebarFooterBaseProps):
|
|
26
|
-
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator> & SidebarSeparatorBaseProps):
|
|
27
|
-
declare function SidebarContent({ className, ...props }: React.ComponentProps<'div'> & SidebarContentBaseProps):
|
|
28
|
-
declare function SidebarGroup({ className, ...props }: React.ComponentProps<'div'> & SidebarGroupBaseProps):
|
|
29
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<'div'> & SidebarGroupLabelBaseProps):
|
|
30
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<'button'> & SidebarGroupActionBaseProps):
|
|
31
|
-
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<'div'> & SidebarGroupContentBaseProps):
|
|
32
|
-
declare function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'> & SidebarMenuBaseProps):
|
|
33
|
-
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'> & SidebarMenuItemBaseProps):
|
|
18
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<'div'> & SidebarProviderBaseProps): React.JSX.Element;
|
|
19
|
+
declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React.ComponentProps<'div'> & SidebarBaseProps): React.JSX.Element;
|
|
20
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button> & SidebarTriggerBaseProps): React.JSX.Element;
|
|
21
|
+
declare function SidebarRail({ className, ...props }: React.ComponentProps<'button'> & SidebarRailBaseProps): React.JSX.Element;
|
|
22
|
+
declare function SidebarInset({ className, ...props }: React.ComponentProps<'main'> & SidebarInsetBaseProps): React.JSX.Element;
|
|
23
|
+
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input> & SidebarInputBaseProps): React.JSX.Element;
|
|
24
|
+
declare function SidebarHeader({ className, ...props }: React.ComponentProps<'div'> & SidebarHeaderBaseProps): React.JSX.Element;
|
|
25
|
+
declare function SidebarFooter({ className, ...props }: React.ComponentProps<'div'> & SidebarFooterBaseProps): React.JSX.Element;
|
|
26
|
+
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator> & SidebarSeparatorBaseProps): React.JSX.Element;
|
|
27
|
+
declare function SidebarContent({ className, ...props }: React.ComponentProps<'div'> & SidebarContentBaseProps): React.JSX.Element;
|
|
28
|
+
declare function SidebarGroup({ className, ...props }: React.ComponentProps<'div'> & SidebarGroupBaseProps): React.JSX.Element;
|
|
29
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<'div'> & SidebarGroupLabelBaseProps): React.JSX.Element;
|
|
30
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<'button'> & SidebarGroupActionBaseProps): React.JSX.Element;
|
|
31
|
+
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<'div'> & SidebarGroupContentBaseProps): React.JSX.Element;
|
|
32
|
+
declare function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'> & SidebarMenuBaseProps): React.JSX.Element;
|
|
33
|
+
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'> & SidebarMenuItemBaseProps): React.JSX.Element;
|
|
34
34
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
35
35
|
variant?: "default" | "outline" | null | undefined;
|
|
36
36
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
37
37
|
} & ClassProp) | undefined) => string;
|
|
38
|
-
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & SidebarMenuButtonBaseProps):
|
|
39
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<'button'> & SidebarMenuActionBaseProps):
|
|
40
|
-
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'div'> & SidebarMenuBadgeBaseProps):
|
|
41
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<'div'> & SidebarMenuSkeletonBaseProps):
|
|
42
|
-
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'> & SidebarMenuSubBaseProps):
|
|
43
|
-
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<'li'> & SidebarMenuSubItemBaseProps):
|
|
44
|
-
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<'a'> & SidebarMenuSubButtonBaseProps):
|
|
38
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & SidebarMenuButtonBaseProps): React.JSX.Element;
|
|
39
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<'button'> & SidebarMenuActionBaseProps): React.JSX.Element;
|
|
40
|
+
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'div'> & SidebarMenuBadgeBaseProps): React.JSX.Element;
|
|
41
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<'div'> & SidebarMenuSkeletonBaseProps): React.JSX.Element;
|
|
42
|
+
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'> & SidebarMenuSubBaseProps): React.JSX.Element;
|
|
43
|
+
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<'li'> & SidebarMenuSubItemBaseProps): React.JSX.Element;
|
|
44
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<'a'> & SidebarMenuSubButtonBaseProps): React.JSX.Element;
|
|
45
45
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SkeletonBaseProps } from '../../ui-core/src';
|
|
2
|
-
declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import("react
|
|
2
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import("react").JSX.Element;
|
|
3
3
|
export { Skeleton };
|
|
4
4
|
export type ___verifySkeletonContract = React.ComponentProps<typeof Skeleton> extends SkeletonBaseProps ? true : false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Slider as SliderPrimitive } from 'radix-ui';
|
|
2
2
|
import { SliderBaseProps } from '../../ui-core/src';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>):
|
|
4
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): React.JSX.Element;
|
|
5
5
|
export { Slider };
|
|
6
6
|
export type ___verifySliderContract = React.ComponentProps<typeof Slider> extends SliderBaseProps ? true : false;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ToasterProps } from 'sonner';
|
|
2
|
+
declare const Toaster: ({ ...props }: ToasterProps) => import("react").JSX.Element;
|
|
4
3
|
export { Toaster };
|
|
5
|
-
export type ___verifySonnerContract = React.ComponentProps<typeof Sonner> extends SonnerBaseProps ? true : false;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SpinnerBaseProps } from '../../ui-core/src';
|
|
2
|
-
declare function Spinner({ className, ...props }: React.ComponentProps<'svg'> & SpinnerBaseProps): import("react
|
|
2
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<'svg'> & SpinnerBaseProps): import("react").JSX.Element;
|
|
3
3
|
export { Spinner };
|
|
@@ -12,4 +12,4 @@ export interface SupportFabProps extends Omit<React.ButtonHTMLAttributes<HTMLBut
|
|
|
12
12
|
buttonClassName?: string;
|
|
13
13
|
panelClassName?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function SupportFab({ supportUrl, creatorId, title, description, iframeTitle, open, defaultOpen, onOpenChange, positionClassName, buttonClassName, panelClassName, className, type, onClick, ...buttonProps }: SupportFabProps):
|
|
15
|
+
export declare function SupportFab({ supportUrl, creatorId, title, description, iframeTitle, open, defaultOpen, onOpenChange, positionClassName, buttonClassName, panelClassName, className, type, onClick, ...buttonProps }: SupportFabProps): React.JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { SwitchBaseProps } from '../../ui-core/src';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
|
|
5
5
|
size?: 'sm' | 'default';
|
|
6
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
|
7
7
|
export { Switch };
|
|
8
8
|
export type _verifySwitchContract = React.ComponentProps<typeof Switch> extends SwitchBaseProps ? true : false;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TableOfContentsContentBaseProps, TableOfContentsListBaseProps, TableOfContentsRootBaseProps } from '../../ui-core/src';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
export type TableOfContentsProps = TableOfContentsRootBaseProps;
|
|
3
4
|
/**
|
|
4
5
|
* Root component that provides the Table of Contents context.
|
|
@@ -6,7 +7,7 @@ export type TableOfContentsProps = TableOfContentsRootBaseProps;
|
|
|
6
7
|
* If used as a wrapper: <TableOfContents><List /><Content>{children}</Content></TableOfContents>
|
|
7
8
|
* If used standalone: <TableOfContents /> (requires container ref or defaults to document)
|
|
8
9
|
*/
|
|
9
|
-
declare function TableOfContents({ children, className, activeId: activeIdOverride, minLevel, maxLevel, selector, }: TableOfContentsProps):
|
|
10
|
+
declare function TableOfContents({ children, className, activeId: activeIdOverride, minLevel, maxLevel, selector, }: TableOfContentsProps): React.JSX.Element;
|
|
10
11
|
declare namespace TableOfContents {
|
|
11
12
|
var List: typeof TableOfContentsList;
|
|
12
13
|
var Content: typeof TableOfContentsContent;
|
|
@@ -14,10 +15,10 @@ declare namespace TableOfContents {
|
|
|
14
15
|
/**
|
|
15
16
|
* Renders the actual list of links.
|
|
16
17
|
*/
|
|
17
|
-
declare function TableOfContentsList({ className }: TableOfContentsListBaseProps):
|
|
18
|
+
declare function TableOfContentsList({ className }: TableOfContentsListBaseProps): React.JSX.Element | null;
|
|
18
19
|
/**
|
|
19
20
|
* Wraps the content area and automatically detects headings within it.
|
|
20
21
|
*/
|
|
21
|
-
declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps):
|
|
22
|
+
declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): React.JSX.Element;
|
|
22
23
|
export type { TableOfContentsContentBaseProps as TableOfContentsContentProps, TableOfContentsListBaseProps as TableOfContentsListProps, } from '../../ui-core/src';
|
|
23
24
|
export { TableOfContents, TableOfContentsContent, TableOfContentsList };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TableBaseProps } from '../../ui-core/src';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare function Table({ className, ...props }: React.ComponentProps<'table'>):
|
|
4
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>):
|
|
5
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>):
|
|
6
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>):
|
|
7
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>):
|
|
8
|
-
declare function TableHead({ className, ...props }: React.ComponentProps<'th'>):
|
|
9
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>):
|
|
10
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>):
|
|
3
|
+
declare function Table({ className, ...props }: React.ComponentProps<'table'>): React.JSX.Element;
|
|
4
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): React.JSX.Element;
|
|
5
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): React.JSX.Element;
|
|
6
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): React.JSX.Element;
|
|
7
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): React.JSX.Element;
|
|
8
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): React.JSX.Element;
|
|
9
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): React.JSX.Element;
|
|
10
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): React.JSX.Element;
|
|
11
11
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
12
12
|
export type ___verifyTableContract = React.ComponentProps<typeof Table> extends TableBaseProps ? true : false;
|
|
@@ -3,12 +3,12 @@ import { Tabs as TabsPrimitive } from 'radix-ui';
|
|
|
3
3
|
import { TabsBaseProps } from '../../ui-core/src';
|
|
4
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>):
|
|
6
|
+
declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): React.JSX.Element;
|
|
7
7
|
declare const tabsListVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "line" | null | undefined;
|
|
9
9
|
} & ClassProp) | undefined) => string;
|
|
10
|
-
declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>):
|
|
11
|
-
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
12
|
-
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>):
|
|
10
|
+
declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): React.JSX.Element;
|
|
11
|
+
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): React.JSX.Element;
|
|
12
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): React.JSX.Element;
|
|
13
13
|
export { Tabs, TabsContent, TabsList, tabsListVariants, TabsTrigger };
|
|
14
14
|
export type ___verifyTabsContract = React.ComponentProps<typeof Tabs> extends TabsBaseProps ? true : false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextareaBaseProps } from '../../ui-core/src';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare function Textarea({ className, ...props }: React.ComponentProps<'textarea'>):
|
|
3
|
+
declare function Textarea({ className, ...props }: React.ComponentProps<'textarea'>): React.JSX.Element;
|
|
4
4
|
export { Textarea };
|
|
5
5
|
export type ___verifyTextareaContract = React.ComponentProps<typeof Textarea> extends TextareaBaseProps ? true : false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemeProviderBaseProps } from '../../ui-core/src';
|
|
2
2
|
import { ThemeProviderProps as NextThemesProviderProps } from 'next-themes';
|
|
3
3
|
export type ThemeProviderProps = NextThemesProviderProps & ThemeProviderBaseProps;
|
|
4
|
-
export declare function ThemeProvider({ children, ...props }: ThemeProviderProps): import("react
|
|
4
|
+
export declare function ThemeProvider({ children, ...props }: ThemeProviderProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ThemeToggleBaseProps } from '../../ui-core/src';
|
|
2
2
|
export type ThemeToggleProps = ThemeToggleBaseProps;
|
|
3
|
-
export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import("react
|
|
3
|
+
export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ToasterBaseProps } from '../../ui-core/src';
|
|
2
|
-
export declare function Toaster({ ...props }: ToasterBaseProps): import("react
|
|
2
|
+
export declare function Toaster({ ...props }: ToasterBaseProps): import("react").JSX.Element;
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
|
|
7
7
|
spacing?: number;
|
|
8
8
|
orientation?: 'horizontal' | 'vertical';
|
|
9
|
-
}):
|
|
10
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>):
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): React.JSX.Element;
|
|
11
11
|
export { ToggleGroup, ToggleGroupItem };
|
|
12
12
|
export type ___verifyToggleGroupContract = React.ComponentProps<typeof ToggleGroup> extends ToggleGroupBaseProps ? true : false;
|
|
@@ -7,6 +7,6 @@ declare const toggleVariants: (props?: ({
|
|
|
7
7
|
variant?: "default" | "outline" | null | undefined;
|
|
8
8
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
9
|
} & ClassProp) | undefined) => string;
|
|
10
|
-
declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
10
|
+
declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): React.JSX.Element;
|
|
11
11
|
export { Toggle, toggleVariants };
|
|
12
12
|
export type ___verifyToggleContract = React.ComponentProps<typeof Toggle> extends ToggleBaseProps ? true : false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Tooltip as TooltipPrimitive } from 'radix-ui';
|
|
2
2
|
import { TooltipBaseProps } from '../../ui-core/src';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
5
|
-
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
6
|
-
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
7
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
4
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): React.JSX.Element;
|
|
5
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): React.JSX.Element;
|
|
6
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): React.JSX.Element;
|
|
7
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): React.JSX.Element;
|
|
8
8
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
9
9
|
export type ___verifyTooltipContract = React.ComponentProps<typeof Tooltip> extends TooltipBaseProps ? true : false;
|
package/dist/pagination.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js"),n=require("./button.cjs");let r=require("react");r=e.r(r);var i=t.Ar();function a({className:e,...n}){return(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.ei(`mx-auto flex w-full justify-center`,e),...n})}function o({className:e,...n}){return(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.ei(`flex items-center gap-0.5`,e),...n})}function s({...e}){return(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function c({className:e,isActive:r,size:a=`icon`,...o}){return(0,i.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:a,className:t.ei(e),children:(0,i.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,...o})})}function l({className:e,text:n=`Previous`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to previous page`,size:`default`,className:t.ei(`ps-1.5!`,e),...r,children:[(0,i.jsx)(t.Yr,{"data-icon":`inline-start`,className:`rtl:rotate-180`}),(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n})]})}function u({className:e,text:n=`Next`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to next page`,size:`default`,className:t.ei(`pe-1.5!`,e),...r,children:[(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n}),(0,i.jsx)(t.Jr,{"data-icon":`inline-end`,className:`rtl:rotate-180`})]})}function d({className:e,...n}){return(0,i.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.ei(`flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4`,e),...n,children:[(0,i.jsx)(t.Wr,{}),(0,i.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=a,exports.PaginationContent=o,exports.PaginationEllipsis=d,exports.PaginationItem=s,exports.PaginationLink=c,exports.PaginationNext=u,exports.PaginationPrevious=l;
|
|
2
2
|
//# sourceMappingURL=pagination.cjs.map
|
package/dist/pagination.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.cjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"pagination.cjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":"2OAQA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAW,EAAA,GAAG,qCAAsC,CAAS,EAC7D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAqC,CAC9E,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,qBAAqB,UAAW,EAAA,GAAG,4BAA6B,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC/G,CAEA,SAAS,EAAe,CAAE,GAAG,GAAqC,CAChE,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CACrD,CAOA,SAAS,EAAe,CAAE,YAAW,WAAU,OAAO,OAAQ,GAAG,GAA8B,CAC7F,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAS,EAAW,UAAY,QAAe,OAAM,UAAW,EAAA,GAAG,CAAS,YAC1F,EAAA,EAAA,KAAC,IAAD,CAAG,eAAc,EAAW,OAAS,IAAA,GAAW,YAAU,kBAAkB,cAAa,EAAU,GAAI,CAAQ,CAAA,CACzG,CAAA,CAEZ,CAEA,SAAS,EAAmB,CAC1B,YACA,OAAO,WACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,sBAAsB,KAAK,UAAU,UAAW,EAAA,GAAG,UAAW,CAAS,EAAG,GAAI,WAAzG,EACE,EAAA,EAAA,KAAC,EAAA,GAAD,CAAiB,YAAU,eAAe,UAAU,gBAAkB,CAAA,GACtE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,CAChC,GAEpB,CAEA,SAAS,EAAe,CACtB,YACA,OAAO,OACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,kBAAkB,KAAK,UAAU,UAAW,EAAA,GAAG,UAAW,CAAS,EAAG,GAAI,WAArG,EACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,GAC9C,EAAA,EAAA,KAAC,EAAA,GAAD,CAAkB,YAAU,aAAa,UAAU,gBAAkB,CAAA,CACvD,GAEpB,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAuC,CACjF,OACE,EAAA,EAAA,MAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAW,EAAA,GAAG,+EAAgF,CAAS,EACvG,GAAI,WAJN,EAME,EAAA,EAAA,KAAC,EAAA,GAAD,CAAqB,CAAA,GACrB,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,mBAAU,YAAgB,CAAA,CACtC,GAEV"}
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './packages/ui-web/src/pagination'
|
|
1
|
+
export * from './packages/ui-web/src/pagination.js'
|
|
2
2
|
export {}
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./utils-IYJAOUsw.mjs";
|
|
2
|
+
import { Ar as e, Jr as t, Wr as n, Yr as r, ei as i } from "./vendor-D9rWr_E8.mjs";
|
|
4
3
|
import { Button as a } from "./button.mjs";
|
|
5
4
|
import "react";
|
|
6
5
|
//#region packages/ui-web/src/pagination.tsx
|
|
@@ -41,37 +40,43 @@ function u({ className: e, isActive: t, size: n = "icon", ...r }) {
|
|
|
41
40
|
})
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
|
-
function d({ className: e, text: t = "Previous", ...
|
|
43
|
+
function d({ className: e, text: t = "Previous", ...n }) {
|
|
45
44
|
return /* @__PURE__ */ (0, o.jsxs)(u, {
|
|
46
45
|
"aria-label": "Go to previous page",
|
|
47
46
|
size: "default",
|
|
48
47
|
className: i("ps-1.5!", e),
|
|
49
|
-
...
|
|
50
|
-
children: [/* @__PURE__ */ (0, o.jsx)(
|
|
48
|
+
...n,
|
|
49
|
+
children: [/* @__PURE__ */ (0, o.jsx)(r, {
|
|
50
|
+
"data-icon": "inline-start",
|
|
51
|
+
className: "rtl:rotate-180"
|
|
52
|
+
}), /* @__PURE__ */ (0, o.jsx)("span", {
|
|
51
53
|
className: "hidden sm:block",
|
|
52
54
|
children: t
|
|
53
55
|
})]
|
|
54
56
|
});
|
|
55
57
|
}
|
|
56
|
-
function f({ className: e, text:
|
|
58
|
+
function f({ className: e, text: n = "Next", ...r }) {
|
|
57
59
|
return /* @__PURE__ */ (0, o.jsxs)(u, {
|
|
58
60
|
"aria-label": "Go to next page",
|
|
59
61
|
size: "default",
|
|
60
62
|
className: i("pe-1.5!", e),
|
|
61
|
-
...
|
|
63
|
+
...r,
|
|
62
64
|
children: [/* @__PURE__ */ (0, o.jsx)("span", {
|
|
63
65
|
className: "hidden sm:block",
|
|
64
|
-
children:
|
|
65
|
-
}), /* @__PURE__ */ (0, o.jsx)(
|
|
66
|
+
children: n
|
|
67
|
+
}), /* @__PURE__ */ (0, o.jsx)(t, {
|
|
68
|
+
"data-icon": "inline-end",
|
|
69
|
+
className: "rtl:rotate-180"
|
|
70
|
+
})]
|
|
66
71
|
});
|
|
67
72
|
}
|
|
68
|
-
function p({ className: e, ...
|
|
73
|
+
function p({ className: e, ...t }) {
|
|
69
74
|
return /* @__PURE__ */ (0, o.jsxs)("span", {
|
|
70
75
|
"aria-hidden": !0,
|
|
71
76
|
"data-slot": "pagination-ellipsis",
|
|
72
|
-
className: i("flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4", e),
|
|
73
|
-
...
|
|
74
|
-
children: [/* @__PURE__ */ (0, o.jsx)(
|
|
77
|
+
className: i("flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4", e),
|
|
78
|
+
...t,
|
|
79
|
+
children: [/* @__PURE__ */ (0, o.jsx)(n, {}), /* @__PURE__ */ (0, o.jsx)("span", {
|
|
75
80
|
className: "sr-only",
|
|
76
81
|
children: "More pages"
|
|
77
82
|
})]
|
package/dist/pagination.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.mjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"pagination.mjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":";;;;;;AAQA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAW,EAAG,sCAAsC,CAAS;EAC7D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EAAE,cAAW,GAAG,KAAqC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAqB,WAAW,EAAG,6BAA6B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAEA,SAAS,EAAe,EAAE,GAAG,KAAqC;CAChE,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAkB,GAAI;CAAQ,CAAA;AACrD;AAOA,SAAS,EAAe,EAAE,cAAW,aAAU,UAAO,QAAQ,GAAG,KAA8B;CAC7F,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAQ,SAAA;EAAQ,SAAS,IAAW,YAAY;EAAe;EAAM,WAAW,EAAG,CAAS;YAC1F,iBAAA,GAAA,EAAA,KAAC,KAAD;GAAG,gBAAc,IAAW,SAAS,KAAA;GAAW,aAAU;GAAkB,eAAa;GAAU,GAAI;EAAQ,CAAA;CACzG,CAAA;AAEZ;AAEA,SAAS,EAAmB,EAC1B,cACA,UAAO,YACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAsB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAAzG,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAiB,aAAU;GAAe,WAAU;EAAkB,CAAA,GACtE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,CAChC;;AAEpB;AAEA,SAAS,EAAe,EACtB,cACA,UAAO,QACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAkB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAArG,CACE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,GAC9C,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAkB,aAAU;GAAa,WAAU;EAAkB,CAAA,CACvD;;AAEpB;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAuC;CACjF,OACE,iBAAA,GAAA,EAAA,MAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAW,EAAG,gFAAgF,CAAS;EACvG,GAAI;YAJN,CAME,iBAAA,GAAA,EAAA,KAAC,GAAD,CAAqB,CAAA,GACrB,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAU;EAAgB,CAAA,CACtC;;AAEV"}
|
package/dist/popover.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({...e}){return(0,r.jsx)(t.Wt,{"data-slot":`popover`,...e})}function a({...e}){return(0,r.jsx)(t.Gt,{"data-slot":`popover-trigger`,...e})}function o({className:e,align:n=`center`,sideOffset:i=4,...a}){return(0,r.jsx)(t.Ut,{children:(0,r.jsx)(t.Ht,{"data-slot":`popover-content`,align:n,sideOffset:i,className:t.ei(`bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100`,e),...a})})}function s({...e}){return(0,r.jsx)(t.Vt,{"data-slot":`popover-anchor`,...e})}function c({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-header`,className:t.ei(`flex flex-col gap-0.5 text-sm`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-title`,className:t.ei(`font-medium`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`p`,{"data-slot":`popover-description`,className:t.ei(`text-muted-foreground`,e),...n})}exports.Popover=i,exports.PopoverAnchor=s,exports.PopoverContent=o,exports.PopoverDescription=u,exports.PopoverHeader=c,exports.PopoverTitle=l,exports.PopoverTrigger=a;
|
|
2
2
|
//# sourceMappingURL=popover.cjs.map
|
package/dist/popover.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport
|
|
1
|
+
{"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":"iNAMA,SAAS,EAAQ,CAAE,GAAG,GAA6D,CACjF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAuB,YAAU,UAAU,GAAI,CAAQ,CAAA,CAChE,CAEA,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAA0B,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CAC3E,CAEA,SAAS,EAAe,CACtB,YACA,QAAQ,SACR,aAAa,EACb,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CAAA,UACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,kBACH,QACK,aACZ,UAAW,EAAA,GACT,ifACA,CACF,EACA,GAAI,CACL,CAAA,CACsB,CAAA,CAE7B,CAEA,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAyB,YAAU,iBAAiB,GAAI,CAAQ,CAAA,CACzE,CAEA,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,iBAAiB,UAAW,EAAA,GAAG,gCAAiC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAChH,CAEA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAqC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,gBAAgB,UAAW,EAAA,GAAG,cAAe,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC7F,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoC,CAC9E,OAAO,EAAA,EAAA,KAAC,IAAD,CAAG,YAAU,sBAAsB,UAAW,EAAA,GAAG,wBAAyB,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC3G"}
|
package/dist/popover.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './packages/ui-web/src/popover'
|
|
1
|
+
export * from './packages/ui-web/src/popover.js'
|
|
2
2
|
export {}
|
package/dist/popover.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as o } from "./utils-IYJAOUsw.mjs";
|
|
2
|
+
import { Ar as e, Gt as t, Ht as n, Ut as r, Vt as i, Wt as a, ei as o } from "./vendor-D9rWr_E8.mjs";
|
|
4
3
|
import "react";
|
|
5
4
|
//#region packages/ui-web/src/popover.tsx
|
|
6
5
|
var s = e();
|
|
@@ -11,22 +10,22 @@ function c({ ...e }) {
|
|
|
11
10
|
});
|
|
12
11
|
}
|
|
13
12
|
function l({ ...e }) {
|
|
14
|
-
return /* @__PURE__ */ (0, s.jsx)(
|
|
13
|
+
return /* @__PURE__ */ (0, s.jsx)(t, {
|
|
15
14
|
"data-slot": "popover-trigger",
|
|
16
15
|
...e
|
|
17
16
|
});
|
|
18
17
|
}
|
|
19
|
-
function u({ className: e, align:
|
|
20
|
-
return /* @__PURE__ */ (0, s.jsx)(
|
|
18
|
+
function u({ className: e, align: t = "center", sideOffset: i = 4, ...a }) {
|
|
19
|
+
return /* @__PURE__ */ (0, s.jsx)(r, { children: /* @__PURE__ */ (0, s.jsx)(n, {
|
|
21
20
|
"data-slot": "popover-content",
|
|
22
|
-
align:
|
|
23
|
-
sideOffset:
|
|
24
|
-
className: o("bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-
|
|
21
|
+
align: t,
|
|
22
|
+
sideOffset: i,
|
|
23
|
+
className: o("bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100", e),
|
|
25
24
|
...a
|
|
26
25
|
}) });
|
|
27
26
|
}
|
|
28
27
|
function d({ ...e }) {
|
|
29
|
-
return /* @__PURE__ */ (0, s.jsx)(
|
|
28
|
+
return /* @__PURE__ */ (0, s.jsx)(i, {
|
|
30
29
|
"data-slot": "popover-anchor",
|
|
31
30
|
...e
|
|
32
31
|
});
|
package/dist/popover.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport
|
|
1
|
+
{"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":";;;;;AAMA,SAAS,EAAQ,EAAE,GAAG,KAA6D;CACjF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAuB,aAAU;EAAU,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAS,EAAe,EAAE,GAAG,KAAgE;CAC3F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,EAAe,EACtB,cACA,WAAQ,UACR,gBAAa,GACb,GAAG,KACqD;CACxD,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACK;EACZ,WAAW,EACT,kfACA,CACF;EACA,GAAI;CACL,CAAA,EACsB,CAAA;AAE7B;AAEA,SAAS,EAAc,EAAE,GAAG,KAA+D;CACzF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAyB,aAAU;EAAiB,GAAI;CAAQ,CAAA;AACzE;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAsC;CAC3E,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAiB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAChH;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAqC;CACzE,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAgB,WAAW,EAAG,eAAe,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC7F;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAoC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,KAAD;EAAG,aAAU;EAAsB,WAAW,EAAG,yBAAyB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G"}
|
package/dist/progress.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({className:e,value:n,...i}){return(0,r.jsx)(t.Bt,{"data-slot":`progress`,value:n,className:t.ei(`bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full`,e),...i,children:(0,r.jsx)(t.zt,{"data-slot":`progress-indicator`,className:`bg-primary size-full flex-1 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}exports.Progress=i;
|
|
2
2
|
//# sourceMappingURL=progress.cjs.map
|
package/dist/progress.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport
|
|
1
|
+
{"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":"8NAQA,SAAS,EAAS,CAAE,YAAW,QAAO,GAAG,GAA8D,CACrG,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,WACH,QACP,UAAW,EAAA,GAAG,gFAAiF,CAAS,EACxG,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,qBACV,UAAU,6CACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B"}
|
package/dist/progress.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './packages/ui-web/src/progress'
|
|
1
|
+
export * from './packages/ui-web/src/progress.js'
|
|
2
2
|
export {}
|
package/dist/progress.mjs
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./utils-IYJAOUsw.mjs";
|
|
3
|
+
import { Ar as e, Bt as t, ei as n, zt as r } from "./vendor-D9rWr_E8.mjs";
|
|
5
4
|
import "react";
|
|
6
5
|
//#region packages/ui-web/src/progress.tsx
|
|
7
6
|
var i = e();
|
|
8
7
|
function a({ className: e, value: a, ...o }) {
|
|
9
|
-
return /* @__PURE__ */ (0, i.jsx)(
|
|
8
|
+
return /* @__PURE__ */ (0, i.jsx)(t, {
|
|
10
9
|
"data-slot": "progress",
|
|
11
10
|
value: a,
|
|
12
|
-
className:
|
|
11
|
+
className: n("bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full", e),
|
|
13
12
|
...o,
|
|
14
|
-
children: /* @__PURE__ */ (0, i.jsx)(
|
|
13
|
+
children: /* @__PURE__ */ (0, i.jsx)(r, {
|
|
15
14
|
"data-slot": "progress-indicator",
|
|
16
15
|
className: "bg-primary size-full flex-1 transition-all",
|
|
17
16
|
style: { transform: `translateX(-${100 - (a || 0)}%)` }
|
package/dist/progress.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport
|
|
1
|
+
{"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":";;;;;;AAQA,SAAS,EAAS,EAAE,cAAW,UAAO,GAAG,KAA8D;CACrG,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACP,WAAW,EAAG,iFAAiF,CAAS;EACxG,GAAI;YAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
|