@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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { $ as StepperItemVariantProps, et as StepperVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
2
|
+
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
+
//#region src/components/navigation/Stepper/stepper.types.d.ts
|
|
4
|
+
/** A single step definition passed by the consumer. */
|
|
5
|
+
interface StepItem {
|
|
6
|
+
/** Unique key for React rendering. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Step name. Visible unless `iconOnly` is set, when it stays as the step's accessible name. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Secondary line under the label. Hidden with `iconOnly` or `labelsOnly`. */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** @deprecated Use `label`. */
|
|
13
|
+
title?: Removed<"Use `label`">;
|
|
14
|
+
/** @deprecated Use `description`. */
|
|
15
|
+
subtext?: Removed<"Use `description`">;
|
|
16
|
+
}
|
|
17
|
+
/** Public props for the Stepper component. */
|
|
18
|
+
interface StepperProps extends StepperVariantProps, StepperItemVariantProps {
|
|
19
|
+
/** The steps as `{ id, label, description? }`. Order determines step numbering (1-based). */
|
|
20
|
+
items: StepItem[];
|
|
21
|
+
/** @deprecated Use `items`. */
|
|
22
|
+
steps?: Removed<"Use `items`">;
|
|
23
|
+
/**
|
|
24
|
+
* The current active step index (0-based).
|
|
25
|
+
* - Steps at index < currentStep are "completed"
|
|
26
|
+
* - Step at index === currentStep is "active"
|
|
27
|
+
* - Steps at index > currentStep are "todo"
|
|
28
|
+
*/
|
|
29
|
+
currentStep: number;
|
|
30
|
+
/** Shows only the step indicators; the labels stay as accessible names. */
|
|
31
|
+
iconOnly?: boolean;
|
|
32
|
+
/** Shows the indicators and labels without descriptions. Ignored with `iconOnly`. */
|
|
33
|
+
labelsOnly?: boolean;
|
|
34
|
+
/** Makes completed steps pressable; receives the 0-based index of the pressed step. */
|
|
35
|
+
onStepPress?: (stepIndex: number) => void;
|
|
36
|
+
/** @deprecated Use `iconOnly`. */
|
|
37
|
+
iconsOnly?: Removed<"Use `iconOnly`">;
|
|
38
|
+
/** @deprecated Use `labelsOnly`. */
|
|
39
|
+
titlesOnly?: Removed<"Use `labelsOnly`">;
|
|
40
|
+
/** @deprecated Use `onStepPress`. */
|
|
41
|
+
onStepClick?: Removed<"Use `onStepPress`">;
|
|
42
|
+
/** Optional className for the root container. */
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/navigation/Stepper/Stepper.d.ts
|
|
47
|
+
declare const Stepper: ({ items, currentStep, orientation, contentOrientation, iconOnly, labelsOnly, onStepPress, className }: StepperProps) => import("react").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { StepItem as n, StepperProps as r, Stepper as t };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-
|
|
4
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
3
|
+
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Q5Oc6oX2.js";
|
|
4
|
+
import { t as UIConfig } from "./uiConfig.context-NWmBJ2Hc.js";
|
|
5
|
+
import { n as FieldController } from "./form.binding-Brdjq2yr.js";
|
|
6
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
5
7
|
import { t as FormFieldError } from "./FormFieldError-DTT5TUQ1.js";
|
|
6
8
|
import { t as CheckContent } from "./CheckContent-BKLnTPZr.js";
|
|
9
|
+
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
7
10
|
import { n as switchDefinition, r as switchTypography, t as switchContentClassName } from "./switch.cva-BT0kGRIk.js";
|
|
8
|
-
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
|
|
11
|
+
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useLayoutEffect, useMemo, useRef } from "react";
|
|
9
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
13
|
import { mergeProps } from "react-aria/mergeProps";
|
|
11
14
|
import { mergeRefs } from "react-aria/mergeRefs";
|
|
@@ -16,7 +19,7 @@ import { useHover } from "react-aria/useHover";
|
|
|
16
19
|
import { VisuallyHidden } from "react-aria/VisuallyHidden";
|
|
17
20
|
import { useToggleState } from "react-stately/useToggleState";
|
|
18
21
|
import { useSwitch } from "react-aria/useSwitch";
|
|
19
|
-
//#region ../../node_modules/.bun/react-aria-components@1.22.1+
|
|
22
|
+
//#region ../../node_modules/.bun/react-aria-components@1.22.1+6f4b9a1cfb20c0ae/node_modules/react-aria-components/dist/private/Switch.mjs
|
|
20
23
|
const $24585aa46d6ffdff$export$8699e3b644d5a28a = /*#__PURE__*/ createContext(null);
|
|
21
24
|
const $24585aa46d6ffdff$export$5cc1518e1ec171c = /*#__PURE__*/ createContext(null);
|
|
22
25
|
const $24585aa46d6ffdff$export$b5d5cf8927ab7262 = /*#__PURE__*/ forwardRef(function Switch(props, ref) {
|
|
@@ -91,14 +94,27 @@ const SwitchBase = (props) => {
|
|
|
91
94
|
const switchCva = UIOverrides.useCva("switch.cva", switchDefinition);
|
|
92
95
|
const switchTypographyMap = UIOverrides.useMapper("switch.typography", switchTypography);
|
|
93
96
|
const switchContentClassNameMap = UIOverrides.useMapper("switch.contentClassName", switchContentClassName);
|
|
94
|
-
const { className, children, isDisabled,
|
|
95
|
-
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
96
|
-
const resolvedIsRequired = isRequired ?? required;
|
|
97
|
+
const { className, children, isDisabled, isRequired, isInvalid: isInvalidProp, error, inputRef: inputRefProp, variant: variantProp, fireBlurOnChange: fireBlurOnChangeProp, onChange, onBlur, ...rest } = props;
|
|
97
98
|
const variant = variantProp ?? ui.switch.variant;
|
|
98
99
|
const fireBlurOnChange = fireBlurOnChangeProp ?? ui.switch.fireBlurOnChange;
|
|
100
|
+
const isInvalid = isInvalidProp || !!error;
|
|
101
|
+
const accessibility = useFieldAccessibility({
|
|
102
|
+
describedBy: rest["aria-describedby"],
|
|
103
|
+
error
|
|
104
|
+
});
|
|
105
|
+
const inputRef = useRef(null);
|
|
106
|
+
useLayoutEffect(() => {
|
|
107
|
+
const input = inputRef.current;
|
|
108
|
+
if (!input) return;
|
|
109
|
+
if (isRequired) input.setAttribute("aria-required", "true");
|
|
110
|
+
else input.removeAttribute("aria-required");
|
|
111
|
+
if (isInvalid) input.setAttribute("aria-invalid", "true");
|
|
112
|
+
else input.removeAttribute("aria-invalid");
|
|
113
|
+
}, [isRequired, isInvalid]);
|
|
99
114
|
const formFieldErrorProps = {
|
|
115
|
+
id: accessibility.errorMessageId,
|
|
100
116
|
error,
|
|
101
|
-
isDisabled
|
|
117
|
+
isDisabled
|
|
102
118
|
};
|
|
103
119
|
const handleChange = (isSelected) => {
|
|
104
120
|
onChange?.(isSelected);
|
|
@@ -107,12 +123,14 @@ const SwitchBase = (props) => {
|
|
|
107
123
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs($24585aa46d6ffdff$export$b5d5cf8927ab7262, {
|
|
108
124
|
...rest,
|
|
109
125
|
"data-is-dirty": props.isDirty || void 0,
|
|
110
|
-
"data-is-required":
|
|
111
|
-
|
|
112
|
-
|
|
126
|
+
"data-is-required": isRequired || void 0,
|
|
127
|
+
inputRef: $a8ea2faf2ebe4d2f$re_export$mergeRefs(inputRefProp, inputRef),
|
|
128
|
+
"aria-describedby": accessibility.describedBy,
|
|
129
|
+
"aria-errormessage": rest["aria-errormessage"] ?? accessibility.errorMessageId,
|
|
130
|
+
isDisabled,
|
|
113
131
|
onChange: handleChange,
|
|
114
132
|
onBlur,
|
|
115
|
-
className: clsx("group flex items-center gap-2 disabled:cursor-not-allowed disabled:opacity-50", !
|
|
133
|
+
className: clsx("group flex items-center gap-2 disabled:cursor-not-allowed disabled:opacity-50", !isDisabled && "cursor-pointer", className),
|
|
116
134
|
children: [/* @__PURE__ */ jsx("div", { className: switchCva({
|
|
117
135
|
variant,
|
|
118
136
|
...rest
|
|
@@ -129,7 +147,31 @@ const SwitchBase = (props) => {
|
|
|
129
147
|
})]
|
|
130
148
|
}), /* @__PURE__ */ jsx(FormFieldError, { ...formFieldErrorProps })] });
|
|
131
149
|
};
|
|
132
|
-
const
|
|
150
|
+
const ControlledSwitch = (props) => {
|
|
151
|
+
const { field, ref, ...innerProps } = props;
|
|
152
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
153
|
+
control: field.form,
|
|
154
|
+
name: field.name,
|
|
155
|
+
onValueChange: field.onValueChange,
|
|
156
|
+
onBlur: field.onBlur,
|
|
157
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(SwitchBase, {
|
|
158
|
+
...innerProps,
|
|
159
|
+
fireBlurOnChange: false,
|
|
160
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
161
|
+
isSelected: field.value ?? false,
|
|
162
|
+
onChange: (value) => {
|
|
163
|
+
field.onChange(value);
|
|
164
|
+
field.onValueCommit();
|
|
165
|
+
},
|
|
166
|
+
onBlur: field.onBlur,
|
|
167
|
+
name: field.name,
|
|
168
|
+
isDirty,
|
|
169
|
+
isDisabled: field.disabled || props.isDisabled,
|
|
170
|
+
error: props.error ?? error?.message
|
|
171
|
+
})
|
|
172
|
+
});
|
|
173
|
+
};
|
|
174
|
+
const SwitchComponent = (props) => props.field ? /* @__PURE__ */ jsx(ControlledSwitch, { ...props }) : /* @__PURE__ */ jsx(SwitchBase, { ...props });
|
|
133
175
|
const Switch = memo(SwitchComponent);
|
|
134
176
|
//#endregion
|
|
135
|
-
export {
|
|
177
|
+
export { Switch as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Dt as SwitchVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
2
|
+
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
+
import { t as FormFieldErrorProps } from "./FormFieldError-C7yOdjzQ.js";
|
|
4
|
+
import { i as FieldValues } from "./form.binding-DSXB2AOD.js";
|
|
5
|
+
import { t as FormControlProps } from "./form.types-a2WVJDQX.js";
|
|
6
|
+
import { ReactNode, Ref } from "react";
|
|
7
|
+
import { SwitchProps } from "react-aria-components";
|
|
8
|
+
//#region src/components/inputs/Switch/Switch.d.ts
|
|
9
|
+
interface SwitchBaseProps extends Omit<FormFieldErrorProps, "isHidden">, SwitchVariantProps, Omit<SwitchProps, "className"> {
|
|
10
|
+
ref?: Ref<HTMLLabelElement>;
|
|
11
|
+
/** The label, rendered next to the switch. */
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
/** Marks the field as changed; only sets `data-is-dirty` for styling. Filled in automatically when bound with `field`. */
|
|
14
|
+
isDirty?: boolean;
|
|
15
|
+
isRequired?: boolean;
|
|
16
|
+
/** Marks the switch invalid without an error text; `error` sets it too. */
|
|
17
|
+
isInvalid?: boolean;
|
|
18
|
+
/** Calls `onBlur` after every change. Defaults to `UIConfig.switch.fireBlurOnChange`. */
|
|
19
|
+
fireBlurOnChange?: boolean;
|
|
20
|
+
/** @deprecated Pass the label as children. */
|
|
21
|
+
label?: Removed<"Pass the label as children: <Switch>Label</Switch>">;
|
|
22
|
+
/** @deprecated Use `isSelected`. */
|
|
23
|
+
checked?: Removed<"Use `isSelected`">;
|
|
24
|
+
/** @deprecated Use `onChange`. */
|
|
25
|
+
onCheckedChange?: Removed<"Use `onChange`: (isSelected: boolean) => void">;
|
|
26
|
+
/** @deprecated Never had an effect. */
|
|
27
|
+
isHidden?: Removed<"Render the switch conditionally to hide it">;
|
|
28
|
+
/** @deprecated Use `onChange`, or `field.onValueChange` on a bound switch. */
|
|
29
|
+
onValueChange?: Removed<"Use `onChange`, or `field.onValueChange` when the input is bound with `field`">;
|
|
30
|
+
}
|
|
31
|
+
/** Props for a `Switch` that owns its state through `isSelected`/`defaultSelected`/`onChange`. */
|
|
32
|
+
type StandaloneSwitchProps = SwitchBaseProps & {
|
|
33
|
+
field?: never;
|
|
34
|
+
};
|
|
35
|
+
/** Props for a `Switch` bound to a form field; the form owns the value, change, and blur handling. */
|
|
36
|
+
type ControlledSwitchProps<TFieldValues extends FieldValues = FieldValues> = FormControlProps<StandaloneSwitchProps, TFieldValues, "isSelected", "a boolean">;
|
|
37
|
+
/** Props for `Switch`: either its own value props, or `field={{ form, name }}` to bind a form field. */
|
|
38
|
+
type SwitchProps$1<TFieldValues extends FieldValues = FieldValues> = StandaloneSwitchProps | ControlledSwitchProps<TFieldValues>;
|
|
39
|
+
declare const SwitchComponent: <TFieldValues extends FieldValues = FieldValues>(props: SwitchProps$1<TFieldValues>) => import("react").JSX.Element;
|
|
40
|
+
declare const Switch: typeof SwitchComponent;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { SwitchProps$1 as i, StandaloneSwitchProps as n, Switch as r, ControlledSwitchProps as t };
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { t as DragHandleButton } from "./TableDragHandle-CXApnuUm.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
6
|
+
import { SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
7
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
8
|
+
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
9
|
+
//#region src/components/table/TableDnd.tsx
|
|
10
|
+
const DndProvider = (t0) => {
|
|
11
|
+
const $ = c(8);
|
|
12
|
+
const { children, onDragEnd, onDragStart, onDragCancel } = t0;
|
|
13
|
+
let t1;
|
|
14
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
15
|
+
t1 = { coordinateGetter: sortableKeyboardCoordinates };
|
|
16
|
+
$[0] = t1;
|
|
17
|
+
} else t1 = $[0];
|
|
18
|
+
const sensors = useSensors(useSensor(MouseSensor), useSensor(TouchSensor), useSensor(KeyboardSensor, t1));
|
|
19
|
+
let t2;
|
|
20
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
21
|
+
t2 = [restrictToVerticalAxis];
|
|
22
|
+
$[1] = t2;
|
|
23
|
+
} else t2 = $[1];
|
|
24
|
+
let t3;
|
|
25
|
+
if ($[2] !== children || $[3] !== onDragCancel || $[4] !== onDragEnd || $[5] !== onDragStart || $[6] !== sensors) {
|
|
26
|
+
t3 = /* @__PURE__ */ jsx(DndContext, {
|
|
27
|
+
collisionDetection: closestCenter,
|
|
28
|
+
modifiers: t2,
|
|
29
|
+
onDragStart,
|
|
30
|
+
onDragEnd,
|
|
31
|
+
onDragCancel,
|
|
32
|
+
sensors,
|
|
33
|
+
children
|
|
34
|
+
});
|
|
35
|
+
$[2] = children;
|
|
36
|
+
$[3] = onDragCancel;
|
|
37
|
+
$[4] = onDragEnd;
|
|
38
|
+
$[5] = onDragStart;
|
|
39
|
+
$[6] = sensors;
|
|
40
|
+
$[7] = t3;
|
|
41
|
+
} else t3 = $[7];
|
|
42
|
+
return t3;
|
|
43
|
+
};
|
|
44
|
+
const SortableRows = (t0) => {
|
|
45
|
+
const $ = c(3);
|
|
46
|
+
const { children, items } = t0;
|
|
47
|
+
let t1;
|
|
48
|
+
if ($[0] !== children || $[1] !== items) {
|
|
49
|
+
t1 = /* @__PURE__ */ jsx(SortableContext, {
|
|
50
|
+
items,
|
|
51
|
+
strategy: verticalListSortingStrategy,
|
|
52
|
+
children
|
|
53
|
+
});
|
|
54
|
+
$[0] = children;
|
|
55
|
+
$[1] = items;
|
|
56
|
+
$[2] = t1;
|
|
57
|
+
} else t1 = $[2];
|
|
58
|
+
return t1;
|
|
59
|
+
};
|
|
60
|
+
const SortableRowHandleContext = createContext(null);
|
|
61
|
+
/** Registers a row with the sortable context and hands the drag styling to the element it renders. */
|
|
62
|
+
const SortableRow = (t0) => {
|
|
63
|
+
const $ = c(22);
|
|
64
|
+
const { id, translateOnly: t1, children } = t0;
|
|
65
|
+
const translateOnly = t1 === void 0 ? false : t1;
|
|
66
|
+
let t2;
|
|
67
|
+
if ($[0] !== id) {
|
|
68
|
+
t2 = { id };
|
|
69
|
+
$[0] = id;
|
|
70
|
+
$[1] = t2;
|
|
71
|
+
} else t2 = $[1];
|
|
72
|
+
const { transform, transition, setNodeRef, isDragging, attributes, listeners } = useSortable(t2);
|
|
73
|
+
let t3;
|
|
74
|
+
if ($[2] !== attributes || $[3] !== listeners) {
|
|
75
|
+
t3 = {
|
|
76
|
+
attributes,
|
|
77
|
+
listeners
|
|
78
|
+
};
|
|
79
|
+
$[2] = attributes;
|
|
80
|
+
$[3] = listeners;
|
|
81
|
+
$[4] = t3;
|
|
82
|
+
} else t3 = $[4];
|
|
83
|
+
const dragHandleProps = t3;
|
|
84
|
+
let t4;
|
|
85
|
+
if ($[5] !== attributes || $[6] !== children || $[7] !== dragHandleProps || $[8] !== id || $[9] !== isDragging || $[10] !== listeners || $[11] !== setNodeRef || $[12] !== transform || $[13] !== transition || $[14] !== translateOnly) {
|
|
86
|
+
const style = {
|
|
87
|
+
transform: translateOnly ? CSS.Translate.toString(transform) : CSS.Transform.toString(transform),
|
|
88
|
+
transition,
|
|
89
|
+
opacity: isDragging ? .8 : 1,
|
|
90
|
+
zIndex: isDragging ? 1 : 0,
|
|
91
|
+
position: "relative"
|
|
92
|
+
};
|
|
93
|
+
let t5;
|
|
94
|
+
if ($[16] !== attributes || $[17] !== listeners) {
|
|
95
|
+
t5 = {
|
|
96
|
+
...attributes,
|
|
97
|
+
...listeners
|
|
98
|
+
};
|
|
99
|
+
$[16] = attributes;
|
|
100
|
+
$[17] = listeners;
|
|
101
|
+
$[18] = t5;
|
|
102
|
+
} else t5 = $[18];
|
|
103
|
+
let t6;
|
|
104
|
+
if ($[19] !== id || $[20] !== t5) {
|
|
105
|
+
t6 = {
|
|
106
|
+
id,
|
|
107
|
+
props: t5
|
|
108
|
+
};
|
|
109
|
+
$[19] = id;
|
|
110
|
+
$[20] = t5;
|
|
111
|
+
$[21] = t6;
|
|
112
|
+
} else t6 = $[21];
|
|
113
|
+
t4 = /* @__PURE__ */ jsx(SortableRowHandleContext, {
|
|
114
|
+
value: t6,
|
|
115
|
+
children: children({
|
|
116
|
+
setNodeRef,
|
|
117
|
+
style,
|
|
118
|
+
isDragging,
|
|
119
|
+
dragHandleProps
|
|
120
|
+
})
|
|
121
|
+
});
|
|
122
|
+
$[5] = attributes;
|
|
123
|
+
$[6] = children;
|
|
124
|
+
$[7] = dragHandleProps;
|
|
125
|
+
$[8] = id;
|
|
126
|
+
$[9] = isDragging;
|
|
127
|
+
$[10] = listeners;
|
|
128
|
+
$[11] = setNodeRef;
|
|
129
|
+
$[12] = transform;
|
|
130
|
+
$[13] = transition;
|
|
131
|
+
$[14] = translateOnly;
|
|
132
|
+
$[15] = t4;
|
|
133
|
+
} else t4 = $[15];
|
|
134
|
+
return t4;
|
|
135
|
+
};
|
|
136
|
+
const SortableItem = (t0) => {
|
|
137
|
+
const $ = c(10);
|
|
138
|
+
const { id, children } = t0;
|
|
139
|
+
let t1;
|
|
140
|
+
if ($[0] !== id) {
|
|
141
|
+
t1 = { id };
|
|
142
|
+
$[0] = id;
|
|
143
|
+
$[1] = t1;
|
|
144
|
+
} else t1 = $[1];
|
|
145
|
+
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable(t1);
|
|
146
|
+
let t2;
|
|
147
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== isDragging || $[5] !== listeners || $[6] !== setNodeRef || $[7] !== transform || $[8] !== transition) {
|
|
148
|
+
t2 = children({
|
|
149
|
+
ref: setNodeRef,
|
|
150
|
+
style: {
|
|
151
|
+
transform: CSS.Transform.toString(transform),
|
|
152
|
+
transition,
|
|
153
|
+
zIndex: isDragging ? 1 : 0,
|
|
154
|
+
position: "relative"
|
|
155
|
+
},
|
|
156
|
+
isDragging,
|
|
157
|
+
handleProps: {
|
|
158
|
+
...attributes,
|
|
159
|
+
...listeners
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
$[2] = attributes;
|
|
163
|
+
$[3] = children;
|
|
164
|
+
$[4] = isDragging;
|
|
165
|
+
$[5] = listeners;
|
|
166
|
+
$[6] = setNodeRef;
|
|
167
|
+
$[7] = transform;
|
|
168
|
+
$[8] = transition;
|
|
169
|
+
$[9] = t2;
|
|
170
|
+
} else t2 = $[9];
|
|
171
|
+
return t2;
|
|
172
|
+
};
|
|
173
|
+
const RegisteredDragHandle = (t0) => {
|
|
174
|
+
const $ = c(6);
|
|
175
|
+
const { id, children } = t0;
|
|
176
|
+
let t1;
|
|
177
|
+
if ($[0] !== id) {
|
|
178
|
+
t1 = { id };
|
|
179
|
+
$[0] = id;
|
|
180
|
+
$[1] = t1;
|
|
181
|
+
} else t1 = $[1];
|
|
182
|
+
const { attributes, listeners } = useSortable(t1);
|
|
183
|
+
let t2;
|
|
184
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== listeners) {
|
|
185
|
+
t2 = children({
|
|
186
|
+
...attributes,
|
|
187
|
+
...listeners
|
|
188
|
+
});
|
|
189
|
+
$[2] = attributes;
|
|
190
|
+
$[3] = children;
|
|
191
|
+
$[4] = listeners;
|
|
192
|
+
$[5] = t2;
|
|
193
|
+
} else t2 = $[5];
|
|
194
|
+
return t2;
|
|
195
|
+
};
|
|
196
|
+
const DragHandle = (t0) => {
|
|
197
|
+
const $ = c(4);
|
|
198
|
+
const { id, children } = t0;
|
|
199
|
+
const row = useContext(SortableRowHandleContext);
|
|
200
|
+
let t1;
|
|
201
|
+
if ($[0] !== children || $[1] !== id || $[2] !== row) {
|
|
202
|
+
t1 = row?.id === id ? children(row.props) : /* @__PURE__ */ jsx(RegisteredDragHandle, {
|
|
203
|
+
id,
|
|
204
|
+
children
|
|
205
|
+
});
|
|
206
|
+
$[0] = children;
|
|
207
|
+
$[1] = id;
|
|
208
|
+
$[2] = row;
|
|
209
|
+
$[3] = t1;
|
|
210
|
+
} else t1 = $[3];
|
|
211
|
+
return t1;
|
|
212
|
+
};
|
|
213
|
+
const RowDragHandle = (t0) => {
|
|
214
|
+
const $ = c(5);
|
|
215
|
+
const { rowId, label } = t0;
|
|
216
|
+
let t1;
|
|
217
|
+
if ($[0] !== label) {
|
|
218
|
+
t1 = (dragProps) => /* @__PURE__ */ jsx(DragHandleButton, {
|
|
219
|
+
label,
|
|
220
|
+
handleProps: dragProps
|
|
221
|
+
});
|
|
222
|
+
$[0] = label;
|
|
223
|
+
$[1] = t1;
|
|
224
|
+
} else t1 = $[1];
|
|
225
|
+
let t2;
|
|
226
|
+
if ($[2] !== rowId || $[3] !== t1) {
|
|
227
|
+
t2 = /* @__PURE__ */ jsx(DragHandle, {
|
|
228
|
+
id: rowId,
|
|
229
|
+
children: t1
|
|
230
|
+
});
|
|
231
|
+
$[2] = rowId;
|
|
232
|
+
$[3] = t1;
|
|
233
|
+
$[4] = t2;
|
|
234
|
+
} else t2 = $[4];
|
|
235
|
+
return t2;
|
|
236
|
+
};
|
|
237
|
+
//#endregion
|
|
238
|
+
export { DndProvider, DragHandle, RowDragHandle, SortableItem, SortableRow, SortableRows };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
import { t as IconSlot } from "./IconSlot-TAWTJ6iK.js";
|
|
3
|
+
import { t as UIConfig } from "./uiConfig.context-NWmBJ2Hc.js";
|
|
4
|
+
import { s as tableDragHandleDefinition } from "./table.cva-n9TO_vu1.js";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { GripVertical } from "lucide-react";
|
|
8
|
+
//#region src/components/table/TableDragHandle.tsx
|
|
9
|
+
/** The drag handle button. Its icon and size follow `table.dragHandleIcon` and `table.dragHandleSize` from `UIConfig`. */
|
|
10
|
+
const DragHandleButton = (t0) => {
|
|
11
|
+
const $ = c(11);
|
|
12
|
+
const { label, className, handleProps } = t0;
|
|
13
|
+
const dragHandleCva = UIOverrides.useCva("table.dragHandleCva", tableDragHandleDefinition);
|
|
14
|
+
const { dragHandleIcon, dragHandleSize } = UIConfig.useConfig().table;
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[0] !== className || $[1] !== dragHandleCva || $[2] !== dragHandleSize) {
|
|
17
|
+
t1 = dragHandleCva({
|
|
18
|
+
size: dragHandleSize,
|
|
19
|
+
className
|
|
20
|
+
});
|
|
21
|
+
$[0] = className;
|
|
22
|
+
$[1] = dragHandleCva;
|
|
23
|
+
$[2] = dragHandleSize;
|
|
24
|
+
$[3] = t1;
|
|
25
|
+
} else t1 = $[3];
|
|
26
|
+
const t2 = dragHandleIcon ?? GripVertical;
|
|
27
|
+
let t3;
|
|
28
|
+
if ($[4] !== t2) {
|
|
29
|
+
t3 = /* @__PURE__ */ jsx(IconSlot, { icon: t2 });
|
|
30
|
+
$[4] = t2;
|
|
31
|
+
$[5] = t3;
|
|
32
|
+
} else t3 = $[5];
|
|
33
|
+
let t4;
|
|
34
|
+
if ($[6] !== handleProps || $[7] !== label || $[8] !== t1 || $[9] !== t3) {
|
|
35
|
+
t4 = /* @__PURE__ */ jsx("button", {
|
|
36
|
+
...handleProps,
|
|
37
|
+
type: "button",
|
|
38
|
+
"aria-label": label,
|
|
39
|
+
className: t1,
|
|
40
|
+
children: t3
|
|
41
|
+
});
|
|
42
|
+
$[6] = handleProps;
|
|
43
|
+
$[7] = label;
|
|
44
|
+
$[8] = t1;
|
|
45
|
+
$[9] = t3;
|
|
46
|
+
$[10] = t4;
|
|
47
|
+
} else t4 = $[10];
|
|
48
|
+
return t4;
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { DragHandleButton as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
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 $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-
|
|
4
|
-
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-
|
|
3
|
+
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-BkyYit3Q.js";
|
|
4
|
+
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-CvuKjZRP.js";
|
|
5
|
+
import "./i18n-DaIHnR2n.js";
|
|
5
6
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
6
|
-
import { t as Button } from "./Button-
|
|
7
|
-
import "./i18n-D8vXIoiq.js";
|
|
7
|
+
import { t as Button } from "./Button-C1Jv1Plk.js";
|
|
8
8
|
import { Link } from "./components/link.js";
|
|
9
9
|
import { Badge } from "./components/badge.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -29,21 +29,29 @@ const listTabIndicatorDefinition = UIOverrides.defineConfig({ base: ["absolute i
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/navigation/TabsFilters/TabsFilters.tsx
|
|
31
31
|
const ListTabs = (t0) => {
|
|
32
|
-
const $ = c(
|
|
33
|
-
const { items, activeId, label:
|
|
34
|
-
const
|
|
32
|
+
const $ = c(20);
|
|
33
|
+
const { items, activeId, label: labelProp, className } = t0;
|
|
34
|
+
const { t } = useTranslation("ui");
|
|
35
|
+
let t1;
|
|
36
|
+
if ($[0] !== labelProp || $[1] !== t) {
|
|
37
|
+
t1 = labelProp ?? t(_temp);
|
|
38
|
+
$[0] = labelProp;
|
|
39
|
+
$[1] = t;
|
|
40
|
+
$[2] = t1;
|
|
41
|
+
} else t1 = $[2];
|
|
42
|
+
const label = t1;
|
|
35
43
|
const listTabCva = UIOverrides.useCva("tabsFilters.tabCva", listTabDefinition);
|
|
36
44
|
const listTabIndicatorCva = UIOverrides.useCva("tabsFilters.indicatorCva", listTabIndicatorDefinition);
|
|
37
45
|
let t2;
|
|
38
|
-
if ($[
|
|
46
|
+
if ($[3] !== className) {
|
|
39
47
|
t2 = clsx("flex gap-4", className);
|
|
40
|
-
$[
|
|
41
|
-
$[
|
|
42
|
-
} else t2 = $[
|
|
48
|
+
$[3] = className;
|
|
49
|
+
$[4] = t2;
|
|
50
|
+
} else t2 = $[4];
|
|
43
51
|
let t3;
|
|
44
|
-
if ($[
|
|
52
|
+
if ($[5] !== activeId || $[6] !== items || $[7] !== listTabCva || $[8] !== listTabIndicatorCva) {
|
|
45
53
|
let t4;
|
|
46
|
-
if ($[
|
|
54
|
+
if ($[10] !== activeId || $[11] !== listTabCva || $[12] !== listTabIndicatorCva) {
|
|
47
55
|
t4 = (tab) => {
|
|
48
56
|
const isActive = tab.id === activeId;
|
|
49
57
|
return /* @__PURE__ */ jsxs(Link, {
|
|
@@ -64,36 +72,36 @@ const ListTabs = (t0) => {
|
|
|
64
72
|
]
|
|
65
73
|
}, tab.id);
|
|
66
74
|
};
|
|
67
|
-
$[
|
|
68
|
-
$[
|
|
69
|
-
$[
|
|
70
|
-
$[
|
|
71
|
-
} else t4 = $[
|
|
75
|
+
$[10] = activeId;
|
|
76
|
+
$[11] = listTabCva;
|
|
77
|
+
$[12] = listTabIndicatorCva;
|
|
78
|
+
$[13] = t4;
|
|
79
|
+
} else t4 = $[13];
|
|
72
80
|
t3 = items.map(t4);
|
|
73
|
-
$[
|
|
74
|
-
$[
|
|
75
|
-
$[
|
|
76
|
-
$[
|
|
77
|
-
$[
|
|
78
|
-
} else t3 = $[
|
|
81
|
+
$[5] = activeId;
|
|
82
|
+
$[6] = items;
|
|
83
|
+
$[7] = listTabCva;
|
|
84
|
+
$[8] = listTabIndicatorCva;
|
|
85
|
+
$[9] = t3;
|
|
86
|
+
} else t3 = $[9];
|
|
79
87
|
let t4;
|
|
80
|
-
if ($[
|
|
88
|
+
if ($[14] !== t3) {
|
|
81
89
|
t4 = /* @__PURE__ */ jsx($792f28e438b9ad5f$export$758399f318e6385a, { children: t3 });
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
84
|
-
} else t4 = $[
|
|
90
|
+
$[14] = t3;
|
|
91
|
+
$[15] = t4;
|
|
92
|
+
} else t4 = $[15];
|
|
85
93
|
let t5;
|
|
86
|
-
if ($[
|
|
94
|
+
if ($[16] !== label || $[17] !== t2 || $[18] !== t4) {
|
|
87
95
|
t5 = /* @__PURE__ */ jsx("nav", {
|
|
88
96
|
"aria-label": label,
|
|
89
97
|
className: t2,
|
|
90
98
|
children: t4
|
|
91
99
|
});
|
|
92
|
-
$[
|
|
93
|
-
$[
|
|
94
|
-
$[
|
|
95
|
-
$[
|
|
96
|
-
} else t5 = $[
|
|
100
|
+
$[16] = label;
|
|
101
|
+
$[17] = t2;
|
|
102
|
+
$[18] = t4;
|
|
103
|
+
$[19] = t5;
|
|
104
|
+
} else t5 = $[19];
|
|
97
105
|
return t5;
|
|
98
106
|
};
|
|
99
107
|
const TabsFilters = (t0) => {
|
|
@@ -132,7 +140,7 @@ const TabsFilters = (t0) => {
|
|
|
132
140
|
size: "sm",
|
|
133
141
|
width: "hug",
|
|
134
142
|
onPress: onClearFilters,
|
|
135
|
-
children: t(
|
|
143
|
+
children: t(_temp2)
|
|
136
144
|
})]
|
|
137
145
|
});
|
|
138
146
|
$[4] = filters;
|
|
@@ -217,6 +225,9 @@ const TabsFilters = (t0) => {
|
|
|
217
225
|
return t8;
|
|
218
226
|
};
|
|
219
227
|
function _temp($) {
|
|
228
|
+
return $.ui.tabsFilters.lists;
|
|
229
|
+
}
|
|
230
|
+
function _temp2($) {
|
|
220
231
|
return $.ui.tabsFilters.clearFilters;
|
|
221
232
|
}
|
|
222
233
|
//#endregion
|