@preply/ds-docs 3.5.0 → 3.5.1
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/assets/{00.LayoutFlex.stories-VFXWuwpO.js → 00.LayoutFlex.stories-DsoQ41ru.js} +1 -1
- package/dist/assets/{00.applications-DJvx0k5e.js → 00.applications-CtD17Uvc.js} +1 -1
- package/dist/assets/{00.favicons.guide-C2RnoAYF.js → 00.favicons.guide-rDY-MoXZ.js} +1 -1
- package/dist/assets/{00.token-explorer-CIpc712L.js → 00.token-explorer-CedppzBQ.js} +1 -1
- package/dist/assets/{00.using-responsive-props-Y0FJyksx.js → 00.using-responsive-props-CXXBchqR.js} +1 -1
- package/dist/assets/{01.semantic-tokens-YNMdeVZ4.js → 01.semantic-tokens-DA4N50sn.js} +1 -1
- package/dist/assets/{01.using-shorthand-props-D8C82Ryu.js → 01.using-shorthand-props-eZLJFDHj.js} +1 -1
- package/dist/assets/{10.Combinations.stories-TuIVGMPp.js → 10.Combinations.stories-D5C6zeLo.js} +1 -1
- package/dist/assets/{10.fonts.guide-BK8SPAB4.js → 10.fonts.guide-DW9ufzTF.js} +1 -1
- package/dist/assets/{10.ssr-Cn5ozKrT.js → 10.ssr-DwlffmrT.js} +1 -1
- package/dist/assets/{11.languageFont.explorer-Dgp7vCsc.js → 11.languageFont.explorer.stories-Crh2l5Jm.js} +10 -11
- package/dist/assets/{11.ssr.app-router-Ce4D-wDq.js → 11.ssr.app-router-BZ07Enlf.js} +1 -1
- package/dist/assets/{20.libraries-B4FUgB6M.js → 20.libraries-lbSLR9_7.js} +1 -1
- package/dist/assets/{30.icons.explorer-pAVyuYWo.js → 30.icons.explorer-gDqz6aGC.js} +2 -2
- package/dist/assets/{30.storybook-Cn6Bqenb.js → 30.storybook-C4NNn5Fv.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-DuruGf8M.js → 40.illustrations.explorer-Cw6qUJFV.js} +1 -1
- package/dist/assets/{90.advanced-BJmxitUv.js → 90.advanced-bdiRxPCx.js} +1 -1
- package/dist/assets/{Accordion-C6JcVnAY.js → Accordion-BMkC4Xny.js} +1 -1
- package/dist/assets/{Accordion.stories-BXKov_mh.js → Accordion.stories-SU6sgvYh.js} +1 -1
- package/dist/assets/{Accordion.tests.stories-BQZ2mqSD.js → Accordion.tests.stories-CxVZnGoY.js} +1 -1
- package/dist/assets/{AlertDialog.stories-Dz2XLZcQ.js → AlertDialog.stories-Z5ooiuoO.js} +1 -1
- package/dist/assets/{Avatar-GW6_sGqG.js → Avatar-B2H0W8KL.js} +1 -1
- package/dist/assets/{Avatar.stories-CttBLXpQ.js → Avatar.stories-QILX30d4.js} +1 -1
- package/dist/assets/{AvatarWithStatus.stories-CfiaM_d9.js → AvatarWithStatus.stories-CiIZ7860.js} +4 -4
- package/dist/assets/{Badge.stories-BVl0BEvu.js → Badge.stories-B2OoKd78.js} +2 -2
- package/dist/assets/{Box.stories-CWVndvJn.js → Box.stories-Bj6O093l.js} +1 -1
- package/dist/assets/{Button-w2cr0Ds_.js → Button-BSyqsKC5.js} +3 -3
- package/dist/assets/{Button.stories-Br4H_Yuc.js → Button.stories-Dc9V2OdS.js} +1 -1
- package/dist/assets/{ButtonBase-BagNt7Ga.js → ButtonBase-Bdtn25V2.js} +2 -2
- package/dist/assets/{Checkbox-CCxh0QYX.js → Checkbox-Bq_sNuXJ.js} +2 -2
- package/dist/assets/{Checkbox.stories-BzMhrN0i.js → Checkbox.stories-BI-3q1SR.js} +1 -1
- package/dist/assets/{Checkbox.tests.stories-BWl34t1s.js → Checkbox.tests.stories-Bn3p5No-.js} +1 -1
- package/dist/assets/{Chips.stories-CqKaWr-o.js → Chips.stories-FqjAsoAI.js} +1 -1
- package/dist/assets/{Color-YHDXOIA2-HzCcHNXW.js → Color-YHDXOIA2-Brn_ueLX.js} +1 -1
- package/dist/assets/CountryFlag-ClC7kEHn.js +49 -0
- package/dist/assets/Dialog-B2G1UrP1.css +1 -0
- package/dist/assets/{Dialog.stories-Bcwvngxm.js → Dialog.stories-ColOPVoz.js} +1 -1
- package/dist/assets/{DocsRenderer-CFRXHY34-BjJn6IOv.js → DocsRenderer-CFRXHY34-Drp94F88.js} +1 -1
- package/dist/assets/{Flag.stories-DG0Ba94P.js → Flag.stories-hPDFXFLs.js} +1 -1
- package/dist/assets/{Flag.test.stories-znx57oSY.js → Flag.test.stories-Dn7xe9kp.js} +1 -1
- package/dist/assets/{FormControl.stories-BG7LCJDj.js → FormControl.stories-DekxQG9a.js} +1 -1
- package/dist/assets/{Heading-DLWgmTU5.js → Heading-ese4_5Hg.js} +2 -2
- package/dist/assets/{Heading.stories-BpdvL4Rd.js → Heading.stories-Pcuq78-p.js} +1 -1
- package/dist/assets/{Icon-RSC-Df7EwZUV.js → Icon-RSC-DHJisRIw.js} +1 -1
- package/dist/assets/{Icon-w2ilcPHL.js → Icon-ZIxauYsE.js} +1 -1
- package/dist/assets/{Icon.stories-BRh_hPKp.js → Icon.stories-Cv6aq9BI.js} +1 -1
- package/dist/assets/IconButton-BqwVuKH2.js +8 -0
- package/dist/assets/{Input-nsKLdjO3.js → Input-C1hZX5_o.js} +4 -4
- package/dist/assets/{IntegrationWithReactHookForm.stories-DWoCnPAi.js → IntegrationWithReactHookForm.stories-DjhZzsb9.js} +1 -1
- package/dist/assets/{LayoutFlex-8uO9g6rd.js → LayoutFlex-BBGvSVMb.js} +1 -1
- package/dist/assets/{LayoutFlexItem-DeLvTHsT.js → LayoutFlexItem-C2t_4vHD.js} +1 -1
- package/dist/assets/{LayoutGrid.stories-Ck1Ysspo.js → LayoutGrid.stories-CNvZbuzu.js} +1 -1
- package/dist/assets/{LayoutGridItem-DPLTfQDr.js → LayoutGridItem-CZ6SKl8g.js} +1 -1
- package/dist/assets/{Link.stories-B1fXJUXm.js → Link.stories-DQx9wq8H.js} +2 -2
- package/dist/assets/{NumberField-DTaNQrnr.js → NumberField-D6cbX2hK.js} +5 -5
- package/dist/assets/{NumberField.stories-BBhAsZar.js → NumberField.stories-BHt2ErAX.js} +1 -1
- package/dist/assets/{ObserveIntersection-DIzoqV0M.js → ObserveIntersection-DsqqXq5n.js} +1 -1
- package/dist/assets/{ObserveIntersection.stories-9LGsv3hq.js → ObserveIntersection.stories-BabE9srq.js} +1 -1
- package/dist/assets/{OnboardingTooltip-DL0b2snx.js → OnboardingTooltip-DVNAQjDc.js} +1 -1
- package/dist/assets/{OnboardingTooltip.stories-BL04HmvH.js → OnboardingTooltip.stories-BGQM-hLj.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-qaJ7R0VB.js → OnboardingTooltip.tests.stories-4LRVGnuI.js} +1 -1
- package/dist/assets/{OnboardingTour-BEArI5YV.js → OnboardingTour-DdV7TN6M.js} +1 -1
- package/dist/assets/{OnboardingTour.stories-BZLufj9V.js → OnboardingTour.stories-D0ScuFD6.js} +1 -1
- package/dist/assets/{OnboardingTour.tests.stories-CxlMyj8d.js → OnboardingTour.tests.stories-DAxdPYEp.js} +1 -1
- package/dist/assets/{PasswordField-DaMmlpIr.js → PasswordField-C_KRyf9k.js} +5 -5
- package/dist/assets/{PasswordField.stories-tM9nknm7.js → PasswordField.stories-3X4JtcLm.js} +1 -1
- package/dist/assets/{ProgressBar.stories-CL5ifoDb.js → ProgressBar.stories-Dpro8fzG.js} +1 -1
- package/dist/assets/{ProgressSteps.stories-DbZpoKtc.js → ProgressSteps.stories-DDhuAaz0.js} +1 -1
- package/dist/assets/{SelectField-CNhQrH2n.js → SelectField-CuzFFPz0.js} +9 -9
- package/dist/assets/{SelectField.stories-B4CMJsMc.js → SelectField.stories-wb_cAtCV.js} +1 -1
- package/dist/assets/{ShowOnIntersection.stories-CQ4u9OFv.js → ShowOnIntersection.stories-ipu84fct.js} +1 -1
- package/dist/assets/{Steps-BdyOSLSR.js → Steps-CCm9vCgl.js} +1 -1
- package/dist/assets/{Steps.stories-Dz8bq-Yg.js → Steps.stories-BLFM3WRM.js} +1 -1
- package/dist/assets/{Text-BO29RJXG.js → Text-BmdJVr9v.js} +1 -1
- package/dist/assets/{Text.stories-12_yxx51.js → Text.stories-CkC6dvyE.js} +1 -1
- package/dist/assets/{TextField-BQEExuz1.js → TextField-CMgzC3bX.js} +5 -5
- package/dist/assets/{TextField.stories-BCz_05Q2.js → TextField.stories-CAcPkm_s.js} +1 -1
- package/dist/assets/{TextHighlighted.stories-GseXqtvA.js → TextHighlighted.stories-BJsM40kL.js} +1 -1
- package/dist/assets/{TextInline.stories--nFiCnzF.js → TextInline.stories-CL1L2t2-.js} +1 -1
- package/dist/assets/{TextareaField-DctmivNT.js → TextareaField-CCM1C6lK.js} +8 -8
- package/dist/assets/{TextareaField.stories-D9w5_Y9J.js → TextareaField.stories-DKNFN3f4.js} +1 -1
- package/dist/assets/{Toast.stories-C8g_vmi4.js → Toast.stories-BzEpckjh.js} +1 -1
- package/dist/assets/TokyoUIUser-DG6LLnJu.js +1 -0
- package/dist/assets/{Tooltip.stories-CmbG2cCW.js → Tooltip.stories-DHYG0ggY.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-Dy7PYnuY.js → Tooltip.tests.stories-DWwqRNUM.js} +1 -1
- package/dist/assets/{breakpoints-DobBRp7q.js → breakpoints-3Mi8ztBx.js} +1 -1
- package/dist/assets/{breakpoints-DpTqvyvp.js → breakpoints-BPZAI3l-.js} +1 -1
- package/dist/assets/{breakpoints-CgHpWGUd.js → breakpoints-DxEeOfvq.js} +1 -1
- package/dist/assets/{changelog-D0S8jEky.js → changelog-BvX8uMXW.js} +121 -110
- package/dist/assets/{entry-preview-DFRn2mBg.js → entry-preview-Cgr68VmN.js} +1 -1
- package/dist/assets/{getTokenVar-C5oirQpA.js → getTokenVar-CXvtPVqa.js} +1 -1
- package/dist/assets/{hover-xyA4MvI5.js → hover-BJ9rZrzg.js} +1 -1
- package/dist/assets/{hover-Cvnde29j.js → hover-CeDdAnNA.js} +1 -1
- package/dist/assets/{hover-IWMMjFXu.js → hover-sR2377QI.js} +1 -1
- package/dist/assets/{iframe-CaFg3nAw.js → iframe-BE13K_u-.js} +2 -2
- package/dist/assets/{index-COQ9un1y.js → index-CjMmneJr.js} +3 -3
- package/dist/assets/{index-jR0YS9dx.js → index-DUJ9kiQB.js} +1 -1
- package/dist/assets/{intro-C7f6V7yC.js → intro-BQxazeZ4.js} +1 -1
- package/dist/assets/{migrating-from-less-DyfhpvAY.js → migrating-from-less-_WbBpNno.js} +1 -1
- package/dist/assets/{playground-DJ3kGgB-.css → playground-DJaUjyzx.css} +1 -1
- package/dist/assets/{preview-DcpNo3Ub.js → preview-DFIaQ6pR.js} +2 -2
- package/dist/assets/{preview-Ces97bfw.js → preview-Dlcr0l4_.js} +1 -1
- package/dist/assets/{preview-BEIzUzZL.js → preview-DqZVArh_.js} +1 -1
- package/dist/assets/{tokens-DKSLWP2O.js → tokens-BpVbkeg9.js} +1 -1
- package/dist/assets/{tokens-nPSL-fkF.js → tokens-Do5DDIVZ.js} +1 -1
- package/dist/assets/{tokens-BYaYQ2wS.js → tokens-rA5iljxB.js} +1 -1
- package/dist/assets/{usePortalElement-DH3j5qah.js → usePortalElement-D-MBkGYE.js} +1 -1
- package/dist/assets/{welcome-Plgou2W7.js → welcome-CjdlfIE9.js} +1 -1
- package/dist/assets/{zeroheight-D18qypro.js → zeroheight-COTIl-YQ.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/preview-stats.json +995 -995
- package/dist/project.json +1 -1
- package/package.json +3 -3
- package/dist/assets/CountryFlag-BSsWsMSZ.js +0 -49
- package/dist/assets/Dialog-7LK-NRfd.css +0 -1
- package/dist/assets/IconButton-05fPCnaC.js +0 -8
- package/dist/assets/TokyoUIUser-CEt_udNR.js +0 -1
- /package/dist/assets/{playground.stories-BW9_5bcY.js → playground.stories-DNP6DMoh.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import{j as l}from"./jsx-runtime-BYouaCF_.js";import{r as c}from"./index-B3evPFBL.js";import{I as m,s as g}from"./InputContainer-Bk0tgFnW.js";import{g as h}from"./index-DdzHuZ-Y.js";const t=c.forwardRef(function({button:i,icon:r,dataset:s,onChange:e,onValueChange:n,...o},v){const d=h(s),p=a=>{e==null||e(a),n==null||n(a.target.value)};return l.jsx(m,{button:i,icon:r,children:l.jsx("input",{...d,...o,ref:v,onChange:p,className:g.input})})});try{t.displayName="Input",t.__docgenInfo={description:`A component to render input with optional icon and button.
|
|
2
|
-
For internal use only.`,displayName:"Input",props:{accept:{defaultValue:null,description:"",name:"accept",required:!1,type:{name:"enum",value:[{value:"string"}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:"string & {}"},{value:'"tel"'},{value:'"email"'},{value:'"new-password"'},{value:'"current-password"'},{value:'"username"'},{value:'"additional-name"'},{value:'"address-level1"'},{value:'"address-level2"'},{value:'"address-level3"'},{value:'"address-level4"'},{value:'"address-line1"'},{value:'"address-line2"'},{value:'"address-line3"'},{value:'"bday-day"'},{value:'"bday-month"'},{value:'"bday-year"'},{value:'"cc-csc"'},{value:'"cc-exp"'},{value:'"cc-exp-month"'},{value:'"cc-exp-year"'},{value:'"cc-family-name"'},{value:'"cc-given-name"'},{value:'"cc-name"'},{value:'"cc-number"'},{value:'"cc-type"'},{value:'"country"'},{value:'"country-name"'},{value:'"family-name"'},{value:'"given-name"'},{value:'"honorific-prefix"'},{value:'"honorific-suffix"'},{value:'"one-time-code"'},{value:'"organization"'},{value:'"postal-code"'},{value:'"street-address"'},{value:'"transaction-amount"'},{value:'"transaction-currency"'},{value:'"tel-area-code"'},{value:'"tel-country-code"'},{value:'"tel-extension"'},{value:'"tel-local"'},{value:'"tel-local-prefix"'},{value:'"tel-local-suffix"'},{value:'"tel-national"'},{value:'"home tel"'},{value:'"home email"'},{value:'"home tel-area-code"'},{value:'"home tel-country-code"'},{value:'"home tel-extension"'},{value:'"home tel-local"'},{value:'"home tel-local-prefix"'},{value:'"home tel-local-suffix"'},{value:'"home tel-national"'},{value:'"mobile tel"'},{value:'"mobile email"'},{value:'"mobile tel-area-code"'},{value:'"mobile tel-country-code"'},{value:'"mobile tel-extension"'},{value:'"mobile tel-local"'},{value:'"mobile tel-local-prefix"'},{value:'"mobile tel-local-suffix"'},{value:'"mobile tel-national"'},{value:'"work tel"'},{value:'"work email"'},{value:'"work tel-area-code"'},{value:'"work tel-country-code"'},{value:'"work tel-extension"'},{value:'"work tel-local"'},{value:'"work tel-local-prefix"'},{value:'"work tel-local-suffix"'},{value:'"work tel-national"'},{value:'"name webauthn"'},{value:'"new-password webauthn"'},{value:'"current-password webauthn"'},{value:'"username webauthn"'},{value:'"additional-name webauthn"'},{value:'"address-level1 webauthn"'},{value:'"address-level2 webauthn"'},{value:'"address-level3 webauthn"'},{value:'"address-level4 webauthn"'},{value:'"address-line1 webauthn"'},{value:'"address-line2 webauthn"'},{value:'"address-line3 webauthn"'},{value:'"bday-day webauthn"'},{value:'"bday-month webauthn"'},{value:'"bday-year webauthn"'},{value:'"cc-csc webauthn"'},{value:'"cc-exp webauthn"'},{value:'"cc-exp-month webauthn"'},{value:'"cc-exp-year webauthn"'},{value:'"cc-family-name webauthn"'},{value:'"cc-given-name webauthn"'},{value:'"cc-name webauthn"'},{value:'"cc-number webauthn"'},{value:'"cc-type webauthn"'},{value:'"country webauthn"'},{value:'"country-name webauthn"'},{value:'"family-name webauthn"'},{value:'"given-name webauthn"'},{value:'"honorific-prefix webauthn"'},{value:'"honorific-suffix webauthn"'},{value:'"one-time-code webauthn"'},{value:'"organization webauthn"'},{value:'"postal-code webauthn"'},{value:'"street-address webauthn"'},{value:'"transaction-amount webauthn"'},{value:'"transaction-currency webauthn"'},{value:'"tel webauthn"'},{value:'"email webauthn"'},{value:'"tel-area-code webauthn"'},{value:'"tel-country-code webauthn"'},{value:'"tel-extension webauthn"'},{value:'"tel-local webauthn"'},{value:'"tel-local-prefix webauthn"'},{value:'"tel-local-suffix webauthn"'},{value:'"tel-national webauthn"'},{value:'"home tel webauthn"'},{value:'"home email webauthn"'},{value:'"home tel-area-code webauthn"'},{value:'"home tel-country-code webauthn"'},{value:'"home tel-extension webauthn"'},{value:'"home tel-local webauthn"'},{value:'"home tel-local-prefix webauthn"'},{value:'"home tel-local-suffix webauthn"'},{value:'"home tel-national webauthn"'},{value:'"mobile tel webauthn"'},{value:'"mobile email webauthn"'},{value:'"mobile tel-area-code webauthn"'},{value:'"mobile tel-country-code webauthn"'},{value:'"mobile tel-extension webauthn"'},{value:'"mobile tel-local webauthn"'},{value:'"mobile tel-local-prefix webauthn"'},{value:'"mobile tel-local-suffix webauthn"'},{value:'"mobile tel-national webauthn"'},{value:'"work tel webauthn"'},{value:'"work email webauthn"'},{value:'"work tel-area-code webauthn"'},{value:'"work tel-country-code webauthn"'},{value:'"work tel-extension webauthn"'},{value:'"work tel-local webauthn"'},{value:'"work tel-local-prefix webauthn"'},{value:'"work tel-local-suffix webauthn"'},{value:'"work tel-national webauthn"'},{value:'"billing name"'},{value:'"billing name webauthn"'},{value:'"billing new-password"'},{value:'"billing new-password webauthn"'},{value:'"billing current-password"'},{value:'"billing current-password webauthn"'},{value:'"billing username"'},{value:'"billing username webauthn"'},{value:'"billing additional-name"'},{value:'"billing additional-name webauthn"'},{value:'"billing address-level1"'},{value:'"billing address-level1 webauthn"'},{value:'"billing address-level2"'},{value:'"billing address-level2 webauthn"'},{value:'"billing address-level3"'},{value:'"billing address-level3 webauthn"'},{value:'"billing address-level4"'},{value:'"billing address-level4 webauthn"'},{value:'"billing address-line1"'},{value:'"billing address-line1 webauthn"'},{value:'"billing address-line2"'},{value:'"billing address-line2 webauthn"'},{value:'"billing address-line3"'},{value:'"billing address-line3 webauthn"'},{value:'"billing bday-day"'},{value:'"billing bday-day webauthn"'},{value:'"billing bday-month"'},{value:'"billing bday-month webauthn"'},{value:'"billing bday-year"'},{value:'"billing bday-year webauthn"'},{value:'"billing cc-csc"'},{value:'"billing cc-csc webauthn"'},{value:'"billing cc-exp"'},{value:'"billing cc-exp webauthn"'},{value:'"billing cc-exp-month"'},{value:'"billing cc-exp-month webauthn"'},{value:'"billing cc-exp-year"'},{value:'"billing cc-exp-year webauthn"'},{value:'"billing cc-family-name"'},{value:'"billing cc-family-name webauthn"'},{value:'"billing cc-given-name"'},{value:'"billing cc-given-name webauthn"'},{value:'"billing cc-name"'},{value:'"billing cc-name webauthn"'},{value:'"billing cc-number"'},{value:'"billing cc-number webauthn"'},{value:'"billing cc-type"'},{value:'"billing cc-type webauthn"'},{value:'"billing country"'},{value:'"billing country webauthn"'},{value:'"billing country-name"'},{value:'"billing country-name webauthn"'},{value:'"billing family-name"'},{value:'"billing family-name webauthn"'},{value:'"billing given-name"'},{value:'"billing given-name webauthn"'},{value:'"billing honorific-prefix"'},{value:'"billing honorific-prefix webauthn"'},{value:'"billing honorific-suffix"'},{value:'"billing honorific-suffix webauthn"'},{value:'"billing one-time-code"'},{value:'"billing one-time-code webauthn"'},{value:'"billing organization"'},{value:'"billing organization webauthn"'},{value:'"billing postal-code"'},{value:'"billing postal-code webauthn"'},{value:'"billing street-address"'},{value:'"billing street-address webauthn"'},{value:'"billing transaction-amount"'},{value:'"billing transaction-amount webauthn"'},{value:'"billing transaction-currency"'},{value:'"billing transaction-currency webauthn"'},{value:'"billing tel"'},{value:'"billing tel webauthn"'},{value:'"billing email"'},{value:'"billing email webauthn"'},{value:'"billing tel-area-code"'},{value:'"billing tel-area-code webauthn"'},{value:'"billing tel-country-code"'},{value:'"billing tel-country-code webauthn"'},{value:'"billing tel-extension"'},{value:'"billing tel-extension webauthn"'},{value:'"billing tel-local"'},{value:'"billing tel-local webauthn"'},{value:'"billing tel-local-prefix"'},{value:'"billing tel-local-prefix webauthn"'},{value:'"billing tel-local-suffix"'},{value:'"billing tel-local-suffix webauthn"'},{value:'"billing tel-national"'},{value:'"billing tel-national webauthn"'},{value:'"billing home tel"'},{value:'"billing home tel webauthn"'},{value:'"billing home email"'},{value:'"billing home email webauthn"'},{value:'"billing home tel-area-code"'},{value:'"billing home tel-area-code webauthn"'},{value:'"billing home tel-country-code"'},{value:'"billing home tel-country-code webauthn"'},{value:'"billing home tel-extension"'},{value:'"billing home tel-extension webauthn"'},{value:'"billing home tel-local"'},{value:'"billing home tel-local webauthn"'},{value:'"billing home tel-local-prefix"'},{value:'"billing home tel-local-prefix webauthn"'},{value:'"billing home tel-local-suffix"'},{value:'"billing home tel-local-suffix webauthn"'},{value:'"billing home tel-national"'},{value:'"billing home tel-national webauthn"'},{value:'"billing mobile tel"'},{value:'"billing mobile tel webauthn"'},{value:'"billing mobile email"'},{value:'"billing mobile email webauthn"'},{value:'"billing mobile tel-area-code"'},{value:'"billing mobile tel-area-code webauthn"'},{value:'"billing mobile tel-country-code"'},{value:'"billing mobile tel-country-code webauthn"'},{value:'"billing mobile tel-extension"'},{value:'"billing mobile tel-extension webauthn"'},{value:'"billing mobile tel-local"'},{value:'"billing mobile tel-local webauthn"'},{value:'"billing mobile tel-local-prefix"'},{value:'"billing mobile tel-local-prefix webauthn"'},{value:'"billing mobile tel-local-suffix"'},{value:'"billing mobile tel-local-suffix webauthn"'},{value:'"billing mobile tel-national"'},{value:'"billing mobile tel-national webauthn"'},{value:'"billing work tel"'},{value:'"billing work tel webauthn"'},{value:'"billing work email"'},{value:'"billing work email webauthn"'},{value:'"billing work tel-area-code"'},{value:'"billing work tel-area-code webauthn"'},{value:'"billing work tel-country-code"'},{value:'"billing work tel-country-code webauthn"'},{value:'"billing work tel-extension"'},{value:'"billing work tel-extension webauthn"'},{value:'"billing work tel-local"'},{value:'"billing work tel-local webauthn"'},{value:'"billing work tel-local-prefix"'},{value:'"billing work tel-local-prefix webauthn"'},{value:'"billing work tel-local-suffix"'},{value:'"billing work tel-local-suffix webauthn"'},{value:'"billing work tel-national"'},{value:'"billing work tel-national webauthn"'},{value:'"shipping name"'},{value:'"shipping name webauthn"'},{value:'"shipping new-password"'},{value:'"shipping new-password webauthn"'},{value:'"shipping current-password"'},{value:'"shipping current-password webauthn"'},{value:'"shipping username"'},{value:'"shipping username webauthn"'},{value:'"shipping additional-name"'},{value:'"shipping additional-name webauthn"'},{value:'"shipping address-level1"'},{value:'"shipping address-level1 webauthn"'},{value:'"shipping address-level2"'},{value:'"shipping address-level2 webauthn"'},{value:'"shipping address-level3"'},{value:'"shipping address-level3 webauthn"'},{value:'"shipping address-level4"'},{value:'"shipping address-level4 webauthn"'},{value:'"shipping address-line1"'},{value:'"shipping address-line1 webauthn"'},{value:'"shipping address-line2"'},{value:'"shipping address-line2 webauthn"'},{value:'"shipping address-line3"'},{value:'"shipping address-line3 webauthn"'},{value:'"shipping bday-day"'},{value:'"shipping bday-day webauthn"'},{value:'"shipping bday-month"'},{value:'"shipping bday-month webauthn"'},{value:'"shipping bday-year"'},{value:'"shipping bday-year webauthn"'},{value:'"shipping cc-csc"'},{value:'"shipping cc-csc webauthn"'},{value:'"shipping cc-exp"'},{value:'"shipping cc-exp webauthn"'},{value:'"shipping cc-exp-month"'},{value:'"shipping cc-exp-month webauthn"'},{value:'"shipping cc-exp-year"'},{value:'"shipping cc-exp-year webauthn"'},{value:'"shipping cc-family-name"'},{value:'"shipping cc-family-name webauthn"'},{value:'"shipping cc-given-name"'},{value:'"shipping cc-given-name webauthn"'},{value:'"shipping cc-name"'},{value:'"shipping cc-name webauthn"'},{value:'"shipping cc-number"'},{value:'"shipping cc-number webauthn"'},{value:'"shipping cc-type"'},{value:'"shipping cc-type webauthn"'},{value:'"shipping country"'},{value:'"shipping country webauthn"'},{value:'"shipping country-name"'},{value:'"shipping country-name webauthn"'},{value:'"shipping family-name"'},{value:'"shipping family-name webauthn"'},{value:'"shipping given-name"'},{value:'"shipping given-name webauthn"'},{value:'"shipping honorific-prefix"'},{value:'"shipping honorific-prefix webauthn"'},{value:'"shipping honorific-suffix"'},{value:'"shipping honorific-suffix webauthn"'},{value:'"shipping one-time-code"'},{value:'"shipping one-time-code webauthn"'},{value:'"shipping organization"'},{value:'"shipping organization webauthn"'},{value:'"shipping postal-code"'},{value:'"shipping postal-code webauthn"'},{value:'"shipping street-address"'},{value:'"shipping street-address webauthn"'},{value:'"shipping transaction-amount"'},{value:'"shipping transaction-amount webauthn"'},{value:'"shipping transaction-currency"'},{value:'"shipping transaction-currency webauthn"'},{value:'"shipping tel"'},{value:'"shipping tel webauthn"'},{value:'"shipping email"'},{value:'"shipping email webauthn"'},{value:'"shipping tel-area-code"'},{value:'"shipping tel-area-code webauthn"'},{value:'"shipping tel-country-code"'},{value:'"shipping tel-country-code webauthn"'},{value:'"shipping tel-extension"'},{value:'"shipping tel-extension webauthn"'},{value:'"shipping tel-local"'},{value:'"shipping tel-local webauthn"'},{value:'"shipping tel-local-prefix"'},{value:'"shipping tel-local-prefix webauthn"'},{value:'"shipping tel-local-suffix"'},{value:'"shipping tel-local-suffix webauthn"'},{value:'"shipping tel-national"'},{value:'"shipping tel-national webauthn"'},{value:'"shipping home tel"'},{value:'"shipping home tel webauthn"'},{value:'"shipping home email"'},{value:'"shipping home email webauthn"'},{value:'"shipping home tel-area-code"'},{value:'"shipping home tel-area-code webauthn"'},{value:'"shipping home tel-country-code"'},{value:'"shipping home tel-country-code webauthn"'},{value:'"shipping home tel-extension"'},{value:'"shipping home tel-extension webauthn"'},{value:'"shipping home tel-local"'},{value:'"shipping home tel-local webauthn"'},{value:'"shipping home tel-local-prefix"'},{value:'"shipping home tel-local-prefix webauthn"'},{value:'"shipping home tel-local-suffix"'},{value:'"shipping home tel-local-suffix webauthn"'},{value:'"shipping home tel-national"'},{value:'"shipping home tel-national webauthn"'},{value:'"shipping mobile tel"'},{value:'"shipping mobile tel webauthn"'},{value:'"shipping mobile email"'},{value:'"shipping mobile email webauthn"'},{value:'"shipping mobile tel-area-code"'},{value:'"shipping mobile tel-area-code webauthn"'},{value:'"shipping mobile tel-country-code"'},{value:'"shipping mobile tel-country-code webauthn"'},{value:'"shipping mobile tel-extension"'},{value:'"shipping mobile tel-extension webauthn"'},{value:'"shipping mobile tel-local"'},{value:'"shipping mobile tel-local webauthn"'},{value:'"shipping mobile tel-local-prefix"'},{value:'"shipping mobile tel-local-prefix webauthn"'},{value:'"shipping mobile tel-local-suffix"'},{value:'"shipping mobile tel-local-suffix webauthn"'},{value:'"shipping mobile tel-national"'},{value:'"shipping mobile tel-national webauthn"'},{value:'"shipping work tel"'},{value:'"shipping work tel webauthn"'},{value:'"shipping work email"'},{value:'"shipping work email webauthn"'},{value:'"shipping work tel-area-code"'},{value:'"shipping work tel-area-code webauthn"'},{value:'"shipping work tel-country-code"'},{value:'"shipping work tel-country-code webauthn"'},{value:'"shipping work tel-extension"'},{value:'"shipping work tel-extension webauthn"'},{value:'"shipping work tel-local"'},{value:'"shipping work tel-local webauthn"'},{value:'"shipping work tel-local-prefix"'},{value:'"shipping work tel-local-prefix webauthn"'},{value:'"shipping work tel-local-suffix"'},{value:'"shipping work tel-local-suffix webauthn"'},{value:'"shipping work tel-national"'},{value:'"shipping work tel-national webauthn"'},{value:"`section-${string} name`"},{value:"`section-${string} name webauthn`"},{value:"`section-${string} new-password`"},{value:"`section-${string} new-password webauthn`"},{value:"`section-${string} current-password`"},{value:"`section-${string} current-password webauthn`"},{value:"`section-${string} username`"},{value:"`section-${string} username webauthn`"},{value:"`section-${string} additional-name`"},{value:"`section-${string} additional-name webauthn`"},{value:"`section-${string} address-level1`"},{value:"`section-${string} address-level1 webauthn`"},{value:"`section-${string} address-level2`"},{value:"`section-${string} address-level2 webauthn`"},{value:"`section-${string} address-level3`"},{value:"`section-${string} address-level3 webauthn`"},{value:"`section-${string} address-level4`"},{value:"`section-${string} address-level4 webauthn`"},{value:"`section-${string} address-line1`"},{value:"`section-${string} address-line1 webauthn`"},{value:"`section-${string} address-line2`"},{value:"`section-${string} address-line2 webauthn`"},{value:"`section-${string} address-line3`"},{value:"`section-${string} address-line3 webauthn`"},{value:"`section-${string} bday-day`"},{value:"`section-${string} bday-day webauthn`"},{value:"`section-${string} bday-month`"},{value:"`section-${string} bday-month webauthn`"},{value:"`section-${string} bday-year`"},{value:"`section-${string} bday-year webauthn`"},{value:"`section-${string} cc-csc`"},{value:"`section-${string} cc-csc webauthn`"},{value:"`section-${string} cc-exp`"},{value:"`section-${string} cc-exp webauthn`"},{value:"`section-${string} cc-exp-month`"},{value:"`section-${string} cc-exp-month webauthn`"},{value:"`section-${string} cc-exp-year`"},{value:"`section-${string} cc-exp-year webauthn`"},{value:"`section-${string} cc-family-name`"},{value:"`section-${string} cc-family-name webauthn`"},{value:"`section-${string} cc-given-name`"},{value:"`section-${string} cc-given-name webauthn`"},{value:"`section-${string} cc-name`"},{value:"`section-${string} cc-name webauthn`"},{value:"`section-${string} cc-number`"},{value:"`section-${string} cc-number webauthn`"},{value:"`section-${string} cc-type`"},{value:"`section-${string} cc-type webauthn`"},{value:"`section-${string} country`"},{value:"`section-${string} country webauthn`"},{value:"`section-${string} country-name`"},{value:"`section-${string} country-name webauthn`"},{value:"`section-${string} family-name`"},{value:"`section-${string} family-name webauthn`"},{value:"`section-${string} given-name`"},{value:"`section-${string} given-name webauthn`"},{value:"`section-${string} honorific-prefix`"},{value:"`section-${string} honorific-prefix webauthn`"},{value:"`section-${string} honorific-suffix`"},{value:"`section-${string} honorific-suffix webauthn`"},{value:"`section-${string} one-time-code`"},{value:"`section-${string} one-time-code webauthn`"},{value:"`section-${string} organization`"},{value:"`section-${string} organization webauthn`"},{value:"`section-${string} postal-code`"},{value:"`section-${string} postal-code webauthn`"},{value:"`section-${string} street-address`"},{value:"`section-${string} street-address webauthn`"},{value:"`section-${string} transaction-amount`"},{value:"`section-${string} transaction-amount webauthn`"},{value:"`section-${string} transaction-currency`"},{value:"`section-${string} transaction-currency webauthn`"},{value:"`section-${string} tel`"},{value:"`section-${string} tel webauthn`"},{value:"`section-${string} email`"},{value:"`section-${string} email webauthn`"},{value:"`section-${string} tel-area-code`"},{value:"`section-${string} tel-area-code webauthn`"},{value:"`section-${string} tel-country-code`"},{value:"`section-${string} tel-country-code webauthn`"},{value:"`section-${string} tel-extension`"},{value:"`section-${string} tel-extension webauthn`"},{value:"`section-${string} tel-local`"},{value:"`section-${string} tel-local webauthn`"},{value:"`section-${string} tel-local-prefix`"},{value:"`section-${string} tel-local-prefix webauthn`"},{value:"`section-${string} tel-local-suffix`"},{value:"`section-${string} tel-local-suffix webauthn`"},{value:"`section-${string} tel-national`"},{value:"`section-${string} tel-national webauthn`"},{value:"`section-${string} home tel`"},{value:"`section-${string} home tel webauthn`"},{value:"`section-${string} home email`"},{value:"`section-${string} home email webauthn`"},{value:"`section-${string} home tel-area-code`"},{value:"`section-${string} home tel-area-code webauthn`"},{value:"`section-${string} home tel-country-code`"},{value:"`section-${string} home tel-country-code webauthn`"},{value:"`section-${string} home tel-extension`"},{value:"`section-${string} home tel-extension webauthn`"},{value:"`section-${string} home tel-local`"},{value:"`section-${string} home tel-local webauthn`"},{value:"`section-${string} home tel-local-prefix`"},{value:"`section-${string} home tel-local-prefix webauthn`"},{value:"`section-${string} home tel-local-suffix`"},{value:"`section-${string} home tel-local-suffix webauthn`"},{value:"`section-${string} home tel-national`"},{value:"`section-${string} home tel-national webauthn`"},{value:"`section-${string} mobile tel`"},{value:"`section-${string} mobile tel webauthn`"},{value:"`section-${string} mobile email`"},{value:"`section-${string} mobile email webauthn`"},{value:"`section-${string} mobile tel-area-code`"},{value:"`section-${string} mobile tel-area-code webauthn`"},{value:"`section-${string} mobile tel-country-code`"},{value:"`section-${string} mobile tel-country-code webauthn`"},{value:"`section-${string} mobile tel-extension`"},{value:"`section-${string} mobile tel-extension webauthn`"},{value:"`section-${string} mobile tel-local`"},{value:"`section-${string} mobile tel-local webauthn`"},{value:"`section-${string} mobile tel-local-prefix`"},{value:"`section-${string} mobile tel-local-prefix webauthn`"},{value:"`section-${string} mobile tel-local-suffix`"},{value:"`section-${string} mobile tel-local-suffix webauthn`"},{value:"`section-${string} mobile tel-national`"},{value:"`section-${string} mobile tel-national webauthn`"},{value:"`section-${string} work tel`"},{value:"`section-${string} work tel webauthn`"},{value:"`section-${string} work email`"},{value:"`section-${string} work email webauthn`"},{value:"`section-${string} work tel-area-code`"},{value:"`section-${string} work tel-area-code webauthn`"},{value:"`section-${string} work tel-country-code`"},{value:"`section-${string} work tel-country-code webauthn`"},{value:"`section-${string} work tel-extension`"},{value:"`section-${string} work tel-extension webauthn`"},{value:"`section-${string} work tel-local`"},{value:"`section-${string} work tel-local webauthn`"},{value:"`section-${string} work tel-local-prefix`"},{value:"`section-${string} work tel-local-prefix webauthn`"},{value:"`section-${string} work tel-local-suffix`"},{value:"`section-${string} work tel-local-suffix webauthn`"},{value:"`section-${string} work tel-national`"},{value:"`section-${string} work tel-national webauthn`"},{value:"`section-${string} billing name`"},{value:"`section-${string} billing name webauthn`"},{value:"`section-${string} billing new-password`"},{value:"`section-${string} billing new-password webauthn`"},{value:"`section-${string} billing current-password`"},{value:"`section-${string} billing current-password webauthn`"},{value:"`section-${string} billing username`"},{value:"`section-${string} billing username webauthn`"},{value:"`section-${string} billing additional-name`"},{value:"`section-${string} billing additional-name webauthn`"},{value:"`section-${string} billing address-level1`"},{value:"`section-${string} billing address-level1 webauthn`"},{value:"`section-${string} billing address-level2`"},{value:"`section-${string} billing address-level2 webauthn`"},{value:"`section-${string} billing address-level3`"},{value:"`section-${string} billing address-level3 webauthn`"},{value:"`section-${string} billing address-level4`"},{value:"`section-${string} billing address-level4 webauthn`"},{value:"`section-${string} billing address-line1`"},{value:"`section-${string} billing address-line1 webauthn`"},{value:"`section-${string} billing address-line2`"},{value:"`section-${string} billing address-line2 webauthn`"},{value:"`section-${string} billing address-line3`"},{value:"`section-${string} billing address-line3 webauthn`"},{value:"`section-${string} billing bday-day`"},{value:"`section-${string} billing bday-day webauthn`"},{value:"`section-${string} billing bday-month`"},{value:"`section-${string} billing bday-month webauthn`"},{value:"`section-${string} billing bday-year`"},{value:"`section-${string} billing bday-year webauthn`"},{value:"`section-${string} billing cc-csc`"},{value:"`section-${string} billing cc-csc webauthn`"},{value:"`section-${string} billing cc-exp`"},{value:"`section-${string} billing cc-exp webauthn`"},{value:"`section-${string} billing cc-exp-month`"},{value:"`section-${string} billing cc-exp-month webauthn`"},{value:"`section-${string} billing cc-exp-year`"},{value:"`section-${string} billing cc-exp-year webauthn`"},{value:"`section-${string} billing cc-family-name`"},{value:"`section-${string} billing cc-family-name webauthn`"},{value:"`section-${string} billing cc-given-name`"},{value:"`section-${string} billing cc-given-name webauthn`"},{value:"`section-${string} billing cc-name`"},{value:"`section-${string} billing cc-name webauthn`"},{value:"`section-${string} billing cc-number`"},{value:"`section-${string} billing cc-number webauthn`"},{value:"`section-${string} billing cc-type`"},{value:"`section-${string} billing cc-type webauthn`"},{value:"`section-${string} billing country`"},{value:"`section-${string} billing country webauthn`"},{value:"`section-${string} billing country-name`"},{value:"`section-${string} billing country-name webauthn`"},{value:"`section-${string} billing family-name`"},{value:"`section-${string} billing family-name webauthn`"},{value:"`section-${string} billing given-name`"},{value:"`section-${string} billing given-name webauthn`"},{value:"`section-${string} billing honorific-prefix`"},{value:"`section-${string} billing honorific-prefix webauthn`"},{value:"`section-${string} billing honorific-suffix`"},{value:"`section-${string} billing honorific-suffix webauthn`"},{value:"`section-${string} billing one-time-code`"},{value:"`section-${string} billing one-time-code webauthn`"},{value:"`section-${string} billing organization`"},{value:"`section-${string} billing organization webauthn`"},{value:"`section-${string} billing postal-code`"},{value:"`section-${string} billing postal-code webauthn`"},{value:"`section-${string} billing street-address`"},{value:"`section-${string} billing street-address webauthn`"},{value:"`section-${string} billing transaction-amount`"},{value:"`section-${string} billing transaction-amount webauthn`"},{value:"`section-${string} billing transaction-currency`"},{value:"`section-${string} billing transaction-currency webauthn`"},{value:"`section-${string} billing tel`"},{value:"`section-${string} billing tel webauthn`"},{value:"`section-${string} billing email`"},{value:"`section-${string} billing email webauthn`"},{value:"`section-${string} billing tel-area-code`"},{value:"`section-${string} billing tel-area-code webauthn`"},{value:"`section-${string} billing tel-country-code`"},{value:"`section-${string} billing tel-country-code webauthn`"},{value:"`section-${string} billing tel-extension`"},{value:"`section-${string} billing tel-extension webauthn`"},{value:"`section-${string} billing tel-local`"},{value:"`section-${string} billing tel-local webauthn`"},{value:"`section-${string} billing tel-local-prefix`"},{value:"`section-${string} billing tel-local-prefix webauthn`"},{value:"`section-${string} billing tel-local-suffix`"},{value:"`section-${string} billing tel-local-suffix webauthn`"},{value:"`section-${string} billing tel-national`"},{value:"`section-${string} billing tel-national webauthn`"},{value:"`section-${string} billing home tel`"},{value:"`section-${string} billing home tel webauthn`"},{value:"`section-${string} billing home email`"},{value:"`section-${string} billing home email webauthn`"},{value:"`section-${string} billing home tel-area-code`"},{value:"`section-${string} billing home tel-area-code webauthn`"},{value:"`section-${string} billing home tel-country-code`"},{value:"`section-${string} billing home tel-country-code webauthn`"},{value:"`section-${string} billing home tel-extension`"},{value:"`section-${string} billing home tel-extension webauthn`"},{value:"`section-${string} billing home tel-local`"},{value:"`section-${string} billing home tel-local webauthn`"},{value:"`section-${string} billing home tel-local-prefix`"},{value:"`section-${string} billing home tel-local-prefix webauthn`"},{value:"`section-${string} billing home tel-local-suffix`"},{value:"`section-${string} billing home tel-local-suffix webauthn`"},{value:"`section-${string} billing home tel-national`"},{value:"`section-${string} billing home tel-national webauthn`"},{value:"`section-${string} billing mobile tel`"},{value:"`section-${string} billing mobile tel webauthn`"},{value:"`section-${string} billing mobile email`"},{value:"`section-${string} billing mobile email webauthn`"},{value:"`section-${string} billing mobile tel-area-code`"},{value:"`section-${string} billing mobile tel-area-code webauthn`"},{value:"`section-${string} billing mobile tel-country-code`"},{value:"`section-${string} billing mobile tel-country-code webauthn`"},{value:"`section-${string} billing mobile tel-extension`"},{value:"`section-${string} billing mobile tel-extension webauthn`"},{value:"`section-${string} billing mobile tel-local`"},{value:"`section-${string} billing mobile tel-local webauthn`"},{value:"`section-${string} billing mobile tel-local-prefix`"},{value:"`section-${string} billing mobile tel-local-prefix webauthn`"},{value:"`section-${string} billing mobile tel-local-suffix`"},{value:"`section-${string} billing mobile tel-local-suffix webauthn`"},{value:"`section-${string} billing mobile tel-national`"},{value:"`section-${string} billing mobile tel-national webauthn`"},{value:"`section-${string} billing work tel`"},{value:"`section-${string} billing work tel webauthn`"},{value:"`section-${string} billing work email`"},{value:"`section-${string} billing work email webauthn`"},{value:"`section-${string} billing work tel-area-code`"},{value:"`section-${string} billing work tel-area-code webauthn`"},{value:"`section-${string} billing work tel-country-code`"},{value:"`section-${string} billing work tel-country-code webauthn`"},{value:"`section-${string} billing work tel-extension`"},{value:"`section-${string} billing work tel-extension webauthn`"},{value:"`section-${string} billing work tel-local`"},{value:"`section-${string} billing work tel-local webauthn`"},{value:"`section-${string} billing work tel-local-prefix`"},{value:"`section-${string} billing work tel-local-prefix webauthn`"},{value:"`section-${string} billing work tel-local-suffix`"},{value:"`section-${string} billing work tel-local-suffix webauthn`"},{value:"`section-${string} billing work tel-national`"},{value:"`section-${string} billing work tel-national webauthn`"},{value:"`section-${string} shipping name`"},{value:"`section-${string} shipping name webauthn`"},{value:"`section-${string} shipping new-password`"},{value:"`section-${string} shipping new-password webauthn`"},{value:"`section-${string} shipping current-password`"},{value:"`section-${string} shipping current-password webauthn`"},{value:"`section-${string} shipping username`"},{value:"`section-${string} shipping username webauthn`"},{value:"`section-${string} shipping additional-name`"},{value:"`section-${string} shipping additional-name webauthn`"},{value:"`section-${string} shipping address-level1`"},{value:"`section-${string} shipping address-level1 webauthn`"},{value:"`section-${string} shipping address-level2`"},{value:"`section-${string} shipping address-level2 webauthn`"},{value:"`section-${string} shipping address-level3`"},{value:"`section-${string} shipping address-level3 webauthn`"},{value:"`section-${string} shipping address-level4`"},{value:"`section-${string} shipping address-level4 webauthn`"},{value:"`section-${string} shipping address-line1`"},{value:"`section-${string} shipping address-line1 webauthn`"},{value:"`section-${string} shipping address-line2`"},{value:"`section-${string} shipping address-line2 webauthn`"},{value:"`section-${string} shipping address-line3`"},{value:"`section-${string} shipping address-line3 webauthn`"},{value:"`section-${string} shipping bday-day`"},{value:"`section-${string} shipping bday-day webauthn`"},{value:"`section-${string} shipping bday-month`"},{value:"`section-${string} shipping bday-month webauthn`"},{value:"`section-${string} shipping bday-year`"},{value:"`section-${string} shipping bday-year webauthn`"},{value:"`section-${string} shipping cc-csc`"},{value:"`section-${string} shipping cc-csc webauthn`"},{value:"`section-${string} shipping cc-exp`"},{value:"`section-${string} shipping cc-exp webauthn`"},{value:"`section-${string} shipping cc-exp-month`"},{value:"`section-${string} shipping cc-exp-month webauthn`"},{value:"`section-${string} shipping cc-exp-year`"},{value:"`section-${string} shipping cc-exp-year webauthn`"},{value:"`section-${string} shipping cc-family-name`"},{value:"`section-${string} shipping cc-family-name webauthn`"},{value:"`section-${string} shipping cc-given-name`"},{value:"`section-${string} shipping cc-given-name webauthn`"},{value:"`section-${string} shipping cc-name`"},{value:"`section-${string} shipping cc-name webauthn`"},{value:"`section-${string} shipping cc-number`"},{value:"`section-${string} shipping cc-number webauthn`"},{value:"`section-${string} shipping cc-type`"},{value:"`section-${string} shipping cc-type webauthn`"},{value:"`section-${string} shipping country`"},{value:"`section-${string} shipping country webauthn`"},{value:"`section-${string} shipping country-name`"},{value:"`section-${string} shipping country-name webauthn`"},{value:"`section-${string} shipping family-name`"},{value:"`section-${string} shipping family-name webauthn`"},{value:"`section-${string} shipping given-name`"},{value:"`section-${string} shipping given-name webauthn`"},{value:"`section-${string} shipping honorific-prefix`"},{value:"`section-${string} shipping honorific-prefix webauthn`"},{value:"`section-${string} shipping honorific-suffix`"},{value:"`section-${string} shipping honorific-suffix webauthn`"},{value:"`section-${string} shipping one-time-code`"},{value:"`section-${string} shipping one-time-code webauthn`"},{value:"`section-${string} shipping organization`"},{value:"`section-${string} shipping organization webauthn`"},{value:"`section-${string} shipping postal-code`"},{value:"`section-${string} shipping postal-code webauthn`"},{value:"`section-${string} shipping street-address`"},{value:"`section-${string} shipping street-address webauthn`"},{value:"`section-${string} shipping transaction-amount`"},{value:"`section-${string} shipping transaction-amount webauthn`"},{value:"`section-${string} shipping transaction-currency`"},{value:"`section-${string} shipping transaction-currency webauthn`"},{value:"`section-${string} shipping tel`"},{value:"`section-${string} shipping tel webauthn`"},{value:"`section-${string} shipping email`"},{value:"`section-${string} shipping email webauthn`"},{value:"`section-${string} shipping tel-area-code`"},{value:"`section-${string} shipping tel-area-code webauthn`"},{value:"`section-${string} shipping tel-country-code`"},{value:"`section-${string} shipping tel-country-code webauthn`"},{value:"`section-${string} shipping tel-extension`"},{value:"`section-${string} shipping tel-extension webauthn`"},{value:"`section-${string} shipping tel-local`"},{value:"`section-${string} shipping tel-local webauthn`"},{value:"`section-${string} shipping tel-local-prefix`"},{value:"`section-${string} shipping tel-local-prefix webauthn`"},{value:"`section-${string} shipping tel-local-suffix`"},{value:"`section-${string} shipping tel-local-suffix webauthn`"},{value:"`section-${string} shipping tel-national`"},{value:"`section-${string} shipping tel-national webauthn`"},{value:"`section-${string} shipping home tel`"},{value:"`section-${string} shipping home tel webauthn`"},{value:"`section-${string} shipping home email`"},{value:"`section-${string} shipping home email webauthn`"},{value:"`section-${string} shipping home tel-area-code`"},{value:"`section-${string} shipping home tel-area-code webauthn`"},{value:"`section-${string} shipping home tel-country-code`"},{value:"`section-${string} shipping home tel-country-code webauthn`"},{value:"`section-${string} shipping home tel-extension`"},{value:"`section-${string} shipping home tel-extension webauthn`"},{value:"`section-${string} shipping home tel-local`"},{value:"`section-${string} shipping home tel-local webauthn`"},{value:"`section-${string} shipping home tel-local-prefix`"},{value:"`section-${string} shipping home tel-local-prefix webauthn`"},{value:"`section-${string} shipping home tel-local-suffix`"},{value:"`section-${string} shipping home tel-local-suffix webauthn`"},{value:"`section-${string} shipping home tel-national`"},{value:"`section-${string} shipping home tel-national webauthn`"},{value:"`section-${string} shipping mobile tel`"},{value:"`section-${string} shipping mobile tel webauthn`"},{value:"`section-${string} shipping mobile email`"},{value:"`section-${string} shipping mobile email webauthn`"},{value:"`section-${string} shipping mobile tel-area-code`"},{value:"`section-${string} shipping mobile tel-area-code webauthn`"},{value:"`section-${string} shipping mobile tel-country-code`"},{value:"`section-${string} shipping mobile tel-country-code webauthn`"},{value:"`section-${string} shipping mobile tel-extension`"},{value:"`section-${string} shipping mobile tel-extension webauthn`"},{value:"`section-${string} shipping mobile tel-local`"},{value:"`section-${string} shipping mobile tel-local webauthn`"},{value:"`section-${string} shipping mobile tel-local-prefix`"},{value:"`section-${string} shipping mobile tel-local-prefix webauthn`"},{value:"`section-${string} shipping mobile tel-local-suffix`"},{value:"`section-${string} shipping mobile tel-local-suffix webauthn`"},{value:"`section-${string} shipping mobile tel-national`"},{value:"`section-${string} shipping mobile tel-national webauthn`"},{value:"`section-${string} shipping work tel`"},{value:"`section-${string} shipping work tel webauthn`"},{value:"`section-${string} shipping work email`"},{value:"`section-${string} shipping work email webauthn`"},{value:"`section-${string} shipping work tel-area-code`"},{value:"`section-${string} shipping work tel-area-code webauthn`"},{value:"`section-${string} shipping work tel-country-code`"},{value:"`section-${string} shipping work tel-country-code webauthn`"},{value:"`section-${string} shipping work tel-extension`"},{value:"`section-${string} shipping work tel-extension webauthn`"},{value:"`section-${string} shipping work tel-local`"},{value:"`section-${string} shipping work tel-local webauthn`"},{value:"`section-${string} shipping work tel-local-prefix`"},{value:"`section-${string} shipping work tel-local-prefix webauthn`"},{value:"`section-${string} shipping work tel-local-suffix`"},{value:"`section-${string} shipping work tel-local-suffix webauthn`"},{value:"`section-${string} shipping work tel-national`"},{value:"`section-${string} shipping work tel-national webauthn`"}]}},capture:{defaultValue:null,description:"",name:"capture",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"user"'},{value:'"environment"'}]}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},form:{defaultValue:null,description:"",name:"form",required:!1,type:{name:"enum",value:[{value:"string"}]}},formAction:{defaultValue:null,description:"",name:"formAction",required:!1,type:{name:"enum",value:[{value:"string"}]}},formEncType:{defaultValue:null,description:"",name:"formEncType",required:!1,type:{name:"enum",value:[{value:"string"}]}},formMethod:{defaultValue:null,description:"",name:"formMethod",required:!1,type:{name:"enum",value:[{value:"string"}]}},formNoValidate:{defaultValue:null,description:"",name:"formNoValidate",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},formTarget:{defaultValue:null,description:"",name:"formTarget",required:!1,type:{name:"enum",value:[{value:"string"}]}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},list:{defaultValue:null,description:"",name:"list",required:!1,type:{name:"enum",value:[{value:"string"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},minLength:{defaultValue:null,description:"",name:"minLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},multiple:{defaultValue:null,description:"",name:"multiple",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"enum",value:[{value:"string"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"number"}]}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"enum",value:[{value:"string"}]}},step:{defaultValue:null,description:"",name:"step",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"number"'},{value:'"url"'},{value:'"color"'},{value:'"button"'},{value:'"search"'},{value:'"time"'},{value:'"hidden"'},{value:"string & {}"},{value:'"checkbox"'},{value:'"radio"'},{value:'"text"'},{value:'"tel"'},{value:'"email"'},{value:'"date"'},{value:'"image"'},{value:'"datetime-local"'},{value:'"file"'},{value:'"month"'},{value:'"password"'},{value:'"range"'},{value:'"reset"'},{value:'"submit"'},{value:'"week"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<HTMLInputElement>"}]}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"off"'},{value:'"on"'},{value:'"sentences"'},{value:'"words"'},{value:'"characters"'},{value:"string & {}"}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"inherit"'},{value:'"plaintext-only"'}]}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"enum",value:[{value:"string"}]}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"enum",value:[{value:"string"}]}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"send"'}]}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"enum",value:[{value:"string"}]}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"enum",value:[{value:"string"}]}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"enum",value:[{value:"string"}]}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"enum",value:[{value:"CSSProperties"}]}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"enum",value:[{value:"number"}]}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"enum",value:[{value:"string"}]}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"yes"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"enum",value:[{value:"string"}]}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"main"'},{value:'"article"'},{value:'"table"'},{value:'"figure"'},{value:'"row"'},{value:'"button"'},{value:'"dialog"'},{value:'"form"'},{value:'"img"'},{value:'"link"'},{value:'"menu"'},{value:'"menuitem"'},{value:'"option"'},{value:'"search"'},{value:"string & {}"},{value:'"alert"'},{value:'"alertdialog"'},{value:'"application"'},{value:'"banner"'},{value:'"cell"'},{value:'"checkbox"'},{value:'"columnheader"'},{value:'"combobox"'},{value:'"complementary"'},{value:'"contentinfo"'},{value:'"definition"'},{value:'"directory"'},{value:'"document"'},{value:'"feed"'},{value:'"grid"'},{value:'"gridcell"'},{value:'"group"'},{value:'"heading"'},{value:'"list"'},{value:'"listbox"'},{value:'"listitem"'},{value:'"log"'},{value:'"marquee"'},{value:'"math"'},{value:'"menubar"'},{value:'"menuitemcheckbox"'},{value:'"menuitemradio"'},{value:'"navigation"'},{value:'"note"'},{value:'"presentation"'},{value:'"progressbar"'},{value:'"radio"'},{value:'"radiogroup"'},{value:'"region"'},{value:'"rowgroup"'},{value:'"rowheader"'},{value:'"scrollbar"'},{value:'"searchbox"'},{value:'"separator"'},{value:'"slider"'},{value:'"spinbutton"'},{value:'"status"'},{value:'"switch"'},{value:'"tab"'},{value:'"tablist"'},{value:'"tabpanel"'},{value:'"term"'},{value:'"textbox"'},{value:'"timer"'},{value:'"toolbar"'},{value:'"tooltip"'},{value:'"tree"'},{value:'"treegrid"'},{value:'"treeitem"'}]}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"enum",value:[{value:"string"}]}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"enum",value:[{value:"string"}]}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"enum",value:[{value:"string"}]}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"enum",value:[{value:"string"}]}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"enum",value:[{value:"string"}]}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"enum",value:[{value:"string"}]}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"enum",value:[{value:"string"}]}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"enum",value:[{value:"string"}]}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"enum",value:[{value:"string"}]}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"enum",value:[{value:"string"}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"enum",value:[{value:"string"}]}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"enum",value:[{value:"number"}]}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"enum",value:[{value:"string"}]}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:`Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
3
|
-
@see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}`,name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"
|
|
2
|
+
For internal use only.`,displayName:"Input",props:{accept:{defaultValue:null,description:"",name:"accept",required:!1,type:{name:"enum",value:[{value:"string"}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:"string & {}"},{value:'"tel"'},{value:'"email"'},{value:'"new-password"'},{value:'"current-password"'},{value:'"username"'},{value:'"additional-name"'},{value:'"address-level1"'},{value:'"address-level2"'},{value:'"address-level3"'},{value:'"address-level4"'},{value:'"address-line1"'},{value:'"address-line2"'},{value:'"address-line3"'},{value:'"bday-day"'},{value:'"bday-month"'},{value:'"bday-year"'},{value:'"cc-csc"'},{value:'"cc-exp"'},{value:'"cc-exp-month"'},{value:'"cc-exp-year"'},{value:'"cc-family-name"'},{value:'"cc-given-name"'},{value:'"cc-name"'},{value:'"cc-number"'},{value:'"cc-type"'},{value:'"country"'},{value:'"country-name"'},{value:'"family-name"'},{value:'"given-name"'},{value:'"honorific-prefix"'},{value:'"honorific-suffix"'},{value:'"one-time-code"'},{value:'"organization"'},{value:'"postal-code"'},{value:'"street-address"'},{value:'"transaction-amount"'},{value:'"transaction-currency"'},{value:'"tel-area-code"'},{value:'"tel-country-code"'},{value:'"tel-extension"'},{value:'"tel-local"'},{value:'"tel-local-prefix"'},{value:'"tel-local-suffix"'},{value:'"tel-national"'},{value:'"home tel"'},{value:'"home email"'},{value:'"home tel-area-code"'},{value:'"home tel-country-code"'},{value:'"home tel-extension"'},{value:'"home tel-local"'},{value:'"home tel-local-prefix"'},{value:'"home tel-local-suffix"'},{value:'"home tel-national"'},{value:'"mobile tel"'},{value:'"mobile email"'},{value:'"mobile tel-area-code"'},{value:'"mobile tel-country-code"'},{value:'"mobile tel-extension"'},{value:'"mobile tel-local"'},{value:'"mobile tel-local-prefix"'},{value:'"mobile tel-local-suffix"'},{value:'"mobile tel-national"'},{value:'"work tel"'},{value:'"work email"'},{value:'"work tel-area-code"'},{value:'"work tel-country-code"'},{value:'"work tel-extension"'},{value:'"work tel-local"'},{value:'"work tel-local-prefix"'},{value:'"work tel-local-suffix"'},{value:'"work tel-national"'},{value:'"name webauthn"'},{value:'"new-password webauthn"'},{value:'"current-password webauthn"'},{value:'"username webauthn"'},{value:'"additional-name webauthn"'},{value:'"address-level1 webauthn"'},{value:'"address-level2 webauthn"'},{value:'"address-level3 webauthn"'},{value:'"address-level4 webauthn"'},{value:'"address-line1 webauthn"'},{value:'"address-line2 webauthn"'},{value:'"address-line3 webauthn"'},{value:'"bday-day webauthn"'},{value:'"bday-month webauthn"'},{value:'"bday-year webauthn"'},{value:'"cc-csc webauthn"'},{value:'"cc-exp webauthn"'},{value:'"cc-exp-month webauthn"'},{value:'"cc-exp-year webauthn"'},{value:'"cc-family-name webauthn"'},{value:'"cc-given-name webauthn"'},{value:'"cc-name webauthn"'},{value:'"cc-number webauthn"'},{value:'"cc-type webauthn"'},{value:'"country webauthn"'},{value:'"country-name webauthn"'},{value:'"family-name webauthn"'},{value:'"given-name webauthn"'},{value:'"honorific-prefix webauthn"'},{value:'"honorific-suffix webauthn"'},{value:'"one-time-code webauthn"'},{value:'"organization webauthn"'},{value:'"postal-code webauthn"'},{value:'"street-address webauthn"'},{value:'"transaction-amount webauthn"'},{value:'"transaction-currency webauthn"'},{value:'"tel webauthn"'},{value:'"email webauthn"'},{value:'"tel-area-code webauthn"'},{value:'"tel-country-code webauthn"'},{value:'"tel-extension webauthn"'},{value:'"tel-local webauthn"'},{value:'"tel-local-prefix webauthn"'},{value:'"tel-local-suffix webauthn"'},{value:'"tel-national webauthn"'},{value:'"home tel webauthn"'},{value:'"home email webauthn"'},{value:'"home tel-area-code webauthn"'},{value:'"home tel-country-code webauthn"'},{value:'"home tel-extension webauthn"'},{value:'"home tel-local webauthn"'},{value:'"home tel-local-prefix webauthn"'},{value:'"home tel-local-suffix webauthn"'},{value:'"home tel-national webauthn"'},{value:'"mobile tel webauthn"'},{value:'"mobile email webauthn"'},{value:'"mobile tel-area-code webauthn"'},{value:'"mobile tel-country-code webauthn"'},{value:'"mobile tel-extension webauthn"'},{value:'"mobile tel-local webauthn"'},{value:'"mobile tel-local-prefix webauthn"'},{value:'"mobile tel-local-suffix webauthn"'},{value:'"mobile tel-national webauthn"'},{value:'"work tel webauthn"'},{value:'"work email webauthn"'},{value:'"work tel-area-code webauthn"'},{value:'"work tel-country-code webauthn"'},{value:'"work tel-extension webauthn"'},{value:'"work tel-local webauthn"'},{value:'"work tel-local-prefix webauthn"'},{value:'"work tel-local-suffix webauthn"'},{value:'"work tel-national webauthn"'},{value:'"billing name"'},{value:'"billing name webauthn"'},{value:'"billing new-password"'},{value:'"billing new-password webauthn"'},{value:'"billing current-password"'},{value:'"billing current-password webauthn"'},{value:'"billing username"'},{value:'"billing username webauthn"'},{value:'"billing additional-name"'},{value:'"billing additional-name webauthn"'},{value:'"billing address-level1"'},{value:'"billing address-level1 webauthn"'},{value:'"billing address-level2"'},{value:'"billing address-level2 webauthn"'},{value:'"billing address-level3"'},{value:'"billing address-level3 webauthn"'},{value:'"billing address-level4"'},{value:'"billing address-level4 webauthn"'},{value:'"billing address-line1"'},{value:'"billing address-line1 webauthn"'},{value:'"billing address-line2"'},{value:'"billing address-line2 webauthn"'},{value:'"billing address-line3"'},{value:'"billing address-line3 webauthn"'},{value:'"billing bday-day"'},{value:'"billing bday-day webauthn"'},{value:'"billing bday-month"'},{value:'"billing bday-month webauthn"'},{value:'"billing bday-year"'},{value:'"billing bday-year webauthn"'},{value:'"billing cc-csc"'},{value:'"billing cc-csc webauthn"'},{value:'"billing cc-exp"'},{value:'"billing cc-exp webauthn"'},{value:'"billing cc-exp-month"'},{value:'"billing cc-exp-month webauthn"'},{value:'"billing cc-exp-year"'},{value:'"billing cc-exp-year webauthn"'},{value:'"billing cc-family-name"'},{value:'"billing cc-family-name webauthn"'},{value:'"billing cc-given-name"'},{value:'"billing cc-given-name webauthn"'},{value:'"billing cc-name"'},{value:'"billing cc-name webauthn"'},{value:'"billing cc-number"'},{value:'"billing cc-number webauthn"'},{value:'"billing cc-type"'},{value:'"billing cc-type webauthn"'},{value:'"billing country"'},{value:'"billing country webauthn"'},{value:'"billing country-name"'},{value:'"billing country-name webauthn"'},{value:'"billing family-name"'},{value:'"billing family-name webauthn"'},{value:'"billing given-name"'},{value:'"billing given-name webauthn"'},{value:'"billing honorific-prefix"'},{value:'"billing honorific-prefix webauthn"'},{value:'"billing honorific-suffix"'},{value:'"billing honorific-suffix webauthn"'},{value:'"billing one-time-code"'},{value:'"billing one-time-code webauthn"'},{value:'"billing organization"'},{value:'"billing organization webauthn"'},{value:'"billing postal-code"'},{value:'"billing postal-code webauthn"'},{value:'"billing street-address"'},{value:'"billing street-address webauthn"'},{value:'"billing transaction-amount"'},{value:'"billing transaction-amount webauthn"'},{value:'"billing transaction-currency"'},{value:'"billing transaction-currency webauthn"'},{value:'"billing tel"'},{value:'"billing tel webauthn"'},{value:'"billing email"'},{value:'"billing email webauthn"'},{value:'"billing tel-area-code"'},{value:'"billing tel-area-code webauthn"'},{value:'"billing tel-country-code"'},{value:'"billing tel-country-code webauthn"'},{value:'"billing tel-extension"'},{value:'"billing tel-extension webauthn"'},{value:'"billing tel-local"'},{value:'"billing tel-local webauthn"'},{value:'"billing tel-local-prefix"'},{value:'"billing tel-local-prefix webauthn"'},{value:'"billing tel-local-suffix"'},{value:'"billing tel-local-suffix webauthn"'},{value:'"billing tel-national"'},{value:'"billing tel-national webauthn"'},{value:'"billing home tel"'},{value:'"billing home tel webauthn"'},{value:'"billing home email"'},{value:'"billing home email webauthn"'},{value:'"billing home tel-area-code"'},{value:'"billing home tel-area-code webauthn"'},{value:'"billing home tel-country-code"'},{value:'"billing home tel-country-code webauthn"'},{value:'"billing home tel-extension"'},{value:'"billing home tel-extension webauthn"'},{value:'"billing home tel-local"'},{value:'"billing home tel-local webauthn"'},{value:'"billing home tel-local-prefix"'},{value:'"billing home tel-local-prefix webauthn"'},{value:'"billing home tel-local-suffix"'},{value:'"billing home tel-local-suffix webauthn"'},{value:'"billing home tel-national"'},{value:'"billing home tel-national webauthn"'},{value:'"billing mobile tel"'},{value:'"billing mobile tel webauthn"'},{value:'"billing mobile email"'},{value:'"billing mobile email webauthn"'},{value:'"billing mobile tel-area-code"'},{value:'"billing mobile tel-area-code webauthn"'},{value:'"billing mobile tel-country-code"'},{value:'"billing mobile tel-country-code webauthn"'},{value:'"billing mobile tel-extension"'},{value:'"billing mobile tel-extension webauthn"'},{value:'"billing mobile tel-local"'},{value:'"billing mobile tel-local webauthn"'},{value:'"billing mobile tel-local-prefix"'},{value:'"billing mobile tel-local-prefix webauthn"'},{value:'"billing mobile tel-local-suffix"'},{value:'"billing mobile tel-local-suffix webauthn"'},{value:'"billing mobile tel-national"'},{value:'"billing mobile tel-national webauthn"'},{value:'"billing work tel"'},{value:'"billing work tel webauthn"'},{value:'"billing work email"'},{value:'"billing work email webauthn"'},{value:'"billing work tel-area-code"'},{value:'"billing work tel-area-code webauthn"'},{value:'"billing work tel-country-code"'},{value:'"billing work tel-country-code webauthn"'},{value:'"billing work tel-extension"'},{value:'"billing work tel-extension webauthn"'},{value:'"billing work tel-local"'},{value:'"billing work tel-local webauthn"'},{value:'"billing work tel-local-prefix"'},{value:'"billing work tel-local-prefix webauthn"'},{value:'"billing work tel-local-suffix"'},{value:'"billing work tel-local-suffix webauthn"'},{value:'"billing work tel-national"'},{value:'"billing work tel-national webauthn"'},{value:'"shipping name"'},{value:'"shipping name webauthn"'},{value:'"shipping new-password"'},{value:'"shipping new-password webauthn"'},{value:'"shipping current-password"'},{value:'"shipping current-password webauthn"'},{value:'"shipping username"'},{value:'"shipping username webauthn"'},{value:'"shipping additional-name"'},{value:'"shipping additional-name webauthn"'},{value:'"shipping address-level1"'},{value:'"shipping address-level1 webauthn"'},{value:'"shipping address-level2"'},{value:'"shipping address-level2 webauthn"'},{value:'"shipping address-level3"'},{value:'"shipping address-level3 webauthn"'},{value:'"shipping address-level4"'},{value:'"shipping address-level4 webauthn"'},{value:'"shipping address-line1"'},{value:'"shipping address-line1 webauthn"'},{value:'"shipping address-line2"'},{value:'"shipping address-line2 webauthn"'},{value:'"shipping address-line3"'},{value:'"shipping address-line3 webauthn"'},{value:'"shipping bday-day"'},{value:'"shipping bday-day webauthn"'},{value:'"shipping bday-month"'},{value:'"shipping bday-month webauthn"'},{value:'"shipping bday-year"'},{value:'"shipping bday-year webauthn"'},{value:'"shipping cc-csc"'},{value:'"shipping cc-csc webauthn"'},{value:'"shipping cc-exp"'},{value:'"shipping cc-exp webauthn"'},{value:'"shipping cc-exp-month"'},{value:'"shipping cc-exp-month webauthn"'},{value:'"shipping cc-exp-year"'},{value:'"shipping cc-exp-year webauthn"'},{value:'"shipping cc-family-name"'},{value:'"shipping cc-family-name webauthn"'},{value:'"shipping cc-given-name"'},{value:'"shipping cc-given-name webauthn"'},{value:'"shipping cc-name"'},{value:'"shipping cc-name webauthn"'},{value:'"shipping cc-number"'},{value:'"shipping cc-number webauthn"'},{value:'"shipping cc-type"'},{value:'"shipping cc-type webauthn"'},{value:'"shipping country"'},{value:'"shipping country webauthn"'},{value:'"shipping country-name"'},{value:'"shipping country-name webauthn"'},{value:'"shipping family-name"'},{value:'"shipping family-name webauthn"'},{value:'"shipping given-name"'},{value:'"shipping given-name webauthn"'},{value:'"shipping honorific-prefix"'},{value:'"shipping honorific-prefix webauthn"'},{value:'"shipping honorific-suffix"'},{value:'"shipping honorific-suffix webauthn"'},{value:'"shipping one-time-code"'},{value:'"shipping one-time-code webauthn"'},{value:'"shipping organization"'},{value:'"shipping organization webauthn"'},{value:'"shipping postal-code"'},{value:'"shipping postal-code webauthn"'},{value:'"shipping street-address"'},{value:'"shipping street-address webauthn"'},{value:'"shipping transaction-amount"'},{value:'"shipping transaction-amount webauthn"'},{value:'"shipping transaction-currency"'},{value:'"shipping transaction-currency webauthn"'},{value:'"shipping tel"'},{value:'"shipping tel webauthn"'},{value:'"shipping email"'},{value:'"shipping email webauthn"'},{value:'"shipping tel-area-code"'},{value:'"shipping tel-area-code webauthn"'},{value:'"shipping tel-country-code"'},{value:'"shipping tel-country-code webauthn"'},{value:'"shipping tel-extension"'},{value:'"shipping tel-extension webauthn"'},{value:'"shipping tel-local"'},{value:'"shipping tel-local webauthn"'},{value:'"shipping tel-local-prefix"'},{value:'"shipping tel-local-prefix webauthn"'},{value:'"shipping tel-local-suffix"'},{value:'"shipping tel-local-suffix webauthn"'},{value:'"shipping tel-national"'},{value:'"shipping tel-national webauthn"'},{value:'"shipping home tel"'},{value:'"shipping home tel webauthn"'},{value:'"shipping home email"'},{value:'"shipping home email webauthn"'},{value:'"shipping home tel-area-code"'},{value:'"shipping home tel-area-code webauthn"'},{value:'"shipping home tel-country-code"'},{value:'"shipping home tel-country-code webauthn"'},{value:'"shipping home tel-extension"'},{value:'"shipping home tel-extension webauthn"'},{value:'"shipping home tel-local"'},{value:'"shipping home tel-local webauthn"'},{value:'"shipping home tel-local-prefix"'},{value:'"shipping home tel-local-prefix webauthn"'},{value:'"shipping home tel-local-suffix"'},{value:'"shipping home tel-local-suffix webauthn"'},{value:'"shipping home tel-national"'},{value:'"shipping home tel-national webauthn"'},{value:'"shipping mobile tel"'},{value:'"shipping mobile tel webauthn"'},{value:'"shipping mobile email"'},{value:'"shipping mobile email webauthn"'},{value:'"shipping mobile tel-area-code"'},{value:'"shipping mobile tel-area-code webauthn"'},{value:'"shipping mobile tel-country-code"'},{value:'"shipping mobile tel-country-code webauthn"'},{value:'"shipping mobile tel-extension"'},{value:'"shipping mobile tel-extension webauthn"'},{value:'"shipping mobile tel-local"'},{value:'"shipping mobile tel-local webauthn"'},{value:'"shipping mobile tel-local-prefix"'},{value:'"shipping mobile tel-local-prefix webauthn"'},{value:'"shipping mobile tel-local-suffix"'},{value:'"shipping mobile tel-local-suffix webauthn"'},{value:'"shipping mobile tel-national"'},{value:'"shipping mobile tel-national webauthn"'},{value:'"shipping work tel"'},{value:'"shipping work tel webauthn"'},{value:'"shipping work email"'},{value:'"shipping work email webauthn"'},{value:'"shipping work tel-area-code"'},{value:'"shipping work tel-area-code webauthn"'},{value:'"shipping work tel-country-code"'},{value:'"shipping work tel-country-code webauthn"'},{value:'"shipping work tel-extension"'},{value:'"shipping work tel-extension webauthn"'},{value:'"shipping work tel-local"'},{value:'"shipping work tel-local webauthn"'},{value:'"shipping work tel-local-prefix"'},{value:'"shipping work tel-local-prefix webauthn"'},{value:'"shipping work tel-local-suffix"'},{value:'"shipping work tel-local-suffix webauthn"'},{value:'"shipping work tel-national"'},{value:'"shipping work tel-national webauthn"'},{value:"`section-${string} name`"},{value:"`section-${string} name webauthn`"},{value:"`section-${string} new-password`"},{value:"`section-${string} new-password webauthn`"},{value:"`section-${string} current-password`"},{value:"`section-${string} current-password webauthn`"},{value:"`section-${string} username`"},{value:"`section-${string} username webauthn`"},{value:"`section-${string} additional-name`"},{value:"`section-${string} additional-name webauthn`"},{value:"`section-${string} address-level1`"},{value:"`section-${string} address-level1 webauthn`"},{value:"`section-${string} address-level2`"},{value:"`section-${string} address-level2 webauthn`"},{value:"`section-${string} address-level3`"},{value:"`section-${string} address-level3 webauthn`"},{value:"`section-${string} address-level4`"},{value:"`section-${string} address-level4 webauthn`"},{value:"`section-${string} address-line1`"},{value:"`section-${string} address-line1 webauthn`"},{value:"`section-${string} address-line2`"},{value:"`section-${string} address-line2 webauthn`"},{value:"`section-${string} address-line3`"},{value:"`section-${string} address-line3 webauthn`"},{value:"`section-${string} bday-day`"},{value:"`section-${string} bday-day webauthn`"},{value:"`section-${string} bday-month`"},{value:"`section-${string} bday-month webauthn`"},{value:"`section-${string} bday-year`"},{value:"`section-${string} bday-year webauthn`"},{value:"`section-${string} cc-csc`"},{value:"`section-${string} cc-csc webauthn`"},{value:"`section-${string} cc-exp`"},{value:"`section-${string} cc-exp webauthn`"},{value:"`section-${string} cc-exp-month`"},{value:"`section-${string} cc-exp-month webauthn`"},{value:"`section-${string} cc-exp-year`"},{value:"`section-${string} cc-exp-year webauthn`"},{value:"`section-${string} cc-family-name`"},{value:"`section-${string} cc-family-name webauthn`"},{value:"`section-${string} cc-given-name`"},{value:"`section-${string} cc-given-name webauthn`"},{value:"`section-${string} cc-name`"},{value:"`section-${string} cc-name webauthn`"},{value:"`section-${string} cc-number`"},{value:"`section-${string} cc-number webauthn`"},{value:"`section-${string} cc-type`"},{value:"`section-${string} cc-type webauthn`"},{value:"`section-${string} country`"},{value:"`section-${string} country webauthn`"},{value:"`section-${string} country-name`"},{value:"`section-${string} country-name webauthn`"},{value:"`section-${string} family-name`"},{value:"`section-${string} family-name webauthn`"},{value:"`section-${string} given-name`"},{value:"`section-${string} given-name webauthn`"},{value:"`section-${string} honorific-prefix`"},{value:"`section-${string} honorific-prefix webauthn`"},{value:"`section-${string} honorific-suffix`"},{value:"`section-${string} honorific-suffix webauthn`"},{value:"`section-${string} one-time-code`"},{value:"`section-${string} one-time-code webauthn`"},{value:"`section-${string} organization`"},{value:"`section-${string} organization webauthn`"},{value:"`section-${string} postal-code`"},{value:"`section-${string} postal-code webauthn`"},{value:"`section-${string} street-address`"},{value:"`section-${string} street-address webauthn`"},{value:"`section-${string} transaction-amount`"},{value:"`section-${string} transaction-amount webauthn`"},{value:"`section-${string} transaction-currency`"},{value:"`section-${string} transaction-currency webauthn`"},{value:"`section-${string} tel`"},{value:"`section-${string} tel webauthn`"},{value:"`section-${string} email`"},{value:"`section-${string} email webauthn`"},{value:"`section-${string} tel-area-code`"},{value:"`section-${string} tel-area-code webauthn`"},{value:"`section-${string} tel-country-code`"},{value:"`section-${string} tel-country-code webauthn`"},{value:"`section-${string} tel-extension`"},{value:"`section-${string} tel-extension webauthn`"},{value:"`section-${string} tel-local`"},{value:"`section-${string} tel-local webauthn`"},{value:"`section-${string} tel-local-prefix`"},{value:"`section-${string} tel-local-prefix webauthn`"},{value:"`section-${string} tel-local-suffix`"},{value:"`section-${string} tel-local-suffix webauthn`"},{value:"`section-${string} tel-national`"},{value:"`section-${string} tel-national webauthn`"},{value:"`section-${string} home tel`"},{value:"`section-${string} home tel webauthn`"},{value:"`section-${string} home email`"},{value:"`section-${string} home email webauthn`"},{value:"`section-${string} home tel-area-code`"},{value:"`section-${string} home tel-area-code webauthn`"},{value:"`section-${string} home tel-country-code`"},{value:"`section-${string} home tel-country-code webauthn`"},{value:"`section-${string} home tel-extension`"},{value:"`section-${string} home tel-extension webauthn`"},{value:"`section-${string} home tel-local`"},{value:"`section-${string} home tel-local webauthn`"},{value:"`section-${string} home tel-local-prefix`"},{value:"`section-${string} home tel-local-prefix webauthn`"},{value:"`section-${string} home tel-local-suffix`"},{value:"`section-${string} home tel-local-suffix webauthn`"},{value:"`section-${string} home tel-national`"},{value:"`section-${string} home tel-national webauthn`"},{value:"`section-${string} mobile tel`"},{value:"`section-${string} mobile tel webauthn`"},{value:"`section-${string} mobile email`"},{value:"`section-${string} mobile email webauthn`"},{value:"`section-${string} mobile tel-area-code`"},{value:"`section-${string} mobile tel-area-code webauthn`"},{value:"`section-${string} mobile tel-country-code`"},{value:"`section-${string} mobile tel-country-code webauthn`"},{value:"`section-${string} mobile tel-extension`"},{value:"`section-${string} mobile tel-extension webauthn`"},{value:"`section-${string} mobile tel-local`"},{value:"`section-${string} mobile tel-local webauthn`"},{value:"`section-${string} mobile tel-local-prefix`"},{value:"`section-${string} mobile tel-local-prefix webauthn`"},{value:"`section-${string} mobile tel-local-suffix`"},{value:"`section-${string} mobile tel-local-suffix webauthn`"},{value:"`section-${string} mobile tel-national`"},{value:"`section-${string} mobile tel-national webauthn`"},{value:"`section-${string} work tel`"},{value:"`section-${string} work tel webauthn`"},{value:"`section-${string} work email`"},{value:"`section-${string} work email webauthn`"},{value:"`section-${string} work tel-area-code`"},{value:"`section-${string} work tel-area-code webauthn`"},{value:"`section-${string} work tel-country-code`"},{value:"`section-${string} work tel-country-code webauthn`"},{value:"`section-${string} work tel-extension`"},{value:"`section-${string} work tel-extension webauthn`"},{value:"`section-${string} work tel-local`"},{value:"`section-${string} work tel-local webauthn`"},{value:"`section-${string} work tel-local-prefix`"},{value:"`section-${string} work tel-local-prefix webauthn`"},{value:"`section-${string} work tel-local-suffix`"},{value:"`section-${string} work tel-local-suffix webauthn`"},{value:"`section-${string} work tel-national`"},{value:"`section-${string} work tel-national webauthn`"},{value:"`section-${string} billing name`"},{value:"`section-${string} billing name webauthn`"},{value:"`section-${string} billing new-password`"},{value:"`section-${string} billing new-password webauthn`"},{value:"`section-${string} billing current-password`"},{value:"`section-${string} billing current-password webauthn`"},{value:"`section-${string} billing username`"},{value:"`section-${string} billing username webauthn`"},{value:"`section-${string} billing additional-name`"},{value:"`section-${string} billing additional-name webauthn`"},{value:"`section-${string} billing address-level1`"},{value:"`section-${string} billing address-level1 webauthn`"},{value:"`section-${string} billing address-level2`"},{value:"`section-${string} billing address-level2 webauthn`"},{value:"`section-${string} billing address-level3`"},{value:"`section-${string} billing address-level3 webauthn`"},{value:"`section-${string} billing address-level4`"},{value:"`section-${string} billing address-level4 webauthn`"},{value:"`section-${string} billing address-line1`"},{value:"`section-${string} billing address-line1 webauthn`"},{value:"`section-${string} billing address-line2`"},{value:"`section-${string} billing address-line2 webauthn`"},{value:"`section-${string} billing address-line3`"},{value:"`section-${string} billing address-line3 webauthn`"},{value:"`section-${string} billing bday-day`"},{value:"`section-${string} billing bday-day webauthn`"},{value:"`section-${string} billing bday-month`"},{value:"`section-${string} billing bday-month webauthn`"},{value:"`section-${string} billing bday-year`"},{value:"`section-${string} billing bday-year webauthn`"},{value:"`section-${string} billing cc-csc`"},{value:"`section-${string} billing cc-csc webauthn`"},{value:"`section-${string} billing cc-exp`"},{value:"`section-${string} billing cc-exp webauthn`"},{value:"`section-${string} billing cc-exp-month`"},{value:"`section-${string} billing cc-exp-month webauthn`"},{value:"`section-${string} billing cc-exp-year`"},{value:"`section-${string} billing cc-exp-year webauthn`"},{value:"`section-${string} billing cc-family-name`"},{value:"`section-${string} billing cc-family-name webauthn`"},{value:"`section-${string} billing cc-given-name`"},{value:"`section-${string} billing cc-given-name webauthn`"},{value:"`section-${string} billing cc-name`"},{value:"`section-${string} billing cc-name webauthn`"},{value:"`section-${string} billing cc-number`"},{value:"`section-${string} billing cc-number webauthn`"},{value:"`section-${string} billing cc-type`"},{value:"`section-${string} billing cc-type webauthn`"},{value:"`section-${string} billing country`"},{value:"`section-${string} billing country webauthn`"},{value:"`section-${string} billing country-name`"},{value:"`section-${string} billing country-name webauthn`"},{value:"`section-${string} billing family-name`"},{value:"`section-${string} billing family-name webauthn`"},{value:"`section-${string} billing given-name`"},{value:"`section-${string} billing given-name webauthn`"},{value:"`section-${string} billing honorific-prefix`"},{value:"`section-${string} billing honorific-prefix webauthn`"},{value:"`section-${string} billing honorific-suffix`"},{value:"`section-${string} billing honorific-suffix webauthn`"},{value:"`section-${string} billing one-time-code`"},{value:"`section-${string} billing one-time-code webauthn`"},{value:"`section-${string} billing organization`"},{value:"`section-${string} billing organization webauthn`"},{value:"`section-${string} billing postal-code`"},{value:"`section-${string} billing postal-code webauthn`"},{value:"`section-${string} billing street-address`"},{value:"`section-${string} billing street-address webauthn`"},{value:"`section-${string} billing transaction-amount`"},{value:"`section-${string} billing transaction-amount webauthn`"},{value:"`section-${string} billing transaction-currency`"},{value:"`section-${string} billing transaction-currency webauthn`"},{value:"`section-${string} billing tel`"},{value:"`section-${string} billing tel webauthn`"},{value:"`section-${string} billing email`"},{value:"`section-${string} billing email webauthn`"},{value:"`section-${string} billing tel-area-code`"},{value:"`section-${string} billing tel-area-code webauthn`"},{value:"`section-${string} billing tel-country-code`"},{value:"`section-${string} billing tel-country-code webauthn`"},{value:"`section-${string} billing tel-extension`"},{value:"`section-${string} billing tel-extension webauthn`"},{value:"`section-${string} billing tel-local`"},{value:"`section-${string} billing tel-local webauthn`"},{value:"`section-${string} billing tel-local-prefix`"},{value:"`section-${string} billing tel-local-prefix webauthn`"},{value:"`section-${string} billing tel-local-suffix`"},{value:"`section-${string} billing tel-local-suffix webauthn`"},{value:"`section-${string} billing tel-national`"},{value:"`section-${string} billing tel-national webauthn`"},{value:"`section-${string} billing home tel`"},{value:"`section-${string} billing home tel webauthn`"},{value:"`section-${string} billing home email`"},{value:"`section-${string} billing home email webauthn`"},{value:"`section-${string} billing home tel-area-code`"},{value:"`section-${string} billing home tel-area-code webauthn`"},{value:"`section-${string} billing home tel-country-code`"},{value:"`section-${string} billing home tel-country-code webauthn`"},{value:"`section-${string} billing home tel-extension`"},{value:"`section-${string} billing home tel-extension webauthn`"},{value:"`section-${string} billing home tel-local`"},{value:"`section-${string} billing home tel-local webauthn`"},{value:"`section-${string} billing home tel-local-prefix`"},{value:"`section-${string} billing home tel-local-prefix webauthn`"},{value:"`section-${string} billing home tel-local-suffix`"},{value:"`section-${string} billing home tel-local-suffix webauthn`"},{value:"`section-${string} billing home tel-national`"},{value:"`section-${string} billing home tel-national webauthn`"},{value:"`section-${string} billing mobile tel`"},{value:"`section-${string} billing mobile tel webauthn`"},{value:"`section-${string} billing mobile email`"},{value:"`section-${string} billing mobile email webauthn`"},{value:"`section-${string} billing mobile tel-area-code`"},{value:"`section-${string} billing mobile tel-area-code webauthn`"},{value:"`section-${string} billing mobile tel-country-code`"},{value:"`section-${string} billing mobile tel-country-code webauthn`"},{value:"`section-${string} billing mobile tel-extension`"},{value:"`section-${string} billing mobile tel-extension webauthn`"},{value:"`section-${string} billing mobile tel-local`"},{value:"`section-${string} billing mobile tel-local webauthn`"},{value:"`section-${string} billing mobile tel-local-prefix`"},{value:"`section-${string} billing mobile tel-local-prefix webauthn`"},{value:"`section-${string} billing mobile tel-local-suffix`"},{value:"`section-${string} billing mobile tel-local-suffix webauthn`"},{value:"`section-${string} billing mobile tel-national`"},{value:"`section-${string} billing mobile tel-national webauthn`"},{value:"`section-${string} billing work tel`"},{value:"`section-${string} billing work tel webauthn`"},{value:"`section-${string} billing work email`"},{value:"`section-${string} billing work email webauthn`"},{value:"`section-${string} billing work tel-area-code`"},{value:"`section-${string} billing work tel-area-code webauthn`"},{value:"`section-${string} billing work tel-country-code`"},{value:"`section-${string} billing work tel-country-code webauthn`"},{value:"`section-${string} billing work tel-extension`"},{value:"`section-${string} billing work tel-extension webauthn`"},{value:"`section-${string} billing work tel-local`"},{value:"`section-${string} billing work tel-local webauthn`"},{value:"`section-${string} billing work tel-local-prefix`"},{value:"`section-${string} billing work tel-local-prefix webauthn`"},{value:"`section-${string} billing work tel-local-suffix`"},{value:"`section-${string} billing work tel-local-suffix webauthn`"},{value:"`section-${string} billing work tel-national`"},{value:"`section-${string} billing work tel-national webauthn`"},{value:"`section-${string} shipping name`"},{value:"`section-${string} shipping name webauthn`"},{value:"`section-${string} shipping new-password`"},{value:"`section-${string} shipping new-password webauthn`"},{value:"`section-${string} shipping current-password`"},{value:"`section-${string} shipping current-password webauthn`"},{value:"`section-${string} shipping username`"},{value:"`section-${string} shipping username webauthn`"},{value:"`section-${string} shipping additional-name`"},{value:"`section-${string} shipping additional-name webauthn`"},{value:"`section-${string} shipping address-level1`"},{value:"`section-${string} shipping address-level1 webauthn`"},{value:"`section-${string} shipping address-level2`"},{value:"`section-${string} shipping address-level2 webauthn`"},{value:"`section-${string} shipping address-level3`"},{value:"`section-${string} shipping address-level3 webauthn`"},{value:"`section-${string} shipping address-level4`"},{value:"`section-${string} shipping address-level4 webauthn`"},{value:"`section-${string} shipping address-line1`"},{value:"`section-${string} shipping address-line1 webauthn`"},{value:"`section-${string} shipping address-line2`"},{value:"`section-${string} shipping address-line2 webauthn`"},{value:"`section-${string} shipping address-line3`"},{value:"`section-${string} shipping address-line3 webauthn`"},{value:"`section-${string} shipping bday-day`"},{value:"`section-${string} shipping bday-day webauthn`"},{value:"`section-${string} shipping bday-month`"},{value:"`section-${string} shipping bday-month webauthn`"},{value:"`section-${string} shipping bday-year`"},{value:"`section-${string} shipping bday-year webauthn`"},{value:"`section-${string} shipping cc-csc`"},{value:"`section-${string} shipping cc-csc webauthn`"},{value:"`section-${string} shipping cc-exp`"},{value:"`section-${string} shipping cc-exp webauthn`"},{value:"`section-${string} shipping cc-exp-month`"},{value:"`section-${string} shipping cc-exp-month webauthn`"},{value:"`section-${string} shipping cc-exp-year`"},{value:"`section-${string} shipping cc-exp-year webauthn`"},{value:"`section-${string} shipping cc-family-name`"},{value:"`section-${string} shipping cc-family-name webauthn`"},{value:"`section-${string} shipping cc-given-name`"},{value:"`section-${string} shipping cc-given-name webauthn`"},{value:"`section-${string} shipping cc-name`"},{value:"`section-${string} shipping cc-name webauthn`"},{value:"`section-${string} shipping cc-number`"},{value:"`section-${string} shipping cc-number webauthn`"},{value:"`section-${string} shipping cc-type`"},{value:"`section-${string} shipping cc-type webauthn`"},{value:"`section-${string} shipping country`"},{value:"`section-${string} shipping country webauthn`"},{value:"`section-${string} shipping country-name`"},{value:"`section-${string} shipping country-name webauthn`"},{value:"`section-${string} shipping family-name`"},{value:"`section-${string} shipping family-name webauthn`"},{value:"`section-${string} shipping given-name`"},{value:"`section-${string} shipping given-name webauthn`"},{value:"`section-${string} shipping honorific-prefix`"},{value:"`section-${string} shipping honorific-prefix webauthn`"},{value:"`section-${string} shipping honorific-suffix`"},{value:"`section-${string} shipping honorific-suffix webauthn`"},{value:"`section-${string} shipping one-time-code`"},{value:"`section-${string} shipping one-time-code webauthn`"},{value:"`section-${string} shipping organization`"},{value:"`section-${string} shipping organization webauthn`"},{value:"`section-${string} shipping postal-code`"},{value:"`section-${string} shipping postal-code webauthn`"},{value:"`section-${string} shipping street-address`"},{value:"`section-${string} shipping street-address webauthn`"},{value:"`section-${string} shipping transaction-amount`"},{value:"`section-${string} shipping transaction-amount webauthn`"},{value:"`section-${string} shipping transaction-currency`"},{value:"`section-${string} shipping transaction-currency webauthn`"},{value:"`section-${string} shipping tel`"},{value:"`section-${string} shipping tel webauthn`"},{value:"`section-${string} shipping email`"},{value:"`section-${string} shipping email webauthn`"},{value:"`section-${string} shipping tel-area-code`"},{value:"`section-${string} shipping tel-area-code webauthn`"},{value:"`section-${string} shipping tel-country-code`"},{value:"`section-${string} shipping tel-country-code webauthn`"},{value:"`section-${string} shipping tel-extension`"},{value:"`section-${string} shipping tel-extension webauthn`"},{value:"`section-${string} shipping tel-local`"},{value:"`section-${string} shipping tel-local webauthn`"},{value:"`section-${string} shipping tel-local-prefix`"},{value:"`section-${string} shipping tel-local-prefix webauthn`"},{value:"`section-${string} shipping tel-local-suffix`"},{value:"`section-${string} shipping tel-local-suffix webauthn`"},{value:"`section-${string} shipping tel-national`"},{value:"`section-${string} shipping tel-national webauthn`"},{value:"`section-${string} shipping home tel`"},{value:"`section-${string} shipping home tel webauthn`"},{value:"`section-${string} shipping home email`"},{value:"`section-${string} shipping home email webauthn`"},{value:"`section-${string} shipping home tel-area-code`"},{value:"`section-${string} shipping home tel-area-code webauthn`"},{value:"`section-${string} shipping home tel-country-code`"},{value:"`section-${string} shipping home tel-country-code webauthn`"},{value:"`section-${string} shipping home tel-extension`"},{value:"`section-${string} shipping home tel-extension webauthn`"},{value:"`section-${string} shipping home tel-local`"},{value:"`section-${string} shipping home tel-local webauthn`"},{value:"`section-${string} shipping home tel-local-prefix`"},{value:"`section-${string} shipping home tel-local-prefix webauthn`"},{value:"`section-${string} shipping home tel-local-suffix`"},{value:"`section-${string} shipping home tel-local-suffix webauthn`"},{value:"`section-${string} shipping home tel-national`"},{value:"`section-${string} shipping home tel-national webauthn`"},{value:"`section-${string} shipping mobile tel`"},{value:"`section-${string} shipping mobile tel webauthn`"},{value:"`section-${string} shipping mobile email`"},{value:"`section-${string} shipping mobile email webauthn`"},{value:"`section-${string} shipping mobile tel-area-code`"},{value:"`section-${string} shipping mobile tel-area-code webauthn`"},{value:"`section-${string} shipping mobile tel-country-code`"},{value:"`section-${string} shipping mobile tel-country-code webauthn`"},{value:"`section-${string} shipping mobile tel-extension`"},{value:"`section-${string} shipping mobile tel-extension webauthn`"},{value:"`section-${string} shipping mobile tel-local`"},{value:"`section-${string} shipping mobile tel-local webauthn`"},{value:"`section-${string} shipping mobile tel-local-prefix`"},{value:"`section-${string} shipping mobile tel-local-prefix webauthn`"},{value:"`section-${string} shipping mobile tel-local-suffix`"},{value:"`section-${string} shipping mobile tel-local-suffix webauthn`"},{value:"`section-${string} shipping mobile tel-national`"},{value:"`section-${string} shipping mobile tel-national webauthn`"},{value:"`section-${string} shipping work tel`"},{value:"`section-${string} shipping work tel webauthn`"},{value:"`section-${string} shipping work email`"},{value:"`section-${string} shipping work email webauthn`"},{value:"`section-${string} shipping work tel-area-code`"},{value:"`section-${string} shipping work tel-area-code webauthn`"},{value:"`section-${string} shipping work tel-country-code`"},{value:"`section-${string} shipping work tel-country-code webauthn`"},{value:"`section-${string} shipping work tel-extension`"},{value:"`section-${string} shipping work tel-extension webauthn`"},{value:"`section-${string} shipping work tel-local`"},{value:"`section-${string} shipping work tel-local webauthn`"},{value:"`section-${string} shipping work tel-local-prefix`"},{value:"`section-${string} shipping work tel-local-prefix webauthn`"},{value:"`section-${string} shipping work tel-local-suffix`"},{value:"`section-${string} shipping work tel-local-suffix webauthn`"},{value:"`section-${string} shipping work tel-national`"},{value:"`section-${string} shipping work tel-national webauthn`"}]}},capture:{defaultValue:null,description:"",name:"capture",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"user"'},{value:'"environment"'}]}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},form:{defaultValue:null,description:"",name:"form",required:!1,type:{name:"enum",value:[{value:"string"}]}},formAction:{defaultValue:null,description:"",name:"formAction",required:!1,type:{name:"enum",value:[{value:"string"}]}},formEncType:{defaultValue:null,description:"",name:"formEncType",required:!1,type:{name:"enum",value:[{value:"string"}]}},formMethod:{defaultValue:null,description:"",name:"formMethod",required:!1,type:{name:"enum",value:[{value:"string"}]}},formNoValidate:{defaultValue:null,description:"",name:"formNoValidate",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},formTarget:{defaultValue:null,description:"",name:"formTarget",required:!1,type:{name:"enum",value:[{value:"string"}]}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},list:{defaultValue:null,description:"",name:"list",required:!1,type:{name:"enum",value:[{value:"string"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},minLength:{defaultValue:null,description:"",name:"minLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},multiple:{defaultValue:null,description:"",name:"multiple",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"enum",value:[{value:"string"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"number"}]}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"enum",value:[{value:"string"}]}},step:{defaultValue:null,description:"",name:"step",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"number"'},{value:'"color"'},{value:'"url"'},{value:'"button"'},{value:'"search"'},{value:'"time"'},{value:'"hidden"'},{value:"string & {}"},{value:'"checkbox"'},{value:'"radio"'},{value:'"text"'},{value:'"tel"'},{value:'"email"'},{value:'"date"'},{value:'"image"'},{value:'"datetime-local"'},{value:'"file"'},{value:'"month"'},{value:'"password"'},{value:'"range"'},{value:'"reset"'},{value:'"submit"'},{value:'"week"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<HTMLInputElement>"}]}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"none"'},{value:'"on"'},{value:'"sentences"'},{value:'"words"'},{value:'"characters"'},{value:"string & {}"}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"inherit"'},{value:'"plaintext-only"'}]}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"enum",value:[{value:"string"}]}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"enum",value:[{value:"string"}]}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"send"'}]}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"enum",value:[{value:"string"}]}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"enum",value:[{value:"string"}]}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"enum",value:[{value:"string"}]}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"enum",value:[{value:"CSSProperties"}]}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"enum",value:[{value:"number"}]}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"enum",value:[{value:"string"}]}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"yes"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"enum",value:[{value:"string"}]}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"button"'},{value:'"dialog"'},{value:'"figure"'},{value:'"form"'},{value:'"img"'},{value:'"link"'},{value:'"main"'},{value:'"menu"'},{value:'"menuitem"'},{value:'"option"'},{value:'"search"'},{value:'"table"'},{value:'"none"'},{value:"string & {}"},{value:'"alert"'},{value:'"alertdialog"'},{value:'"application"'},{value:'"banner"'},{value:'"cell"'},{value:'"checkbox"'},{value:'"columnheader"'},{value:'"combobox"'},{value:'"complementary"'},{value:'"contentinfo"'},{value:'"definition"'},{value:'"directory"'},{value:'"document"'},{value:'"feed"'},{value:'"grid"'},{value:'"gridcell"'},{value:'"group"'},{value:'"heading"'},{value:'"list"'},{value:'"listbox"'},{value:'"listitem"'},{value:'"log"'},{value:'"marquee"'},{value:'"math"'},{value:'"menubar"'},{value:'"menuitemcheckbox"'},{value:'"menuitemradio"'},{value:'"navigation"'},{value:'"note"'},{value:'"presentation"'},{value:'"progressbar"'},{value:'"radio"'},{value:'"radiogroup"'},{value:'"region"'},{value:'"row"'},{value:'"rowgroup"'},{value:'"rowheader"'},{value:'"scrollbar"'},{value:'"searchbox"'},{value:'"separator"'},{value:'"slider"'},{value:'"spinbutton"'},{value:'"status"'},{value:'"switch"'},{value:'"tab"'},{value:'"tablist"'},{value:'"tabpanel"'},{value:'"term"'},{value:'"textbox"'},{value:'"timer"'},{value:'"toolbar"'},{value:'"tooltip"'},{value:'"tree"'},{value:'"treegrid"'},{value:'"treeitem"'}]}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"enum",value:[{value:"string"}]}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"enum",value:[{value:"string"}]}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"enum",value:[{value:"string"}]}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"enum",value:[{value:"string"}]}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"enum",value:[{value:"string"}]}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"enum",value:[{value:"string"}]}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"enum",value:[{value:"string"}]}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"enum",value:[{value:"string"}]}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"enum",value:[{value:"string"}]}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"enum",value:[{value:"string"}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"enum",value:[{value:"string"}]}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"enum",value:[{value:"number"}]}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"enum",value:[{value:"string"}]}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:`Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
3
|
+
@see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}`,name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"none"'},{value:'"text"'},{value:'"tel"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:`Specify that a standard HTML element should behave like a defined custom built-in element
|
|
4
4
|
@see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is}`,name:"is",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-activedescendant":{defaultValue:null,description:"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",name:"aria-activedescendant",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-atomic":{defaultValue:null,description:"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",name:"aria-atomic",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-autocomplete":{defaultValue:null,description:`Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
5
|
-
presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"
|
|
5
|
+
presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"none"'},{value:'"list"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:`Defines a string value that labels the current element, which is intended to be converted into Braille.
|
|
6
6
|
@see aria-label.`,name:"aria-braillelabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-brailleroledescription":{defaultValue:null,description:`Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
|
|
7
7
|
@see aria-roledescription.`,name:"aria-brailleroledescription",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-checked":{defaultValue:null,description:`Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
8
8
|
@see aria-pressed
|
|
@@ -19,7 +19,7 @@ presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"en
|
|
|
19
19
|
@see aria-describedby.`,name:"aria-details",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
20
20
|
@see aria-hidden
|
|
21
21
|
@see aria-readonly.`,name:"aria-disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-dropeffect":{defaultValue:null,description:`Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
22
|
-
@deprecated in ARIA 1.1`,name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"
|
|
22
|
+
@deprecated in ARIA 1.1`,name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"link"'},{value:'"none"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:`Identifies the element that provides an error message for the object.
|
|
23
23
|
@see aria-invalid
|
|
24
24
|
@see aria-describedby.`,name:"aria-errormessage",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-expanded":{defaultValue:null,description:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",name:"aria-expanded",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-flowto":{defaultValue:null,description:`Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
25
25
|
allows assistive technology to override the general default of reading in document source order.`,name:"aria-flowto",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-grabbed":{defaultValue:null,description:`Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as w}from"./jsx-runtime-BYouaCF_.js";import{e as A}from"./index-B3evPFBL.js";import{f as qt,w as Nt,u as U,a as Qe,e as $}from"./index-DDyIDR-R.js";import{L as Xe}from"./LayoutFlex-8uO9g6rd.js";import{H as Ut}from"./Heading-DLWgmTU5.js";import{T as et}from"./TextField-BQEExuz1.js";import{N as Ht}from"./NumberField-DTaNQrnr.js";import{S as It,a as Z}from"./SelectField-CNhQrH2n.js";import{P as tt}from"./PasswordField-DaMmlpIr.js";import{T as Wt}from"./TextareaField-DctmivNT.js";import{F as ke}from"./FormControl-CeIJk4_Z.js";import{S as $t}from"./Slider-6E9fmd7P.js";import{R as Jt}from"./RangeSlider-dSZs_gtw.js";import{C as zt}from"./Checkbox-CCxh0QYX.js";import{B as rt}from"./Button-w2cr0Ds_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./layout-relative.module-ed9bC4H4.js";import"./classNames-BUL1Zq7e.js";import"./defaults-B1rzzf6M.js";import"./index-DdzHuZ-Y.js";import"./componentNames-CpCJzpB9.js";import"./text-accent-DZDDtpIt.js";import"./text-centered-CznToR0o.js";import"./Input-nsKLdjO3.js";import"./InputContainer-Bk0tgFnW.js";import"./TokyoUIExpand-DThzqohx.js";import"./Icon-w2ilcPHL.js";import"./render-icon-CVTdrNe-.js";import"./TokyoUIEye-BsOt8ZdC.js";import"./FieldButton-Bsa9_rJB.js";import"./index-BfBdt3zW.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./useMergeRefs-BKVZOB6R.js";import"./index-DRKYGVyc.js";import"./message-BraTJ16C.js";import"./index--DZ0VX4g.js";import"./index-jEDObK_5.js";import"./index-C66nt8TK.js";import"./useMergeRefs-CeyIhNgY.js";import"./ButtonBase-BagNt7Ga.js";import"./Spinner-BCTJunNM.js";import"./useHostname-CH18gHFj.js";import"./index-CC6DAVyL.js";var be=e=>e.type==="checkbox",oe=e=>e instanceof Date,N=e=>e==null;const bt=e=>typeof e=="object";var B=e=>!N(e)&&!Array.isArray(e)&&bt(e)&&!oe(e),pt=e=>B(e)&&e.target?be(e.target)?e.target.checked:e.target.value:e,Yt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,xt=(e,s)=>e.has(Yt(s)),Gt=e=>{const s=e.constructor&&e.constructor.prototype;return B(s)&&s.hasOwnProperty("isPrototypeOf")},Oe=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function H(e){let s;const t=Array.isArray(e),a=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Oe&&(e instanceof Blob||a))&&(t||B(e)))if(s=t?[]:{},!t&&!Gt(e))s=e;else for(const o in e)e.hasOwnProperty(o)&&(s[o]=H(e[o]));else return e;return s}var Se=e=>Array.isArray(e)?e.filter(Boolean):[],P=e=>e===void 0,f=(e,s,t)=>{if(!s||!B(e))return t;const a=Se(s.split(/[,[\].]+?/)).reduce((o,n)=>N(o)?o:o[n],e);return P(a)||a===e?P(e[s])?t:e[s]:a},Y=e=>typeof e=="boolean",je=e=>/^\w*$/.test(e),wt=e=>Se(e.replace(/["|']|\]/g,"").split(/\.|\[/)),S=(e,s,t)=>{let a=-1;const o=je(s)?[s]:wt(s),n=o.length,c=n-1;for(;++a<n;){const y=o[a];let p=t;if(a!==c){const R=e[y];p=B(R)||Array.isArray(R)?R:isNaN(+o[a+1])?{}:[]}if(y==="__proto__"||y==="constructor"||y==="prototype")return;e[y]=p,e=e[y]}return e};const Fe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},K={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},re={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Kt=A.createContext(null),Me=()=>A.useContext(Kt);var Ft=(e,s,t,a=!0)=>{const o={defaultValues:s._defaultValues};for(const n in e)Object.defineProperty(o,n,{get:()=>{const c=n;return s._proxyFormState[c]!==K.all&&(s._proxyFormState[c]=!a||K.all),t&&(t[c]=!0),e[c]}});return o},I=e=>B(e)&&!Object.keys(e).length,_t=(e,s,t,a)=>{t(e);const{name:o,...n}=e;return I(n)||Object.keys(n).length>=Object.keys(s).length||Object.keys(n).find(c=>s[c]===(!a||K.all))},ve=e=>Array.isArray(e)?e:[e],At=(e,s,t)=>!e||!s||e===s||ve(e).some(a=>a&&(t?a===s:a.startsWith(s)||s.startsWith(a)));function qe(e){const s=A.useRef(e);s.current=e,A.useEffect(()=>{const t=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{t&&t.unsubscribe()}},[e.disabled])}function Zt(e){const s=Me(),{control:t=s.control,disabled:a,name:o,exact:n}=e||{},[c,y]=A.useState(t._formState),p=A.useRef(!0),R=A.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),x=A.useRef(o);return x.current=o,qe({disabled:a,next:v=>p.current&&At(x.current,v.name,n)&&_t(v,R.current,t._updateFormState)&&y({...t._formState,...v}),subject:t._subjects.state}),A.useEffect(()=>(p.current=!0,R.current.isValid&&t._updateValid(!0),()=>{p.current=!1}),[t]),A.useMemo(()=>Ft(c,t,R.current,!1),[c,t])}var X=e=>typeof e=="string",Vt=(e,s,t,a,o)=>X(e)?(a&&s.watch.add(e),f(t,e,o)):Array.isArray(e)?e.map(n=>(a&&s.watch.add(n),f(t,n))):(a&&(s.watchAll=!0),t);function Qt(e){const s=Me(),{control:t=s.control,name:a,defaultValue:o,disabled:n,exact:c}=e||{},y=A.useRef(a);y.current=a,qe({disabled:n,subject:t._subjects.values,next:x=>{At(y.current,x.name,c)&&R(H(Vt(y.current,t._names,x.values||t._formValues,!1,o)))}});const[p,R]=A.useState(t._getWatch(a,o));return A.useEffect(()=>t._removeUnmounted()),p}function Xt(e){const s=Me(),{name:t,disabled:a,control:o=s.control,shouldUnregister:n}=e,c=xt(o._names.array,t),y=Qt({control:o,name:t,defaultValue:f(o._formValues,t,f(o._defaultValues,t,e.defaultValue)),exact:!0}),p=Zt({control:o,name:t,exact:!0}),R=A.useRef(o.register(t,{...e.rules,value:y,...Y(e.disabled)?{disabled:e.disabled}:{}})),x=A.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!f(p.errors,t)},isDirty:{enumerable:!0,get:()=>!!f(p.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!f(p.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!f(p.validatingFields,t)},error:{enumerable:!0,get:()=>f(p.errors,t)}}),[p,t]),v=A.useMemo(()=>({name:t,value:y,...Y(a)||p.disabled?{disabled:p.disabled||a}:{},onChange:E=>R.current.onChange({target:{value:pt(E),name:t},type:Fe.CHANGE}),onBlur:()=>R.current.onBlur({target:{value:f(o._formValues,t),name:t},type:Fe.BLUR}),ref:E=>{const W=f(o._fields,t);W&&E&&(W._f.ref={focus:()=>E.focus(),select:()=>E.select(),setCustomValidity:k=>E.setCustomValidity(k),reportValidity:()=>E.reportValidity()})}}),[t,o._formValues,a,p.disabled,y,o._fields]);return A.useEffect(()=>{const E=o._options.shouldUnregister||n,W=(k,T)=>{const V=f(o._fields,k);V&&V._f&&(V._f.mount=T)};if(W(t,!0),E){const k=H(f(o._options.defaultValues,t));S(o._defaultValues,t,k),P(f(o._formValues,t))&&S(o._formValues,t,k)}return!c&&o.register(t),()=>{(c?E&&!o._state.action:E)?o.unregister(t):W(t,!1)}},[t,o,c,n]),A.useEffect(()=>{o._updateDisabledField({disabled:a,fields:o._fields,name:t})},[a,t,o]),A.useMemo(()=>({field:v,formState:p,fieldState:x}),[v,p,x])}const st=e=>e.render(Xt(e));var er=(e,s,t,a,o)=>s?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[a]:o||!0}}:{},at=e=>({isOnSubmit:!e||e===K.onSubmit,isOnBlur:e===K.onBlur,isOnChange:e===K.onChange,isOnAll:e===K.all,isOnTouch:e===K.onTouched}),it=(e,s,t)=>!t&&(s.watchAll||s.watch.has(e)||[...s.watch].some(a=>e.startsWith(a)&&/^\.\w+/.test(e.slice(a.length))));const he=(e,s,t,a)=>{for(const o of t||Object.keys(e)){const n=f(e,o);if(n){const{_f:c,...y}=n;if(c){if(c.refs&&c.refs[0]&&s(c.refs[0],o)&&!a)return!0;if(c.ref&&s(c.ref,c.name)&&!a)return!0;if(he(y,s))break}else if(B(y)&&he(y,s))break}}};var tr=(e,s,t)=>{const a=ve(f(e,t));return S(a,"root",s[t]),S(e,t,a),e},Ne=e=>e.type==="file",Q=e=>typeof e=="function",_e=e=>{if(!Oe)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},we=e=>X(e),Ue=e=>e.type==="radio",Ae=e=>e instanceof RegExp;const ot={value:!1,isValid:!1},nt={value:!0,isValid:!0};var St=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!P(e[0].attributes.value)?P(e[0].value)||e[0].value===""?nt:{value:e[0].value,isValid:!0}:nt:ot}return ot};const lt={isValid:!1,value:null};var Rt=e=>Array.isArray(e)?e.reduce((s,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:s,lt):lt;function ut(e,s,t="validate"){if(we(e)||Array.isArray(e)&&e.every(we)||Y(e)&&!e)return{type:t,message:we(e)?e:"",ref:s}}var ue=e=>B(e)&&!Ae(e)?e:{value:e,message:""},ct=async(e,s,t,a,o,n)=>{const{ref:c,refs:y,required:p,maxLength:R,minLength:x,min:v,max:E,pattern:W,validate:k,name:T,valueAsNumber:V,mount:M}=e._f,F=f(t,T);if(!M||s.has(T))return{};const ee=y?y[0]:c,te=b=>{o&&ee.reportValidity&&(ee.setCustomValidity(Y(b)?"":b||""),ee.reportValidity())},C={},ne=Ue(c),pe=be(c),ie=ne||pe,le=(V||Ne(c))&&P(c.value)&&P(F)||_e(c)&&c.value===""||F===""||Array.isArray(F)&&!F.length,J=er.bind(null,T,a,C),xe=(b,_,L,q=re.maxLength,G=re.minLength)=>{const z=b?_:L;C[T]={type:b?q:G,message:z,ref:c,...J(b?q:G,z)}};if(n?!Array.isArray(F)||!F.length:p&&(!ie&&(le||N(F))||Y(F)&&!F||pe&&!St(y).isValid||ne&&!Rt(y).isValid)){const{value:b,message:_}=we(p)?{value:!!p,message:p}:ue(p);if(b&&(C[T]={type:re.required,message:_,ref:ee,...J(re.required,_)},!a))return te(_),C}if(!le&&(!N(v)||!N(E))){let b,_;const L=ue(E),q=ue(v);if(!N(F)&&!isNaN(F)){const G=c.valueAsNumber||F&&+F;N(L.value)||(b=G>L.value),N(q.value)||(_=G<q.value)}else{const G=c.valueAsDate||new Date(F),z=fe=>new Date(new Date().toDateString()+" "+fe),ce=c.type=="time",de=c.type=="week";X(L.value)&&F&&(b=ce?z(F)>z(L.value):de?F>L.value:G>new Date(L.value)),X(q.value)&&F&&(_=ce?z(F)<z(q.value):de?F<q.value:G<new Date(q.value))}if((b||_)&&(xe(!!b,L.message,q.message,re.max,re.min),!a))return te(C[T].message),C}if((R||x)&&!le&&(X(F)||n&&Array.isArray(F))){const b=ue(R),_=ue(x),L=!N(b.value)&&F.length>+b.value,q=!N(_.value)&&F.length<+_.value;if((L||q)&&(xe(L,b.message,_.message),!a))return te(C[T].message),C}if(W&&!le&&X(F)){const{value:b,message:_}=ue(W);if(Ae(b)&&!F.match(b)&&(C[T]={type:re.pattern,message:_,ref:c,...J(re.pattern,_)},!a))return te(_),C}if(k){if(Q(k)){const b=await k(F,t),_=ut(b,ee);if(_&&(C[T]={..._,...J(re.validate,_.message)},!a))return te(_.message),C}else if(B(k)){let b={};for(const _ in k){if(!I(b)&&!a)break;const L=ut(await k[_](F,t),ee,_);L&&(b={...L,...J(_,L.message)},te(L.message),a&&(C[T]=b))}if(!I(b)&&(C[T]={ref:ee,...b},!a))return C}}return te(!0),C};function rr(e,s){const t=s.slice(0,-1).length;let a=0;for(;a<t;)e=P(e)?a++:e[s[a++]];return e}function sr(e){for(const s in e)if(e.hasOwnProperty(s)&&!P(e[s]))return!1;return!0}function D(e,s){const t=Array.isArray(s)?s:je(s)?[s]:wt(s),a=t.length===1?e:rr(e,t),o=t.length-1,n=t[o];return a&&delete a[n],o!==0&&(B(a)&&I(a)||Array.isArray(a)&&sr(a))&&D(e,t.slice(0,-1)),e}var Ce=()=>{let e=[];return{get observers(){return e},next:o=>{for(const n of e)n.next&&n.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(n=>n!==o)}}),unsubscribe:()=>{e=[]}}},Te=e=>N(e)||!bt(e);function ae(e,s){if(Te(e)||Te(s))return e===s;if(oe(e)&&oe(s))return e.getTime()===s.getTime();const t=Object.keys(e),a=Object.keys(s);if(t.length!==a.length)return!1;for(const o of t){const n=e[o];if(!a.includes(o))return!1;if(o!=="ref"){const c=s[o];if(oe(n)&&oe(c)||B(n)&&B(c)||Array.isArray(n)&&Array.isArray(c)?!ae(n,c):n!==c)return!1}}return!0}var Pt=e=>e.type==="select-multiple",ar=e=>Ue(e)||be(e),Le=e=>_e(e)&&e.isConnected,Bt=e=>{for(const s in e)if(Q(e[s]))return!0;return!1};function Ve(e,s={}){const t=Array.isArray(e);if(B(e)||t)for(const a in e)Array.isArray(e[a])||B(e[a])&&!Bt(e[a])?(s[a]=Array.isArray(e[a])?[]:{},Ve(e[a],s[a])):N(e[a])||(s[a]=!0);return s}function Et(e,s,t){const a=Array.isArray(e);if(B(e)||a)for(const o in e)Array.isArray(e[o])||B(e[o])&&!Bt(e[o])?P(s)||Te(t[o])?t[o]=Array.isArray(e[o])?Ve(e[o],[]):{...Ve(e[o])}:Et(e[o],N(s)?{}:s[o],t[o]):t[o]=!ae(e[o],s[o]);return t}var me=(e,s)=>Et(e,s,Ve(s)),kt=(e,{valueAsNumber:s,valueAsDate:t,setValueAs:a})=>P(e)?e:s?e===""?NaN:e&&+e:t&&X(e)?new Date(e):a?a(e):e;function De(e){const s=e.ref;return Ne(s)?s.files:Ue(s)?Rt(e.refs).value:Pt(s)?[...s.selectedOptions].map(({value:t})=>t):be(s)?St(e.refs).value:kt(P(s.value)?e.ref.value:s.value,e)}var ir=(e,s,t,a)=>{const o={};for(const n of e){const c=f(s,n);c&&S(o,n,c._f)}return{criteriaMode:t,names:[...e],fields:o,shouldUseNativeValidation:a}},ye=e=>P(e)?e:Ae(e)?e.source:B(e)?Ae(e.value)?e.value.source:e.value:e;const dt="AsyncFunction";var or=e=>!!e&&!!e.validate&&!!(Q(e.validate)&&e.validate.constructor.name===dt||B(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===dt)),nr=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ft(e,s,t){const a=f(e,t);if(a||je(t))return{error:a,name:t};const o=t.split(".");for(;o.length;){const n=o.join("."),c=f(s,n),y=f(e,n);if(c&&!Array.isArray(c)&&t!==n)return{name:t};if(y&&y.type)return{name:n,error:y};o.pop()}return{name:t}}var lr=(e,s,t,a,o)=>o.isOnAll?!1:!t&&o.isOnTouch?!(s||e):(t?a.isOnBlur:o.isOnBlur)?!e:(t?a.isOnChange:o.isOnChange)?e:!0,ur=(e,s)=>!Se(f(e,s)).length&&D(e,s);const cr={mode:K.onSubmit,reValidateMode:K.onChange,shouldFocusError:!0};function dr(e={}){let s={...cr,...e},t={submitCount:0,isDirty:!1,isLoading:Q(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},a={},o=B(s.defaultValues)||B(s.values)?H(s.defaultValues||s.values)||{}:{},n=s.shouldUnregister?{}:H(o),c={action:!1,mount:!1,watch:!1},y={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},p,R=0;const x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},v={values:Ce(),array:Ce(),state:Ce()},E=at(s.mode),W=at(s.reValidateMode),k=s.criteriaMode===K.all,T=r=>i=>{clearTimeout(R),R=setTimeout(r,i)},V=async r=>{if(!s.disabled&&(x.isValid||r)){const i=s.resolver?I((await ie()).errors):await J(a,!0);i!==t.isValid&&v.state.next({isValid:i})}},M=(r,i)=>{!s.disabled&&(x.isValidating||x.validatingFields)&&((r||Array.from(y.mount)).forEach(l=>{l&&(i?S(t.validatingFields,l,i):D(t.validatingFields,l))}),v.state.next({validatingFields:t.validatingFields,isValidating:!I(t.validatingFields)}))},F=(r,i=[],l,m,d=!0,u=!0)=>{if(m&&l&&!s.disabled){if(c.action=!0,u&&Array.isArray(f(a,r))){const g=l(f(a,r),m.argA,m.argB);d&&S(a,r,g)}if(u&&Array.isArray(f(t.errors,r))){const g=l(f(t.errors,r),m.argA,m.argB);d&&S(t.errors,r,g),ur(t.errors,r)}if(x.touchedFields&&u&&Array.isArray(f(t.touchedFields,r))){const g=l(f(t.touchedFields,r),m.argA,m.argB);d&&S(t.touchedFields,r,g)}x.dirtyFields&&(t.dirtyFields=me(o,n)),v.state.next({name:r,isDirty:b(r,i),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else S(n,r,i)},ee=(r,i)=>{S(t.errors,r,i),v.state.next({errors:t.errors})},te=r=>{t.errors=r,v.state.next({errors:t.errors,isValid:!1})},C=(r,i,l,m)=>{const d=f(a,r);if(d){const u=f(n,r,P(l)?f(o,r):l);P(u)||m&&m.defaultChecked||i?S(n,r,i?u:De(d._f)):q(r,u),c.mount&&V()}},ne=(r,i,l,m,d)=>{let u=!1,g=!1;const h={name:r};if(!s.disabled){const O=!!(f(a,r)&&f(a,r)._f&&f(a,r)._f.disabled);if(!l||m){x.isDirty&&(g=t.isDirty,t.isDirty=h.isDirty=b(),u=g!==h.isDirty);const j=O||ae(f(o,r),i);g=!!(!O&&f(t.dirtyFields,r)),j||O?D(t.dirtyFields,r):S(t.dirtyFields,r,!0),h.dirtyFields=t.dirtyFields,u=u||x.dirtyFields&&g!==!j}if(l){const j=f(t.touchedFields,r);j||(S(t.touchedFields,r,l),h.touchedFields=t.touchedFields,u=u||x.touchedFields&&j!==l)}u&&d&&v.state.next(h)}return u?h:{}},pe=(r,i,l,m)=>{const d=f(t.errors,r),u=x.isValid&&Y(i)&&t.isValid!==i;if(s.delayError&&l?(p=T(()=>ee(r,l)),p(s.delayError)):(clearTimeout(R),p=null,l?S(t.errors,r,l):D(t.errors,r)),(l?!ae(d,l):d)||!I(m)||u){const g={...m,...u&&Y(i)?{isValid:i}:{},errors:t.errors,name:r};t={...t,...g},v.state.next(g)}},ie=async r=>{M(r,!0);const i=await s.resolver(n,s.context,ir(r||y.mount,a,s.criteriaMode,s.shouldUseNativeValidation));return M(r),i},le=async r=>{const{errors:i}=await ie(r);if(r)for(const l of r){const m=f(i,l);m?S(t.errors,l,m):D(t.errors,l)}else t.errors=i;return i},J=async(r,i,l={valid:!0})=>{for(const m in r){const d=r[m];if(d){const{_f:u,...g}=d;if(u){const h=y.array.has(u.name),O=d._f&&or(d._f);O&&x.validatingFields&&M([m],!0);const j=await ct(d,y.disabled,n,k,s.shouldUseNativeValidation&&!i,h);if(O&&x.validatingFields&&M([m]),j[u.name]&&(l.valid=!1,i))break;!i&&(f(j,u.name)?h?tr(t.errors,j,u.name):S(t.errors,u.name,j[u.name]):D(t.errors,u.name))}!I(g)&&await J(g,i,l)}}return l.valid},xe=()=>{for(const r of y.unMount){const i=f(a,r);i&&(i._f.refs?i._f.refs.every(l=>!Le(l)):!Le(i._f.ref))&&Re(r)}y.unMount=new Set},b=(r,i)=>!s.disabled&&(r&&i&&S(n,r,i),!ae(He(),o)),_=(r,i,l)=>Vt(r,y,{...c.mount?n:P(i)?o:X(r)?{[r]:i}:i},l,i),L=r=>Se(f(c.mount?n:o,r,s.shouldUnregister?f(o,r,[]):[])),q=(r,i,l={})=>{const m=f(a,r);let d=i;if(m){const u=m._f;u&&(!u.disabled&&S(n,r,kt(i,u)),d=_e(u.ref)&&N(i)?"":i,Pt(u.ref)?[...u.ref.options].forEach(g=>g.selected=d.includes(g.value)):u.refs?be(u.ref)?u.refs.length>1?u.refs.forEach(g=>(!g.defaultChecked||!g.disabled)&&(g.checked=Array.isArray(d)?!!d.find(h=>h===g.value):d===g.value)):u.refs[0]&&(u.refs[0].checked=!!d):u.refs.forEach(g=>g.checked=g.value===d):Ne(u.ref)?u.ref.value="":(u.ref.value=d,u.ref.type||v.values.next({name:r,values:{...n}})))}(l.shouldDirty||l.shouldTouch)&&ne(r,d,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&fe(r)},G=(r,i,l)=>{for(const m in i){const d=i[m],u=`${r}.${m}`,g=f(a,u);(y.array.has(r)||B(d)||g&&!g._f)&&!oe(d)?G(u,d,l):q(u,d,l)}},z=(r,i,l={})=>{const m=f(a,r),d=y.array.has(r),u=H(i);S(n,r,u),d?(v.array.next({name:r,values:{...n}}),(x.isDirty||x.dirtyFields)&&l.shouldDirty&&v.state.next({name:r,dirtyFields:me(o,n),isDirty:b(r,u)})):m&&!m._f&&!N(u)?G(r,u,l):q(r,u,l),it(r,y)&&v.state.next({...t}),v.values.next({name:c.mount?r:void 0,values:{...n}})},ce=async r=>{c.mount=!0;const i=r.target;let l=i.name,m=!0;const d=f(a,l),u=()=>i.type?De(d._f):pt(r),g=h=>{m=Number.isNaN(h)||oe(h)&&isNaN(h.getTime())||ae(h,f(n,l,h))};if(d){let h,O;const j=u(),se=r.type===Fe.BLUR||r.type===Fe.FOCUS_OUT,Ot=!nr(d._f)&&!s.resolver&&!f(t.errors,l)&&!d._f.deps||lr(se,f(t.touchedFields,l),t.isSubmitted,W,E),Be=it(l,y,se);S(n,l,j),se?(d._f.onBlur&&d._f.onBlur(r),p&&p(0)):d._f.onChange&&d._f.onChange(r);const Ee=ne(l,j,se,!1),jt=!I(Ee)||Be;if(!se&&v.values.next({name:l,type:r.type,values:{...n}}),Ot)return x.isValid&&(s.mode==="onBlur"&&se?V():se||V()),jt&&v.state.next({name:l,...Be?{}:Ee});if(!se&&Be&&v.state.next({...t}),s.resolver){const{errors:Ke}=await ie([l]);if(g(j),m){const Mt=ft(t.errors,a,l),Ze=ft(Ke,a,Mt.name||l);h=Ze.error,l=Ze.name,O=I(Ke)}}else M([l],!0),h=(await ct(d,y.disabled,n,k,s.shouldUseNativeValidation))[l],M([l]),g(j),m&&(h?O=!1:x.isValid&&(O=await J(a,!0)));m&&(d._f.deps&&fe(d._f.deps),pe(l,O,h,Ee))}},de=(r,i)=>{if(f(t.errors,i)&&r.focus)return r.focus(),1},fe=async(r,i={})=>{let l,m;const d=ve(r);if(s.resolver){const u=await le(P(r)?r:d);l=I(u),m=r?!d.some(g=>f(u,g)):l}else r?(m=(await Promise.all(d.map(async u=>{const g=f(a,u);return await J(g&&g._f?{[u]:g}:g)}))).every(Boolean),!(!m&&!t.isValid)&&V()):m=l=await J(a);return v.state.next({...!X(r)||x.isValid&&l!==t.isValid?{}:{name:r},...s.resolver||!r?{isValid:l}:{},errors:t.errors}),i.shouldFocus&&!m&&he(a,de,r?d:y.mount),m},He=r=>{const i={...c.mount?n:o};return P(r)?i:X(r)?f(i,r):r.map(l=>f(i,l))},Ie=(r,i)=>({invalid:!!f((i||t).errors,r),isDirty:!!f((i||t).dirtyFields,r),error:f((i||t).errors,r),isValidating:!!f(t.validatingFields,r),isTouched:!!f((i||t).touchedFields,r)}),Ct=r=>{r&&ve(r).forEach(i=>D(t.errors,i)),v.state.next({errors:r?t.errors:{}})},We=(r,i,l)=>{const m=(f(a,r,{_f:{}})._f||{}).ref,d=f(t.errors,r)||{},{ref:u,message:g,type:h,...O}=d;S(t.errors,r,{...O,...i,ref:m}),v.state.next({name:r,errors:t.errors,isValid:!1}),l&&l.shouldFocus&&m&&m.focus&&m.focus()},Lt=(r,i)=>Q(r)?v.values.subscribe({next:l=>r(_(void 0,i),l)}):_(r,i,!0),Re=(r,i={})=>{for(const l of r?ve(r):y.mount)y.mount.delete(l),y.array.delete(l),i.keepValue||(D(a,l),D(n,l)),!i.keepError&&D(t.errors,l),!i.keepDirty&&D(t.dirtyFields,l),!i.keepTouched&&D(t.touchedFields,l),!i.keepIsValidating&&D(t.validatingFields,l),!s.shouldUnregister&&!i.keepDefaultValue&&D(o,l);v.values.next({values:{...n}}),v.state.next({...t,...i.keepDirty?{isDirty:b()}:{}}),!i.keepIsValid&&V()},$e=({disabled:r,name:i,field:l,fields:m})=>{(Y(r)&&c.mount||r||y.disabled.has(i))&&(r?y.disabled.add(i):y.disabled.delete(i),ne(i,De(l?l._f:f(m,i)._f),!1,!1,!0))},Pe=(r,i={})=>{let l=f(a,r);const m=Y(i.disabled)||Y(s.disabled);return S(a,r,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:r}},name:r,mount:!0,...i}}),y.mount.add(r),l?$e({field:l,disabled:Y(i.disabled)?i.disabled:s.disabled,name:r}):C(r,!0,i.value),{...m?{disabled:i.disabled||s.disabled}:{},...s.progressive?{required:!!i.required,min:ye(i.min),max:ye(i.max),minLength:ye(i.minLength),maxLength:ye(i.maxLength),pattern:ye(i.pattern)}:{},name:r,onChange:ce,onBlur:ce,ref:d=>{if(d){Pe(r,i),l=f(a,r);const u=P(d.value)&&d.querySelectorAll&&d.querySelectorAll("input,select,textarea")[0]||d,g=ar(u),h=l._f.refs||[];if(g?h.find(O=>O===u):u===l._f.ref)return;S(a,r,{_f:{...l._f,...g?{refs:[...h.filter(Le),u,...Array.isArray(f(o,r))?[{}]:[]],ref:{type:u.type,name:r}}:{ref:u}}}),C(r,!1,void 0,u)}else l=f(a,r,{}),l._f&&(l._f.mount=!1),(s.shouldUnregister||i.shouldUnregister)&&!(xt(y.array,r)&&c.action)&&y.unMount.add(r)}}},Je=()=>s.shouldFocusError&&he(a,de,y.mount),Dt=r=>{Y(r)&&(v.state.next({disabled:r}),he(a,(i,l)=>{const m=f(a,l);m&&(i.disabled=m._f.disabled||r,Array.isArray(m._f.refs)&&m._f.refs.forEach(d=>{d.disabled=m._f.disabled||r}))},0,!1))},ze=(r,i)=>async l=>{let m;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let d=H(n);if(y.disabled.size)for(const u of y.disabled)S(d,u,void 0);if(v.state.next({isSubmitting:!0}),s.resolver){const{errors:u,values:g}=await ie();t.errors=u,d=g}else await J(a);if(D(t.errors,"root"),I(t.errors)){v.state.next({errors:{}});try{await r(d,l)}catch(u){m=u}}else i&&await i({...t.errors},l),Je(),setTimeout(Je);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:I(t.errors)&&!m,submitCount:t.submitCount+1,errors:t.errors}),m)throw m},Tt=(r,i={})=>{f(a,r)&&(P(i.defaultValue)?z(r,H(f(o,r))):(z(r,i.defaultValue),S(o,r,H(i.defaultValue))),i.keepTouched||D(t.touchedFields,r),i.keepDirty||(D(t.dirtyFields,r),t.isDirty=i.defaultValue?b(r,H(f(o,r))):b()),i.keepError||(D(t.errors,r),x.isValid&&V()),v.state.next({...t}))},Ye=(r,i={})=>{const l=r?H(r):o,m=H(l),d=I(r),u=d?o:m;if(i.keepDefaultValues||(o=l),!i.keepValues){if(i.keepDirtyValues){const g=new Set([...y.mount,...Object.keys(me(o,n))]);for(const h of Array.from(g))f(t.dirtyFields,h)?S(u,h,f(n,h)):z(h,f(u,h))}else{if(Oe&&P(r))for(const g of y.mount){const h=f(a,g);if(h&&h._f){const O=Array.isArray(h._f.refs)?h._f.refs[0]:h._f.ref;if(_e(O)){const j=O.closest("form");if(j){j.reset();break}}}}a={}}n=s.shouldUnregister?i.keepDefaultValues?H(o):{}:H(u),v.array.next({values:{...u}}),v.values.next({values:{...u}})}y={mount:i.keepDirtyValues?y.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!x.isValid||!!i.keepIsValid||!!i.keepDirtyValues,c.watch=!!s.shouldUnregister,v.state.next({submitCount:i.keepSubmitCount?t.submitCount:0,isDirty:d?!1:i.keepDirty?t.isDirty:!!(i.keepDefaultValues&&!ae(r,o)),isSubmitted:i.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:d?{}:i.keepDirtyValues?i.keepDefaultValues&&n?me(o,n):t.dirtyFields:i.keepDefaultValues&&r?me(o,r):i.keepDirty?t.dirtyFields:{},touchedFields:i.keepTouched?t.touchedFields:{},errors:i.keepErrors?t.errors:{},isSubmitSuccessful:i.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},Ge=(r,i)=>Ye(Q(r)?r(n):r,i);return{control:{register:Pe,unregister:Re,getFieldState:Ie,handleSubmit:ze,setError:We,_executeSchema:ie,_getWatch:_,_getDirty:b,_updateValid:V,_removeUnmounted:xe,_updateFieldArray:F,_updateDisabledField:$e,_getFieldArray:L,_reset:Ye,_resetDefaultValues:()=>Q(s.defaultValues)&&s.defaultValues().then(r=>{Ge(r,s.resetOptions),v.state.next({isLoading:!1})}),_updateFormState:r=>{t={...t,...r}},_disableForm:Dt,_subjects:v,_proxyFormState:x,_setErrors:te,get _fields(){return a},get _formValues(){return n},get _state(){return c},set _state(r){c=r},get _defaultValues(){return o},get _names(){return y},set _names(r){y=r},get _formState(){return t},set _formState(r){t=r},get _options(){return s},set _options(r){s={...s,...r}}},trigger:fe,register:Pe,handleSubmit:ze,watch:Lt,setValue:z,getValues:He,reset:Ge,resetField:Tt,clearErrors:Ct,unregister:Re,setError:We,setFocus:(r,i={})=>{const l=f(a,r),m=l&&l._f;if(m){const d=m.refs?m.refs[0]:m.ref;d.focus&&(d.focus(),i.shouldSelect&&Q(d.select)&&d.select())}},getFieldState:Ie}}function fr(e={}){const s=A.useRef(void 0),t=A.useRef(void 0),[a,o]=A.useState({isDirty:!1,isValidating:!1,isLoading:Q(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Q(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...dr(e),formState:a});const n=s.current.control;return n._options=e,qe({subject:n._subjects.state,next:c=>{_t(c,n._proxyFormState,n._updateFormState,!0)&&o({...n._formState})}}),A.useEffect(()=>n._disableForm(e.disabled),[n,e.disabled]),A.useEffect(()=>{if(n._proxyFormState.isDirty){const c=n._getDirty();c!==a.isDirty&&n._subjects.state.next({isDirty:c})}},[n,a.isDirty]),A.useEffect(()=>{e.values&&!ae(e.values,t.current)?(n._reset(e.values,n._options.resetOptions),t.current=e.values,o(c=>({...c}))):n._resetDefaultValues()},[e.values,n]),A.useEffect(()=>{e.errors&&n._setErrors(e.errors)},[e.errors,n]),A.useEffect(()=>{n._state.mount||(n._updateValid(),n._state.mount=!0),n._state.watch&&(n._state.watch=!1,n._subjects.state.next({...n._formState})),n._removeUnmounted()}),A.useEffect(()=>{e.shouldUnregister&&n._subjects.values.next({values:n._getWatch()})},[e.shouldUnregister,n]),s.current.formState=Ft(a,n),s.current}const ns={title:"Guides/Integration with React Hook Form",args:{onSubmit:qt(e=>{console.log("Form submitted:",e)})}},ge={render:function(s){const t=()=>{var p,R,x,v,E,W,k,T;const{register:a,handleSubmit:o,formState:{errors:n},reset:c,control:y}=fr({defaultValues:{fullName:"",email:"",age:void 0,country:"",password:"",confirmPassword:"",bio:"",privacyPolicyAccepted:!1,experienceLevel:50,priceRange:[25,75]}});return w.jsx("div",{style:{maxWidth:"600px",margin:"0 auto",padding:"20px"},children:w.jsxs(Xe,{direction:"column",gap:"16",children:[w.jsx(Ut,{variant:"extraLarge",tag:"h1",children:"User Registration Form"}),w.jsxs("form",{onSubmit:o(s.onSubmit),style:{display:"contents"},noValidate:!0,children:[w.jsx(et,{label:"Full Name",...a("fullName",{required:"Full name is required"}),error:(p=n.fullName)==null?void 0:p.message,required:!0}),w.jsx(et,{label:"Email",type:"email",...a("email",{required:"Email is required"}),error:(R=n.email)==null?void 0:R.message,required:!0}),w.jsx(Ht,{label:"Age",...a("age",{valueAsNumber:!0,required:"Age is required",min:{value:18,message:"You must be at least 18 years old"}}),min:18,max:120,error:(x=n.age)==null?void 0:x.message,required:!0}),w.jsxs(It,{label:"Country",placeholder:"",...a("country",{required:"Country is required"}),error:(v=n.country)==null?void 0:v.message,required:!0,children:[w.jsx(Z,{value:"us",children:"United States"}),w.jsx(Z,{value:"ca",children:"Canada"}),w.jsx(Z,{value:"uk",children:"United Kingdom"}),w.jsx(Z,{value:"de",children:"Germany"}),w.jsx(Z,{value:"fr",children:"France"}),w.jsx(Z,{value:"it",children:"Italy"}),w.jsx(Z,{value:"es",children:"Spain"}),w.jsx(Z,{value:"au",children:"Australia"}),w.jsx(Z,{value:"jp",children:"Japan"}),w.jsx(Z,{value:"other",children:"Other"})]}),w.jsx(tt,{label:"Password",...a("password",{required:"Password is required",minLength:{value:8,message:"Password must be at least 8 characters"},pattern:{value:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]/,message:"Password must contain at least one uppercase letter, one lowercase letter, one number, and one special character"}}),error:(E=n.password)==null?void 0:E.message,required:!0}),w.jsx(tt,{label:"Confirm Password",...a("confirmPassword",{required:"Please confirm your password",validate:(V,M)=>V===M.password||"Passwords do not match"}),error:(W=n.confirmPassword)==null?void 0:W.message,required:!0}),w.jsx(Wt,{label:"Bio",...a("bio",{maxLength:{value:500,message:"Bio must be less than 500 characters"}}),error:(k=n.bio)==null?void 0:k.message}),w.jsx(st,{name:"experienceLevel",control:y,rules:{validate:{minValue:V=>V<50?"Must be above 50":!0}},render:({field:V})=>{var M;return w.jsx(ke,{label:"Experience Level",error:(M=n.experienceLevel)==null?void 0:M.message,children:w.jsx($t,{value:V.value,onValueChange:V.onChange,min:0,max:100,"aria-label":"Experience Level"})})}}),w.jsx(st,{name:"priceRange",control:y,rules:{validate:{minValue:([V])=>V<=25?"Minimum must be above 25":!0,maxValue:([,V])=>V>=75?"Maximum must be below 75":!0}},render:({field:V})=>{var M;return w.jsx(ke,{label:"Price",error:(M=n.priceRange)==null?void 0:M.message,children:w.jsx(Jt,{value:V.value,onValueChange:V.onChange,min:0,max:100,"aria-label":"Price Range"})})}}),w.jsx(ke,{label:"Accept Privacy Policy",description:"I accept the Privacy Policy",error:(T=n.privacyPolicyAccepted)==null?void 0:T.message,hideLabel:!0,children:w.jsx(zt,{...a("privacyPolicyAccepted",{required:"You must accept the Privacy Policy"})})}),w.jsxs(Xe,{gap:"12",padding:["20","0","0"],justifyContent:"end",children:[w.jsx(rt,{onClick:()=>c(),variant:"secondary",children:"Reset"}),w.jsx(rt,{submitsForm:!0,children:"Submit"})]})]})]})})};return w.jsx(t,{})},play:async({args:e,canvasElement:s,step:t})=>{const a=Nt(s);await t("Fill all form fields",async()=>{console.log(await a.findAllByRole("textbox")),await U.type(a.getByRole("textbox",{name:"Full Name"}),"John Doe"),await U.type(a.getByRole("textbox",{name:"Email"}),"john.doe@example.com"),await U.clear(a.getByRole("spinbutton",{name:"Age"})),await U.type(a.getByRole("spinbutton",{name:"Age"}),"25"),await U.selectOptions(a.getByRole("combobox",{name:"Country"}),"us"),await U.type(a.getByLabelText(/^Password/),"TestPassword123!"),await U.type(a.getByLabelText(/^Confirm Password/),"TestPassword123!"),await U.type(a.getByRole("textbox",{name:"Bio"}),"I am a software engineer with 5 years of experience."),a.getByRole("slider",{name:"Experience Level"}).focus(),await U.keyboard("{ArrowRight}".repeat(5));const n=a.getByRole("slider",{name:"Minimum Price Range"}),c=a.getByRole("slider",{name:"Maximum Price Range"});n.focus(),await U.keyboard("{ArrowRight}".repeat(2)),c.focus(),await U.keyboard("{ArrowLeft}".repeat(2)),await U.click(a.getByRole("checkbox",{name:"Accept Privacy Policy"}))}),await t("Submit the form",async()=>{await U.click(a.getByRole("button",{name:"Submit"}))}),await t("Assert that onSubmit was called with correct data",async()=>{await Qe(()=>{$(e.onSubmit).toHaveBeenCalledWith({fullName:"John Doe",email:"john.doe@example.com",age:25,country:"us",password:"TestPassword123!",confirmPassword:"TestPassword123!",bio:"I am a software engineer with 5 years of experience.",privacyPolicyAccepted:!0,experienceLevel:55,priceRange:[27,73]},$.anything())})}),await t("Reset the form",async()=>{await U.click(a.getByRole("button",{name:"Reset"}))}),await t("Assert all fields are cleared",async()=>{await Qe(()=>{$(a.getByRole("textbox",{name:"Full Name"})).not.toHaveValue(),$(a.getByRole("textbox",{name:"Email"})).not.toHaveValue(),$(a.getByRole("spinbutton",{name:"Age"})).not.toHaveValue(),$(a.getByRole("combobox",{name:"Country"})).not.toHaveValue(),$(a.getByLabelText(/^Password/)).not.toHaveValue(),$(a.getByLabelText(/^Confirm Password/)).not.toHaveValue(),$(a.getByRole("textbox",{name:"Bio"})).not.toHaveValue(),$(a.getByRole("checkbox",{name:"Accept Privacy Policy"})).not.toBeChecked(),$(a.getByRole("slider",{name:"Experience Level"})).toHaveAttribute("aria-valuenow","50"),$(a.getByRole("slider",{name:"Minimum Price Range"})).toHaveAttribute("aria-valuenow","25"),$(a.getByRole("slider",{name:"Maximum Price Range"})).toHaveAttribute("aria-valuenow","75")})})}};var mt,yt,gt,vt,ht;ge.parameters={...ge.parameters,docs:{...(mt=ge.parameters)==null?void 0:mt.docs,source:{originalSource:`{
|
|
1
|
+
import{j as w}from"./jsx-runtime-BYouaCF_.js";import{e as A}from"./index-B3evPFBL.js";import{f as qt,w as Nt,u as U,a as Qe,e as $}from"./index-DDyIDR-R.js";import{L as Xe}from"./LayoutFlex-BBGvSVMb.js";import{H as Ut}from"./Heading-ese4_5Hg.js";import{T as et}from"./TextField-CMgzC3bX.js";import{N as Ht}from"./NumberField-D6cbX2hK.js";import{S as It,a as Z}from"./SelectField-CuzFFPz0.js";import{P as tt}from"./PasswordField-C_KRyf9k.js";import{T as Wt}from"./TextareaField-CCM1C6lK.js";import{F as ke}from"./FormControl-CeIJk4_Z.js";import{S as $t}from"./Slider-6E9fmd7P.js";import{R as Jt}from"./RangeSlider-dSZs_gtw.js";import{C as zt}from"./Checkbox-Bq_sNuXJ.js";import{B as rt}from"./Button-BSyqsKC5.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./layout-relative.module-ed9bC4H4.js";import"./classNames-BUL1Zq7e.js";import"./defaults-B1rzzf6M.js";import"./index-DdzHuZ-Y.js";import"./componentNames-CpCJzpB9.js";import"./text-accent-DZDDtpIt.js";import"./text-centered-CznToR0o.js";import"./Input-C1hZX5_o.js";import"./InputContainer-Bk0tgFnW.js";import"./TokyoUIExpand-DThzqohx.js";import"./Icon-ZIxauYsE.js";import"./render-icon-CVTdrNe-.js";import"./TokyoUIEye-BsOt8ZdC.js";import"./FieldButton-Bsa9_rJB.js";import"./index-BfBdt3zW.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./useMergeRefs-BKVZOB6R.js";import"./index-DRKYGVyc.js";import"./message-BraTJ16C.js";import"./index--DZ0VX4g.js";import"./index-jEDObK_5.js";import"./index-C66nt8TK.js";import"./useMergeRefs-CeyIhNgY.js";import"./ButtonBase-Bdtn25V2.js";import"./Spinner-BCTJunNM.js";import"./useHostname-CH18gHFj.js";import"./index-CC6DAVyL.js";var be=e=>e.type==="checkbox",oe=e=>e instanceof Date,N=e=>e==null;const bt=e=>typeof e=="object";var B=e=>!N(e)&&!Array.isArray(e)&&bt(e)&&!oe(e),pt=e=>B(e)&&e.target?be(e.target)?e.target.checked:e.target.value:e,Yt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,xt=(e,s)=>e.has(Yt(s)),Gt=e=>{const s=e.constructor&&e.constructor.prototype;return B(s)&&s.hasOwnProperty("isPrototypeOf")},Oe=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function H(e){let s;const t=Array.isArray(e),a=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Oe&&(e instanceof Blob||a))&&(t||B(e)))if(s=t?[]:{},!t&&!Gt(e))s=e;else for(const o in e)e.hasOwnProperty(o)&&(s[o]=H(e[o]));else return e;return s}var Se=e=>Array.isArray(e)?e.filter(Boolean):[],P=e=>e===void 0,f=(e,s,t)=>{if(!s||!B(e))return t;const a=Se(s.split(/[,[\].]+?/)).reduce((o,n)=>N(o)?o:o[n],e);return P(a)||a===e?P(e[s])?t:e[s]:a},Y=e=>typeof e=="boolean",je=e=>/^\w*$/.test(e),wt=e=>Se(e.replace(/["|']|\]/g,"").split(/\.|\[/)),S=(e,s,t)=>{let a=-1;const o=je(s)?[s]:wt(s),n=o.length,c=n-1;for(;++a<n;){const y=o[a];let p=t;if(a!==c){const R=e[y];p=B(R)||Array.isArray(R)?R:isNaN(+o[a+1])?{}:[]}if(y==="__proto__"||y==="constructor"||y==="prototype")return;e[y]=p,e=e[y]}return e};const Fe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},K={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},re={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Kt=A.createContext(null),Me=()=>A.useContext(Kt);var Ft=(e,s,t,a=!0)=>{const o={defaultValues:s._defaultValues};for(const n in e)Object.defineProperty(o,n,{get:()=>{const c=n;return s._proxyFormState[c]!==K.all&&(s._proxyFormState[c]=!a||K.all),t&&(t[c]=!0),e[c]}});return o},I=e=>B(e)&&!Object.keys(e).length,_t=(e,s,t,a)=>{t(e);const{name:o,...n}=e;return I(n)||Object.keys(n).length>=Object.keys(s).length||Object.keys(n).find(c=>s[c]===(!a||K.all))},ve=e=>Array.isArray(e)?e:[e],At=(e,s,t)=>!e||!s||e===s||ve(e).some(a=>a&&(t?a===s:a.startsWith(s)||s.startsWith(a)));function qe(e){const s=A.useRef(e);s.current=e,A.useEffect(()=>{const t=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{t&&t.unsubscribe()}},[e.disabled])}function Zt(e){const s=Me(),{control:t=s.control,disabled:a,name:o,exact:n}=e||{},[c,y]=A.useState(t._formState),p=A.useRef(!0),R=A.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),x=A.useRef(o);return x.current=o,qe({disabled:a,next:v=>p.current&&At(x.current,v.name,n)&&_t(v,R.current,t._updateFormState)&&y({...t._formState,...v}),subject:t._subjects.state}),A.useEffect(()=>(p.current=!0,R.current.isValid&&t._updateValid(!0),()=>{p.current=!1}),[t]),A.useMemo(()=>Ft(c,t,R.current,!1),[c,t])}var X=e=>typeof e=="string",Vt=(e,s,t,a,o)=>X(e)?(a&&s.watch.add(e),f(t,e,o)):Array.isArray(e)?e.map(n=>(a&&s.watch.add(n),f(t,n))):(a&&(s.watchAll=!0),t);function Qt(e){const s=Me(),{control:t=s.control,name:a,defaultValue:o,disabled:n,exact:c}=e||{},y=A.useRef(a);y.current=a,qe({disabled:n,subject:t._subjects.values,next:x=>{At(y.current,x.name,c)&&R(H(Vt(y.current,t._names,x.values||t._formValues,!1,o)))}});const[p,R]=A.useState(t._getWatch(a,o));return A.useEffect(()=>t._removeUnmounted()),p}function Xt(e){const s=Me(),{name:t,disabled:a,control:o=s.control,shouldUnregister:n}=e,c=xt(o._names.array,t),y=Qt({control:o,name:t,defaultValue:f(o._formValues,t,f(o._defaultValues,t,e.defaultValue)),exact:!0}),p=Zt({control:o,name:t,exact:!0}),R=A.useRef(o.register(t,{...e.rules,value:y,...Y(e.disabled)?{disabled:e.disabled}:{}})),x=A.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!f(p.errors,t)},isDirty:{enumerable:!0,get:()=>!!f(p.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!f(p.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!f(p.validatingFields,t)},error:{enumerable:!0,get:()=>f(p.errors,t)}}),[p,t]),v=A.useMemo(()=>({name:t,value:y,...Y(a)||p.disabled?{disabled:p.disabled||a}:{},onChange:E=>R.current.onChange({target:{value:pt(E),name:t},type:Fe.CHANGE}),onBlur:()=>R.current.onBlur({target:{value:f(o._formValues,t),name:t},type:Fe.BLUR}),ref:E=>{const W=f(o._fields,t);W&&E&&(W._f.ref={focus:()=>E.focus(),select:()=>E.select(),setCustomValidity:k=>E.setCustomValidity(k),reportValidity:()=>E.reportValidity()})}}),[t,o._formValues,a,p.disabled,y,o._fields]);return A.useEffect(()=>{const E=o._options.shouldUnregister||n,W=(k,T)=>{const V=f(o._fields,k);V&&V._f&&(V._f.mount=T)};if(W(t,!0),E){const k=H(f(o._options.defaultValues,t));S(o._defaultValues,t,k),P(f(o._formValues,t))&&S(o._formValues,t,k)}return!c&&o.register(t),()=>{(c?E&&!o._state.action:E)?o.unregister(t):W(t,!1)}},[t,o,c,n]),A.useEffect(()=>{o._updateDisabledField({disabled:a,fields:o._fields,name:t})},[a,t,o]),A.useMemo(()=>({field:v,formState:p,fieldState:x}),[v,p,x])}const st=e=>e.render(Xt(e));var er=(e,s,t,a,o)=>s?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[a]:o||!0}}:{},at=e=>({isOnSubmit:!e||e===K.onSubmit,isOnBlur:e===K.onBlur,isOnChange:e===K.onChange,isOnAll:e===K.all,isOnTouch:e===K.onTouched}),it=(e,s,t)=>!t&&(s.watchAll||s.watch.has(e)||[...s.watch].some(a=>e.startsWith(a)&&/^\.\w+/.test(e.slice(a.length))));const he=(e,s,t,a)=>{for(const o of t||Object.keys(e)){const n=f(e,o);if(n){const{_f:c,...y}=n;if(c){if(c.refs&&c.refs[0]&&s(c.refs[0],o)&&!a)return!0;if(c.ref&&s(c.ref,c.name)&&!a)return!0;if(he(y,s))break}else if(B(y)&&he(y,s))break}}};var tr=(e,s,t)=>{const a=ve(f(e,t));return S(a,"root",s[t]),S(e,t,a),e},Ne=e=>e.type==="file",Q=e=>typeof e=="function",_e=e=>{if(!Oe)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},we=e=>X(e),Ue=e=>e.type==="radio",Ae=e=>e instanceof RegExp;const ot={value:!1,isValid:!1},nt={value:!0,isValid:!0};var St=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!P(e[0].attributes.value)?P(e[0].value)||e[0].value===""?nt:{value:e[0].value,isValid:!0}:nt:ot}return ot};const lt={isValid:!1,value:null};var Rt=e=>Array.isArray(e)?e.reduce((s,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:s,lt):lt;function ut(e,s,t="validate"){if(we(e)||Array.isArray(e)&&e.every(we)||Y(e)&&!e)return{type:t,message:we(e)?e:"",ref:s}}var ue=e=>B(e)&&!Ae(e)?e:{value:e,message:""},ct=async(e,s,t,a,o,n)=>{const{ref:c,refs:y,required:p,maxLength:R,minLength:x,min:v,max:E,pattern:W,validate:k,name:T,valueAsNumber:V,mount:M}=e._f,F=f(t,T);if(!M||s.has(T))return{};const ee=y?y[0]:c,te=b=>{o&&ee.reportValidity&&(ee.setCustomValidity(Y(b)?"":b||""),ee.reportValidity())},C={},ne=Ue(c),pe=be(c),ie=ne||pe,le=(V||Ne(c))&&P(c.value)&&P(F)||_e(c)&&c.value===""||F===""||Array.isArray(F)&&!F.length,J=er.bind(null,T,a,C),xe=(b,_,L,q=re.maxLength,G=re.minLength)=>{const z=b?_:L;C[T]={type:b?q:G,message:z,ref:c,...J(b?q:G,z)}};if(n?!Array.isArray(F)||!F.length:p&&(!ie&&(le||N(F))||Y(F)&&!F||pe&&!St(y).isValid||ne&&!Rt(y).isValid)){const{value:b,message:_}=we(p)?{value:!!p,message:p}:ue(p);if(b&&(C[T]={type:re.required,message:_,ref:ee,...J(re.required,_)},!a))return te(_),C}if(!le&&(!N(v)||!N(E))){let b,_;const L=ue(E),q=ue(v);if(!N(F)&&!isNaN(F)){const G=c.valueAsNumber||F&&+F;N(L.value)||(b=G>L.value),N(q.value)||(_=G<q.value)}else{const G=c.valueAsDate||new Date(F),z=fe=>new Date(new Date().toDateString()+" "+fe),ce=c.type=="time",de=c.type=="week";X(L.value)&&F&&(b=ce?z(F)>z(L.value):de?F>L.value:G>new Date(L.value)),X(q.value)&&F&&(_=ce?z(F)<z(q.value):de?F<q.value:G<new Date(q.value))}if((b||_)&&(xe(!!b,L.message,q.message,re.max,re.min),!a))return te(C[T].message),C}if((R||x)&&!le&&(X(F)||n&&Array.isArray(F))){const b=ue(R),_=ue(x),L=!N(b.value)&&F.length>+b.value,q=!N(_.value)&&F.length<+_.value;if((L||q)&&(xe(L,b.message,_.message),!a))return te(C[T].message),C}if(W&&!le&&X(F)){const{value:b,message:_}=ue(W);if(Ae(b)&&!F.match(b)&&(C[T]={type:re.pattern,message:_,ref:c,...J(re.pattern,_)},!a))return te(_),C}if(k){if(Q(k)){const b=await k(F,t),_=ut(b,ee);if(_&&(C[T]={..._,...J(re.validate,_.message)},!a))return te(_.message),C}else if(B(k)){let b={};for(const _ in k){if(!I(b)&&!a)break;const L=ut(await k[_](F,t),ee,_);L&&(b={...L,...J(_,L.message)},te(L.message),a&&(C[T]=b))}if(!I(b)&&(C[T]={ref:ee,...b},!a))return C}}return te(!0),C};function rr(e,s){const t=s.slice(0,-1).length;let a=0;for(;a<t;)e=P(e)?a++:e[s[a++]];return e}function sr(e){for(const s in e)if(e.hasOwnProperty(s)&&!P(e[s]))return!1;return!0}function D(e,s){const t=Array.isArray(s)?s:je(s)?[s]:wt(s),a=t.length===1?e:rr(e,t),o=t.length-1,n=t[o];return a&&delete a[n],o!==0&&(B(a)&&I(a)||Array.isArray(a)&&sr(a))&&D(e,t.slice(0,-1)),e}var Ce=()=>{let e=[];return{get observers(){return e},next:o=>{for(const n of e)n.next&&n.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(n=>n!==o)}}),unsubscribe:()=>{e=[]}}},Te=e=>N(e)||!bt(e);function ae(e,s){if(Te(e)||Te(s))return e===s;if(oe(e)&&oe(s))return e.getTime()===s.getTime();const t=Object.keys(e),a=Object.keys(s);if(t.length!==a.length)return!1;for(const o of t){const n=e[o];if(!a.includes(o))return!1;if(o!=="ref"){const c=s[o];if(oe(n)&&oe(c)||B(n)&&B(c)||Array.isArray(n)&&Array.isArray(c)?!ae(n,c):n!==c)return!1}}return!0}var Pt=e=>e.type==="select-multiple",ar=e=>Ue(e)||be(e),Le=e=>_e(e)&&e.isConnected,Bt=e=>{for(const s in e)if(Q(e[s]))return!0;return!1};function Ve(e,s={}){const t=Array.isArray(e);if(B(e)||t)for(const a in e)Array.isArray(e[a])||B(e[a])&&!Bt(e[a])?(s[a]=Array.isArray(e[a])?[]:{},Ve(e[a],s[a])):N(e[a])||(s[a]=!0);return s}function Et(e,s,t){const a=Array.isArray(e);if(B(e)||a)for(const o in e)Array.isArray(e[o])||B(e[o])&&!Bt(e[o])?P(s)||Te(t[o])?t[o]=Array.isArray(e[o])?Ve(e[o],[]):{...Ve(e[o])}:Et(e[o],N(s)?{}:s[o],t[o]):t[o]=!ae(e[o],s[o]);return t}var me=(e,s)=>Et(e,s,Ve(s)),kt=(e,{valueAsNumber:s,valueAsDate:t,setValueAs:a})=>P(e)?e:s?e===""?NaN:e&&+e:t&&X(e)?new Date(e):a?a(e):e;function De(e){const s=e.ref;return Ne(s)?s.files:Ue(s)?Rt(e.refs).value:Pt(s)?[...s.selectedOptions].map(({value:t})=>t):be(s)?St(e.refs).value:kt(P(s.value)?e.ref.value:s.value,e)}var ir=(e,s,t,a)=>{const o={};for(const n of e){const c=f(s,n);c&&S(o,n,c._f)}return{criteriaMode:t,names:[...e],fields:o,shouldUseNativeValidation:a}},ye=e=>P(e)?e:Ae(e)?e.source:B(e)?Ae(e.value)?e.value.source:e.value:e;const dt="AsyncFunction";var or=e=>!!e&&!!e.validate&&!!(Q(e.validate)&&e.validate.constructor.name===dt||B(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===dt)),nr=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ft(e,s,t){const a=f(e,t);if(a||je(t))return{error:a,name:t};const o=t.split(".");for(;o.length;){const n=o.join("."),c=f(s,n),y=f(e,n);if(c&&!Array.isArray(c)&&t!==n)return{name:t};if(y&&y.type)return{name:n,error:y};o.pop()}return{name:t}}var lr=(e,s,t,a,o)=>o.isOnAll?!1:!t&&o.isOnTouch?!(s||e):(t?a.isOnBlur:o.isOnBlur)?!e:(t?a.isOnChange:o.isOnChange)?e:!0,ur=(e,s)=>!Se(f(e,s)).length&&D(e,s);const cr={mode:K.onSubmit,reValidateMode:K.onChange,shouldFocusError:!0};function dr(e={}){let s={...cr,...e},t={submitCount:0,isDirty:!1,isLoading:Q(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},a={},o=B(s.defaultValues)||B(s.values)?H(s.defaultValues||s.values)||{}:{},n=s.shouldUnregister?{}:H(o),c={action:!1,mount:!1,watch:!1},y={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},p,R=0;const x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},v={values:Ce(),array:Ce(),state:Ce()},E=at(s.mode),W=at(s.reValidateMode),k=s.criteriaMode===K.all,T=r=>i=>{clearTimeout(R),R=setTimeout(r,i)},V=async r=>{if(!s.disabled&&(x.isValid||r)){const i=s.resolver?I((await ie()).errors):await J(a,!0);i!==t.isValid&&v.state.next({isValid:i})}},M=(r,i)=>{!s.disabled&&(x.isValidating||x.validatingFields)&&((r||Array.from(y.mount)).forEach(l=>{l&&(i?S(t.validatingFields,l,i):D(t.validatingFields,l))}),v.state.next({validatingFields:t.validatingFields,isValidating:!I(t.validatingFields)}))},F=(r,i=[],l,m,d=!0,u=!0)=>{if(m&&l&&!s.disabled){if(c.action=!0,u&&Array.isArray(f(a,r))){const g=l(f(a,r),m.argA,m.argB);d&&S(a,r,g)}if(u&&Array.isArray(f(t.errors,r))){const g=l(f(t.errors,r),m.argA,m.argB);d&&S(t.errors,r,g),ur(t.errors,r)}if(x.touchedFields&&u&&Array.isArray(f(t.touchedFields,r))){const g=l(f(t.touchedFields,r),m.argA,m.argB);d&&S(t.touchedFields,r,g)}x.dirtyFields&&(t.dirtyFields=me(o,n)),v.state.next({name:r,isDirty:b(r,i),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else S(n,r,i)},ee=(r,i)=>{S(t.errors,r,i),v.state.next({errors:t.errors})},te=r=>{t.errors=r,v.state.next({errors:t.errors,isValid:!1})},C=(r,i,l,m)=>{const d=f(a,r);if(d){const u=f(n,r,P(l)?f(o,r):l);P(u)||m&&m.defaultChecked||i?S(n,r,i?u:De(d._f)):q(r,u),c.mount&&V()}},ne=(r,i,l,m,d)=>{let u=!1,g=!1;const h={name:r};if(!s.disabled){const O=!!(f(a,r)&&f(a,r)._f&&f(a,r)._f.disabled);if(!l||m){x.isDirty&&(g=t.isDirty,t.isDirty=h.isDirty=b(),u=g!==h.isDirty);const j=O||ae(f(o,r),i);g=!!(!O&&f(t.dirtyFields,r)),j||O?D(t.dirtyFields,r):S(t.dirtyFields,r,!0),h.dirtyFields=t.dirtyFields,u=u||x.dirtyFields&&g!==!j}if(l){const j=f(t.touchedFields,r);j||(S(t.touchedFields,r,l),h.touchedFields=t.touchedFields,u=u||x.touchedFields&&j!==l)}u&&d&&v.state.next(h)}return u?h:{}},pe=(r,i,l,m)=>{const d=f(t.errors,r),u=x.isValid&&Y(i)&&t.isValid!==i;if(s.delayError&&l?(p=T(()=>ee(r,l)),p(s.delayError)):(clearTimeout(R),p=null,l?S(t.errors,r,l):D(t.errors,r)),(l?!ae(d,l):d)||!I(m)||u){const g={...m,...u&&Y(i)?{isValid:i}:{},errors:t.errors,name:r};t={...t,...g},v.state.next(g)}},ie=async r=>{M(r,!0);const i=await s.resolver(n,s.context,ir(r||y.mount,a,s.criteriaMode,s.shouldUseNativeValidation));return M(r),i},le=async r=>{const{errors:i}=await ie(r);if(r)for(const l of r){const m=f(i,l);m?S(t.errors,l,m):D(t.errors,l)}else t.errors=i;return i},J=async(r,i,l={valid:!0})=>{for(const m in r){const d=r[m];if(d){const{_f:u,...g}=d;if(u){const h=y.array.has(u.name),O=d._f&&or(d._f);O&&x.validatingFields&&M([m],!0);const j=await ct(d,y.disabled,n,k,s.shouldUseNativeValidation&&!i,h);if(O&&x.validatingFields&&M([m]),j[u.name]&&(l.valid=!1,i))break;!i&&(f(j,u.name)?h?tr(t.errors,j,u.name):S(t.errors,u.name,j[u.name]):D(t.errors,u.name))}!I(g)&&await J(g,i,l)}}return l.valid},xe=()=>{for(const r of y.unMount){const i=f(a,r);i&&(i._f.refs?i._f.refs.every(l=>!Le(l)):!Le(i._f.ref))&&Re(r)}y.unMount=new Set},b=(r,i)=>!s.disabled&&(r&&i&&S(n,r,i),!ae(He(),o)),_=(r,i,l)=>Vt(r,y,{...c.mount?n:P(i)?o:X(r)?{[r]:i}:i},l,i),L=r=>Se(f(c.mount?n:o,r,s.shouldUnregister?f(o,r,[]):[])),q=(r,i,l={})=>{const m=f(a,r);let d=i;if(m){const u=m._f;u&&(!u.disabled&&S(n,r,kt(i,u)),d=_e(u.ref)&&N(i)?"":i,Pt(u.ref)?[...u.ref.options].forEach(g=>g.selected=d.includes(g.value)):u.refs?be(u.ref)?u.refs.length>1?u.refs.forEach(g=>(!g.defaultChecked||!g.disabled)&&(g.checked=Array.isArray(d)?!!d.find(h=>h===g.value):d===g.value)):u.refs[0]&&(u.refs[0].checked=!!d):u.refs.forEach(g=>g.checked=g.value===d):Ne(u.ref)?u.ref.value="":(u.ref.value=d,u.ref.type||v.values.next({name:r,values:{...n}})))}(l.shouldDirty||l.shouldTouch)&&ne(r,d,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&fe(r)},G=(r,i,l)=>{for(const m in i){const d=i[m],u=`${r}.${m}`,g=f(a,u);(y.array.has(r)||B(d)||g&&!g._f)&&!oe(d)?G(u,d,l):q(u,d,l)}},z=(r,i,l={})=>{const m=f(a,r),d=y.array.has(r),u=H(i);S(n,r,u),d?(v.array.next({name:r,values:{...n}}),(x.isDirty||x.dirtyFields)&&l.shouldDirty&&v.state.next({name:r,dirtyFields:me(o,n),isDirty:b(r,u)})):m&&!m._f&&!N(u)?G(r,u,l):q(r,u,l),it(r,y)&&v.state.next({...t}),v.values.next({name:c.mount?r:void 0,values:{...n}})},ce=async r=>{c.mount=!0;const i=r.target;let l=i.name,m=!0;const d=f(a,l),u=()=>i.type?De(d._f):pt(r),g=h=>{m=Number.isNaN(h)||oe(h)&&isNaN(h.getTime())||ae(h,f(n,l,h))};if(d){let h,O;const j=u(),se=r.type===Fe.BLUR||r.type===Fe.FOCUS_OUT,Ot=!nr(d._f)&&!s.resolver&&!f(t.errors,l)&&!d._f.deps||lr(se,f(t.touchedFields,l),t.isSubmitted,W,E),Be=it(l,y,se);S(n,l,j),se?(d._f.onBlur&&d._f.onBlur(r),p&&p(0)):d._f.onChange&&d._f.onChange(r);const Ee=ne(l,j,se,!1),jt=!I(Ee)||Be;if(!se&&v.values.next({name:l,type:r.type,values:{...n}}),Ot)return x.isValid&&(s.mode==="onBlur"&&se?V():se||V()),jt&&v.state.next({name:l,...Be?{}:Ee});if(!se&&Be&&v.state.next({...t}),s.resolver){const{errors:Ke}=await ie([l]);if(g(j),m){const Mt=ft(t.errors,a,l),Ze=ft(Ke,a,Mt.name||l);h=Ze.error,l=Ze.name,O=I(Ke)}}else M([l],!0),h=(await ct(d,y.disabled,n,k,s.shouldUseNativeValidation))[l],M([l]),g(j),m&&(h?O=!1:x.isValid&&(O=await J(a,!0)));m&&(d._f.deps&&fe(d._f.deps),pe(l,O,h,Ee))}},de=(r,i)=>{if(f(t.errors,i)&&r.focus)return r.focus(),1},fe=async(r,i={})=>{let l,m;const d=ve(r);if(s.resolver){const u=await le(P(r)?r:d);l=I(u),m=r?!d.some(g=>f(u,g)):l}else r?(m=(await Promise.all(d.map(async u=>{const g=f(a,u);return await J(g&&g._f?{[u]:g}:g)}))).every(Boolean),!(!m&&!t.isValid)&&V()):m=l=await J(a);return v.state.next({...!X(r)||x.isValid&&l!==t.isValid?{}:{name:r},...s.resolver||!r?{isValid:l}:{},errors:t.errors}),i.shouldFocus&&!m&&he(a,de,r?d:y.mount),m},He=r=>{const i={...c.mount?n:o};return P(r)?i:X(r)?f(i,r):r.map(l=>f(i,l))},Ie=(r,i)=>({invalid:!!f((i||t).errors,r),isDirty:!!f((i||t).dirtyFields,r),error:f((i||t).errors,r),isValidating:!!f(t.validatingFields,r),isTouched:!!f((i||t).touchedFields,r)}),Ct=r=>{r&&ve(r).forEach(i=>D(t.errors,i)),v.state.next({errors:r?t.errors:{}})},We=(r,i,l)=>{const m=(f(a,r,{_f:{}})._f||{}).ref,d=f(t.errors,r)||{},{ref:u,message:g,type:h,...O}=d;S(t.errors,r,{...O,...i,ref:m}),v.state.next({name:r,errors:t.errors,isValid:!1}),l&&l.shouldFocus&&m&&m.focus&&m.focus()},Lt=(r,i)=>Q(r)?v.values.subscribe({next:l=>r(_(void 0,i),l)}):_(r,i,!0),Re=(r,i={})=>{for(const l of r?ve(r):y.mount)y.mount.delete(l),y.array.delete(l),i.keepValue||(D(a,l),D(n,l)),!i.keepError&&D(t.errors,l),!i.keepDirty&&D(t.dirtyFields,l),!i.keepTouched&&D(t.touchedFields,l),!i.keepIsValidating&&D(t.validatingFields,l),!s.shouldUnregister&&!i.keepDefaultValue&&D(o,l);v.values.next({values:{...n}}),v.state.next({...t,...i.keepDirty?{isDirty:b()}:{}}),!i.keepIsValid&&V()},$e=({disabled:r,name:i,field:l,fields:m})=>{(Y(r)&&c.mount||r||y.disabled.has(i))&&(r?y.disabled.add(i):y.disabled.delete(i),ne(i,De(l?l._f:f(m,i)._f),!1,!1,!0))},Pe=(r,i={})=>{let l=f(a,r);const m=Y(i.disabled)||Y(s.disabled);return S(a,r,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:r}},name:r,mount:!0,...i}}),y.mount.add(r),l?$e({field:l,disabled:Y(i.disabled)?i.disabled:s.disabled,name:r}):C(r,!0,i.value),{...m?{disabled:i.disabled||s.disabled}:{},...s.progressive?{required:!!i.required,min:ye(i.min),max:ye(i.max),minLength:ye(i.minLength),maxLength:ye(i.maxLength),pattern:ye(i.pattern)}:{},name:r,onChange:ce,onBlur:ce,ref:d=>{if(d){Pe(r,i),l=f(a,r);const u=P(d.value)&&d.querySelectorAll&&d.querySelectorAll("input,select,textarea")[0]||d,g=ar(u),h=l._f.refs||[];if(g?h.find(O=>O===u):u===l._f.ref)return;S(a,r,{_f:{...l._f,...g?{refs:[...h.filter(Le),u,...Array.isArray(f(o,r))?[{}]:[]],ref:{type:u.type,name:r}}:{ref:u}}}),C(r,!1,void 0,u)}else l=f(a,r,{}),l._f&&(l._f.mount=!1),(s.shouldUnregister||i.shouldUnregister)&&!(xt(y.array,r)&&c.action)&&y.unMount.add(r)}}},Je=()=>s.shouldFocusError&&he(a,de,y.mount),Dt=r=>{Y(r)&&(v.state.next({disabled:r}),he(a,(i,l)=>{const m=f(a,l);m&&(i.disabled=m._f.disabled||r,Array.isArray(m._f.refs)&&m._f.refs.forEach(d=>{d.disabled=m._f.disabled||r}))},0,!1))},ze=(r,i)=>async l=>{let m;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let d=H(n);if(y.disabled.size)for(const u of y.disabled)S(d,u,void 0);if(v.state.next({isSubmitting:!0}),s.resolver){const{errors:u,values:g}=await ie();t.errors=u,d=g}else await J(a);if(D(t.errors,"root"),I(t.errors)){v.state.next({errors:{}});try{await r(d,l)}catch(u){m=u}}else i&&await i({...t.errors},l),Je(),setTimeout(Je);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:I(t.errors)&&!m,submitCount:t.submitCount+1,errors:t.errors}),m)throw m},Tt=(r,i={})=>{f(a,r)&&(P(i.defaultValue)?z(r,H(f(o,r))):(z(r,i.defaultValue),S(o,r,H(i.defaultValue))),i.keepTouched||D(t.touchedFields,r),i.keepDirty||(D(t.dirtyFields,r),t.isDirty=i.defaultValue?b(r,H(f(o,r))):b()),i.keepError||(D(t.errors,r),x.isValid&&V()),v.state.next({...t}))},Ye=(r,i={})=>{const l=r?H(r):o,m=H(l),d=I(r),u=d?o:m;if(i.keepDefaultValues||(o=l),!i.keepValues){if(i.keepDirtyValues){const g=new Set([...y.mount,...Object.keys(me(o,n))]);for(const h of Array.from(g))f(t.dirtyFields,h)?S(u,h,f(n,h)):z(h,f(u,h))}else{if(Oe&&P(r))for(const g of y.mount){const h=f(a,g);if(h&&h._f){const O=Array.isArray(h._f.refs)?h._f.refs[0]:h._f.ref;if(_e(O)){const j=O.closest("form");if(j){j.reset();break}}}}a={}}n=s.shouldUnregister?i.keepDefaultValues?H(o):{}:H(u),v.array.next({values:{...u}}),v.values.next({values:{...u}})}y={mount:i.keepDirtyValues?y.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!x.isValid||!!i.keepIsValid||!!i.keepDirtyValues,c.watch=!!s.shouldUnregister,v.state.next({submitCount:i.keepSubmitCount?t.submitCount:0,isDirty:d?!1:i.keepDirty?t.isDirty:!!(i.keepDefaultValues&&!ae(r,o)),isSubmitted:i.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:d?{}:i.keepDirtyValues?i.keepDefaultValues&&n?me(o,n):t.dirtyFields:i.keepDefaultValues&&r?me(o,r):i.keepDirty?t.dirtyFields:{},touchedFields:i.keepTouched?t.touchedFields:{},errors:i.keepErrors?t.errors:{},isSubmitSuccessful:i.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},Ge=(r,i)=>Ye(Q(r)?r(n):r,i);return{control:{register:Pe,unregister:Re,getFieldState:Ie,handleSubmit:ze,setError:We,_executeSchema:ie,_getWatch:_,_getDirty:b,_updateValid:V,_removeUnmounted:xe,_updateFieldArray:F,_updateDisabledField:$e,_getFieldArray:L,_reset:Ye,_resetDefaultValues:()=>Q(s.defaultValues)&&s.defaultValues().then(r=>{Ge(r,s.resetOptions),v.state.next({isLoading:!1})}),_updateFormState:r=>{t={...t,...r}},_disableForm:Dt,_subjects:v,_proxyFormState:x,_setErrors:te,get _fields(){return a},get _formValues(){return n},get _state(){return c},set _state(r){c=r},get _defaultValues(){return o},get _names(){return y},set _names(r){y=r},get _formState(){return t},set _formState(r){t=r},get _options(){return s},set _options(r){s={...s,...r}}},trigger:fe,register:Pe,handleSubmit:ze,watch:Lt,setValue:z,getValues:He,reset:Ge,resetField:Tt,clearErrors:Ct,unregister:Re,setError:We,setFocus:(r,i={})=>{const l=f(a,r),m=l&&l._f;if(m){const d=m.refs?m.refs[0]:m.ref;d.focus&&(d.focus(),i.shouldSelect&&Q(d.select)&&d.select())}},getFieldState:Ie}}function fr(e={}){const s=A.useRef(void 0),t=A.useRef(void 0),[a,o]=A.useState({isDirty:!1,isValidating:!1,isLoading:Q(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Q(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...dr(e),formState:a});const n=s.current.control;return n._options=e,qe({subject:n._subjects.state,next:c=>{_t(c,n._proxyFormState,n._updateFormState,!0)&&o({...n._formState})}}),A.useEffect(()=>n._disableForm(e.disabled),[n,e.disabled]),A.useEffect(()=>{if(n._proxyFormState.isDirty){const c=n._getDirty();c!==a.isDirty&&n._subjects.state.next({isDirty:c})}},[n,a.isDirty]),A.useEffect(()=>{e.values&&!ae(e.values,t.current)?(n._reset(e.values,n._options.resetOptions),t.current=e.values,o(c=>({...c}))):n._resetDefaultValues()},[e.values,n]),A.useEffect(()=>{e.errors&&n._setErrors(e.errors)},[e.errors,n]),A.useEffect(()=>{n._state.mount||(n._updateValid(),n._state.mount=!0),n._state.watch&&(n._state.watch=!1,n._subjects.state.next({...n._formState})),n._removeUnmounted()}),A.useEffect(()=>{e.shouldUnregister&&n._subjects.values.next({values:n._getWatch()})},[e.shouldUnregister,n]),s.current.formState=Ft(a,n),s.current}const ns={title:"Guides/Integration with React Hook Form",args:{onSubmit:qt(e=>{console.log("Form submitted:",e)})}},ge={render:function(s){const t=()=>{var p,R,x,v,E,W,k,T;const{register:a,handleSubmit:o,formState:{errors:n},reset:c,control:y}=fr({defaultValues:{fullName:"",email:"",age:void 0,country:"",password:"",confirmPassword:"",bio:"",privacyPolicyAccepted:!1,experienceLevel:50,priceRange:[25,75]}});return w.jsx("div",{style:{maxWidth:"600px",margin:"0 auto",padding:"20px"},children:w.jsxs(Xe,{direction:"column",gap:"16",children:[w.jsx(Ut,{variant:"extraLarge",tag:"h1",children:"User Registration Form"}),w.jsxs("form",{onSubmit:o(s.onSubmit),style:{display:"contents"},noValidate:!0,children:[w.jsx(et,{label:"Full Name",...a("fullName",{required:"Full name is required"}),error:(p=n.fullName)==null?void 0:p.message,required:!0}),w.jsx(et,{label:"Email",type:"email",...a("email",{required:"Email is required"}),error:(R=n.email)==null?void 0:R.message,required:!0}),w.jsx(Ht,{label:"Age",...a("age",{valueAsNumber:!0,required:"Age is required",min:{value:18,message:"You must be at least 18 years old"}}),min:18,max:120,error:(x=n.age)==null?void 0:x.message,required:!0}),w.jsxs(It,{label:"Country",placeholder:"",...a("country",{required:"Country is required"}),error:(v=n.country)==null?void 0:v.message,required:!0,children:[w.jsx(Z,{value:"us",children:"United States"}),w.jsx(Z,{value:"ca",children:"Canada"}),w.jsx(Z,{value:"uk",children:"United Kingdom"}),w.jsx(Z,{value:"de",children:"Germany"}),w.jsx(Z,{value:"fr",children:"France"}),w.jsx(Z,{value:"it",children:"Italy"}),w.jsx(Z,{value:"es",children:"Spain"}),w.jsx(Z,{value:"au",children:"Australia"}),w.jsx(Z,{value:"jp",children:"Japan"}),w.jsx(Z,{value:"other",children:"Other"})]}),w.jsx(tt,{label:"Password",...a("password",{required:"Password is required",minLength:{value:8,message:"Password must be at least 8 characters"},pattern:{value:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]/,message:"Password must contain at least one uppercase letter, one lowercase letter, one number, and one special character"}}),error:(E=n.password)==null?void 0:E.message,required:!0}),w.jsx(tt,{label:"Confirm Password",...a("confirmPassword",{required:"Please confirm your password",validate:(V,M)=>V===M.password||"Passwords do not match"}),error:(W=n.confirmPassword)==null?void 0:W.message,required:!0}),w.jsx(Wt,{label:"Bio",...a("bio",{maxLength:{value:500,message:"Bio must be less than 500 characters"}}),error:(k=n.bio)==null?void 0:k.message}),w.jsx(st,{name:"experienceLevel",control:y,rules:{validate:{minValue:V=>V<50?"Must be above 50":!0}},render:({field:V})=>{var M;return w.jsx(ke,{label:"Experience Level",error:(M=n.experienceLevel)==null?void 0:M.message,children:w.jsx($t,{value:V.value,onValueChange:V.onChange,min:0,max:100,"aria-label":"Experience Level"})})}}),w.jsx(st,{name:"priceRange",control:y,rules:{validate:{minValue:([V])=>V<=25?"Minimum must be above 25":!0,maxValue:([,V])=>V>=75?"Maximum must be below 75":!0}},render:({field:V})=>{var M;return w.jsx(ke,{label:"Price",error:(M=n.priceRange)==null?void 0:M.message,children:w.jsx(Jt,{value:V.value,onValueChange:V.onChange,min:0,max:100,"aria-label":"Price Range"})})}}),w.jsx(ke,{label:"Accept Privacy Policy",description:"I accept the Privacy Policy",error:(T=n.privacyPolicyAccepted)==null?void 0:T.message,hideLabel:!0,children:w.jsx(zt,{...a("privacyPolicyAccepted",{required:"You must accept the Privacy Policy"})})}),w.jsxs(Xe,{gap:"12",padding:["20","0","0"],justifyContent:"end",children:[w.jsx(rt,{onClick:()=>c(),variant:"secondary",children:"Reset"}),w.jsx(rt,{submitsForm:!0,children:"Submit"})]})]})]})})};return w.jsx(t,{})},play:async({args:e,canvasElement:s,step:t})=>{const a=Nt(s);await t("Fill all form fields",async()=>{console.log(await a.findAllByRole("textbox")),await U.type(a.getByRole("textbox",{name:"Full Name"}),"John Doe"),await U.type(a.getByRole("textbox",{name:"Email"}),"john.doe@example.com"),await U.clear(a.getByRole("spinbutton",{name:"Age"})),await U.type(a.getByRole("spinbutton",{name:"Age"}),"25"),await U.selectOptions(a.getByRole("combobox",{name:"Country"}),"us"),await U.type(a.getByLabelText(/^Password/),"TestPassword123!"),await U.type(a.getByLabelText(/^Confirm Password/),"TestPassword123!"),await U.type(a.getByRole("textbox",{name:"Bio"}),"I am a software engineer with 5 years of experience."),a.getByRole("slider",{name:"Experience Level"}).focus(),await U.keyboard("{ArrowRight}".repeat(5));const n=a.getByRole("slider",{name:"Minimum Price Range"}),c=a.getByRole("slider",{name:"Maximum Price Range"});n.focus(),await U.keyboard("{ArrowRight}".repeat(2)),c.focus(),await U.keyboard("{ArrowLeft}".repeat(2)),await U.click(a.getByRole("checkbox",{name:"Accept Privacy Policy"}))}),await t("Submit the form",async()=>{await U.click(a.getByRole("button",{name:"Submit"}))}),await t("Assert that onSubmit was called with correct data",async()=>{await Qe(()=>{$(e.onSubmit).toHaveBeenCalledWith({fullName:"John Doe",email:"john.doe@example.com",age:25,country:"us",password:"TestPassword123!",confirmPassword:"TestPassword123!",bio:"I am a software engineer with 5 years of experience.",privacyPolicyAccepted:!0,experienceLevel:55,priceRange:[27,73]},$.anything())})}),await t("Reset the form",async()=>{await U.click(a.getByRole("button",{name:"Reset"}))}),await t("Assert all fields are cleared",async()=>{await Qe(()=>{$(a.getByRole("textbox",{name:"Full Name"})).not.toHaveValue(),$(a.getByRole("textbox",{name:"Email"})).not.toHaveValue(),$(a.getByRole("spinbutton",{name:"Age"})).not.toHaveValue(),$(a.getByRole("combobox",{name:"Country"})).not.toHaveValue(),$(a.getByLabelText(/^Password/)).not.toHaveValue(),$(a.getByLabelText(/^Confirm Password/)).not.toHaveValue(),$(a.getByRole("textbox",{name:"Bio"})).not.toHaveValue(),$(a.getByRole("checkbox",{name:"Accept Privacy Policy"})).not.toBeChecked(),$(a.getByRole("slider",{name:"Experience Level"})).toHaveAttribute("aria-valuenow","50"),$(a.getByRole("slider",{name:"Minimum Price Range"})).toHaveAttribute("aria-valuenow","25"),$(a.getByRole("slider",{name:"Maximum Price Range"})).toHaveAttribute("aria-valuenow","75")})})}};var mt,yt,gt,vt,ht;ge.parameters={...ge.parameters,docs:{...(mt=ge.parameters)==null?void 0:mt.docs,source:{originalSource:`{
|
|
2
2
|
render: function Story(args) {
|
|
3
3
|
/**
|
|
4
4
|
* This \`Story\` component is a hacky workaround; without it, the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as F}from"./jsx-runtime-BYouaCF_.js";import{r as N}from"./index-B3evPFBL.js";import{f as U}from"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import{g as f,s as j,a as E,b as H}from"./layout-relative.module-ed9bC4H4.js";import{e as $,f as G,L as k}from"./defaults-B1rzzf6M.js";import{g as J}from"./index-DdzHuZ-Y.js";import{w as B}from"./componentNames-CpCJzpB9.js";const t=void 0;function Y(a){const{nowrap:e}=a;return e?!0:t}function r(a){return JSON.stringify(a)}function M(a){const{direction:e,column:u,reverse:n}=a;return e===void 0?!n&&!u?{applyThrough:"direction",directionAttr:$}:{applyThrough:"columnReverse",columnReverseAttr:`${u?"column":"row"}-${n?"rev":"fwd"}`}:typeof e=="string"?{applyThrough:"direction",directionAttr:e}:{applyThrough:"direction",directionAttr:r(e)}}function W(a){const{justifyContent:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function X(a){const{alignItems:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function z(a){const{gap:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function K(a){const{padding:e}=a;return e===void 0?{applyThrough:"attr",attr:G}:typeof e=="string"||typeof e=="number"?{applyThrough:"attr",attr:e}:Array.isArray(e)?{applyThrough:"classnames",classNames:f(e)}:r(e).includes("[")?{applyThrough:"classnames",classNames:f(e)}:{applyThrough:"attr",attr:JSON.stringify(e)}}function Q(a){const{hide:e,inline:u}=a;if(e===void 0)return t;const n=u?"inline-flex":"flex";if(typeof e=="boolean")return e?"hide":n;let l=r(e);return l=l.replace(/true/g,'"hide"'),l=l.replace(/false/g,`"${n}"`),l}function Z(a){const{relative:e}=a;return e===void 0?t:e===!0?!0:e===!1?t:r(e)}const ee={},m=N.forwardRef(function(e,u){const{gap:n,hide:l,column:o,nowrap:g,inline:y,dataset:h,reverse:A,padding:L,children:R,relative:x,direction:P,alignItems:T,justifyContent:w,tag:S=k,..._}=e,d=[ee.LayoutFlex,j.LayoutGap,E.LayoutHide,H.LayoutRelative],D=z({gap:n}),b=Y({nowrap:g}),q=Z({relative:x}),V=Q({hide:l,inline:y}),I=X({alignItems:T}),O=W({justifyContent:w});let v=t,p=t;const i=M({direction:P,column:o,reverse:A});i.applyThrough==="columnReverse"?p=i.columnReverseAttr:v=i.directionAttr;let c=t;const s=K({padding:L});s.applyThrough==="classnames"?d.push(...s.classNames):c=s.attr;const C={...U(_),ref:u,className:d.join(" "),"data-ds-gap":D,"data-ds-nowrap":b,"data-ds-padding":c,"data-ds-display":V,"data-ds-relative":q,"data-ds-direction":v,"data-ds-alignitems":I,"data-ds-columnreverse":p,"data-ds-justifycontent":O,...J(h,{preplyDsComponent:B.LayoutFlex})};return F.jsx(S,{...C,children:R})});try{m.displayName="LayoutFlex",m.__docgenInfo={description:"A CSS `flex` wrapper.",displayName:"LayoutFlex",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"
|
|
1
|
+
import{j as F}from"./jsx-runtime-BYouaCF_.js";import{r as N}from"./index-B3evPFBL.js";import{f as U}from"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import{g as f,s as j,a as E,b as H}from"./layout-relative.module-ed9bC4H4.js";import{e as $,f as G,L as k}from"./defaults-B1rzzf6M.js";import{g as J}from"./index-DdzHuZ-Y.js";import{w as B}from"./componentNames-CpCJzpB9.js";const t=void 0;function Y(a){const{nowrap:e}=a;return e?!0:t}function r(a){return JSON.stringify(a)}function M(a){const{direction:e,column:u,reverse:n}=a;return e===void 0?!n&&!u?{applyThrough:"direction",directionAttr:$}:{applyThrough:"columnReverse",columnReverseAttr:`${u?"column":"row"}-${n?"rev":"fwd"}`}:typeof e=="string"?{applyThrough:"direction",directionAttr:e}:{applyThrough:"direction",directionAttr:r(e)}}function W(a){const{justifyContent:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function X(a){const{alignItems:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function z(a){const{gap:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function K(a){const{padding:e}=a;return e===void 0?{applyThrough:"attr",attr:G}:typeof e=="string"||typeof e=="number"?{applyThrough:"attr",attr:e}:Array.isArray(e)?{applyThrough:"classnames",classNames:f(e)}:r(e).includes("[")?{applyThrough:"classnames",classNames:f(e)}:{applyThrough:"attr",attr:JSON.stringify(e)}}function Q(a){const{hide:e,inline:u}=a;if(e===void 0)return t;const n=u?"inline-flex":"flex";if(typeof e=="boolean")return e?"hide":n;let l=r(e);return l=l.replace(/true/g,'"hide"'),l=l.replace(/false/g,`"${n}"`),l}function Z(a){const{relative:e}=a;return e===void 0?t:e===!0?!0:e===!1?t:r(e)}const ee={},m=N.forwardRef(function(e,u){const{gap:n,hide:l,column:o,nowrap:g,inline:y,dataset:h,reverse:A,padding:L,children:R,relative:x,direction:P,alignItems:T,justifyContent:w,tag:S=k,..._}=e,d=[ee.LayoutFlex,j.LayoutGap,E.LayoutHide,H.LayoutRelative],D=z({gap:n}),b=Y({nowrap:g}),q=Z({relative:x}),V=Q({hide:l,inline:y}),I=X({alignItems:T}),O=W({justifyContent:w});let v=t,p=t;const i=M({direction:P,column:o,reverse:A});i.applyThrough==="columnReverse"?p=i.columnReverseAttr:v=i.directionAttr;let c=t;const s=K({padding:L});s.applyThrough==="classnames"?d.push(...s.classNames):c=s.attr;const C={...U(_),ref:u,className:d.join(" "),"data-ds-gap":D,"data-ds-nowrap":b,"data-ds-padding":c,"data-ds-display":V,"data-ds-relative":q,"data-ds-direction":v,"data-ds-alignitems":I,"data-ds-columnreverse":p,"data-ds-justifycontent":O,...J(h,{preplyDsComponent:B.LayoutFlex})};return F.jsx(S,{...C,children:R})});try{m.displayName="LayoutFlex",m.__docgenInfo={description:"A CSS `flex` wrapper.",displayName:"LayoutFlex",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"2xs"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"2xs"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},column:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"column",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},reverse:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"reverse",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"row"'},{value:'"column"'},{value:'"row-reverse"'},{value:'"column-reverse"'},{value:"ResponsiveProp<LayoutFlexDirection>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"article"'},{value:'"caption"'},{value:'"fieldset"'},{value:'"figcaption"'},{value:'"figure"'},{value:'"footer"'},{value:'"header"'},{value:'"li"'},{value:'"main"'},{value:'"ol"'},{value:'"section"'},{value:'"table"'},{value:'"tbody"'},{value:'"td"'},{value:'"tfoot"'},{value:'"th"'},{value:'"thead"'},{value:'"tr"'},{value:'"ul"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},inline:{defaultValue:null,description:"",name:"inline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{m as L};
|