@povio/ui 5.0.0-rc.2 → 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 +3 -1
- package/README.md +45 -6
- 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 +31 -5
- 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
package/dist/tanstack.js
CHANGED
|
@@ -1,97 +1,110 @@
|
|
|
1
1
|
import { t as logger } from "./logger-CqZjM-sn.js";
|
|
2
|
-
import { t as DropdownMenu } from "./DropdownMenu-
|
|
3
|
-
import {
|
|
4
|
-
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-
|
|
5
|
-
import {
|
|
2
|
+
import { t as DropdownMenu } from "./DropdownMenu-5jmtgLXd.js";
|
|
3
|
+
import { n as MenuPopover, r as MenuItem } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
4
|
+
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
5
|
+
import { t as FileUpload } from "./FileUpload-DDpYMn8f.js";
|
|
6
6
|
import { t as PasswordInput } from "./PasswordInput-DYwUZ4-k.js";
|
|
7
|
-
import {
|
|
8
|
-
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-
|
|
9
|
-
import {
|
|
10
|
-
import { r as datePickerInputContentRowDefinition } from "./DatePickerInput-UBZcTmdv.js";
|
|
7
|
+
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "./Table-BDNSuEWc.js";
|
|
8
|
+
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-usHsolNj.js";
|
|
9
|
+
import { n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
11
10
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import { n as
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
11
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
12
|
+
import { n as iconSlotDefinition, t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
13
|
+
import { t as Breadcrumbs } from "./Breadcrumbs-CbKzAq1v.js";
|
|
14
|
+
import { t as Checkbox } from "./Checkbox-BU0d702K.js";
|
|
15
|
+
import { a as getKeyInteractionAction, i as createKeyInteractionsHandler, o as useKeyInteractions, s as useDebounceCallback } from "./staticSelect.utils-BemUyaaA.js";
|
|
16
|
+
import { t as Slider } from "./Slider-BHPl0OPy.js";
|
|
17
|
+
import { t as Accordion } from "./Accordion-BzwO4_ml.js";
|
|
18
|
+
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioGroup } from "./RadioGroup-B7_pNwn9.js";
|
|
19
|
+
import { n as switchDefinition, t as Switch } from "./Switch-CqnGEdeD.js";
|
|
20
|
+
import { n as textAreaWrapperDefinition, t as TextArea } from "./TextArea-DqHDiRGJ.js";
|
|
21
|
+
import { t as Tooltip } from "./Tooltip-B9DKcYvr.js";
|
|
22
|
+
import { a as breadcrumbsDefinition, i as breadcrumbSegmentDefinition, n as breadcrumbIconDefinition, r as breadcrumbItemDefinition, t as breadcrumbChevronDefinition } from "./breadcrumbs.cva-7zzdDhVR.js";
|
|
23
|
+
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-DvEmX0bs.js";
|
|
24
|
+
import { t as ToggleGroup } from "./ToggleGroup-DX0VYXwP.js";
|
|
25
|
+
import { n as useScrollableListBox } from "./Calendar-CVSQH-rC.js";
|
|
26
|
+
import { t as DateRangePicker } from "./DateRangePicker-_uTQk_ae.js";
|
|
27
|
+
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-BIzlOXHH.js";
|
|
28
|
+
import { t as typographyDefinition } from "./typography.cva-iD15k56p.js";
|
|
29
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
26
30
|
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
27
|
-
import { n as spinnerDefinition, r as spinnerWrapperDefinition, t as Spinner } from "./Spinner-
|
|
31
|
+
import { n as spinnerDefinition, r as spinnerWrapperDefinition, t as Spinner } from "./Spinner-BeVTUzzx.js";
|
|
28
32
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
29
33
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
30
|
-
import { a as buttonSizeDefinition, i as buttonIconSizeDefinition, n as buttonContentDefinition, r as buttonDefinition, t as Button } from "./Button-
|
|
34
|
+
import { a as buttonSizeDefinition, i as buttonIconSizeDefinition, n as buttonContentDefinition, r as buttonDefinition, t as Button } from "./Button-C5rv4Cr2.js";
|
|
31
35
|
import { IconButton } from "./components/icon-button.js";
|
|
32
36
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
37
|
+
import { n as badgeButtonContentDefinition, r as badgeButtonDefinition } from "./badgeButton.cva-CvN4CTx5.js";
|
|
38
|
+
import { BadgeButton } from "./components/badge-button.js";
|
|
35
39
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
36
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
40
|
+
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
37
41
|
import { SplitButton } from "./components/split-button.js";
|
|
38
42
|
import { TextButton } from "./components/text-button.js";
|
|
39
43
|
import { ToggleButton } from "./components/toggle-button.js";
|
|
40
44
|
import { i as useFormValue, n as useForm, r as useFormState } from "./form.binding-CG1RPv6o.js";
|
|
41
|
-
import { n as formFieldErrorDefinition } from "./FormFieldError-
|
|
42
|
-
import { a as formFieldHeaderDefinition, i as labelDefinition, n as formFieldHelperDefinition, t as FormField } from "./FormField-
|
|
43
|
-
import { n as tagDefinition, t as Tag } from "./Tag-
|
|
45
|
+
import { n as formFieldErrorDefinition } from "./FormFieldError-DeOHHLo2.js";
|
|
46
|
+
import { a as formFieldHeaderDefinition, i as labelDefinition, n as formFieldHelperDefinition, t as FormField } from "./FormField-U_-d4V_g.js";
|
|
47
|
+
import { n as tagDefinition, t as Tag } from "./Tag-DPg5sL1Z.js";
|
|
44
48
|
import { n as resources, t as ns } from "./i18n-CX2EjhJI.js";
|
|
45
|
-
import { a as inputSizeDefinition, i as inputSideDefinition, n as inputClearClassDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
49
|
+
import { a as inputSizeDefinition, i as inputSideDefinition, n as inputClearClassDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-DJA8ovm_.js";
|
|
46
50
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
47
|
-
import { t as popoverDefinition } from "./popover.cva-
|
|
51
|
+
import { t as popoverDefinition } from "./popover.cva-Bhud1wnp.js";
|
|
48
52
|
import { Input } from "./components/input.js";
|
|
49
53
|
import { Autocomplete } from "./components/autocomplete.js";
|
|
50
54
|
import { CheckboxGroup } from "./components/checkbox-group.js";
|
|
51
|
-
import { t as TimePicker } from "./TimePicker-
|
|
52
|
-
import { r as useLongPressRepeat } from "./datePickerValue.utils-
|
|
55
|
+
import { t as TimePicker } from "./TimePicker-DQ6JCkGB.js";
|
|
56
|
+
import { r as useLongPressRepeat } from "./datePickerValue.utils-CUzkWie8.js";
|
|
53
57
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
54
58
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
55
59
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
56
|
-
import { t as
|
|
57
|
-
import { t as
|
|
58
|
-
import { t as
|
|
60
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
61
|
+
import { t as DatePicker } from "./DatePicker-D95gDPhg.js";
|
|
62
|
+
import { t as Select } from "./Select-CkujlTjm.js";
|
|
63
|
+
import { t as DateTimePicker } from "./DateTimePicker-BB058Z34.js";
|
|
59
64
|
import { t as FileUtils } from "./file.utils-DqQxnuAm.js";
|
|
60
|
-
import { a as progressTrackWrapperDefinition, i as progressTrackDefinition, n as progressDefinition, o as progressValueDefinition, r as progressFillDefinition, t as Progress } from "./Progress-
|
|
61
|
-
import {
|
|
65
|
+
import { a as progressTrackWrapperDefinition, i as progressTrackDefinition, n as progressDefinition, o as progressValueDefinition, r as progressFillDefinition, t as Progress } from "./Progress-B3mY9rIP.js";
|
|
66
|
+
import { t as fileUploadDropZoneDefinition } from "./fileUpload.cva-ujmStxB1.js";
|
|
67
|
+
import { n as fileInputButtonDefinition, r as fileInputDropZoneDefinition, t as FileInput } from "./FileInput-C0-6bw4w.js";
|
|
62
68
|
import { NumberField } from "./components/number-field.js";
|
|
63
|
-
import { t as NumberRangeInput } from "./NumberRangeInput-
|
|
69
|
+
import { t as NumberRangeInput } from "./NumberRangeInput-C-8U05wF.js";
|
|
64
70
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
65
71
|
import { QuerySelect } from "./components/query-select.js";
|
|
72
|
+
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-MbpaEBg1.js";
|
|
66
73
|
import { Popover } from "./components/popover.js";
|
|
67
74
|
import { FileUploadContainer } from "./components/file-upload-container.js";
|
|
68
75
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
69
76
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
70
|
-
import { a as
|
|
71
|
-
import { i as
|
|
72
|
-
import { t as
|
|
77
|
+
import { a as accordionHeadingTitleDefinition, c as accordionPanelContentDefinition, i as accordionHeadingSubtitleDefinition, l as accordionPanelDefinition, n as accordionDefinition, o as accordionIconDefinition, r as accordionHeadingDefinition, s as accordionItemDefinition, t as accordionChevronDefinition, u as accordionTriggerDefinition } from "./accordion.cva-CL1bVscW.js";
|
|
78
|
+
import { a as stepperSeparatorDefinition, i as stepperNumberDefinition, n as stepperIconDefinition, o as stepperSubtextDefinition, r as stepperItemDefinition, s as stepperTitleDefinition, t as stepperDefinition } from "./stepper.cva-CZ0Kj-s7.js";
|
|
79
|
+
import { t as Stepper } from "./Stepper-Cp5vbL5g.js";
|
|
80
|
+
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-COhDZaVl.js";
|
|
81
|
+
import { t as Dialog } from "./Dialog-9manOgMA.js";
|
|
73
82
|
import { AlertDialog } from "./components/alert-dialog.js";
|
|
74
83
|
import { Drawer } from "./components/drawer.js";
|
|
75
84
|
import { TooltipEllipsis } from "./components/tooltip-ellipsis.js";
|
|
76
|
-
import { t as PaginationList } from "./PaginationList-
|
|
85
|
+
import { t as PaginationList } from "./PaginationList-DtvuP63b.js";
|
|
77
86
|
import { Pagination } from "./components/pagination.js";
|
|
78
|
-
import { i as alertDefinition, n as statusIconDefinition, r as statusSeparatorDefinition, t as Alert } from "./Alert-
|
|
79
|
-
import { a as
|
|
80
|
-
import {
|
|
87
|
+
import { i as alertDefinition, n as statusIconDefinition, r as statusSeparatorDefinition, t as Alert } from "./Alert-CnvEb1D_.js";
|
|
88
|
+
import { a as toastDefinition, n as statusIconDefinition$1, r as statusSeparatorDefinition$1 } from "./toast.cva-C_L_RffH.js";
|
|
89
|
+
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
90
|
+
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-qgpzMFD4.js";
|
|
81
91
|
import { useToast } from "./components/use-toast.js";
|
|
92
|
+
import { a as tableHeaderTextDefinition, i as tableHeadRowDefinition, n as tableDataDefinition, o as tableRowDefinition, r as tableHeadDataDefinition, t as tableCellTextDefinition } from "./table.cva-BikE8qJH.js";
|
|
82
93
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
83
|
-
import { n as
|
|
94
|
+
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-gfVame8v.js";
|
|
95
|
+
import { t as linkDefinition } from "./link.cva-DMTHZiJG.js";
|
|
96
|
+
import { Link } from "./components/link.js";
|
|
84
97
|
import { Badge } from "./components/badge.js";
|
|
85
98
|
import { t as Confirmation } from "./confirmation.context-BuzgCfYl.js";
|
|
86
99
|
import { t as UIRouter } from "./router.context-B0jTMtE0.js";
|
|
87
100
|
import { t as useLocalStorage } from "./useLocalStorage-PlcaJ1tP.js";
|
|
88
101
|
import { t as ThemeContext } from "./theme.context-B3wQDJ-i.js";
|
|
89
|
-
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-
|
|
102
|
+
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-BBQ4ic3D.js";
|
|
90
103
|
import { t as dynamicInputs } from "./dynamicInputs-CRMWIpHA.js";
|
|
91
104
|
import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
|
92
105
|
import { t as useFilters } from "./useFilters-kkEUFKmQ.js";
|
|
93
|
-
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-
|
|
106
|
+
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-D1AopHx9.js";
|
|
94
107
|
import { n as ArrayUtils, t as QueriesUtils } from "./queries.utils-CmbhAoHU.js";
|
|
95
|
-
import { n as useAutosave, r as Form, t as useFormAutosave } from "./useFormAutosave-
|
|
96
|
-
import { t as Inputs } from "./Inputs-
|
|
97
|
-
export { Accordion, Alert, AlertDialog, ArrayUtils, Autocomplete, Badge, BottomSheet, Breadcrumbs, Button, CellText, Checkbox, CheckboxGroup, X as CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimePicker, DateTimeUtils, DateUtils, Dialog, DomUtils, Drawer, DropdownMenu, FileInput, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, IconButton, InfiniteTable, InlineIconButton, Input, Inputs, IntlUtils, Link, LinkContext, MenuItem, MenuPopover, NumberField, NumberRangeInput, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput,
|
|
108
|
+
import { n as useAutosave, r as Form, t as useFormAutosave } from "./useFormAutosave-Mg-tdwMh.js";
|
|
109
|
+
import { t as Inputs } from "./Inputs-j3JmcLWR.js";
|
|
110
|
+
export { Accordion, Alert, AlertDialog, ArrayUtils, Autocomplete, Badge, BadgeButton, BottomSheet, Breadcrumbs, Button, CellText, Checkbox, CheckboxGroup, X as CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimePicker, DateTimeUtils, DateUtils, Dialog, DomUtils, Drawer, DropdownMenu, FileInput, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, IconButton, IconSlot, InfiniteTable, InlineIconButton, Input, Inputs, IntlUtils, Link, LinkContext, MenuItem, MenuPopover, NumberField, NumberRangeInput, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, Popover, Progress, QueriesUtils, QueryAutocomplete, QuerySelect, RadioGroup, RoutingUtils, Select, Slider, Spinner, SplitButton, Stepper, StringUtils, Switch, Table, Tag, TextArea, TextButton, ThemeContext, TimePicker, Toast, ToastContainer, ToastProvider, ToggleButton, ToggleGroup, Tooltip, TooltipEllipsis, Typography, UIConfig, UIOverrides, UIRouter, ZodUtils, accordionChevronDefinition, accordionDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition, alertDefinition, badgeButtonContentDefinition, badgeButtonDefinition, breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition, buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, checkboxContentRowDefinition, checkboxContentWrapperDefinition, checkboxDefinition, checkboxGroupLabelDefinition, checkboxIconDefinition, compoundMapper, createKeyInteractionsHandler, datePickerInputContentRowDefinition, dialogContentDefinition, dialogMainDefinition, dialogOverlayDefinition, dropdownMenuDefinition, dynamicColumns, dynamicInputs, fileInputButtonDefinition, fileInputDropZoneDefinition, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, iconSlotDefinition, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, isEqual, labelDefinition, linkDefinition, logger, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, ns, popoverDefinition, progressDefinition, progressFillDefinition, progressTrackDefinition, progressTrackWrapperDefinition, progressValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, spinnerDefinition, spinnerWrapperDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, switchDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleGroupDefinition, toggleGroupItemDefinition, tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition, tooltipWrapperTriggerDefinition, typographyDefinition, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useFormState, useFormValue, useIntersectionObserver, useKeyInteractions, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as TextAreaProps } from "./TextArea-
|
|
1
|
+
import { r as TextAreaProps } from "./TextArea-l_keyLK7.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/text-area.d.ts
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
//#region src/configurator/theme-model.ts
|
|
2
|
+
const groups = [
|
|
3
|
+
"Colors",
|
|
4
|
+
"Typography",
|
|
5
|
+
"Spacing",
|
|
6
|
+
"Radius",
|
|
7
|
+
"Sizing",
|
|
8
|
+
"Effects"
|
|
9
|
+
];
|
|
10
|
+
const declarations = (source) => Object.fromEntries([...source.matchAll(/(--[\w-]+)\s*:\s*([^;]+);/g)].map(([, name, value]) => [name, value.trim()]));
|
|
11
|
+
const selectorDeclarations = (source, selector) => Object.assign({}, ...[...source.matchAll(selector)].map((match) => declarations(match[1])));
|
|
12
|
+
const parseThemeCss = (themeSource) => ({
|
|
13
|
+
light: selectorDeclarations(themeSource, /:root\s*\{([^}]+)\}/g),
|
|
14
|
+
dark: selectorDeclarations(themeSource, /\.dark\s*\{([^}]+)\}/g),
|
|
15
|
+
theme: declarations([...themeSource.matchAll(/@theme(?:\s+static)?\s*\{([^}]+)\}/g)].map((match) => match[1]).join("\n"))
|
|
16
|
+
});
|
|
17
|
+
function groupFor(name) {
|
|
18
|
+
if (name.startsWith("--color-") || name.endsWith("-base")) return "Colors";
|
|
19
|
+
if (/^--(font|text|tracking)-/.test(name)) return "Typography";
|
|
20
|
+
if (name.startsWith("--spacing-")) return "Spacing";
|
|
21
|
+
if (name.startsWith("--radius-")) return "Radius";
|
|
22
|
+
if (name.startsWith("--container-")) return "Sizing";
|
|
23
|
+
return "Effects";
|
|
24
|
+
}
|
|
25
|
+
const labelFor = (name) => name.replace(/^--/, "").replace(/-base$/, "").replaceAll("-", " ");
|
|
26
|
+
const isRgb = (value) => /^\d+\s+\d+\s+\d+$/.test(value);
|
|
27
|
+
const toHex = (value) => `#${value.split(/\s+/).map((part) => Number(part).toString(16).padStart(2, "0")).join("")}`;
|
|
28
|
+
const toRgb = (hex) => [
|
|
29
|
+
1,
|
|
30
|
+
3,
|
|
31
|
+
5
|
|
32
|
+
].map((offset) => parseInt(hex.slice(offset, offset + 2), 16)).join(" ");
|
|
33
|
+
function validToken(name, value, original) {
|
|
34
|
+
if (!value.trim() || /[;{}<>]/.test(value)) return false;
|
|
35
|
+
if (isRgb(original)) return isRgb(value) && value.split(/\s+/).every((part) => Number(part) <= 255);
|
|
36
|
+
if (name.endsWith("-base") && /^var\(--[\w-]+\)$/.test(original)) return /^var\(--[\w-]+\)$/.test(value) || isRgb(value) && value.split(/\s+/).every((part) => Number(part) <= 255);
|
|
37
|
+
const property = name.startsWith("--color-") || /^#[0-9a-f]+$/i.test(original) ? "color" : name.startsWith("--font-weight-") ? "font-weight" : name.startsWith("--font-") ? "font-family" : name.endsWith("--line-height") ? "line-height" : name.endsWith("--letter-spacing") || name.startsWith("--tracking-") ? "letter-spacing" : name.startsWith("--shadow-") || name.startsWith("--drop-shadow-") ? "box-shadow" : "width";
|
|
38
|
+
return CSS.supports(property, value);
|
|
39
|
+
}
|
|
40
|
+
const emptyTheme = () => ({
|
|
41
|
+
light: {},
|
|
42
|
+
dark: {},
|
|
43
|
+
theme: {}
|
|
44
|
+
});
|
|
45
|
+
function previewTokens(defaults, edits, mode) {
|
|
46
|
+
return mode === "dark" ? {
|
|
47
|
+
...defaults.theme,
|
|
48
|
+
...edits.theme,
|
|
49
|
+
...defaults.light,
|
|
50
|
+
...edits.light,
|
|
51
|
+
...defaults.dark,
|
|
52
|
+
...edits.dark
|
|
53
|
+
} : {
|
|
54
|
+
...defaults.theme,
|
|
55
|
+
...edits.theme,
|
|
56
|
+
...defaults.light,
|
|
57
|
+
...edits.light
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/** Numbered RGB shades in the root theme form the shared base palette. */
|
|
61
|
+
/**
|
|
62
|
+
* Tailwind-style shade weights around a 500 base: lighter steps mix toward white by the weight, darker steps scale
|
|
63
|
+
* the channels by it. Matches common Tailwind shade generators, extended with the 10, 950 and 1000 steps used here.
|
|
64
|
+
*/
|
|
65
|
+
const lighten = {
|
|
66
|
+
10: .98,
|
|
67
|
+
50: .95,
|
|
68
|
+
100: .9,
|
|
69
|
+
200: .75,
|
|
70
|
+
300: .6,
|
|
71
|
+
400: .3,
|
|
72
|
+
500: 0
|
|
73
|
+
};
|
|
74
|
+
const darken = {
|
|
75
|
+
500: 1,
|
|
76
|
+
600: .9,
|
|
77
|
+
700: .6,
|
|
78
|
+
800: .45,
|
|
79
|
+
900: .3,
|
|
80
|
+
950: .2,
|
|
81
|
+
1e3: .15
|
|
82
|
+
};
|
|
83
|
+
/** Interpolates a weight for steps between the known ones, such as 150 or 850. */
|
|
84
|
+
function weightFor(table, step) {
|
|
85
|
+
const known = Object.keys(table).map(Number).sort((a, b) => a - b);
|
|
86
|
+
if (step <= known[0]) return table[known[0]];
|
|
87
|
+
if (step >= known.at(-1)) return table[known.at(-1)];
|
|
88
|
+
const upper = known.findIndex((value) => value >= step);
|
|
89
|
+
const [low, high] = [known[upper - 1], known[upper]];
|
|
90
|
+
return table[low] + (table[high] - table[low]) * (step - low) / (high - low);
|
|
91
|
+
}
|
|
92
|
+
/** Generates a palette's RGB channel values from its 500 color, keyed by step. */
|
|
93
|
+
function generateShades(baseRgb, steps) {
|
|
94
|
+
const channels = baseRgb.split(/\s+/).map(Number);
|
|
95
|
+
return Object.fromEntries(steps.map((step) => {
|
|
96
|
+
return [step, (step <= 500 ? channels.map((channel) => channel + (255 - channel) * weightFor(lighten, step)) : channels.map((channel) => channel * weightFor(darken, step))).map((channel) => Math.round(channel)).join(" ")];
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
function baseColorNames(defaults) {
|
|
100
|
+
return new Set(Object.entries(defaults.light).filter(([name, value]) => /^--[\w-]+-\d+-base$/.test(name) && isRgb(value) && !(name in defaults.dark)).map(([name]) => name));
|
|
101
|
+
}
|
|
102
|
+
function exportCss(edits, defaults) {
|
|
103
|
+
const block = (selector, values) => {
|
|
104
|
+
const entries = Object.entries(values).sort(([a], [b]) => a.localeCompare(b));
|
|
105
|
+
return entries.length ? `${selector} {\n${entries.map(([key, value]) => ` ${key}: ${value};`).join("\n")}\n}\n` : "";
|
|
106
|
+
};
|
|
107
|
+
return "/* Import after your Povio UI theme in your Tailwind CSS entrypoint. */\n\n" + (block(":root", edits.light) + block(".dark", {
|
|
108
|
+
...darkFallback(defaults, edits),
|
|
109
|
+
...edits.dark
|
|
110
|
+
}) + block("@theme", edits.theme) || "/* No token overrides. */\n");
|
|
111
|
+
}
|
|
112
|
+
/** Runtime rules must use ordinary selectors: Tailwind directives only work at build time. */
|
|
113
|
+
function runtimeCss(defaults, edits) {
|
|
114
|
+
const block = (selector, values) => `${selector} {${Object.entries(values).map(([key, value]) => `${key}: ${value};`).join(" ")}}`;
|
|
115
|
+
return block(":root", {
|
|
116
|
+
...referencedThemeTokens(defaults, edits.theme),
|
|
117
|
+
...edits.theme,
|
|
118
|
+
...edits.light
|
|
119
|
+
}) + block(".dark", {
|
|
120
|
+
...darkFallback(defaults, edits),
|
|
121
|
+
...edits.dark
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Tailwind only emits `@theme` variables that utilities use, so an edit aliasing another theme token (for example
|
|
126
|
+
* `var(--radius-global-rounding-m)`) redeclares that token's value to make sure it resolves at runtime.
|
|
127
|
+
*/
|
|
128
|
+
function referencedThemeTokens(defaults, edits) {
|
|
129
|
+
const referenced = Object.values(edits).flatMap((value) => [...value.matchAll(/var\((--[\w-]+)/g)].map((match) => match[1]));
|
|
130
|
+
return Object.fromEntries(referenced.filter((name) => name in defaults.theme && !(name in edits)).map((name) => [name, defaults.theme[name]]));
|
|
131
|
+
}
|
|
132
|
+
function darkFallback(defaults, edits) {
|
|
133
|
+
return Object.fromEntries(Object.keys(edits.light).filter((key) => key in defaults.dark).map((key) => [key, defaults.dark[key]]));
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { groupFor as a, labelFor as c, runtimeCss as d, toHex as f, generateShades as i, parseThemeCss as l, validToken as m, emptyTheme as n, groups as o, toRgb as p, exportCss as r, isRgb as s, baseColorNames as t, previewTokens as u };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/configurator/theme-model.d.ts
|
|
2
|
+
type Mode = "light" | "dark";
|
|
3
|
+
type Tokens = Record<string, string>;
|
|
4
|
+
declare const parseThemeCss: (themeSource: string) => ThemeEdits;
|
|
5
|
+
interface ThemeEdits {
|
|
6
|
+
light: Tokens;
|
|
7
|
+
dark: Tokens;
|
|
8
|
+
theme: Tokens;
|
|
9
|
+
}
|
|
10
|
+
declare function exportCss(edits: ThemeEdits, defaults: ThemeEdits): string;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { parseThemeCss as a, exportCss as i, ThemeEdits as n, Tokens as r, Mode as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
2
2
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
3
|
-
import { r as TimePickerProps } from "./TimePicker-
|
|
3
|
+
import { r as TimePickerProps } from "./TimePicker-B1POvGWs.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
5
5
|
//#region src/entries/rhf/time-picker.d.ts
|
|
6
6
|
type ControlledTimePickerProps<T extends FieldValues> = ControlProps<TimePickerProps & FireBlurOnChangeProps, T>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
3
|
+
import "./button.cva-C7kEhgoA.js";
|
|
3
4
|
//#region src/components/status/Toast/toast.cva.d.ts
|
|
4
5
|
declare const toastDefinition: {
|
|
5
6
|
base: string[];
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
4
|
+
//#region src/components/status/Toast/toast.cva.ts
|
|
5
|
+
const toastContainerDefinition = UIOverrides.defineConfig({
|
|
6
|
+
base: ["m-toast-gap-margin-mobile w-auto gap-toast-gap-margin-mobile p-0 md:m-toast-gap-margin-desktop md:gap-toast-gap-margin-desktop"],
|
|
7
|
+
config: { variants: { position: {
|
|
8
|
+
"bottom-right": "right-0 bottom-0",
|
|
9
|
+
"bottom-left": "bottom-0 left-0",
|
|
10
|
+
"top-right": "top-0 right-0",
|
|
11
|
+
"top-left": "top-0 left-0",
|
|
12
|
+
"bottom-center": "bottom-0",
|
|
13
|
+
"top-center": "top-0"
|
|
14
|
+
} } }
|
|
15
|
+
});
|
|
16
|
+
const toastWrapper = clsx("m-0! min-h-0! w-auto! max-w-toast bg-transparent! p-0! shadow-none!");
|
|
17
|
+
const toastDefinition = UIOverrides.defineConfig({
|
|
18
|
+
base: ["m-0 inline-flex w-auto flex-col items-center overflow-hidden rounded-toast-rounding-default shadow-4 md:flex-row"],
|
|
19
|
+
config: {
|
|
20
|
+
variants: {
|
|
21
|
+
variant: {
|
|
22
|
+
outlined: "border bg-surface-default-card text-surface-default-card-foreground",
|
|
23
|
+
contained: ""
|
|
24
|
+
},
|
|
25
|
+
color: {
|
|
26
|
+
neutral: "",
|
|
27
|
+
success: "",
|
|
28
|
+
warning: "",
|
|
29
|
+
error: ""
|
|
30
|
+
},
|
|
31
|
+
position: {
|
|
32
|
+
"bottom-right": "",
|
|
33
|
+
"bottom-left": "",
|
|
34
|
+
"bottom-center": "",
|
|
35
|
+
"top-right": "",
|
|
36
|
+
"top-left": "",
|
|
37
|
+
"top-center": ""
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
compoundVariants: [
|
|
41
|
+
{
|
|
42
|
+
variant: "outlined",
|
|
43
|
+
color: "neutral",
|
|
44
|
+
className: "border-border-default-subtle"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
variant: "outlined",
|
|
48
|
+
color: "success",
|
|
49
|
+
className: "border-surface-success-base"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
variant: "outlined",
|
|
53
|
+
color: "warning",
|
|
54
|
+
className: "border-surface-warning-base"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
variant: "outlined",
|
|
58
|
+
color: "error",
|
|
59
|
+
className: "border-border-destructive-base"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
variant: "contained",
|
|
63
|
+
color: "neutral",
|
|
64
|
+
className: "bg-surface-inverted-card text-surface-inverted-card-foreground"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
variant: "contained",
|
|
68
|
+
color: "success",
|
|
69
|
+
className: "bg-surface-success-base text-surface-success-inverted-base"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
variant: "contained",
|
|
73
|
+
color: "warning",
|
|
74
|
+
className: "bg-surface-warning-base text-surface-warning-inverted-base"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
variant: "contained",
|
|
78
|
+
color: "error",
|
|
79
|
+
className: "bg-surface-destructive-base text-surface-destructive-inverted-base"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
defaultVariants: {
|
|
83
|
+
variant: "outlined",
|
|
84
|
+
color: "neutral"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
const buttonColorVariant = compoundMapper({
|
|
89
|
+
compoundVariants: [{
|
|
90
|
+
variant: "contained",
|
|
91
|
+
value: {
|
|
92
|
+
color: "primary",
|
|
93
|
+
inverted: true
|
|
94
|
+
}
|
|
95
|
+
}],
|
|
96
|
+
default: {
|
|
97
|
+
color: "primary",
|
|
98
|
+
inverted: false
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
const statusIconDefinition = UIOverrides.defineConfig({
|
|
102
|
+
base: ["size-icons-size shrink-0"],
|
|
103
|
+
config: {
|
|
104
|
+
variants: {
|
|
105
|
+
variant: {
|
|
106
|
+
outlined: "",
|
|
107
|
+
contained: "text-inherit"
|
|
108
|
+
},
|
|
109
|
+
color: {
|
|
110
|
+
neutral: "",
|
|
111
|
+
success: "",
|
|
112
|
+
warning: "",
|
|
113
|
+
error: ""
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
compoundVariants: [
|
|
117
|
+
{
|
|
118
|
+
variant: "outlined",
|
|
119
|
+
color: "neutral",
|
|
120
|
+
className: "text-surface-default-foreground"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
variant: "outlined",
|
|
124
|
+
color: "success",
|
|
125
|
+
className: "text-surface-success-base"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
variant: "outlined",
|
|
129
|
+
color: "warning",
|
|
130
|
+
className: "text-surface-warning-base"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
variant: "outlined",
|
|
134
|
+
color: "error",
|
|
135
|
+
className: "text-surface-destructive-base"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
defaultVariants: {
|
|
139
|
+
variant: "outlined",
|
|
140
|
+
color: "neutral"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
const statusSeparatorDefinition = UIOverrides.defineConfig({
|
|
145
|
+
base: ["h-px shrink-0 self-stretch md:h-auto md:w-px"],
|
|
146
|
+
config: {
|
|
147
|
+
variants: {
|
|
148
|
+
variant: {
|
|
149
|
+
outlined: "",
|
|
150
|
+
contained: "hidden"
|
|
151
|
+
},
|
|
152
|
+
color: {
|
|
153
|
+
neutral: "bg-border-default-subtle",
|
|
154
|
+
success: "bg-surface-success-base",
|
|
155
|
+
warning: "bg-surface-warning-base",
|
|
156
|
+
error: "bg-surface-destructive-base"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
defaultVariants: { color: "neutral" }
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
//#endregion
|
|
163
|
+
export { toastDefinition as a, toastContainerDefinition as i, statusIconDefinition as n, toastWrapper as o, statusSeparatorDefinition as r, buttonColorVariant as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
2
|
+
import { n as y } from "./dist-CAdwxJbe.js";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
//#region src/components/status/Toast/toast.runtime.tsx
|
|
4
5
|
const showToast = (id, color, params, options) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
2
|
-
import { s as ToggleGroupProps } from "./toggleGroup.types-
|
|
2
|
+
import { s as ToggleGroupProps } from "./toggleGroup.types-Bp43zbSQ.js";
|
|
3
3
|
import { Key } from "react-aria-components";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
5
5
|
//#region src/entries/rhf/toggle-group.d.ts
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
3
|
+
//#region src/components/ToggleGroup/toggleGroup.cva.ts
|
|
4
|
+
const toggleGroupDefinition = UIOverrides.defineConfig({ base: [
|
|
5
|
+
"group/segment grid w-fit items-center gap-segmented-control-side-segmented-control p-segmented-control-side-segmented-control",
|
|
6
|
+
"bg-surface-default-popover",
|
|
7
|
+
"rounded-segmented-control-rounding-segmented-control"
|
|
8
|
+
] });
|
|
9
|
+
const toggleGroupItemDefinition = UIOverrides.defineConfig({
|
|
10
|
+
base: [
|
|
11
|
+
"flex items-center justify-center gap-segmented-control-gap-content-icon-to-text transition-all duration-200",
|
|
12
|
+
"border border-support-transparent-outline",
|
|
13
|
+
"py-segmented-control-height-segment",
|
|
14
|
+
"rounded-segmented-control-rounding-segment",
|
|
15
|
+
uiOutlineClass,
|
|
16
|
+
"bg-support-transparent-outline text-interactive-subtle-secondary-foreground",
|
|
17
|
+
"not-selected:not-disabled:not-pressed:hover:border-state-interactive-subtle-secondary-background/hover not-selected:not-disabled:not-pressed:hover:bg-state-interactive-subtle-secondary-background/hover not-selected:not-disabled:not-pressed:hover:text-state-interactive-subtle-secondary-foreground/hover",
|
|
18
|
+
"not-selected:not-disabled:pressed:border-state-interactive-subtle-secondary-background/pressed not-selected:not-disabled:pressed:bg-state-interactive-subtle-secondary-background/pressed not-selected:not-disabled:pressed:text-state-interactive-subtle-secondary-foreground/pressed",
|
|
19
|
+
"not-selected:not-disabled:focus-visible:border-state-interactive-subtle-secondary-background/focus not-selected:not-disabled:focus-visible:bg-state-interactive-subtle-secondary-background/focus not-selected:not-disabled:focus-visible:text-state-interactive-subtle-secondary-foreground/focus",
|
|
20
|
+
"focus-visible:outline-interactive-ring",
|
|
21
|
+
"not-selected:disabled:text-state-interactive-subtle-secondary-foreground/disabled",
|
|
22
|
+
"selected:border-state-interactive-secondary-background/toggled selected:bg-state-interactive-secondary-background/toggled selected:text-interactive-secondary-foreground",
|
|
23
|
+
"selected:not-disabled:hover:border-state-interactive-secondary-background/toggled-hovered selected:not-disabled:hover:bg-state-interactive-secondary-background/toggled-hovered",
|
|
24
|
+
"selected:disabled:border-state-interactive-secondary-background/toggled-disabled selected:disabled:bg-state-interactive-secondary-background/toggled-disabled selected:disabled:text-interactive-secondary-foreground/40"
|
|
25
|
+
],
|
|
26
|
+
config: {
|
|
27
|
+
variants: { iconOnly: {
|
|
28
|
+
true: "px-segmented-control-height-segment",
|
|
29
|
+
false: "px-segmented-control-side-segment"
|
|
30
|
+
} },
|
|
31
|
+
defaultVariants: { iconOnly: false }
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { toggleGroupItemDefinition as n, toggleGroupDefinition as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
2
3
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
3
4
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
4
5
|
import { FC, ReactElement, Ref, SVGProps } from "react";
|