@povio/ui 5.0.0-rc.1 → 5.0.0-rc.3
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/.rulesync/rules/ui-buttons-and-content.md +56 -0
- package/.rulesync/rules/ui-inputs-and-forms.md +62 -0
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +49 -0
- package/.rulesync/rules/ui-overview.md +33 -0
- package/README.md +49 -16
- package/dist/{Accordion-CzFKi8Bp.js → Accordion-BzwO4_ml.js} +20 -136
- package/dist/{Alert-T25LY8ZL.js → Alert-CnvEb1D_.js} +16 -12
- package/dist/{Alert-f1dG-4Uy.d.ts → Alert-DfiJbKH0.d.ts} +2 -1
- package/dist/{AlertDialog-B6R2MbNg.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/{Autocomplete-CQ63Cynd.d.ts → Autocomplete-BwNHp8fy.d.ts} +1 -1
- package/dist/{Badge-YKlKz-Jy.d.ts → Badge-CBNpj823.d.ts} +8 -5
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-DvqBvth_.js → BottomSheet-BXLE3161.js} +7 -6
- package/dist/{BottomSheet-xaymO7aQ.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-CGBRPve_.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-DyriI-Bi.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-DiIYJAWf.js → Breadcrumbs-CbKzAq1v.js} +24 -38
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-BZ3is6IU.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-B2_dZ6vA.js → ButtonContent-c7lJayVQ.js} +10 -8
- package/dist/{Calendar-DzQApBCy.js → Calendar-CVSQH-rC.js} +22 -15
- package/dist/{CheckContent-DZ7Gk8GS.js → CheckContent-D7sZPmzx.js} +2 -2
- package/dist/{Checkbox-BepzfVfK.js → Checkbox-BU0d702K.js} +6 -6
- package/dist/{Checkbox-CHpgW3fI.d.ts → Checkbox-DVTWaMKa.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-B3lnOjsU.js → CheckboxCheckmark-usHsolNj.js} +10 -10
- package/dist/{CheckboxGroup-CXrR3A-c.d.ts → CheckboxGroup-DGF12cmB.d.ts} +3 -3
- package/dist/ComponentGallery-DIFeJqGx.js +2528 -0
- package/dist/{DatePicker-B3l9TEjW.d.ts → DatePicker-8xSs_jNd.d.ts} +3 -3
- package/dist/{DatePicker-CI87jC4_.js → DatePicker-D95gDPhg.js} +12 -11
- package/dist/{DatePickerInput-UBZcTmdv.js → DatePickerInput-CX6NYim4.js} +12 -23
- package/dist/{DatePickerInput-CZTEsrS0.d.ts → DatePickerInput-D81ZJ3fT.d.ts} +3 -3
- package/dist/{DateRangePicker-DKkc2B3n.d.ts → DateRangePicker-Bfq-yDm7.d.ts} +3 -3
- package/dist/{DateRangePicker-BX2O5zA8.js → DateRangePicker-_uTQk_ae.js} +16 -15
- package/dist/{DateTimePicker-CVfkp45w.js → DateTimePicker-BB058Z34.js} +11 -10
- package/dist/{DateTimePicker-IHr-wPq8.d.ts → DateTimePicker-D4lHyf6P.d.ts} +3 -3
- package/dist/{Dialog-DdRP4YFC.js → Dialog-9manOgMA.js} +4 -4
- package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
- package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
- package/dist/{DropdownMenu-zrodtd44.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CWDhk3XA.d.ts → DropdownMenu-JNpYT4-3.d.ts} +3 -2
- package/dist/{DropdownMenuDesktop-CGYxsavQ.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-Dz1eESr_.js → FileInput-C0-6bw4w.js} +8 -8
- package/dist/{FileInput-BQbn77bE.d.ts → FileInput-C4CE5kuP.d.ts} +5 -4
- package/dist/{FileUpload-qySCMcLn.d.ts → FileUpload-CR7bZxV1.d.ts} +1 -1
- package/dist/{FileUpload-D3Io7Is5.js → FileUpload-DDpYMn8f.js} +51 -139
- package/dist/{FileUploadContainer-qOyGvb5J.d.ts → FileUploadContainer-042ztsaL.d.ts} +1 -1
- package/dist/{Form-u_N_6mwo.d.ts → Form-BJ12MjE-.d.ts} +1 -1
- package/dist/{FormField-B0miX3gu.d.ts → FormField-Byiehm9y.d.ts} +1 -1
- package/dist/{FormField-CHD4OJOt.js → FormField-U_-d4V_g.js} +9 -9
- package/dist/{FormFieldError-QRAFHUTt.js → FormFieldError-DeOHHLo2.js} +1 -1
- package/dist/FormFieldHeaderTooltip-DXbuu88v.js +17 -0
- package/dist/{IconButton-KXecZgYX.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-CbKZ2U_a.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-g5yoeH1B.js → InlineTooltipWrapper-Bpmd--e7.js} +3 -3
- package/dist/{Input-efmPwk8f.d.ts → Input-DOanwj3l.d.ts} +3 -3
- package/dist/{InputContent-DuBa9FuI.d.ts → InputContent-CXuP1ghQ.d.ts} +3 -3
- package/dist/{InputItem-2zf6QI5L.js → InputItem-D-KuiNSc.js} +11 -11
- package/dist/{Inputs-C-w03Q_F.d.ts → Inputs-DA73LmLc.d.ts} +1 -1
- package/dist/{Inputs-BceDTmdT.js → Inputs-j3JmcLWR.js} +1 -1
- package/dist/{Link-QYpprkN1.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem--Mjd_yK8.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-z2JatYK0.d.ts → NumberField-Cb9Gf6QJ.d.ts} +3 -3
- package/dist/{NumberRangeInput-Chai3iEi.d.ts → NumberRangeInput-BfbJQqzn.d.ts} +2 -2
- package/dist/{NumberRangeInput-BxVrHq8R.js → NumberRangeInput-C-8U05wF.js} +6 -6
- package/dist/{Pagination-CXtIDclf.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-CXG4jWFD.d.ts → PaginationList-DMRUGtf8.d.ts} +1 -1
- package/dist/{PaginationList-0bAmvXC0.js → PaginationList-DtvuP63b.js} +2 -2
- package/dist/{PasswordInput-ub2TQxef.d.ts → PasswordInput-CLwFUgl0.d.ts} +1 -1
- package/dist/{Popover-DUKH0q9u.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-DQWiFP0L.js → Progress-B3mY9rIP.js} +2 -2
- package/dist/{Progress-Dho39FDs.d.ts → Progress-CjWOR38H.d.ts} +2 -1
- package/dist/{QuerySelect-Bo1K6gi_.d.ts → QuerySelect-BGxb6Y0K.d.ts} +2 -2
- package/dist/{RadioGroup-SSZYch-J.js → RadioGroup-B7_pNwn9.js} +13 -13
- package/dist/{RadioGroup-B_zJdn4y.d.ts → RadioGroup-CZg2kIMk.d.ts} +3 -3
- package/dist/{RichTextEditor-D6RewmRj.js → RichTextEditor-D9-B1Cze.js} +52 -133
- package/dist/{RichTextEditor-B_JX3nor.d.ts → RichTextEditor-YxuRUlI7.d.ts} +1 -1
- package/dist/{Select-CuZDkeQs.js → Select-CkujlTjm.js} +5 -4
- package/dist/{Select-DeapZMYx.d.ts → Select-pHbyJdZJ.d.ts} +1 -1
- package/dist/{SelectBase-7SE9Za2r.d.ts → SelectBase-Omiq2D3M.d.ts} +3 -3
- package/dist/{Slider-DJ9K_a-x.js → Slider-BHPl0OPy.js} +11 -11
- package/dist/{Slider-BFViQmM3.d.ts → Slider-EYlGCLWe.d.ts} +1 -1
- package/dist/{Spinner-BEYBu85B.js → Spinner-BeVTUzzx.js} +1 -1
- package/dist/{Spinner-BbcI6IOb.d.ts → Spinner-DbXeDOa2.d.ts} +2 -1
- package/dist/{SplitButton-lL87EcBL.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-C1YPgTBG.js → Stepper-Cp5vbL5g.js} +4 -117
- package/dist/{Stepper-hlhViuaK.d.ts → Stepper-TATlHZhQ.d.ts} +9 -8
- package/dist/{Switch-JxRmH1dX.js → Switch-CqnGEdeD.js} +11 -11
- package/dist/{Switch-DPftmB1b.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-BDNSuEWc.js +689 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/{Tag-HiDH438e.js → Tag-DPg5sL1Z.js} +22 -21
- package/dist/{TextArea-gikUKKDl.js → TextArea-DqHDiRGJ.js} +6 -6
- package/dist/{TextArea-BhrCBGbq.d.ts → TextArea-l_keyLK7.d.ts} +2 -2
- package/dist/{TextButton-DnXRykhF.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-CmT89X7v.d.ts → TimePicker-B1POvGWs.d.ts} +2 -2
- package/dist/{TimePicker-DtNTOOGr.js → TimePicker-DQ6JCkGB.js} +10 -10
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-B4cXs2rj.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-BbsMIwtC.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-BGuzPJDO.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-Cl0NS3fe.js → ToggleGroup-DX0VYXwP.js} +25 -58
- package/dist/{Tooltip-aE1Vswxz.js → Tooltip-B9DKcYvr.js} +6 -47
- package/dist/{Tooltip-D7dNwGy9.d.ts → Tooltip-DHv6vAqW.d.ts} +6 -5
- package/dist/{TooltipWrapper-CRf-JFeo.js → TooltipWrapper-DznDgVJB.js} +4 -4
- package/dist/{Typography-B0Gp1lpc.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BiuidzDC.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-BJ7rqWa4.d.ts → autocomplete-DeERHN8W.d.ts} +2 -2
- package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
- package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
- package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
- package/dist/{button.cva-BvRI-3Gn.d.ts → button.cva-C7kEhgoA.d.ts} +7 -6
- package/dist/{buttonContent.cva-BDT_CReI.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-BfcE8J5P.d.ts → checkbox-DxIPDTK5.d.ts} +1 -1
- package/dist/{checkbox-group-CHs2wFHS.d.ts → checkbox-group-B3BOVshI.d.ts} +1 -1
- package/dist/{checkbox.cva-gv87kr1W.d.ts → checkbox.cva-t1Ox50hy.d.ts} +4 -3
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +4 -4
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +5 -4
- package/dist/components/badge-button.d.ts +2 -0
- package/dist/components/{pill-button.js → badge-button.js} +13 -12
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +56 -37
- 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 +1 -1
- package/dist/components/checkbox-group.js +6 -6
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- 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.js +3 -3
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +2 -0
- package/dist/components/icon-slot.js +2 -0
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +7 -7
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +32 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +7 -7
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +6 -5
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +2 -2
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +3 -3
- package/dist/components/radio-group.d.ts +1 -1
- 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/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +3 -3
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +2 -2
- 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.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/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-configurator-theme.d.ts +2 -0
- package/dist/config/ui-configurator-theme.js +2 -0
- package/dist/config/ui-configurator-vite.d.ts +10 -0
- package/dist/config/ui-configurator-vite.js +174 -0
- package/dist/config/ui-configurator.d.ts +934 -0
- package/dist/config/ui-configurator.js +3731 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/{confirmation.context-DPAKsLYl.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-BYFWSbN8.d.ts → date-picker-DnxDmlOW.d.ts} +1 -1
- package/dist/{date-range-picker-BaaXOObm.d.ts → date-range-picker-DHDOSvHN.d.ts} +1 -1
- package/dist/{date-time-picker-D42cTCgx.d.ts → date-time-picker-UkTa0OJ8.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-CFCY-fRJ.js → datePickerValue.utils-CUzkWie8.js} +5 -5
- package/dist/{dialog.cva---xiOXMQ.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-B8h0VT0E.js → dist-CAdwxJbe.js} +1 -208
- package/dist/{dom.utils-DjuRTR6U.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-wEEikYeg.d.ts → dynamicInputs-iP39lVKf.d.ts} +102 -100
- package/dist/{fieldAdapter-C0lCFmf0.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-C56GXRwz.d.ts → file-input-DkbkdI7l.d.ts} +1 -1
- package/dist/{file-upload-Bx0X534g.d.ts → file-upload-CTsPhxJk.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-DWuQKA2l.d.ts → fileUpload.types-n5FxK_F-.d.ts} +2 -2
- package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +2 -1
- package/dist/index.d.ts +87 -86
- package/dist/index.js +55 -44
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-D2kGX0hW.d.ts → input-CdQNCPgH.d.ts} +1 -1
- package/dist/{input.cva-BhDJxc7r.d.ts → input.cva-BsHgYa-L.d.ts} +3 -2
- package/dist/{input.cva-BcXyC1vZ.js → input.cva-DJA8ovm_.js} +9 -9
- package/dist/{link.context-CDZn6oL2.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-Bw2GKr0s.d.ts → number-field-CUDbenNV.d.ts} +1 -1
- package/dist/{number-range-input-Dqe6x2dR.d.ts → number-range-input-DZGrcvjL.d.ts} +1 -1
- package/dist/{password-input-DepKyhh3.d.ts → password-input-fYN20cQO.d.ts} +1 -1
- package/dist/{popover.cva-BJSkLndY.js → popover.cva-Bhud1wnp.js} +1 -1
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-BSpHin_R.d.ts → query-autocomplete-CfuQeiYG.d.ts} +2 -2
- package/dist/{query-select-m1DCp4UF.d.ts → query-select-CuT_sE6a.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-CrbVUmvl.d.ts → queryAutocomplete.types-tl3r6iaY.d.ts} +2 -2
- package/dist/{radio-group-Civ3Fb70.d.ts → radio-group-B3ccPf0p.d.ts} +1 -1
- package/dist/{radio.cva-BlOrmxzf.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +2 -2
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +2 -2
- package/dist/rhf/file-input.d.ts +2 -2
- package/dist/rhf/file-input.js +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +2 -2
- package/dist/rhf/input.d.ts +2 -2
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +2 -2
- package/dist/rhf/number-field.d.ts +2 -2
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +2 -2
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +2 -2
- package/dist/rhf/rich-text-editor.d.ts +2 -2
- package/dist/rhf/rich-text-editor.js +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +2 -2
- package/dist/rhf/switch.d.ts +2 -2
- package/dist/rhf/switch.js +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +2 -2
- package/dist/rhf/toggle-group.d.ts +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-D8B7mLO1.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +55 -44
- package/dist/{rich-text-editor-DvNEOIux.d.ts → rich-text-editor-B-Onl7T8.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{select-DY5QtwqI.d.ts → select-B4a52eWW.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-CrB-Gkcv.d.ts → slider-dNj9jruO.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-DR8bJw-F.js → staticDateTimeSegments-CsCE9Buo.js} +26 -27
- package/dist/{staticSelect.utils-Cm7MoDVG.js → staticSelect.utils-BemUyaaA.js} +31 -90
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/color-utilities.css +13 -25
- package/dist/styles/configurator.css +1852 -0
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-8WzXfTS8.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-BikE8qJH.js +49 -0
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +3 -3
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-field.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +2 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +71 -70
- package/dist/tanstack.js +66 -53
- package/dist/{text-area-CqnKRWKq.d.ts → text-area-DQAtpOQp.d.ts} +1 -1
- package/dist/theme-model-C-QMCksE.js +136 -0
- package/dist/theme-model-T1zIdBg8.d.ts +12 -0
- package/dist/{time-picker-Cz1GIzpF.d.ts → time-picker-DoGfbil6.d.ts} +1 -1
- package/dist/{toast.cva-Cj6o2Rmu.d.ts → toast.cva-By5lvAfr.d.ts} +3 -2
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-CIKvmkjo.js → toast.runtime-cxex9e4E.js} +2 -1
- package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
- package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
- package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
- package/dist/tooltip.cva-BIzlOXHH.js +48 -0
- package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
- package/dist/{typography.cva-jtp6WWUH.d.ts → typography.cva-D1JOEYl-.d.ts} +2 -1
- package/dist/{typography.cva-CJZZSGXW.js → typography.cva-iD15k56p.js} +1 -1
- package/dist/{uiConfig.context-D2eUIPHn.js → uiConfig.context-BS3r_kTS.js} +1 -1
- package/dist/{uiConfig.context-aoarCLYX.d.ts → uiConfig.context-DeBX2beU.d.ts} +8 -8
- package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
- package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
- package/dist/underline-66hmELxa.js +81 -0
- package/dist/{useBreakpoint-BOA-MyoT.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/{useFieldAccessibility-D2_Qm26-.js → useFieldAccessibility-B4MVL6fz.js} +15 -8
- package/dist/{useFormAutosave-BYFn3LH8.js → useFormAutosave-Mg-tdwMh.js} +2 -2
- package/dist/{useStaticInputHandoff-DB9PgioW.js → useStaticInputHandoff-CvSBPUB3.js} +13 -10
- package/dist/useTableColumnConfig-gfVame8v.js +892 -0
- package/dist/{useTableNav-D9mICzNW.d.ts → useTableNav-Ckj5PBRk.d.ts} +3 -2
- package/dist/{useToast-DMSm59Y6.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +38 -6
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- package/src/configurator/README.md +71 -0
- package/dist/Button-sn52l1Yv.js +0 -506
- package/dist/FormFieldHeaderTooltip-Dl24v4_j.js +0 -45
- package/dist/Link-Btxj2gzg.js +0 -42
- package/dist/PillButton-DASBXLFB.d.ts +0 -15
- package/dist/Tag-Cch_68QO.d.ts +0 -43
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/pillButton.cva-BEWuu0qm.d.ts +0 -34
- package/dist/pillButton.cva-DlP5tOT5.js +0 -197
- package/dist/switch.cva-8T0fw31t.d.ts +0 -15
- package/dist/useTableColumnConfig-CcJxu14U.js +0 -1625
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-CKLkS00H.js";
|
|
4
|
+
import { t as popoverAnimationClassName } from "./popoverAnimation-DEZSvKP8.js";
|
|
4
5
|
import { n as $caaf0dd3060ed57c$export$95185d699e05d4d7, r as $1969ac565cfec8d0$export$de79e2c695e052f3 } from "./openLink-CQhMhfzO.js";
|
|
5
6
|
import { c as $d447af545b77c9f1$export$f21a1ffae260145a, i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, s as $d447af545b77c9f1$export$b204af158042fbac, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
6
7
|
import { c as $a92dc41f639950be$export$525bc4921d56d4a, d as $a92dc41f639950be$export$cabe61c495ee3649, n as $081cb5757e08788e$export$24490316f764c430, o as $b5c62b033c25b96d$export$29bf1b5f2c56cf63, s as $b5c62b033c25b96d$export$60278871457622de, u as $a92dc41f639950be$export$c2b7abe5d61ec696 } from "./focusSafely-DCGrr2bb.js";
|
|
@@ -11,19 +12,19 @@ import { _ as $e8ac3c3f5d4bae7f$export$d6875122194c7b44, a as $eb76cf4feb040f77$
|
|
|
11
12
|
import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
|
|
12
13
|
import { n as $901761b40e390936$export$2bb74740c4e19def, r as $2b2d34ff061957fb$export$2b85b721e524d74b, t as $3578607fe3d4b096$export$cfa2225e87938781 } from "./getScrollParent-kSR7EtoT.js";
|
|
13
14
|
import { n as $535772f9d2c1f38d$export$c5251b9e124bf29, t as $535772f9d2c1f38d$export$2d6ec8fc375ceafa } from "./FocusScope-CO9oJ1sc.js";
|
|
14
|
-
import { t as Typography } from "./Typography-
|
|
15
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
15
16
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
16
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
17
|
+
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
17
18
|
import { TextButton } from "./components/text-button.js";
|
|
18
19
|
import { t as $a8ea2faf2ebe4d2f$re_export$isFirefox } from "./import-BE0r63d8.js";
|
|
19
20
|
import "./i18n-CX2EjhJI.js";
|
|
20
|
-
import { t as popoverDefinition } from "./popover.cva-
|
|
21
|
-
import { t as getStaticInputFocusTarget } from "./useStaticInputHandoff-
|
|
21
|
+
import { t as popoverDefinition } from "./popover.cva-Bhud1wnp.js";
|
|
22
|
+
import { t as getStaticInputFocusTarget } from "./useStaticInputHandoff-CvSBPUB3.js";
|
|
22
23
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
23
24
|
import $ahdqC$react, { useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
25
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
24
26
|
import { CalendarDate, DateFormatter, GregorianCalendar, Time, getLocalTimeZone, isEqualCalendar, now, toCalendar, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
25
27
|
import "react-dom";
|
|
26
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
27
28
|
import { useTranslation } from "react-i18next";
|
|
28
29
|
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/textSelection.mjs
|
|
29
30
|
let $cbf007e418543821$var$state = "default";
|
|
@@ -3449,27 +3450,25 @@ const useFirefoxDateSegmentSelectionGuard = (containerRef) => {
|
|
|
3449
3450
|
//#region src/components/inputs/DateTime/shared/DateTimeDialog.tsx
|
|
3450
3451
|
const DateTimeDialog = ({ hideSidebar, children, footer, sidebar, label, isOpen, triggerRef, dialogProps, bottomSheetProps, onOpenChange }) => {
|
|
3451
3452
|
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
3452
|
-
if (useBreakpoint("md")) {
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
})]
|
|
3469
|
-
})
|
|
3453
|
+
if (useBreakpoint("md")) return /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
|
|
3454
|
+
triggerRef,
|
|
3455
|
+
isOpen,
|
|
3456
|
+
placement: "bottom start",
|
|
3457
|
+
onOpenChange,
|
|
3458
|
+
className: popoverAnimationClassName,
|
|
3459
|
+
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
3460
|
+
...dialogProps,
|
|
3461
|
+
className: "outline-none!",
|
|
3462
|
+
"aria-label": label,
|
|
3463
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
3464
|
+
className: clsx(popoverCva({}), "flex overflow-hidden"),
|
|
3465
|
+
children: [!hideSidebar && sidebar, /* @__PURE__ */ jsxs("div", {
|
|
3466
|
+
className: "flex flex-1 flex-col justify-between",
|
|
3467
|
+
children: [children, footer]
|
|
3468
|
+
})]
|
|
3470
3469
|
})
|
|
3471
|
-
})
|
|
3472
|
-
}
|
|
3470
|
+
})
|
|
3471
|
+
});
|
|
3473
3472
|
return /* @__PURE__ */ jsxs(BottomSheet, {
|
|
3474
3473
|
sheetMarginBottom: 0,
|
|
3475
3474
|
isScrollable: true,
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
3
2
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
4
|
-
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-
|
|
3
|
+
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-usHsolNj.js";
|
|
4
|
+
import { i as Search, n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
5
5
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
6
6
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
7
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
8
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
7
9
|
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
8
|
-
import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d,
|
|
10
|
+
import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d, g as $4b38b5b75ecc6208$export$698f465ec27e93df, l as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4, m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, p as $263ab7fc0f95ccdb$export$2dbbd341daed716d, r as $f2ff30fde7b014be$export$d2f961adcb0afbe, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "./Dialog-CKLkS00H.js";
|
|
9
11
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B2-B-uFY.js";
|
|
10
12
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1, t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-D6KlWSFL.js";
|
|
11
13
|
import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D2MPZ3sY.js";
|
|
12
14
|
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-DlQcyN1f.js";
|
|
13
15
|
import { n as $41fb335299a4a39e$export$f5b8910cec6cf069, t as $41fb335299a4a39e$export$37fb8590cf2c088c } from "./Input-BsbLZDtC.js";
|
|
14
|
-
import { i as $928221da08ecbc62$export$a11e76429ed99b4, n as $928221da08ecbc62$export$7c5906fe4f1f2af2, r as $928221da08ecbc62$export$7ff8f37d2d81a48d, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-
|
|
16
|
+
import { i as $928221da08ecbc62$export$a11e76429ed99b4, n as $928221da08ecbc62$export$7c5906fe4f1f2af2, r as $928221da08ecbc62$export$7ff8f37d2d81a48d, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-CL8Ar4Q_.js";
|
|
15
17
|
import { i as $a3be900807531178$re_export$useFilter, n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
16
|
-
import
|
|
18
|
+
import "./popoverAnimation-DEZSvKP8.js";
|
|
17
19
|
import { a as $d447af545b77c9f1$export$37a5fde709c1db82, i as $23f2114a1b82827e$export$e58f029f0fbfdb29, l as $d447af545b77c9f1$export$f531f92e2a15358f, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
18
20
|
import { n as $2add3ce32c6007eb$export$78551043582a6a98, s as $2add3ce32c6007eb$export$fedb369cb70207f1 } from "./platform-BXNIIAfU.js";
|
|
19
21
|
import { t as $a4e76a5424781910$export$e08e3b67e392101e } from "./chain-DIXr2VAT.js";
|
|
20
22
|
import { n as $901761b40e390936$export$2bb74740c4e19def, r as $2b2d34ff061957fb$export$2b85b721e524d74b, t as $3578607fe3d4b096$export$cfa2225e87938781 } from "./getScrollParent-kSR7EtoT.js";
|
|
21
|
-
import { t as Spinner } from "./Spinner-
|
|
23
|
+
import { t as Spinner } from "./Spinner-BeVTUzzx.js";
|
|
22
24
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
23
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
25
|
+
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
24
26
|
import { TextButton } from "./components/text-button.js";
|
|
25
27
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
26
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
27
|
-
import { t as Tag } from "./Tag-
|
|
28
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-U_-d4V_g.js";
|
|
29
|
+
import { t as Tag } from "./Tag-DPg5sL1Z.js";
|
|
28
30
|
import "./i18n-CX2EjhJI.js";
|
|
29
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
30
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
31
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-DJA8ovm_.js";
|
|
32
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DznDgVJB.js";
|
|
31
33
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
32
|
-
import { t as popoverDefinition } from "./popover.cva-
|
|
34
|
+
import { t as popoverDefinition } from "./popover.cva-Bhud1wnp.js";
|
|
33
35
|
import { Input } from "./components/input.js";
|
|
34
36
|
import $ahdqC$react, { Fragment, createContext, use, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
35
37
|
import { c } from "react/compiler-runtime";
|
|
38
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
36
39
|
import "react-aria/mergeProps";
|
|
37
40
|
import { CollectionBuilder } from "react-aria/CollectionBuilder";
|
|
38
41
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
@@ -47,33 +50,9 @@ import "react-aria/useListFormatter";
|
|
|
47
50
|
import { useVirtualizerState } from "react-stately/useVirtualizerState";
|
|
48
51
|
import { useScrollView } from "react-aria/private/virtualizer/ScrollView";
|
|
49
52
|
import { VirtualizerItem } from "react-aria/private/virtualizer/VirtualizerItem";
|
|
50
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
51
53
|
import { useLabel } from "@react-aria/label";
|
|
52
54
|
import { useFocusVisible, useFocusWithin, useHover as useHover$1 } from "@react-aria/interactions";
|
|
53
55
|
import { useTranslation } from "react-i18next";
|
|
54
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/search.mjs
|
|
55
|
-
/**
|
|
56
|
-
* @license lucide-react v1.43.0 - ISC
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the ISC license.
|
|
59
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/
|
|
61
|
-
const __iconData = {
|
|
62
|
-
name: "search",
|
|
63
|
-
size: 24,
|
|
64
|
-
node: [["path", {
|
|
65
|
-
d: "m21 21-4.34-4.34",
|
|
66
|
-
key: "14j7rj"
|
|
67
|
-
}], ["circle", {
|
|
68
|
-
cx: "11",
|
|
69
|
-
cy: "11",
|
|
70
|
-
r: "8",
|
|
71
|
-
key: "4ej97u"
|
|
72
|
-
}]]
|
|
73
|
-
};
|
|
74
|
-
__iconData.node;
|
|
75
|
-
const Search = createLucideIcon(__iconData);
|
|
76
|
-
//#endregion
|
|
77
56
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Group.mjs
|
|
78
57
|
const $3a442827418ebe87$export$f9c6924e160136d1 = /*#__PURE__*/ createContext({});
|
|
79
58
|
//#endregion
|
|
@@ -883,12 +862,6 @@ let SelectContext;
|
|
|
883
862
|
};
|
|
884
863
|
})(SelectContext || (SelectContext = {}));
|
|
885
864
|
//#endregion
|
|
886
|
-
//#region src/components/inputs/Selection/shared/selectInput.cva.ts
|
|
887
|
-
const selectInputTagsContentWrapperDefinition = UIOverrides.defineConfig({
|
|
888
|
-
base: ["flex flex-1 flex-wrap gap-input-gap-input-text-to-elements truncate"],
|
|
889
|
-
config: { variants: { isSearchable: { false: "pointer-events-none z-raised" } } }
|
|
890
|
-
});
|
|
891
|
-
//#endregion
|
|
892
865
|
//#region src/hooks/useKeyInteractions.ts
|
|
893
866
|
const KEY_TO_ACTION = {
|
|
894
867
|
ArrowUp: "up",
|
|
@@ -1127,50 +1100,17 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
1127
1100
|
onPress: () => {
|
|
1128
1101
|
if (!isSearchable) setIsOpen(!isOpen);
|
|
1129
1102
|
},
|
|
1130
|
-
children: /* @__PURE__ */ jsx(
|
|
1131
|
-
|
|
1132
|
-
"
|
|
1133
|
-
|
|
1103
|
+
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
1104
|
+
icon: ChevronDown,
|
|
1105
|
+
className: clsx("text-inherit", isOpen && "rotate-180"),
|
|
1106
|
+
iconClassName: "fill-current stroke-0",
|
|
1107
|
+
"aria-hidden": "true"
|
|
1134
1108
|
})
|
|
1135
1109
|
})
|
|
1136
1110
|
]
|
|
1137
1111
|
});
|
|
1138
1112
|
};
|
|
1139
1113
|
//#endregion
|
|
1140
|
-
//#region src/components/inputs/Selection/shared/selectItem.cva.ts
|
|
1141
|
-
const selectListBoxItemDefinition = UIOverrides.defineConfig({
|
|
1142
|
-
base: [
|
|
1143
|
-
"group flex cursor-pointer items-center gap-2 px-list-side-item-left py-list-height-item",
|
|
1144
|
-
"border-b border-b-border-default-subtle outline-none bg-support-transparent-outline",
|
|
1145
|
-
"font-body font-normal text-small",
|
|
1146
|
-
"disabled:cursor-default",
|
|
1147
|
-
"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-interactive-ring"
|
|
1148
|
-
],
|
|
1149
|
-
config: {
|
|
1150
|
-
variants: {
|
|
1151
|
-
isSingle: {
|
|
1152
|
-
false: "",
|
|
1153
|
-
true: "selected:bg-interactive-primary-background selected:text-interactive-primary-foreground selected:disabled:text-tint-interactive-primary-foreground/50"
|
|
1154
|
-
},
|
|
1155
|
-
isNewItem: {
|
|
1156
|
-
true: "text-interactive-primary-background disabled:text-tint-interactive-primary-background/50",
|
|
1157
|
-
false: "text-surface-default-foreground disabled:text-tint-surface-default-foreground/50"
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
compoundVariants: [{
|
|
1161
|
-
isSingle: false,
|
|
1162
|
-
className: ["not-disabled:not-focus-visible:hover:bg-tint-interactive-subtle-secondary-background/80 not-disabled:not-focus-visible:hover:text-tint-interactive-subtle-secondary-foreground/80", "not-disabled:focus-visible:bg-tint-interactive-subtle-secondary-background/60 not-disabled:focus-visible:text-tint-interactive-subtle-secondary-foreground/60"]
|
|
1163
|
-
}, {
|
|
1164
|
-
isSingle: true,
|
|
1165
|
-
className: ["not-selected:not-disabled:not-focus-visible:hover:bg-tint-interactive-subtle-secondary-background/80 not-selected:not-disabled:not-focus-visible:hover:text-tint-interactive-subtle-secondary-foreground/80", "not-selected:not-disabled:focus-visible:bg-tint-interactive-subtle-secondary-background/60 not-selected:not-disabled:focus-visible:text-tint-interactive-subtle-secondary-foreground/60"]
|
|
1166
|
-
}],
|
|
1167
|
-
defaultVariants: {
|
|
1168
|
-
isSingle: false,
|
|
1169
|
-
isNewItem: false
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
});
|
|
1173
|
-
//#endregion
|
|
1174
1114
|
//#region src/components/inputs/Selection/shared/SelectListBoxItem.tsx
|
|
1175
1115
|
const SelectListBoxItem = ({ isSearchable, isNewItem, newItemRender, id, label, content, isDisabled }) => {
|
|
1176
1116
|
const selectListItemCva = UIOverrides.useCva("select.listBoxItemCva", selectListBoxItemDefinition);
|
|
@@ -1419,9 +1359,6 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
1419
1359
|
});
|
|
1420
1360
|
};
|
|
1421
1361
|
//#endregion
|
|
1422
|
-
//#region src/components/inputs/Selection/shared/selectDesktop.cva.ts
|
|
1423
|
-
const selectPopoverDefinition = UIOverrides.defineConfig({ base: ["my-4 outline-none"] });
|
|
1424
|
-
//#endregion
|
|
1425
1362
|
//#region src/components/inputs/Selection/shared/SelectDesktop.tsx
|
|
1426
1363
|
const SelectDesktop = ({ ref, error, ignoreTriggerWidth, showSelectionContent, inputClassName, containerClassName, leadingContent, trailingContent, customTrigger, onBlur, onMouseEnter, onFocusCapture, ...props }) => {
|
|
1427
1364
|
const { label, tooltipText, helperText, isDirty, isRequired, rightContent, isHeaderHidden, headerClassName, errorClassName, placeholder, variant, isDisabled, className, hideLabel, hideDropdownIcon, isSearchable, isClearable, isClearableIfDisabled, isLoading, as, size, collapseAfter, selectedTagsType } = props;
|
|
@@ -1582,7 +1519,7 @@ const SelectDesktop = ({ ref, error, ignoreTriggerWidth, showSelectionContent, i
|
|
|
1582
1519
|
triggerRef,
|
|
1583
1520
|
isOpen,
|
|
1584
1521
|
onOpenChange: setIsOpen,
|
|
1585
|
-
className: selectPopoverCva({}),
|
|
1522
|
+
className: clsx("origin-(--trigger-anchor-point) transition-[opacity,scale] duration-150 ease-out starting:scale-96 starting:opacity-0 entering:scale-96 entering:opacity-0 exiting:scale-96 exiting:opacity-0 exiting:duration-100 motion-reduce:transition-none", selectPopoverCva({})),
|
|
1586
1523
|
style: { width: !ignoreTriggerWidth ? popoverWidth : void 0 },
|
|
1587
1524
|
offset: 0,
|
|
1588
1525
|
children: /* @__PURE__ */ jsx(SelectListBox, {
|
|
@@ -1604,7 +1541,10 @@ const FormFieldHeaderClose = ({ onClose }) => {
|
|
|
1604
1541
|
onPress: onClose,
|
|
1605
1542
|
"aria-label": t(($) => $.ui.closeAlt),
|
|
1606
1543
|
className: "shrink-0 focus-visible:outline-interactive-ring",
|
|
1607
|
-
children: /* @__PURE__ */ jsx(
|
|
1544
|
+
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
1545
|
+
icon: X,
|
|
1546
|
+
className: "text-surface-default-foreground"
|
|
1547
|
+
})
|
|
1608
1548
|
});
|
|
1609
1549
|
};
|
|
1610
1550
|
//#endregion
|
|
@@ -1783,9 +1723,10 @@ const StaticSelectTrailingContent = ({ trailingContent, hideDropdownIcon, size }
|
|
|
1783
1723
|
tabIndex: -1,
|
|
1784
1724
|
className: clsx("self-stretch border-0! pl-1.5 outline-none", inputSizeCva({ size })),
|
|
1785
1725
|
"aria-hidden": "true",
|
|
1786
|
-
children: /* @__PURE__ */ jsx(
|
|
1787
|
-
|
|
1788
|
-
|
|
1726
|
+
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
1727
|
+
icon: ChevronDown,
|
|
1728
|
+
className: "text-inherit",
|
|
1729
|
+
iconClassName: "fill-current stroke-0"
|
|
1789
1730
|
})
|
|
1790
1731
|
}) : void 0] });
|
|
1791
1732
|
};
|
|
@@ -1841,4 +1782,4 @@ const getStaticSelectValue = ({ items, value, selectionMode, initialSelection, m
|
|
|
1841
1782
|
};
|
|
1842
1783
|
};
|
|
1843
1784
|
//#endregion
|
|
1844
|
-
export {
|
|
1785
|
+
export { getKeyInteractionAction as a, createKeyInteractionsHandler as i, StaticSelectTrailingContent as n, useKeyInteractions as o, SelectBase as r, useDebounceCallback as s, getStaticSelectValue as t };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
//#region src/components/navigation/Stepper/stepper.cva.ts
|
|
3
|
+
const stepperDefinition = UIOverrides.defineConfig({
|
|
4
|
+
base: [""],
|
|
5
|
+
config: {
|
|
6
|
+
variants: { orientation: {
|
|
7
|
+
horizontal: "flex flex-row items-center gap-stepper-gap-step-to-line-horizontal",
|
|
8
|
+
vertical: "inline-flex flex-col gap-stepper-gap-step-to-line-vertical"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { orientation: "horizontal" }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const stepperItemDefinition = UIOverrides.defineConfig({
|
|
14
|
+
base: ["flex shrink-0"],
|
|
15
|
+
config: {
|
|
16
|
+
variants: { contentOrientation: {
|
|
17
|
+
horizontal: "flex-row items-center gap-stepper-gap-icon-to-text-horizontal text-left",
|
|
18
|
+
vertical: "flex-col items-center gap-stepper-gap-icon-to-text-vertical text-center"
|
|
19
|
+
} },
|
|
20
|
+
defaultVariants: { contentOrientation: "horizontal" }
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
const stepperIconDefinition = UIOverrides.defineConfig({
|
|
24
|
+
base: ["inline-flex size-5 shrink-0 items-center justify-center rounded-stepper-rounding-icon"],
|
|
25
|
+
config: {
|
|
26
|
+
variants: { status: {
|
|
27
|
+
completed: [
|
|
28
|
+
"border border-interactive-primary-background border-solid bg-interactive-primary-background",
|
|
29
|
+
"group-hover:border-state-interactive-primary-background/hover group-hover:bg-state-interactive-primary-background/hover",
|
|
30
|
+
"group-pressed:border-state-interactive-primary-background/pressed group-pressed:bg-state-interactive-primary-background/pressed"
|
|
31
|
+
],
|
|
32
|
+
active: "border border-interactive-subtle-primary-foreground border-solid bg-support-transparent-outline",
|
|
33
|
+
todo: "border border-state-interactive-subtle-primary-foreground/disabled border-solid bg-support-transparent-outline"
|
|
34
|
+
} },
|
|
35
|
+
defaultVariants: { status: "todo" }
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
const stepperNumberDefinition = UIOverrides.defineConfig({
|
|
39
|
+
base: ["text-center align-middle"],
|
|
40
|
+
config: {
|
|
41
|
+
variants: { status: {
|
|
42
|
+
completed: "",
|
|
43
|
+
active: "text-interactive-subtle-primary-foreground",
|
|
44
|
+
todo: "text-state-interactive-subtle-primary-foreground/disabled"
|
|
45
|
+
} },
|
|
46
|
+
defaultVariants: { status: "todo" }
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const stepperTitleDefinition = UIOverrides.defineConfig({
|
|
50
|
+
base: [""],
|
|
51
|
+
config: {
|
|
52
|
+
variants: { status: {
|
|
53
|
+
completed: [
|
|
54
|
+
"text-surface-default-foreground",
|
|
55
|
+
"group-hover:text-state-surface-default-foreground/hover",
|
|
56
|
+
"group-pressed:text-state-surface-default-foreground/pressed"
|
|
57
|
+
],
|
|
58
|
+
active: "text-interactive-primary-background",
|
|
59
|
+
todo: "text-state-surface-default-popover-foreground/disabled"
|
|
60
|
+
} },
|
|
61
|
+
defaultVariants: { status: "todo" }
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
const stepperSubtextDefinition = UIOverrides.defineConfig({
|
|
65
|
+
base: [""],
|
|
66
|
+
config: {
|
|
67
|
+
variants: { status: {
|
|
68
|
+
completed: [
|
|
69
|
+
"text-surface-default-foreground",
|
|
70
|
+
"group-hover:text-state-surface-default-foreground/hover",
|
|
71
|
+
"group-pressed:text-state-surface-default-foreground/pressed"
|
|
72
|
+
],
|
|
73
|
+
active: "text-surface-default-foreground",
|
|
74
|
+
todo: "text-state-surface-default-popover-foreground/disabled"
|
|
75
|
+
} },
|
|
76
|
+
defaultVariants: { status: "todo" }
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const stepperSeparatorDefinition = UIOverrides.defineConfig({
|
|
80
|
+
base: ["bg-border-default-subtle"],
|
|
81
|
+
config: {
|
|
82
|
+
variants: {
|
|
83
|
+
orientation: {
|
|
84
|
+
horizontal: "h-px min-w-4 flex-1",
|
|
85
|
+
vertical: "min-h-16 w-px"
|
|
86
|
+
},
|
|
87
|
+
contentOrientation: {
|
|
88
|
+
horizontal: "",
|
|
89
|
+
vertical: ""
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
defaultVariants: {
|
|
93
|
+
orientation: "horizontal",
|
|
94
|
+
contentOrientation: "horizontal"
|
|
95
|
+
},
|
|
96
|
+
compoundVariants: [
|
|
97
|
+
{
|
|
98
|
+
orientation: "horizontal",
|
|
99
|
+
contentOrientation: "vertical",
|
|
100
|
+
className: "mt-2.5 self-start"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
orientation: "vertical",
|
|
104
|
+
contentOrientation: "vertical",
|
|
105
|
+
className: "self-center"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
orientation: "vertical",
|
|
109
|
+
contentOrientation: "horizontal",
|
|
110
|
+
className: "ml-2.5"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
//#endregion
|
|
116
|
+
export { stepperSeparatorDefinition as a, stepperNumberDefinition as i, stepperIconDefinition as n, stepperSubtextDefinition as o, stepperItemDefinition as r, stepperTitleDefinition as s, stepperDefinition as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ClassProp, ClassValue, StringToBoolean } from "class-variance-authority/types";
|
|
2
|
+
//#region src/utils/style-merge.util.d.ts
|
|
3
|
+
declare namespace StyleMergeUtils {
|
|
4
|
+
export type OverrideMode = "merge" | "overrideEntry" | "overrideCva";
|
|
5
|
+
export interface CvaVariantMap {
|
|
6
|
+
[variant: string]: {
|
|
7
|
+
[value: string]: ClassValue;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type ConfigSchema = CvaVariantMap;
|
|
11
|
+
export type ConfigVariants<TSchema extends ConfigSchema> = { [K in keyof TSchema]?: StringToBoolean<keyof NonNullable<TSchema[K]>> | null | undefined; };
|
|
12
|
+
export type ConfigVariantsMulti<TSchema extends ConfigSchema> = { [K in keyof TSchema]?: StringToBoolean<keyof NonNullable<TSchema[K]>> | StringToBoolean<keyof NonNullable<TSchema[K]>>[] | undefined; };
|
|
13
|
+
export interface Config<TSchema extends ConfigSchema> {
|
|
14
|
+
variants?: TSchema;
|
|
15
|
+
defaultVariants?: ConfigVariants<TSchema>;
|
|
16
|
+
compoundVariants?: Array<(ConfigVariants<TSchema> | ConfigVariantsMulti<TSchema>) & ClassProp>;
|
|
17
|
+
}
|
|
18
|
+
export interface CvaCompoundEntry {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
class?: ClassValue;
|
|
21
|
+
className?: ClassValue;
|
|
22
|
+
}
|
|
23
|
+
export interface CvaConfigShape {
|
|
24
|
+
variants?: CvaVariantMap;
|
|
25
|
+
compoundVariants?: CvaCompoundEntry[];
|
|
26
|
+
defaultVariants?: Record<string, unknown>;
|
|
27
|
+
}
|
|
28
|
+
export interface CvaDefinition<TConfig extends CvaConfigShape> {
|
|
29
|
+
base: string[];
|
|
30
|
+
config?: TConfig;
|
|
31
|
+
}
|
|
32
|
+
type DeepOptionalOverride<T> = T extends string ? string : T extends (infer U)[] ? DeepOptionalOverride<U>[] : T extends object ? { [K in keyof T]?: DeepOptionalOverride<T[K]>; } : T;
|
|
33
|
+
export type CvaConfigOverride<TConfig extends CvaConfigShape = CvaConfigShape> = DeepOptionalOverride<CvaDefinition<TConfig>> & {
|
|
34
|
+
mode: OverrideMode;
|
|
35
|
+
};
|
|
36
|
+
export const mergeCvaDefinition: <TConfig extends CvaConfigShape>(baseDefinition: CvaDefinition<TConfig>, override?: CvaConfigOverride<TConfig>) => CvaDefinition<TConfig>;
|
|
37
|
+
export {};
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { StyleMergeUtils as t };
|
|
@@ -1,32 +1,20 @@
|
|
|
1
|
-
/* /
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
@utility bg-tint-* {
|
|
6
|
-
background-color: color-mix(in srgb, --value(--color-*) calc(--modifier(integer) * 1%), white);
|
|
1
|
+
/* Example: hover:bg-state-interactive-primary-background/hover */
|
|
2
|
+
@utility bg-state-* {
|
|
3
|
+
background-color: color-mix(in srgb, --value(--color-*), --modifier(--state-color-*) --modifier(--state-opacity-*));
|
|
7
4
|
}
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
background-color: color-mix(in srgb, --value(--color-*) calc(--modifier(integer) * 1%), black);
|
|
6
|
+
@utility border-state-* {
|
|
7
|
+
border-color: color-mix(in srgb, --value(--color-*), --modifier(--state-color-*) --modifier(--state-opacity-*));
|
|
12
8
|
}
|
|
13
9
|
|
|
14
|
-
@utility border-
|
|
15
|
-
border-color: color-mix(
|
|
10
|
+
@utility border-b-state-* {
|
|
11
|
+
border-bottom-color: color-mix(
|
|
12
|
+
in srgb,
|
|
13
|
+
--value(--color-*),
|
|
14
|
+
--modifier(--state-color-*) --modifier(--state-opacity-*)
|
|
15
|
+
);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
@utility
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@utility border-b-tint-* {
|
|
23
|
-
border-bottom-color: color-mix(in srgb, --value(--color-*) calc(--modifier(integer) * 1%), white);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@utility text-tint-* {
|
|
27
|
-
color: color-mix(in srgb, --value(--color-*) calc(--modifier(integer) * 1%), white);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@utility text-shade-* {
|
|
31
|
-
color: color-mix(in srgb, --value(--color-*) calc(--modifier(integer) * 1%), black);
|
|
18
|
+
@utility text-state-* {
|
|
19
|
+
color: color-mix(in srgb, --value(--color-*), --modifier(--state-color-*) --modifier(--state-opacity-*));
|
|
32
20
|
}
|