@12-apps/ui 6.36.0 → 6.37.0
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/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +3 -3
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +36 -36
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +48 -48
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -3
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -4
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +9 -9
- package/dist/_internal/components/data-display/DataViews/base-card.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +33 -33
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +3 -3
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +5 -5
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +5 -5
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +2 -2
- package/dist/_internal/components/data-display/index.js +2 -2
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +3 -3
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +3 -3
- package/dist/_internal/components/feedback/index.js +4 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +6 -6
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +4 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +3 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +3 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressSuggestionsPaper.js +2 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +2 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +3 -2
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +2 -1
- package/dist/_internal/components/form/Button/Button.js +2 -2
- package/dist/_internal/components/form/Button/Button.styles.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +6 -6
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanelSurface.js +2 -1
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +10 -10
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +2 -2
- package/dist/_internal/components/form/CepField/CepField.js +4 -4
- package/dist/_internal/components/form/Checkbox/Checkbox.js +1 -1
- package/dist/_internal/components/form/CodeEditor/CodeEditor.helpers.js +1 -1
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +2 -2
- package/dist/_internal/components/form/Command/Command.hooks.js +1 -1
- package/dist/_internal/components/form/Command/Command.js +4 -4
- package/dist/_internal/components/form/Command/Command.parts.js +2 -1
- package/dist/_internal/components/form/Command/Command.styles.js +1 -1
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +2 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +2 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerQuickList.js +1 -1
- package/dist/_internal/components/form/Form/Form.js +1 -1
- package/dist/_internal/components/form/HeaderActions/HeaderActions.js +1 -1
- package/dist/_internal/components/form/Input/Input.js +3 -2
- package/dist/_internal/components/form/Input/Input.styles.js +2 -1
- package/dist/_internal/components/form/InputOTP/InputOTP.js +2 -2
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +1 -1
- package/dist/_internal/components/form/Label/Label.js +2 -2
- package/dist/_internal/components/form/Label/Label.styles.js +1 -1
- package/dist/_internal/components/form/Menubar/Menubar.item.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +1 -1
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +3 -3
- package/dist/_internal/components/form/PasswordStrength/PasswordStrength.js +1 -1
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.animations.js +2 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +4 -4
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +2 -2
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +3 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/_internal/components/form/RichTextEditor/RichTextEditorToolbar.js +2 -1
- package/dist/_internal/components/form/SearchPalette/SearchPalette.js +2 -2
- package/dist/_internal/components/form/SearchPalette/SearchPalette.parts.js +1 -1
- package/dist/_internal/components/form/Select/Select.js +2 -1
- package/dist/_internal/components/form/Slider/Slider.animations.js +2 -1
- package/dist/_internal/components/form/Slider/Slider.js +3 -3
- package/dist/_internal/components/form/Slider/Slider.styles.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.animations.js +2 -1
- package/dist/_internal/components/form/Switch/Switch.js +4 -4
- package/dist/_internal/components/form/Switch/Switch.parts.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.styles.js +2 -2
- package/dist/_internal/components/form/Textarea/Textarea.js +2 -2
- package/dist/_internal/components/form/Textarea/Textarea.styles.js +2 -1
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +12 -11
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +2 -2
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +1 -1
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/UploadButton/UploadButton.parts.js +1 -1
- package/dist/_internal/components/form/index.js +56 -56
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +11 -11
- package/dist/_internal/components/form/total-form/Fields/CepField.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +3 -3
- package/dist/_internal/components/form/total-form/Fields/TextField.js +4 -4
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +3 -3
- package/dist/_internal/components/form/total-form/Fields/index.js +21 -21
- package/dist/_internal/components/form/total-form/FormContainer.js +2 -2
- package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
- package/dist/_internal/components/index.js +63 -63
- package/dist/_internal/components/layout/Dashboard/Dashboard.js +3 -3
- package/dist/_internal/components/layout/Dashboard/DashboardParts.js +2 -2
- package/dist/_internal/components/layout/index.js +3 -3
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +3 -3
- package/dist/_internal/components/navigation/index.js +3 -3
- package/dist/_internal/social-login-button/social-login-button.js +3 -3
- package/dist/_internal/user-avatar/user-avatar.js +3 -3
- package/dist/{chunk-343OLRFT.js → chunk-2BIVCYTO.js} +4 -4
- package/dist/{chunk-KH25WUSX.js → chunk-2EAAWOZ2.js} +4 -4
- package/dist/chunk-2EAAWOZ2.js.map +1 -0
- package/dist/{chunk-PNLM35GU.js → chunk-2JNHWKQK.js} +5 -5
- package/dist/{chunk-IWOVENC3.js → chunk-2XX45PC5.js} +2 -2
- package/dist/{chunk-RZ2C5CAW.js → chunk-2ZIHZLF5.js} +2 -2
- package/dist/{chunk-ZW5K4XCQ.js → chunk-34BZXJGT.js} +6 -6
- package/dist/{chunk-CHFHILTM.js → chunk-35S6QI5G.js} +2 -2
- package/dist/{chunk-KCAW6HRO.js → chunk-3AOQBR7N.js} +2 -2
- package/dist/{chunk-GVLZZCSX.js → chunk-4B5XUQQS.js} +3 -3
- package/dist/{chunk-ADHMNIWS.js → chunk-4CXEWFKO.js} +2 -2
- package/dist/{chunk-J4NXTSJY.js → chunk-4JFL62K3.js} +4 -4
- package/dist/chunk-4JFL62K3.js.map +1 -0
- package/dist/{chunk-XLYFOBBT.js → chunk-4PRZLII7.js} +19 -16
- package/dist/chunk-4PRZLII7.js.map +1 -0
- package/dist/{chunk-AMTFP7QA.js → chunk-4RDJMIWL.js} +16 -13
- package/dist/chunk-4RDJMIWL.js.map +1 -0
- package/dist/{chunk-PYIASGI7.js → chunk-4RWPGWJW.js} +39 -39
- package/dist/chunk-4RWPGWJW.js.map +1 -0
- package/dist/chunk-4T6UIYJB.js +77 -0
- package/dist/chunk-4T6UIYJB.js.map +1 -0
- package/dist/{chunk-HBICO6AX.js → chunk-4WNFOBTH.js} +26 -24
- package/dist/chunk-4WNFOBTH.js.map +1 -0
- package/dist/{chunk-JJSZP3TW.js → chunk-57JLS55D.js} +5 -5
- package/dist/{chunk-ZZM3DOEK.js → chunk-5HDYTTE7.js} +2 -2
- package/dist/{chunk-GEXM6DNR.js → chunk-5KGABAQB.js} +2 -2
- package/dist/{chunk-3A22SBIU.js → chunk-67O4GPJJ.js} +8 -4
- package/dist/chunk-67O4GPJJ.js.map +1 -0
- package/dist/{chunk-D5X4FRYX.js → chunk-6JNQLW5L.js} +2 -2
- package/dist/{chunk-NSJVQ5YJ.js → chunk-6KKQHJE7.js} +9 -4
- package/dist/chunk-6KKQHJE7.js.map +1 -0
- package/dist/{chunk-D2HKCPEH.js → chunk-6LOGBWLG.js} +9 -5
- package/dist/chunk-6LOGBWLG.js.map +1 -0
- package/dist/{chunk-TOXTJ7MU.js → chunk-6RLCBNDV.js} +8 -5
- package/dist/chunk-6RLCBNDV.js.map +1 -0
- package/dist/{chunk-K7WSPGI7.js → chunk-6WLHEZXI.js} +7 -7
- package/dist/chunk-6WLHEZXI.js.map +1 -0
- package/dist/{chunk-KJK2Q35C.js → chunk-75LOTMSN.js} +2 -2
- package/dist/{chunk-A6AKFPIQ.js → chunk-7EH4D6FU.js} +2 -2
- package/dist/{chunk-6SKXV236.js → chunk-7EM4THID.js} +9 -8
- package/dist/chunk-7EM4THID.js.map +1 -0
- package/dist/{chunk-7ZG7T2YN.js → chunk-7GHYCQCJ.js} +3 -3
- package/dist/{chunk-U4H6MGVE.js → chunk-A5UYPUS2.js} +7 -5
- package/dist/chunk-A5UYPUS2.js.map +1 -0
- package/dist/{chunk-QIKPGMMO.js → chunk-AER4245J.js} +2 -2
- package/dist/{chunk-2PBT2HQH.js → chunk-AUSUCZYR.js} +25 -24
- package/dist/chunk-AUSUCZYR.js.map +1 -0
- package/dist/{chunk-4CTLEUK3.js → chunk-AYLEZM6T.js} +2 -2
- package/dist/{chunk-JFBEZXNL.js → chunk-BAQBUKDU.js} +2 -2
- package/dist/{chunk-RQ5HZDBV.js → chunk-BN742L2M.js} +14 -8
- package/dist/chunk-BN742L2M.js.map +1 -0
- package/dist/{chunk-RKI3MRKX.js → chunk-BW62QQAG.js} +2 -2
- package/dist/{chunk-7EQCZO56.js → chunk-C3LZ3OGJ.js} +11 -11
- package/dist/chunk-C3LZ3OGJ.js.map +1 -0
- package/dist/{chunk-UL7L6MFT.js → chunk-C55AWF3U.js} +4 -4
- package/dist/{chunk-ST4YYVUK.js → chunk-C5RQBTRZ.js} +7 -3
- package/dist/chunk-C5RQBTRZ.js.map +1 -0
- package/dist/{chunk-GGWICBJD.js → chunk-CPAJYJUD.js} +2 -2
- package/dist/{chunk-5TJRJSJY.js → chunk-CQLPDY2J.js} +3 -3
- package/dist/{chunk-5UTAEHSB.js → chunk-CQPFSEJB.js} +2 -2
- package/dist/{chunk-SN2YMCTL.js → chunk-CS3KOKL3.js} +2 -2
- package/dist/{chunk-2HVNPWFV.js → chunk-D6KL74KI.js} +4 -10
- package/dist/chunk-D6KL74KI.js.map +1 -0
- package/dist/{chunk-TTAP5XFX.js → chunk-DJYL2LC6.js} +8 -3
- package/dist/chunk-DJYL2LC6.js.map +1 -0
- package/dist/{chunk-TQ2557I5.js → chunk-DUNG7D4B.js} +23 -25
- package/dist/chunk-DUNG7D4B.js.map +1 -0
- package/dist/{chunk-LWRI6HGT.js → chunk-ECNJGROX.js} +21 -19
- package/dist/chunk-ECNJGROX.js.map +1 -0
- package/dist/{chunk-FXNYV5Z6.js → chunk-F6D6HXZU.js} +3 -3
- package/dist/{chunk-7DN4UXJ3.js → chunk-FERUQ7OB.js} +14 -14
- package/dist/chunk-FERUQ7OB.js.map +1 -0
- package/dist/{chunk-TQBRWZA4.js → chunk-FFOQZRFC.js} +2 -2
- package/dist/{chunk-GXCOXJS3.js → chunk-FNG33MKA.js} +3 -3
- package/dist/{chunk-YH37X6JT.js → chunk-FNRPQE2D.js} +26 -25
- package/dist/chunk-FNRPQE2D.js.map +1 -0
- package/dist/{chunk-5SJWDABY.js → chunk-G3XLFQ2Z.js} +44 -43
- package/dist/chunk-G3XLFQ2Z.js.map +1 -0
- package/dist/{chunk-GW64UQXI.js → chunk-GHXFCMFP.js} +2 -2
- package/dist/{chunk-L3B36HA5.js → chunk-GRDPGHQJ.js} +2 -2
- package/dist/{chunk-6SS5C74Q.js → chunk-GS3RP2QE.js} +2 -2
- package/dist/{chunk-B2VXP2B2.js → chunk-GZT7MLLO.js} +2 -2
- package/dist/{chunk-AK2HOD6B.js → chunk-H5BEWPEY.js} +2 -2
- package/dist/{chunk-DY4BP5WA.js → chunk-HNPWZ3W2.js} +4 -4
- package/dist/{chunk-SYVNWXVW.js → chunk-HU7TX7RB.js} +3 -3
- package/dist/{chunk-WNUZK7NS.js → chunk-HVXIOIM5.js} +10 -8
- package/dist/chunk-HVXIOIM5.js.map +1 -0
- package/dist/{chunk-WPA26LXA.js → chunk-IKLOIONQ.js} +3 -3
- package/dist/{chunk-BXAL7OIS.js → chunk-JC22FNFA.js} +89 -88
- package/dist/chunk-JC22FNFA.js.map +1 -0
- package/dist/{chunk-DMWSXWCZ.js → chunk-JL75FJRG.js} +4 -4
- package/dist/{chunk-ZAFFKQQU.js → chunk-JLQGRZMN.js} +2 -2
- package/dist/{chunk-ZMC3N23A.js → chunk-JSD5TFDK.js} +6 -6
- package/dist/{chunk-NE6XUN5Z.js → chunk-JU4MSYYH.js} +2 -2
- package/dist/{chunk-OWA7GPWR.js → chunk-KN5J3NEZ.js} +6 -5
- package/dist/chunk-KN5J3NEZ.js.map +1 -0
- package/dist/{chunk-4GYEIWQP.js → chunk-LNHYBA4B.js} +11 -10
- package/dist/chunk-LNHYBA4B.js.map +1 -0
- package/dist/{chunk-QY4XNTNG.js → chunk-LP3JCXER.js} +4 -4
- package/dist/chunk-LP3JCXER.js.map +1 -0
- package/dist/{chunk-YBTC4XNO.js → chunk-LT4NEKXB.js} +3 -3
- package/dist/{chunk-WVC3BG6J.js → chunk-LXT3X33C.js} +11 -6
- package/dist/chunk-LXT3X33C.js.map +1 -0
- package/dist/{chunk-6KL2CJBO.js → chunk-MNHIK2OR.js} +2 -2
- package/dist/{chunk-CWDV64TD.js → chunk-N5GVW6RO.js} +5 -4
- package/dist/chunk-N5GVW6RO.js.map +1 -0
- package/dist/{chunk-JFEEV3XI.js → chunk-NB3FGWU4.js} +2 -2
- package/dist/{chunk-2UCLUDEB.js → chunk-NCPWLHZT.js} +2 -2
- package/dist/{chunk-DZNMS2SH.js → chunk-NDNYD4FG.js} +5 -5
- package/dist/{chunk-5IXHJXJX.js → chunk-NIF4IXQU.js} +5 -2
- package/dist/chunk-NIF4IXQU.js.map +1 -0
- package/dist/{chunk-EFV5QJNM.js → chunk-ORRI6FMN.js} +17 -14
- package/dist/chunk-ORRI6FMN.js.map +1 -0
- package/dist/{chunk-UFLTL2RJ.js → chunk-PH36XEB3.js} +2 -2
- package/dist/{chunk-4LQZH4PU.js → chunk-PMOEG36E.js} +2 -2
- package/dist/{chunk-EXZSHZRS.js → chunk-PWZHCBG3.js} +3 -3
- package/dist/{chunk-EFVOT3G5.js → chunk-PZ7PU4AP.js} +2 -2
- package/dist/{chunk-I62ALI7F.js → chunk-Q73PTVNO.js} +2 -2
- package/dist/{chunk-V74PXUQN.js → chunk-QEG3P5D4.js} +9 -9
- package/dist/{chunk-7LIXQZBG.js → chunk-QI5CRSOW.js} +3 -3
- package/dist/{chunk-V3LOHY4N.js → chunk-QKPD322X.js} +2 -2
- package/dist/{chunk-HAQMKV5P.js → chunk-QXSW3CNN.js} +15 -9
- package/dist/chunk-QXSW3CNN.js.map +1 -0
- package/dist/{chunk-LMXWI3DD.js → chunk-QYY37ECA.js} +5 -2
- package/dist/chunk-QYY37ECA.js.map +1 -0
- package/dist/{chunk-VECWMANF.js → chunk-RDCHT2WN.js} +7 -4
- package/dist/chunk-RDCHT2WN.js.map +1 -0
- package/dist/{chunk-35ETD7ML.js → chunk-RIEV4VXF.js} +9 -5
- package/dist/chunk-RIEV4VXF.js.map +1 -0
- package/dist/{chunk-PWF32ILG.js → chunk-SJO3K7SB.js} +3 -3
- package/dist/{chunk-TU3EGIKB.js → chunk-SSS64KYB.js} +3 -3
- package/dist/{chunk-SQYC57ZN.js → chunk-SYN46YL6.js} +2 -2
- package/dist/{chunk-DHBYO7AO.js → chunk-TCV3N44E.js} +2 -2
- package/dist/{chunk-E6RYO4QZ.js → chunk-THMT3G3L.js} +21 -15
- package/dist/chunk-THMT3G3L.js.map +1 -0
- package/dist/{chunk-JCBIPBGZ.js → chunk-TU5A2CV7.js} +19 -12
- package/dist/chunk-TU5A2CV7.js.map +1 -0
- package/dist/{chunk-YESTO24O.js → chunk-TXEN3QJ4.js} +8 -3
- package/dist/chunk-TXEN3QJ4.js.map +1 -0
- package/dist/{chunk-DVGBFT6O.js → chunk-UAVSBSV5.js} +2 -2
- package/dist/{chunk-B7BNNSM2.js → chunk-UZ6AUTE6.js} +4 -4
- package/dist/{chunk-4WQ3YXQL.js → chunk-VT5HQ2AD.js} +2 -2
- package/dist/{chunk-IBGX6H4J.js → chunk-VURQZBFH.js} +8 -4
- package/dist/chunk-VURQZBFH.js.map +1 -0
- package/dist/{chunk-7BZTZ2WG.js → chunk-VY2BMSHN.js} +8 -7
- package/dist/chunk-VY2BMSHN.js.map +1 -0
- package/dist/{chunk-SX3MEC3Q.js → chunk-VZIB5W5L.js} +2 -2
- package/dist/{chunk-HC5ZSCRG.js → chunk-W5TI46QN.js} +18 -14
- package/dist/chunk-W5TI46QN.js.map +1 -0
- package/dist/{chunk-X2AKLDPW.js → chunk-WE3LJPRN.js} +2 -2
- package/dist/{chunk-SE6ERQY5.js → chunk-WVZBYTIK.js} +6 -2
- package/dist/chunk-WVZBYTIK.js.map +1 -0
- package/dist/{chunk-CSSCGM27.js → chunk-X3OWMTLO.js} +1 -2
- package/dist/chunk-X3OWMTLO.js.map +1 -0
- package/dist/{chunk-CMK4DJDR.js → chunk-XLTHZI5W.js} +28 -20
- package/dist/chunk-XLTHZI5W.js.map +1 -0
- package/dist/{chunk-FZ4YTEP2.js → chunk-XR46FSOH.js} +2 -2
- package/dist/{chunk-CJHP6E34.js → chunk-YAFBUYVW.js} +9 -6
- package/dist/chunk-YAFBUYVW.js.map +1 -0
- package/dist/{chunk-6DN4ZULV.js → chunk-YOKUDQIJ.js} +1 -2
- package/dist/chunk-YOKUDQIJ.js.map +1 -0
- package/dist/{chunk-GE2EKMDT.js → chunk-YZ2DMP23.js} +4 -4
- package/dist/{chunk-GE2EKMDT.js.map → chunk-YZ2DMP23.js.map} +1 -1
- package/dist/{chunk-65CEXQ4L.js → chunk-Z6WSW6B4.js} +11 -7
- package/dist/chunk-Z6WSW6B4.js.map +1 -0
- package/dist/{chunk-XWWFBH2G.js → chunk-ZXSWXE6U.js} +8 -5
- package/dist/chunk-ZXSWXE6U.js.map +1 -0
- package/dist/data-display/CardKit.js +4 -4
- package/dist/data-display/DataViews.js +54 -54
- package/dist/data-display/FleetMap.js +2 -2
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/NotificationStatusNotice.js +3 -3
- package/dist/form/AddressAutocomplete.js +6 -6
- package/dist/form/Autocomplete.js +3 -2
- package/dist/form/Button.js +2 -2
- package/dist/form/CategorySelect.js +10 -10
- package/dist/form/CepField.js +4 -4
- package/dist/form/Checkbox.js +1 -1
- package/dist/form/CodeEditor.js +2 -2
- package/dist/form/Command.js +4 -4
- package/dist/form/CreatableSelect.js +2 -2
- package/dist/form/DateRangePicker.js +2 -2
- package/dist/form/Form.js +1 -1
- package/dist/form/HeaderActions.js +1 -1
- package/dist/form/Input.js +3 -2
- package/dist/form/InputOTP.js +2 -2
- package/dist/form/Label.js +2 -2
- package/dist/form/Menubar.js +4 -4
- package/dist/form/PasswordStrength.js +1 -1
- package/dist/form/PhoneInput.js +1 -1
- package/dist/form/RadioGroup.js +4 -4
- package/dist/form/RichTextEditor.js +2 -2
- package/dist/form/SearchPalette.js +2 -2
- package/dist/form/Select.js +2 -1
- package/dist/form/Slider.js +3 -3
- package/dist/form/Switch.js +4 -4
- package/dist/form/Textarea.js +2 -2
- package/dist/form/Toggle.js +2 -2
- package/dist/form/ToggleGroup.js +1 -1
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +25 -25
- package/dist/layout/Dashboard.js +3 -3
- package/dist/navigation/AppHeader.js +3 -3
- package/dist/social-login-button.js +3 -3
- package/dist/types/components/form/AddressAutocomplete/AddressFallbackField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressInputField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressSuggestionsPaper.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressTextField.d.ts.map +1 -1
- package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.styles.d.ts +1 -1
- package/dist/types/components/form/Button/Button.styles.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelSurface.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryRows.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts +26 -24
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.helpers.d.ts +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.helpers.d.ts.map +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.hooks.d.ts +1 -1
- package/dist/types/components/form/Command/Command.hooks.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.parts.d.ts.map +1 -1
- package/dist/types/components/form/CreatableSelect/CreatableSelect.d.ts.map +1 -1
- package/dist/types/components/form/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/components/form/DateRangePicker/DateRangePickerQuickList.d.ts.map +1 -1
- package/dist/types/components/form/Form/Form.d.ts.map +1 -1
- package/dist/types/components/form/HeaderActions/HeaderActions.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.styles.d.ts.map +1 -1
- package/dist/types/components/form/Label/Label.styles.d.ts +2 -2
- package/dist/types/components/form/Label/Label.styles.d.ts.map +1 -1
- package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts +1 -1
- package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts.map +1 -1
- package/dist/types/components/form/PasswordStrength/PasswordStrength.d.ts.map +1 -1
- package/dist/types/components/form/RadioGroup/RadioGroup.animations.d.ts +3 -2
- package/dist/types/components/form/RadioGroup/RadioGroup.animations.d.ts.map +1 -1
- package/dist/types/components/form/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditorToolbar.d.ts.map +1 -1
- package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts +1 -1
- package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.d.ts.map +1 -1
- package/dist/types/components/form/Slider/Slider.animations.d.ts +2 -1
- package/dist/types/components/form/Slider/Slider.animations.d.ts.map +1 -1
- package/dist/types/components/form/Slider/Slider.styles.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.animations.d.ts +2 -1
- package/dist/types/components/form/Switch/Switch.animations.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.styles.d.ts +1 -1
- package/dist/types/components/form/Textarea/Textarea.styles.d.ts.map +1 -1
- package/dist/types/components/form/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/form/Toggle/Toggle.styles.d.ts.map +1 -1
- package/dist/types/components/form/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/types/components/form/UploadButton/UploadButton.parts.d.ts.map +1 -1
- package/dist/user-avatar.js +3 -3
- package/package.json +1 -1
- package/src/components/form/AddressAutocomplete/AddressFallbackField.tsx +5 -1
- package/src/components/form/AddressAutocomplete/AddressInputField.tsx +36 -29
- package/src/components/form/AddressAutocomplete/AddressSuggestionsPaper.tsx +4 -2
- package/src/components/form/AddressAutocomplete/AddressTextField.tsx +4 -3
- package/src/components/form/Autocomplete/Autocomplete.parts.tsx +10 -7
- package/src/components/form/Button/Button.styles.ts +28 -25
- package/src/components/form/Button/Button.tsx +2 -2
- package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +5 -4
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +13 -12
- package/src/components/form/CategorySelect/CategoryPanelList.tsx +3 -2
- package/src/components/form/CategorySelect/CategoryPanelSurface.tsx +2 -1
- package/src/components/form/CategorySelect/CategoryRows.tsx +4 -3
- package/src/components/form/CategorySelect/CategorySelect.styles.ts +98 -96
- package/src/components/form/CategorySelect/CategoryTrigger.tsx +5 -2
- package/src/components/form/Checkbox/Checkbox.tsx +21 -15
- package/src/components/form/CodeEditor/CodeEditor.helpers.ts +0 -2
- package/src/components/form/CodeEditor/CodeEditor.md +1 -1
- package/src/components/form/CodeEditor/CodeEditor.tsx +5 -5
- package/src/components/form/CodeEditor/CodeEditor.types.ts +1 -1
- package/src/components/form/Command/Command.hooks.ts +0 -2
- package/src/components/form/Command/Command.parts.tsx +7 -2
- package/src/components/form/Command/Command.styles.ts +11 -11
- package/src/components/form/Command/Command.tsx +14 -5
- package/src/components/form/CreatableSelect/CreatableSelect.tsx +12 -8
- package/src/components/form/DateRangePicker/DateRangePicker.tsx +10 -8
- package/src/components/form/DateRangePicker/DateRangePickerQuickList.tsx +8 -4
- package/src/components/form/Form/Form.tsx +6 -10
- package/src/components/form/HeaderActions/HeaderActions.tsx +2 -1
- package/src/components/form/Input/Input.styles.ts +17 -16
- package/src/components/form/Input/Input.tsx +4 -2
- package/src/components/form/InputOTP/InputOTP.styles.ts +3 -3
- package/src/components/form/Label/Label.styles.ts +8 -8
- package/src/components/form/Menubar/Menubar.item.tsx +2 -2
- package/src/components/form/Menubar/Menubar.styles.ts +13 -13
- package/src/components/form/Menubar/Menubar.toolbar.tsx +4 -2
- package/src/components/form/PasswordStrength/PasswordStrength.tsx +19 -18
- package/src/components/form/PhoneInput/PhoneInput.tsx +9 -9
- package/src/components/form/RadioGroup/RadioGroup.animations.ts +9 -6
- package/src/components/form/RadioGroup/RadioGroup.styles.ts +45 -43
- package/src/components/form/RichTextEditor/RichTextEditor.tsx +7 -6
- package/src/components/form/RichTextEditor/RichTextEditorToolbar.tsx +3 -1
- package/src/components/form/SearchPalette/SearchPalette.parts.tsx +8 -6
- package/src/components/form/Select/Select.tsx +14 -12
- package/src/components/form/Slider/Slider.animations.ts +7 -4
- package/src/components/form/Slider/Slider.styles.ts +43 -42
- package/src/components/form/Switch/Switch.animations.ts +7 -4
- package/src/components/form/Switch/Switch.parts.tsx +2 -2
- package/src/components/form/Switch/Switch.styles.ts +26 -22
- package/src/components/form/Textarea/Textarea.styles.ts +13 -12
- package/src/components/form/Textarea/Textarea.tsx +28 -22
- package/src/components/form/Textarea/TextareaRichEditor.tsx +10 -10
- package/src/components/form/Toggle/Toggle.styles.ts +29 -26
- package/src/components/form/Toggle/Toggle.tsx +5 -2
- package/src/components/form/ToggleGroup/ToggleGroup.tsx +18 -15
- package/src/components/form/UploadButton/UploadButton.parts.tsx +6 -5
- package/dist/chunk-2HVNPWFV.js.map +0 -1
- package/dist/chunk-2PBT2HQH.js.map +0 -1
- package/dist/chunk-35ETD7ML.js.map +0 -1
- package/dist/chunk-3A22SBIU.js.map +0 -1
- package/dist/chunk-4GYEIWQP.js.map +0 -1
- package/dist/chunk-5IXHJXJX.js.map +0 -1
- package/dist/chunk-5SJWDABY.js.map +0 -1
- package/dist/chunk-65CEXQ4L.js.map +0 -1
- package/dist/chunk-6DN4ZULV.js.map +0 -1
- package/dist/chunk-6M33XQLZ.js +0 -70
- package/dist/chunk-6M33XQLZ.js.map +0 -1
- package/dist/chunk-6SKXV236.js.map +0 -1
- package/dist/chunk-7BZTZ2WG.js.map +0 -1
- package/dist/chunk-7DN4UXJ3.js.map +0 -1
- package/dist/chunk-7EQCZO56.js.map +0 -1
- package/dist/chunk-AMTFP7QA.js.map +0 -1
- package/dist/chunk-BXAL7OIS.js.map +0 -1
- package/dist/chunk-CJHP6E34.js.map +0 -1
- package/dist/chunk-CMK4DJDR.js.map +0 -1
- package/dist/chunk-CSSCGM27.js.map +0 -1
- package/dist/chunk-CWDV64TD.js.map +0 -1
- package/dist/chunk-D2HKCPEH.js.map +0 -1
- package/dist/chunk-E6RYO4QZ.js.map +0 -1
- package/dist/chunk-EFV5QJNM.js.map +0 -1
- package/dist/chunk-HAQMKV5P.js.map +0 -1
- package/dist/chunk-HBICO6AX.js.map +0 -1
- package/dist/chunk-HC5ZSCRG.js.map +0 -1
- package/dist/chunk-IBGX6H4J.js.map +0 -1
- package/dist/chunk-J4NXTSJY.js.map +0 -1
- package/dist/chunk-JCBIPBGZ.js.map +0 -1
- package/dist/chunk-K7WSPGI7.js.map +0 -1
- package/dist/chunk-KH25WUSX.js.map +0 -1
- package/dist/chunk-LMXWI3DD.js.map +0 -1
- package/dist/chunk-LWRI6HGT.js.map +0 -1
- package/dist/chunk-NSJVQ5YJ.js.map +0 -1
- package/dist/chunk-OWA7GPWR.js.map +0 -1
- package/dist/chunk-PYIASGI7.js.map +0 -1
- package/dist/chunk-QY4XNTNG.js.map +0 -1
- package/dist/chunk-RQ5HZDBV.js.map +0 -1
- package/dist/chunk-SE6ERQY5.js.map +0 -1
- package/dist/chunk-ST4YYVUK.js.map +0 -1
- package/dist/chunk-TOXTJ7MU.js.map +0 -1
- package/dist/chunk-TQ2557I5.js.map +0 -1
- package/dist/chunk-TTAP5XFX.js.map +0 -1
- package/dist/chunk-U4H6MGVE.js.map +0 -1
- package/dist/chunk-VECWMANF.js.map +0 -1
- package/dist/chunk-WNUZK7NS.js.map +0 -1
- package/dist/chunk-WVC3BG6J.js.map +0 -1
- package/dist/chunk-XLYFOBBT.js.map +0 -1
- package/dist/chunk-XWWFBH2G.js.map +0 -1
- package/dist/chunk-YESTO24O.js.map +0 -1
- package/dist/chunk-YH37X6JT.js.map +0 -1
- /package/dist/{chunk-343OLRFT.js.map → chunk-2BIVCYTO.js.map} +0 -0
- /package/dist/{chunk-PNLM35GU.js.map → chunk-2JNHWKQK.js.map} +0 -0
- /package/dist/{chunk-IWOVENC3.js.map → chunk-2XX45PC5.js.map} +0 -0
- /package/dist/{chunk-RZ2C5CAW.js.map → chunk-2ZIHZLF5.js.map} +0 -0
- /package/dist/{chunk-ZW5K4XCQ.js.map → chunk-34BZXJGT.js.map} +0 -0
- /package/dist/{chunk-CHFHILTM.js.map → chunk-35S6QI5G.js.map} +0 -0
- /package/dist/{chunk-KCAW6HRO.js.map → chunk-3AOQBR7N.js.map} +0 -0
- /package/dist/{chunk-GVLZZCSX.js.map → chunk-4B5XUQQS.js.map} +0 -0
- /package/dist/{chunk-ADHMNIWS.js.map → chunk-4CXEWFKO.js.map} +0 -0
- /package/dist/{chunk-JJSZP3TW.js.map → chunk-57JLS55D.js.map} +0 -0
- /package/dist/{chunk-ZZM3DOEK.js.map → chunk-5HDYTTE7.js.map} +0 -0
- /package/dist/{chunk-GEXM6DNR.js.map → chunk-5KGABAQB.js.map} +0 -0
- /package/dist/{chunk-D5X4FRYX.js.map → chunk-6JNQLW5L.js.map} +0 -0
- /package/dist/{chunk-KJK2Q35C.js.map → chunk-75LOTMSN.js.map} +0 -0
- /package/dist/{chunk-A6AKFPIQ.js.map → chunk-7EH4D6FU.js.map} +0 -0
- /package/dist/{chunk-7ZG7T2YN.js.map → chunk-7GHYCQCJ.js.map} +0 -0
- /package/dist/{chunk-QIKPGMMO.js.map → chunk-AER4245J.js.map} +0 -0
- /package/dist/{chunk-4CTLEUK3.js.map → chunk-AYLEZM6T.js.map} +0 -0
- /package/dist/{chunk-JFBEZXNL.js.map → chunk-BAQBUKDU.js.map} +0 -0
- /package/dist/{chunk-RKI3MRKX.js.map → chunk-BW62QQAG.js.map} +0 -0
- /package/dist/{chunk-UL7L6MFT.js.map → chunk-C55AWF3U.js.map} +0 -0
- /package/dist/{chunk-GGWICBJD.js.map → chunk-CPAJYJUD.js.map} +0 -0
- /package/dist/{chunk-5TJRJSJY.js.map → chunk-CQLPDY2J.js.map} +0 -0
- /package/dist/{chunk-5UTAEHSB.js.map → chunk-CQPFSEJB.js.map} +0 -0
- /package/dist/{chunk-SN2YMCTL.js.map → chunk-CS3KOKL3.js.map} +0 -0
- /package/dist/{chunk-FXNYV5Z6.js.map → chunk-F6D6HXZU.js.map} +0 -0
- /package/dist/{chunk-TQBRWZA4.js.map → chunk-FFOQZRFC.js.map} +0 -0
- /package/dist/{chunk-GXCOXJS3.js.map → chunk-FNG33MKA.js.map} +0 -0
- /package/dist/{chunk-GW64UQXI.js.map → chunk-GHXFCMFP.js.map} +0 -0
- /package/dist/{chunk-L3B36HA5.js.map → chunk-GRDPGHQJ.js.map} +0 -0
- /package/dist/{chunk-6SS5C74Q.js.map → chunk-GS3RP2QE.js.map} +0 -0
- /package/dist/{chunk-B2VXP2B2.js.map → chunk-GZT7MLLO.js.map} +0 -0
- /package/dist/{chunk-AK2HOD6B.js.map → chunk-H5BEWPEY.js.map} +0 -0
- /package/dist/{chunk-DY4BP5WA.js.map → chunk-HNPWZ3W2.js.map} +0 -0
- /package/dist/{chunk-SYVNWXVW.js.map → chunk-HU7TX7RB.js.map} +0 -0
- /package/dist/{chunk-WPA26LXA.js.map → chunk-IKLOIONQ.js.map} +0 -0
- /package/dist/{chunk-DMWSXWCZ.js.map → chunk-JL75FJRG.js.map} +0 -0
- /package/dist/{chunk-ZAFFKQQU.js.map → chunk-JLQGRZMN.js.map} +0 -0
- /package/dist/{chunk-ZMC3N23A.js.map → chunk-JSD5TFDK.js.map} +0 -0
- /package/dist/{chunk-NE6XUN5Z.js.map → chunk-JU4MSYYH.js.map} +0 -0
- /package/dist/{chunk-YBTC4XNO.js.map → chunk-LT4NEKXB.js.map} +0 -0
- /package/dist/{chunk-6KL2CJBO.js.map → chunk-MNHIK2OR.js.map} +0 -0
- /package/dist/{chunk-JFEEV3XI.js.map → chunk-NB3FGWU4.js.map} +0 -0
- /package/dist/{chunk-2UCLUDEB.js.map → chunk-NCPWLHZT.js.map} +0 -0
- /package/dist/{chunk-DZNMS2SH.js.map → chunk-NDNYD4FG.js.map} +0 -0
- /package/dist/{chunk-UFLTL2RJ.js.map → chunk-PH36XEB3.js.map} +0 -0
- /package/dist/{chunk-4LQZH4PU.js.map → chunk-PMOEG36E.js.map} +0 -0
- /package/dist/{chunk-EXZSHZRS.js.map → chunk-PWZHCBG3.js.map} +0 -0
- /package/dist/{chunk-EFVOT3G5.js.map → chunk-PZ7PU4AP.js.map} +0 -0
- /package/dist/{chunk-I62ALI7F.js.map → chunk-Q73PTVNO.js.map} +0 -0
- /package/dist/{chunk-V74PXUQN.js.map → chunk-QEG3P5D4.js.map} +0 -0
- /package/dist/{chunk-7LIXQZBG.js.map → chunk-QI5CRSOW.js.map} +0 -0
- /package/dist/{chunk-V3LOHY4N.js.map → chunk-QKPD322X.js.map} +0 -0
- /package/dist/{chunk-PWF32ILG.js.map → chunk-SJO3K7SB.js.map} +0 -0
- /package/dist/{chunk-TU3EGIKB.js.map → chunk-SSS64KYB.js.map} +0 -0
- /package/dist/{chunk-SQYC57ZN.js.map → chunk-SYN46YL6.js.map} +0 -0
- /package/dist/{chunk-DHBYO7AO.js.map → chunk-TCV3N44E.js.map} +0 -0
- /package/dist/{chunk-DVGBFT6O.js.map → chunk-UAVSBSV5.js.map} +0 -0
- /package/dist/{chunk-B7BNNSM2.js.map → chunk-UZ6AUTE6.js.map} +0 -0
- /package/dist/{chunk-4WQ3YXQL.js.map → chunk-VT5HQ2AD.js.map} +0 -0
- /package/dist/{chunk-SX3MEC3Q.js.map → chunk-VZIB5W5L.js.map} +0 -0
- /package/dist/{chunk-X2AKLDPW.js.map → chunk-WE3LJPRN.js.map} +0 -0
- /package/dist/{chunk-FZ4YTEP2.js.map → chunk-XR46FSOH.js.map} +0 -0
|
@@ -13,9 +13,10 @@ import {
|
|
|
13
13
|
import type { InputProps } from './Input.types';
|
|
14
14
|
|
|
15
15
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
16
|
-
import { fieldHeight } from '../../../tokens/field-height';
|
|
16
|
+
import { FIELD_BORDER_WIDTH, fieldHeight } from '../../../tokens/field-height';
|
|
17
17
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
18
18
|
import { absoluteInk } from '../../../tokens/ink';
|
|
19
|
+
import { rem } from '../../../tokens/relative';
|
|
19
20
|
import type { SizeValue } from '../../../tokens/vocabulary';
|
|
20
21
|
|
|
21
22
|
type InputVariant = NonNullable<InputProps['variant']>;
|
|
@@ -24,14 +25,14 @@ type InputVariant = NonNullable<InputProps['variant']>;
|
|
|
24
25
|
// reads too — see its header for why MUI's own values are in there as well.
|
|
25
26
|
export { muiVariantFor, SIZE_MAP } from './Input.metrics';
|
|
26
27
|
|
|
27
|
-
//
|
|
28
|
-
const pulseAnimation = keyframes`
|
|
28
|
+
// The pulse ring, its spread through the theme's type scale.
|
|
29
|
+
const pulseAnimation = (theme: Theme) => keyframes`
|
|
29
30
|
0% {
|
|
30
31
|
box-shadow: 0 0 0 0 currentColor;
|
|
31
32
|
opacity: 1;
|
|
32
33
|
}
|
|
33
34
|
70% {
|
|
34
|
-
box-shadow: 0 0 0 ${INPUT_PULSE.spread}
|
|
35
|
+
box-shadow: 0 0 0 ${rem(theme, INPUT_PULSE.spread)} currentColor;
|
|
35
36
|
opacity: 0;
|
|
36
37
|
}
|
|
37
38
|
100% {
|
|
@@ -42,9 +43,9 @@ const pulseAnimation = keyframes`
|
|
|
42
43
|
|
|
43
44
|
export const glowStyles = (theme: Theme): CSSObject => ({
|
|
44
45
|
'& .MuiInputBase-root': {
|
|
45
|
-
boxShadow: `0 0 ${INPUT_GLOW.rest.blur}
|
|
46
|
+
boxShadow: `0 0 ${rem(theme, INPUT_GLOW.rest.blur)} ${alpha(theme.palette.primary.main, INPUT_GLOW.rest.alpha)}`,
|
|
46
47
|
'&.Mui-focused': {
|
|
47
|
-
boxShadow: `0 0 ${INPUT_GLOW.focused.blur}
|
|
48
|
+
boxShadow: `0 0 ${rem(theme, INPUT_GLOW.focused.blur)} ${alpha(theme.palette.primary.main, INPUT_GLOW.focused.alpha)}`,
|
|
48
49
|
},
|
|
49
50
|
},
|
|
50
51
|
});
|
|
@@ -63,7 +64,7 @@ export const pulseStyles = (theme: Theme, size: SizeValue = 'md'): CSSObject =>
|
|
|
63
64
|
borderRadius: fieldRadius(theme),
|
|
64
65
|
backgroundColor: theme.palette.primary.main,
|
|
65
66
|
opacity: INPUT_PULSE.opacity,
|
|
66
|
-
animation: `${pulseAnimation} ${INPUT_PULSE.ms / 1000}s infinite`,
|
|
67
|
+
animation: `${pulseAnimation(theme)} ${INPUT_PULSE.ms / 1000}s infinite`,
|
|
67
68
|
pointerEvents: 'none',
|
|
68
69
|
zIndex: -1,
|
|
69
70
|
},
|
|
@@ -71,11 +72,11 @@ export const pulseStyles = (theme: Theme, size: SizeValue = 'md'): CSSObject =>
|
|
|
71
72
|
|
|
72
73
|
export const floatingLabelStyles = (theme: Theme): CSSObject => ({
|
|
73
74
|
'& .MuiInputLabel-root': {
|
|
74
|
-
transform: `translate(${FLOATING_LABEL.rest.x}
|
|
75
|
+
transform: `translate(${rem(theme, FLOATING_LABEL.rest.x)}, ${rem(theme, FLOATING_LABEL.rest.y)}) scale(1)`,
|
|
75
76
|
'&.MuiInputLabel-shrink': {
|
|
76
|
-
transform: `translate(${FLOATING_LABEL.shrink.x}
|
|
77
|
+
transform: `translate(${rem(theme, FLOATING_LABEL.shrink.x)}, ${rem(theme, FLOATING_LABEL.shrink.y)}) scale(${FLOATING_LABEL.scale})`,
|
|
77
78
|
backgroundColor: theme.palette.background.paper,
|
|
78
|
-
padding: `0 ${FLOATING_LABEL.paddingX}
|
|
79
|
+
padding: `0 ${rem(theme, FLOATING_LABEL.paddingX)}`,
|
|
79
80
|
},
|
|
80
81
|
},
|
|
81
82
|
});
|
|
@@ -97,8 +98,8 @@ export const inputBaseStyles = (theme: Theme, variant?: InputVariant): CSSObject
|
|
|
97
98
|
case 'glass':
|
|
98
99
|
return {
|
|
99
100
|
backgroundColor: alpha(theme.palette.background.paper, INPUT_GLASS.background.rest),
|
|
100
|
-
backdropFilter: `blur(${INPUT_GLASS.blur}
|
|
101
|
-
border: `${
|
|
101
|
+
backdropFilter: `blur(${rem(theme, INPUT_GLASS.blur)})`,
|
|
102
|
+
border: `${FIELD_BORDER_WIDTH}px solid ${fieldEdge(theme)}`,
|
|
102
103
|
'&:hover': {
|
|
103
104
|
backgroundColor: alpha(theme.palette.background.paper, INPUT_GLASS.background.hover),
|
|
104
105
|
borderColor: alpha(theme.palette.primary.main, INPUT_GLASS.hoverBorderAlpha),
|
|
@@ -106,7 +107,7 @@ export const inputBaseStyles = (theme: Theme, variant?: InputVariant): CSSObject
|
|
|
106
107
|
'&.Mui-focused': {
|
|
107
108
|
backgroundColor: alpha(theme.palette.background.paper, INPUT_GLASS.background.focused),
|
|
108
109
|
borderColor: theme.palette.primary.main,
|
|
109
|
-
boxShadow: `0 0 0 ${INPUT_GLASS.focusRing.width}
|
|
110
|
+
boxShadow: `0 0 0 ${rem(theme, INPUT_GLASS.focusRing.width)} ${alpha(theme.palette.primary.main, INPUT_GLASS.focusRing.alpha)}`,
|
|
110
111
|
},
|
|
111
112
|
};
|
|
112
113
|
case 'underline':
|
|
@@ -136,7 +137,7 @@ const gradientFill = (theme: Theme, strength: number): string =>
|
|
|
136
137
|
// since CSS cannot put a gradient on `border-color` directly.
|
|
137
138
|
const gradientStyles = (theme: Theme): CSSObject => ({
|
|
138
139
|
background: gradientFill(theme, INPUT_GRADIENT.fill.rest),
|
|
139
|
-
border: `${INPUT_GRADIENT.borderWidth}
|
|
140
|
+
border: `${rem(theme, INPUT_GRADIENT.borderWidth)} solid transparent`,
|
|
140
141
|
backgroundOrigin: 'border-box',
|
|
141
142
|
backgroundClip: 'padding-box, border-box',
|
|
142
143
|
position: 'relative',
|
|
@@ -151,7 +152,7 @@ const gradientStyles = (theme: Theme): CSSObject => ({
|
|
|
151
152
|
background: `linear-gradient(${INPUT_GRADIENT.angleDeg}deg, ${theme.palette.primary.main}, ${theme.palette.secondary.main})`,
|
|
152
153
|
mask: `linear-gradient(${absoluteInk(theme).white} 0 0) content-box, linear-gradient(${absoluteInk(theme).white} 0 0)`,
|
|
153
154
|
maskComposite: 'exclude',
|
|
154
|
-
padding:
|
|
155
|
+
padding: rem(theme, INPUT_GRADIENT.borderWidth),
|
|
155
156
|
zIndex: -1,
|
|
156
157
|
},
|
|
157
158
|
'&:hover': {
|
|
@@ -174,7 +175,7 @@ export const outlinedStyles = (theme: Theme): CSSObject => ({
|
|
|
174
175
|
},
|
|
175
176
|
'&.Mui-focused fieldset': {
|
|
176
177
|
borderColor: theme.palette.primary.main,
|
|
177
|
-
borderWidth: INPUT_BORDER.focused,
|
|
178
|
+
borderWidth: rem(theme, INPUT_BORDER.focused),
|
|
178
179
|
},
|
|
179
180
|
'&.Mui-error fieldset': {
|
|
180
181
|
borderColor: theme.palette.error.main,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CircularProgress from '@mui/material/CircularProgress/index.js';
|
|
2
2
|
import InputAdornment from '@mui/material/InputAdornment/index.js';
|
|
3
|
-
import { styled } from '@mui/material/styles/index.js';
|
|
3
|
+
import { styled, useTheme } from '@mui/material/styles/index.js';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
6
|
import { INPUT_LOADING } from './Input.metrics';
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
import type { InputProps } from './Input.types';
|
|
21
21
|
import { splitTestId } from '../../../platform/test-id';
|
|
22
22
|
import { fieldControlStyles } from '../../../tokens/field-height';
|
|
23
|
+
import { rem } from '../../../tokens/relative';
|
|
23
24
|
import type { SizeValue } from '../../../tokens/vocabulary';
|
|
24
25
|
|
|
25
26
|
/**
|
|
@@ -64,10 +65,11 @@ const EndAdornment: React.FC<{ loading: boolean; endAdornment?: React.ReactNode
|
|
|
64
65
|
loading,
|
|
65
66
|
endAdornment,
|
|
66
67
|
}) => {
|
|
68
|
+
const theme = useTheme();
|
|
67
69
|
if (loading) {
|
|
68
70
|
return (
|
|
69
71
|
<InputAdornment position="end">
|
|
70
|
-
<CircularProgress size={INPUT_LOADING.spinnerSize} />
|
|
72
|
+
<CircularProgress size={rem(theme, INPUT_LOADING.spinnerSize)} />
|
|
71
73
|
</InputAdornment>
|
|
72
74
|
);
|
|
73
75
|
}
|
|
@@ -84,19 +84,19 @@ export const otpSlotSx = (theme: Theme, flags: OtpSlotFlags): CSSObject => {
|
|
|
84
84
|
borderRadius: fieldRadius(theme),
|
|
85
85
|
...(glass && {
|
|
86
86
|
backgroundColor: alpha(theme.palette.background.paper, 0.1),
|
|
87
|
-
backdropFilter:
|
|
87
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
88
88
|
'& fieldset': { border: `1px solid ${fieldEdge(theme)}` },
|
|
89
89
|
}),
|
|
90
90
|
...(gradient && {
|
|
91
91
|
'&.Mui-focused fieldset': {
|
|
92
92
|
background: `linear-gradient(135deg, ${palette.main}, ${palette.light})`,
|
|
93
|
-
borderWidth:
|
|
93
|
+
borderWidth: rem(theme, 2),
|
|
94
94
|
},
|
|
95
95
|
}),
|
|
96
96
|
'& input': { textAlign: 'center', padding: 0, fontWeight: 'inherit' },
|
|
97
97
|
...(!glass && { '& fieldset': { borderColor: fieldEdge(theme) } }),
|
|
98
98
|
'&:hover fieldset': { borderColor: palette.main },
|
|
99
|
-
'&.Mui-focused fieldset': { borderColor: palette.main, borderWidth:
|
|
99
|
+
'&.Mui-focused fieldset': { borderColor: palette.main, borderWidth: rem(theme, 2) },
|
|
100
100
|
},
|
|
101
101
|
};
|
|
102
102
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { alpha } from '@mui/material/styles/index.js';
|
|
2
|
-
import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
import type { CSSObject, SxProps, Theme } from '@mui/material/styles/index.js';
|
|
3
3
|
|
|
4
4
|
import type { LabelProps } from './Label.types';
|
|
5
|
-
import { accentFor, rem } from '../../../tokens/scales';
|
|
5
|
+
import { accentFor, rem, sxRem } from '../../../tokens/scales';
|
|
6
6
|
|
|
7
7
|
type Size = NonNullable<LabelProps['size']>;
|
|
8
8
|
type Variant = NonNullable<LabelProps['variant']>;
|
|
@@ -108,7 +108,7 @@ const SURFACES: Record<Variant, (input: SurfaceInput) => CSSObject> = {
|
|
|
108
108
|
|
|
109
109
|
glass: ({ theme, flags }) => ({
|
|
110
110
|
backgroundColor: alpha(theme.palette.background.paper, 0.1),
|
|
111
|
-
backdropFilter:
|
|
111
|
+
backdropFilter: `blur(${rem(theme, 10)})`,
|
|
112
112
|
border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,
|
|
113
113
|
borderRadius: theme.spacing(0.5),
|
|
114
114
|
'&:hover': flags.clickable
|
|
@@ -181,7 +181,7 @@ export const labelStyles = (theme: Theme, flags: LabelStyleFlags): CSSObject =>
|
|
|
181
181
|
...textLayout(theme, flags),
|
|
182
182
|
...sizeStyles(theme, size),
|
|
183
183
|
color,
|
|
184
|
-
...(flags.glow && { textShadow: `0 0
|
|
184
|
+
...(flags.glow && { textShadow: `0 0 ${rem(theme, 10)} ${alpha(accent, 0.5)}` }),
|
|
185
185
|
...(flags.pulse && {
|
|
186
186
|
animation: 'pulse 2s infinite',
|
|
187
187
|
'@keyframes pulse': {
|
|
@@ -196,12 +196,12 @@ export const labelStyles = (theme: Theme, flags: LabelStyleFlags): CSSObject =>
|
|
|
196
196
|
};
|
|
197
197
|
|
|
198
198
|
/** Visually hidden but still read aloud, for the `srOnly` label. */
|
|
199
|
-
export const SR_ONLY_SX:
|
|
199
|
+
export const SR_ONLY_SX: SxProps<Theme> = {
|
|
200
200
|
position: 'absolute',
|
|
201
|
-
width:
|
|
202
|
-
height:
|
|
201
|
+
width: sxRem(1),
|
|
202
|
+
height: sxRem(1),
|
|
203
203
|
padding: 0,
|
|
204
|
-
margin:
|
|
204
|
+
margin: sxRem(-1),
|
|
205
205
|
overflow: 'hidden',
|
|
206
206
|
clip: 'rect(0, 0, 0, 0)',
|
|
207
207
|
whiteSpace: 'nowrap',
|
|
@@ -43,7 +43,7 @@ const DropdownItem: React.FC<{ child: MenubarItem; onActivate: (item: MenubarIte
|
|
|
43
43
|
label={child.shortcut}
|
|
44
44
|
size="small"
|
|
45
45
|
variant="outlined"
|
|
46
|
-
sx={{ ml: 2, height: 20, fontSize: sxRem(11.2) }}
|
|
46
|
+
sx={{ ml: 2, height: sxRem(20), fontSize: sxRem(11.2) }}
|
|
47
47
|
/>
|
|
48
48
|
)}
|
|
49
49
|
</MenuItem>
|
|
@@ -108,7 +108,7 @@ export const MenubarItemView: React.FC<MenubarItemViewProps> = ({
|
|
|
108
108
|
open={isOpen}
|
|
109
109
|
onClose={onClose}
|
|
110
110
|
autoFocus
|
|
111
|
-
PaperProps={{ sx: { minWidth: 200, mt: 1 } }}
|
|
111
|
+
PaperProps={{ sx: { minWidth: sxRem(200), mt: 1 } }}
|
|
112
112
|
>
|
|
113
113
|
{item.children?.map((child) => (
|
|
114
114
|
<DropdownItem key={child.id} child={child} onActivate={onActivate} />
|
|
@@ -9,11 +9,11 @@ type Variant = NonNullable<MenubarProps['variant']>;
|
|
|
9
9
|
type Color = NonNullable<MenubarProps['color']>;
|
|
10
10
|
|
|
11
11
|
const SIZES: Record<Size, (theme: Theme) => CSSObject> = {
|
|
12
|
-
xs: (theme) => ({ minHeight: 40, fontSize: rem(theme, 12), padding: theme.spacing(0.5, 1) }),
|
|
13
|
-
sm: (theme) => ({ minHeight: 48, fontSize: rem(theme, 14), padding: theme.spacing(0.75, 1.5) }),
|
|
14
|
-
md: (theme) => ({ minHeight: 56, fontSize: rem(theme, 16), padding: theme.spacing(1, 2) }),
|
|
15
|
-
lg: (theme) => ({ minHeight: 64, fontSize: rem(theme, 18), padding: theme.spacing(1.25, 2.5) }),
|
|
16
|
-
xl: (theme) => ({ minHeight: 72, fontSize: rem(theme, 20), padding: theme.spacing(1.5, 3) }),
|
|
12
|
+
xs: (theme) => ({ minHeight: rem(theme, 40), fontSize: rem(theme, 12), padding: theme.spacing(0.5, 1) }),
|
|
13
|
+
sm: (theme) => ({ minHeight: rem(theme, 48), fontSize: rem(theme, 14), padding: theme.spacing(0.75, 1.5) }),
|
|
14
|
+
md: (theme) => ({ minHeight: rem(theme, 56), fontSize: rem(theme, 16), padding: theme.spacing(1, 2) }),
|
|
15
|
+
lg: (theme) => ({ minHeight: rem(theme, 64), fontSize: rem(theme, 18), padding: theme.spacing(1.25, 2.5) }),
|
|
16
|
+
xl: (theme) => ({ minHeight: rem(theme, 72), fontSize: rem(theme, 20), padding: theme.spacing(1.5, 3) }),
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export const sizeStyles = (theme: Theme, size: Size): CSSObject =>
|
|
@@ -53,7 +53,7 @@ interface MenubarStyleFlags {
|
|
|
53
53
|
const SURFACES: Record<Variant, (theme: Theme, flags: MenubarStyleFlags) => CSSObject> = {
|
|
54
54
|
glass: (theme, { glass }) => ({
|
|
55
55
|
backgroundColor: alpha(theme.palette.background.paper, glass ? 0.1 : 0.8),
|
|
56
|
-
backdropFilter:
|
|
56
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
57
57
|
borderBottom: `1px solid ${alpha(theme.palette.divider, 0.1)}`,
|
|
58
58
|
}),
|
|
59
59
|
|
|
@@ -69,24 +69,24 @@ const SURFACES: Record<Variant, (theme: Theme, flags: MenubarStyleFlags) => CSSO
|
|
|
69
69
|
},
|
|
70
70
|
|
|
71
71
|
elevated: (theme, { blur, elevation }) => ({
|
|
72
|
-
...(blur && { backdropFilter:
|
|
72
|
+
...(blur && { backdropFilter: `blur(${rem(theme, 10)})` }),
|
|
73
73
|
boxShadow: theme.shadows[elevation],
|
|
74
74
|
}),
|
|
75
75
|
|
|
76
|
-
minimal: (
|
|
77
|
-
...(blur && { backdropFilter:
|
|
76
|
+
minimal: (theme, { blur }) => ({
|
|
77
|
+
...(blur && { backdropFilter: `blur(${rem(theme, 10)})` }),
|
|
78
78
|
boxShadow: 'none',
|
|
79
79
|
borderBottom: 'none',
|
|
80
80
|
}),
|
|
81
81
|
|
|
82
82
|
bordered: (theme, { blur, color }) => ({
|
|
83
|
-
...(blur && { backdropFilter:
|
|
84
|
-
borderBottom:
|
|
83
|
+
...(blur && { backdropFilter: `blur(${rem(theme, 10)})` }),
|
|
84
|
+
borderBottom: `${rem(theme, 2)} solid ${
|
|
85
85
|
color === 'neutral' ? theme.palette.divider : accentFor(theme, color).main
|
|
86
86
|
}`,
|
|
87
87
|
}),
|
|
88
88
|
|
|
89
|
-
default: (
|
|
89
|
+
default: (theme, { blur }) => ({ ...(blur && { backdropFilter: `blur(${rem(theme, 10)})` }) }),
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
export const barStyles = (theme: Theme, flags: MenubarStyleFlags): CSSObject => {
|
|
@@ -98,7 +98,7 @@ export const barStyles = (theme: Theme, flags: MenubarStyleFlags): CSSObject =>
|
|
|
98
98
|
}),
|
|
99
99
|
...sizeStyles(theme, size),
|
|
100
100
|
...colorStyles(theme, color, transparent),
|
|
101
|
-
...(glow && { boxShadow: `0 0
|
|
101
|
+
...(glow && { boxShadow: `0 0 ${rem(theme, 20)} ${alpha(accentOf(theme, color), 0.4)}` }),
|
|
102
102
|
...(pulse && {
|
|
103
103
|
animation: 'pulse 2s infinite',
|
|
104
104
|
'@keyframes pulse': {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import Box from '@mui/material/Box/index.js';
|
|
2
2
|
import CircularProgress from '@mui/material/CircularProgress/index.js';
|
|
3
3
|
import Toolbar from '@mui/material/Toolbar/index.js';
|
|
4
|
-
import type
|
|
4
|
+
import { useTheme, type CSSObject } from '@mui/material/styles/index.js';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
7
|
import { MenubarItemView } from './Menubar.item';
|
|
8
8
|
import { MenubarSeparator } from './Menubar.separator';
|
|
9
9
|
import type { MenubarItem, MenubarProps } from './Menubar.types';
|
|
10
|
+
import { rem } from '../../../tokens/relative';
|
|
10
11
|
|
|
11
12
|
export interface MenubarToolbarProps {
|
|
12
13
|
ariaLabel: string;
|
|
@@ -52,6 +53,7 @@ export const MenubarToolbar: React.FC<MenubarToolbarProps> = ({
|
|
|
52
53
|
onFocus,
|
|
53
54
|
onBlur,
|
|
54
55
|
}) => {
|
|
56
|
+
const theme = useTheme();
|
|
55
57
|
const isVertical = orientation === 'vertical';
|
|
56
58
|
|
|
57
59
|
return (
|
|
@@ -69,7 +71,7 @@ export const MenubarToolbar: React.FC<MenubarToolbarProps> = ({
|
|
|
69
71
|
{logo && <Box sx={{ mr: 2, display: 'flex', alignItems: 'center' }}>{logo}</Box>}
|
|
70
72
|
|
|
71
73
|
{loading ? (
|
|
72
|
-
<CircularProgress size={20} color="inherit" />
|
|
74
|
+
<CircularProgress size={rem(theme, 20)} color="inherit" />
|
|
73
75
|
) : (
|
|
74
76
|
<Box
|
|
75
77
|
sx={{
|
|
@@ -7,6 +7,7 @@ import Fade from '@mui/material/Fade/index.js';
|
|
|
7
7
|
import LinearProgress from '@mui/material/LinearProgress/index.js';
|
|
8
8
|
import Stack from '@mui/material/Stack/index.js';
|
|
9
9
|
import Typography from '@mui/material/Typography/index.js';
|
|
10
|
+
import type { Theme } from '@mui/material/styles/index.js';
|
|
10
11
|
import { alpha, keyframes, styled, useTheme } from '@mui/material/styles/index.js';
|
|
11
12
|
import type { FC} from 'react';
|
|
12
13
|
import React, { useMemo } from 'react';
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
SuggestionsList } from './PasswordStrength.helpers';
|
|
23
24
|
import type { PasswordRequirements, PasswordStrengthProps } from './PasswordStrength.types';
|
|
24
25
|
import type { PasswordStrengthCopy } from '../../../copy';
|
|
25
|
-
import { rem } from '../../../tokens/relative';
|
|
26
|
+
import { rem, rems, sxRem } from '../../../tokens/relative';
|
|
26
27
|
|
|
27
28
|
interface RequirementIconProps {
|
|
28
29
|
met: boolean;
|
|
@@ -46,9 +47,9 @@ const pulseAnimation = keyframes`
|
|
|
46
47
|
}
|
|
47
48
|
`;
|
|
48
49
|
|
|
49
|
-
const slideInAnimation = keyframes`
|
|
50
|
+
const slideInAnimation = (theme: Theme) => keyframes`
|
|
50
51
|
from {
|
|
51
|
-
transform: translateX(-
|
|
52
|
+
transform: translateX(${rem(theme, -10)});
|
|
52
53
|
opacity: 0;
|
|
53
54
|
}
|
|
54
55
|
to {
|
|
@@ -63,8 +64,8 @@ const StrengthContainer = styled(Box, {
|
|
|
63
64
|
width: '100%',
|
|
64
65
|
padding: theme.spacing(2),
|
|
65
66
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.8)} 0%, ${alpha(theme.palette.background.paper, 0.6)} 100%)`,
|
|
66
|
-
backdropFilter:
|
|
67
|
-
WebkitBackdropFilter:
|
|
67
|
+
backdropFilter: `blur(${rem(theme, 10)})`,
|
|
68
|
+
WebkitBackdropFilter: `blur(${rem(theme, 10)})`,
|
|
68
69
|
border: `1px solid ${alpha(theme.palette.divider, 0.18)}`,
|
|
69
70
|
borderRadius: theme.shape.borderRadius * 2,
|
|
70
71
|
transition: animated ? 'all 0.3s ease' : 'none' }));
|
|
@@ -85,14 +86,14 @@ const StrengthBar = styled(LinearProgress, {
|
|
|
85
86
|
};
|
|
86
87
|
|
|
87
88
|
return {
|
|
88
|
-
height: 8,
|
|
89
|
-
borderRadius: 4,
|
|
89
|
+
height: rem(theme, 8),
|
|
90
|
+
borderRadius: rem(theme, 4),
|
|
90
91
|
backgroundColor: alpha(theme.palette.action.disabled, 0.1),
|
|
91
92
|
'& .MuiLinearProgress-bar': {
|
|
92
|
-
borderRadius: 4,
|
|
93
|
+
borderRadius: rem(theme, 4),
|
|
93
94
|
background: getGradient(),
|
|
94
95
|
transition: animated ? 'all 0.3s ease' : 'none',
|
|
95
|
-
boxShadow: `0
|
|
96
|
+
boxShadow: `0 ${rems(theme, 2, 8)} ${alpha(getColor(), 0.3)}` } };
|
|
96
97
|
});
|
|
97
98
|
|
|
98
99
|
const RequirementItem = styled(Box, {
|
|
@@ -106,7 +107,7 @@ const RequirementItem = styled(Box, {
|
|
|
106
107
|
? alpha(theme.palette.success.main, 0.08)
|
|
107
108
|
: alpha(theme.palette.action.disabled, 0.04),
|
|
108
109
|
transition: animated ? 'all 0.3s ease' : 'none',
|
|
109
|
-
animation: animated ? `${slideInAnimation} 0.3s ease` : 'none',
|
|
110
|
+
animation: animated ? `${slideInAnimation(theme)} 0.3s ease` : 'none',
|
|
110
111
|
'& svg': {
|
|
111
112
|
fontSize: rem(theme, 16),
|
|
112
113
|
color: met ? theme.palette.success.main : theme.palette.text.disabled } }));
|
|
@@ -140,15 +141,15 @@ const Step = styled(Box, {
|
|
|
140
141
|
shouldForwardProp: (prop) => prop !== 'active' && prop !== 'completed' && prop !== 'animated' })<{ active: boolean; completed: boolean; animated?: boolean }>(
|
|
141
142
|
({ theme, active, completed, animated }) => ({
|
|
142
143
|
flex: 1,
|
|
143
|
-
height: 6,
|
|
144
|
-
borderRadius: 3,
|
|
144
|
+
height: rem(theme, 6),
|
|
145
|
+
borderRadius: rem(theme, 3),
|
|
145
146
|
background: completed
|
|
146
147
|
? `linear-gradient(90deg, ${theme.palette.success.main} 0%, ${theme.palette.success.light} 100%)`
|
|
147
148
|
: active
|
|
148
149
|
? `linear-gradient(90deg, ${theme.palette.warning.main} 0%, ${theme.palette.warning.light} 100%)`
|
|
149
150
|
: alpha(theme.palette.action.disabled, 0.2),
|
|
150
151
|
transition: animated ? 'all 0.3s ease' : 'none',
|
|
151
|
-
boxShadow: completed ? `0
|
|
152
|
+
boxShadow: completed ? `0 ${rems(theme, 2, 8)} ${alpha(theme.palette.success.main, 0.3)}` : 'none' }),
|
|
152
153
|
);
|
|
153
154
|
|
|
154
155
|
// The three indicator variants, out of the component body so the render keeps
|
|
@@ -166,8 +167,8 @@ const StrengthIndicator: React.FC<{
|
|
|
166
167
|
<Box sx={{ position: 'relative', display: 'inline-flex' }}>
|
|
167
168
|
<Box
|
|
168
169
|
sx={{
|
|
169
|
-
width: 80,
|
|
170
|
-
height: 80,
|
|
170
|
+
width: sxRem(80),
|
|
171
|
+
height: sxRem(80),
|
|
171
172
|
borderRadius: '50%',
|
|
172
173
|
background: `conic-gradient(
|
|
173
174
|
${theme.palette.success.main} 0deg ${strength * 3.6}deg,
|
|
@@ -176,12 +177,12 @@ const StrengthIndicator: React.FC<{
|
|
|
176
177
|
display: 'flex',
|
|
177
178
|
alignItems: 'center',
|
|
178
179
|
justifyContent: 'center',
|
|
179
|
-
boxShadow: `0
|
|
180
|
+
boxShadow: `0 ${rems(theme, 4, 12)} ${alpha(theme.palette.success.main, strength / 200)}` }}
|
|
180
181
|
>
|
|
181
182
|
<Box
|
|
182
183
|
sx={{
|
|
183
|
-
width: 64,
|
|
184
|
-
height: 64,
|
|
184
|
+
width: sxRem(64),
|
|
185
|
+
height: sxRem(64),
|
|
185
186
|
borderRadius: '50%',
|
|
186
187
|
background: theme.palette.background.paper,
|
|
187
188
|
display: 'flex',
|
|
@@ -20,7 +20,7 @@ import type { PhoneInputCopy } from '../../../copy';
|
|
|
20
20
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
21
21
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
22
22
|
import { fieldControlStyles, fieldTextFieldStyles } from '../../../tokens/field-height';
|
|
23
|
-
import { rem } from '../../../tokens/relative';
|
|
23
|
+
import { rem, sxRem } from '../../../tokens/relative';
|
|
24
24
|
|
|
25
25
|
// Country data with expanded support
|
|
26
26
|
|
|
@@ -33,8 +33,8 @@ const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
|
33
33
|
'& .MuiOutlinedInput-root': {
|
|
34
34
|
borderRadius: fieldRadius(theme),
|
|
35
35
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.8)} 0%, ${alpha(theme.palette.background.paper, 0.6)} 100%)`,
|
|
36
|
-
backdropFilter:
|
|
37
|
-
WebkitBackdropFilter:
|
|
36
|
+
backdropFilter: `blur(${rem(theme, 10)})`,
|
|
37
|
+
WebkitBackdropFilter: `blur(${rem(theme, 10)})`,
|
|
38
38
|
border: `1px solid ${fieldEdge(theme)}`,
|
|
39
39
|
transition: theme.transitions.create(['border-color', 'box-shadow', 'background']),
|
|
40
40
|
'&:hover': {
|
|
@@ -42,7 +42,7 @@ const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
|
42
42
|
borderColor: theme.palette.primary.main },
|
|
43
43
|
'&.Mui-focused': {
|
|
44
44
|
background: theme.palette.background.paper,
|
|
45
|
-
boxShadow: `0 0 0
|
|
45
|
+
boxShadow: `0 0 0 ${rem(theme, 2)} ${alpha(theme.palette.primary.main, 0.25)}` },
|
|
46
46
|
'& fieldset': {
|
|
47
47
|
border: 'none' } },
|
|
48
48
|
'& .MuiInputLabel-root': {
|
|
@@ -62,10 +62,10 @@ const CountrySelector = styled(Box)(({ theme }) => ({
|
|
|
62
62
|
const CountryMenu = styled(Menu)(({ theme }) => ({
|
|
63
63
|
'& .MuiPaper-root': {
|
|
64
64
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.98)} 0%, ${alpha(theme.palette.background.paper, 0.95)} 100%)`,
|
|
65
|
-
backdropFilter:
|
|
66
|
-
WebkitBackdropFilter:
|
|
65
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
66
|
+
WebkitBackdropFilter: `blur(${rem(theme, 20)})`,
|
|
67
67
|
border: `1px solid ${alpha(theme.palette.divider, 0.18)}`,
|
|
68
|
-
maxHeight: 400 } }));
|
|
68
|
+
maxHeight: rem(theme, 400) } }));
|
|
69
69
|
|
|
70
70
|
// Helper functions with enhanced validation
|
|
71
71
|
// The text field itself with its two adornments. Split out so PhoneInput is
|
|
@@ -138,7 +138,7 @@ const PhoneField: React.FC<{
|
|
|
138
138
|
endAdornment: <ValidityAdornment icon={icon} isValid={isValid} /> }}
|
|
139
139
|
sx={{
|
|
140
140
|
'& input': {
|
|
141
|
-
letterSpacing:
|
|
141
|
+
letterSpacing: sxRem(0.5) } }}
|
|
142
142
|
/>
|
|
143
143
|
);
|
|
144
144
|
|
|
@@ -253,7 +253,7 @@ const CountryPicker: React.FC<{
|
|
|
253
253
|
'&:hover': {
|
|
254
254
|
background: `linear-gradient(135deg, ${alpha(theme.palette.primary.main, 0.1)} 0%, ${alpha(theme.palette.primary.main, 0.05)} 100%)` } }}
|
|
255
255
|
>
|
|
256
|
-
<ListItemIcon sx={{ minWidth: 36 }}>
|
|
256
|
+
<ListItemIcon sx={{ minWidth: sxRem(36) }}>
|
|
257
257
|
<Typography variant="h5" component="span">
|
|
258
258
|
{country.flag}
|
|
259
259
|
</Typography>
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import { keyframes } from '@mui/material/styles/index.js';
|
|
2
|
+
import type { Theme } from '@mui/material/styles/index.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import { rem } from '../../../tokens/relative';
|
|
5
|
+
|
|
6
|
+
export const glowAnimation = (theme: Theme) => keyframes`
|
|
4
7
|
0% {
|
|
5
|
-
box-shadow: 0 0
|
|
8
|
+
box-shadow: 0 0 ${rem(theme, 5)} currentColor;
|
|
6
9
|
}
|
|
7
10
|
50% {
|
|
8
|
-
box-shadow: 0 0
|
|
11
|
+
box-shadow: 0 0 ${rem(theme, 15)} currentColor, 0 0 ${rem(theme, 25)} currentColor;
|
|
9
12
|
}
|
|
10
13
|
100% {
|
|
11
|
-
box-shadow: 0 0
|
|
14
|
+
box-shadow: 0 0 ${rem(theme, 5)} currentColor;
|
|
12
15
|
}
|
|
13
16
|
`;
|
|
14
17
|
|
|
15
|
-
export const slideAnimation = keyframes`
|
|
18
|
+
export const slideAnimation = (theme: Theme) => keyframes`
|
|
16
19
|
from {
|
|
17
20
|
opacity: 0;
|
|
18
|
-
transform: translateX(-
|
|
21
|
+
transform: translateX(${rem(theme, -20)});
|
|
19
22
|
}
|
|
20
23
|
to {
|
|
21
24
|
opacity: 1;
|