@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,96 +1,32 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-
|
|
3
|
-
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "../Modal-
|
|
4
|
-
import { r as dialogOverlay } from "../dialog.cva-
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-Bpwr1nuy.js";
|
|
3
|
+
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "../Modal-xT-Wz5GH.js";
|
|
4
|
+
import { r as dialogOverlay } from "../dialog.cva-BjVggO5l.js";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region src/components/overlays/Drawer/Drawer.tsx
|
|
8
|
-
const Drawer = (
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
let t1;
|
|
13
|
-
if ($[0] !== children || $[1] !== className || $[2] !== dialogClassName || $[3] !== isDismissable || $[4] !== label || $[5] !== overlayClassName || $[6] !== portalContainerRef || $[7] !== shouldCloseOnInteractOutside) {
|
|
14
|
-
t1 = /* @__PURE__ */ jsx(DrawerOverlay, {
|
|
15
|
-
label,
|
|
16
|
-
portalContainerRef,
|
|
17
|
-
isDismissable,
|
|
18
|
-
overlayClassName,
|
|
19
|
-
dialogClassName,
|
|
20
|
-
className,
|
|
21
|
-
shouldCloseOnInteractOutside,
|
|
22
|
-
children
|
|
23
|
-
});
|
|
24
|
-
$[0] = children;
|
|
25
|
-
$[1] = className;
|
|
26
|
-
$[2] = dialogClassName;
|
|
27
|
-
$[3] = isDismissable;
|
|
28
|
-
$[4] = label;
|
|
29
|
-
$[5] = overlayClassName;
|
|
30
|
-
$[6] = portalContainerRef;
|
|
31
|
-
$[7] = shouldCloseOnInteractOutside;
|
|
32
|
-
$[8] = t1;
|
|
33
|
-
} else t1 = $[8];
|
|
34
|
-
let t2;
|
|
35
|
-
if ($[9] !== isOpen || $[10] !== onOpenChange || $[11] !== t1 || $[12] !== trigger) {
|
|
36
|
-
t2 = /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
37
|
-
isOpen,
|
|
38
|
-
onOpenChange,
|
|
39
|
-
children: [trigger, t1]
|
|
40
|
-
});
|
|
41
|
-
$[9] = isOpen;
|
|
42
|
-
$[10] = onOpenChange;
|
|
43
|
-
$[11] = t1;
|
|
44
|
-
$[12] = trigger;
|
|
45
|
-
$[13] = t2;
|
|
46
|
-
} else t2 = $[13];
|
|
47
|
-
return t2;
|
|
48
|
-
}
|
|
49
|
-
let t1;
|
|
50
|
-
if ($[14] !== children || $[15] !== className || $[16] !== dialogClassName || $[17] !== isDismissable || $[18] !== isOpen || $[19] !== label || $[20] !== onOpenChange || $[21] !== overlayClassName || $[22] !== portalContainerRef || $[23] !== shouldCloseOnInteractOutside) {
|
|
51
|
-
t1 = /* @__PURE__ */ jsx(DrawerOverlay, {
|
|
52
|
-
isOpen,
|
|
53
|
-
onOpenChange,
|
|
54
|
-
portalContainerRef,
|
|
55
|
-
isDismissable,
|
|
56
|
-
overlayClassName,
|
|
57
|
-
dialogClassName,
|
|
58
|
-
className,
|
|
59
|
-
label,
|
|
60
|
-
shouldCloseOnInteractOutside,
|
|
61
|
-
children
|
|
62
|
-
});
|
|
63
|
-
$[14] = children;
|
|
64
|
-
$[15] = className;
|
|
65
|
-
$[16] = dialogClassName;
|
|
66
|
-
$[17] = isDismissable;
|
|
67
|
-
$[18] = isOpen;
|
|
68
|
-
$[19] = label;
|
|
69
|
-
$[20] = onOpenChange;
|
|
70
|
-
$[21] = overlayClassName;
|
|
71
|
-
$[22] = portalContainerRef;
|
|
72
|
-
$[23] = shouldCloseOnInteractOutside;
|
|
73
|
-
$[24] = t1;
|
|
74
|
-
} else t1 = $[24];
|
|
75
|
-
return t1;
|
|
76
|
-
};
|
|
77
|
-
const DrawerOverlay = ({ label, isOpen, onOpenChange, portalContainerRef, children, isDismissable, overlayClassName, dialogClassName, className, shouldCloseOnInteractOutside }) => {
|
|
78
|
-
return /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
|
|
79
|
-
isOpen,
|
|
80
|
-
onOpenChange,
|
|
7
|
+
const Drawer = ({ label, isOpen, portalContainerRef, onOpenChange, trigger, children, isDismissable = true, overlayClassName, contentClassName, className, shouldCloseOnInteractOutside }) => {
|
|
8
|
+
const overlay = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
|
|
9
|
+
isOpen: trigger ? void 0 : isOpen,
|
|
10
|
+
onOpenChange: trigger ? void 0 : onOpenChange,
|
|
81
11
|
UNSTABLE_portalContainer: portalContainerRef?.current,
|
|
82
12
|
className: clsx(dialogOverlay(), "z-drawer", overlayClassName),
|
|
83
13
|
isDismissable,
|
|
84
14
|
shouldCloseOnInteractOutside,
|
|
85
15
|
children: /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
|
|
86
|
-
className: clsx("fixed inset-y-0 right-0 z-drawer
|
|
16
|
+
className: clsx("fixed inset-y-0 right-0 z-drawer entering:animate-drawer-enter-right exiting:animate-drawer-exit-right border-l bg-background text-foreground shadow-lg", className),
|
|
87
17
|
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
88
18
|
"aria-label": label,
|
|
89
|
-
className: clsx("outline-none",
|
|
90
|
-
children: ({ close }) => children(close)
|
|
19
|
+
className: clsx("outline-none", contentClassName),
|
|
20
|
+
children: ({ close }) => typeof children === "function" ? children(close) : children
|
|
91
21
|
})
|
|
92
22
|
})
|
|
93
23
|
});
|
|
24
|
+
if (trigger) return /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
25
|
+
isOpen,
|
|
26
|
+
onOpenChange,
|
|
27
|
+
children: [trigger, overlay]
|
|
28
|
+
});
|
|
29
|
+
return overlay;
|
|
94
30
|
};
|
|
95
31
|
//#endregion
|
|
96
32
|
export { Drawer };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
export { DropdownMenu, type DropdownMenuProps, MenuItem, type MenuItem$1 as MenuItemDefinition, type MenuListItemProps };
|
|
1
|
+
import { n as DropdownMenuItem, r as DropdownMenuProps, t as DropdownMenu } from "../DropdownMenu-3V-G7fZ7.js";
|
|
2
|
+
export { DropdownMenu, type DropdownMenuItem, type DropdownMenuProps };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { DropdownMenu, MenuItem };
|
|
1
|
+
import { t as DropdownMenu } from "../DropdownMenu-C4WitobV.js";
|
|
2
|
+
export { DropdownMenu };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneFileInputProps, n as ControlledFileInputProps, r as FileInputProps, t as FileInput } from "../FileInput-CWRW7OzZ.js";
|
|
2
|
+
export { type ControlledFileInputProps, FileInput, type FileInputProps, type StandaloneFileInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileInput } from "../FileInput-
|
|
1
|
+
import { t as FileInput } from "../FileInput-Bc_E1M1X.js";
|
|
2
2
|
export { FileInput };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
export { type DefaultFile, FileUpload, type FileUploadBase, type FileUploadBaseProps, type FileUploadButtonProps, type FileUploadComponent, type FileUploadError, type FileUploadProps, type FileUploadRequest, type FileUploadResponse, type FileUploadState };
|
|
1
|
+
import { a as FileUploadItem, c as FileUploadProps, d as UploadedFile, f as UploadedFileItem, i as FileUploadChildrenProps, l as FileUploadResult, n as ControlledFileUploadProps, o as FileUploadOptions, p as UploadingFileItem, r as FileUploadButtonProps, s as FileUploadProgress, t as FileUpload, u as StandaloneFileUploadProps } from "../FileUpload-DVnp9xxv.js";
|
|
2
|
+
export { type ControlledFileUploadProps, FileUpload, type FileUploadButtonProps, type FileUploadChildrenProps, type FileUploadItem, type FileUploadOptions, type FileUploadProgress, type FileUploadProps, type FileUploadResult, type StandaloneFileUploadProps, type UploadedFile, type UploadedFileItem, type UploadingFileItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileUpload } from "../FileUpload-
|
|
1
|
+
import { t as FileUpload } from "../FileUpload-Dk6ZmgWF.js";
|
|
2
2
|
export { FileUpload };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
1
|
+
import { n as FormFieldComponentProps, t as FormField } from "../FormField-BgiWLGjf.js";
|
|
2
|
+
import "../form-field-C735uXsi.js";
|
|
3
|
+
export { FormField, type FormFieldComponentProps as FormFieldProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FormField } from "../FormField-
|
|
1
|
+
import { t as FormField } from "../FormField-DOZ7eXjA.js";
|
|
2
2
|
export { FormField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as IconButtonProps, t as IconButton } from "../IconButton-
|
|
1
|
+
import { n as IconButtonProps, t as IconButton } from "../IconButton-Bjjf5cQL.js";
|
|
2
2
|
export { IconButton, IconButtonProps };
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { t as Tooltip } from "../Tooltip-
|
|
2
|
-
import { t as ButtonBase } from "../ButtonBase-
|
|
1
|
+
import { t as Tooltip } from "../Tooltip-Dl3sf8fq.js";
|
|
2
|
+
import { t as ButtonBase } from "../ButtonBase-BYJz1JkH.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/buttons/IconButton/IconButton.tsx
|
|
6
6
|
const IconButton = (t0) => {
|
|
7
|
-
const $ = c(
|
|
8
|
-
let ariaLabel;
|
|
7
|
+
const $ = c(11);
|
|
9
8
|
let disableTooltip;
|
|
10
9
|
let label;
|
|
11
10
|
let props;
|
|
12
11
|
if ($[0] !== t0) {
|
|
13
|
-
({label,
|
|
12
|
+
({label, disableTooltip, ...props} = t0);
|
|
14
13
|
$[0] = t0;
|
|
15
|
-
$[1] =
|
|
16
|
-
$[2] =
|
|
17
|
-
$[3] =
|
|
18
|
-
$[4] = props;
|
|
14
|
+
$[1] = disableTooltip;
|
|
15
|
+
$[2] = label;
|
|
16
|
+
$[3] = props;
|
|
19
17
|
} else {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
props = $[4];
|
|
18
|
+
disableTooltip = $[1];
|
|
19
|
+
label = $[2];
|
|
20
|
+
props = $[3];
|
|
24
21
|
}
|
|
25
|
-
const accessibleLabel =
|
|
22
|
+
const accessibleLabel = props["aria-label"] ?? label;
|
|
26
23
|
const t1 = props.width ?? "hug";
|
|
27
24
|
let t2;
|
|
28
|
-
if ($[
|
|
25
|
+
if ($[4] !== accessibleLabel || $[5] !== props || $[6] !== t1) {
|
|
29
26
|
t2 = /* @__PURE__ */ jsx(ButtonBase, {
|
|
30
27
|
...props,
|
|
31
28
|
"aria-label": accessibleLabel,
|
|
@@ -33,24 +30,24 @@ const IconButton = (t0) => {
|
|
|
33
30
|
width: t1,
|
|
34
31
|
children: accessibleLabel
|
|
35
32
|
});
|
|
36
|
-
$[
|
|
37
|
-
$[
|
|
38
|
-
$[
|
|
39
|
-
$[
|
|
40
|
-
} else t2 = $[
|
|
33
|
+
$[4] = accessibleLabel;
|
|
34
|
+
$[5] = props;
|
|
35
|
+
$[6] = t1;
|
|
36
|
+
$[7] = t2;
|
|
37
|
+
} else t2 = $[7];
|
|
41
38
|
const button = t2;
|
|
42
39
|
if (disableTooltip || !accessibleLabel) return button;
|
|
43
40
|
let t3;
|
|
44
|
-
if ($[
|
|
41
|
+
if ($[8] !== accessibleLabel || $[9] !== button) {
|
|
45
42
|
t3 = /* @__PURE__ */ jsx(Tooltip, {
|
|
46
43
|
text: accessibleLabel,
|
|
47
44
|
placement: "bottom",
|
|
48
45
|
children: button
|
|
49
46
|
});
|
|
50
|
-
$[
|
|
51
|
-
$[
|
|
52
|
-
$[
|
|
53
|
-
} else t3 = $[
|
|
47
|
+
$[8] = accessibleLabel;
|
|
48
|
+
$[9] = button;
|
|
49
|
+
$[10] = t3;
|
|
50
|
+
} else t3 = $[10];
|
|
54
51
|
return t3;
|
|
55
52
|
};
|
|
56
53
|
//#endregion
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { n as IconSlotIcon, r as IconSlotProps, t as IconSlot } from "../IconSlot-DcEDPaNb.js";
|
|
2
|
-
|
|
3
|
-
export { IconSlot, type IconSlotIcon, type IconSlotProps, iconSlotDefinition };
|
|
2
|
+
export { IconSlot, type IconSlotIcon, type IconSlotProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { IconSlot
|
|
1
|
+
import { t as IconSlot } from "../IconSlot-TAWTJ6iK.js";
|
|
2
|
+
export { IconSlot };
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as InputVariantProps } from "../input.cva-BjuHsDGy.js";
|
|
1
|
+
import { En as TypographyVariantProps, an as InputVariantProps } from "../link.cva-ZhpQz3P0.js";
|
|
2
|
+
import { i as FormFieldHeaderProps, r as FormFieldProps } from "../FormField-BgiWLGjf.js";
|
|
3
|
+
import { t as InputAction } from "../InputContent-Bgalf6R1.js";
|
|
5
4
|
import { FC, FocusEventHandler, MouseEventHandler, ReactElement, ReactNode, Ref, SVGProps } from "react";
|
|
6
5
|
//#region src/components/inputs/Skeleton/InputFrame.d.ts
|
|
7
6
|
type InputFrameIcon = FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
altText: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
7
|
+
type InputFrameAction = InputAction & {
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
};
|
|
14
10
|
interface InputFrameDataAttributes {
|
|
15
11
|
dataDisabled?: boolean;
|
|
16
12
|
dataHasSearch?: boolean;
|
|
@@ -1,15 +1,17 @@
|
|
|
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-
|
|
3
|
+
import { t as IconSlot } from "../IconSlot-TAWTJ6iK.js";
|
|
4
4
|
import { t as typographyDefinition } from "../typography.cva-CHsHX_Wp.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
5
|
+
import { Spinner } from "./spinner.js";
|
|
6
|
+
import { t as UIConfig } from "../uiConfig.context-NWmBJ2Hc.js";
|
|
7
7
|
import { IconButton } from "./icon-button.js";
|
|
8
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-D_3dPATF.js";
|
|
8
9
|
import { t as useFieldAccessibility } from "../useFieldAccessibility-eZIMECmG.js";
|
|
9
|
-
import { n as FormFieldLabel, t as FormField } from "../FormField-
|
|
10
|
-
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "../input.cva-
|
|
11
|
-
import {
|
|
12
|
-
import { n as InputClear, t as TooltipWrapper } from "../TooltipWrapper-
|
|
10
|
+
import { n as FormFieldLabel, t as FormField } from "../FormField-DOZ7eXjA.js";
|
|
11
|
+
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "../input.cva-mm1dnfKP.js";
|
|
12
|
+
import { n as resolveInputLayout, t as isFieldHeaderHiddenByLayout } from "../inputLayout-CIVpuUBq.js";
|
|
13
|
+
import { n as InputClear, t as TooltipWrapper } from "../TooltipWrapper-bvNpM6ku.js";
|
|
14
|
+
import { n as inputTrailingRowClass, t as inputContentRowClass } from "../inputRow.clsx-BbcaXVta.js";
|
|
13
15
|
import { isValidElement, useId, useLayoutEffect, useRef } from "react";
|
|
14
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
17
|
//#region src/components/inputs/Skeleton/InputFrame.tsx
|
|
@@ -20,6 +22,7 @@ const InputFrame = (props) => {
|
|
|
20
22
|
const inputContentWrapperCva = UIOverrides.useCva("input.contentWrapperCva", inputContentWrapperDefinition);
|
|
21
23
|
const typographyCva = UIOverrides.useCva("typography.cva", typographyDefinition);
|
|
22
24
|
const generatedInputId = useId();
|
|
25
|
+
const contentRef = useRef(null);
|
|
23
26
|
const pendingStaticPressPointerIdRef = useRef(null);
|
|
24
27
|
const hoverHandoffRef = useRef(null);
|
|
25
28
|
const cancelHoverHandoff = () => {
|
|
@@ -37,11 +40,11 @@ const InputFrame = (props) => {
|
|
|
37
40
|
hoverHandoffRef.current = { cancel: () => cancelAnimationFrame(frame) };
|
|
38
41
|
};
|
|
39
42
|
useLayoutEffect(() => () => hoverHandoffRef.current?.cancel(), []);
|
|
40
|
-
const { ref, children, formFieldRef, labelProps: labelPropsProp, headerProps, error, label, tooltipText, helperText, isRequired, rightContent, isDisabled,
|
|
43
|
+
const { ref, children, formFieldRef, labelProps: labelPropsProp, headerProps, error, label, tooltipText, helperText, isRequired, rightContent, isDisabled, hideLabel: hideLabelProp, headerClassName, errorClassName, className, leadingContent, leadingIcon, actionContent, actionContentPlacement = "content-wrapper", trailingContent, trailingIcon, trailingAction, unit, isLoading, action, isClearable: isClearableProp, isClearableIfDisabled, showClear, onStaticInteract, onStaticPress, staticPressTarget = "frame", clearClassName, onClear, dataAttributes, typographySize, id: idProp, inputClassName, contentClassName, contentWrapperClassName, contentGroup = "input", contentAndTrailingClassName, wrapContentAndTrailing, wrapTrailingContent = true, reserveTrailingContent, labelPlacement = "content-wrapper", trailingClassName, onMouseEnter, onMouseLeave, onFocusCapture, variant: variantProp, layout: layoutProp, size: sizeProp } = props;
|
|
41
44
|
useLayoutEffect(() => {
|
|
42
45
|
if (isDisabled) cancelHoverHandoff();
|
|
43
46
|
}, [isDisabled]);
|
|
44
|
-
const as = resolveInputLayout(layoutProp,
|
|
47
|
+
const as = resolveInputLayout(layoutProp, ui.input.layout);
|
|
45
48
|
const size = sizeProp ?? ui.input.size;
|
|
46
49
|
const variant = variantProp ?? ui.input.variant;
|
|
47
50
|
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
@@ -71,8 +74,7 @@ const InputFrame = (props) => {
|
|
|
71
74
|
helperText,
|
|
72
75
|
isRequired,
|
|
73
76
|
rightContent,
|
|
74
|
-
|
|
75
|
-
hideLabel,
|
|
77
|
+
hideLabel: hideLabel || isFieldHeaderHiddenByLayout(as),
|
|
76
78
|
isDisabled,
|
|
77
79
|
headerClassName,
|
|
78
80
|
errorClassName,
|
|
@@ -87,7 +89,7 @@ const InputFrame = (props) => {
|
|
|
87
89
|
helperText,
|
|
88
90
|
isRequired,
|
|
89
91
|
rightContent,
|
|
90
|
-
isHeaderHidden: hideLabel
|
|
92
|
+
isHeaderHidden: hideLabel,
|
|
91
93
|
isDisabled,
|
|
92
94
|
className: headerClassName,
|
|
93
95
|
labelProps
|
|
@@ -97,13 +99,13 @@ const InputFrame = (props) => {
|
|
|
97
99
|
size,
|
|
98
100
|
...resolvedHeaderProps
|
|
99
101
|
}) : null;
|
|
100
|
-
const resolvedContentWrapperClassName = contentWrapperClassName ?? inputContentWrapperCva({ as });
|
|
102
|
+
const resolvedContentWrapperClassName = contentWrapperClassName ?? inputContentWrapperCva({ layout: as });
|
|
101
103
|
const isInputContentGroup = contentGroup === "input";
|
|
102
104
|
const contentRow = /* @__PURE__ */ jsxs("div", {
|
|
103
105
|
...dataAttributeProps,
|
|
104
|
-
className: clsx(isInputContentGroup && inputFrameContentGroupClassNames.input, "group/input-frame
|
|
106
|
+
className: clsx(isInputContentGroup && inputFrameContentGroupClassNames.input, "group/input-frame", inputContentRowClass, inputSizeCva({
|
|
105
107
|
size,
|
|
106
|
-
as
|
|
108
|
+
layout: as
|
|
107
109
|
}), typographySize && typographyCva({ size: typographySize }), contentClassName),
|
|
108
110
|
children: [
|
|
109
111
|
leadingContent,
|
|
@@ -123,7 +125,7 @@ const InputFrame = (props) => {
|
|
|
123
125
|
id: inputId,
|
|
124
126
|
"aria-label": props["aria-label"],
|
|
125
127
|
"aria-labelledby": props["aria-labelledby"],
|
|
126
|
-
"aria-invalid": error ? true : void 0,
|
|
128
|
+
"aria-invalid": error || dataAttributes?.dataInvalid ? true : void 0,
|
|
127
129
|
"aria-describedby": accessibility.describedBy,
|
|
128
130
|
"aria-errormessage": accessibility.errorMessageId
|
|
129
131
|
}) : children
|
|
@@ -155,16 +157,16 @@ const InputFrame = (props) => {
|
|
|
155
157
|
!isLoading && action && /* @__PURE__ */ jsx(IconButton, {
|
|
156
158
|
color: "secondary",
|
|
157
159
|
icon: action.icon,
|
|
158
|
-
isDisabled,
|
|
160
|
+
isDisabled: isDisabled || action.isDisabled,
|
|
159
161
|
onPress: () => {
|
|
160
162
|
if (onStaticPress) {
|
|
161
163
|
onStaticPress();
|
|
162
164
|
return;
|
|
163
165
|
}
|
|
164
|
-
action.
|
|
166
|
+
action.onPress();
|
|
165
167
|
},
|
|
166
168
|
excludeFromTabOrder: true,
|
|
167
|
-
label: action.
|
|
169
|
+
label: action.label || label || "Open picker",
|
|
168
170
|
className: clsx("border-0!", action.className),
|
|
169
171
|
"data-static-press-action": "",
|
|
170
172
|
variant: "text",
|
|
@@ -176,9 +178,9 @@ const InputFrame = (props) => {
|
|
|
176
178
|
trailingAction
|
|
177
179
|
] }) : null;
|
|
178
180
|
const trailingRow = wrapTrailingContent && trailingContentNodes ? /* @__PURE__ */ jsx("div", {
|
|
179
|
-
className: clsx(
|
|
181
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
180
182
|
size,
|
|
181
|
-
as
|
|
183
|
+
layout: as
|
|
182
184
|
}), !isTrailingInteractive && "pointer-events-none", trailingClassName),
|
|
183
185
|
children: trailingContentNodes
|
|
184
186
|
}) : trailingContentNodes;
|
|
@@ -197,12 +199,12 @@ const InputFrame = (props) => {
|
|
|
197
199
|
...formFieldProps,
|
|
198
200
|
...dataAttributeProps,
|
|
199
201
|
ref: formFieldRef,
|
|
200
|
-
as,
|
|
202
|
+
layout: as,
|
|
201
203
|
labelProps,
|
|
202
204
|
tabIndex: as === "inline" ? -1 : void 0,
|
|
203
205
|
onMouseEnter: (event) => {
|
|
204
206
|
onMouseEnter?.(event);
|
|
205
|
-
if (isStaticPressActionTarget(event.target)) return;
|
|
207
|
+
if (isStaticPressActionTarget(event.target) || isStaticClearActionTarget(event.target)) return;
|
|
206
208
|
if (isDisabled || !onStaticInteract || pendingStaticPressPointerIdRef.current !== null) return;
|
|
207
209
|
cancelHoverHandoff();
|
|
208
210
|
const target = event.target;
|
|
@@ -218,23 +220,24 @@ const InputFrame = (props) => {
|
|
|
218
220
|
onFocusCapture: (event) => {
|
|
219
221
|
onFocusCapture?.(event);
|
|
220
222
|
cancelHoverHandoff();
|
|
221
|
-
|
|
223
|
+
const isHeaderTarget = event.target !== event.currentTarget && !contentRef.current?.contains(event.target);
|
|
224
|
+
if (!isDisabled && !isHeaderTarget && pendingStaticPressPointerIdRef.current == null && !isStaticClearActionTarget(event.target)) onStaticInteract?.(true, event.target, event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
222
225
|
},
|
|
223
226
|
children: /* @__PURE__ */ jsx("div", {
|
|
224
|
-
ref,
|
|
227
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, contentRef),
|
|
225
228
|
...contentGroup === "date-picker" && {
|
|
226
229
|
id: inputId,
|
|
227
230
|
role: "group",
|
|
228
231
|
"aria-label": props["aria-label"] ?? (props["aria-labelledby"] ? void 0 : label),
|
|
229
232
|
"aria-labelledby": props["aria-labelledby"],
|
|
230
|
-
"aria-invalid": error ? true : void 0,
|
|
233
|
+
"aria-invalid": error || dataAttributes?.dataInvalid ? true : void 0,
|
|
231
234
|
"aria-describedby": accessibility.describedBy,
|
|
232
235
|
"aria-errormessage": accessibility.errorMessageId
|
|
233
236
|
},
|
|
234
237
|
...dataAttributeProps,
|
|
235
238
|
className: clsx("relative flex cursor-text", !isInputContentGroup && inputFrameContentGroupClassNames[contentGroup], inputBaseCva({
|
|
236
239
|
variant,
|
|
237
|
-
as
|
|
240
|
+
layout: as
|
|
238
241
|
}), inputClassName),
|
|
239
242
|
tabIndex: isDisabled ? -1 : 0,
|
|
240
243
|
onClick: (event) => {
|
|
@@ -247,7 +250,7 @@ const InputFrame = (props) => {
|
|
|
247
250
|
},
|
|
248
251
|
onPointerDownCapture: (event) => {
|
|
249
252
|
cancelHoverHandoff();
|
|
250
|
-
if (isDisabled) return;
|
|
253
|
+
if (isDisabled || isStaticClearActionTarget(event.target)) return;
|
|
251
254
|
if (onStaticPress && shouldReplayStaticPress(event.target) || isStaticPressActionTarget(event.target)) pendingStaticPressPointerIdRef.current = event.pointerId;
|
|
252
255
|
},
|
|
253
256
|
onPointerDown: (event) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneInputProps, n as Input, r as InputProps, t as ControlledInputProps } from "../Input-lppNS8wM.js";
|
|
2
|
+
export { type ControlledInputProps, Input, type InputProps, type StandaloneInputProps };
|
package/dist/components/input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { Input
|
|
1
|
+
import { t as Input } from "../Input-CvYyjMWx.js";
|
|
2
|
+
export { Input };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as LinkNavigationProps, r as LinkProps, t as Link } from "../Link-
|
|
1
|
+
import { n as LinkNavigationProps, r as LinkProps, t as Link } from "../Link-HJ4y-xiW.js";
|
|
2
2
|
export { Link, type LinkNavigationProps, type LinkProps };
|
package/dist/components/link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as UIOverrides } from "../uiOverrides.context-DNEQlTx0.js";
|
|
2
|
-
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "../Link-
|
|
3
|
-
import { t as LinkContext } from "../link.context-
|
|
2
|
+
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "../Link-8zP_NC_c.js";
|
|
3
|
+
import { t as LinkContext } from "../link.context-CD5h_b5O.js";
|
|
4
4
|
import { t as linkDefinition } from "../link.cva-C24YVAsJ.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneNumberFieldProps, n as NumberField, r as NumberFieldProps, t as ControlledNumberFieldProps } from "../NumberField-Q-4y3jpb.js";
|
|
2
|
+
export { type ControlledNumberFieldProps, NumberField, type NumberFieldProps, type StandaloneNumberFieldProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { NumberField
|
|
1
|
+
import { t as NumberField } from "../NumberField-BXLzNb2T.js";
|
|
2
|
+
export { NumberField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NumberRangeValue, i as
|
|
2
|
-
export {
|
|
1
|
+
import { a as NumberRangeValue, i as StandaloneNumberRangeInputProps, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "../NumberRangeInput-DuWOdSdU.js";
|
|
2
|
+
export { type ControlledNumberRangeInputProps, NumberRangeInput, type NumberRangeInputProps, type NumberRangeValue, type StandaloneNumberRangeInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as NumberRangeInput } from "../NumberRangeInput-
|
|
1
|
+
import { t as NumberRangeInput } from "../NumberRangeInput-BBzZCC54.js";
|
|
2
2
|
export { NumberRangeInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PageHeaderDetailsProps, c as PageHeaderSummary, i as PageHeaderDetails, l as PageHeaderSummaryProps, n as PageHeaderBackLink, o as PageHeaderProps, r as PageHeaderDetail, s as PageHeaderSize, t as PageHeader } from "../PageHeader-
|
|
1
|
+
import { a as PageHeaderDetailsProps, c as PageHeaderSummary, i as PageHeaderDetails, l as PageHeaderSummaryProps, n as PageHeaderBackLink, o as PageHeaderProps, r as PageHeaderDetail, s as PageHeaderSize, t as PageHeader } from "../PageHeader-jVaC3Z9L.js";
|
|
2
2
|
export { PageHeader, PageHeaderBackLink, PageHeaderDetail, PageHeaderDetails, PageHeaderDetailsProps, PageHeaderProps, PageHeaderSize, PageHeaderSummary, PageHeaderSummaryProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as Breadcrumbs } from "../Breadcrumbs-
|
|
2
|
+
import { t as Breadcrumbs } from "../Breadcrumbs-D8WXqOLN.js";
|
|
3
3
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
4
4
|
import { Link as Link$1 } from "./link.js";
|
|
5
|
-
import { ChevronLeft } from "lucide-react";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { ChevronLeft } from "lucide-react";
|
|
8
8
|
//#region src/components/navigation/PageHeader/PageHeader.tsx
|
|
9
9
|
const PageHeaderBack = (t0) => {
|
|
10
10
|
const $ = c(4);
|
|
@@ -46,8 +46,8 @@ const PageHeader = (t0) => {
|
|
|
46
46
|
$[0] = className;
|
|
47
47
|
$[1] = t3;
|
|
48
48
|
} else t3 = $[1];
|
|
49
|
-
const t4 = size === "
|
|
50
|
-
const t5 = divider ? "border-b border-b-border pb-4" : size === "
|
|
49
|
+
const t4 = size === "sm" ? "pt-2" : "pt-3";
|
|
50
|
+
const t5 = divider ? "border-b border-b-border pb-4" : size === "sm" ? "pb-1.5" : "pb-2";
|
|
51
51
|
let t6;
|
|
52
52
|
if ($[2] !== t4 || $[3] !== t5) {
|
|
53
53
|
t6 = clsx("flex flex-col gap-4", t4, t5);
|
|
@@ -62,7 +62,7 @@ const PageHeader = (t0) => {
|
|
|
62
62
|
$[6] = breadcrumbs;
|
|
63
63
|
$[7] = t7;
|
|
64
64
|
} else t7 = $[7];
|
|
65
|
-
const t8 = size === "
|
|
65
|
+
const t8 = size === "sm" ? "h2" : "h1";
|
|
66
66
|
let t9;
|
|
67
67
|
if ($[8] !== t8 || $[9] !== title) {
|
|
68
68
|
t9 = /* @__PURE__ */ jsx(Typography, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PasswordInputProps, t as
|
|
2
|
-
export { PasswordInput, type PasswordInputProps };
|
|
1
|
+
import { i as StandalonePasswordInputProps, n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-DtTnGHRD.js";
|
|
2
|
+
export { type ControlledPasswordInputProps, PasswordInput, type PasswordInputProps, type StandalonePasswordInputProps };
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import { t as Input } from "../Input-CG5LQ0zs.js";
|
|
3
|
-
import { Eye, EyeOff } from "lucide-react";
|
|
4
|
-
import { memo, useState } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { useTranslation } from "react-i18next";
|
|
7
|
-
//#region src/components/inputs/Input/PasswordInput/PasswordInput.tsx
|
|
8
|
-
const PasswordInputComponent = (props) => {
|
|
9
|
-
const { t } = useTranslation("ui");
|
|
10
|
-
const [isRevealed, setIsRevealed] = useState(false);
|
|
11
|
-
return /* @__PURE__ */ jsx(Input, {
|
|
12
|
-
...props,
|
|
13
|
-
type: isRevealed ? "text" : "password",
|
|
14
|
-
action: {
|
|
15
|
-
icon: isRevealed ? Eye : EyeOff,
|
|
16
|
-
altText: t(($) => isRevealed ? $.ui.password.hide : $.ui.password.reveal),
|
|
17
|
-
onClick: () => setIsRevealed(!isRevealed)
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
const PasswordInput = memo(PasswordInputComponent);
|
|
22
|
-
//#endregion
|
|
1
|
+
import { t as PasswordInput } from "../PasswordInput-U0QhNsMp.js";
|
|
23
2
|
export { PasswordInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PopoverProps, t as Popover } from "../Popover-
|
|
1
|
+
import { n as PopoverProps, t as Popover } from "../Popover-ClCEOP3e.js";
|
|
2
2
|
export { Popover, PopoverProps };
|