@povio/ui 6.0.0-rc.12 → 6.0.0-rc.14
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 +523 -42
- package/dist/{Accordion-ORBin0EZ.js → Accordion-BNHpv7Zj.js} +42 -42
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/Alert-xHGPLUpt.d.ts +36 -0
- package/dist/AlertDialog-CKcUZ6l9.d.ts +70 -0
- package/dist/Autocomplete-CkWTSFoj.d.ts +123 -0
- package/dist/Autocomplete-CrNDRxvg.js +319 -0
- package/dist/Badge-B25YEMEw.d.ts +67 -0
- package/dist/BottomSheet-CtcPZG82.d.ts +65 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-tUXH3NjS.js} +9 -9
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-D8WXqOLN.js} +36 -20
- package/dist/{Button-BaODzvZd.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-DDuk3hJ3.d.ts} +2 -2
- package/dist/{Button-C1YB5dOw.js → Button-DF6sbTuF.js} +3 -7
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-BYJz1JkH.js} +12 -20
- package/dist/ButtonBase-Bn_FT89h.d.ts +47 -0
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-yaQubCWK.js → Calendar-DdneUEhM.js} +71 -35
- package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-BY0kLoYH.js} +7 -7
- package/dist/Checkbox-Bwl6MA-V.d.ts +49 -0
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-E2bns_n0.js} +40 -14
- package/dist/CheckboxCheckmark-Beu8T1g9.js +42 -0
- package/dist/CheckboxGroup-0rzsn-bA.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-C7epIEpW.js} +75 -35
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/DatePicker-B70SCKfT.d.ts +80 -0
- package/dist/{DatePicker-bme8zGBo.js → DatePicker-BU-34fCk.js} +117 -46
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-CMEJmZSQ.js} +41 -30
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-D0RtqeBM.js} +90 -162
- package/dist/DateRangePicker-jovxcWGk.d.ts +102 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-Cbdt76CL.js} +94 -40
- package/dist/DateTimePicker-Cfi3ruFy.d.ts +83 -0
- package/dist/Dialog-BWNQjIgo.d.ts +66 -0
- package/dist/{Dialog-C9H9_BmK.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-DN5703sy.js → Dialog-ebjPH22i.js} +23 -19
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-3V-G7fZ7.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-C4WitobV.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BM7659Sk.js} +14 -8
- package/dist/{FileInput-BUwtAF2-.js → FileInput-Bc_E1M1X.js} +76 -81
- package/dist/FileInput-CWRW7OzZ.d.ts +61 -0
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/FileUpload-DVnp9xxv.d.ts +181 -0
- package/dist/FileUpload-Dk6ZmgWF.js +1105 -0
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/FormField-BgiWLGjf.d.ts +70 -0
- package/dist/{FormField-dduTMkNH.js → FormField-DOZ7eXjA.js} +11 -11
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DW9sqJWl.js +22 -0
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-Bjjf5cQL.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CG5LQ0zs.js → Input-CvYyjMWx.js} +95 -60
- package/dist/Input-lppNS8wM.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.js → InputContent-B5YjsLDE.js} +15 -13
- package/dist/InputContent-Bgalf6R1.d.ts +39 -0
- package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
- package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
- package/dist/Link-HJ4y-xiW.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-Ck-B1Jae.js} +9 -9
- package/dist/{Modal-DcLWF9cB.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-DxuikBcr.js → NumberField-BXLzNb2T.js} +92 -63
- package/dist/NumberField-Q-4y3jpb.d.ts +41 -0
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BBzZCC54.js} +153 -102
- package/dist/NumberRangeInput-DuWOdSdU.d.ts +89 -0
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-jVaC3Z9L.d.ts} +6 -5
- package/dist/PasswordInput-DtTnGHRD.d.ts +16 -0
- package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-U0QhNsMp.js} +6 -6
- package/dist/Popover-ClCEOP3e.d.ts +51 -0
- package/dist/Progress-DlXY0dv_.js +180 -0
- package/dist/Progress-VkkXbIh7.d.ts +26 -0
- package/dist/ProgressBar-mpNpV7ow.js +46 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-BPPJyA1s.js} +72 -32
- package/dist/RadioGroup-BbcrP56w.d.ts +52 -0
- package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DIVjIl0T.js} +12 -10
- package/dist/Select-D1qIWZCv.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-DlbVDCz8.js} +452 -191
- package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-CCr5YY86.js} +55 -43
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-CIpFJGOa.js} +283 -366
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +31 -17
- package/dist/Slider-CLViwkE1.d.ts +57 -0
- package/dist/{Slider-DCsCCPFx.js → Slider-_RsgBJcg.js} +72 -15
- package/dist/Spinner-GMEauCHv.d.ts +13 -0
- package/dist/SplitButton-BdP4xjFQ.d.ts +25 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-D4z7JNsD.js} +116 -88
- package/dist/Stepper-DBb0qfla.d.ts +49 -0
- package/dist/{Switch-BfpSMMpv.js → Switch-Bi3_bUw1.js} +56 -14
- package/dist/Switch-DCxONL2Q.d.ts +42 -0
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-DybNturW.js → TabsFilters-BPogry73.js} +46 -35
- package/dist/TabsFilters-CPfGBODw.d.ts +59 -0
- package/dist/Tag-xhcJOv_X.d.ts +26 -0
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/TextArea-BYX9Kk_v.d.ts +33 -0
- package/dist/{TextArea-Blsip3ZC.js → TextArea-CuJS3-Nv.js} +62 -35
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-ByfjqkLp.js} +120 -56
- package/dist/TimePicker-UTo9C6gz.d.ts +64 -0
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-BX8o7ECO.d.ts} +2 -2
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/ToggleGroup-18c-FZ_r.js +500 -0
- package/dist/ToggleGroup-UazUtgU1.d.ts +95 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-Dl3sf8fq.js} +5 -5
- package/dist/Tooltip-FcJ29dhq.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-bvNpM6ku.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-auHWN282.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-C9mE8CMf.js} +23 -24
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +166 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +25 -21
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +31 -28
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +3 -3
- package/dist/components/style-definitions.js +62 -20
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +2 -2
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-C_-uADGJ.js +93 -0
- package/dist/confirmation.context-DkWyR2aT.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-CP6vV22I.js} +68 -39
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-SrF6v406.js} +3 -3
- package/dist/form-field-C735uXsi.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-D8vXIoiq.js → i18n-DaIHnR2n.js} +123 -9
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-xXkHgzet.d.ts} +124 -4
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-Cz8NlFqm.js} +40 -16
- package/dist/index.d.ts +66 -84
- package/dist/index.js +57 -92
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BxVK2yQ5.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-ZhpQz3P0.d.ts +2277 -0
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BgUrcqXD.js} +379 -94
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -0
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/tanstack-cQOW9-Q2.d.ts +165 -0
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +66 -84
- package/dist/tanstack.js +57 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-DusQwZw-.js} +13 -9
- package/dist/toast.runtime-ZN5q4T9X.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-NWmBJ2Hc.js} +72 -10
- package/dist/uiConfig.context-ykH4E2js.d.ts +19 -0
- package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-DkIjhlce.js} +142 -37
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/useBreakpoint-BPrZNuNl.d.ts +9 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-DtYSRweq.js} +6 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/useDebounceCallback-C7YKfjXW.js +96 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BzCGqFqi.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-npiqOvyB.js} +107 -6
- package/dist/useRemoveButton-zhlA1Pbc.js +98 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/useResolveDateRangePreset-k_h_XJBG.js +26 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/useToast-BHqkSByv.d.ts +78 -0
- package/dist/useToast-DgqC6Ta_.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +3201 -0
- package/package.json +22 -118
- package/MIGRATION.md +0 -655
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-Bn13u0zu.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-M2cjR37s.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-C12mOKpg.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-D7FMYm-k.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-DmkuulOi.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/Input.bound-DYoXyRGy.js +0 -31
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-ChJnNyJS.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/RichTextEditor-DfwVdm45.js +0 -651
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound--Az1Xwgm.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-DeaskY6r.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
- package/dist/TimePickerForm-DD9VA_td.js +0 -225
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/confirmation.context-Bc2yEVp_.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-wNbE6b-h.d.ts +0 -566
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/uiConfig.context-BnCORTNm.d.ts +0 -132
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableColumnConfig-CXYgj5xi.js +0 -1906
- package/dist/useTableNav-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -1,250 +1,113 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { t as IconSlot } from "./IconSlot-
|
|
4
|
-
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-
|
|
5
|
-
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-
|
|
6
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-
|
|
7
|
-
import { t as $2ec61d1d4f780267$export$a8a3e93435678ff9 } from "./Heading-
|
|
8
|
-
import { r as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "./Disclosure-
|
|
9
|
-
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-
|
|
10
|
-
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-
|
|
11
|
-
import { t as Tooltip } from "./Tooltip-
|
|
3
|
+
import { t as IconSlot } from "./IconSlot-TAWTJ6iK.js";
|
|
4
|
+
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-Bpwr1nuy.js";
|
|
5
|
+
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-8zP_NC_c.js";
|
|
6
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-DF6sbTuF.js";
|
|
7
|
+
import { t as $2ec61d1d4f780267$export$a8a3e93435678ff9 } from "./Heading-B9G3z6Es.js";
|
|
8
|
+
import { r as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "./Disclosure-D_aym2zh.js";
|
|
9
|
+
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-xT-Wz5GH.js";
|
|
10
|
+
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-D8BT67FO.js";
|
|
11
|
+
import { t as Tooltip } from "./Tooltip-Dl3sf8fq.js";
|
|
12
12
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
13
|
-
import
|
|
13
|
+
import "./i18n-DaIHnR2n.js";
|
|
14
|
+
import { t as LinkContext } from "./link.context-CD5h_b5O.js";
|
|
14
15
|
import { IconButton } from "./components/icon-button.js";
|
|
15
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
16
|
-
import { r as
|
|
17
|
-
import {
|
|
16
|
+
import { t as useBreakpoint } from "./useBreakpoint-DtYSRweq.js";
|
|
17
|
+
import { a as sidebarGroupChevronDefinition, c as sidebarHeaderDefinition, d as sidebarWorkspaceTileDefinition, f as sidebarWorkspacesDefinition, i as sidebarFooterDefinition, l as sidebarItemDefinition, n as sidebarContentDefinition, o as sidebarGroupDefinition, r as sidebarDefinition, s as sidebarGroupHeadingDefinition, t as sidebarAvatarDefinition, u as sidebarWorkspaceRowDefinition } from "./sidebar.cva-BgxTCejU.js";
|
|
18
|
+
import { r as dialogOverlay } from "./dialog.cva-BjVggO5l.js";
|
|
18
19
|
import { c } from "react/compiler-runtime";
|
|
19
20
|
import { createContext, use, useId, useState } from "react";
|
|
20
21
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
base: ["flex h-full w-70 flex-col overflow-hidden", "border-r border-border bg-card"],
|
|
24
|
-
config: {
|
|
25
|
-
variants: { isMobile: {
|
|
26
|
-
true: "min-w-0 shrink",
|
|
27
|
-
false: "shrink-0"
|
|
28
|
-
} },
|
|
29
|
-
defaultVariants: { isMobile: false }
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
const sidebarHeaderDefinition = UIOverrides.defineConfig({
|
|
33
|
-
base: ["flex shrink-0 items-center gap-2 px-2 pt-6 pb-2"],
|
|
34
|
-
config: {
|
|
35
|
-
variants: {},
|
|
36
|
-
defaultVariants: {}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
const sidebarContentDefinition = UIOverrides.defineConfig({
|
|
40
|
-
base: ["flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-2 py-2"],
|
|
41
|
-
config: {
|
|
42
|
-
variants: {},
|
|
43
|
-
defaultVariants: {}
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
const sidebarFooterDefinition = UIOverrides.defineConfig({
|
|
47
|
-
base: ["flex shrink-0 items-center gap-2 border-t border-border", "px-2 py-3"],
|
|
48
|
-
config: {
|
|
49
|
-
variants: {},
|
|
50
|
-
defaultVariants: {}
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
const sidebarGroupDefinition = UIOverrides.defineConfig({
|
|
54
|
-
base: ["flex flex-col"],
|
|
55
|
-
config: {
|
|
56
|
-
variants: {},
|
|
57
|
-
defaultVariants: {}
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
const sidebarGroupHeadingDefinition = UIOverrides.defineConfig({
|
|
61
|
-
base: ["flex min-w-0 flex-1 items-center gap-4 rounded-md", "px-3 py-2 text-left text-foreground outline-none"],
|
|
62
|
-
config: {
|
|
63
|
-
variants: { isCollapsible: {
|
|
64
|
-
true: ["cursor-pointer pointer-coarse:min-h-11 hover:bg-accent", "focus-visible:ring-2 focus-visible:ring-ring"],
|
|
65
|
-
false: ""
|
|
66
|
-
} },
|
|
67
|
-
defaultVariants: { isCollapsible: true }
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
const sidebarGroupChevronDefinition = UIOverrides.defineConfig({
|
|
71
|
-
base: ["size-icons-size shrink-0 transition-transform duration-200 motion-reduce:transition-none"],
|
|
72
|
-
config: {
|
|
73
|
-
variants: { isExpanded: {
|
|
74
|
-
true: "rotate-0",
|
|
75
|
-
false: "-rotate-90"
|
|
76
|
-
} },
|
|
77
|
-
defaultVariants: { isExpanded: true }
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
const sidebarItemDefinition = UIOverrides.defineConfig({
|
|
81
|
-
base: [
|
|
82
|
-
"flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md",
|
|
83
|
-
"px-3 py-2 text-left no-underline! outline-none",
|
|
84
|
-
"transition-colors duration-150 motion-reduce:transition-none",
|
|
85
|
-
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
|
|
86
|
-
"disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50",
|
|
87
|
-
"pointer-coarse:min-h-11"
|
|
88
|
-
],
|
|
89
|
-
config: {
|
|
90
|
-
variants: {
|
|
91
|
-
variant: {
|
|
92
|
-
default: "",
|
|
93
|
-
search: "bg-muted ring-1 ring-border ring-inset"
|
|
94
|
-
},
|
|
95
|
-
isActive: {
|
|
96
|
-
true: ["relative bg-muted font-medium text-card-foreground", "before:absolute before:inset-y-2 before:left-0 before:w-0.5 before:rounded-full before:bg-foreground"],
|
|
97
|
-
false: "text-foreground"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
defaultVariants: {
|
|
101
|
-
variant: "default",
|
|
102
|
-
isActive: false
|
|
103
|
-
},
|
|
104
|
-
compoundVariants: [{
|
|
105
|
-
isActive: false,
|
|
106
|
-
className: "hover:bg-accent hover:text-card-foreground"
|
|
107
|
-
}]
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
const sidebarAvatarDefinition = UIOverrides.defineConfig({
|
|
111
|
-
base: ["relative flex size-7 shrink-0 items-center justify-center font-sans font-semibold text-xs"],
|
|
112
|
-
config: {
|
|
113
|
-
variants: { shape: {
|
|
114
|
-
square: "rounded-sm bg-foreground text-background",
|
|
115
|
-
circle: "rounded-full bg-foreground text-background"
|
|
116
|
-
} },
|
|
117
|
-
defaultVariants: { shape: "circle" }
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
const sidebarWorkspacesDefinition = UIOverrides.defineConfig({
|
|
121
|
-
base: ["flex h-full shrink-0 flex-col overflow-hidden border-r border-border bg-card", "px-3 py-3 transition-[width] duration-200 ease-out motion-reduce:transition-none"],
|
|
122
|
-
config: {
|
|
123
|
-
variants: { isExpanded: {
|
|
124
|
-
true: "w-56",
|
|
125
|
-
false: "w-[calc(--spacing(9)+2*calc(var(--spacing)*3)+1px)]"
|
|
126
|
-
} },
|
|
127
|
-
defaultVariants: { isExpanded: false }
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
const sidebarWorkspaceRowDefinition = UIOverrides.defineConfig({
|
|
131
|
-
base: [
|
|
132
|
-
"group/workspace flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md text-left outline-none",
|
|
133
|
-
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",
|
|
134
|
-
"pointer-coarse:min-h-11"
|
|
135
|
-
],
|
|
136
|
-
config: {
|
|
137
|
-
variants: { isSelected: {
|
|
138
|
-
true: "text-card-foreground",
|
|
139
|
-
false: "text-foreground hover:text-card-foreground"
|
|
140
|
-
} },
|
|
141
|
-
defaultVariants: { isSelected: false }
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
const sidebarWorkspaceTileDefinition = UIOverrides.defineConfig({
|
|
145
|
-
base: ["flex size-9 shrink-0 items-center justify-center rounded-md font-sans font-semibold text-sm", "transition-colors duration-150 motion-reduce:transition-none"],
|
|
146
|
-
config: {
|
|
147
|
-
variants: {
|
|
148
|
-
variant: {
|
|
149
|
-
workspace: "",
|
|
150
|
-
add: "border border-dashed border-foreground text-foreground group-hover/workspace:bg-accent"
|
|
151
|
-
},
|
|
152
|
-
isSelected: {
|
|
153
|
-
true: "bg-foreground text-background",
|
|
154
|
-
false: ""
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
defaultVariants: {
|
|
158
|
-
variant: "workspace",
|
|
159
|
-
isSelected: false
|
|
160
|
-
},
|
|
161
|
-
compoundVariants: [{
|
|
162
|
-
variant: "workspace",
|
|
163
|
-
isSelected: false,
|
|
164
|
-
className: "bg-card text-card-foreground group-hover/workspace:bg-accent"
|
|
165
|
-
}]
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
//#endregion
|
|
22
|
+
import { ChevronDown, ChevronsLeft, ChevronsRight, Menu, Plus } from "lucide-react";
|
|
23
|
+
import { useTranslation } from "react-i18next";
|
|
169
24
|
//#region src/components/navigation/Sidebar/SidebarLayout.tsx
|
|
170
25
|
const SidebarLayoutContext = createContext(null);
|
|
171
26
|
const useSidebarLayout = () => use(SidebarLayoutContext);
|
|
172
27
|
const SidebarLayout = (t0) => {
|
|
173
|
-
const $ = c(
|
|
174
|
-
const { navigation, children, mobileTitle, menuLabel
|
|
175
|
-
const
|
|
176
|
-
const
|
|
28
|
+
const $ = c(48);
|
|
29
|
+
const { navigation, children, mobileTitle, menuLabel, breakpoint: t1, className } = t0;
|
|
30
|
+
const breakpoint = t1 === void 0 ? "md" : t1;
|
|
31
|
+
const { t } = useTranslation("ui");
|
|
32
|
+
const isDesktop = useBreakpoint(breakpoint);
|
|
177
33
|
const [isOpen, setIsOpen] = useState(false);
|
|
178
|
-
const
|
|
179
|
-
let
|
|
34
|
+
const t2 = !isDesktop;
|
|
35
|
+
let t3;
|
|
180
36
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
181
|
-
|
|
182
|
-
$[0] =
|
|
183
|
-
} else
|
|
184
|
-
let
|
|
185
|
-
if ($[1] !==
|
|
186
|
-
|
|
187
|
-
isMobile:
|
|
188
|
-
closeNavigation:
|
|
37
|
+
t3 = () => setIsOpen(false);
|
|
38
|
+
$[0] = t3;
|
|
39
|
+
} else t3 = $[0];
|
|
40
|
+
let t4;
|
|
41
|
+
if ($[1] !== t2) {
|
|
42
|
+
t4 = {
|
|
43
|
+
isMobile: t2,
|
|
44
|
+
closeNavigation: t3
|
|
189
45
|
};
|
|
190
|
-
$[1] =
|
|
191
|
-
$[2] =
|
|
192
|
-
} else
|
|
193
|
-
const context =
|
|
46
|
+
$[1] = t2;
|
|
47
|
+
$[2] = t4;
|
|
48
|
+
} else t4 = $[2];
|
|
49
|
+
const context = t4;
|
|
194
50
|
if (isDesktop) {
|
|
195
|
-
let
|
|
51
|
+
let t5;
|
|
196
52
|
if ($[3] !== className) {
|
|
197
|
-
|
|
53
|
+
t5 = clsx("flex min-h-0", className);
|
|
198
54
|
$[3] = className;
|
|
199
|
-
$[4] =
|
|
200
|
-
} else
|
|
201
|
-
let
|
|
55
|
+
$[4] = t5;
|
|
56
|
+
} else t5 = $[4];
|
|
57
|
+
let t6;
|
|
202
58
|
if ($[5] !== children) {
|
|
203
|
-
|
|
59
|
+
t6 = /* @__PURE__ */ jsx("div", {
|
|
204
60
|
className: "flex min-w-0 flex-1 flex-col",
|
|
205
61
|
children
|
|
206
62
|
});
|
|
207
63
|
$[5] = children;
|
|
208
|
-
$[6] =
|
|
209
|
-
} else
|
|
210
|
-
let
|
|
211
|
-
if ($[7] !== navigation || $[8] !==
|
|
212
|
-
|
|
213
|
-
className:
|
|
214
|
-
children: [navigation,
|
|
64
|
+
$[6] = t6;
|
|
65
|
+
} else t6 = $[6];
|
|
66
|
+
let t7;
|
|
67
|
+
if ($[7] !== navigation || $[8] !== t5 || $[9] !== t6) {
|
|
68
|
+
t7 = /* @__PURE__ */ jsxs("div", {
|
|
69
|
+
className: t5,
|
|
70
|
+
children: [navigation, t6]
|
|
215
71
|
});
|
|
216
72
|
$[7] = navigation;
|
|
217
|
-
$[8] =
|
|
218
|
-
$[9] =
|
|
219
|
-
$[10] =
|
|
220
|
-
} else
|
|
221
|
-
let
|
|
222
|
-
if ($[11] !== context || $[12] !==
|
|
223
|
-
|
|
73
|
+
$[8] = t5;
|
|
74
|
+
$[9] = t6;
|
|
75
|
+
$[10] = t7;
|
|
76
|
+
} else t7 = $[10];
|
|
77
|
+
let t8;
|
|
78
|
+
if ($[11] !== context || $[12] !== t7) {
|
|
79
|
+
t8 = /* @__PURE__ */ jsx(SidebarLayoutContext, {
|
|
224
80
|
value: context,
|
|
225
|
-
children:
|
|
81
|
+
children: t7
|
|
226
82
|
});
|
|
227
83
|
$[11] = context;
|
|
228
|
-
$[12] =
|
|
229
|
-
$[13] =
|
|
230
|
-
} else
|
|
231
|
-
return
|
|
84
|
+
$[12] = t7;
|
|
85
|
+
$[13] = t8;
|
|
86
|
+
} else t8 = $[13];
|
|
87
|
+
return t8;
|
|
232
88
|
}
|
|
233
|
-
let
|
|
89
|
+
let t5;
|
|
234
90
|
if ($[14] !== className) {
|
|
235
|
-
|
|
91
|
+
t5 = clsx("flex min-h-0 flex-col", className);
|
|
236
92
|
$[14] = className;
|
|
237
|
-
$[15] =
|
|
238
|
-
} else
|
|
93
|
+
$[15] = t5;
|
|
94
|
+
} else t5 = $[15];
|
|
95
|
+
let t6;
|
|
96
|
+
if ($[16] !== menuLabel || $[17] !== t) {
|
|
97
|
+
t6 = menuLabel ?? t(_temp$1);
|
|
98
|
+
$[16] = menuLabel;
|
|
99
|
+
$[17] = t;
|
|
100
|
+
$[18] = t6;
|
|
101
|
+
} else t6 = $[18];
|
|
239
102
|
let t7;
|
|
240
|
-
if ($[
|
|
103
|
+
if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
241
104
|
t7 = () => setIsOpen(true);
|
|
242
|
-
$[
|
|
243
|
-
} else t7 = $[
|
|
105
|
+
$[19] = t7;
|
|
106
|
+
} else t7 = $[19];
|
|
244
107
|
let t8;
|
|
245
|
-
if ($[
|
|
108
|
+
if ($[20] !== isOpen || $[21] !== t6) {
|
|
246
109
|
t8 = /* @__PURE__ */ jsx(IconButton, {
|
|
247
|
-
label:
|
|
110
|
+
label: t6,
|
|
248
111
|
disableTooltip: true,
|
|
249
112
|
icon: Menu,
|
|
250
113
|
variant: "ghost",
|
|
@@ -253,96 +116,109 @@ const SidebarLayout = (t0) => {
|
|
|
253
116
|
onPress: t7,
|
|
254
117
|
className: "pointer-coarse:size-11"
|
|
255
118
|
});
|
|
256
|
-
$[
|
|
257
|
-
$[
|
|
258
|
-
$[
|
|
259
|
-
} else t8 = $[
|
|
119
|
+
$[20] = isOpen;
|
|
120
|
+
$[21] = t6;
|
|
121
|
+
$[22] = t8;
|
|
122
|
+
} else t8 = $[22];
|
|
260
123
|
let t9;
|
|
261
|
-
if ($[
|
|
124
|
+
if ($[23] !== mobileTitle) {
|
|
262
125
|
t9 = mobileTitle && /* @__PURE__ */ jsx(Typography, {
|
|
263
126
|
size: "large",
|
|
264
127
|
as: "span",
|
|
265
128
|
className: "min-w-0 truncate font-semibold text-card-foreground",
|
|
266
129
|
children: mobileTitle
|
|
267
130
|
});
|
|
268
|
-
$[
|
|
269
|
-
$[
|
|
270
|
-
} else t9 = $[
|
|
131
|
+
$[23] = mobileTitle;
|
|
132
|
+
$[24] = t9;
|
|
133
|
+
} else t9 = $[24];
|
|
271
134
|
let t10;
|
|
272
|
-
if ($[
|
|
135
|
+
if ($[25] !== t8 || $[26] !== t9) {
|
|
273
136
|
t10 = /* @__PURE__ */ jsxs("div", {
|
|
274
137
|
className: "sticky top-0 z-sticky flex items-center gap-2 border-b border-border bg-card px-2 py-2",
|
|
275
138
|
children: [t8, t9]
|
|
276
139
|
});
|
|
277
|
-
$[
|
|
278
|
-
$[
|
|
279
|
-
$[
|
|
280
|
-
} else t10 = $[
|
|
140
|
+
$[25] = t8;
|
|
141
|
+
$[26] = t9;
|
|
142
|
+
$[27] = t10;
|
|
143
|
+
} else t10 = $[27];
|
|
281
144
|
let t11;
|
|
282
|
-
if ($[
|
|
145
|
+
if ($[28] !== children) {
|
|
283
146
|
t11 = /* @__PURE__ */ jsx("div", {
|
|
284
147
|
className: "flex min-w-0 flex-1 flex-col",
|
|
285
148
|
children
|
|
286
149
|
});
|
|
287
|
-
$[
|
|
288
|
-
$[
|
|
289
|
-
} else t11 = $[
|
|
150
|
+
$[28] = children;
|
|
151
|
+
$[29] = t11;
|
|
152
|
+
} else t11 = $[29];
|
|
290
153
|
let t12;
|
|
291
|
-
if ($[
|
|
154
|
+
if ($[30] !== t10 || $[31] !== t11 || $[32] !== t5) {
|
|
292
155
|
t12 = /* @__PURE__ */ jsxs("div", {
|
|
293
|
-
className:
|
|
156
|
+
className: t5,
|
|
294
157
|
children: [t10, t11]
|
|
295
158
|
});
|
|
296
|
-
$[
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
} else t12 = $[
|
|
159
|
+
$[30] = t10;
|
|
160
|
+
$[31] = t11;
|
|
161
|
+
$[32] = t5;
|
|
162
|
+
$[33] = t12;
|
|
163
|
+
} else t12 = $[33];
|
|
301
164
|
let t13;
|
|
302
|
-
if ($[
|
|
165
|
+
if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
303
166
|
t13 = clsx(dialogOverlay({ aside: "left" }), "z-drawer");
|
|
304
|
-
$[
|
|
305
|
-
} else t13 = $[
|
|
167
|
+
$[34] = t13;
|
|
168
|
+
} else t13 = $[34];
|
|
306
169
|
let t14;
|
|
307
|
-
if ($[
|
|
308
|
-
t14 =
|
|
170
|
+
if ($[35] !== t) {
|
|
171
|
+
t14 = t(_temp2$1);
|
|
172
|
+
$[35] = t;
|
|
173
|
+
$[36] = t14;
|
|
174
|
+
} else t14 = $[36];
|
|
175
|
+
let t15;
|
|
176
|
+
if ($[37] !== navigation || $[38] !== t14) {
|
|
177
|
+
t15 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
|
|
309
178
|
className: "fixed inset-y-0 left-0 z-drawer flex max-w-[calc(100%-(--spacing(12)))] entering:animate-drawer-enter-left exiting:animate-drawer-exit-left bg-card",
|
|
310
179
|
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
311
|
-
"aria-label":
|
|
180
|
+
"aria-label": t14,
|
|
312
181
|
className: "flex h-full min-w-0 outline-none",
|
|
313
182
|
children: navigation
|
|
314
183
|
})
|
|
315
184
|
});
|
|
316
|
-
$[
|
|
317
|
-
$[
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
185
|
+
$[37] = navigation;
|
|
186
|
+
$[38] = t14;
|
|
187
|
+
$[39] = t15;
|
|
188
|
+
} else t15 = $[39];
|
|
189
|
+
let t16;
|
|
190
|
+
if ($[40] !== isOpen || $[41] !== t13 || $[42] !== t15) {
|
|
191
|
+
t16 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
|
|
322
192
|
isOpen,
|
|
323
193
|
onOpenChange: setIsOpen,
|
|
324
194
|
isDismissable: true,
|
|
325
195
|
className: t13,
|
|
326
|
-
children:
|
|
196
|
+
children: t15
|
|
327
197
|
});
|
|
328
|
-
$[
|
|
329
|
-
$[
|
|
330
|
-
$[
|
|
331
|
-
$[
|
|
332
|
-
} else
|
|
333
|
-
let
|
|
334
|
-
if ($[
|
|
335
|
-
|
|
198
|
+
$[40] = isOpen;
|
|
199
|
+
$[41] = t13;
|
|
200
|
+
$[42] = t15;
|
|
201
|
+
$[43] = t16;
|
|
202
|
+
} else t16 = $[43];
|
|
203
|
+
let t17;
|
|
204
|
+
if ($[44] !== context || $[45] !== t12 || $[46] !== t16) {
|
|
205
|
+
t17 = /* @__PURE__ */ jsxs(SidebarLayoutContext, {
|
|
336
206
|
value: context,
|
|
337
|
-
children: [t12,
|
|
207
|
+
children: [t12, t16]
|
|
338
208
|
});
|
|
339
|
-
$[
|
|
340
|
-
$[
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
} else
|
|
344
|
-
return
|
|
209
|
+
$[44] = context;
|
|
210
|
+
$[45] = t12;
|
|
211
|
+
$[46] = t16;
|
|
212
|
+
$[47] = t17;
|
|
213
|
+
} else t17 = $[47];
|
|
214
|
+
return t17;
|
|
345
215
|
};
|
|
216
|
+
function _temp$1($) {
|
|
217
|
+
return $.ui.sidebar.openNavigation;
|
|
218
|
+
}
|
|
219
|
+
function _temp2$1($_0) {
|
|
220
|
+
return $_0.ui.sidebar.navigation;
|
|
221
|
+
}
|
|
346
222
|
//#endregion
|
|
347
223
|
//#region src/components/navigation/Sidebar/Sidebar.tsx
|
|
348
224
|
const Sidebar = (t0) => {
|
|
@@ -879,7 +755,7 @@ const SidebarGroup = (t0) => {
|
|
|
879
755
|
//#region src/components/navigation/Sidebar/SidebarItem.tsx
|
|
880
756
|
const isLinkItem = (props) => Boolean(props.href) || Boolean(props.to);
|
|
881
757
|
const SidebarItem = (props) => {
|
|
882
|
-
const $ = c(
|
|
758
|
+
const $ = c(50);
|
|
883
759
|
const linkContext = LinkContext.useLinkContext();
|
|
884
760
|
const layout = useSidebarLayout();
|
|
885
761
|
const itemCva = UIOverrides.useCva("sidebar.itemCva", sidebarItemDefinition);
|
|
@@ -1034,18 +910,25 @@ const SidebarItem = (props) => {
|
|
|
1034
910
|
return t14;
|
|
1035
911
|
}
|
|
1036
912
|
const t12 = rest;
|
|
913
|
+
let buttonProps;
|
|
914
|
+
if ($[44] !== t12) {
|
|
915
|
+
const { isPending: _isPending, ...t13 } = t12;
|
|
916
|
+
buttonProps = t13;
|
|
917
|
+
$[44] = t12;
|
|
918
|
+
$[45] = buttonProps;
|
|
919
|
+
} else buttonProps = $[45];
|
|
1037
920
|
let t13;
|
|
1038
|
-
if ($[
|
|
921
|
+
if ($[46] !== buttonProps || $[47] !== content || $[48] !== shared) {
|
|
1039
922
|
t13 = /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1040
|
-
...
|
|
923
|
+
...buttonProps,
|
|
1041
924
|
...shared,
|
|
1042
925
|
children: content
|
|
1043
926
|
});
|
|
1044
|
-
$[
|
|
1045
|
-
$[
|
|
1046
|
-
$[
|
|
1047
|
-
$[
|
|
1048
|
-
} else t13 = $[
|
|
927
|
+
$[46] = buttonProps;
|
|
928
|
+
$[47] = content;
|
|
929
|
+
$[48] = shared;
|
|
930
|
+
$[49] = t13;
|
|
931
|
+
} else t13 = $[49];
|
|
1049
932
|
return t13;
|
|
1050
933
|
};
|
|
1051
934
|
//#endregion
|
|
@@ -1072,67 +955,82 @@ const RowLabel = (t0) => {
|
|
|
1072
955
|
return t3;
|
|
1073
956
|
};
|
|
1074
957
|
const SidebarWorkspaces = (t0) => {
|
|
1075
|
-
const $ = c(
|
|
1076
|
-
const { items,
|
|
1077
|
-
const
|
|
1078
|
-
const defaultExpanded = t2 === void 0 ? false : t2;
|
|
1079
|
-
const ariaLabel = t3 === void 0 ? "Workspaces" : t3;
|
|
958
|
+
const $ = c(59);
|
|
959
|
+
const { items, value, defaultValue, onChange, onAdd, addLabel: addLabelProp, isExpanded: isExpandedProp, defaultExpanded: t1, onExpandedChange, user, "aria-label": ariaLabelProp, className } = t0;
|
|
960
|
+
const defaultExpanded = t1 === void 0 ? false : t1;
|
|
1080
961
|
const railCva = UIOverrides.useCva("sidebar.workspacesCva", sidebarWorkspacesDefinition);
|
|
1081
962
|
const rowCva = UIOverrides.useCva("sidebar.workspaceRowCva", sidebarWorkspaceRowDefinition);
|
|
1082
963
|
const tileCva = UIOverrides.useCva("sidebar.workspaceTileCva", sidebarWorkspaceTileDefinition);
|
|
964
|
+
const { t } = useTranslation("ui");
|
|
965
|
+
let t2;
|
|
966
|
+
if ($[0] !== addLabelProp || $[1] !== t) {
|
|
967
|
+
t2 = addLabelProp ?? t(_temp);
|
|
968
|
+
$[0] = addLabelProp;
|
|
969
|
+
$[1] = t;
|
|
970
|
+
$[2] = t2;
|
|
971
|
+
} else t2 = $[2];
|
|
972
|
+
const addLabel = t2;
|
|
973
|
+
let t3;
|
|
974
|
+
if ($[3] !== ariaLabelProp || $[4] !== t) {
|
|
975
|
+
t3 = ariaLabelProp ?? t(_temp2);
|
|
976
|
+
$[3] = ariaLabelProp;
|
|
977
|
+
$[4] = t;
|
|
978
|
+
$[5] = t3;
|
|
979
|
+
} else t3 = $[5];
|
|
980
|
+
const ariaLabel = t3;
|
|
1083
981
|
const layout = useSidebarLayout();
|
|
1084
982
|
const railId = useId();
|
|
1085
983
|
const [isExpandedState, setIsExpandedState] = useState(defaultExpanded);
|
|
1086
984
|
const isExpanded = !layout?.isMobile && (isExpandedProp ?? isExpandedState);
|
|
1087
985
|
let t4;
|
|
1088
|
-
if ($[
|
|
986
|
+
if ($[6] !== isExpanded || $[7] !== onExpandedChange) {
|
|
1089
987
|
t4 = () => {
|
|
1090
988
|
setIsExpandedState(!isExpanded);
|
|
1091
989
|
onExpandedChange?.(!isExpanded);
|
|
1092
990
|
};
|
|
1093
|
-
$[
|
|
1094
|
-
$[
|
|
1095
|
-
$[
|
|
1096
|
-
} else t4 = $[
|
|
991
|
+
$[6] = isExpanded;
|
|
992
|
+
$[7] = onExpandedChange;
|
|
993
|
+
$[8] = t4;
|
|
994
|
+
} else t4 = $[8];
|
|
1097
995
|
const toggleExpanded = t4;
|
|
1098
996
|
let t5;
|
|
1099
|
-
if ($[
|
|
997
|
+
if ($[9] !== className || $[10] !== isExpanded || $[11] !== railCva) {
|
|
1100
998
|
t5 = railCva({
|
|
1101
999
|
isExpanded,
|
|
1102
1000
|
className
|
|
1103
1001
|
});
|
|
1104
|
-
$[
|
|
1105
|
-
$[
|
|
1106
|
-
$[
|
|
1107
|
-
$[
|
|
1108
|
-
} else t5 = $[
|
|
1002
|
+
$[9] = className;
|
|
1003
|
+
$[10] = isExpanded;
|
|
1004
|
+
$[11] = railCva;
|
|
1005
|
+
$[12] = t5;
|
|
1006
|
+
} else t5 = $[12];
|
|
1109
1007
|
let t6;
|
|
1110
|
-
if ($[
|
|
1111
|
-
t6 =
|
|
1112
|
-
$[
|
|
1113
|
-
$[
|
|
1114
|
-
} else t6 = $[
|
|
1008
|
+
if ($[13] !== value) {
|
|
1009
|
+
t6 = value === void 0 ? void 0 : value === null ? [] : [value];
|
|
1010
|
+
$[13] = value;
|
|
1011
|
+
$[14] = t6;
|
|
1012
|
+
} else t6 = $[14];
|
|
1115
1013
|
let t7;
|
|
1116
|
-
if ($[
|
|
1117
|
-
t7 =
|
|
1118
|
-
$[
|
|
1119
|
-
$[
|
|
1120
|
-
} else t7 = $[
|
|
1014
|
+
if ($[15] !== defaultValue) {
|
|
1015
|
+
t7 = defaultValue == null ? void 0 : [defaultValue];
|
|
1016
|
+
$[15] = defaultValue;
|
|
1017
|
+
$[16] = t7;
|
|
1018
|
+
} else t7 = $[16];
|
|
1121
1019
|
let t8;
|
|
1122
|
-
if ($[
|
|
1020
|
+
if ($[17] !== onChange) {
|
|
1123
1021
|
t8 = (keys) => {
|
|
1124
1022
|
const [key] = keys;
|
|
1125
|
-
if (key !== void 0)
|
|
1023
|
+
if (key !== void 0) onChange?.(key);
|
|
1126
1024
|
};
|
|
1127
|
-
$[
|
|
1128
|
-
$[
|
|
1129
|
-
} else t8 = $[
|
|
1025
|
+
$[17] = onChange;
|
|
1026
|
+
$[18] = t8;
|
|
1027
|
+
} else t8 = $[18];
|
|
1130
1028
|
let t9;
|
|
1131
|
-
if ($[
|
|
1029
|
+
if ($[19] !== isExpanded || $[20] !== items || $[21] !== rowCva || $[22] !== tileCva) {
|
|
1132
1030
|
let t10;
|
|
1133
|
-
if ($[
|
|
1031
|
+
if ($[24] !== isExpanded || $[25] !== rowCva || $[26] !== tileCva) {
|
|
1134
1032
|
t10 = (item) => /* @__PURE__ */ jsx(Tooltip, {
|
|
1135
|
-
text: item.
|
|
1033
|
+
text: item.label,
|
|
1136
1034
|
placement: "right",
|
|
1137
1035
|
isDisabled: isExpanded,
|
|
1138
1036
|
children: /* @__PURE__ */ jsx($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
@@ -1146,28 +1044,28 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1146
1044
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
1147
1045
|
"aria-hidden": true,
|
|
1148
1046
|
className: tileCva({ isSelected: isSelected_0 }),
|
|
1149
|
-
children: item.logo ?? item.
|
|
1047
|
+
children: item.logo ?? item.label.charAt(0).toUpperCase()
|
|
1150
1048
|
}), /* @__PURE__ */ jsx(RowLabel, {
|
|
1151
1049
|
isExpanded,
|
|
1152
|
-
children: item.
|
|
1050
|
+
children: item.label
|
|
1153
1051
|
})] });
|
|
1154
1052
|
}
|
|
1155
1053
|
})
|
|
1156
1054
|
}, item.id);
|
|
1157
|
-
$[
|
|
1158
|
-
$[
|
|
1159
|
-
$[
|
|
1160
|
-
$[
|
|
1161
|
-
} else t10 = $[
|
|
1055
|
+
$[24] = isExpanded;
|
|
1056
|
+
$[25] = rowCva;
|
|
1057
|
+
$[26] = tileCva;
|
|
1058
|
+
$[27] = t10;
|
|
1059
|
+
} else t10 = $[27];
|
|
1162
1060
|
t9 = items.map(t10);
|
|
1163
|
-
$[
|
|
1164
|
-
$[
|
|
1165
|
-
$[
|
|
1166
|
-
$[
|
|
1167
|
-
$[
|
|
1168
|
-
} else t9 = $[
|
|
1061
|
+
$[19] = isExpanded;
|
|
1062
|
+
$[20] = items;
|
|
1063
|
+
$[21] = rowCva;
|
|
1064
|
+
$[22] = tileCva;
|
|
1065
|
+
$[23] = t9;
|
|
1066
|
+
} else t9 = $[23];
|
|
1169
1067
|
let t10;
|
|
1170
|
-
if ($[
|
|
1068
|
+
if ($[28] !== ariaLabel || $[29] !== t6 || $[30] !== t7 || $[31] !== t8 || $[32] !== t9) {
|
|
1171
1069
|
t10 = /* @__PURE__ */ jsx($bc25b811ec97a172$export$40258cc1d95ff477, {
|
|
1172
1070
|
"aria-label": ariaLabel,
|
|
1173
1071
|
orientation: "vertical",
|
|
@@ -1179,15 +1077,15 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1179
1077
|
className: "flex flex-col gap-1",
|
|
1180
1078
|
children: t9
|
|
1181
1079
|
});
|
|
1182
|
-
$[
|
|
1183
|
-
$[
|
|
1184
|
-
$[
|
|
1185
|
-
$[
|
|
1186
|
-
$[
|
|
1187
|
-
$[
|
|
1188
|
-
} else t10 = $[
|
|
1080
|
+
$[28] = ariaLabel;
|
|
1081
|
+
$[29] = t6;
|
|
1082
|
+
$[30] = t7;
|
|
1083
|
+
$[31] = t8;
|
|
1084
|
+
$[32] = t9;
|
|
1085
|
+
$[33] = t10;
|
|
1086
|
+
} else t10 = $[33];
|
|
1189
1087
|
let t11;
|
|
1190
|
-
if ($[
|
|
1088
|
+
if ($[34] !== addLabel || $[35] !== isExpanded || $[36] !== onAdd || $[37] !== rowCva || $[38] !== tileCva) {
|
|
1191
1089
|
t11 = onAdd && /* @__PURE__ */ jsx(Tooltip, {
|
|
1192
1090
|
text: addLabel,
|
|
1193
1091
|
placement: "right",
|
|
@@ -1205,24 +1103,24 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1205
1103
|
})]
|
|
1206
1104
|
})
|
|
1207
1105
|
});
|
|
1208
|
-
$[
|
|
1209
|
-
$[
|
|
1210
|
-
$[
|
|
1211
|
-
$[
|
|
1212
|
-
$[
|
|
1213
|
-
$[
|
|
1214
|
-
} else t11 = $[
|
|
1106
|
+
$[34] = addLabel;
|
|
1107
|
+
$[35] = isExpanded;
|
|
1108
|
+
$[36] = onAdd;
|
|
1109
|
+
$[37] = rowCva;
|
|
1110
|
+
$[38] = tileCva;
|
|
1111
|
+
$[39] = t11;
|
|
1112
|
+
} else t11 = $[39];
|
|
1215
1113
|
let t12;
|
|
1216
|
-
if ($[
|
|
1114
|
+
if ($[40] !== isExpanded || $[41] !== layout?.isMobile || $[42] !== railId || $[43] !== rowCva || $[44] !== t || $[45] !== toggleExpanded) {
|
|
1217
1115
|
t12 = !layout?.isMobile && /* @__PURE__ */ jsx(Tooltip, {
|
|
1218
|
-
text:
|
|
1116
|
+
text: t(_temp3),
|
|
1219
1117
|
placement: "right",
|
|
1220
1118
|
isDisabled: isExpanded,
|
|
1221
1119
|
children: /* @__PURE__ */ jsxs($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1222
1120
|
onPress: toggleExpanded,
|
|
1223
1121
|
"aria-expanded": isExpanded,
|
|
1224
1122
|
"aria-controls": railId,
|
|
1225
|
-
"aria-label": isExpanded ?
|
|
1123
|
+
"aria-label": isExpanded ? t(_temp4) : t(_temp5),
|
|
1226
1124
|
className: clsx(rowCva({ isSelected: false }), "h-9"),
|
|
1227
1125
|
children: [/* @__PURE__ */ jsx("span", {
|
|
1228
1126
|
"aria-hidden": true,
|
|
@@ -1230,19 +1128,20 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1230
1128
|
children: /* @__PURE__ */ jsx(IconSlot, { icon: isExpanded ? ChevronsLeft : ChevronsRight })
|
|
1231
1129
|
}), isExpanded && /* @__PURE__ */ jsx(RowLabel, {
|
|
1232
1130
|
isExpanded: true,
|
|
1233
|
-
children:
|
|
1131
|
+
children: t(_temp6)
|
|
1234
1132
|
})]
|
|
1235
1133
|
})
|
|
1236
1134
|
});
|
|
1237
|
-
$[
|
|
1238
|
-
$[
|
|
1239
|
-
$[
|
|
1240
|
-
$[
|
|
1241
|
-
$[
|
|
1242
|
-
$[
|
|
1243
|
-
|
|
1135
|
+
$[40] = isExpanded;
|
|
1136
|
+
$[41] = layout?.isMobile;
|
|
1137
|
+
$[42] = railId;
|
|
1138
|
+
$[43] = rowCva;
|
|
1139
|
+
$[44] = t;
|
|
1140
|
+
$[45] = toggleExpanded;
|
|
1141
|
+
$[46] = t12;
|
|
1142
|
+
} else t12 = $[46];
|
|
1244
1143
|
let t13;
|
|
1245
|
-
if ($[
|
|
1144
|
+
if ($[47] !== isExpanded || $[48] !== user) {
|
|
1246
1145
|
t13 = user && /* @__PURE__ */ jsxs("div", {
|
|
1247
1146
|
className: "flex min-w-0 items-center gap-4",
|
|
1248
1147
|
children: [/* @__PURE__ */ jsx("span", {
|
|
@@ -1260,22 +1159,22 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1260
1159
|
children: user.name
|
|
1261
1160
|
})]
|
|
1262
1161
|
});
|
|
1263
|
-
$[
|
|
1264
|
-
$[
|
|
1265
|
-
$[
|
|
1266
|
-
} else t13 = $[
|
|
1162
|
+
$[47] = isExpanded;
|
|
1163
|
+
$[48] = user;
|
|
1164
|
+
$[49] = t13;
|
|
1165
|
+
} else t13 = $[49];
|
|
1267
1166
|
let t14;
|
|
1268
|
-
if ($[
|
|
1167
|
+
if ($[50] !== t12 || $[51] !== t13) {
|
|
1269
1168
|
t14 = /* @__PURE__ */ jsxs("div", {
|
|
1270
1169
|
className: "mt-auto flex flex-col gap-2",
|
|
1271
1170
|
children: [t12, t13]
|
|
1272
1171
|
});
|
|
1273
|
-
$[
|
|
1274
|
-
$[
|
|
1275
|
-
$[
|
|
1276
|
-
} else t14 = $[
|
|
1172
|
+
$[50] = t12;
|
|
1173
|
+
$[51] = t13;
|
|
1174
|
+
$[52] = t14;
|
|
1175
|
+
} else t14 = $[52];
|
|
1277
1176
|
let t15;
|
|
1278
|
-
if ($[
|
|
1177
|
+
if ($[53] !== railId || $[54] !== t10 || $[55] !== t11 || $[56] !== t14 || $[57] !== t5) {
|
|
1279
1178
|
t15 = /* @__PURE__ */ jsxs("div", {
|
|
1280
1179
|
id: railId,
|
|
1281
1180
|
className: t5,
|
|
@@ -1285,14 +1184,32 @@ const SidebarWorkspaces = (t0) => {
|
|
|
1285
1184
|
t14
|
|
1286
1185
|
]
|
|
1287
1186
|
});
|
|
1288
|
-
$[
|
|
1289
|
-
$[
|
|
1290
|
-
$[
|
|
1291
|
-
$[
|
|
1292
|
-
$[
|
|
1293
|
-
$[
|
|
1294
|
-
} else t15 = $[
|
|
1187
|
+
$[53] = railId;
|
|
1188
|
+
$[54] = t10;
|
|
1189
|
+
$[55] = t11;
|
|
1190
|
+
$[56] = t14;
|
|
1191
|
+
$[57] = t5;
|
|
1192
|
+
$[58] = t15;
|
|
1193
|
+
} else t15 = $[58];
|
|
1295
1194
|
return t15;
|
|
1296
1195
|
};
|
|
1196
|
+
function _temp($) {
|
|
1197
|
+
return $.ui.sidebar.addWorkspace;
|
|
1198
|
+
}
|
|
1199
|
+
function _temp2($_0) {
|
|
1200
|
+
return $_0.ui.sidebar.workspaces;
|
|
1201
|
+
}
|
|
1202
|
+
function _temp3($_1) {
|
|
1203
|
+
return $_1.ui.sidebar.expandWorkspaces;
|
|
1204
|
+
}
|
|
1205
|
+
function _temp4($_2) {
|
|
1206
|
+
return $_2.ui.sidebar.collapseWorkspaces;
|
|
1207
|
+
}
|
|
1208
|
+
function _temp5($_3) {
|
|
1209
|
+
return $_3.ui.sidebar.expandWorkspaces;
|
|
1210
|
+
}
|
|
1211
|
+
function _temp6($_4) {
|
|
1212
|
+
return $_4.ui.sidebar.collapse;
|
|
1213
|
+
}
|
|
1297
1214
|
//#endregion
|
|
1298
|
-
export {
|
|
1215
|
+
export { SidebarAvatar as a, SidebarHeader as c, SidebarLayout as d, useSidebarLayout as f, Sidebar as i, SidebarUser as l, SidebarItem as n, SidebarContent as o, SidebarGroup as r, SidebarFooter as s, SidebarWorkspaces as t, SidebarWorkspace as u };
|