@gears-frontx/ui-kit 0.3.0-alpha.3 → 0.4.0-alpha.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 +28 -6
- package/dist/accordion.d.ts +1 -0
- package/dist/accordion.js +35 -0
- package/dist/accordion.js.map +1 -0
- package/dist/alert-dialog.d.ts +1 -0
- package/dist/alert-dialog.js +97 -0
- package/dist/alert-dialog.js.map +1 -0
- package/dist/alert.d.ts +1 -0
- package/dist/alert.js +39 -0
- package/dist/alert.js.map +1 -0
- package/dist/aspect-ratio.d.ts +1 -0
- package/dist/aspect-ratio.js +19 -0
- package/dist/aspect-ratio.js.map +1 -0
- package/dist/attachment.d.ts +1 -0
- package/dist/attachment.js +133 -0
- package/dist/attachment.js.map +1 -0
- package/dist/avatar.d.ts +1 -0
- package/dist/avatar.js +87 -0
- package/dist/avatar.js.map +1 -0
- package/dist/badge.js +32 -46
- package/dist/badge.js.map +1 -1
- package/dist/breadcrumb.d.ts +1 -0
- package/dist/breadcrumb.js +81 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/bubble.d.ts +1 -0
- package/dist/bubble.js +94 -0
- package/dist/bubble.js.map +1 -0
- package/dist/button-group.d.ts +1 -0
- package/dist/button-group.js +61 -0
- package/dist/button-group.js.map +1 -0
- package/dist/button.js +30 -29
- package/dist/button.js.map +1 -1
- package/dist/calendar.d.ts +1 -0
- package/dist/calendar.js +134 -0
- package/dist/calendar.js.map +1 -0
- package/dist/card.js +24 -24
- package/dist/carousel.d.ts +1 -0
- package/dist/carousel.js +163 -0
- package/dist/carousel.js.map +1 -0
- package/dist/chart.d.ts +1 -0
- package/dist/chart.js +202 -0
- package/dist/chart.js.map +1 -0
- package/dist/checkbox.js +14 -39
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/accordion.X_AK08Iv.css +1 -0
- package/dist/chunks/alert-dialog.B50f-Gsz.css +1 -0
- package/dist/chunks/alert.BJLRcB65.css +1 -0
- package/dist/chunks/aspect-ratio.DJbPE7BX.css +1 -0
- package/dist/chunks/attachment.rknKEWlr.css +1 -0
- package/dist/chunks/avatar.CsQmQnay.css +1 -0
- package/dist/chunks/badge.DR0epAiZ.css +1 -0
- package/dist/chunks/breadcrumb.QKz32ceR.css +1 -0
- package/dist/chunks/bubble.BKcAopT7.css +1 -0
- package/dist/chunks/button-group.D0Ir-jbL.css +1 -0
- package/dist/chunks/button.D69BdJF1.css +1 -0
- package/dist/chunks/calendar.Cnbv4EzY.css +1 -0
- package/dist/chunks/card.D3Ct_dza.css +1 -0
- package/dist/chunks/carousel.CjaKGN_D.css +1 -0
- package/dist/chunks/chart.CeyctrXQ.css +1 -0
- package/dist/chunks/checkbox.CZfE_PkU.css +1 -0
- package/dist/chunks/collapsible.BQ-sU5sQ.css +1 -0
- package/dist/chunks/combobox.CtYpZAKB.css +1 -0
- package/dist/chunks/command.Km60IuqD.css +1 -0
- package/dist/chunks/context-menu.Bjib7_AL.css +1 -0
- package/dist/chunks/data-table.DECm3qI-.css +1 -0
- package/dist/chunks/date-picker.BcRqyOg8.css +1 -0
- package/dist/chunks/dialog.BxcZ12Gb.css +1 -0
- package/dist/chunks/drawer.BkS_qEHj.css +1 -0
- package/dist/chunks/dropdown-menu.CDaeWYDT.css +1 -0
- package/dist/chunks/empty.B334jSES.css +1 -0
- package/dist/chunks/field.yTrg1G90.css +1 -0
- package/dist/chunks/hover-card.DmwvigMp.css +1 -0
- package/dist/chunks/input-group.CFIUP-Oh.css +1 -0
- package/dist/chunks/input-otp.XSpqyVij.css +1 -0
- package/dist/chunks/input.DvA_mTq8.css +1 -0
- package/dist/chunks/item.CLg1KaYF.css +1 -0
- package/dist/chunks/kbd.DZuUVB_m.css +1 -0
- package/dist/chunks/marker.DDxI_rZn.css +1 -0
- package/dist/chunks/menubar.CxRNI9o4.css +1 -0
- package/dist/chunks/message-scroller.CbLooS7Q.css +1 -0
- package/dist/chunks/message.BhD5JDJK.css +1 -0
- package/dist/chunks/native-select.BdYLTCZv.css +1 -0
- package/dist/chunks/navigation-menu.C2JGHAKD.css +1 -0
- package/dist/chunks/pagination.DUiQuWla.css +1 -0
- package/dist/chunks/popover.fOvPrnsr.css +1 -0
- package/dist/chunks/progress.Bp13t8iw.css +1 -0
- package/dist/chunks/questionnaire.DYnuWKAQ.css +1 -0
- package/dist/chunks/radio-group.CV3MBCsI.css +1 -0
- package/dist/chunks/resizable.B71V-1lR.css +1 -0
- package/dist/chunks/scroll-area.C4kWMAsU.css +1 -0
- package/dist/chunks/select.iEwV-sfJ.css +1 -0
- package/dist/chunks/sheet.DALPg9vf.css +1 -0
- package/dist/chunks/sidebar.CGTQhfWG.css +1 -0
- package/dist/chunks/slider.B5nouD7J.css +1 -0
- package/dist/chunks/spinner.UKK4f1tu.css +1 -0
- package/dist/chunks/switch.CIW9Jr1x.css +1 -0
- package/dist/chunks/table.CFAJfhd-.css +1 -0
- package/dist/chunks/tabs.C4jGj2Vg.css +1 -0
- package/dist/chunks/textarea.ORRSI69B.css +1 -0
- package/dist/chunks/toggle-group.Bd0cCCnV.css +1 -0
- package/dist/chunks/toggle.B9tvfl1n.css +1 -0
- package/dist/collapsible.d.ts +1 -0
- package/dist/collapsible.js +22 -0
- package/dist/collapsible.js.map +1 -0
- package/dist/combobox.d.ts +1 -0
- package/dist/combobox.js +159 -0
- package/dist/combobox.js.map +1 -0
- package/dist/command.d.ts +1 -0
- package/dist/command.js +75 -0
- package/dist/command.js.map +1 -0
- package/dist/components/accordion/accordion.d.ts +24 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/public.d.ts +2 -0
- package/dist/components/accordion/public.d.ts.map +1 -0
- package/dist/components/alert/alert.d.ts +21 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/public.d.ts +2 -0
- package/dist/components/alert/public.d.ts.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +95 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/alert-dialog/public.d.ts +2 -0
- package/dist/components/alert-dialog/public.d.ts.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +8 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/public.d.ts +2 -0
- package/dist/components/aspect-ratio/public.d.ts.map +1 -0
- package/dist/components/attachment/attachment.d.ts +71 -0
- package/dist/components/attachment/attachment.d.ts.map +1 -0
- package/dist/components/attachment/public.d.ts +2 -0
- package/dist/components/attachment/public.d.ts.map +1 -0
- package/dist/components/avatar/avatar.d.ts +40 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/public.d.ts +2 -0
- package/dist/components/avatar/public.d.ts.map +1 -0
- package/dist/components/badge/badge.d.ts +3 -16
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/public.d.ts +1 -1
- package/dist/components/badge/public.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +19 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/public.d.ts +2 -0
- package/dist/components/breadcrumb/public.d.ts.map +1 -0
- package/dist/components/bubble/bubble.d.ts +35 -0
- package/dist/components/bubble/bubble.d.ts.map +1 -0
- package/dist/components/bubble/public.d.ts +2 -0
- package/dist/components/bubble/public.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +1 -2
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/public.d.ts +1 -1
- package/dist/components/button/public.d.ts.map +1 -1
- package/dist/components/button-group/button-group.d.ts +17 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/public.d.ts +2 -0
- package/dist/components/button-group/public.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +29 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/public.d.ts +2 -0
- package/dist/components/calendar/public.d.ts.map +1 -0
- package/dist/components/carousel/carousel.d.ts +43 -0
- package/dist/components/carousel/carousel.d.ts.map +1 -0
- package/dist/components/carousel/public.d.ts +2 -0
- package/dist/components/carousel/public.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +48 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/public.d.ts +2 -0
- package/dist/components/chart/public.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.d.ts +14 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/public.d.ts +2 -0
- package/dist/components/collapsible/public.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +128 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/public.d.ts +2 -0
- package/dist/components/combobox/public.d.ts.map +1 -0
- package/dist/components/command/command.d.ts +44 -0
- package/dist/components/command/command.d.ts.map +1 -0
- package/dist/components/command/public.d.ts +2 -0
- package/dist/components/command/public.d.ts.map +1 -0
- package/dist/components/context-menu/context-menu.d.ts +82 -0
- package/dist/components/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu/public.d.ts +2 -0
- package/dist/components/context-menu/public.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +81 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/public.d.ts +2 -0
- package/dist/components/data-table/public.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +76 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/public.d.ts +2 -0
- package/dist/components/date-picker/public.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +12 -3
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/direction/direction.d.ts +2 -0
- package/dist/components/direction/direction.d.ts.map +1 -0
- package/dist/components/direction/public.d.ts +2 -0
- package/dist/components/direction/public.d.ts.map +1 -0
- package/dist/components/drawer/drawer.d.ts +83 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/public.d.ts +2 -0
- package/dist/components/drawer/public.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -4
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/empty/empty.d.ts +23 -0
- package/dist/components/empty/empty.d.ts.map +1 -0
- package/dist/components/empty/public.d.ts +2 -0
- package/dist/components/empty/public.d.ts.map +1 -0
- package/dist/components/field/field.d.ts +33 -12
- package/dist/components/field/field.d.ts.map +1 -1
- package/dist/components/field/public.d.ts +1 -1
- package/dist/components/field/public.d.ts.map +1 -1
- package/dist/components/hover-card/hover-card.d.ts +33 -0
- package/dist/components/hover-card/hover-card.d.ts.map +1 -0
- package/dist/components/hover-card/public.d.ts +2 -0
- package/dist/components/hover-card/public.d.ts.map +1 -0
- package/dist/components/input-group/input-group.d.ts +38 -0
- package/dist/components/input-group/input-group.d.ts.map +1 -0
- package/dist/components/input-group/public.d.ts +2 -0
- package/dist/components/input-group/public.d.ts.map +1 -0
- package/dist/components/input-otp/input-otp.d.ts +17 -0
- package/dist/components/input-otp/input-otp.d.ts.map +1 -0
- package/dist/components/input-otp/public.d.ts +2 -0
- package/dist/components/input-otp/public.d.ts.map +1 -0
- package/dist/components/item/item.d.ts +47 -0
- package/dist/components/item/item.d.ts.map +1 -0
- package/dist/components/item/public.d.ts +2 -0
- package/dist/components/item/public.d.ts.map +1 -0
- package/dist/components/kbd/kbd.d.ts +8 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/kbd/public.d.ts +2 -0
- package/dist/components/kbd/public.d.ts.map +1 -0
- package/dist/components/marker/marker.d.ts +19 -0
- package/dist/components/marker/marker.d.ts.map +1 -0
- package/dist/components/marker/public.d.ts +2 -0
- package/dist/components/marker/public.d.ts.map +1 -0
- package/dist/components/menubar/menubar.d.ts +57 -0
- package/dist/components/menubar/menubar.d.ts.map +1 -0
- package/dist/components/menubar/public.d.ts +2 -0
- package/dist/components/menubar/public.d.ts.map +1 -0
- package/dist/components/message/message.d.ts +35 -0
- package/dist/components/message/message.d.ts.map +1 -0
- package/dist/components/message/public.d.ts +2 -0
- package/dist/components/message/public.d.ts.map +1 -0
- package/dist/components/message-scroller/message-scroller.d.ts +75 -0
- package/dist/components/message-scroller/message-scroller.d.ts.map +1 -0
- package/dist/components/message-scroller/public.d.ts +2 -0
- package/dist/components/message-scroller/public.d.ts.map +1 -0
- package/dist/components/native-select/native-select.d.ts +14 -0
- package/dist/components/native-select/native-select.d.ts.map +1 -0
- package/dist/components/native-select/public.d.ts +2 -0
- package/dist/components/native-select/public.d.ts.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +83 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/navigation-menu/public.d.ts +2 -0
- package/dist/components/navigation-menu/public.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +37 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/public.d.ts +2 -0
- package/dist/components/pagination/public.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +32 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/public.d.ts +2 -0
- package/dist/components/popover/public.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +22 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/progress/public.d.ts +2 -0
- package/dist/components/progress/public.d.ts.map +1 -0
- package/dist/components/questionnaire/public.d.ts +2 -0
- package/dist/components/questionnaire/public.d.ts.map +1 -0
- package/dist/components/questionnaire/questionnaire.d.ts +192 -0
- package/dist/components/questionnaire/questionnaire.d.ts.map +1 -0
- package/dist/components/resizable/public.d.ts +2 -0
- package/dist/components/resizable/public.d.ts.map +1 -0
- package/dist/components/resizable/resizable.d.ts +12 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -0
- package/dist/components/scroll-area/public.d.ts +2 -0
- package/dist/components/scroll-area/public.d.ts.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +10 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +3 -5
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sheet/public.d.ts +2 -0
- package/dist/components/sheet/public.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +56 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sidebar/public.d.ts +2 -0
- package/dist/components/sidebar/public.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +167 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sidebar/use-mobile.d.ts +18 -0
- package/dist/components/sidebar/use-mobile.d.ts.map +1 -0
- package/dist/components/slider/public.d.ts +2 -0
- package/dist/components/slider/public.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +6 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/spinner/public.d.ts +2 -0
- package/dist/components/spinner/public.d.ts.map +1 -0
- package/dist/components/spinner/spinner.d.ts +4 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/toggle/public.d.ts +2 -0
- package/dist/components/toggle/public.d.ts.map +1 -0
- package/dist/components/toggle/toggle.d.ts +11 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle-group/public.d.ts +2 -0
- package/dist/components/toggle-group/public.d.ts.map +1 -0
- package/dist/components/toggle-group/toggle-group.d.ts +13 -0
- package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +1 -4
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/context-menu.d.ts +1 -0
- package/dist/context-menu.js +201 -0
- package/dist/context-menu.js.map +1 -0
- package/dist/data-table.d.ts +1 -0
- package/dist/data-table.js +162 -0
- package/dist/data-table.js.map +1 -0
- package/dist/date-picker.d.ts +1 -0
- package/dist/date-picker.js +175 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/dialog.js +40 -55
- package/dist/dialog.js.map +1 -1
- package/dist/direction.d.ts +1 -0
- package/dist/direction.js +6 -0
- package/dist/direction.js.map +1 -0
- package/dist/docs/accordion.md +86 -0
- package/dist/docs/alert-dialog.md +151 -0
- package/dist/docs/alert.md +74 -0
- package/dist/docs/aspect-ratio.md +65 -0
- package/dist/docs/attachment.md +254 -0
- package/dist/docs/avatar.md +185 -0
- package/dist/docs/badge.md +72 -60
- package/dist/docs/breadcrumb.md +86 -0
- package/dist/docs/bubble.md +233 -0
- package/dist/docs/button-group.md +107 -0
- package/dist/docs/calendar.md +114 -0
- package/dist/docs/card.md +15 -7
- package/dist/docs/carousel.md +152 -0
- package/dist/docs/chart.md +174 -0
- package/dist/docs/collapsible.md +80 -0
- package/dist/docs/combobox.md +192 -0
- package/dist/docs/command.md +171 -0
- package/dist/docs/context-menu.md +173 -0
- package/dist/docs/data-table.md +183 -0
- package/dist/docs/date-picker.md +137 -0
- package/dist/docs/dialog.md +33 -0
- package/dist/docs/direction.md +51 -0
- package/dist/docs/drawer.md +242 -0
- package/dist/docs/empty.md +80 -0
- package/dist/docs/field.md +105 -38
- package/dist/docs/hover-card.md +81 -0
- package/dist/docs/input-group.md +158 -0
- package/dist/docs/input-otp.md +116 -0
- package/dist/docs/input.md +31 -20
- package/dist/docs/item.md +106 -0
- package/dist/docs/kbd.md +53 -0
- package/dist/docs/marker.md +178 -0
- package/dist/docs/menubar.md +108 -0
- package/dist/docs/message-scroller.md +221 -0
- package/dist/docs/message.md +183 -0
- package/dist/docs/native-select.md +93 -0
- package/dist/docs/navigation-menu.md +176 -0
- package/dist/docs/pagination.md +96 -0
- package/dist/docs/popover.md +87 -0
- package/dist/docs/progress.md +58 -0
- package/dist/docs/questionnaire.md +311 -0
- package/dist/docs/resizable.md +95 -0
- package/dist/docs/scroll-area.md +93 -0
- package/dist/docs/sheet.md +168 -0
- package/dist/docs/sidebar.md +309 -0
- package/dist/docs/slider.md +66 -0
- package/dist/docs/spinner.md +55 -0
- package/dist/docs/table.md +85 -20
- package/dist/docs/textarea.md +19 -2
- package/dist/docs/toggle-group.md +77 -0
- package/dist/docs/toggle.md +58 -0
- package/dist/docs/typeset.md +75 -0
- package/dist/drawer.d.ts +1 -0
- package/dist/drawer.js +120 -0
- package/dist/drawer.js.map +1 -0
- package/dist/dropdown-menu.js +98 -130
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/empty.d.ts +1 -0
- package/dist/empty.js +50 -0
- package/dist/empty.js.map +1 -0
- package/dist/field.js +105 -20
- package/dist/field.js.map +1 -1
- package/dist/hover-card.d.ts +1 -0
- package/dist/hover-card.js +44 -0
- package/dist/hover-card.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +431 -93
- package/dist/index.js.map +1 -1
- package/dist/input-group.d.ts +1 -0
- package/dist/input-group.js +91 -0
- package/dist/input-group.js.map +1 -0
- package/dist/input-otp.d.ts +1 -0
- package/dist/input-otp.js +28 -0
- package/dist/input-otp.js.map +1 -0
- package/dist/input.js +17 -17
- package/dist/item.d.ts +1 -0
- package/dist/item.js +107 -0
- package/dist/item.js.map +1 -0
- package/dist/kbd.d.ts +1 -0
- package/dist/kbd.js +17 -0
- package/dist/kbd.js.map +1 -0
- package/dist/marker.d.ts +1 -0
- package/dist/marker.js +52 -0
- package/dist/marker.js.map +1 -0
- package/dist/menubar.d.ts +1 -0
- package/dist/menubar.js +50 -0
- package/dist/menubar.js.map +1 -0
- package/dist/message-scroller.d.ts +1 -0
- package/dist/message-scroller.js +69 -0
- package/dist/message-scroller.js.map +1 -0
- package/dist/message.d.ts +1 -0
- package/dist/message.js +37 -0
- package/dist/message.js.map +1 -0
- package/dist/native-select.d.ts +1 -0
- package/dist/native-select.js +42 -0
- package/dist/native-select.js.map +1 -0
- package/dist/navigation-menu.d.ts +1 -0
- package/dist/navigation-menu.js +97 -0
- package/dist/navigation-menu.js.map +1 -0
- package/dist/pagination.d.ts +1 -0
- package/dist/pagination.js +104 -0
- package/dist/pagination.js.map +1 -0
- package/dist/popover.d.ts +1 -0
- package/dist/popover.js +59 -0
- package/dist/popover.js.map +1 -0
- package/dist/progress.d.ts +1 -0
- package/dist/progress.js +36 -0
- package/dist/progress.js.map +1 -0
- package/dist/questionnaire.d.ts +1 -0
- package/dist/questionnaire.js +209 -0
- package/dist/questionnaire.js.map +1 -0
- package/dist/radio-group.js +7 -7
- package/dist/resizable.d.ts +1 -0
- package/dist/resizable.js +24 -0
- package/dist/resizable.js.map +1 -0
- package/dist/scroll-area.d.ts +1 -0
- package/dist/scroll-area.js +32 -0
- package/dist/scroll-area.js.map +1 -0
- package/dist/select.js +83 -107
- package/dist/select.js.map +1 -1
- package/dist/sheet.d.ts +1 -0
- package/dist/sheet.js +94 -0
- package/dist/sheet.js.map +1 -0
- package/dist/sidebar.d.ts +1 -0
- package/dist/sidebar.js +386 -0
- package/dist/sidebar.js.map +1 -0
- package/dist/slider.d.ts +1 -0
- package/dist/slider.js +40 -0
- package/dist/slider.js.map +1 -0
- package/dist/spinner.d.ts +1 -0
- package/dist/spinner.js +21 -0
- package/dist/spinner.js.map +1 -0
- package/dist/switch.js +11 -11
- package/dist/table.js +34 -35
- package/dist/table.js.map +1 -1
- package/dist/tabs.js +17 -17
- package/dist/textarea.js +14 -7
- package/dist/textarea.js.map +1 -1
- package/dist/theme.css +35 -20
- package/dist/toast.js +54 -164
- package/dist/toast.js.map +1 -1
- package/dist/toggle-group.d.ts +1 -0
- package/dist/toggle-group.js +46 -0
- package/dist/toggle-group.js.map +1 -0
- package/dist/toggle.d.ts +1 -0
- package/dist/toggle.js +39 -0
- package/dist/toggle.js.map +1 -0
- package/dist/tooltip.js.map +1 -1
- package/dist/typeset.css +532 -0
- package/dist/utilities.css +583 -0
- package/llms.txt +268 -24
- package/package.json +15 -3
- package/dist/chunks/badge.BcdxDzJ7.css +0 -1
- package/dist/chunks/button.DNo8DTR3.css +0 -1
- package/dist/chunks/card.B0AcyAT1.css +0 -1
- package/dist/chunks/checkbox.D3kdAalh.css +0 -1
- package/dist/chunks/dialog.D6LS2vnG.css +0 -1
- package/dist/chunks/dropdown-menu.DmDZc5gB.css +0 -1
- package/dist/chunks/field.BNZx8HfN.css +0 -1
- package/dist/chunks/input.C8RDCC-a.css +0 -1
- package/dist/chunks/radio-group.zAFY9yCF.css +0 -1
- package/dist/chunks/select.Dt0diN4P.css +0 -1
- package/dist/chunks/switch.CsaIRnCA.css +0 -1
- package/dist/chunks/table.BuWHXL6e.css +0 -1
- package/dist/chunks/tabs.KEksCAxN.css +0 -1
- package/dist/chunks/textarea.N3iiWUuz.css +0 -1
package/dist/table.js
CHANGED
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cx as
|
|
3
|
-
import './chunks/table.
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cx as l } from "class-variance-authority";
|
|
3
|
+
import './chunks/table.CFAJfhd-.css';const r = "_tableContainer_1a7ht_8", c = "_table_1a7ht_8", s = "_tableRow_1a7ht_77", i = "_tableBody_1a7ht_94", _ = "_tableHead_1a7ht_62", d = "_tableCell_1a7ht_210", m = "_densityCompact_1a7ht_278", C = "_tableCaption_1a7ht_287", u = "_tableFooter_1a7ht_309", e = {
|
|
4
4
|
tableContainer: r,
|
|
5
5
|
table: c,
|
|
6
6
|
tableRow: s,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
tableCaption: u
|
|
7
|
+
tableBody: i,
|
|
8
|
+
tableHead: _,
|
|
9
|
+
tableCell: d,
|
|
10
|
+
densityCompact: m,
|
|
11
|
+
tableCaption: C,
|
|
12
|
+
tableFooter: u
|
|
14
13
|
};
|
|
15
|
-
function
|
|
16
|
-
return /* @__PURE__ */
|
|
14
|
+
function f({ className: a, label: t, density: n, ...b }) {
|
|
15
|
+
return /* @__PURE__ */ o(
|
|
17
16
|
"div",
|
|
18
17
|
{
|
|
19
|
-
className:
|
|
18
|
+
className: e.tableContainer,
|
|
20
19
|
tabIndex: 0,
|
|
21
|
-
role:
|
|
22
|
-
"aria-label":
|
|
23
|
-
children: /* @__PURE__ */
|
|
20
|
+
role: t === void 0 ? void 0 : "region",
|
|
21
|
+
"aria-label": t,
|
|
22
|
+
children: /* @__PURE__ */ o(
|
|
24
23
|
"table",
|
|
25
24
|
{
|
|
26
|
-
className:
|
|
25
|
+
className: l(e.table, n === "compact" && e.densityCompact, a),
|
|
27
26
|
...b
|
|
28
27
|
}
|
|
29
28
|
)
|
|
30
29
|
}
|
|
31
30
|
);
|
|
32
31
|
}
|
|
33
|
-
function y({ className:
|
|
34
|
-
return /* @__PURE__ */
|
|
32
|
+
function y({ className: a, ...t }) {
|
|
33
|
+
return /* @__PURE__ */ o("thead", { className: l(e.tableHeader, a), ...t });
|
|
35
34
|
}
|
|
36
|
-
function
|
|
37
|
-
return /* @__PURE__ */
|
|
35
|
+
function N({ className: a, ...t }) {
|
|
36
|
+
return /* @__PURE__ */ o("tbody", { className: l(e.tableBody, a), ...t });
|
|
38
37
|
}
|
|
39
|
-
function
|
|
40
|
-
return /* @__PURE__ */
|
|
38
|
+
function T({ className: a, ...t }) {
|
|
39
|
+
return /* @__PURE__ */ o("tfoot", { className: l(e.tableFooter, a), ...t });
|
|
41
40
|
}
|
|
42
|
-
function
|
|
43
|
-
return /* @__PURE__ */
|
|
41
|
+
function H({ className: a, ...t }) {
|
|
42
|
+
return /* @__PURE__ */ o("tr", { className: l(e.tableRow, a), ...t });
|
|
44
43
|
}
|
|
45
|
-
function w({ className:
|
|
46
|
-
return /* @__PURE__ */
|
|
44
|
+
function w({ className: a, ...t }) {
|
|
45
|
+
return /* @__PURE__ */ o("th", { className: l(e.tableHead, a), ...t });
|
|
47
46
|
}
|
|
48
|
-
function B({ className:
|
|
49
|
-
return /* @__PURE__ */
|
|
47
|
+
function B({ className: a, ...t }) {
|
|
48
|
+
return /* @__PURE__ */ o("td", { className: l(e.tableCell, a), ...t });
|
|
50
49
|
}
|
|
51
|
-
function F({ className:
|
|
52
|
-
return /* @__PURE__ */
|
|
50
|
+
function F({ className: a, ...t }) {
|
|
51
|
+
return /* @__PURE__ */ o("caption", { className: l(e.tableCaption, a), ...t });
|
|
53
52
|
}
|
|
54
53
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
f as Table,
|
|
55
|
+
N as TableBody,
|
|
57
56
|
F as TableCaption,
|
|
58
57
|
B as TableCell,
|
|
59
|
-
|
|
58
|
+
T as TableFooter,
|
|
60
59
|
w as TableHead,
|
|
61
60
|
y as TableHeader,
|
|
62
|
-
|
|
61
|
+
H as TableRow
|
|
63
62
|
};
|
|
64
63
|
//# sourceMappingURL=table.js.map
|
package/dist/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sources":["../src/components/table/table.tsx"],"sourcesContent":["import { cx } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport styles from './table.module.css';\n\n/*\n * Table has no Base UI primitive (registry/base-vega ships plain native\n * elements with data-slot markers, this kit drops data-slot everywhere —\n * see card.tsx) — pure styling translation over native `<table>` markup,\n * per design-notes.md: a composite data-table (sorting, filtering,\n * pagination, virtualisation, column defs) is deliberately out of scope\n * here. This is styled markup, nothing more.\n *\n * Table renders two elements, matching the source exactly: its own\n * horizontal-scroll wrapper div around the <table>, rather than asking\n * every consumer to remember to add one. A consumer who also wants a\n * *vertical* scroll region (e.g. capping a long table's height) wraps\n * their own div with `overflow-y` around <Table> — it composes fine, since\n * the two wrappers scroll orthogonal axes (see table.md).\n *\n * That wrapper is `tabIndex={0}`, a deliberate addition over the source,\n * which has none. A horizontally-overflowing region with no scrollbar\n * dragging alternative is otherwise unreachable from the keyboard (WCAG\n * 2.1.1) — a mouse/touch user can drag or swipe it, a keyboard-only user\n * cannot Tab to it and press the arrow keys, since a plain `div` isn't in\n * the tab order by default. This is unconditional rather than toggled on\n * only when the table actually overflows: detecting that needs a\n * ResizeObserver, which is exactly the behavior layer this \"primitive\n * markup\" component intentionally does not have. The trade-off is a table\n * that never overflows still gets one extra, functionless tab stop — minor\n * next to the alternative of a table that does overflow being silently\n * unreachable.\n *\n * A focus stop should announce something: `label` names the wrapper\n * (`role=\"region\"` + `aria-label` — a bare div's aria-label is ignored\n * without a role, which is also why wrapping the Table yourself and\n * labelling that wrapper doesn't work: the name lands on a non-focusable\n * element while the focusable one stays nameless). Without `label` the\n * wrapper stays roleless and nameless as before — prefer passing it\n * whenever the surrounding page doesn't already make the table's purpose\n * obvious the moment focus lands.\n */\nexport interface TableProps extends ComponentProps<'table'> {\n /**\n * Accessible name for the focusable scroll wrapper around the table\n * (`role=\"region\"` + `aria-label`). Announced when keyboard focus lands\n * on the wrapper; without it the stop announces nothing.\n */\n label?: string;\n /**\n * Cell metrics only — `compact` tightens row padding for operational\n * views (the mockups' Data Table density axis). Not a data-table\n * feature: no virtualization, no row model, purely the cells' padding.\n */\n density?: 'default' | 'compact';\n}\n\nexport function Table({ className, label, density, ...props }: TableProps) {\n return (\n <div\n className={styles.tableContainer}\n tabIndex={0}\n role={label === undefined ? undefined : 'region'}\n aria-label={label}\n >\n <table\n className={cx(styles.table, density === 'compact' && styles.densityCompact, className)}\n {...props}\n />\n </div>\n );\n}\n\nexport type TableHeaderProps = ComponentProps<'thead'>;\n\nexport function TableHeader({ className, ...props }: TableHeaderProps) {\n return <thead className={cx(styles.tableHeader, className)} {...props} />;\n}\n\nexport type TableBodyProps = ComponentProps<'tbody'>;\n\nexport function TableBody({ className, ...props }: TableBodyProps) {\n return <tbody className={cx(styles.tableBody, className)} {...props} />;\n}\n\nexport type TableFooterProps = ComponentProps<'tfoot'>;\n\nexport function TableFooter({ className, ...props }: TableFooterProps) {\n return <tfoot className={cx(styles.tableFooter, className)} {...props} />;\n}\n\nexport type TableRowProps = ComponentProps<'tr'>;\n\nexport function TableRow({ className, ...props }: TableRowProps) {\n return <tr className={cx(styles.tableRow, className)} {...props} />;\n}\n\nexport type TableHeadProps = ComponentProps<'th'>;\n\nexport function TableHead({ className, ...props }: TableHeadProps) {\n return <th className={cx(styles.tableHead, className)} {...props} />;\n}\n\nexport type TableCellProps = ComponentProps<'td'>;\n\nexport function TableCell({ className, ...props }: TableCellProps) {\n return <td className={cx(styles.tableCell, className)} {...props} />;\n}\n\n/**\n * A table's accessible name/description, kept as a real semantic caption\n * regardless of where it's drawn — `.table`'s `caption-side: bottom` (see\n * table.module.css) only moves it visually below the rows; a `<caption>`\n * contributes to the table's accessibility tree the same way at either\n * position.\n */\nexport type TableCaptionProps = ComponentProps<'caption'>;\n\nexport function TableCaption({ className, ...props }: TableCaptionProps) {\n return <caption className={cx(styles.tableCaption, className)} {...props} />;\n}\n"],"names":["Table","className","label","density","props","jsx","styles","cx","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../src/components/table/table.tsx"],"sourcesContent":["import { cx } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport styles from './table.module.css';\n\n/*\n * Table has no Base UI primitive (registry/base-vega ships plain native\n * elements with data-slot markers, this kit drops data-slot everywhere —\n * see card.tsx) — pure styling translation over native `<table>` markup,\n * per design-notes.md: a composite data-table (sorting, filtering,\n * pagination, virtualisation, column defs) is deliberately out of scope\n * here. This is styled markup, nothing more.\n *\n * Table renders two elements, matching the source exactly: its own\n * horizontal-scroll wrapper div around the <table>, rather than asking\n * every consumer to remember to add one. A consumer who also wants a\n * *vertical* scroll region (e.g. capping a long table's height) wraps\n * their own div with `overflow-y` around <Table> — it composes fine, since\n * the two wrappers scroll orthogonal axes (see table.md).\n *\n * That wrapper is `tabIndex={0}`, a deliberate addition over the source,\n * which has none. A horizontally-overflowing region with no scrollbar\n * dragging alternative is otherwise unreachable from the keyboard (WCAG\n * 2.1.1) — a mouse/touch user can drag or swipe it, a keyboard-only user\n * cannot Tab to it and press the arrow keys, since a plain `div` isn't in\n * the tab order by default. This is unconditional rather than toggled on\n * only when the table actually overflows: detecting that needs a\n * ResizeObserver, which is exactly the behavior layer this \"primitive\n * markup\" component intentionally does not have. The trade-off is a table\n * that never overflows still gets one extra, functionless tab stop — minor\n * next to the alternative of a table that does overflow being silently\n * unreachable.\n *\n * A focus stop should announce something: `label` names the wrapper\n * (`role=\"region\"` + `aria-label` — a bare div's aria-label is ignored\n * without a role, which is also why wrapping the Table yourself and\n * labelling that wrapper doesn't work: the name lands on a non-focusable\n * element while the focusable one stays nameless). Without `label` the\n * wrapper stays roleless and nameless as before — prefer passing it\n * whenever the surrounding page doesn't already make the table's purpose\n * obvious the moment focus lands.\n */\nexport interface TableProps extends ComponentProps<'table'> {\n /**\n * Accessible name for the focusable scroll wrapper around the table\n * (`role=\"region\"` + `aria-label`). Announced when keyboard focus lands\n * on the wrapper; without it the stop announces nothing.\n */\n label?: string;\n /**\n * Cell metrics only — `compact` tightens row padding for operational\n * views (the mockups' Data Table density axis). Not a data-table\n * feature: no virtualization, no row model, purely the cells' padding.\n */\n density?: 'default' | 'compact';\n}\n\nexport function Table({ className, label, density, ...props }: TableProps) {\n return (\n <div\n className={styles.tableContainer}\n tabIndex={0}\n role={label === undefined ? undefined : 'region'}\n aria-label={label}\n >\n <table\n className={cx(styles.table, density === 'compact' && styles.densityCompact, className)}\n {...props}\n />\n </div>\n );\n}\n\nexport type TableHeaderProps = ComponentProps<'thead'>;\n\nexport function TableHeader({ className, ...props }: TableHeaderProps) {\n return <thead className={cx(styles.tableHeader, className)} {...props} />;\n}\n\nexport type TableBodyProps = ComponentProps<'tbody'>;\n\nexport function TableBody({ className, ...props }: TableBodyProps) {\n return <tbody className={cx(styles.tableBody, className)} {...props} />;\n}\n\nexport type TableFooterProps = ComponentProps<'tfoot'>;\n\nexport function TableFooter({ className, ...props }: TableFooterProps) {\n return <tfoot className={cx(styles.tableFooter, className)} {...props} />;\n}\n\nexport type TableRowProps = ComponentProps<'tr'>;\n\nexport function TableRow({ className, ...props }: TableRowProps) {\n return <tr className={cx(styles.tableRow, className)} {...props} />;\n}\n\nexport type TableHeadProps = ComponentProps<'th'>;\n\nexport function TableHead({ className, ...props }: TableHeadProps) {\n return <th className={cx(styles.tableHead, className)} {...props} />;\n}\n\nexport type TableCellProps = ComponentProps<'td'>;\n\nexport function TableCell({ className, ...props }: TableCellProps) {\n return <td className={cx(styles.tableCell, className)} {...props} />;\n}\n\n/**\n * A table's accessible name/description, kept as a real semantic caption\n * regardless of where it's drawn — `.table`'s `caption-side: bottom` (see\n * table.module.css) only moves it visually below the rows; a `<caption>`\n * contributes to the table's accessibility tree the same way at either\n * position.\n */\nexport type TableCaptionProps = ComponentProps<'caption'>;\n\nexport function TableCaption({ className, ...props }: TableCaptionProps) {\n return <caption className={cx(styles.tableCaption, className)} {...props} />;\n}\n"],"names":["Table","className","label","density","props","jsx","styles","cx","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":";;;;;;;;;;;;;AAyDO,SAASA,EAAM,EAAE,WAAAC,GAAW,OAAAC,GAAO,SAAAC,GAAS,GAAGC,KAAqB;AACzE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAO;AAAA,MAClB,UAAU;AAAA,MACV,MAAMJ,MAAU,SAAY,SAAY;AAAA,MACxC,cAAYA;AAAA,MAEZ,UAAA,gBAAAG;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAWE,EAAGD,EAAO,OAAOH,MAAY,aAAaG,EAAO,gBAAgBL,CAAS;AAAA,UACpF,GAAGG;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;AAIO,SAASI,EAAY,EAAE,WAAAP,GAAW,GAAGG,KAA2B;AACrE,SAAO,gBAAAC,EAAC,WAAM,WAAWE,EAAGD,EAAO,aAAaL,CAAS,GAAI,GAAGG,GAAO;AACzE;AAIO,SAASK,EAAU,EAAE,WAAAR,GAAW,GAAGG,KAAyB;AACjE,SAAO,gBAAAC,EAAC,WAAM,WAAWE,EAAGD,EAAO,WAAWL,CAAS,GAAI,GAAGG,GAAO;AACvE;AAIO,SAASM,EAAY,EAAE,WAAAT,GAAW,GAAGG,KAA2B;AACrE,SAAO,gBAAAC,EAAC,WAAM,WAAWE,EAAGD,EAAO,aAAaL,CAAS,GAAI,GAAGG,GAAO;AACzE;AAIO,SAASO,EAAS,EAAE,WAAAV,GAAW,GAAGG,KAAwB;AAC/D,SAAO,gBAAAC,EAAC,QAAG,WAAWE,EAAGD,EAAO,UAAUL,CAAS,GAAI,GAAGG,GAAO;AACnE;AAIO,SAASQ,EAAU,EAAE,WAAAX,GAAW,GAAGG,KAAyB;AACjE,SAAO,gBAAAC,EAAC,QAAG,WAAWE,EAAGD,EAAO,WAAWL,CAAS,GAAI,GAAGG,GAAO;AACpE;AAIO,SAASS,EAAU,EAAE,WAAAZ,GAAW,GAAGG,KAAyB;AACjE,SAAO,gBAAAC,EAAC,QAAG,WAAWE,EAAGD,EAAO,WAAWL,CAAS,GAAI,GAAGG,GAAO;AACpE;AAWO,SAASU,EAAa,EAAE,WAAAb,GAAW,GAAGG,KAA4B;AACvE,SAAO,gBAAAC,EAAC,aAAQ,WAAWE,EAAGD,EAAO,cAAcL,CAAS,GAAI,GAAGG,GAAO;AAC5E;"}
|
package/dist/tabs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Tabs as
|
|
3
|
-
import { cx as
|
|
4
|
-
import './chunks/tabs.
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { Tabs as e } from "@base-ui/react/tabs";
|
|
3
|
+
import { cx as r, cva as o } from "class-variance-authority";
|
|
4
|
+
import './chunks/tabs.C4jGj2Vg.css';const c = "_tabs_n5qqe_28", l = "_list_n5qqe_23", _ = "_trigger_n5qqe_5", u = "_content_n5qqe_28", f = "_variantDefault_n5qqe_84", b = "_variantLine_n5qqe_88", n = {
|
|
5
5
|
tabs: c,
|
|
6
6
|
list: l,
|
|
7
7
|
trigger: _,
|
|
@@ -9,10 +9,10 @@ import './chunks/tabs.KEksCAxN.css';const c = "_tabs_17rkh_28", l = "_list_17rkh
|
|
|
9
9
|
variantDefault: f,
|
|
10
10
|
variantLine: b
|
|
11
11
|
};
|
|
12
|
-
function
|
|
13
|
-
return /* @__PURE__ */
|
|
12
|
+
function T({ className: t, ...a }) {
|
|
13
|
+
return /* @__PURE__ */ s(e.Root, { className: r(n.tabs, t), ...a });
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const q = o(n.list, {
|
|
16
16
|
variants: {
|
|
17
17
|
variant: {
|
|
18
18
|
default: n.variantDefault,
|
|
@@ -23,19 +23,19 @@ const v = o(n.list, {
|
|
|
23
23
|
variant: "default"
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
function
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
}
|
|
29
|
-
function k({ className: t, ...a }) {
|
|
30
|
-
return /* @__PURE__ */ r(s.Tab, { className: i(n.trigger, t), ...a });
|
|
26
|
+
function L({ className: t, variant: a, ...i }) {
|
|
27
|
+
return /* @__PURE__ */ s(e.List, { className: q({ variant: a, className: t }), ...i });
|
|
31
28
|
}
|
|
32
29
|
function p({ className: t, ...a }) {
|
|
33
|
-
return /* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ s(e.Tab, { className: r(n.trigger, t), ...a });
|
|
31
|
+
}
|
|
32
|
+
function D({ className: t, ...a }) {
|
|
33
|
+
return /* @__PURE__ */ s(e.Panel, { className: r(n.content, t), ...a });
|
|
34
34
|
}
|
|
35
35
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
T as Tabs,
|
|
37
|
+
D as TabsContent,
|
|
38
|
+
L as TabsList,
|
|
39
|
+
p as TabsTrigger
|
|
40
40
|
};
|
|
41
41
|
//# sourceMappingURL=tabs.js.map
|
package/dist/textarea.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Field as a } from "@base-ui/react/field";
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
3
2
|
import { cx as o } from "class-variance-authority";
|
|
4
|
-
import './chunks/textarea.
|
|
5
|
-
textarea:
|
|
3
|
+
import './chunks/textarea.ORRSI69B.css';const c = "_textarea_1cwzd_6", n = {
|
|
4
|
+
textarea: c
|
|
6
5
|
};
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */
|
|
6
|
+
function l({ className: a, style: e, rows: t, ...r }) {
|
|
7
|
+
return /* @__PURE__ */ x(
|
|
8
|
+
"textarea",
|
|
9
|
+
{
|
|
10
|
+
rows: t,
|
|
11
|
+
className: o(n.textarea, a),
|
|
12
|
+
style: t == null ? e : { "--rows": t, ...e },
|
|
13
|
+
...r
|
|
14
|
+
}
|
|
15
|
+
);
|
|
9
16
|
}
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
l as Textarea
|
|
12
19
|
};
|
|
13
20
|
//# sourceMappingURL=textarea.js.map
|
package/dist/textarea.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.js","sources":["../src/components/textarea/textarea.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"textarea.js","sources":["../src/components/textarea/textarea.tsx"],"sourcesContent":["import { cx } from 'class-variance-authority';\nimport type { ComponentProps, CSSProperties } from 'react';\n\nimport styles from './textarea.module.css';\n\nexport type TextareaProps = ComponentProps<'textarea'>;\n\n/*\n * A plain styled native <textarea> — matching upstream shadcn/ui's base\n * Textarea, which is a passthrough with no primitive of its own (see\n * registry/bases/base/ui/textarea.tsx). No Base UI Field.Control wrapper:\n * the canonical `Field` (field.tsx) is itself primitive-free and wires\n * nothing automatically — wire `id`/`aria-describedby` by hand, the same\n * way every other control inside `Field` does (see field.md).\n */\nexport function Textarea({ className, style, rows, ...props }: TextareaProps) {\n return (\n <textarea\n rows={rows}\n className={cx(styles.textarea, className)}\n // `field-sizing: content` (textarea.module.css) makes the box grow\n // with its own content — but per the CSS Sizing spec that mode\n // *ignores* the `rows`/`cols` attribute outright, it is not merely\n // a starting point that content-driven growth then overrides. So a\n // caller passing `rows` still gets `rows` forwarded onto the DOM\n // node (a real, verifiable attribute - see textarea.test.tsx) but\n // it has zero effect on rendered geometry: measured empty at\n // `rows={8}`, the box stayed the same 56px `min-height` as\n // `rows={2}`. `--rows` re-derives the floor field-sizing dropped,\n // same private-custom-property idiom as AspectRatio's `--ratio`;\n // left unset for the common no-`rows` case, `var(--rows, 1)` in CSS\n // resolves to the existing 56px floor unchanged.\n style={rows == null ? style : ({ '--rows': rows, ...style } as CSSProperties)}\n {...props}\n />\n );\n}\n"],"names":["Textarea","className","style","rows","props","jsx","cx","styles"],"mappings":";;;;;AAeO,SAASA,EAAS,EAAE,WAAAC,GAAW,OAAAC,GAAO,MAAAC,GAAM,GAAGC,KAAwB;AAC5E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAAF;AAAA,MACA,WAAWG,EAAGC,EAAO,UAAUN,CAAS;AAAA,MAaxC,OAAOE,KAAQ,OAAOD,IAAS,EAAE,UAAUC,GAAM,GAAGD,EAAA;AAAA,MACnD,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/theme.css
CHANGED
|
@@ -61,9 +61,8 @@
|
|
|
61
61
|
|
|
62
62
|
/*
|
|
63
63
|
* Popover chrome shared by every card-like popup (Dialog/DropdownMenu/
|
|
64
|
-
* Select/Toast): a 1px ring plus a two-layer drop shadow,
|
|
65
|
-
* hand-duplicated
|
|
66
|
-
* Card, which has no real `border` to spend — see card.module.css). All
|
|
64
|
+
* Select/Toast): a 1px ring plus a two-layer drop shadow, declared once
|
|
65
|
+
* here rather than hand-duplicated in each module. All
|
|
67
66
|
* four consumers already paint their surface from the --popover/
|
|
68
67
|
* --popover-foreground pair, so this chrome takes the same family name
|
|
69
68
|
* rather than "--overlay-*", which would read as a variant of --overlay
|
|
@@ -132,11 +131,11 @@
|
|
|
132
131
|
* border. Every 2px ring drawn this way — a recolored 1px border plus an
|
|
133
132
|
* inset shadow of this width, rather than a real border-width switch —
|
|
134
133
|
* thickens without the element's box changing: a genuine width switch
|
|
135
|
-
* grows it 1px on each edge, which shifts a control's text
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
134
|
+
* grows it 1px on each edge, which shifts a control's text. Named here
|
|
135
|
+
* rather than spelled out per module because it is one decision shared
|
|
136
|
+
* by the components that draw it this way (Tabs, Input, Toast, Textarea,
|
|
137
|
+
* Badge, Select, Menubar, Combobox, Item, InputOtp, InputGroup,
|
|
138
|
+
* NativeSelect), not a pile of coincidences. Button is the
|
|
140
139
|
* deliberate exception: its focus ring is drawn OUTSIDE the button as an
|
|
141
140
|
* `outline` (see button.module.css), so it never consumes --ring-inset.
|
|
142
141
|
*/
|
|
@@ -255,6 +254,22 @@
|
|
|
255
254
|
--subtle-foreground: #5f6f88;
|
|
256
255
|
--accent: #f3e8ff;
|
|
257
256
|
--accent-foreground: #6d28d9;
|
|
257
|
+
/*
|
|
258
|
+
* The tint a row carries while it is selected. Table's row-state hooks
|
|
259
|
+
* are the only consumer (see table.module.css). Its own token rather
|
|
260
|
+
* than --muted or --accent because the Studio Data Table frame
|
|
261
|
+
* (40001455:6353) draws selection in neither: --accent is the violet
|
|
262
|
+
* brand tint, and --muted is a neutral slate the drawn value is visibly
|
|
263
|
+
* bluer and one step stronger than — selection has to read as a state at
|
|
264
|
+
* a glance across a column of rows, which a fill that close to the
|
|
265
|
+
* page's own neutrals does not.
|
|
266
|
+
* Light is the frame's own drawn value. derived (dark only): the frame
|
|
267
|
+
* has no dark specimen, so dark takes the same hue and saturation at the
|
|
268
|
+
* lightness that puts it one clear step above --card-hover, the fill it
|
|
269
|
+
* has to stay distinguishable from. --foreground clears AA on both
|
|
270
|
+
* (14.2:1 light, 13.1:1 dark).
|
|
271
|
+
*/
|
|
272
|
+
--selection-subtle: #dce7f2;
|
|
258
273
|
|
|
259
274
|
/* derived: no mockup node draws with destructive/*, so it aliases danger —
|
|
260
275
|
* one red, two names, both overridable separately. White text clears AA
|
|
@@ -285,18 +300,16 @@
|
|
|
285
300
|
|
|
286
301
|
/* Status colors with their -soft fills. The status colors themselves are
|
|
287
302
|
* consumed — Badge's dot and label text, Table's stale/restricted row
|
|
288
|
-
* rings; the four -soft fills are
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
* warning-soft
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* not from one reproducible mix recipe (the four -soft values don't share
|
|
299
|
-
* a single formula against their base hue). */
|
|
303
|
+
* rings; the four -soft fills are read by Badge's tone variants
|
|
304
|
+
* (success/warning/danger/info backgrounds, badge.module.css) and by
|
|
305
|
+
* Avatar's tone-by-variant fill matrix (avatar.module.css) - both paint a
|
|
306
|
+
* tinted surface: the -soft fill as background, the base status token as
|
|
307
|
+
* foreground text. Dark warning-soft and info-soft are corroborated by
|
|
308
|
+
* the workflow aliases that resolve to the same values; dark danger-soft
|
|
309
|
+
* and light warning-soft are drawn nowhere — derived: chosen to sit in
|
|
310
|
+
* the same tint family as their corroborated siblings, not from one
|
|
311
|
+
* reproducible mix recipe (the four -soft values don't share a single
|
|
312
|
+
* formula against their base hue). */
|
|
300
313
|
--success: #059669;
|
|
301
314
|
--success-soft: #e8f8f1;
|
|
302
315
|
--warning: #d97706;
|
|
@@ -373,6 +386,7 @@
|
|
|
373
386
|
--subtle-foreground: #7a8396;
|
|
374
387
|
--accent: #2e1065;
|
|
375
388
|
--accent-foreground: #ede9fe;
|
|
389
|
+
--selection-subtle: #1c2d3f;
|
|
376
390
|
--destructive: #d63853;
|
|
377
391
|
--destructive-foreground: #ffffff;
|
|
378
392
|
--destructive-ring: #f87f8f;
|
|
@@ -424,6 +438,7 @@
|
|
|
424
438
|
--subtle-foreground: #7a8396;
|
|
425
439
|
--accent: #2e1065;
|
|
426
440
|
--accent-foreground: #ede9fe;
|
|
441
|
+
--selection-subtle: #1c2d3f;
|
|
427
442
|
--destructive: #d63853;
|
|
428
443
|
--destructive-foreground: #ffffff;
|
|
429
444
|
--destructive-ring: #f87f8f;
|
package/dist/toast.js
CHANGED
|
@@ -1,194 +1,84 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { Toast as
|
|
2
|
+
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { Toast as t } from "@base-ui/react/toast";
|
|
4
4
|
import { cx as i } from "class-variance-authority";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
import { XIcon as m, LoaderCircleIcon as p, OctagonXIcon as d, TriangleAlertIcon as v, InfoIcon as g, CircleCheckIcon as N } from "lucide-react";
|
|
6
|
+
import { Button as r } from "./button.js";
|
|
7
|
+
import './chunks/toast.DMUpK07T.css';const T = "_viewport_1leeo_12", f = "_toast_1leeo_10", I = "_content_1leeo_76", h = "_icon_1leeo_255", y = "_iconDestructive_1leeo_262", w = "_iconSpin_1leeo_266", C = "_body_1leeo_291", b = "_title_1leeo_303", M = "_description_1leeo_310", D = "_action_1leeo_318", x = "_close_1leeo_325", S = "_svgIcon_1leeo_348", e = {
|
|
8
|
+
viewport: T,
|
|
9
|
+
toast: f,
|
|
10
|
+
content: I,
|
|
11
|
+
icon: h,
|
|
12
|
+
iconDestructive: y,
|
|
13
|
+
iconSpin: w,
|
|
14
|
+
body: C,
|
|
15
|
+
title: b,
|
|
16
|
+
description: M,
|
|
17
|
+
action: D,
|
|
18
|
+
close: x,
|
|
19
|
+
svgIcon: S
|
|
19
20
|
};
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
"svg",
|
|
23
|
-
{
|
|
24
|
-
className: i(t.icon, o),
|
|
25
|
-
viewBox: "0 0 24 24",
|
|
26
|
-
fill: "none",
|
|
27
|
-
stroke: "currentColor",
|
|
28
|
-
strokeWidth: "2",
|
|
29
|
-
strokeLinecap: "round",
|
|
30
|
-
strokeLinejoin: "round",
|
|
31
|
-
"aria-hidden": "true",
|
|
32
|
-
children: [
|
|
33
|
-
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
|
|
34
|
-
/* @__PURE__ */ e("path", { d: "m9 12 2 2 4-4" })
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
function C({ className: o }) {
|
|
40
|
-
return /* @__PURE__ */ r(
|
|
41
|
-
"svg",
|
|
42
|
-
{
|
|
43
|
-
className: i(t.icon, o),
|
|
44
|
-
viewBox: "0 0 24 24",
|
|
45
|
-
fill: "none",
|
|
46
|
-
stroke: "currentColor",
|
|
47
|
-
strokeWidth: "2",
|
|
48
|
-
strokeLinecap: "round",
|
|
49
|
-
strokeLinejoin: "round",
|
|
50
|
-
"aria-hidden": "true",
|
|
51
|
-
children: [
|
|
52
|
-
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
|
|
53
|
-
/* @__PURE__ */ e("path", { d: "M12 16v-4" }),
|
|
54
|
-
/* @__PURE__ */ e("path", { d: "M12 8h.01" })
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
function x({ className: o }) {
|
|
60
|
-
return /* @__PURE__ */ r(
|
|
61
|
-
"svg",
|
|
62
|
-
{
|
|
63
|
-
className: i(t.icon, o),
|
|
64
|
-
viewBox: "0 0 24 24",
|
|
65
|
-
fill: "none",
|
|
66
|
-
stroke: "currentColor",
|
|
67
|
-
strokeWidth: "2",
|
|
68
|
-
strokeLinecap: "round",
|
|
69
|
-
strokeLinejoin: "round",
|
|
70
|
-
"aria-hidden": "true",
|
|
71
|
-
children: [
|
|
72
|
-
/* @__PURE__ */ e("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }),
|
|
73
|
-
/* @__PURE__ */ e("path", { d: "M12 9v4" }),
|
|
74
|
-
/* @__PURE__ */ e("path", { d: "M12 17h.01" })
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
function I({ className: o }) {
|
|
80
|
-
return /* @__PURE__ */ r(
|
|
81
|
-
"svg",
|
|
82
|
-
{
|
|
83
|
-
className: i(t.icon, o),
|
|
84
|
-
viewBox: "0 0 24 24",
|
|
85
|
-
fill: "none",
|
|
86
|
-
stroke: "currentColor",
|
|
87
|
-
strokeWidth: "2",
|
|
88
|
-
strokeLinecap: "round",
|
|
89
|
-
strokeLinejoin: "round",
|
|
90
|
-
"aria-hidden": "true",
|
|
91
|
-
children: [
|
|
92
|
-
/* @__PURE__ */ e("path", { d: "m15 9-6 6" }),
|
|
93
|
-
/* @__PURE__ */ e("path", { d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" }),
|
|
94
|
-
/* @__PURE__ */ e("path", { d: "m9 9 6 6" })
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
function y({ className: o }) {
|
|
100
|
-
return /* @__PURE__ */ e(
|
|
101
|
-
"svg",
|
|
102
|
-
{
|
|
103
|
-
className: i(t.icon, o),
|
|
104
|
-
viewBox: "0 0 24 24",
|
|
105
|
-
fill: "none",
|
|
106
|
-
stroke: "currentColor",
|
|
107
|
-
strokeWidth: "2",
|
|
108
|
-
strokeLinecap: "round",
|
|
109
|
-
strokeLinejoin: "round",
|
|
110
|
-
"aria-hidden": "true",
|
|
111
|
-
children: /* @__PURE__ */ e("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
112
|
-
}
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
function j({ className: o }) {
|
|
116
|
-
return /* @__PURE__ */ e(
|
|
117
|
-
"svg",
|
|
118
|
-
{
|
|
119
|
-
className: i(t.svgIcon, o),
|
|
120
|
-
viewBox: "0 0 24 24",
|
|
121
|
-
fill: "none",
|
|
122
|
-
stroke: "currentColor",
|
|
123
|
-
strokeWidth: "2",
|
|
124
|
-
strokeLinecap: "round",
|
|
125
|
-
strokeLinejoin: "round",
|
|
126
|
-
"aria-hidden": "true",
|
|
127
|
-
children: /* @__PURE__ */ e("path", { d: "M18 6 6 18M6 6l12 12" })
|
|
128
|
-
}
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
function B({ type: o }) {
|
|
132
|
-
switch (o) {
|
|
21
|
+
function j({ type: n }) {
|
|
22
|
+
switch (n) {
|
|
133
23
|
case "success":
|
|
134
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ o(N, { className: e.icon });
|
|
135
25
|
case "info":
|
|
136
|
-
return /* @__PURE__ */
|
|
26
|
+
return /* @__PURE__ */ o(g, { className: e.icon });
|
|
137
27
|
case "warning":
|
|
138
|
-
return /* @__PURE__ */
|
|
28
|
+
return /* @__PURE__ */ o(v, { className: e.icon });
|
|
139
29
|
case "error":
|
|
140
|
-
return /* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ o(d, { className: i(e.icon, e.iconDestructive) });
|
|
141
31
|
case "loading":
|
|
142
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ o(p, { className: i(e.icon, e.iconSpin) });
|
|
143
33
|
default:
|
|
144
34
|
return null;
|
|
145
35
|
}
|
|
146
36
|
}
|
|
147
|
-
function
|
|
148
|
-
toast:
|
|
149
|
-
closeLabel:
|
|
37
|
+
function A({
|
|
38
|
+
toast: n,
|
|
39
|
+
closeLabel: c
|
|
150
40
|
}) {
|
|
151
|
-
return /* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ o(t.Root, { toast: n, className: e.toast, children: /* @__PURE__ */ a(t.Content, { className: e.content, children: [
|
|
42
|
+
/* @__PURE__ */ o(j, { type: n.type }),
|
|
43
|
+
/* @__PURE__ */ a("div", { className: e.body, children: [
|
|
44
|
+
/* @__PURE__ */ o(t.Title, { className: e.title }),
|
|
45
|
+
/* @__PURE__ */ o(t.Description, { className: e.description })
|
|
156
46
|
] }),
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
|
|
47
|
+
/* @__PURE__ */ o(t.Action, { className: e.action, render: /* @__PURE__ */ o(r, { variant: "outline", size: "sm" }) }),
|
|
48
|
+
/* @__PURE__ */ o(
|
|
49
|
+
t.Close,
|
|
160
50
|
{
|
|
161
|
-
"aria-label":
|
|
162
|
-
className:
|
|
163
|
-
render: /* @__PURE__ */
|
|
51
|
+
"aria-label": c,
|
|
52
|
+
className: e.close,
|
|
53
|
+
render: /* @__PURE__ */ o(r, { variant: "ghost", icon: /* @__PURE__ */ o(m, { className: e.svgIcon }) })
|
|
164
54
|
}
|
|
165
55
|
)
|
|
166
56
|
] }) });
|
|
167
57
|
}
|
|
168
|
-
function
|
|
169
|
-
const { toasts:
|
|
170
|
-
return
|
|
58
|
+
function L({ closeLabel: n }) {
|
|
59
|
+
const { toasts: c } = t.useToastManager();
|
|
60
|
+
return c.map((s) => /* @__PURE__ */ o(A, { toast: s, closeLabel: n }, s.id));
|
|
171
61
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
container:
|
|
175
|
-
children:
|
|
176
|
-
closeLabel:
|
|
62
|
+
const P = t.createToastManager(), R = t.useToastManager, V = t.createToastManager;
|
|
63
|
+
function $({
|
|
64
|
+
container: n,
|
|
65
|
+
children: c,
|
|
66
|
+
closeLabel: s = "Close toast",
|
|
177
67
|
// Defaulted here rather than left to Base UI's own 'Notifications', so an
|
|
178
68
|
// explicit undefined can never wipe the landmark name in the merge.
|
|
179
69
|
label: l = "Notifications",
|
|
180
|
-
toastManager:
|
|
70
|
+
toastManager: _ = P,
|
|
181
71
|
...u
|
|
182
72
|
}) {
|
|
183
|
-
return /* @__PURE__ */
|
|
184
|
-
|
|
185
|
-
/* @__PURE__ */
|
|
73
|
+
return /* @__PURE__ */ a(t.Provider, { toastManager: _, ...u, children: [
|
|
74
|
+
c,
|
|
75
|
+
/* @__PURE__ */ o(t.Portal, { container: n, children: /* @__PURE__ */ o(t.Viewport, { "aria-label": l, className: e.viewport, children: /* @__PURE__ */ o(L, { closeLabel: s }) }) })
|
|
186
76
|
] });
|
|
187
77
|
}
|
|
188
78
|
export {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
79
|
+
$ as Toaster,
|
|
80
|
+
V as createToastManager,
|
|
81
|
+
P as toast,
|
|
82
|
+
R as useToastManager
|
|
193
83
|
};
|
|
194
84
|
//# sourceMappingURL=toast.js.map
|