@preply/ds-docs 9.1.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{00.LayoutFlex.stories-BYXnY64p.js → 00.LayoutFlex.stories-DB9Y25qw.js} +1 -1
- package/dist/assets/{00.applications-BsH2V3W_.js → 00.applications-C7qyvM1y.js} +1 -1
- package/dist/assets/{00.favicons.guide-eBYOUVUH.js → 00.favicons.guide-BmYhSQZH.js} +1 -1
- package/dist/assets/{00.token-explorer-B2ulyaA-.js → 00.token-explorer-zaz4V88E.js} +1 -1
- package/dist/assets/{00.using-responsive-props-CTjUYXUc.js → 00.using-responsive-props-DKW-uWVH.js} +1 -1
- package/dist/assets/01-2pw2iC19.css +1 -0
- package/dist/assets/01.semantic-tokens-Qf9qY_Sk.js +11 -0
- package/dist/assets/{01.using-shorthand-props-CwDUu5-3.js → 01.using-shorthand-props-BedWZyE3.js} +1 -1
- package/dist/assets/{10.Combinations.stories-DyRUlGlL.js → 10.Combinations.stories-DL8TmNJ4.js} +1 -1
- package/dist/assets/{10.fonts.guide-DeXmgJeZ.js → 10.fonts.guide-DWCtIfPx.js} +1 -1
- package/dist/assets/{10.ssr-Cc4-BW5H.js → 10.ssr-FDyVDtdm.js} +1 -1
- package/dist/assets/11.fonts.explorer-Bh_GOQIH.js +2 -0
- package/dist/assets/{11.ssr.app-router-D1SE_zWj.js → 11.ssr.app-router-C5TwsO2T.js} +1 -1
- package/dist/assets/{20.libraries-DfhUsp74.js → 20.libraries-Cnl2_NKK.js} +1 -1
- package/dist/assets/{2025-q4-ds-cleanup-DGnTtnn3.js → 2025-q4-ds-cleanup-Bpa9AZ8j.js} +1 -1
- package/dist/assets/{30.icons.explorer-D0CP2r0K.js → 30.icons.explorer-BBtz-vBk.js} +3 -3
- package/dist/assets/{30.storybook-fiICi3pf.js → 30.storybook-C9GpdY6w.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-BAusB8PF.js → 40.illustrations.explorer-BRtj5sFB.js} +1 -1
- package/dist/assets/{90.advanced-DcSeiSZJ.js → 90.advanced-hNSc64rO.js} +1 -1
- package/dist/assets/{Accordion-BEPo4ld1.js → Accordion-CedlUpYk.js} +1 -1
- package/dist/assets/{Accordion.stories-BQqvv6_w.js → Accordion.stories-K6mzrdt8.js} +1 -1
- package/dist/assets/{Accordion.tests.stories-CbPTut9X.js → Accordion.tests.stories-B6lTbT6X.js} +1 -1
- package/dist/assets/AlertBanner.primitives.stories-CX03Ob-5.js +14 -0
- package/dist/assets/{AlertBanner.stories-CMG9DJ2x.js → AlertBanner.stories-Cla7i7qF.js} +2 -2
- package/dist/assets/{AlertBannerText-CmhnTe_E.js → AlertBannerAction-CW-WBC-Q.js} +39 -39
- package/dist/assets/{AlertDialog.stories-DizQy7gK.js → AlertDialog.stories-BKmaZZoo.js} +1 -1
- package/dist/assets/{Avatar-DooDODLU.js → Avatar-Dlo9b83e.js} +1 -1
- package/dist/assets/{Avatar.stories-D7qshDw_.js → Avatar.stories-B27rtxK8.js} +1 -1
- package/dist/assets/{AvatarWithStatus.stories-Dj6jZHHV.js → AvatarWithStatus.stories-DBeEaQQL.js} +1 -1
- package/dist/assets/{Badge-e3LEfrfi.css → Badge-BVnE8GHY.css} +1 -1
- package/dist/assets/Badge-CEZW6Ww4.js +10 -0
- package/dist/assets/Badge.stories-ioY8q4d7.js +90 -0
- package/dist/assets/{Box.stories-CHbntlOv.js → Box.stories-udfSjNu1.js} +1 -1
- package/dist/assets/{BubbleCounter.stories-DTv3QqdJ.js → BubbleCounter.stories-D2G7jKKI.js} +1 -1
- package/dist/assets/{Button-KCBOR544.js → Button-DS2bg8PO.js} +3 -3
- package/dist/assets/{Button.stories-pEk6dWrs.js → Button.stories-VD5Bx8BA.js} +1 -1
- package/dist/assets/{Button-6DthIrMV.css → ButtonBase-Bv11I0L0.css} +1 -1
- package/dist/assets/ButtonBase-CPJxprWJ.js +1 -0
- package/dist/assets/{ButtonBase-D1x6yeKi.js → ButtonBase-sV1YoG7h.js} +2 -2
- package/dist/assets/{CalloutBanner.stories-C-mTLhQp.js → CalloutBanner.stories-Cda3BZCl.js} +23 -23
- package/dist/assets/{Checkbox-BpQ-rwun.js → Checkbox-Cmmcg7FL.js} +2 -2
- package/dist/assets/{Checkbox.stories-DsN55u_O.js → Checkbox.stories-B0kQw-sr.js} +1 -1
- package/dist/assets/{Checkbox.tests.stories-Bep_STbH.js → Checkbox.tests.stories-DDyVlpZg.js} +1 -1
- package/dist/assets/{Chips.stories-Da8J7RES.js → Chips.stories-DcxW_jqF.js} +1 -1
- package/dist/assets/{Color-ASIRERSW-DWyFOMGN.js → Color-ASIRERSW-9q9Af87o.js} +1 -1
- package/dist/assets/{ComposingPopovers.stories-qqCHKKj8.js → ComposingPopovers.stories-Co69SyGH.js} +1 -1
- package/dist/assets/{CountryFlag-CSGb4nau.js → CountryFlag-BKEpYyWK.js} +18 -18
- package/dist/assets/{CountryFlag.stories-DQpEMYMX.js → CountryFlag.stories-o-8kmOZA.js} +1 -1
- package/dist/assets/{CountryFlag.test.stories-CzcCUxia.js → CountryFlag.test.stories-CKkoBStk.js} +1 -1
- package/dist/assets/Dialog-DaLOtRn0.js +13 -0
- package/dist/assets/{Dialog.primitives.stories-CSDdsj-9.js → Dialog.primitives.stories-CDU4GhAO.js} +1 -1
- package/dist/assets/Dialog.stories-N8LTxdNu.js +324 -0
- package/dist/assets/{Dialog.test.stories-DngMxsX4.js → Dialog.test.stories-tViVBTuF.js} +6 -6
- package/dist/assets/{DialogActions-DTUDyqFX.js → DialogActions-_9FMsJ9P.js} +34 -34
- package/dist/assets/{DialogTitle-DJPc1ITB.js → DialogCloseButton-CDDeMFIL.js} +63 -63
- package/dist/assets/DialogCloseButton-DXcPNZE4.css +1 -0
- package/dist/assets/DismissibleChips-X4A9KOxs.js +1 -0
- package/dist/assets/{DismissibleChips.stories-Bi-ob_1G.js → DismissibleChips.stories-DbnvLIw0.js} +1 -1
- package/dist/assets/{Divider-CPpmQZmq.js → Divider-WS0wDfQZ.js} +1 -1
- package/dist/assets/{Divider.stories-CfHb5qbc.js → Divider.stories-BO1cg142.js} +1 -1
- package/dist/assets/{DocsRenderer-GHJI37HO-DtP4EKUP.js → DocsRenderer-GHJI37HO-CzsXSkAO.js} +2 -2
- package/dist/assets/{DropdownMenu-N9_otewg.js → DropdownMenu-CB6xg9YD.js} +410 -410
- package/dist/assets/{DropdownMenu.stories-CEAGHTed.js → DropdownMenu.stories-E-6mIs-U.js} +2 -2
- package/dist/assets/{FieldButton-CCXniKhy.js → FieldButton-CYcQXg37.js} +1 -1
- package/dist/assets/{FieldButton.stories-CJM_6H-S.js → FieldButton.stories-UNjMUuGT.js} +1 -1
- package/dist/assets/{FormControl-CygcWV_h.js → FormControl-DgD7Nr_L.js} +1 -1
- package/dist/assets/{FormControl.stories-C5u8y2E-.js → FormControl.stories-DlqjswdS.js} +1 -1
- package/dist/assets/{Heading-Bie8QWaf.js → Heading-BPJGe0Bg.js} +1 -1
- package/dist/assets/{Heading.stories-D0fztdY8.js → Heading.stories-B9_Jr0z3.js} +1 -1
- package/dist/assets/{Icon-RSC-D3qlB5DK.js → Icon-RSC-BcGoz5Ez.js} +1 -1
- package/dist/assets/{Icon-BX3I9JNh.js → Icon-kphbe0CE.js} +2 -2
- package/dist/assets/{Icon.stories-By891-S7.js → Icon.stories-CKAjKBCa.js} +1 -1
- package/dist/assets/IconButton-D4lbFOKH.js +8 -0
- package/dist/assets/{IconTile.stories-Dns_iBHK.js → IconTile.stories-BlATLdyV.js} +1 -1
- package/dist/assets/{Input-DwA6-keB.js → Input-Cp2OkxN8.js} +19 -19
- package/dist/assets/{InputContainer-BM2ePliH.js → InputContainer-BlXlJbfJ.js} +1 -1
- package/dist/assets/{IntegrationWithReactHookForm.stories-mIoeMj7y.js → IntegrationWithReactHookForm.stories-BstJWvGF.js} +1 -1
- package/dist/assets/{IntlFormattedCurrency.stories-7qKke3dW.js → IntlFormattedCurrency.stories-CXBsKa8I.js} +9 -9
- package/dist/assets/{IntlFormattedDateTime.stories-C2pI0ems.js → IntlFormattedDateTime.stories-m5rFuyxv.js} +7 -7
- package/dist/assets/{LayoutFlex-0WdUDfah.js → LayoutFlex-Drgj-jqd.js} +1 -1
- package/dist/assets/{LayoutFlex-BnIoY5YK.js → LayoutFlex-p_p7LCCd.js} +1 -1
- package/dist/assets/{LayoutFlexItem-9sCC-db-.js → LayoutFlexItem-DrxhQlf5.js} +1 -1
- package/dist/assets/{LayoutGrid-DfyCnoOo.js → LayoutGrid-DZv08iKe.js} +1 -1
- package/dist/assets/{LayoutGrid-DqPWofJQ.js → LayoutGrid-eROIp1sZ.js} +1 -1
- package/dist/assets/{LayoutGrid.stories-CPzyKie2.js → LayoutGrid.stories-DAnbCvD6.js} +1 -1
- package/dist/assets/{LayoutGridItem-BhNbXpRk.js → LayoutGridItem-DiU_IdjQ.js} +1 -1
- package/dist/assets/{Link-C686zlPi.js → Link-BHV5DCu-.js} +2 -2
- package/dist/assets/{Link.stories-NTXG_YAN.js → Link.stories-CFRsbzfM.js} +1 -1
- package/dist/assets/{Loader.stories-CobXaiZW.js → Loader.stories-bvaq9oGD.js} +1 -1
- package/dist/assets/MultiSelectChips-CVg9kaKd.js +2 -0
- package/dist/assets/{MultiSelectChips.stories-D8qk9Xh6.js → MultiSelectChips.stories-DOiIDnhX.js} +1 -1
- package/dist/assets/{NativeSelectField.stories-BDO41u_T.js → NativeSelectField.stories-DojmcjvT.js} +23 -23
- package/dist/assets/NumberField-FWK2ErPL.js +6 -0
- package/dist/assets/{NumberField.stories-Dcw2SaBe.js → NumberField.stories-BEVJXeBn.js} +1 -1
- package/dist/assets/{ObserveIntersection-Be6WqdPA.js → ObserveIntersection-MtxhRIzU.js} +2 -2
- package/dist/assets/{ObserveIntersection.stories-DZmhDs2t.js → ObserveIntersection.stories-0f-z6V25.js} +1 -1
- package/dist/assets/{OnboardingTooltip-CsTure6K.js → OnboardingTooltip-DdKwzkB-.js} +1 -1
- package/dist/assets/{OnboardingTooltip.stories-C_B-G4_v.js → OnboardingTooltip.stories-DV2yAiRE.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-CpZhGhGz.js → OnboardingTooltip.tests.stories-32a4fLzf.js} +1 -1
- package/dist/assets/{OnboardingTour-Dsl4caiq.js → OnboardingTour-m4V6QT-X.js} +1 -1
- package/dist/assets/{OnboardingTour.stories-DqC8M1Kd.js → OnboardingTour.stories-dLZBYgbr.js} +2 -2
- package/dist/assets/{OnboardingTour.tests.stories-DGFSuiWj.js → OnboardingTour.tests.stories-BnPXyzmi.js} +1 -1
- package/dist/assets/PasswordField-Bp2beBoD.js +6 -0
- package/dist/assets/{PasswordField.stories-CZeXEfzi.js → PasswordField.stories-BxnBBn2_.js} +1 -1
- package/dist/assets/{PreplyLogo.stories-shAJfg57.js → PreplyLogo.stories-BuK8vK1R.js} +2 -2
- package/dist/assets/{ProgressBar.stories-iYTaP7-a.js → ProgressBar.stories-CwpXa86g.js} +1 -1
- package/dist/assets/{ProgressSteps-Dq6mpMpu.js → ProgressSteps-DCVAFT7X.js} +1 -1
- package/dist/assets/{ProgressSteps.stories-DHMPLYQI.js → ProgressSteps.stories--reXlzAk.js} +1 -1
- package/dist/assets/{PromoDialog-D8vw3Grl.js → PromoDialog-BPWEGGGS.js} +1 -1
- package/dist/assets/{RangeSlider-Bhq0kPco.js → RangeSlider-BKIG-XfV.js} +1 -1
- package/dist/assets/{RangeSlider.stories-g3pQNpDu.js → RangeSlider.stories-Dr7UfAUm.js} +1 -1
- package/dist/assets/{Rating.stories-CjioX0Al.js → Rating.stories-Cmpcr64W.js} +1 -1
- package/dist/assets/{RatingInput.stories-D33p4lyo.js → RatingInput.stories-DWxrhIwu.js} +2 -2
- package/dist/assets/{SelectField-Dndb8yfM.js → SelectField-BRicVVj7.js} +9 -9
- package/dist/assets/{SelectField.stories-CvIWxsEK.js → SelectField.stories-D6sJHBcs.js} +1 -1
- package/dist/assets/{ShowOnIntersection.stories-dFG1F9xz.js → ShowOnIntersection.stories-DT94aTYJ.js} +1 -1
- package/dist/assets/SingleSelectChips-B1d9MkC-.js +2 -0
- package/dist/assets/{SingleSelectChips.stories-CUP8Bkco.js → SingleSelectChips.stories-QdsPQJO8.js} +1 -1
- package/dist/assets/{Slider-BECc3Wis.js → Slider-CVM0huNa.js} +1 -1
- package/dist/assets/{Slider.stories-DjmgzkjU.js → Slider.stories-UCLuhto1.js} +1 -1
- package/dist/assets/{Spinner-lj2QA4al.js → Spinner-BG27lVzS.js} +1 -1
- package/dist/assets/{Stars-jpVWvTeN.js → Stars-St7ZRTZK.js} +1 -1
- package/dist/assets/{Steps-GOg1wsKY.js → Steps-CBqiqb-6.js} +1 -1
- package/dist/assets/{Steps.stories-kIC1j0Ik.js → Steps.stories-DOWMlpTM.js} +1 -1
- package/dist/assets/{Switch-7aX4SIla.js → Switch-DJROHOKs.js} +1 -1
- package/dist/assets/{Switch.stories-DT7OULK4.js → Switch.stories-C9cCCv8l.js} +1 -1
- package/dist/assets/{Text-cq49jjad.js → Text-C8DrHLQF.js} +1 -1
- package/dist/assets/{Text-CmJvwKqR.js → Text-FXv4P3JX.js} +1 -1
- package/dist/assets/{Text.stories-CS1pqas4.js → Text.stories-Cmn2Kn0h.js} +1 -1
- package/dist/assets/TextField--Ctd_eHi.js +6 -0
- package/dist/assets/{TextField.stories-CzFG171A.js → TextField.stories-Bly_tLuN.js} +1 -1
- package/dist/assets/{TextHighlighted.stories-CLRQJAB8.js → TextHighlighted.stories-CdIzDMMS.js} +1 -1
- package/dist/assets/{TextInline.stories-DSzsl_kb.js → TextInline.stories-NWWAzVY1.js} +1 -1
- package/dist/assets/{TextareaField-DBMUxHiI.js → TextareaField-DDEIieQg.js} +23 -23
- package/dist/assets/{TextareaField.stories-CUD2MBoL.js → TextareaField.stories-CyuOlu4z.js} +1 -1
- package/dist/assets/{Toast.stories-DPD668gP.js → Toast.stories-BFWVkg8-.js} +1 -1
- package/dist/assets/{TokyoUIAttach-BtX3U917.js → TokyoUIAttach-Bj2xsZ5E.js} +1 -1
- package/dist/assets/{TokyoUIAvailability7LateNight-CjHQEFhh.js → TokyoUIAvailability7LateNight-CyPCBR0g.js} +1 -1
- package/dist/assets/{TokyoUICheck-DfGyg7qp.js → TokyoUICheck-Cg3ZJnmD.js} +1 -1
- package/dist/assets/{TokyoUICheckmark-CittwpP4.js → TokyoUICheckmark-CPDgq6wU.js} +1 -1
- package/dist/assets/{TokyoUIChevronDown-D9z1Bocr.js → TokyoUIChevronDown-CqAWFBEe.js} +1 -1
- package/dist/assets/{TokyoUIChevronRight-DQBrjC0F.js → TokyoUIChevronRight-UHMBQAxX.js} +1 -1
- package/dist/assets/{TokyoUIClose-C1pVTvLz.js → TokyoUIClose-DoJfpCh8.js} +1 -1
- package/dist/assets/{TokyoUIEmojiFrowning-D-sR3DAq.js → TokyoUIEmojiFrowning-Bztw_WuD.js} +1 -1
- package/dist/assets/{TokyoUIErrorWarning-CDZ53m2_.js → TokyoUIErrorWarning-CE6C7y8g.js} +1 -1
- package/dist/assets/{TokyoUIExerciseClosedGapsJumble-DYuDUGYW.js → TokyoUIExerciseClosedGapsJumble-OGZLJcQZ.js} +1 -1
- package/dist/assets/{TokyoUIEye-Bgb_ZF1l.js → TokyoUIEye-BRl8T4Ci.js} +1 -1
- package/dist/assets/{TokyoUIFav-B1z6F-nK.js → TokyoUIFav-w08HsdRu.js} +1 -1
- package/dist/assets/{TokyoUIInfo-CwPA0O_V.js → TokyoUIInfo-BoGHBgEW.js} +1 -1
- package/dist/assets/{TokyoUILanguage-Cnby-Siw.js → TokyoUILanguage-Bd98PINi.js} +1 -1
- package/dist/assets/{TokyoUILibraryExplore-D3Zqdc29.js → TokyoUILibraryExplore-C-3tnEbW.js} +1 -1
- package/dist/assets/{TokyoUILock-BVVVVd2O.js → TokyoUILock-d81cInRU.js} +1 -1
- package/dist/assets/{TokyoUIMessages-B0IlDk1q.js → TokyoUIMessages-0is9ybHR.js} +1 -1
- package/dist/assets/{TokyoUIMinus-Bev2a7lF.js → TokyoUIMinus-DPJ4shry.js} +1 -1
- package/dist/assets/{TokyoUINotebook-BCMFA3qu.js → TokyoUINotebook-DLrYm4si.js} +1 -1
- package/dist/assets/{TokyoUINotesWithPad-Bi4bu_3q.js → TokyoUINotesWithPad-D6VO7CbF.js} +1 -1
- package/dist/assets/{TokyoUIPhone-CX3CAtW4.js → TokyoUIPhone-bFlwEn-_.js} +1 -1
- package/dist/assets/{TokyoUISettings-BlCV0s5R.js → TokyoUISettings-DhHyIlWv.js} +1 -1
- package/dist/assets/{TokyoUISparkle-C5euAhof.js → TokyoUISparkle-B1jtDvOV.js} +1 -1
- package/dist/assets/{TokyoUIStarFilled-Dm7Rk3-6.js → TokyoUIStarFilled-Cj894376.js} +1 -1
- package/dist/assets/{TokyoUITag-CxUsuh1h.js → TokyoUITag-fMAL09F9.js} +1 -1
- package/dist/assets/{TokyoUIUpload-C50QSO0I.js → TokyoUIUpload-DM2TbvbX.js} +1 -1
- package/dist/assets/{TokyoUIUser-Cb3Rabu0.js → TokyoUIUser-Ba7_NA45.js} +1 -1
- package/dist/assets/{Tooltip-Zk6DNyQp.js → Tooltip-DDtzGgNm.js} +1 -1
- package/dist/assets/{Tooltip.stories-DvCDg7L5.js → Tooltip.stories-j1bsH2PP.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-DhLZuVsr.js → Tooltip.tests.stories-DFas0O9K.js} +1 -1
- package/dist/assets/{VisuallyHidden-lSSiGvdb.js → VisuallyHidden-GZBFKPVs.js} +1 -1
- package/dist/assets/{WithTooltip-IO6J4KBT-BXUfDxdY.js → WithTooltip-IO6J4KBT-2Wz16aqd.js} +1 -1
- package/dist/assets/{align-self-kXdO3hx1.js → align-self-D0ug8REo.js} +1 -1
- package/dist/assets/{axe-D9-qZHEg.js → axe-BcoLkzU-.js} +1 -1
- package/dist/assets/{breakpoints-QW-40zGS.js → breakpoints-BBwYud6y.js} +1 -1
- package/dist/assets/{breakpoints-C7qnntd1.js → breakpoints-BDFtAvFy.js} +1 -1
- package/dist/assets/{breakpoints-Cmpvj56z.js → breakpoints-CIy8w3Dv.js} +1 -1
- package/dist/assets/{changelog-BWMxpTM2.js → changelog-DIkUnuOo.js} +23 -1
- package/dist/assets/{client-DvDoBCIp.js → client-oIdhQPH3.js} +1 -1
- package/dist/assets/{constants-6ClT3n6m.js → constants-Cwb-3GQ_.js} +47 -47
- package/dist/assets/{createRequiredContext-63KJmEaI.js → createRequiredContext-5BPDYgIa.js} +87 -87
- package/dist/assets/fonts-explorer-B5KcfnOG.css +1 -0
- package/dist/assets/fonts-explorer.stories-Bp_9af2z.js +130 -0
- package/dist/assets/{formatter-QJ4M4OGQ-kybJ6bB6.js → formatter-QJ4M4OGQ-D2xZe9AO.js} +1 -1
- package/dist/assets/{getTokenVar-CszfVUbW.js → getTokenVar-B7BEyIpS.js} +1 -1
- package/dist/assets/getTokenVar-B8jDl0Ui.js +1 -0
- package/dist/assets/{gradientBorders-DRFre4M2.js → gradientBorders-B12ps1Or.js} +1 -1
- package/dist/assets/{hover-DLl5EEx6.js → hover-5BxL9d9v.js} +1 -1
- package/dist/assets/{hover-DVoxXiPd.js → hover-CG8OgvC5.js} +1 -1
- package/dist/assets/{hover-D3OYWSUH.js → hover-gsGL4vVH.js} +1 -1
- package/dist/assets/{iframe-CpMEswOF.js → iframe-DjYTJz7A.js} +8 -8
- package/dist/assets/{index-B_7ihsZD.js → index-BII7aPfQ.js} +1 -1
- package/dist/assets/{index-DT-MbRPK.js → index-CUvrBGJo.js} +1 -1
- package/dist/assets/{index-jLr7d-Kb.js → index-C_O4jEc0.js} +1 -1
- package/dist/assets/{index-IVtS1ZoW.js → index-DHDwwoCu.js} +1 -1
- package/dist/assets/{index-dUCHvwfu.js → index-DOwxXd3L.js} +1 -1
- package/dist/assets/{index-Cc28ZUNU.js → index-cpi3YaXo.js} +1 -1
- package/dist/assets/{intro-1RVcci_B.js → intro-BXKxOrdm.js} +1 -1
- package/dist/assets/{layout-relative-Bq7IHzTJ.js → layout-relative-DQF7VcUK.js} +1 -1
- package/dist/assets/{layout-relative.module-1z75aSwo-B4ha7m6U.js → layout-relative.module-1z75aSwo-CsvB7_pT.js} +1 -1
- package/dist/assets/{layout-relative.module-Bhi7U482.js → layout-relative.module-BM7yIsEb.js} +1 -1
- package/dist/assets/{mcp-D4dEnAH6.js → mcp-X-VhpP6n.js} +1 -1
- package/dist/assets/{message-CTdBLxyt.js → message-DiUVdAQd.js} +1 -1
- package/dist/assets/{migrating-from-less-DyPFNe_D.js → migrating-from-less-8Nm2XYdW.js} +1 -1
- package/dist/assets/{playground.stories-Cd-KauE2.js → playground.stories-B4hfD_Uq.js} +1 -1
- package/dist/assets/{react-18-B6ZQhKaW.js → react-18-B4n119qZ.js} +1 -1
- package/dist/assets/{render-icon-c7okze1K.js → render-icon-DZ6hllTG.js} +1 -1
- package/dist/assets/{render-icon-CiYBms-s.js → render-icon-DlE4AZJV.js} +1 -1
- package/dist/assets/{shared-strings-BChji30Y.js → shared-strings-ZccoNgto.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-Cm3dhVk9.js → styled-components.browser.esm-3T8u8x7l.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-DsMoKq9m.js → styled-components.browser.esm-DegKtid9.js} +1 -1
- package/dist/assets/{syntaxhighlighter-IQDEPFLK-ckmVX3NN.js → syntaxhighlighter-IQDEPFLK-B-ddKj4v.js} +1 -1
- package/dist/assets/{text-accent-DZ_ihUdH.js → text-accent-C5-m5mrW.js} +1 -1
- package/dist/assets/{text-centered-B26ac1NU.js → text-centered-CqZrbSb_.js} +1 -1
- package/dist/assets/{text-centered-DiwR-QSx.js → text-centered-D70wah8Y.js} +1 -1
- package/dist/assets/{tokens-DO-XJjoF.js → tokens-BXEYWkXR.js} +1 -1
- package/dist/assets/{tokens-B_sXFQpU.js → tokens-CBFYFIpi.js} +1 -1
- package/dist/assets/{tokens-5M__FcH-.js → tokens-ChCvx9cz.js} +1 -1
- package/dist/assets/{tokens-DTCyqZ0W.js → tokens-Cp4gIGSO.js} +1 -1
- package/dist/assets/{useControllableState-ouxkeS_b.js → useControllableState-DQg81cp5.js} +1 -1
- package/dist/assets/useHostname-By9vNKnQ.js +1 -0
- package/dist/assets/{useMergeRefs-DkQLsYW4.js → useMergeRefs-CL5DIjXV.js} +1 -1
- package/dist/assets/{useMergeRefs-BVh7Ch_S.js → useMergeRefs-jFGYKOXz.js} +1 -1
- package/dist/assets/{useOpenInteractionType-BBP_TXgz.js → useOpenInteractionType-B976GY1b.js} +1 -1
- package/dist/assets/{usePortalElement-Cm2Hqn3J.js → usePortalElement-B3bWjUcx.js} +1 -1
- package/dist/assets/{useStableCallback-DHq1eG2Q.js → useStableCallback-662ysKf2.js} +1 -1
- package/dist/assets/{useToken-CX1vf7pV.js → useToken-CJ7hsZh9.js} +1 -1
- package/dist/assets/{welcome-CNokV_38.js → welcome-bR5y4uLm.js} +1 -1
- package/dist/assets/{zeroheight-8zVSToXs.js → zeroheight-D-Xst36e.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/preview-stats.json +9392 -9440
- package/dist/project.json +1 -1
- package/package.json +5 -5
- package/dist/assets/01-BEFb1grO.css +0 -1
- package/dist/assets/01.semantic-tokens-DaqL26gu.js +0 -11
- package/dist/assets/11.fonts.explorer-ZD_-8450.js +0 -2
- package/dist/assets/AlertBanner.primitives.stories-B8wM25gx.js +0 -14
- package/dist/assets/Badge-BOSHGFZw.js +0 -10
- package/dist/assets/Badge.stories-D2WAGDpD.js +0 -72
- package/dist/assets/Button-C8B7W2Qo.js +0 -1
- package/dist/assets/Dialog-Bmg2gpCM.js +0 -3
- package/dist/assets/Dialog.stories-BfS-yGJK.js +0 -248
- package/dist/assets/DialogTitle-8iZEMHpI.css +0 -1
- package/dist/assets/DismissibleChips-CRFGhm8B.js +0 -1
- package/dist/assets/IconButton-DVKNd7ZK.js +0 -8
- package/dist/assets/MultiSelectChips-DJ1p23QD.js +0 -2
- package/dist/assets/NumberField-DmosE2JM.js +0 -6
- package/dist/assets/PasswordField-DQuar8x2.js +0 -6
- package/dist/assets/SingleSelectChips-BqEBu1qF.js +0 -2
- package/dist/assets/TextField-BkMawuql.js +0 -6
- package/dist/assets/fonts-explorer-BKje7Hq_.css +0 -1
- package/dist/assets/fonts-explorer.stories-DP7h1C3f.js +0 -130
- package/dist/assets/getTokenVar-DntuTYid.js +0 -1
- package/dist/assets/index-9rU-ZrVj.js +0 -75
- package/dist/assets/useHostname-BVhrcDgi.js +0 -1
- /package/dist/assets/{AlertBannerText-Dgo9FikS.css → AlertBannerAction-Dgo9FikS.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,M as s}from"./iframe-
|
|
1
|
+
import{j as o,M as s}from"./iframe-DjYTJz7A.js";import{useMDXComponents as t}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";function n(r){const e={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...t(),...r.components};return o.jsxs(o.Fragment,{children:[o.jsx(s,{title:"Guides/Installation/Storybook"}),`
|
|
2
2
|
`,o.jsx(e.h1,{id:"installation-storybook",children:"Installation: Storybook"}),`
|
|
3
3
|
`,o.jsxs(e.p,{children:["This guide applies to Storybook setups that document Preply components libraries, and assumes you have read and followed the steps outlined in the ",o.jsx(e.a,{href:"/story/guides-installation-libraries--page",children:"Installation: Libaries"})," guide."]}),`
|
|
4
4
|
`,o.jsx(e.h2,{id:"packages",children:"Packages"}),`
|
package/dist/assets/{40.illustrations.explorer-BAusB8PF.js → 40.illustrations.explorer-BRtj5sFB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,M as a}from"./iframe-
|
|
1
|
+
import{j as t,M as a}from"./iframe-DjYTJz7A.js";import{useMDXComponents as r}from"./index-cpi3YaXo.js";import{L as c}from"./LayoutGrid-DZv08iKe.js";import{d as e}from"./styled-components.browser.esm-DegKtid9.js";import{g as i}from"./getTokenVar-B8jDl0Ui.js";import{s as u,c as l}from"./tokens-Cp4gIGSO.js";import"./preload-helper-Dp1pzeXC.js";import"./breakpoints-BfMlrtxE.js";import"./layout-relative.module-1z75aSwo-CsvB7_pT.js";import"./constants-DYYVurUY.js";import"./filterAttributesPassedByRadixUIAtRuntime-Bye2JkZ0.js";import"./componentNames-hc9KR2nX.js";import"./emotion-unitless.esm-BZwEwAnk.js";const n=["https://static.preply.com/ds/illustrations/tokyo-ui/airplain.svg","https://static.preply.com/ds/illustrations/tokyo-ui/arrow.svg","https://static.preply.com/ds/illustrations/tokyo-ui/arrows-multiple.svg","https://static.preply.com/ds/illustrations/tokyo-ui/arrows-upwards.svg","https://static.preply.com/ds/illustrations/tokyo-ui/artist.svg","https://static.preply.com/ds/illustrations/tokyo-ui/awesome.svg","https://static.preply.com/ds/illustrations/tokyo-ui/back-to-school.svg","https://static.preply.com/ds/illustrations/tokyo-ui/bar-graph.svg","https://static.preply.com/ds/illustrations/tokyo-ui/bell.svg","https://static.preply.com/ds/illustrations/tokyo-ui/booking-a-lesson.svg","https://static.preply.com/ds/illustrations/tokyo-ui/books.svg","https://static.preply.com/ds/illustrations/tokyo-ui/books-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/books-3.svg","https://static.preply.com/ds/illustrations/tokyo-ui/brain.svg","https://static.preply.com/ds/illustrations/tokyo-ui/browser-permissions-chromium.svg","https://static.preply.com/ds/illustrations/tokyo-ui/browser-permissions-safari.svg","https://static.preply.com/ds/illustrations/tokyo-ui/bubbles.svg","https://static.preply.com/ds/illustrations/tokyo-ui/calendar.svg","https://static.preply.com/ds/illustrations/tokyo-ui/calendar-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/checkmark.svg","https://static.preply.com/ds/illustrations/tokyo-ui/clock.svg","https://static.preply.com/ds/illustrations/tokyo-ui/clock-yellow.svg","https://static.preply.com/ds/illustrations/tokyo-ui/clocks.svg","https://static.preply.com/ds/illustrations/tokyo-ui/coins.svg","https://static.preply.com/ds/illustrations/tokyo-ui/committed.svg","https://static.preply.com/ds/illustrations/tokyo-ui/confetti.svg","https://static.preply.com/ds/illustrations/tokyo-ui/cosmopolite.svg","https://static.preply.com/ds/illustrations/tokyo-ui/desk.svg","https://static.preply.com/ds/illustrations/tokyo-ui/desk-supplies.svg","https://static.preply.com/ds/illustrations/tokyo-ui/discount-badge.svg","https://static.preply.com/ds/illustrations/tokyo-ui/disco-ball.svg","https://static.preply.com/ds/illustrations/tokyo-ui/dog.svg","https://static.preply.com/ds/illustrations/tokyo-ui/first-steps.svg","https://static.preply.com/ds/illustrations/tokyo-ui/game-on.svg","https://static.preply.com/ds/illustrations/tokyo-ui/getting-started-down.svg","https://static.preply.com/ds/illustrations/tokyo-ui/getting-started.svg","https://static.preply.com/ds/illustrations/tokyo-ui/globe-spot.svg","https://static.preply.com/ds/illustrations/tokyo-ui/great-homework.svg","https://static.preply.com/ds/illustrations/tokyo-ui/growth.svg","https://static.preply.com/ds/illustrations/tokyo-ui/guitar.svg","https://static.preply.com/ds/illustrations/tokyo-ui/hard-work-1.svg","https://static.preply.com/ds/illustrations/tokyo-ui/hard-work-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/heart.svg","https://static.preply.com/ds/illustrations/tokyo-ui/it-guru.svg","https://static.preply.com/ds/illustrations/tokyo-ui/lamp-and-books.svg","https://static.preply.com/ds/illustrations/tokyo-ui/language-flash-cards.svg","https://static.preply.com/ds/illustrations/tokyo-ui/laptop.svg","https://static.preply.com/ds/illustrations/tokyo-ui/laptop-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/magnifying-glass.svg","https://static.preply.com/ds/illustrations/tokyo-ui/making-progress.svg","https://static.preply.com/ds/illustrations/tokyo-ui/map.svg","https://static.preply.com/ds/illustrations/tokyo-ui/meeting-with-tutor-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/meeting-with-tutor.svg","https://static.preply.com/ds/illustrations/tokyo-ui/messages.svg","https://static.preply.com/ds/illustrations/tokyo-ui/messaging.svg","https://static.preply.com/ds/illustrations/tokyo-ui/mobile-app.svg","https://static.preply.com/ds/illustrations/tokyo-ui/notes.svg","https://static.preply.com/ds/illustrations/tokyo-ui/open-book.svg","https://static.preply.com/ds/illustrations/tokyo-ui/pause-button.svg","https://static.preply.com/ds/illustrations/tokyo-ui/pencil-and-pen-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/pencil-and-pen.svg","https://static.preply.com/ds/illustrations/tokyo-ui/pig.svg","https://static.preply.com/ds/illustrations/tokyo-ui/play-button.svg","https://static.preply.com/ds/illustrations/tokyo-ui/polyglot-2.svg","https://static.preply.com/ds/illustrations/tokyo-ui/polyglot-pink.svg","https://static.preply.com/ds/illustrations/tokyo-ui/polyglot.svg","https://static.preply.com/ds/illustrations/tokyo-ui/present.svg","https://static.preply.com/ds/illustrations/tokyo-ui/professional.svg","https://static.preply.com/ds/illustrations/tokyo-ui/progress-steps.svg","https://static.preply.com/ds/illustrations/tokyo-ui/quote.svg","https://static.preply.com/ds/illustrations/tokyo-ui/rising-arrows.svg","https://static.preply.com/ds/illustrations/tokyo-ui/rock-on.svg","https://static.preply.com/ds/illustrations/tokyo-ui/routine-master.svg","https://static.preply.com/ds/illustrations/tokyo-ui/serious-learner.svg","https://static.preply.com/ds/illustrations/tokyo-ui/sheet.svg","https://static.preply.com/ds/illustrations/tokyo-ui/smiley.svg","https://static.preply.com/ds/illustrations/tokyo-ui/speech-bubble.svg","https://static.preply.com/ds/illustrations/tokyo-ui/star_coin.svg","https://static.preply.com/ds/illustrations/tokyo-ui/stop-button.svg","https://static.preply.com/ds/illustrations/tokyo-ui/stopwatch.svg","https://static.preply.com/ds/illustrations/tokyo-ui/system-permissions.svg","https://static.preply.com/ds/illustrations/tokyo-ui/testing-the-water.svg","https://static.preply.com/ds/illustrations/tokyo-ui/three-arrows.svg","https://static.preply.com/ds/illustrations/tokyo-ui/thumbs-up.svg","https://static.preply.com/ds/illustrations/tokyo-ui/you-did-great-today.svg","https://static.preply.com/ds/illustrations/tokyo-ui/warning.svg","https://static.preply.com/ds/illustrations/tokyo-ui/flashcards.svg","https://static.preply.com/ds/illustrations/tokyo-ui/abc-dice.svg"],y=e.div`
|
|
2
2
|
padding: ${i(u[12])};
|
|
3
3
|
-webkit-background-size: 50px 50px;
|
|
4
4
|
-moz-background-size: 50px 50px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as i}from"./iframe-
|
|
1
|
+
import{j as e,M as i}from"./iframe-DjYTJz7A.js";import{useMDXComponents as t}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";function r(n){const o={a:"a",code:"code",h1:"h1",p:"p",pre:"pre",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Guides/Installation/Advanced"}),`
|
|
2
2
|
`,e.jsx(o.h1,{id:"installation-advanced",children:"Installation: Advanced"}),`
|
|
3
3
|
`,e.jsxs(o.p,{children:["This page is about rolling out your own alternative to ",e.jsx(o.code,{children:"<RootProvider/>"})," (advanced usage)."]}),`
|
|
4
4
|
`,e.jsxs(o.p,{children:["If you are looking for how to install, refer to the ",e.jsx(o.a,{href:"/story/guides-installation-applications--page",children:"installation guides"})," instead."]}),`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,j as r,g as s}from"./iframe-
|
|
1
|
+
import{r as o,j as r,g as s}from"./iframe-DjYTJz7A.js";import{F as y}from"./TokyoUIChevronDown-CqAWFBEe.js";import{I as A}from"./Icon-kphbe0CE.js";import{T as f}from"./Text-C8DrHLQF.js";import{u as g}from"./useMergeRefs-CL5DIjXV.js";import{w as _}from"./componentNames-hc9KR2nX.js";const w="accordion__OKb-C",p={accordion:w,"--dsInternalSimulation-focus":"_--dsInternalSimulation-focus__7V0NR","--dsInternalSimulation-noAnimation":"_--dsInternalSimulation-noAnimation__nuNUW"};function I({ref:n,onOpenChange:e}){const a=o.useRef(null),l=g(a,n);return o.useEffect(()=>{if(!a.current)return;const t=a.current,i=()=>{e==null||e(t.open)};return t&&t.addEventListener("toggle",i),()=>{t&&t.removeEventListener("toggle",i)}},[e]),{mergedRef:e||n?l:null}}const c=({dataset:n,children:e,"aria-label":a})=>r.jsx("div",{className:p.accordion,"aria-label":a,...s(n),"data-preply-ds-component":_.Accordion,children:e}),u=o.forwardRef(function({open:e,name:a,dataset:l,children:t,onOpenChange:i,dsInternalSimulation:v},b){const{mergedRef:h}=I({ref:b,onOpenChange:i});return r.jsx("details",{ref:h,name:a,open:e,...s(l),className:p[`--dsInternalSimulation-${v}`],children:t})}),d=o.forwardRef(function({dataset:e,children:a,onClick:l},t){return r.jsxs("summary",{ref:t,...s(e),onClick:l,children:[r.jsx(f,{variant:"default-semibold",children:a}),r.jsx(A,{svg:y})]})}),m=o.forwardRef(function({dataset:e,children:a},l){return r.jsx(f,{tag:"div",variant:"small-regular",ref:l,...s(e),children:a})});try{c.displayName="Accordion",c.__docgenInfo={description:"An Accordion container.\n\nAdd `AccordionItem` children to render a list of disclosable contents.",displayName:"Accordion",props:{dataset:{defaultValue:null,description:`Sets data attributes on the DOM element.
|
|
2
2
|
@example <Accordion dataset={{ 'qa-id': 'benefits' }} /> // will add data-qa-id="benefits" to the HTML element.`,name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-label":{defaultValue:null,description:`Defines a string value that labels the current element.
|
|
3
3
|
@see aria-labelledby.`,name:"aria-label",required:!1,type:{name:"enum",value:[{value:"string"}]}}}}}catch{}try{u.displayName="AccordionItem",u.__docgenInfo={description:"A single `Accordion` item, the wrapper of AccordionHeader and AccordionContent.",displayName:"AccordionItem",props:{"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
|
|
4
4
|
@see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-label":{defaultValue:null,description:`Defines a string value that labels the current element.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./iframe-
|
|
1
|
+
import{j as e}from"./iframe-DjYTJz7A.js";import{A as r,a as n,b as t,c as o}from"./Accordion-CedlUpYk.js";import{T as p}from"./Text-C8DrHLQF.js";import{H as T}from"./Heading-BPJGe0Bg.js";import{B as W}from"./Button-DS2bg8PO.js";import"./preload-helper-Dp1pzeXC.js";import"./TokyoUIChevronDown-CqAWFBEe.js";import"./Icon-kphbe0CE.js";import"./text-accent-C5-m5mrW.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./render-icon-DZ6hllTG.js";import"./componentNames-hc9KR2nX.js";import"./useMergeRefs-CL5DIjXV.js";import"./text-centered-D70wah8Y.js";import"./ButtonBase-sV1YoG7h.js";import"./Spinner-BG27lVzS.js";import"./useHostname-By9vNKnQ.js";import"./index-CC6DAVyL.js";const X={title:"components/Accordion",component:r,args:{}},s={render:function(){return e.jsxs(r,{children:[e.jsxs(n,{children:[e.jsx(t,{children:"Is Preply the best platform for learning a language?"}),e.jsx(o,{children:"Of course it is!"})]}),e.jsxs(n,{children:[e.jsx(t,{children:"Why?"}),e.jsx(o,{children:"If you are wondering, it means you have not tried it out yet!"})]})]})}},a={render:function(){return e.jsxs(r,{children:[e.jsxs(n,{open:!0,children:[e.jsx(t,{children:"Is Preply the best platform for learning a language?"}),e.jsx(o,{children:"Of course it is!"})]}),e.jsxs(n,{open:!0,children:[e.jsx(t,{children:"Why?"}),e.jsx(o,{children:"If you are wondering, it means you have not tried it out yet!"})]})]})}},c={render:function(){return e.jsxs(r,{children:[e.jsxs(n,{children:[e.jsx(t,{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}),e.jsx(o,{children:"Lorem ipsum"})]}),e.jsxs(n,{children:[e.jsx(t,{children:"Lorem ipsum"}),e.jsx(o,{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})]}),e.jsxs(n,{open:!0,children:[e.jsx(t,{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}),e.jsx(o,{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})]})]})}},d={render:function(){return e.jsx(r,{children:e.jsxs(n,{open:!0,children:[e.jsx(t,{children:"Is Preply the best platform for learning a language?"}),e.jsxs(o,{children:[e.jsx(T,{variant:"large",tag:"div",children:"Yes!"}),e.jsx(p,{variant:"large-regular-italic",children:"What are you waiting for?"}),e.jsx(W,{children:"Book a lesson now!"})]})]})})}},l={render:function(){return e.jsxs(r,{children:[e.jsxs(n,{name:"choose-subscription-duration",children:[e.jsx(t,{children:"Two-week subscription"}),e.jsx(o,{children:"We will charge you every two weeks."})]}),e.jsxs(n,{name:"choose-subscription-duration",children:[e.jsx(t,{children:"Four-week subscription"}),e.jsx(o,{children:"We will charge you every four weeks."})]})]})}},u={render:function(){return e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:{display:"flex",gap:"16px",flexDirection:"column"},children:[e.jsx(p,{variant:"default-regular-italic",children:"closed"}),e.jsx("div",{style:{display:"flex",gap:"16px"},children:e.jsx(r,{children:e.jsxs(n,{children:[e.jsx(t,{children:"Header"}),e.jsx(o,{children:"Content"})]})})})]}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexDirection:"column"},children:[e.jsx(p,{variant:"default-regular-italic",children:"open"}),e.jsx("div",{style:{display:"flex",gap:"16px"},children:e.jsx(r,{children:e.jsxs(n,{open:!0,children:[e.jsx(t,{children:"Header"}),e.jsx(o,{children:"Content"})]})})})]}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexDirection:"column"},children:[e.jsx(p,{variant:"default-regular-italic",children:"focus"}),e.jsx("div",{style:{display:"flex",gap:"16px"},children:e.jsx(r,{children:e.jsxs(n,{dsInternalSimulation:"focus",children:[e.jsx(t,{children:"Header"}),e.jsx(o,{children:"Content"})]})})})]})]})}};var m,h,y;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{
|
|
2
2
|
render: function Story() {
|
|
3
3
|
return <Accordion>
|
|
4
4
|
<AccordionItem>
|
package/dist/assets/{Accordion.tests.stories-CbPTut9X.js → Accordion.tests.stories-B6lTbT6X.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./iframe-
|
|
1
|
+
import{j as e}from"./iframe-DjYTJz7A.js";import{A as d,a as c,b as s,c as l}from"./Accordion-CedlUpYk.js";import{c as G}from"./OnboardingTour-m4V6QT-X.js";import"./preload-helper-Dp1pzeXC.js";import"./TokyoUIChevronDown-CqAWFBEe.js";import"./Icon-kphbe0CE.js";import"./text-accent-C5-m5mrW.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./render-icon-DZ6hllTG.js";import"./componentNames-hc9KR2nX.js";import"./Text-C8DrHLQF.js";import"./text-centered-D70wah8Y.js";import"./useMergeRefs-CL5DIjXV.js";import"./OnboardingTooltip-DdKwzkB-.js";import"./TokyoUIClose-DoJfpCh8.js";import"./Button-DS2bg8PO.js";import"./ButtonBase-sV1YoG7h.js";import"./Spinner-BG27lVzS.js";import"./useHostname-By9vNKnQ.js";import"./index-CC6DAVyL.js";import"./Heading-BPJGe0Bg.js";import"./index-CUvrBGJo.js";import"./shared-strings-ZccoNgto.js";import"./message-DiUVdAQd.js";import"./index-DOwxXd3L.js";const{userEvent:i,expect:o,within:U,waitFor:f,fn:z}=__STORYBOOK_MODULE_TEST__,Ce={title:"Components/Accordion/Tests",component:d,parameters:{controls:{disable:!0},chromatic:{disableSnapshot:!0}},tags:["!autodocs","!a11y-test","test"]},y={render:function(){return e.jsx(d,{"aria-label":"accordionLabel",children:e.jsxs(c,{children:[e.jsx(s,{children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]})})},play:async({canvasElement:n})=>{const r=U(n).getByLabelText("accordionLabel");o(r).toBeVisible()}},m={args:{},render:function(){return e.jsxs(d,{children:[e.jsxs(c,{children:[e.jsx(s,{children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]}),e.jsxs(c,{children:[e.jsx(s,{children:"Why?"}),e.jsx(l,{children:"If you are wondering, it means you have not tried it out yet!"})]})]})},play:async({canvas:n,step:t})=>{const r=n.getByText("Is Preply the best platform for learning a language?"),a=n.getByText("Of course it is!"),u=n.getByText("Why?"),p=n.getByText("If you are wondering, it means you have not tried it out yet!");await t("Contents are hidden",async()=>{o(a).not.toBeVisible(),o(p).not.toBeVisible()}),await t("Content 1 is revelable",async()=>{await i.click(r),o(a).toBeVisible()}),await t("Content 2 is revelable",async()=>{await i.click(u),o(p).toBeVisible()}),await t("Both contents are visible (non-exclusivity check)",async()=>{o(a).toBeVisible(),o(p).toBeVisible()}),await t("Item 1 is hidable",async()=>{await i.click(r),o(a).not.toBeVisible()}),await t("Item 2 is hidable",async()=>{await i.click(u),o(p).not.toBeVisible()})}},h={args:{},render:function(){return e.jsx(d,{children:e.jsxs(c,{dsInternalSimulation:"noAnimation",children:[e.jsx(s,{children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]})})},play:async({canvas:n,step:t})=>{const r=n.getByText("Is Preply the best platform for learning a language?"),a=n.getByText("Of course it is!");await t("Contents are hidden",async()=>{o(a).not.toBeVisible()}),await t("Content is revelable",async()=>{await i.click(r),o(a).toBeVisible()}),await t("Content is hidable",async()=>{await i.click(r),o(a).not.toBeVisible()})}},g={args:{},render:function(){return e.jsxs(d,{children:[e.jsxs(c,{name:"choose-subscription-duration",children:[e.jsx(s,{children:"Two-week subscription"}),e.jsx(l,{children:"We will charge you every two weeks."})]}),e.jsxs(c,{name:"choose-subscription-duration",children:[e.jsx(s,{children:"Four-week subscription"}),e.jsx(l,{children:"We will charge you every four weeks."})]})]})},play:async({canvas:n,step:t})=>{const r=n.getByText("Two-week subscription"),a=n.getByText("We will charge you every two weeks."),u=n.getByText("Four-week subscription"),p=n.getByText("We will charge you every four weeks.");await t("Contents are hidden",async()=>{o(a).not.toBeVisible(),o(p).not.toBeVisible()}),await t("Content 1 is revelable",async()=>{await i.click(r),o(a).toBeVisible()}),await t("Content 2 is revelable",async()=>{await i.click(u),o(p).toBeVisible()}),await t("Item 1 is hidden",async()=>{o(a).not.toBeVisible()})}},b={args:{onOpenChange:z()},render:function(t){return e.jsx(d,{children:e.jsxs(c,{onOpenChange:t.onOpenChange,children:[e.jsx(s,{children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]})})},play:async({canvas:n,args:t,step:r})=>{const a=n.getByText("Is Preply the best platform for learning a language?");await r("onOpenChange is not called",async()=>{o(t.onOpenChange).not.toBeCalled()}),await r("onOpenChange is called with true",async()=>{await i.click(a),o(t.onOpenChange).toBeCalledWith(!0)}),await r("onOpenChange is called with false",async()=>{await i.click(a),o(t.onOpenChange).toBeCalledWith(!1)})}},w={args:{onClick:z()},render:function(t){return e.jsx(d,{children:e.jsxs(c,{children:[e.jsx(s,{onClick:t.onClick,children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]})})},play:async({canvas:n,args:t,step:r})=>{const a=n.getByText("Is Preply the best platform for learning a language?");await r("onClick is not called",async()=>{o(t.onClick).not.toBeCalled()}),await r("onClick is called",async()=>{await i.click(a),o(t.onClick).toBeCalled()})}},x={render:function(){return e.jsx(d,{"aria-label":"accordion",dataset:{foo:1},children:e.jsxs(c,{dataset:{"qa-id":"firstItem"},children:[e.jsx(s,{dataset:{"qa-id":"firstItemHeader"},children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{dataset:{"qa-id":"firstItemContent"},children:"Yes!"})]})})},play:async({canvas:n})=>{const t=n.getByLabelText("accordion");o(t).toHaveAttribute("data-foo","1")}},C={render:function(){const t=G();return e.jsx(t.Provider,{totalSteps:2,children:e.jsxs(d,{children:[e.jsx(t.Step,{step:0,title:"Step 1",text:"Ensure you can answer this question",children:e.jsxs(c,{children:[e.jsx(s,{children:"Is Preply the best platform for learning a language?"}),e.jsx(l,{children:"Of course it is!"})]})}),e.jsx(t.Step,{step:1,title:"Step 2",text:"Push them to try Preply out!",children:e.jsxs(c,{children:[e.jsx(s,{children:"Why?"}),e.jsx(l,{children:"If you are wondering, it means you have not tried it out yet!"})]})})]})})},play:async({canvasElement:n,step:t})=>{const r=U(n);await t("Step 1 should be visible",async()=>{await f(()=>{const a=r.getByText("Ensure you can answer this question");o(a).toBeVisible()})}),await t("Click Next",async()=>{const a=r.getByRole("button",{name:"Next"});await i.click(a)}),await t("Step 2 should be visible",async()=>{await f(()=>{const a=r.getByText("Push them to try Preply out!");o(a).toBeVisible()})})}};var A,B,v;y.parameters={...y.parameters,docs:{...(A=y.parameters)==null?void 0:A.docs,source:{originalSource:`{
|
|
2
2
|
render: function Story() {
|
|
3
3
|
return <Accordion aria-label="accordionLabel">
|
|
4
4
|
<AccordionItem>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{j as r}from"./iframe-DjYTJz7A.js";import{F as l}from"./TokyoUISparkle-B1jtDvOV.js";import{A as s,a as m,b as e,c,d as p}from"./AlertBannerAction-CW-WBC-Q.js";import{B as u}from"./Button-DS2bg8PO.js";import"./preload-helper-Dp1pzeXC.js";import"./TokyoUICheck-Cg3ZJnmD.js";import"./TokyoUIErrorWarning-CE6C7y8g.js";import"./Icon-kphbe0CE.js";import"./text-accent-C5-m5mrW.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./render-icon-DZ6hllTG.js";import"./componentNames-hc9KR2nX.js";import"./index-CUvrBGJo.js";import"./VisuallyHidden-GZBFKPVs.js";import"./Text-C8DrHLQF.js";import"./text-centered-D70wah8Y.js";import"./message-DiUVdAQd.js";import"./IconButton-D4lbFOKH.js";import"./ButtonBase-sV1YoG7h.js";import"./Spinner-BG27lVzS.js";import"./useMergeRefs-CL5DIjXV.js";import"./useHostname-By9vNKnQ.js";import"./index-CC6DAVyL.js";const B="customBanner__WPfsi",d={customBanner:B},U={title:"Components/AlertBanner/Primitives",component:e,subcomponents:{AlertBannerIcon:c,AlertBannerRoot:e,AlertBannerAction:m,AlertBannerText:s},parameters:{layout:"padded",docs:{source:{type:"dynamic"}}},decorators:[o=>r.jsx("div",{style:{width:"500px"},children:r.jsx(o,{})})]},t=()=>r.jsx(p,{children:r.jsxs(e,{variant:"critical",className:d.customBanner,children:[r.jsx(c,{svg:l}),r.jsx(s,{children:"Custom banner built with primitives."}),r.jsx(m,{children:r.jsx(u,{variant:"onColor",size:"large",children:"Custom action"})})]})});var n,i,a;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`() => {
|
|
2
|
+
const variant: AlertBannerVariant = 'critical';
|
|
3
|
+
return <AlertBannerProvider>
|
|
4
|
+
<AlertBannerRoot variant={variant} className={customStyles.customBanner}>
|
|
5
|
+
<AlertBannerIcon svg={TokyoUISparkle} />
|
|
6
|
+
<AlertBannerText>Custom banner built with primitives.</AlertBannerText>
|
|
7
|
+
<AlertBannerAction>
|
|
8
|
+
<Button variant="onColor" size={'large'}>
|
|
9
|
+
Custom action
|
|
10
|
+
</Button>
|
|
11
|
+
</AlertBannerAction>
|
|
12
|
+
</AlertBannerRoot>
|
|
13
|
+
</AlertBannerProvider>;
|
|
14
|
+
}`,...(a=(i=t.parameters)==null?void 0:i.docs)==null?void 0:a.source}}};const V=["Primitives"];export{t as Primitives,V as __namedExportsOrder,U as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{g as R,j as e}from"./iframe-
|
|
1
|
+
import{g as R,j as e}from"./iframe-DjYTJz7A.js";import{b as E,c as H,A as L,a as N,d}from"./AlertBannerAction-CW-WBC-Q.js";import{w as M}from"./componentNames-hc9KR2nX.js";import{B as s}from"./Button-DS2bg8PO.js";import"./preload-helper-Dp1pzeXC.js";import"./TokyoUICheck-Cg3ZJnmD.js";import"./TokyoUIErrorWarning-CE6C7y8g.js";import"./Icon-kphbe0CE.js";import"./text-accent-C5-m5mrW.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./render-icon-DZ6hllTG.js";import"./index-CUvrBGJo.js";import"./VisuallyHidden-GZBFKPVs.js";import"./Text-C8DrHLQF.js";import"./text-centered-D70wah8Y.js";import"./message-DiUVdAQd.js";import"./IconButton-D4lbFOKH.js";import"./ButtonBase-sV1YoG7h.js";import"./Spinner-BG27lVzS.js";import"./useMergeRefs-CL5DIjXV.js";import"./useHostname-By9vNKnQ.js";import"./index-CC6DAVyL.js";const a=t=>{const{variant:r,description:n,action:u,dataset:g}=t,y=R(g,{preplyDsComponent:M.AlertBanner});return e.jsxs(E,{variant:r,...y,children:[e.jsx(H,{}),e.jsx(L,{children:n}),e.jsx(N,{children:u})]})};try{a.displayName="AlertBanner",a.__docgenInfo={description:`The Alert Banner communicates important and time-sensitive messages that require user attention.
|
|
2
2
|
|
|
3
3
|
From an accessibility perspective, the description is prefixed to announce the importance of the
|
|
4
|
-
banner.`,displayName:"AlertBanner",props:{variant:{defaultValue:null,description:"Impact the visualized icon, the background color, and how the banner is announced by screen\nreaders.\n\nSemantic icons are also exported for the following variants:\n- `warning` -> `<AlertBannerWarningIcon />`\n- `critical` -> `<AlertBannerCriticalIcon />`\n- `positive` -> `<AlertBannerPositiveIcon />`",name:"variant",required:!0,type:{name:"enum",value:[{value:'"
|
|
4
|
+
banner.`,displayName:"AlertBanner",props:{variant:{defaultValue:null,description:"Impact the visualized icon, the background color, and how the banner is announced by screen\nreaders.\n\nSemantic icons are also exported for the following variants:\n- `warning` -> `<AlertBannerWarningIcon />`\n- `critical` -> `<AlertBannerCriticalIcon />`\n- `positive` -> `<AlertBannerPositiveIcon />`",name:"variant",required:!0,type:{name:"enum",value:[{value:'"warning"'},{value:'"critical"'},{value:'"positive"'}]}},description:{defaultValue:null,description:"The banner's message content.",name:"description",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},action:{defaultValue:null,description:`The banner' action.
|
|
5
5
|
|
|
6
6
|
To build a DS compliant banner, use:
|
|
7
7
|
- \`CalloutBannerIcon\` to add an icon to the banner
|