@constructive-io/ui 0.12.0 → 0.14.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 +1 -1
- package/dist/{ai-CiaH2sfF.js → ai-4JrVVL3q.js} +1794 -250
- package/dist/ai-4JrVVL3q.js.map +1 -0
- package/dist/{ai-lAkichk8.cjs → ai-B08ufcbD.cjs} +1888 -248
- package/dist/ai-B08ufcbD.cjs.map +1 -0
- package/dist/{alert-BXuP0ayz.d.ts → alert-CJ4Qyk6W.d.cts} +4 -2
- package/dist/{alert-BXuP0ayz.d.cts → alert-CJ4Qyk6W.d.ts} +4 -2
- package/dist/components/accordion.cjs +60 -0
- package/dist/components/accordion.cjs.map +1 -0
- package/dist/components/accordion.d.cts +14 -0
- package/dist/components/accordion.d.ts +14 -0
- package/dist/components/accordion.js +54 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/ai/index.cjs +17 -1
- package/dist/components/ai/index.d.cts +2 -2
- package/dist/components/ai/index.d.ts +2 -2
- package/dist/components/ai/index.js +2 -2
- package/dist/components/alert-dialog.cjs +17 -8
- package/dist/components/alert-dialog.cjs.map +1 -1
- package/dist/components/alert-dialog.d.cts +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +17 -8
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.cjs +18 -8
- package/dist/components/alert.cjs.map +1 -1
- package/dist/components/alert.d.cts +2 -2
- package/dist/components/alert.d.ts +2 -2
- package/dist/components/alert.js +18 -9
- package/dist/components/alert.js.map +1 -1
- package/dist/components/autocomplete.cjs +9 -5
- package/dist/components/autocomplete.cjs.map +1 -1
- package/dist/components/autocomplete.js +9 -5
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/avatar.cjs +9 -3
- package/dist/components/avatar.cjs.map +1 -1
- package/dist/components/avatar.d.cts +6 -0
- package/dist/components/avatar.d.ts +6 -0
- package/dist/components/avatar.js +9 -3
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.cjs +25 -18
- package/dist/components/badge.cjs.map +1 -1
- package/dist/components/badge.d.cts +2 -2
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +25 -18
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.cjs +9 -6
- package/dist/components/breadcrumb.cjs.map +1 -1
- package/dist/components/breadcrumb.js +9 -6
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button-group.cjs +57 -0
- package/dist/components/button-group.cjs.map +1 -0
- package/dist/components/button-group.d.cts +16 -0
- package/dist/components/button-group.d.ts +16 -0
- package/dist/components/button-group.js +51 -0
- package/dist/components/button-group.js.map +1 -0
- package/dist/components/button.cjs +62 -18
- package/dist/components/button.cjs.map +1 -1
- package/dist/components/button.d.cts +32 -2
- package/dist/components/button.d.ts +32 -2
- package/dist/components/button.js +62 -18
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-rac.cjs +14 -8
- package/dist/components/calendar-rac.cjs.map +1 -1
- package/dist/components/calendar-rac.js +14 -8
- package/dist/components/calendar-rac.js.map +1 -1
- package/dist/components/card.cjs +35 -23
- package/dist/components/card.cjs.map +1 -1
- package/dist/components/card.d.cts +3 -2
- package/dist/components/card.d.ts +3 -2
- package/dist/components/card.js +35 -23
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox.cjs +5 -5
- package/dist/components/checkbox.cjs.map +1 -1
- package/dist/components/checkbox.js +5 -5
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.cjs +3 -3
- package/dist/components/collapsible.cjs.map +1 -1
- package/dist/components/collapsible.js +3 -3
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/combobox.cjs +24 -12
- package/dist/components/combobox.cjs.map +1 -1
- package/dist/components/combobox.d.cts +2 -1
- package/dist/components/combobox.d.ts +2 -1
- package/dist/components/combobox.js +24 -12
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.cjs +30 -14
- package/dist/components/command.cjs.map +1 -1
- package/dist/components/command.d.cts +9 -2
- package/dist/components/command.d.ts +9 -2
- package/dist/components/command.js +30 -14
- package/dist/components/command.js.map +1 -1
- package/dist/components/dialog.cjs +22 -12
- package/dist/components/dialog.cjs.map +1 -1
- package/dist/components/dialog.d.cts +5 -2
- package/dist/components/dialog.d.ts +5 -2
- package/dist/components/dialog.js +22 -12
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dock.cjs +50 -27
- package/dist/components/dock.cjs.map +1 -1
- package/dist/components/dock.d.cts +1 -1
- package/dist/components/dock.d.ts +1 -1
- package/dist/components/dock.js +51 -28
- package/dist/components/dock.js.map +1 -1
- package/dist/components/drawer.cjs +22 -14
- package/dist/components/drawer.cjs.map +1 -1
- package/dist/components/drawer.js +22 -14
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.cjs +34 -28
- package/dist/components/dropdown-menu.cjs.map +1 -1
- package/dist/components/dropdown-menu.d.cts +2 -2
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +52 -46
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.cjs +4 -4
- package/dist/components/empty.cjs.map +1 -1
- package/dist/components/empty.js +4 -4
- package/dist/components/empty.js.map +1 -1
- package/dist/components/field.cjs +33 -33
- package/dist/components/field.cjs.map +1 -1
- package/dist/components/field.js +34 -34
- package/dist/components/field.js.map +1 -1
- package/dist/components/flickering-grid.cjs +1 -1
- package/dist/components/flickering-grid.cjs.map +1 -1
- package/dist/components/flickering-grid.js +1 -1
- package/dist/components/flickering-grid.js.map +1 -1
- package/dist/components/flow-zoom-panel.cjs +10 -5
- package/dist/components/flow-zoom-panel.cjs.map +1 -1
- package/dist/components/flow-zoom-panel.d.cts +8 -1
- package/dist/components/flow-zoom-panel.d.ts +8 -1
- package/dist/components/flow-zoom-panel.js +10 -5
- package/dist/components/flow-zoom-panel.js.map +1 -1
- package/dist/components/form-control.cjs +12 -8
- package/dist/components/form-control.cjs.map +1 -1
- package/dist/components/form-control.js +12 -8
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/form.cjs +5 -5
- package/dist/components/form.cjs.map +1 -1
- package/dist/components/form.js +5 -5
- package/dist/components/form.js.map +1 -1
- package/dist/components/input-group.cjs +13 -7
- package/dist/components/input-group.cjs.map +1 -1
- package/dist/components/input-group.d.cts +2 -2
- package/dist/components/input-group.d.ts +2 -2
- package/dist/components/input-group.js +11 -7
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/input-otp.cjs +252 -0
- package/dist/components/input-otp.cjs.map +1 -0
- package/dist/components/input-otp.d.cts +44 -0
- package/dist/components/input-otp.d.ts +44 -0
- package/dist/components/input-otp.js +251 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/input.cjs +10 -4
- package/dist/components/input.cjs.map +1 -1
- package/dist/components/input.d.cts +11 -2
- package/dist/components/input.d.ts +11 -2
- package/dist/components/input.js +10 -4
- package/dist/components/input.js.map +1 -1
- package/dist/components/item.cjs +151 -0
- package/dist/components/item.cjs.map +1 -0
- package/dist/components/item.d.cts +37 -0
- package/dist/components/item.d.ts +37 -0
- package/dist/components/item.js +137 -0
- package/dist/components/item.js.map +1 -0
- package/dist/components/json-input.cjs +4 -143
- package/dist/components/json-input.d.cts +6 -4
- package/dist/components/json-input.d.ts +6 -4
- package/dist/components/json-input.js +2 -140
- package/dist/components/kbd.cjs +35 -0
- package/dist/components/kbd.cjs.map +1 -0
- package/dist/components/kbd.d.cts +16 -0
- package/dist/components/kbd.d.ts +16 -0
- package/dist/components/kbd.js +31 -0
- package/dist/components/kbd.js.map +1 -0
- package/dist/components/label.cjs +3 -3
- package/dist/components/label.cjs.map +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/motion-grid.cjs +20 -8
- package/dist/components/motion-grid.cjs.map +1 -1
- package/dist/components/motion-grid.js +20 -8
- package/dist/components/motion-grid.js.map +1 -1
- package/dist/components/multi-select.cjs +77 -67
- package/dist/components/multi-select.cjs.map +1 -1
- package/dist/components/multi-select.js +77 -67
- package/dist/components/multi-select.js.map +1 -1
- package/dist/components/page-header.cjs +12 -9
- package/dist/components/page-header.cjs.map +1 -1
- package/dist/components/page-header.js +12 -9
- package/dist/components/page-header.js.map +1 -1
- package/dist/components/pagination.cjs +10 -4
- package/dist/components/pagination.cjs.map +1 -1
- package/dist/components/pagination.d.cts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +10 -4
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/phone-input.cjs +228 -0
- package/dist/components/phone-input.cjs.map +1 -0
- package/dist/components/phone-input.d.cts +42 -0
- package/dist/components/phone-input.d.ts +42 -0
- package/dist/components/phone-input.js +220 -0
- package/dist/components/phone-input.js.map +1 -0
- package/dist/components/popover.cjs +12 -4
- package/dist/components/popover.cjs.map +1 -1
- package/dist/components/popover.d.cts +7 -1
- package/dist/components/popover.d.ts +7 -1
- package/dist/components/popover.js +12 -5
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress.cjs +20 -3
- package/dist/components/progress.cjs.map +1 -1
- package/dist/components/progress.d.cts +1 -1
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +20 -3
- package/dist/components/progress.js.map +1 -1
- package/dist/components/progressive-blur-scroll-container.cjs +2 -2
- package/dist/components/progressive-blur-scroll-container.cjs.map +1 -1
- package/dist/components/progressive-blur-scroll-container.d.cts +1 -1
- package/dist/components/progressive-blur-scroll-container.d.ts +1 -1
- package/dist/components/progressive-blur-scroll-container.js +2 -2
- package/dist/components/progressive-blur-scroll-container.js.map +1 -1
- package/dist/components/progressive-blur.cjs +3 -2
- package/dist/components/progressive-blur.cjs.map +1 -1
- package/dist/components/progressive-blur.js +3 -2
- package/dist/components/progressive-blur.js.map +1 -1
- package/dist/components/radio-group.cjs +2 -2
- package/dist/components/radio-group.cjs.map +1 -1
- package/dist/components/radio-group.js +2 -2
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/record-picker.cjs +1 -1
- package/dist/components/record-picker.js +1 -1
- package/dist/components/resizable.cjs +2 -2
- package/dist/components/resizable.cjs.map +1 -1
- package/dist/components/resizable.js +2 -2
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/responsive-diagram.cjs +43 -21
- package/dist/components/responsive-diagram.cjs.map +1 -1
- package/dist/components/responsive-diagram.d.cts +7 -1
- package/dist/components/responsive-diagram.d.ts +7 -1
- package/dist/components/responsive-diagram.js +43 -21
- package/dist/components/responsive-diagram.js.map +1 -1
- package/dist/components/scroll-area.cjs +2 -2
- package/dist/components/scroll-area.cjs.map +1 -1
- package/dist/components/scroll-area.js +2 -2
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.cjs +84 -20
- package/dist/components/select.cjs.map +1 -1
- package/dist/components/select.d.cts +12 -7
- package/dist/components/select.d.ts +12 -7
- package/dist/components/select.js +84 -20
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.cjs.map +1 -1
- package/dist/components/separator.d.cts +11 -2
- package/dist/components/separator.d.ts +11 -2
- package/dist/components/separator.js +1 -1
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.cjs +1 -1
- package/dist/components/sheet.d.cts +11 -5
- package/dist/components/sheet.d.ts +12 -6
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.cjs +2 -1
- package/dist/components/sidebar.d.cts +8 -7
- package/dist/components/sidebar.d.ts +8 -7
- package/dist/components/sidebar.js +2 -1
- package/dist/components/slider.cjs +47 -0
- package/dist/components/slider.cjs.map +1 -0
- package/dist/components/slider.d.cts +8 -0
- package/dist/components/slider.d.ts +8 -0
- package/dist/components/slider.js +44 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sonner.cjs +15 -4
- package/dist/components/sonner.cjs.map +1 -1
- package/dist/components/sonner.d.cts +10 -1
- package/dist/components/sonner.d.ts +10 -1
- package/dist/components/sonner.js +16 -5
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/spinner.cjs +25 -0
- package/dist/components/spinner.cjs.map +1 -0
- package/dist/components/spinner.d.cts +16 -0
- package/dist/components/spinner.d.ts +16 -0
- package/dist/components/spinner.js +22 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/stack/index.cjs +1 -1
- package/dist/components/stack/index.d.cts +1 -1
- package/dist/components/stack/index.d.ts +1 -1
- package/dist/components/stack/index.js +1 -1
- package/dist/components/stepper.cjs +23 -17
- package/dist/components/stepper.cjs.map +1 -1
- package/dist/components/stepper.d.cts +2 -2
- package/dist/components/stepper.d.ts +2 -2
- package/dist/components/stepper.js +23 -17
- package/dist/components/stepper.js.map +1 -1
- package/dist/components/switch.cjs +5 -5
- package/dist/components/switch.cjs.map +1 -1
- package/dist/components/switch.js +5 -5
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.cjs +26 -7
- package/dist/components/table.cjs.map +1 -1
- package/dist/components/table.d.cts +20 -2
- package/dist/components/table.d.ts +20 -2
- package/dist/components/table.js +26 -8
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.cjs +64 -8
- package/dist/components/tabs.cjs.map +1 -1
- package/dist/components/tabs.d.cts +13 -2
- package/dist/components/tabs.d.ts +13 -2
- package/dist/components/tabs.js +66 -11
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tags.cjs +10 -5
- package/dist/components/tags.cjs.map +1 -1
- package/dist/components/tags.d.cts +1 -1
- package/dist/components/tags.d.ts +1 -1
- package/dist/components/tags.js +10 -5
- package/dist/components/tags.js.map +1 -1
- package/dist/components/textarea.cjs +5 -4
- package/dist/components/textarea.cjs.map +1 -1
- package/dist/components/textarea.js +5 -4
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/toast/index.cjs +1 -1
- package/dist/components/toast/index.d.cts +2 -2
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toggle-group.cjs +69 -0
- package/dist/components/toggle-group.cjs.map +1 -0
- package/dist/components/toggle-group.d.cts +27 -0
- package/dist/components/toggle-group.d.ts +27 -0
- package/dist/components/toggle-group.js +65 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.cjs +54 -0
- package/dist/components/toggle.cjs.map +1 -0
- package/dist/components/toggle.d.cts +13 -0
- package/dist/components/toggle.d.ts +13 -0
- package/dist/components/toggle.js +50 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.cjs +18 -6
- package/dist/components/tooltip.cjs.map +1 -1
- package/dist/components/tooltip.d.cts +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +18 -6
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/unlink-button.cjs +2 -2
- package/dist/components/unlink-button.cjs.map +1 -1
- package/dist/components/unlink-button.d.cts +1 -0
- package/dist/components/unlink-button.d.ts +1 -0
- package/dist/components/unlink-button.js +2 -2
- package/dist/components/unlink-button.js.map +1 -1
- package/dist/components/workspace-kit/index.cjs +1507 -0
- package/dist/components/workspace-kit/index.cjs.map +1 -0
- package/dist/components/workspace-kit/index.d.cts +728 -0
- package/dist/components/workspace-kit/index.d.ts +728 -0
- package/dist/components/workspace-kit/index.js +1440 -0
- package/dist/components/workspace-kit/index.js.map +1 -0
- package/dist/compose-refs-Mbma1O3M.js +47 -0
- package/dist/compose-refs-Mbma1O3M.js.map +1 -0
- package/dist/compose-refs-uPrvNoiU.cjs +52 -0
- package/dist/compose-refs-uPrvNoiU.cjs.map +1 -0
- package/dist/fluid-highlight-CNELHV8o.js +134 -0
- package/dist/fluid-highlight-CNELHV8o.js.map +1 -0
- package/dist/fluid-highlight-YWFRZXsw.cjs +145 -0
- package/dist/fluid-highlight-YWFRZXsw.cjs.map +1 -0
- package/dist/{index-BzLmDsId.d.cts → index-B7cT7gZU.d.cts} +3 -3
- package/dist/{index-BzLmDsId.d.ts → index-B7cT7gZU.d.ts} +3 -3
- package/dist/{index-UnM04j0t.d.ts → index-BQZxmMpw.d.cts} +11 -31
- package/dist/{index-UnM04j0t.d.cts → index-BQZxmMpw.d.ts} +11 -31
- package/dist/{index-CyaFaZe2.d.cts → index-Cluc_xc5.d.ts} +345 -20
- package/dist/{index-B0wXxIAb.d.ts → index-DXoG0ghv.d.cts} +345 -20
- package/dist/index.cjs +107 -17
- package/dist/index.d.cts +64 -14
- package/dist/index.d.ts +64 -14
- package/dist/index.js +27 -14
- package/dist/initial-focus-B8RLtyOZ.cjs +67 -0
- package/dist/initial-focus-B8RLtyOZ.cjs.map +1 -0
- package/dist/initial-focus-j2E0EnIx.js +61 -0
- package/dist/initial-focus-j2E0EnIx.js.map +1 -0
- package/dist/initials-DSkWTOb0.cjs +127 -0
- package/dist/initials-DSkWTOb0.cjs.map +1 -0
- package/dist/initials-kCcHgrSy.js +97 -0
- package/dist/initials-kCcHgrSy.js.map +1 -0
- package/dist/json-input-CH5aEmoA.js +293 -0
- package/dist/json-input-CH5aEmoA.js.map +1 -0
- package/dist/json-input-D8yM578l.cjs +311 -0
- package/dist/json-input-D8yM578l.cjs.map +1 -0
- package/dist/{motion-config-COCFHq1L.cjs → motion-config-DZ7w5Uhq.cjs} +32 -2
- package/dist/motion-config-DZ7w5Uhq.cjs.map +1 -0
- package/dist/{motion-config-COsZ6azM.js → motion-config-DoFp4I8f.js} +21 -3
- package/dist/motion-config-DoFp4I8f.js.map +1 -0
- package/dist/{record-picker-Bz4FApxD.cjs → record-picker-BQ1-Vx0g.cjs} +23 -8
- package/dist/record-picker-BQ1-Vx0g.cjs.map +1 -0
- package/dist/{record-picker-BbxngCeV.js → record-picker-DSRo4RXV.js} +23 -8
- package/dist/record-picker-DSRo4RXV.js.map +1 -0
- package/dist/{sheet-BdA0rfIz.cjs → sheet-OxWlnT_G.cjs} +25 -32
- package/dist/sheet-OxWlnT_G.cjs.map +1 -0
- package/dist/{sheet-BLHnhLRH.js → sheet-wPF_l9Cn.js} +25 -32
- package/dist/sheet-wPF_l9Cn.js.map +1 -0
- package/dist/{sidebar-BavjjJp0.cjs → sidebar-BEEWmJwC.cjs} +74 -57
- package/dist/sidebar-BEEWmJwC.cjs.map +1 -0
- package/dist/{sidebar-DeoL2ttp.js → sidebar-DWl1Azyv.js} +74 -57
- package/dist/sidebar-DWl1Azyv.js.map +1 -0
- package/dist/{stack-ci2lkfkr.cjs → stack-CEvmUSwF.cjs} +12 -10
- package/dist/stack-CEvmUSwF.cjs.map +1 -0
- package/dist/{stack-C9GROTGA.js → stack-Kqu7YaR0.js} +12 -10
- package/dist/stack-Kqu7YaR0.js.map +1 -0
- package/dist/text-runs-CdmlS5C7.cjs +52 -0
- package/dist/text-runs-CdmlS5C7.cjs.map +1 -0
- package/dist/text-runs-DqcEO8L_.js +45 -0
- package/dist/text-runs-DqcEO8L_.js.map +1 -0
- package/dist/theme-CKpIa4Fj.d.cts +536 -0
- package/dist/theme-CKpIa4Fj.d.ts +536 -0
- package/dist/theme-dials-config.cjs +273 -0
- package/dist/theme-dials-config.cjs.map +1 -0
- package/dist/theme-dials-config.d.cts +95 -0
- package/dist/theme-dials-config.d.ts +95 -0
- package/dist/theme-dials-config.js +269 -0
- package/dist/theme-dials-config.js.map +1 -0
- package/dist/theme-presets.cjs +922 -0
- package/dist/theme-presets.cjs.map +1 -0
- package/dist/theme-presets.d.cts +89 -0
- package/dist/theme-presets.d.ts +89 -0
- package/dist/theme-presets.js +912 -0
- package/dist/theme-presets.js.map +1 -0
- package/dist/theme-tuning-CTOHSrsh.d.cts +158 -0
- package/dist/theme-tuning-DOko6Pmy.d.ts +158 -0
- package/dist/theme-tuning.cjs +349 -0
- package/dist/theme-tuning.cjs.map +1 -0
- package/dist/theme-tuning.d.cts +2 -0
- package/dist/theme-tuning.d.ts +2 -0
- package/dist/theme-tuning.js +333 -0
- package/dist/theme-tuning.js.map +1 -0
- package/dist/theme.cjs +438 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.cts +2 -0
- package/dist/theme.d.ts +2 -0
- package/dist/theme.js +436 -0
- package/dist/theme.js.map +1 -0
- package/dist/toast-08jF1DBQ.cjs +193 -0
- package/dist/toast-08jF1DBQ.cjs.map +1 -0
- package/dist/toast-CVW5XY4u.js +164 -0
- package/dist/toast-CVW5XY4u.js.map +1 -0
- package/dist/toast-details-BdxxSLlN.cjs +209 -0
- package/dist/toast-details-BdxxSLlN.cjs.map +1 -0
- package/dist/toast-details-CfsB1Vxb.js +198 -0
- package/dist/toast-details-CfsB1Vxb.js.map +1 -0
- package/dist/{tooltip-CTRQoN1A.d.ts → tooltip-Fqb4JK-g.d.cts} +2 -2
- package/dist/{tooltip-CTRQoN1A.d.cts → tooltip-Fqb4JK-g.d.ts} +2 -2
- package/dist/tuning-BKVFsxLr.js +48 -0
- package/dist/tuning-BKVFsxLr.js.map +1 -0
- package/dist/tuning-BRPG7U1U.cjs +71 -0
- package/dist/tuning-BRPG7U1U.cjs.map +1 -0
- package/dist/use-document-theme-BSEuNsEE.cjs +43 -0
- package/dist/use-document-theme-BSEuNsEE.cjs.map +1 -0
- package/dist/use-document-theme-Ch_PqxZz.js +38 -0
- package/dist/use-document-theme-Ch_PqxZz.js.map +1 -0
- package/dist/use-scroll-fade-CaHp52u4.cjs +79 -0
- package/dist/use-scroll-fade-CaHp52u4.cjs.map +1 -0
- package/dist/use-scroll-fade-ilq-o00-.js +72 -0
- package/dist/use-scroll-fade-ilq-o00-.js.map +1 -0
- package/package.json +166 -27
- package/src/styles/globals.css +194 -97
- package/dist/ai-CiaH2sfF.js.map +0 -1
- package/dist/ai-lAkichk8.cjs.map +0 -1
- package/dist/button-Bvh83YGs.d.cts +0 -20
- package/dist/button-Bvh83YGs.d.ts +0 -20
- package/dist/components/app-bar.cjs +0 -81
- package/dist/components/app-bar.cjs.map +0 -1
- package/dist/components/app-bar.d.cts +0 -27
- package/dist/components/app-bar.d.ts +0 -27
- package/dist/components/app-bar.js +0 -77
- package/dist/components/app-bar.js.map +0 -1
- package/dist/components/app-shell.cjs +0 -267
- package/dist/components/app-shell.cjs.map +0 -1
- package/dist/components/app-shell.d.cts +0 -98
- package/dist/components/app-shell.d.ts +0 -98
- package/dist/components/app-shell.js +0 -264
- package/dist/components/app-shell.js.map +0 -1
- package/dist/components/json-input.cjs.map +0 -1
- package/dist/components/json-input.js.map +0 -1
- package/dist/input-CBrCuMH8.d.cts +0 -11
- package/dist/input-CBrCuMH8.d.ts +0 -11
- package/dist/motion-config-COCFHq1L.cjs.map +0 -1
- package/dist/motion-config-COsZ6azM.js.map +0 -1
- package/dist/record-picker-BbxngCeV.js.map +0 -1
- package/dist/record-picker-Bz4FApxD.cjs.map +0 -1
- package/dist/separator-BQEsr0Rc.d.cts +0 -11
- package/dist/separator-BQEsr0Rc.d.ts +0 -11
- package/dist/sheet-BLHnhLRH.js.map +0 -1
- package/dist/sheet-BdA0rfIz.cjs.map +0 -1
- package/dist/sidebar-BavjjJp0.cjs.map +0 -1
- package/dist/sidebar-DeoL2ttp.js.map +0 -1
- package/dist/stack-C9GROTGA.js.map +0 -1
- package/dist/stack-ci2lkfkr.cjs.map +0 -1
- package/dist/toast-D6MqijT2.cjs +0 -316
- package/dist/toast-D6MqijT2.cjs.map +0 -1
- package/dist/toast-D_BOLzm3.js +0 -287
- package/dist/toast-D_BOLzm3.js.map +0 -1
|
@@ -2,44 +2,51 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
3
|
const require_rolldown_runtime = require('../rolldown-runtime-D_qnwXdH.cjs');
|
|
4
4
|
const require_utils = require('../utils-CzTQ3-VI.cjs');
|
|
5
|
+
const require_text_runs = require('../text-runs-CdmlS5C7.cjs');
|
|
5
6
|
let react = require("react");
|
|
6
7
|
react = require_rolldown_runtime.__toESM(react, 1);
|
|
7
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
9
|
let class_variance_authority = require("class-variance-authority");
|
|
9
10
|
|
|
10
11
|
//#region src/components/badge.tsx
|
|
11
|
-
const badgeVariants = (0, class_variance_authority.cva)("relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-
|
|
12
|
+
const badgeVariants = (0, class_variance_authority.cva)("relative inline-flex max-w-full shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:min-h-11 [button,a&]:pointer-coarse:min-w-11", {
|
|
12
13
|
defaultVariants: {
|
|
13
14
|
size: "default",
|
|
14
15
|
variant: "default"
|
|
15
16
|
},
|
|
16
17
|
variants: {
|
|
17
18
|
size: {
|
|
18
|
-
default: "px-[calc(--spacing(1)-1px)] text-xs",
|
|
19
|
-
lg: "px-[calc(--spacing(1.5)-1px)] text-sm",
|
|
20
|
-
sm: "rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem]"
|
|
19
|
+
default: "px-[calc(--spacing(1)-1px)] text-xs [&:not(:empty)]:min-w-[1.125rem]",
|
|
20
|
+
lg: "px-[calc(--spacing(1.5)-1px)] text-sm [&:not(:empty)]:min-w-[1.375rem]",
|
|
21
|
+
sm: "rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem] [&:not(:empty)]:min-w-4"
|
|
21
22
|
},
|
|
22
23
|
variant: {
|
|
23
24
|
default: "bg-primary text-primary-foreground [button,a&]:hover:bg-primary/90",
|
|
24
25
|
destructive: "bg-destructive text-white [button,a&]:hover:bg-destructive/90",
|
|
25
|
-
error: "bg-destructive/
|
|
26
|
-
info: "bg-info/
|
|
27
|
-
outline: "border-border
|
|
26
|
+
error: "bg-destructive/12 text-destructive dark:bg-destructive/16",
|
|
27
|
+
info: "bg-info/14 text-info-foreground dark:bg-info/16",
|
|
28
|
+
outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48",
|
|
28
29
|
secondary: "bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90",
|
|
29
|
-
success: "bg-success/
|
|
30
|
-
warning: "bg-warning/
|
|
30
|
+
success: "bg-success/14 text-success-foreground dark:bg-success/16",
|
|
31
|
+
warning: "bg-warning/14 text-warning-foreground dark:bg-warning/16"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
});
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
const LONG_TEXT = 24;
|
|
36
|
+
const Badge = react.forwardRef(({ className, variant, size, children, ...props }, ref) => {
|
|
37
|
+
const { nodes, text } = require_text_runs.truncateTextRuns(children, "-my-0.5 min-w-0 truncate py-0.5");
|
|
38
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
39
|
+
ref,
|
|
40
|
+
"data-slot": "badge",
|
|
41
|
+
title: text && text.length > LONG_TEXT ? text : void 0,
|
|
42
|
+
className: require_utils.cn(badgeVariants({
|
|
43
|
+
variant,
|
|
44
|
+
size
|
|
45
|
+
}), className),
|
|
46
|
+
...props,
|
|
47
|
+
children: nodes
|
|
48
|
+
});
|
|
49
|
+
});
|
|
43
50
|
Badge.displayName = "Badge";
|
|
44
51
|
|
|
45
52
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.cjs","names":["React","cn"],"sources":["../../src/components/badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '../lib/utils';\n\nconst badgeVariants = cva(\n\t\"relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-
|
|
1
|
+
{"version":3,"file":"badge.cjs","names":["React","truncateTextRuns","cn"],"sources":["../../src/components/badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { truncateTextRuns } from '../lib/text-runs';\nimport { cn } from '../lib/utils';\n\nconst badgeVariants = cva(\n\t\"relative inline-flex max-w-full shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:min-h-11 [button,a&]:pointer-coarse:min-w-11\",\n\t{\n\t\tdefaultVariants: {\n\t\t\tsize: 'default',\n\t\t\tvariant: 'default',\n\t\t},\n\t\tvariants: {\n\t\t\t// The min-width (not for empty dot-style badges) keeps a single character from\n\t\t\t// rendering as a thin sliver.\n\t\t\tsize: {\n\t\t\t\tdefault: 'px-[calc(--spacing(1)-1px)] text-xs [&:not(:empty)]:min-w-[1.125rem]',\n\t\t\t\tlg: 'px-[calc(--spacing(1.5)-1px)] text-sm [&:not(:empty)]:min-w-[1.375rem]',\n\t\t\t\tsm: 'rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem] [&:not(:empty)]:min-w-4',\n\t\t\t},\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-primary text-primary-foreground [button,a&]:hover:bg-primary/90',\n\t\t\t\tdestructive: 'bg-destructive text-white [button,a&]:hover:bg-destructive/90',\n\t\t\t\terror: 'bg-destructive/12 text-destructive dark:bg-destructive/16',\n\t\t\t\tinfo: 'bg-info/14 text-info-foreground dark:bg-info/16',\n\t\t\t\toutline:\n\t\t\t\t\t'border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48',\n\t\t\t\tsecondary: 'bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90',\n\t\t\t\tsuccess: 'bg-success/14 text-success-foreground dark:bg-success/16',\n\t\t\t\twarning: 'bg-warning/14 text-warning-foreground dark:bg-warning/16',\n\t\t\t},\n\t\t},\n\t},\n);\n\ntype BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;\n\nconst LONG_TEXT = 24;\nconst Badge = React.forwardRef<HTMLSpanElement, BadgeProps>(({ className, variant, size, children, ...props }, ref) => {\n\t// The padding and negative margin keep tall glyphs (Thai tone marks, stacked Vietnamese) from being clipped by the\n\t// truncation's overflow.\n\tconst { nodes, text } = truncateTextRuns(children, '-my-0.5 min-w-0 truncate py-0.5');\n\n\treturn (\n\t\t<span\n\t\t\tref={ref}\n\t\t\tdata-slot=\"badge\"\n\t\t\ttitle={text && text.length > LONG_TEXT ? text : undefined}\n\t\t\tclassName={cn(badgeVariants({ variant, size }), className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{nodes}\n\t\t</span>\n\t);\n});\n\nBadge.displayName = 'Badge';\n\nexport { Badge, badgeVariants };\nexport type { BadgeProps };\n"],"mappings":";;;;;;;;;;;AAMA,MAAM,kDACL,0cACA;CACC,iBAAiB;EAChB,MAAM;EACN,SAAS;CACV;CACA,UAAU;EAGT,MAAM;GACL,SAAS;GACT,IAAI;GACJ,IAAI;EACL;EACA,SAAS;GACR,SAAS;GACT,aAAa;GACb,OAAO;GACP,MAAM;GACN,SACC;GACD,WAAW;GACX,SAAS;GACT,SAAS;EACV;CACD;AACD,CACD;AAIA,MAAM,YAAY;AAClB,MAAM,QAAQA,MAAM,YAAyC,EAAE,WAAW,SAAS,MAAM,UAAU,GAAG,SAAS,QAAQ;CAGtH,MAAM,EAAE,OAAO,SAASC,mCAAiB,UAAU,iCAAiC;CAEpF,OACC,2CAAC,QAAD;EACM;EACL,aAAU;EACV,OAAO,QAAQ,KAAK,SAAS,YAAY,OAAO;EAChD,WAAWC,iBAAG,cAAc;GAAE;GAAS;EAAK,CAAC,GAAG,SAAS;EACzD,GAAI;YAEH;CACI;AAER,CAAC;AAED,MAAM,cAAc"}
|
|
@@ -2,12 +2,12 @@ import * as React$1 from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/components/badge.d.ts
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
9
9
|
declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
11
|
variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
13
13
|
//#endregion
|
|
@@ -2,12 +2,12 @@ import * as React$1 from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/components/badge.d.ts
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
9
9
|
declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
11
|
variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
13
13
|
//#endregion
|
package/dist/components/badge.js
CHANGED
|
@@ -1,42 +1,49 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as cn } from "../utils-BkMLyah9.js";
|
|
3
|
+
import { t as truncateTextRuns } from "../text-runs-DqcEO8L_.js";
|
|
3
4
|
import * as React$1 from "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { cva } from "class-variance-authority";
|
|
6
7
|
|
|
7
8
|
//#region src/components/badge.tsx
|
|
8
|
-
const badgeVariants = cva("relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-
|
|
9
|
+
const badgeVariants = cva("relative inline-flex max-w-full shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:min-h-11 [button,a&]:pointer-coarse:min-w-11", {
|
|
9
10
|
defaultVariants: {
|
|
10
11
|
size: "default",
|
|
11
12
|
variant: "default"
|
|
12
13
|
},
|
|
13
14
|
variants: {
|
|
14
15
|
size: {
|
|
15
|
-
default: "px-[calc(--spacing(1)-1px)] text-xs",
|
|
16
|
-
lg: "px-[calc(--spacing(1.5)-1px)] text-sm",
|
|
17
|
-
sm: "rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem]"
|
|
16
|
+
default: "px-[calc(--spacing(1)-1px)] text-xs [&:not(:empty)]:min-w-[1.125rem]",
|
|
17
|
+
lg: "px-[calc(--spacing(1.5)-1px)] text-sm [&:not(:empty)]:min-w-[1.375rem]",
|
|
18
|
+
sm: "rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem] [&:not(:empty)]:min-w-4"
|
|
18
19
|
},
|
|
19
20
|
variant: {
|
|
20
21
|
default: "bg-primary text-primary-foreground [button,a&]:hover:bg-primary/90",
|
|
21
22
|
destructive: "bg-destructive text-white [button,a&]:hover:bg-destructive/90",
|
|
22
|
-
error: "bg-destructive/
|
|
23
|
-
info: "bg-info/
|
|
24
|
-
outline: "border-border
|
|
23
|
+
error: "bg-destructive/12 text-destructive dark:bg-destructive/16",
|
|
24
|
+
info: "bg-info/14 text-info-foreground dark:bg-info/16",
|
|
25
|
+
outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48",
|
|
25
26
|
secondary: "bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90",
|
|
26
|
-
success: "bg-success/
|
|
27
|
-
warning: "bg-warning/
|
|
27
|
+
success: "bg-success/14 text-success-foreground dark:bg-success/16",
|
|
28
|
+
warning: "bg-warning/14 text-warning-foreground dark:bg-warning/16"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
const LONG_TEXT = 24;
|
|
33
|
+
const Badge = React$1.forwardRef(({ className, variant, size, children, ...props }, ref) => {
|
|
34
|
+
const { nodes, text } = truncateTextRuns(children, "-my-0.5 min-w-0 truncate py-0.5");
|
|
35
|
+
return /* @__PURE__ */ jsx("span", {
|
|
36
|
+
ref,
|
|
37
|
+
"data-slot": "badge",
|
|
38
|
+
title: text && text.length > LONG_TEXT ? text : void 0,
|
|
39
|
+
className: cn(badgeVariants({
|
|
40
|
+
variant,
|
|
41
|
+
size
|
|
42
|
+
}), className),
|
|
43
|
+
...props,
|
|
44
|
+
children: nodes
|
|
45
|
+
});
|
|
46
|
+
});
|
|
40
47
|
Badge.displayName = "Badge";
|
|
41
48
|
|
|
42
49
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","names":["React"],"sources":["../../src/components/badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '../lib/utils';\n\nconst badgeVariants = cva(\n\t\"relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-
|
|
1
|
+
{"version":3,"file":"badge.js","names":["React"],"sources":["../../src/components/badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { truncateTextRuns } from '../lib/text-runs';\nimport { cn } from '../lib/utils';\n\nconst badgeVariants = cva(\n\t\"relative inline-flex max-w-full shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:min-h-11 [button,a&]:pointer-coarse:min-w-11\",\n\t{\n\t\tdefaultVariants: {\n\t\t\tsize: 'default',\n\t\t\tvariant: 'default',\n\t\t},\n\t\tvariants: {\n\t\t\t// The min-width (not for empty dot-style badges) keeps a single character from\n\t\t\t// rendering as a thin sliver.\n\t\t\tsize: {\n\t\t\t\tdefault: 'px-[calc(--spacing(1)-1px)] text-xs [&:not(:empty)]:min-w-[1.125rem]',\n\t\t\t\tlg: 'px-[calc(--spacing(1.5)-1px)] text-sm [&:not(:empty)]:min-w-[1.375rem]',\n\t\t\t\tsm: 'rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-[.625rem] [&:not(:empty)]:min-w-4',\n\t\t\t},\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-primary text-primary-foreground [button,a&]:hover:bg-primary/90',\n\t\t\t\tdestructive: 'bg-destructive text-white [button,a&]:hover:bg-destructive/90',\n\t\t\t\terror: 'bg-destructive/12 text-destructive dark:bg-destructive/16',\n\t\t\t\tinfo: 'bg-info/14 text-info-foreground dark:bg-info/16',\n\t\t\t\toutline:\n\t\t\t\t\t'border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48',\n\t\t\t\tsecondary: 'bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90',\n\t\t\t\tsuccess: 'bg-success/14 text-success-foreground dark:bg-success/16',\n\t\t\t\twarning: 'bg-warning/14 text-warning-foreground dark:bg-warning/16',\n\t\t\t},\n\t\t},\n\t},\n);\n\ntype BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;\n\nconst LONG_TEXT = 24;\nconst Badge = React.forwardRef<HTMLSpanElement, BadgeProps>(({ className, variant, size, children, ...props }, ref) => {\n\t// The padding and negative margin keep tall glyphs (Thai tone marks, stacked Vietnamese) from being clipped by the\n\t// truncation's overflow.\n\tconst { nodes, text } = truncateTextRuns(children, '-my-0.5 min-w-0 truncate py-0.5');\n\n\treturn (\n\t\t<span\n\t\t\tref={ref}\n\t\t\tdata-slot=\"badge\"\n\t\t\ttitle={text && text.length > LONG_TEXT ? text : undefined}\n\t\t\tclassName={cn(badgeVariants({ variant, size }), className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{nodes}\n\t\t</span>\n\t);\n});\n\nBadge.displayName = 'Badge';\n\nexport { Badge, badgeVariants };\nexport type { BadgeProps };\n"],"mappings":";;;;;;;;AAMA,MAAM,gBAAgB,IACrB,0cACA;CACC,iBAAiB;EAChB,MAAM;EACN,SAAS;CACV;CACA,UAAU;EAGT,MAAM;GACL,SAAS;GACT,IAAI;GACJ,IAAI;EACL;EACA,SAAS;GACR,SAAS;GACT,aAAa;GACb,OAAO;GACP,MAAM;GACN,SACC;GACD,WAAW;GACX,SAAS;GACT,SAAS;EACV;CACD;AACD,CACD;AAIA,MAAM,YAAY;AAClB,MAAM,QAAQA,QAAM,YAAyC,EAAE,WAAW,SAAS,MAAM,UAAU,GAAG,SAAS,QAAQ;CAGtH,MAAM,EAAE,OAAO,SAAS,iBAAiB,UAAU,iCAAiC;CAEpF,OACC,oBAAC,QAAD;EACM;EACL,aAAU;EACV,OAAO,QAAQ,KAAK,SAAS,YAAY,OAAO;EAChD,WAAW,GAAG,cAAc;GAAE;GAAS;EAAK,CAAC,GAAG,SAAS;EACzD,GAAI;YAEH;CACI;AAER,CAAC;AAED,MAAM,cAAc"}
|
|
@@ -21,14 +21,14 @@ function Breadcrumb({ ...props }) {
|
|
|
21
21
|
function BreadcrumbList({ className, ...props }) {
|
|
22
22
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ol", {
|
|
23
23
|
"data-slot": "breadcrumb-list",
|
|
24
|
-
className: require_utils.cn("text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm
|
|
24
|
+
className: require_utils.cn("text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm [overflow-wrap:anywhere] sm:gap-2.5", className),
|
|
25
25
|
...props
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
function BreadcrumbItem({ className, ...props }) {
|
|
29
29
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
30
30
|
"data-slot": "breadcrumb-item",
|
|
31
|
-
className: require_utils.cn("inline-flex items-center gap-1.5", className),
|
|
31
|
+
className: require_utils.cn("inline-flex min-w-0 items-center gap-1.5", className),
|
|
32
32
|
...props
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -37,7 +37,7 @@ function BreadcrumbLink({ asChild, render, className, children, ...props }) {
|
|
|
37
37
|
return (0, _base_ui_react_use_render.useRender)({
|
|
38
38
|
defaultTagName: "a",
|
|
39
39
|
props: (0, _base_ui_react_merge_props.mergeProps)({
|
|
40
|
-
className: require_utils.cn("text-muted-foreground
|
|
40
|
+
className: require_utils.cn("text-muted-foreground hover:text-foreground", className),
|
|
41
41
|
children: childRender ? void 0 : children
|
|
42
42
|
}, props),
|
|
43
43
|
render: render ?? childRender,
|
|
@@ -59,9 +59,12 @@ function BreadcrumbSeparator({ children, className, ...props }) {
|
|
|
59
59
|
"data-slot": "breadcrumb-separator",
|
|
60
60
|
role: "presentation",
|
|
61
61
|
"aria-hidden": "true",
|
|
62
|
-
className,
|
|
62
|
+
className: require_utils.cn("text-subtle-foreground", className),
|
|
63
63
|
...props,
|
|
64
|
-
children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, {
|
|
64
|
+
children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, {
|
|
65
|
+
size: 16,
|
|
66
|
+
className: "rtl:rotate-180"
|
|
67
|
+
})
|
|
65
68
|
});
|
|
66
69
|
}
|
|
67
70
|
function BreadcrumbEllipsis({ className, ...props }) {
|
|
@@ -69,7 +72,7 @@ function BreadcrumbEllipsis({ className, ...props }) {
|
|
|
69
72
|
"data-slot": "breadcrumb-ellipsis",
|
|
70
73
|
role: "presentation",
|
|
71
74
|
"aria-hidden": "true",
|
|
72
|
-
className: require_utils.cn("flex size-5 items-center justify-center", className),
|
|
75
|
+
className: require_utils.cn("flex size-5 items-center justify-center text-subtle-foreground", className),
|
|
73
76
|
...props,
|
|
74
77
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoreHorizontalIcon, { size: 16 }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
75
78
|
className: "sr-only",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.cjs","names":["cn","React","ChevronRightIcon","MoreHorizontalIcon"],"sources":["../../src/components/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\n\nimport { cn } from '../lib/utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n\treturn <nav aria-label='breadcrumb' data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n\treturn (\n\t\t<ol\n\t\t\tdata-slot=\"breadcrumb-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm
|
|
1
|
+
{"version":3,"file":"breadcrumb.cjs","names":["cn","React","ChevronRightIcon","MoreHorizontalIcon"],"sources":["../../src/components/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\n\nimport { cn } from '../lib/utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n\treturn <nav aria-label='breadcrumb' data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n\treturn (\n\t\t<ol\n\t\t\tdata-slot=\"breadcrumb-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm [overflow-wrap:anywhere] sm:gap-2.5',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>) {\n\treturn <li data-slot=\"breadcrumb-item\" className={cn('inline-flex min-w-0 items-center gap-1.5', className)} {...props} />;\n}\n\nfunction BreadcrumbLink({\n\tasChild,\n\trender,\n\tclassName,\n\tchildren,\n\t...props\n}: useRender.ComponentProps<'a'> &\n\tReact.ComponentProps<'a'> & {\n\tasChild?: boolean;\n}) {\n\tconst childRender = render === undefined && asChild && React.isValidElement(children) ? children : undefined;\n\n\treturn useRender({\n\t\tdefaultTagName: 'a',\n\t\tprops: mergeProps<'a'>(\n\t\t\t{\n\t\t\t\tclassName: cn('text-muted-foreground hover:text-foreground', className),\n\t\t\t\tchildren: childRender ? undefined : children,\n\t\t\t},\n\t\t\tprops,\n\t\t),\n\t\trender: render ?? childRender,\n\t\tstate: {\n\t\t\tslot: 'breadcrumb-link',\n\t\t},\n\t});\n}\n\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {\n\treturn (\n\t\t<span\n\t\t\tdata-slot=\"breadcrumb-page\"\n\t\t\trole='link'\n\t\t\taria-disabled='true'\n\t\t\taria-current='page'\n\t\t\tclassName={cn('text-foreground font-normal', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>) {\n\treturn (\n\t\t<li data-slot=\"breadcrumb-separator\" role='presentation' aria-hidden='true' className={cn('text-subtle-foreground', className)} {...props}>\n\t\t\t{children ?? <ChevronRightIcon size={16} className='rtl:rotate-180' />}\n\t\t</li>\n\t);\n}\n\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n\treturn (\n\t\t<span\n\t\t\tdata-slot=\"breadcrumb-ellipsis\"\n\t\t\trole='presentation'\n\t\t\taria-hidden='true'\n\t\t\tclassName={cn('flex size-5 items-center justify-center text-subtle-foreground', className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<MoreHorizontalIcon size={16} />\n\t\t\t<span className='sr-only'>More</span>\n\t\t</span>\n\t);\n}\n\nexport {\n\tBreadcrumb,\n\tBreadcrumbEllipsis,\n\tBreadcrumbItem,\n\tBreadcrumbLink,\n\tBreadcrumbList,\n\tBreadcrumbPage,\n\tBreadcrumbSeparator,\n};\n"],"mappings":";;;;;;;;;;;;;AASA,SAAS,WAAW,EAAE,GAAG,SAAsC;CAC9D,OAAO,2CAAC,OAAD;EAAK,cAAW;EAAa,aAAU;EAAa,GAAI;CAAQ;AACxE;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;CAC5E,OACC,2CAAC,MAAD;EACC,aAAU;EACV,WAAWA,iBACV,4GACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;CAC5E,OAAO,2CAAC,MAAD;EAAI,aAAU;EAAkB,WAAWA,iBAAG,4CAA4C,SAAS;EAAG,GAAI;CAAQ;AAC1H;AAEA,SAAS,eAAe,EACvB,SACA,QACA,WACA,UACA,GAAG,SAID;CACF,MAAM,cAAc,WAAW,UAAa,WAAWC,MAAM,eAAe,QAAQ,IAAI,WAAW;CAEnG,gDAAiB;EAChB,gBAAgB;EAChB,kDACC;GACC,WAAWD,iBAAG,+CAA+C,SAAS;GACtE,UAAU,cAAc,SAAY;EACrC,GACA,KACD;EACA,QAAQ,UAAU;EAClB,OAAO,EACN,MAAM,kBACP;CACD,CAAC;AACF;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAuC;CAC9E,OACC,2CAAC,QAAD;EACC,aAAU;EACV,MAAK;EACL,iBAAc;EACd,gBAAa;EACb,WAAWA,iBAAG,+BAA+B,SAAS;EACtD,GAAI;CACJ;AAEH;AAEA,SAAS,oBAAoB,EAAE,UAAU,WAAW,GAAG,SAAqC;CAC3F,OACC,2CAAC,MAAD;EAAI,aAAU;EAAuB,MAAK;EAAe,eAAY;EAAO,WAAWA,iBAAG,0BAA0B,SAAS;EAAG,GAAI;YAClI,YAAY,2CAACE,+BAAD;GAAkB,MAAM;GAAI,WAAU;EAAkB;CAClE;AAEN;AAEA,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAuC;CAClF,OACC,4CAAC,QAAD;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAWF,iBAAG,kEAAkE,SAAS;EACzF,GAAI;YALL,CAOC,2CAACG,iCAAD,EAAoB,MAAM,GAAK,IAC/B,2CAAC,QAAD;GAAM,WAAU;aAAU;EAAU,EAC/B;;AAER"}
|
|
@@ -18,14 +18,14 @@ function Breadcrumb({ ...props }) {
|
|
|
18
18
|
function BreadcrumbList({ className, ...props }) {
|
|
19
19
|
return /* @__PURE__ */ jsx("ol", {
|
|
20
20
|
"data-slot": "breadcrumb-list",
|
|
21
|
-
className: cn("text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm
|
|
21
|
+
className: cn("text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm [overflow-wrap:anywhere] sm:gap-2.5", className),
|
|
22
22
|
...props
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
function BreadcrumbItem({ className, ...props }) {
|
|
26
26
|
return /* @__PURE__ */ jsx("li", {
|
|
27
27
|
"data-slot": "breadcrumb-item",
|
|
28
|
-
className: cn("inline-flex items-center gap-1.5", className),
|
|
28
|
+
className: cn("inline-flex min-w-0 items-center gap-1.5", className),
|
|
29
29
|
...props
|
|
30
30
|
});
|
|
31
31
|
}
|
|
@@ -34,7 +34,7 @@ function BreadcrumbLink({ asChild, render, className, children, ...props }) {
|
|
|
34
34
|
return useRender({
|
|
35
35
|
defaultTagName: "a",
|
|
36
36
|
props: mergeProps({
|
|
37
|
-
className: cn("text-muted-foreground
|
|
37
|
+
className: cn("text-muted-foreground hover:text-foreground", className),
|
|
38
38
|
children: childRender ? void 0 : children
|
|
39
39
|
}, props),
|
|
40
40
|
render: render ?? childRender,
|
|
@@ -56,9 +56,12 @@ function BreadcrumbSeparator({ children, className, ...props }) {
|
|
|
56
56
|
"data-slot": "breadcrumb-separator",
|
|
57
57
|
role: "presentation",
|
|
58
58
|
"aria-hidden": "true",
|
|
59
|
-
className,
|
|
59
|
+
className: cn("text-subtle-foreground", className),
|
|
60
60
|
...props,
|
|
61
|
-
children: children ?? /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
61
|
+
children: children ?? /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
62
|
+
size: 16,
|
|
63
|
+
className: "rtl:rotate-180"
|
|
64
|
+
})
|
|
62
65
|
});
|
|
63
66
|
}
|
|
64
67
|
function BreadcrumbEllipsis({ className, ...props }) {
|
|
@@ -66,7 +69,7 @@ function BreadcrumbEllipsis({ className, ...props }) {
|
|
|
66
69
|
"data-slot": "breadcrumb-ellipsis",
|
|
67
70
|
role: "presentation",
|
|
68
71
|
"aria-hidden": "true",
|
|
69
|
-
className: cn("flex size-5 items-center justify-center", className),
|
|
72
|
+
className: cn("flex size-5 items-center justify-center text-subtle-foreground", className),
|
|
70
73
|
...props,
|
|
71
74
|
children: [/* @__PURE__ */ jsx(MoreHorizontalIcon, { size: 16 }), /* @__PURE__ */ jsx("span", {
|
|
72
75
|
className: "sr-only",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.js","names":["React"],"sources":["../../src/components/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\n\nimport { cn } from '../lib/utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n\treturn <nav aria-label='breadcrumb' data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n\treturn (\n\t\t<ol\n\t\t\tdata-slot=\"breadcrumb-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","names":["React"],"sources":["../../src/components/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\n\nimport { cn } from '../lib/utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n\treturn <nav aria-label='breadcrumb' data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n\treturn (\n\t\t<ol\n\t\t\tdata-slot=\"breadcrumb-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'text-muted-foreground/50 flex flex-wrap items-center gap-1.5 text-sm [overflow-wrap:anywhere] sm:gap-2.5',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>) {\n\treturn <li data-slot=\"breadcrumb-item\" className={cn('inline-flex min-w-0 items-center gap-1.5', className)} {...props} />;\n}\n\nfunction BreadcrumbLink({\n\tasChild,\n\trender,\n\tclassName,\n\tchildren,\n\t...props\n}: useRender.ComponentProps<'a'> &\n\tReact.ComponentProps<'a'> & {\n\tasChild?: boolean;\n}) {\n\tconst childRender = render === undefined && asChild && React.isValidElement(children) ? children : undefined;\n\n\treturn useRender({\n\t\tdefaultTagName: 'a',\n\t\tprops: mergeProps<'a'>(\n\t\t\t{\n\t\t\t\tclassName: cn('text-muted-foreground hover:text-foreground', className),\n\t\t\t\tchildren: childRender ? undefined : children,\n\t\t\t},\n\t\t\tprops,\n\t\t),\n\t\trender: render ?? childRender,\n\t\tstate: {\n\t\t\tslot: 'breadcrumb-link',\n\t\t},\n\t});\n}\n\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {\n\treturn (\n\t\t<span\n\t\t\tdata-slot=\"breadcrumb-page\"\n\t\t\trole='link'\n\t\t\taria-disabled='true'\n\t\t\taria-current='page'\n\t\t\tclassName={cn('text-foreground font-normal', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>) {\n\treturn (\n\t\t<li data-slot=\"breadcrumb-separator\" role='presentation' aria-hidden='true' className={cn('text-subtle-foreground', className)} {...props}>\n\t\t\t{children ?? <ChevronRightIcon size={16} className='rtl:rotate-180' />}\n\t\t</li>\n\t);\n}\n\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n\treturn (\n\t\t<span\n\t\t\tdata-slot=\"breadcrumb-ellipsis\"\n\t\t\trole='presentation'\n\t\t\taria-hidden='true'\n\t\t\tclassName={cn('flex size-5 items-center justify-center text-subtle-foreground', className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<MoreHorizontalIcon size={16} />\n\t\t\t<span className='sr-only'>More</span>\n\t\t</span>\n\t);\n}\n\nexport {\n\tBreadcrumb,\n\tBreadcrumbEllipsis,\n\tBreadcrumbItem,\n\tBreadcrumbLink,\n\tBreadcrumbList,\n\tBreadcrumbPage,\n\tBreadcrumbSeparator,\n};\n"],"mappings":";;;;;;;;;;AASA,SAAS,WAAW,EAAE,GAAG,SAAsC;CAC9D,OAAO,oBAAC,OAAD;EAAK,cAAW;EAAa,aAAU;EAAa,GAAI;CAAQ;AACxE;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;CAC5E,OACC,oBAAC,MAAD;EACC,aAAU;EACV,WAAW,GACV,4GACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;CAC5E,OAAO,oBAAC,MAAD;EAAI,aAAU;EAAkB,WAAW,GAAG,4CAA4C,SAAS;EAAG,GAAI;CAAQ;AAC1H;AAEA,SAAS,eAAe,EACvB,SACA,QACA,WACA,UACA,GAAG,SAID;CACF,MAAM,cAAc,WAAW,UAAa,WAAWA,QAAM,eAAe,QAAQ,IAAI,WAAW;CAEnG,OAAO,UAAU;EAChB,gBAAgB;EAChB,OAAO,WACN;GACC,WAAW,GAAG,+CAA+C,SAAS;GACtE,UAAU,cAAc,SAAY;EACrC,GACA,KACD;EACA,QAAQ,UAAU;EAClB,OAAO,EACN,MAAM,kBACP;CACD,CAAC;AACF;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAuC;CAC9E,OACC,oBAAC,QAAD;EACC,aAAU;EACV,MAAK;EACL,iBAAc;EACd,gBAAa;EACb,WAAW,GAAG,+BAA+B,SAAS;EACtD,GAAI;CACJ;AAEH;AAEA,SAAS,oBAAoB,EAAE,UAAU,WAAW,GAAG,SAAqC;CAC3F,OACC,oBAAC,MAAD;EAAI,aAAU;EAAuB,MAAK;EAAe,eAAY;EAAO,WAAW,GAAG,0BAA0B,SAAS;EAAG,GAAI;YAClI,YAAY,oBAAC,kBAAD;GAAkB,MAAM;GAAI,WAAU;EAAkB;CAClE;AAEN;AAEA,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAuC;CAClF,OACC,qBAAC,QAAD;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,kEAAkE,SAAS;EACzF,GAAI;YALL,CAOC,oBAAC,oBAAD,EAAoB,MAAM,GAAK,IAC/B,oBAAC,QAAD;GAAM,WAAU;aAAU;EAAU,EAC/B;;AAER"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
|
+
const require_rolldown_runtime = require('../rolldown-runtime-D_qnwXdH.cjs');
|
|
4
|
+
const require_utils = require('../utils-CzTQ3-VI.cjs');
|
|
5
|
+
const require_components_separator = require('./separator.cjs');
|
|
6
|
+
let react = require("react");
|
|
7
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let class_variance_authority = require("class-variance-authority");
|
|
10
|
+
|
|
11
|
+
//#region src/components/button-group.tsx
|
|
12
|
+
const buttonGroupVariants = (0, class_variance_authority.cva)(`flex w-fit max-w-full items-stretch
|
|
13
|
+
[&>*]:focus-visible:relative [&>*]:focus-visible:z-10
|
|
14
|
+
[&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`, {
|
|
15
|
+
variants: { orientation: {
|
|
16
|
+
horizontal: `flex-row
|
|
17
|
+
[&>[data-slot]:not(:last-child)]:rounded-e-none [&>[data-slot]:not(:last-child)]:before:rounded-e-none
|
|
18
|
+
[&>[data-slot]:not(:first-child)]:rounded-s-none [&>[data-slot]:not(:first-child)]:before:rounded-s-none
|
|
19
|
+
[&>[data-slot]:not(:first-child)]:border-s-0`,
|
|
20
|
+
vertical: `flex-col
|
|
21
|
+
[&>[data-slot]:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:last-child)]:before:rounded-b-none
|
|
22
|
+
[&>[data-slot]:not(:first-child)]:rounded-t-none [&>[data-slot]:not(:first-child)]:before:rounded-t-none
|
|
23
|
+
[&>[data-slot]:not(:first-child)]:border-t-0`
|
|
24
|
+
} },
|
|
25
|
+
defaultVariants: { orientation: "horizontal" }
|
|
26
|
+
});
|
|
27
|
+
function ButtonGroup({ className, orientation, ...props }) {
|
|
28
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
29
|
+
role: "group",
|
|
30
|
+
"data-slot": "button-group",
|
|
31
|
+
"data-orientation": orientation,
|
|
32
|
+
className: require_utils.cn(buttonGroupVariants({ orientation }), className),
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function ButtonGroupText({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
38
|
+
"data-slot": "button-group-text",
|
|
39
|
+
className: require_utils.cn("flex min-w-0 items-center gap-2 rounded-md border border-border bg-muted/60 px-3 text-[0.8125rem] font-medium text-muted-foreground [overflow-wrap:anywhere] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\"size-\"])]:size-4", className),
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function ButtonGroupSeparator({ className, orientation = "vertical", ...props }) {
|
|
44
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_separator.Separator, {
|
|
45
|
+
"data-slot": "button-group-separator",
|
|
46
|
+
orientation,
|
|
47
|
+
className: require_utils.cn("relative z-10 self-stretch bg-black/16 dark:bg-white/16 data-[orientation=vertical]:-ml-px data-[orientation=vertical]:h-auto data-[orientation=horizontal]:-mt-px data-[orientation=horizontal]:w-auto", className),
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
exports.ButtonGroup = ButtonGroup;
|
|
54
|
+
exports.ButtonGroupSeparator = ButtonGroupSeparator;
|
|
55
|
+
exports.ButtonGroupText = ButtonGroupText;
|
|
56
|
+
exports.buttonGroupVariants = buttonGroupVariants;
|
|
57
|
+
//# sourceMappingURL=button-group.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.cjs","names":["cn","Separator"],"sources":["../../src/components/button-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { Separator } from './separator';\nimport { cn } from '../lib/utils';\n\nconst buttonGroupVariants = cva(\n\t`flex w-fit max-w-full items-stretch\n\t\t[&>*]:focus-visible:relative [&>*]:focus-visible:z-10\n\t\t[&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,\n\t{\n\t\tvariants: {\n\t\t\t// Only the shared edges square off: the first child keeps its leading\n\t\t\t// corners, the last keeps its trailing ones, and each Button's `before:`\n\t\t\t// overlay follows so its highlight never shows a rounded corner inside a\n\t\t\t// squared one. Works for any child count, separators included. Logical\n\t\t\t// (`s`/`e`) sides so the group mirrors in right-to-left layouts.\n\t\t\torientation: {\n\t\t\t\thorizontal: `flex-row\n\t\t\t\t\t[&>[data-slot]:not(:last-child)]:rounded-e-none [&>[data-slot]:not(:last-child)]:before:rounded-e-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:rounded-s-none [&>[data-slot]:not(:first-child)]:before:rounded-s-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:border-s-0`,\n\t\t\t\tvertical: `flex-col\n\t\t\t\t\t[&>[data-slot]:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:last-child)]:before:rounded-b-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:rounded-t-none [&>[data-slot]:not(:first-child)]:before:rounded-t-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:border-t-0`,\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\torientation: 'horizontal',\n\t\t},\n\t},\n);\n\ninterface ButtonGroupProps\n\textends React.HTMLAttributes<HTMLDivElement>,\n\t\tVariantProps<typeof buttonGroupVariants> {}\n\nfunction ButtonGroup({ className, orientation, ...props }: ButtonGroupProps) {\n\treturn (\n\t\t<div\n\t\t\trole=\"group\"\n\t\t\tdata-slot=\"button-group\"\n\t\t\tdata-orientation={orientation}\n\t\t\tclassName={cn(buttonGroupVariants({ orientation }), className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype ButtonGroupTextProps = React.ComponentProps<'div'>;\n\nfunction ButtonGroupText({ className, ...props }: ButtonGroupTextProps) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"button-group-text\"\n\t\t\tclassName={cn(\n\t\t\t\t'flex min-w-0 items-center gap-2 rounded-md border border-border bg-muted/60 px-3 text-[0.8125rem] font-medium text-muted-foreground [overflow-wrap:anywhere] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\"size-\"])]:size-4',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype ButtonGroupSeparatorProps = React.ComponentProps<typeof Separator>;\n\nfunction ButtonGroupSeparator({\n\tclassName,\n\torientation = 'vertical',\n\t...props\n}: ButtonGroupSeparatorProps) {\n\treturn (\n\t\t<Separator\n\t\t\tdata-slot=\"button-group-separator\"\n\t\t\torientation={orientation}\n\t\t\tclassName={cn(\n\t\t\t\t// A translucent ink line drawn *over* the preceding button's edge (pulled\n\t\t\t\t// back by 1px, above it) so it tints the fill it divides — darker blue in a\n\t\t\t\t// primary group, a hairline between outline buttons — instead of opening a\n\t\t\t\t// slot that shows the page behind the group.\n\t\t\t\t'relative z-10 self-stretch bg-black/16 dark:bg-white/16 data-[orientation=vertical]:-ml-px data-[orientation=vertical]:h-auto data-[orientation=horizontal]:-mt-px data-[orientation=horizontal]:w-auto',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };\nexport type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps };\n"],"mappings":";;;;;;;;;;;AAMA,MAAM,wDACL;;6EAGA;CACC,UAAU,EAMT,aAAa;EACZ,YAAY;;;;EAIZ,UAAU;;;;CAIX,EACD;CACA,iBAAiB,EAChB,aAAa,aACd;AACD,CACD;AAMA,SAAS,YAAY,EAAE,WAAW,aAAa,GAAG,SAA2B;CAC5E,OACC,2CAAC,OAAD;EACC,MAAK;EACL,aAAU;EACV,oBAAkB;EAClB,WAAWA,iBAAG,oBAAoB,EAAE,YAAY,CAAC,GAAG,SAAS;EAC7D,GAAI;CACJ;AAEH;AAIA,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAA+B;CACvE,OACC,2CAAC,OAAD;EACC,aAAU;EACV,WAAWA,iBACV,oPACA,SACD;EACA,GAAI;CACJ;AAEH;AAIA,SAAS,qBAAqB,EAC7B,WACA,cAAc,YACd,GAAG,SAC0B;CAC7B,OACC,2CAACC,wCAAD;EACC,aAAU;EACG;EACb,WAAWD,iBAKV,2MACA,SACD;EACA,GAAI;CACJ;AAEH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Separator } from "./separator.cjs";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/button-group.d.ts
|
|
5
|
+
declare const buttonGroupVariants: (props?: ({
|
|
6
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof buttonGroupVariants> {}
|
|
9
|
+
declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): React$1.JSX.Element;
|
|
10
|
+
type ButtonGroupTextProps = React$1.ComponentProps<'div'>;
|
|
11
|
+
declare function ButtonGroupText({ className, ...props }: ButtonGroupTextProps): React$1.JSX.Element;
|
|
12
|
+
type ButtonGroupSeparatorProps = React$1.ComponentProps<typeof Separator>;
|
|
13
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): React$1.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, buttonGroupVariants };
|
|
16
|
+
//# sourceMappingURL=button-group.d.cts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Separator } from "./separator.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/button-group.d.ts
|
|
5
|
+
declare const buttonGroupVariants: (props?: ({
|
|
6
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof buttonGroupVariants> {}
|
|
9
|
+
declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): React$1.JSX.Element;
|
|
10
|
+
type ButtonGroupTextProps = React$1.ComponentProps<'div'>;
|
|
11
|
+
declare function ButtonGroupText({ className, ...props }: ButtonGroupTextProps): React$1.JSX.Element;
|
|
12
|
+
type ButtonGroupSeparatorProps = React$1.ComponentProps<typeof Separator>;
|
|
13
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): React$1.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, buttonGroupVariants };
|
|
16
|
+
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { t as cn } from "../utils-BkMLyah9.js";
|
|
3
|
+
import { Separator } from "./separator.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
|
|
8
|
+
//#region src/components/button-group.tsx
|
|
9
|
+
const buttonGroupVariants = cva(`flex w-fit max-w-full items-stretch
|
|
10
|
+
[&>*]:focus-visible:relative [&>*]:focus-visible:z-10
|
|
11
|
+
[&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`, {
|
|
12
|
+
variants: { orientation: {
|
|
13
|
+
horizontal: `flex-row
|
|
14
|
+
[&>[data-slot]:not(:last-child)]:rounded-e-none [&>[data-slot]:not(:last-child)]:before:rounded-e-none
|
|
15
|
+
[&>[data-slot]:not(:first-child)]:rounded-s-none [&>[data-slot]:not(:first-child)]:before:rounded-s-none
|
|
16
|
+
[&>[data-slot]:not(:first-child)]:border-s-0`,
|
|
17
|
+
vertical: `flex-col
|
|
18
|
+
[&>[data-slot]:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:last-child)]:before:rounded-b-none
|
|
19
|
+
[&>[data-slot]:not(:first-child)]:rounded-t-none [&>[data-slot]:not(:first-child)]:before:rounded-t-none
|
|
20
|
+
[&>[data-slot]:not(:first-child)]:border-t-0`
|
|
21
|
+
} },
|
|
22
|
+
defaultVariants: { orientation: "horizontal" }
|
|
23
|
+
});
|
|
24
|
+
function ButtonGroup({ className, orientation, ...props }) {
|
|
25
|
+
return /* @__PURE__ */ jsx("div", {
|
|
26
|
+
role: "group",
|
|
27
|
+
"data-slot": "button-group",
|
|
28
|
+
"data-orientation": orientation,
|
|
29
|
+
className: cn(buttonGroupVariants({ orientation }), className),
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function ButtonGroupText({ className, ...props }) {
|
|
34
|
+
return /* @__PURE__ */ jsx("div", {
|
|
35
|
+
"data-slot": "button-group-text",
|
|
36
|
+
className: cn("flex min-w-0 items-center gap-2 rounded-md border border-border bg-muted/60 px-3 text-[0.8125rem] font-medium text-muted-foreground [overflow-wrap:anywhere] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\"size-\"])]:size-4", className),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function ButtonGroupSeparator({ className, orientation = "vertical", ...props }) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Separator, {
|
|
42
|
+
"data-slot": "button-group-separator",
|
|
43
|
+
orientation,
|
|
44
|
+
className: cn("relative z-10 self-stretch bg-black/16 dark:bg-white/16 data-[orientation=vertical]:-ml-px data-[orientation=vertical]:h-auto data-[orientation=horizontal]:-mt-px data-[orientation=horizontal]:w-auto", className),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
51
|
+
//# sourceMappingURL=button-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.js","names":[],"sources":["../../src/components/button-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { Separator } from './separator';\nimport { cn } from '../lib/utils';\n\nconst buttonGroupVariants = cva(\n\t`flex w-fit max-w-full items-stretch\n\t\t[&>*]:focus-visible:relative [&>*]:focus-visible:z-10\n\t\t[&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,\n\t{\n\t\tvariants: {\n\t\t\t// Only the shared edges square off: the first child keeps its leading\n\t\t\t// corners, the last keeps its trailing ones, and each Button's `before:`\n\t\t\t// overlay follows so its highlight never shows a rounded corner inside a\n\t\t\t// squared one. Works for any child count, separators included. Logical\n\t\t\t// (`s`/`e`) sides so the group mirrors in right-to-left layouts.\n\t\t\torientation: {\n\t\t\t\thorizontal: `flex-row\n\t\t\t\t\t[&>[data-slot]:not(:last-child)]:rounded-e-none [&>[data-slot]:not(:last-child)]:before:rounded-e-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:rounded-s-none [&>[data-slot]:not(:first-child)]:before:rounded-s-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:border-s-0`,\n\t\t\t\tvertical: `flex-col\n\t\t\t\t\t[&>[data-slot]:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:last-child)]:before:rounded-b-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:rounded-t-none [&>[data-slot]:not(:first-child)]:before:rounded-t-none\n\t\t\t\t\t[&>[data-slot]:not(:first-child)]:border-t-0`,\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\torientation: 'horizontal',\n\t\t},\n\t},\n);\n\ninterface ButtonGroupProps\n\textends React.HTMLAttributes<HTMLDivElement>,\n\t\tVariantProps<typeof buttonGroupVariants> {}\n\nfunction ButtonGroup({ className, orientation, ...props }: ButtonGroupProps) {\n\treturn (\n\t\t<div\n\t\t\trole=\"group\"\n\t\t\tdata-slot=\"button-group\"\n\t\t\tdata-orientation={orientation}\n\t\t\tclassName={cn(buttonGroupVariants({ orientation }), className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype ButtonGroupTextProps = React.ComponentProps<'div'>;\n\nfunction ButtonGroupText({ className, ...props }: ButtonGroupTextProps) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"button-group-text\"\n\t\t\tclassName={cn(\n\t\t\t\t'flex min-w-0 items-center gap-2 rounded-md border border-border bg-muted/60 px-3 text-[0.8125rem] font-medium text-muted-foreground [overflow-wrap:anywhere] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\"size-\"])]:size-4',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype ButtonGroupSeparatorProps = React.ComponentProps<typeof Separator>;\n\nfunction ButtonGroupSeparator({\n\tclassName,\n\torientation = 'vertical',\n\t...props\n}: ButtonGroupSeparatorProps) {\n\treturn (\n\t\t<Separator\n\t\t\tdata-slot=\"button-group-separator\"\n\t\t\torientation={orientation}\n\t\t\tclassName={cn(\n\t\t\t\t// A translucent ink line drawn *over* the preceding button's edge (pulled\n\t\t\t\t// back by 1px, above it) so it tints the fill it divides — darker blue in a\n\t\t\t\t// primary group, a hairline between outline buttons — instead of opening a\n\t\t\t\t// slot that shows the page behind the group.\n\t\t\t\t'relative z-10 self-stretch bg-black/16 dark:bg-white/16 data-[orientation=vertical]:-ml-px data-[orientation=vertical]:h-auto data-[orientation=horizontal]:-mt-px data-[orientation=horizontal]:w-auto',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };\nexport type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps };\n"],"mappings":";;;;;;;;AAMA,MAAM,sBAAsB,IAC3B;;6EAGA;CACC,UAAU,EAMT,aAAa;EACZ,YAAY;;;;EAIZ,UAAU;;;;CAIX,EACD;CACA,iBAAiB,EAChB,aAAa,aACd;AACD,CACD;AAMA,SAAS,YAAY,EAAE,WAAW,aAAa,GAAG,SAA2B;CAC5E,OACC,oBAAC,OAAD;EACC,MAAK;EACL,aAAU;EACV,oBAAkB;EAClB,WAAW,GAAG,oBAAoB,EAAE,YAAY,CAAC,GAAG,SAAS;EAC7D,GAAI;CACJ;AAEH;AAIA,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAA+B;CACvE,OACC,oBAAC,OAAD;EACC,aAAU;EACV,WAAW,GACV,oPACA,SACD;EACA,GAAI;CACJ;AAEH;AAIA,SAAS,qBAAqB,EAC7B,WACA,cAAc,YACd,GAAG,SAC0B;CAC7B,OACC,oBAAC,WAAD;EACC,aAAU;EACG;EACb,WAAW,GAKV,2MACA,SACD;EACA,GAAI;CACJ;AAEH"}
|