@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
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
3
|
+
import { n as TypographyProps } from "./Typography-XljT9s02.js";
|
|
4
|
+
import { Ref } from "react";
|
|
5
|
+
import { ButtonProps } from "react-aria-components";
|
|
6
|
+
//#region src/components/text/Tag/tag.cva.d.ts
|
|
7
|
+
declare const tagDefinition: {
|
|
8
|
+
base: string[];
|
|
9
|
+
config: StyleMergeUtils.Config<{
|
|
10
|
+
readonly color: {
|
|
11
|
+
primary: ["bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", "not-disabled:not-pressed:hover:bg-state-interactive-subtle-primary-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-primary-foreground/hover", "not-disabled:pressed:bg-state-interactive-subtle-primary-background/pressed not-disabled:pressed:text-state-interactive-subtle-primary-foreground/pressed", "disabled:bg-state-interactive-subtle-primary-background/disabled disabled:text-state-interactive-subtle-primary-foreground/disabled", "focus-visible:outline-interactive-ring"];
|
|
12
|
+
secondary: ["bg-interactive-subtle-secondary-background text-interactive-subtle-secondary-foreground", "not-disabled:not-pressed:hover:bg-state-interactive-subtle-secondary-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-secondary-foreground/hover", "not-disabled:pressed:bg-state-interactive-subtle-secondary-background/pressed not-disabled:pressed:text-state-interactive-subtle-secondary-foreground/pressed", "disabled:bg-state-interactive-subtle-secondary-background/disabled disabled:text-state-interactive-subtle-secondary-foreground/disabled", "focus-visible:outline-interactive-ring"];
|
|
13
|
+
success: ["bg-surface-success-inverted-base text-surface-success-base", "not-disabled:not-pressed:hover:bg-state-surface-success-inverted-base/hover not-disabled:not-pressed:hover:text-state-surface-success-base/hover", "not-disabled:pressed:bg-state-surface-success-inverted-base/pressed not-disabled:pressed:text-state-surface-success-base/pressed", "disabled:bg-state-surface-success-inverted-base/disabled disabled:text-state-surface-success-base/disabled", "focus-visible:outline-interactive-ring"];
|
|
14
|
+
warning: ["bg-surface-warning-inverted-base text-surface-warning-base", "not-disabled:not-pressed:hover:bg-state-surface-warning-inverted-base/hover not-disabled:not-pressed:hover:text-state-surface-warning-base/hover", "not-disabled:pressed:bg-state-surface-warning-inverted-base/pressed not-disabled:pressed:text-state-surface-warning-base/pressed", "disabled:bg-state-surface-warning-inverted-base/disabled disabled:text-state-surface-warning-base/disabled", "focus-visible:outline-interactive-ring"];
|
|
15
|
+
error: ["bg-interactive-subtle-destructive-background text-interactive-subtle-destructive-foreground", "not-disabled:not-pressed:hover:bg-state-interactive-subtle-destructive-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-destructive-foreground/hover", "not-disabled:pressed:bg-state-interactive-subtle-destructive-background/pressed not-disabled:pressed:text-state-interactive-subtle-destructive-foreground/pressed", "disabled:bg-state-interactive-subtle-destructive-background/disabled disabled:text-state-interactive-subtle-destructive-foreground/disabled", "focus-visible:outline-interactive-ring"];
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
type TagConfig = NonNullable<typeof tagDefinition.config>;
|
|
20
|
+
interface TagVariantProps extends UIOverrides.VariantProps<TagConfig> {}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/text/Tag/Tag.d.ts
|
|
23
|
+
interface TagProps extends TagVariantProps {
|
|
24
|
+
className?: string;
|
|
25
|
+
children: string;
|
|
26
|
+
/** Preferred spelling. `dismissable` remains supported. */
|
|
27
|
+
dismissible?: boolean;
|
|
28
|
+
dismissable?: boolean;
|
|
29
|
+
isDisabled?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
contentRef?: Ref<HTMLElement>;
|
|
32
|
+
textSize?: TypographyProps["size"];
|
|
33
|
+
/** Preferred callback name. */
|
|
34
|
+
onRemove?: () => void;
|
|
35
|
+
onDismiss?: () => void;
|
|
36
|
+
/** Props applied to the actual dismiss button, when one is rendered. */
|
|
37
|
+
dismissButtonProps?: Omit<ButtonProps, "children" | "onPress">;
|
|
38
|
+
excludeFromTabOrder?: boolean;
|
|
39
|
+
/** Compatibility callback for the historical button-like prop surface. */
|
|
40
|
+
onPress?: ButtonProps["onPress"];
|
|
41
|
+
}
|
|
42
|
+
declare const Tag: ({ className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textSize: textSizeProp, ...appearanceProps }: TagProps) => import("react").JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { tagDefinition as i, TagProps as n, TagVariantProps as r, Tag as t };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
4
6
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
7
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
7
8
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
8
9
|
import "./i18n-CX2EjhJI.js";
|
|
9
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -14,8 +15,8 @@ const tagDefinition = UIOverrides.defineConfig({
|
|
|
14
15
|
base: [
|
|
15
16
|
uiOutlineClass,
|
|
16
17
|
"inline-flex items-center gap-list-gap-icon-to-label",
|
|
17
|
-
"p-
|
|
18
|
-
"rounded-
|
|
18
|
+
"p-badge-height-s px-1.5",
|
|
19
|
+
"rounded-badge-rounding-default",
|
|
19
20
|
"overflow-hidden",
|
|
20
21
|
"disabled:cursor-default"
|
|
21
22
|
],
|
|
@@ -23,37 +24,37 @@ const tagDefinition = UIOverrides.defineConfig({
|
|
|
23
24
|
variants: { color: {
|
|
24
25
|
primary: [
|
|
25
26
|
"bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground",
|
|
26
|
-
"not-disabled:not-pressed:hover:bg-
|
|
27
|
-
"not-disabled:pressed:bg-
|
|
28
|
-
"disabled:bg-
|
|
27
|
+
"not-disabled:not-pressed:hover:bg-state-interactive-subtle-primary-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-primary-foreground/hover",
|
|
28
|
+
"not-disabled:pressed:bg-state-interactive-subtle-primary-background/pressed not-disabled:pressed:text-state-interactive-subtle-primary-foreground/pressed",
|
|
29
|
+
"disabled:bg-state-interactive-subtle-primary-background/disabled disabled:text-state-interactive-subtle-primary-foreground/disabled",
|
|
29
30
|
"focus-visible:outline-interactive-ring"
|
|
30
31
|
],
|
|
31
32
|
secondary: [
|
|
32
33
|
"bg-interactive-subtle-secondary-background text-interactive-subtle-secondary-foreground",
|
|
33
|
-
"not-disabled:not-pressed:hover:bg-
|
|
34
|
-
"not-disabled:pressed:bg-
|
|
35
|
-
"disabled:bg-
|
|
34
|
+
"not-disabled:not-pressed:hover:bg-state-interactive-subtle-secondary-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-secondary-foreground/hover",
|
|
35
|
+
"not-disabled:pressed:bg-state-interactive-subtle-secondary-background/pressed not-disabled:pressed:text-state-interactive-subtle-secondary-foreground/pressed",
|
|
36
|
+
"disabled:bg-state-interactive-subtle-secondary-background/disabled disabled:text-state-interactive-subtle-secondary-foreground/disabled",
|
|
36
37
|
"focus-visible:outline-interactive-ring"
|
|
37
38
|
],
|
|
38
39
|
success: [
|
|
39
40
|
"bg-surface-success-inverted-base text-surface-success-base",
|
|
40
|
-
"not-disabled:not-pressed:hover:bg-
|
|
41
|
-
"not-disabled:pressed:bg-
|
|
42
|
-
"disabled:bg-
|
|
41
|
+
"not-disabled:not-pressed:hover:bg-state-surface-success-inverted-base/hover not-disabled:not-pressed:hover:text-state-surface-success-base/hover",
|
|
42
|
+
"not-disabled:pressed:bg-state-surface-success-inverted-base/pressed not-disabled:pressed:text-state-surface-success-base/pressed",
|
|
43
|
+
"disabled:bg-state-surface-success-inverted-base/disabled disabled:text-state-surface-success-base/disabled",
|
|
43
44
|
"focus-visible:outline-interactive-ring"
|
|
44
45
|
],
|
|
45
46
|
warning: [
|
|
46
47
|
"bg-surface-warning-inverted-base text-surface-warning-base",
|
|
47
|
-
"not-disabled:not-pressed:hover:bg-
|
|
48
|
-
"not-disabled:pressed:bg-
|
|
49
|
-
"disabled:bg-
|
|
48
|
+
"not-disabled:not-pressed:hover:bg-state-surface-warning-inverted-base/hover not-disabled:not-pressed:hover:text-state-surface-warning-base/hover",
|
|
49
|
+
"not-disabled:pressed:bg-state-surface-warning-inverted-base/pressed not-disabled:pressed:text-state-surface-warning-base/pressed",
|
|
50
|
+
"disabled:bg-state-surface-warning-inverted-base/disabled disabled:text-state-surface-warning-base/disabled",
|
|
50
51
|
"focus-visible:outline-interactive-ring"
|
|
51
52
|
],
|
|
52
53
|
error: [
|
|
53
54
|
"bg-interactive-subtle-destructive-background text-interactive-subtle-destructive-foreground",
|
|
54
|
-
"not-disabled:not-pressed:hover:bg-
|
|
55
|
-
"not-disabled:pressed:bg-
|
|
56
|
-
"disabled:bg-
|
|
55
|
+
"not-disabled:not-pressed:hover:bg-state-interactive-subtle-destructive-background/hover not-disabled:not-pressed:hover:text-state-interactive-subtle-destructive-foreground/hover",
|
|
56
|
+
"not-disabled:pressed:bg-state-interactive-subtle-destructive-background/pressed not-disabled:pressed:text-state-interactive-subtle-destructive-foreground/pressed",
|
|
57
|
+
"disabled:bg-state-interactive-subtle-destructive-background/disabled disabled:text-state-interactive-subtle-destructive-foreground/disabled",
|
|
57
58
|
"focus-visible:outline-interactive-ring"
|
|
58
59
|
]
|
|
59
60
|
} },
|
|
@@ -119,7 +120,7 @@ const Tag = (t0) => {
|
|
|
119
120
|
t7 = isDismissible && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
120
121
|
...buttonProps,
|
|
121
122
|
className: "pointer-events-auto shrink-0",
|
|
122
|
-
children: /* @__PURE__ */ jsx(
|
|
123
|
+
children: /* @__PURE__ */ jsx(IconSlot, { icon: X })
|
|
123
124
|
});
|
|
124
125
|
$[12] = buttonProps;
|
|
125
126
|
$[13] = isDismissible;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
4
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Czcqspm7.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
6
6
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
7
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
8
|
-
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-
|
|
9
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
7
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-U_-d4V_g.js";
|
|
8
|
+
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-DJA8ovm_.js";
|
|
9
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DznDgVJB.js";
|
|
10
10
|
import $ahdqC$react, { createContext, forwardRef, memo, useRef } from "react";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
import { mergeProps } from "react-aria/mergeProps";
|
|
12
13
|
import { useFocusRing } from "react-aria/useFocusRing";
|
|
13
14
|
import { useHover } from "react-aria/useHover";
|
|
14
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useTextField } from "@react-aria/textfield";
|
|
16
16
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/TextArea.mjs
|
|
17
17
|
const $bd263d78e9bf3c56$export$2dc6166a7e65358c = /*#__PURE__*/ createContext({});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-Byiehm9y.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BsHgYa-L.js";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { TextAreaProps } from "react-aria-components";
|
|
7
7
|
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-
|
|
3
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-
|
|
4
|
-
import { r as ButtonIconProps } from "./Button-
|
|
1
|
+
import { n as LinkNavigationProps } from "./Link-Ow9H7kNv.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-C7kEhgoA.js";
|
|
3
|
+
import { t as ButtonContentVariantProps } from "./buttonContent.cva-DPIlROA9.js";
|
|
4
|
+
import { r as ButtonIconProps } from "./Button-D-4qb0IR.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import { ButtonProps } from "react-aria-components";
|
|
7
7
|
//#region src/components/buttons/TextButton/TextButton.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-Byiehm9y.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BsHgYa-L.js";
|
|
5
5
|
import { FocusEvent, Ref } from "react";
|
|
6
6
|
import { AriaTimeFieldProps, TimeValue } from "react-aria";
|
|
7
7
|
//#region src/components/inputs/DateTime/TimePicker/TimePicker.d.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
4
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
|
|
6
|
-
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-
|
|
7
|
-
import { t as Typography } from "./Typography-
|
|
6
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-CsCE9Buo.js";
|
|
7
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
8
8
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
9
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
10
10
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
11
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
12
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
13
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
14
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
15
|
-
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
11
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-U_-d4V_g.js";
|
|
12
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-DJA8ovm_.js";
|
|
13
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DznDgVJB.js";
|
|
14
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-CvSBPUB3.js";
|
|
15
|
+
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-CUzkWie8.js";
|
|
16
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
17
17
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
18
|
-
import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
19
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
+
import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
20
20
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
21
21
|
//#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.mjs
|
|
22
22
|
function $b822555cf9fe955c$export$fd53cef0cc796101(props) {
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
4
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
5
|
+
import { t as Spinner } from "./Spinner-BeVTUzzx.js";
|
|
6
|
+
import { t as Button } from "./Button-C5rv4Cr2.js";
|
|
7
|
+
import { a as toastDefinition, n as statusIconDefinition, r as statusSeparatorDefinition, t as buttonColorVariant } from "./toast.cva-C_L_RffH.js";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
//#region src/components/status/Toast/Toast.tsx
|
|
10
|
+
const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props }) => {
|
|
11
|
+
const uiConfig = UIConfig.useConfig();
|
|
12
|
+
const { variant = uiConfig.toast.variant, ...restProps } = props;
|
|
13
|
+
const toastCva = UIOverrides.useCva("toast.cva", toastDefinition);
|
|
14
|
+
const buttonColor = UIOverrides.useMapper("toast.buttonColor", buttonColorVariant);
|
|
15
|
+
const iconCva = UIOverrides.useCva("status.iconCva", statusIconDefinition);
|
|
16
|
+
const separatorCva = UIOverrides.useCva("status.separatorCva", statusSeparatorDefinition);
|
|
17
|
+
const variantProps = {
|
|
18
|
+
variant,
|
|
19
|
+
...restProps
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
22
|
+
className: toastCva(variantProps),
|
|
23
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
24
|
+
className: "flex items-start gap-toast-gap-icon-to-text px-toast-side-default py-toast-height-content",
|
|
25
|
+
children: [
|
|
26
|
+
isLoading && /* @__PURE__ */ jsx(Spinner, {
|
|
27
|
+
size: "default",
|
|
28
|
+
className: "shrink-0"
|
|
29
|
+
}),
|
|
30
|
+
!isLoading && Icon && /* @__PURE__ */ jsx(IconSlot, {
|
|
31
|
+
icon: Icon,
|
|
32
|
+
className: iconCva(variantProps)
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
35
|
+
size: "large",
|
|
36
|
+
children: text
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
}), actions.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", { className: separatorCva(variantProps) }), /* @__PURE__ */ jsx("div", {
|
|
40
|
+
className: "flex w-full shrink-0 flex-wrap items-center justify-end gap-toast-gap-action px-toast-side-default py-toast-height-actions-mobile md:w-auto md:justify-center md:py-toast-height-actions-desktop",
|
|
41
|
+
children: actions.map(({ text: buttonText, onPress }) => /* @__PURE__ */ jsx(Button, {
|
|
42
|
+
onPress,
|
|
43
|
+
...buttonColor(variantProps),
|
|
44
|
+
variant: "text",
|
|
45
|
+
size: "none",
|
|
46
|
+
width: "hug",
|
|
47
|
+
children: buttonText
|
|
48
|
+
}, buttonText))
|
|
49
|
+
})] })]
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { Toast as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
3
|
-
import {
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { i as toastContainerDefinition, o as toastWrapper } from "./toast.cva-C_L_RffH.js";
|
|
4
4
|
import { i as subscribeToToastActivation, n as isToastRendererActive, r as isToastRendererInactive } from "./toastActivation.store-BELtcr76.js";
|
|
5
|
+
import { t as xo } from "./dist-CAdwxJbe.js";
|
|
5
6
|
import { useSyncExternalStore } from "react";
|
|
6
7
|
import { c } from "react/compiler-runtime";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-
|
|
2
|
-
import { n as ButtonAppearanceProps, r as ButtonIconProps } from "./Button-
|
|
1
|
+
import { t as ButtonContentVariantProps } from "./buttonContent.cva-DPIlROA9.js";
|
|
2
|
+
import { n as ButtonAppearanceProps, r as ButtonIconProps } from "./Button-D-4qb0IR.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { ToggleButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/buttons/ToggleButton/ToggleButton.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { t as ControlledToggleGroupProps } from "./toggleGroup.types-
|
|
2
|
+
import { t as ControlledToggleGroupProps } from "./toggleGroup.types-Bp43zbSQ.js";
|
|
3
3
|
import { Key } from "react-aria-components";
|
|
4
4
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
5
5
|
declare const ToggleGroup: <TFieldValues extends FieldValues, TKey extends Key = Key>(props: ControlledToggleGroupProps<TFieldValues, TKey>) => import("react").JSX.Element;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
2
4
|
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-BW1ensey.js";
|
|
3
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
4
5
|
import { i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
5
6
|
import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
|
|
6
7
|
import { n as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-CO9oJ1sc.js";
|
|
7
|
-
import { t as Typography } from "./Typography-
|
|
8
|
-
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
8
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
9
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
10
10
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
11
|
-
import { t as FormField } from "./FormField-
|
|
11
|
+
import { t as FormField } from "./FormField-U_-d4V_g.js";
|
|
12
|
+
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-MbpaEBg1.js";
|
|
12
13
|
import { Fragment, useMemo, useRef, useState } from "react";
|
|
13
14
|
import { c } from "react/compiler-runtime";
|
|
14
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -96,41 +97,9 @@ function $3d8ad31c4c1725e9$export$8deac67f4addf270(props) {
|
|
|
96
97
|
};
|
|
97
98
|
}
|
|
98
99
|
//#endregion
|
|
99
|
-
//#region src/components/ToggleGroup/toggleGroup.cva.ts
|
|
100
|
-
const toggleGroupDefinition = UIOverrides.defineConfig({ base: [
|
|
101
|
-
"group/segment grid w-fit items-center gap-segmented-control-side-segmented-control p-segmented-control-side-segmented-control",
|
|
102
|
-
"bg-surface-default-popover",
|
|
103
|
-
"rounded-segmented-control-rounding-segmented-control"
|
|
104
|
-
] });
|
|
105
|
-
const toggleGroupItemDefinition = UIOverrides.defineConfig({
|
|
106
|
-
base: [
|
|
107
|
-
"flex items-center justify-center gap-segmented-control-gap-content-icon-to-text transition-all duration-200",
|
|
108
|
-
"border border-support-transparent-outline",
|
|
109
|
-
"py-segmented-control-height-segment",
|
|
110
|
-
"rounded-segmented-control-rounding-segment",
|
|
111
|
-
uiOutlineClass,
|
|
112
|
-
"bg-support-transparent-outline text-interactive-subtle-secondary-foreground",
|
|
113
|
-
"not-selected:not-disabled:not-pressed:hover:border-tint-interactive-subtle-secondary-background/80 not-selected:not-disabled:not-pressed:hover:bg-tint-interactive-subtle-secondary-background/80 not-selected:not-disabled:not-pressed:hover:text-tint-interactive-subtle-secondary-foreground/80",
|
|
114
|
-
"not-selected:not-disabled:pressed:border-tint-interactive-subtle-secondary-background/70 not-selected:not-disabled:pressed:bg-tint-interactive-subtle-secondary-background/70 not-selected:not-disabled:pressed:text-tint-interactive-subtle-secondary-foreground/70",
|
|
115
|
-
"not-selected:not-disabled:focus-visible:border-tint-interactive-subtle-secondary-background/60 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",
|
|
116
|
-
"focus-visible:outline-interactive-ring",
|
|
117
|
-
"not-selected:disabled:text-tint-interactive-subtle-secondary-foreground/50",
|
|
118
|
-
"selected:border-shade-interactive-secondary-background/75 selected:bg-shade-interactive-secondary-background/75 selected:text-interactive-secondary-foreground",
|
|
119
|
-
"selected:not-disabled:hover:border-shade-interactive-secondary-background/65 selected:not-disabled:hover:bg-shade-interactive-secondary-background/65",
|
|
120
|
-
"selected:disabled:border-shade-interactive-secondary-background/55 selected:disabled:bg-shade-interactive-secondary-background/55 selected:disabled:text-interactive-secondary-foreground/40"
|
|
121
|
-
],
|
|
122
|
-
config: {
|
|
123
|
-
variants: { iconOnly: {
|
|
124
|
-
true: "px-segmented-control-height-segment",
|
|
125
|
-
false: "px-segmented-control-side-segment"
|
|
126
|
-
} },
|
|
127
|
-
defaultVariants: { iconOnly: false }
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
//#endregion
|
|
131
100
|
//#region src/components/ToggleGroup/ToggleGroupItem.tsx
|
|
132
101
|
const ToggleGroupItem = (t0) => {
|
|
133
|
-
const $ = c(
|
|
102
|
+
const $ = c(22);
|
|
134
103
|
let className;
|
|
135
104
|
let icon;
|
|
136
105
|
let id;
|
|
@@ -154,7 +123,6 @@ const ToggleGroupItem = (t0) => {
|
|
|
154
123
|
label = $[5];
|
|
155
124
|
props = $[6];
|
|
156
125
|
}
|
|
157
|
-
const IconComponent = icon;
|
|
158
126
|
const iconOnly = !!(icon && !label);
|
|
159
127
|
const toggleGroupItemCva = UIOverrides.useCva("toggleGroup.itemCva", toggleGroupItemDefinition);
|
|
160
128
|
let t1;
|
|
@@ -169,25 +137,24 @@ const ToggleGroupItem = (t0) => {
|
|
|
169
137
|
$[10] = t1;
|
|
170
138
|
} else t1 = $[10];
|
|
171
139
|
let t2;
|
|
172
|
-
if ($[11] !==
|
|
173
|
-
t2 = icon && /* @__PURE__ */ jsx(
|
|
174
|
-
$[11] =
|
|
175
|
-
$[12] =
|
|
176
|
-
|
|
177
|
-
} else t2 = $[13];
|
|
140
|
+
if ($[11] !== icon) {
|
|
141
|
+
t2 = icon && /* @__PURE__ */ jsx(IconSlot, { icon });
|
|
142
|
+
$[11] = icon;
|
|
143
|
+
$[12] = t2;
|
|
144
|
+
} else t2 = $[12];
|
|
178
145
|
let t3;
|
|
179
|
-
if ($[
|
|
146
|
+
if ($[13] !== label) {
|
|
180
147
|
t3 = label && /* @__PURE__ */ jsx(Typography, {
|
|
181
148
|
size: "small",
|
|
182
149
|
as: "span",
|
|
183
150
|
className: "overflow-hidden text-ellipsis text-center",
|
|
184
151
|
children: label
|
|
185
152
|
});
|
|
186
|
-
$[
|
|
187
|
-
$[
|
|
188
|
-
} else t3 = $[
|
|
153
|
+
$[13] = label;
|
|
154
|
+
$[14] = t3;
|
|
155
|
+
} else t3 = $[14];
|
|
189
156
|
let t4;
|
|
190
|
-
if ($[
|
|
157
|
+
if ($[15] !== id || $[16] !== isDisabled || $[17] !== props || $[18] !== t1 || $[19] !== t2 || $[20] !== t3) {
|
|
191
158
|
t4 = /* @__PURE__ */ jsxs($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
192
159
|
...props,
|
|
193
160
|
id,
|
|
@@ -195,14 +162,14 @@ const ToggleGroupItem = (t0) => {
|
|
|
195
162
|
isDisabled,
|
|
196
163
|
children: [t2, t3]
|
|
197
164
|
});
|
|
198
|
-
$[
|
|
199
|
-
$[
|
|
200
|
-
$[
|
|
201
|
-
$[
|
|
202
|
-
$[
|
|
203
|
-
$[
|
|
204
|
-
$[
|
|
205
|
-
} else t4 = $[
|
|
165
|
+
$[15] = id;
|
|
166
|
+
$[16] = isDisabled;
|
|
167
|
+
$[17] = props;
|
|
168
|
+
$[18] = t1;
|
|
169
|
+
$[19] = t2;
|
|
170
|
+
$[20] = t3;
|
|
171
|
+
$[21] = t4;
|
|
172
|
+
} else t4 = $[21];
|
|
206
173
|
return t4;
|
|
207
174
|
};
|
|
208
175
|
//#endregion
|
|
@@ -437,4 +404,4 @@ function _temp(_, i) {
|
|
|
437
404
|
return i % 2 === 0 ? "1fr" : "auto";
|
|
438
405
|
}
|
|
439
406
|
//#endregion
|
|
440
|
-
export {
|
|
407
|
+
export { ToggleGroup as t };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { t as ChevronLeft } from "./chevron-left-Dgo_b9wJ.js";
|
|
2
2
|
import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
5
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
5
6
|
import { n as $4fcfe18fac72dabd$export$746d02f47f4d381, t as $4fcfe18fac72dabd$export$2de4954e8ae13b9f } from "./OverlayArrow-D8z7cCsw.js";
|
|
6
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
7
7
|
import { t as $d1116acdf220c2da$export$4c014de7c8940b4c } from "./useFocusable-Bd0UsrQ7.js";
|
|
8
|
-
import { t as
|
|
8
|
+
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-BIzlOXHH.js";
|
|
9
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
9
10
|
import $ahdqC$react, { Fragment, createContext, forwardRef, useContext, useRef } from "react";
|
|
10
11
|
import { c } from "react/compiler-runtime";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
13
|
import { mergeProps } from "react-aria/mergeProps";
|
|
12
14
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
13
15
|
import { useEnterAnimation, useExitAnimation } from "react-aria/private/utils/animation";
|
|
@@ -16,7 +18,6 @@ import { useTooltipTriggerState } from "react-stately/useTooltipTriggerState";
|
|
|
16
18
|
import { useOverlayPosition } from "react-aria/useOverlayPosition";
|
|
17
19
|
import { OverlayContainer } from "react-aria/private/overlays/useModal";
|
|
18
20
|
import { useTooltip, useTooltipTrigger } from "react-aria/useTooltipTrigger";
|
|
19
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
21
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Tooltip.mjs
|
|
21
22
|
const $05a50f7d78b03ad9$export$7a7623236eec67fa = /*#__PURE__*/ createContext(null);
|
|
22
23
|
const $05a50f7d78b03ad9$export$39ae08fa83328b12 = /*#__PURE__*/ createContext(null);
|
|
@@ -95,48 +96,6 @@ function $05a50f7d78b03ad9$var$TooltipInner(props) {
|
|
|
95
96
|
} }, renderProps.children));
|
|
96
97
|
}
|
|
97
98
|
//#endregion
|
|
98
|
-
//#region src/components/overlays/Tooltip/tooltip.cva.ts
|
|
99
|
-
const tooltipDefinition = UIOverrides.defineConfig({
|
|
100
|
-
base: ["group max-w-64 rounded-tooltip-rounding-default px-tooltip-side-default py-tooltip-height-default shadow-2"],
|
|
101
|
-
config: {
|
|
102
|
-
variants: { color: {
|
|
103
|
-
default: ["bg-surface-inverted-card"],
|
|
104
|
-
error: ["w-max bg-surface-destructive-base"]
|
|
105
|
-
} },
|
|
106
|
-
defaultVariants: { color: "default" }
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
const tooltipPointerHorizontalDefinition = UIOverrides.defineConfig({
|
|
110
|
-
base: ["h-5 group-placement-left:hidden group-placement-right:hidden group-placement-top:rotate-180 group-placement-bottom:translate-y-2 group-placement-top:-translate-y-2"],
|
|
111
|
-
config: {
|
|
112
|
-
variants: { color: {
|
|
113
|
-
default: ["text-surface-inverted-card"],
|
|
114
|
-
error: ["text-surface-destructive-base"]
|
|
115
|
-
} },
|
|
116
|
-
defaultVariants: { color: "default" }
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
const tooltipPointerVerticalDefinition = UIOverrides.defineConfig({
|
|
120
|
-
base: ["w-5 group-placement-bottom:hidden group-placement-top:hidden group-placement-left:rotate-180 group-placement-left:-translate-x-2 group-placement-right:translate-x-2"],
|
|
121
|
-
config: {
|
|
122
|
-
variants: { color: {
|
|
123
|
-
default: ["text-surface-inverted-card"],
|
|
124
|
-
error: ["text-surface-destructive-base"]
|
|
125
|
-
} },
|
|
126
|
-
defaultVariants: { color: "default" }
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
const tooltipTextDefinition = UIOverrides.defineConfig({
|
|
130
|
-
base: [],
|
|
131
|
-
config: {
|
|
132
|
-
variants: { color: {
|
|
133
|
-
default: ["text-surface-inverted-card-foreground"],
|
|
134
|
-
error: ["text-surface-destructive-inverted-base"]
|
|
135
|
-
} },
|
|
136
|
-
defaultVariants: { color: "default" }
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
//#endregion
|
|
140
99
|
//#region src/components/overlays/Tooltip/Tooltip.tsx
|
|
141
100
|
const CustomTrigger = (t0) => {
|
|
142
101
|
const $ = c(8);
|
|
@@ -253,7 +212,7 @@ const Tooltip = (t0) => {
|
|
|
253
212
|
let t11;
|
|
254
213
|
if ($[22] !== t10 || $[23] !== text) {
|
|
255
214
|
t11 = /* @__PURE__ */ jsx(Typography, {
|
|
256
|
-
size: "
|
|
215
|
+
size: "large",
|
|
257
216
|
className: t10,
|
|
258
217
|
children: text
|
|
259
218
|
});
|
|
@@ -295,4 +254,4 @@ const Tooltip = (t0) => {
|
|
|
295
254
|
return t13;
|
|
296
255
|
};
|
|
297
256
|
//#endregion
|
|
298
|
-
export {
|
|
257
|
+
export { Tooltip 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 { PropsWithChildren, ReactNode } from "react";
|
|
3
4
|
import { TooltipProps } from "react-aria-components";
|
|
4
5
|
//#region src/components/overlays/Tooltip/tooltip.cva.d.ts
|
|
@@ -6,7 +7,7 @@ declare const tooltipDefinition: {
|
|
|
6
7
|
base: string[];
|
|
7
8
|
config: StyleMergeUtils.Config<{
|
|
8
9
|
readonly color: {
|
|
9
|
-
default: ["bg-
|
|
10
|
+
default: ["bg-interactive-secondary-background"];
|
|
10
11
|
error: ["w-max bg-surface-destructive-base"];
|
|
11
12
|
};
|
|
12
13
|
}>;
|
|
@@ -17,7 +18,7 @@ declare const tooltipPointerHorizontalDefinition: {
|
|
|
17
18
|
base: string[];
|
|
18
19
|
config: StyleMergeUtils.Config<{
|
|
19
20
|
readonly color: {
|
|
20
|
-
default: ["text-
|
|
21
|
+
default: ["text-interactive-secondary-background"];
|
|
21
22
|
error: ["text-surface-destructive-base"];
|
|
22
23
|
};
|
|
23
24
|
}>;
|
|
@@ -26,7 +27,7 @@ declare const tooltipPointerVerticalDefinition: {
|
|
|
26
27
|
base: string[];
|
|
27
28
|
config: StyleMergeUtils.Config<{
|
|
28
29
|
readonly color: {
|
|
29
|
-
default: ["text-
|
|
30
|
+
default: ["text-interactive-secondary-background"];
|
|
30
31
|
error: ["text-surface-destructive-base"];
|
|
31
32
|
};
|
|
32
33
|
}>;
|
|
@@ -35,7 +36,7 @@ declare const tooltipTextDefinition: {
|
|
|
35
36
|
base: string[];
|
|
36
37
|
config: StyleMergeUtils.Config<{
|
|
37
38
|
readonly color: {
|
|
38
|
-
default: ["text-
|
|
39
|
+
default: ["text-interactive-secondary-foreground"];
|
|
39
40
|
error: ["text-surface-destructive-inverted-base"];
|
|
40
41
|
};
|
|
41
42
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import "./i18n-CX2EjhJI.js";
|
|
6
|
-
import { n as inputClearClassDefinition } from "./input.cva-
|
|
6
|
+
import { n as inputClearClassDefinition } from "./input.cva-DJA8ovm_.js";
|
|
7
7
|
import { Suspense, lazy } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
@@ -46,7 +46,7 @@ const InputClearButton = ({ onClear, className, style }) => {
|
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
49
|
-
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-
|
|
49
|
+
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-Bpmd--e7.js"));
|
|
50
50
|
const TooltipWrapper = (props) => {
|
|
51
51
|
if (props.as !== "inline") return props.children;
|
|
52
52
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import { t as typographyDefinition } from "./typography.cva-
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
import { t as typographyDefinition } from "./typography.cva-iD15k56p.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/text/Typography/Typography.tsx
|