@purpur/library 9.0.5 → 9.0.7
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/CHANGELOG.json +39 -0
- package/CHANGELOG.md +20 -1
- package/dist/{RichText-DRacgpis.mjs → RichText-Bi51HE6X.mjs} +3 -3
- package/dist/{RichText-DRacgpis.mjs.map → RichText-Bi51HE6X.mjs.map} +1 -1
- package/dist/{RichText-DMyGiMN0.js → RichText-DNroJJXv.js} +2 -2
- package/dist/{RichText-DMyGiMN0.js.map → RichText-DNroJJXv.js.map} +1 -1
- package/dist/{ThemeProvider-CrjMv3M8.mjs → ThemeProvider-BR1hJQOD.mjs} +85 -85
- package/dist/{ThemeProvider-CrjMv3M8.mjs.map → ThemeProvider-BR1hJQOD.mjs.map} +1 -1
- package/dist/{accordion-DWflnyWa.mjs → accordion-BKTz9DM6.mjs} +18 -18
- package/dist/{accordion-DWflnyWa.mjs.map → accordion-BKTz9DM6.mjs.map} +1 -1
- package/dist/{accordion-CF2fj2uq.js → accordion-DX8efWOt.js} +2 -2
- package/dist/{accordion-CF2fj2uq.js.map → accordion-DX8efWOt.js.map} +1 -1
- package/dist/accordion.cjs.js +1 -1
- package/dist/accordion.es.js +1 -1
- package/dist/{alert-badge-u7qAhYbR.mjs → alert-badge-DR8cigWu.mjs} +3 -3
- package/dist/{alert-badge-u7qAhYbR.mjs.map → alert-badge-DR8cigWu.mjs.map} +1 -1
- package/dist/alert-badge.es.js +1 -1
- package/dist/{autocomplete-yD0-1vlF.js → autocomplete-6qSqK3SI.js} +2 -2
- package/dist/{autocomplete-yD0-1vlF.js.map → autocomplete-6qSqK3SI.js.map} +1 -1
- package/dist/{autocomplete-0kGG_STe.mjs → autocomplete-B4dZx9zF.mjs} +3 -3
- package/dist/{autocomplete-0kGG_STe.mjs.map → autocomplete-B4dZx9zF.mjs.map} +1 -1
- package/dist/autocomplete.cjs.js +1 -1
- package/dist/autocomplete.es.js +1 -1
- package/dist/button-BfYKNBmC.mjs +102 -0
- package/dist/button-BfYKNBmC.mjs.map +1 -0
- package/dist/button-DDYGuqZ0.js +2 -0
- package/dist/button-DDYGuqZ0.js.map +1 -0
- package/dist/button.cjs.js +1 -1
- package/dist/button.es.js +1 -1
- package/dist/{calendar-pMM0fKEu.js → calendar-CxkJMONO.js} +2 -2
- package/dist/{calendar-pMM0fKEu.js.map → calendar-CxkJMONO.js.map} +1 -1
- package/dist/{calendar-DDie8jSH.mjs → calendar-vALLklKV.mjs} +2 -2
- package/dist/{calendar-DDie8jSH.mjs.map → calendar-vALLklKV.mjs.map} +1 -1
- package/dist/calendar.cjs.js +1 -1
- package/dist/calendar.es.js +1 -1
- package/dist/{card-DiMVw06l.mjs → card-CkZQZOz1.mjs} +9 -9
- package/dist/{card-DiMVw06l.mjs.map → card-CkZQZOz1.mjs.map} +1 -1
- package/dist/{card-B512KHpr.js → card-VMa3cGCP.js} +2 -2
- package/dist/{card-B512KHpr.js.map → card-VMa3cGCP.js.map} +1 -1
- package/dist/card.cjs.js +1 -1
- package/dist/card.es.js +1 -1
- package/dist/{checkbox-LYzMiXu7.mjs → checkbox-D6qWgpWR.mjs} +8 -8
- package/dist/{checkbox-LYzMiXu7.mjs.map → checkbox-D6qWgpWR.mjs.map} +1 -1
- package/dist/checkbox.es.js +1 -1
- package/dist/{chip-group-aj1fdnjC.js → chip-group-B775zvKD.js} +2 -2
- package/dist/{chip-group-aj1fdnjC.js.map → chip-group-B775zvKD.js.map} +1 -1
- package/dist/{chip-group-CJVvfl_J.mjs → chip-group-xuOe7nL3.mjs} +3 -3
- package/dist/{chip-group-CJVvfl_J.mjs.map → chip-group-xuOe7nL3.mjs.map} +1 -1
- package/dist/chip-group.cjs.js +1 -1
- package/dist/chip-group.es.js +1 -1
- package/dist/components/button/src/button.d.ts +1 -2
- package/dist/components/button/src/button.d.ts.map +1 -1
- package/dist/components/date-field/src/date-field.d.ts.map +1 -1
- package/dist/components/stepper/src/stepper-button.d.ts.map +1 -1
- package/dist/components/table/src/draggable-table.d.ts.map +1 -1
- package/dist/components/table/src/table-settings-drawer.d.ts.map +1 -1
- package/dist/components/table/src/table-toolbar.d.ts.map +1 -1
- package/dist/components/tabs/src/tab-content.d.ts.map +1 -1
- package/dist/components/tabs/src/tabs.d.ts.map +1 -1
- package/dist/{container-Bw12NgHN.mjs → container-DLjBTB_w.mjs} +3 -3
- package/dist/{container-Bw12NgHN.mjs.map → container-DLjBTB_w.mjs.map} +1 -1
- package/dist/container.es.js +1 -1
- package/dist/{content-block-DUcjAZgG.mjs → content-block-BMOvlH7a.mjs} +6 -6
- package/dist/{content-block-DUcjAZgG.mjs.map → content-block-BMOvlH7a.mjs.map} +1 -1
- package/dist/{content-block-kzdUWgvH.js → content-block-Cd7xSE8t.js} +2 -2
- package/dist/{content-block-kzdUWgvH.js.map → content-block-Cd7xSE8t.js.map} +1 -1
- package/dist/content-block.cjs.js +1 -1
- package/dist/content-block.es.js +1 -1
- package/dist/{countdown-DxAGVUFI.mjs → countdown-DZ4IwkNy.mjs} +12 -12
- package/dist/{countdown-DxAGVUFI.mjs.map → countdown-DZ4IwkNy.mjs.map} +1 -1
- package/dist/countdown.es.js +1 -1
- package/dist/date-field-CORqon6B.js +2 -0
- package/dist/{date-field-CPiTZqa0.js.map → date-field-CORqon6B.js.map} +1 -1
- package/dist/{date-field-D_6iP2fC.mjs → date-field-CTJB8O0e.mjs} +325 -310
- package/dist/{date-field-D_6iP2fC.mjs.map → date-field-CTJB8O0e.mjs.map} +1 -1
- package/dist/date-field.cjs.js +1 -1
- package/dist/date-field.es.js +1 -1
- package/dist/{date-picker-BRnwwZv1.mjs → date-picker-CJcIJ5VL.mjs} +5 -5
- package/dist/{date-picker-BRnwwZv1.mjs.map → date-picker-CJcIJ5VL.mjs.map} +1 -1
- package/dist/{date-picker-DlJGggam.js → date-picker-Dv3W05Hf.js} +2 -2
- package/dist/{date-picker-DlJGggam.js.map → date-picker-Dv3W05Hf.js.map} +1 -1
- package/dist/date-picker.cjs.js +1 -1
- package/dist/date-picker.es.js +1 -1
- package/dist/{dismissable-chip-group-DsO2cZaF.js → dismissable-chip-group-CnziecOt.js} +2 -2
- package/dist/{dismissable-chip-group-DsO2cZaF.js.map → dismissable-chip-group-CnziecOt.js.map} +1 -1
- package/dist/{dismissable-chip-group-Bl0D18qM.mjs → dismissable-chip-group-ZCYOt1sB.mjs} +2 -2
- package/dist/{dismissable-chip-group-Bl0D18qM.mjs.map → dismissable-chip-group-ZCYOt1sB.mjs.map} +1 -1
- package/dist/dismissable-chip-group.cjs.js +1 -1
- package/dist/dismissable-chip-group.es.js +1 -1
- package/dist/{drawer-nBpCtIdI.js → drawer-Ce5LNpU2.js} +2 -2
- package/dist/{drawer-nBpCtIdI.js.map → drawer-Ce5LNpU2.js.map} +1 -1
- package/dist/{drawer-Boqmgh-i.mjs → drawer-DSFZ61OH.mjs} +14 -14
- package/dist/{drawer-Boqmgh-i.mjs.map → drawer-DSFZ61OH.mjs.map} +1 -1
- package/dist/drawer.cjs.js +1 -1
- package/dist/drawer.es.js +1 -1
- package/dist/{floating-ui.react-dom-0ol4sFzt.mjs → floating-ui.react-dom-gsHLgcoR.mjs} +5 -5
- package/dist/{floating-ui.react-dom-0ol4sFzt.mjs.map → floating-ui.react-dom-gsHLgcoR.mjs.map} +1 -1
- package/dist/{footer-DrjAwjuL.js → footer-BL0ewBZT.js} +2 -2
- package/dist/{footer-DrjAwjuL.js.map → footer-BL0ewBZT.js.map} +1 -1
- package/dist/{footer-DcWsihxS.mjs → footer-cH07Xqil.mjs} +5 -5
- package/dist/{footer-DcWsihxS.mjs.map → footer-cH07Xqil.mjs.map} +1 -1
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.es.js +1 -1
- package/dist/heading-drD5ugCC.js +2 -0
- package/dist/{heading-DLCdW6gx.js.map → heading-drD5ugCC.js.map} +1 -1
- package/dist/heading-xwBuT_-9.mjs +75 -0
- package/dist/{heading-gqtQNo5n.mjs.map → heading-xwBuT_-9.mjs.map} +1 -1
- package/dist/heading.cjs.js +1 -1
- package/dist/heading.es.js +1 -1
- package/dist/{hero-banner-B8fRHxXc.mjs → hero-banner-CkSSlxTW.mjs} +5 -5
- package/dist/{hero-banner-B8fRHxXc.mjs.map → hero-banner-CkSSlxTW.mjs.map} +1 -1
- package/dist/{hero-banner-D3peC1NR.js → hero-banner-JFaqW20R.js} +2 -2
- package/dist/{hero-banner-D3peC1NR.js.map → hero-banner-JFaqW20R.js.map} +1 -1
- package/dist/hero-banner.cjs.js +1 -1
- package/dist/hero-banner.es.js +1 -1
- package/dist/library.cjs.js +1 -1
- package/dist/library.es.js +44 -44
- package/dist/{listbox-u6__DsLw.mjs → listbox-oDeP8FvH.mjs} +2 -2
- package/dist/{listbox-u6__DsLw.mjs.map → listbox-oDeP8FvH.mjs.map} +1 -1
- package/dist/listbox.es.js +1 -1
- package/dist/{modal-C2UQsW-g.mjs → modal-2ymCXTup.mjs} +19 -19
- package/dist/{modal-C2UQsW-g.mjs.map → modal-2ymCXTup.mjs.map} +1 -1
- package/dist/{modal-nyhf5zxG.js → modal-CXi2xez5.js} +2 -2
- package/dist/{modal-nyhf5zxG.js.map → modal-CXi2xez5.js.map} +1 -1
- package/dist/modal.cjs.js +1 -1
- package/dist/modal.es.js +1 -1
- package/dist/{notification-C32wHljA.mjs → notification-BFSOuDp8.mjs} +22 -22
- package/dist/{notification-C32wHljA.mjs.map → notification-BFSOuDp8.mjs.map} +1 -1
- package/dist/{notification-Bg1vQkQ3.js → notification-DdnI2rOh.js} +2 -2
- package/dist/{notification-Bg1vQkQ3.js.map → notification-DdnI2rOh.js.map} +1 -1
- package/dist/{notification-banner-BY2iZOIa.mjs → notification-banner-CQvBezAL.mjs} +3 -3
- package/dist/{notification-banner-BY2iZOIa.mjs.map → notification-banner-CQvBezAL.mjs.map} +1 -1
- package/dist/{notification-banner-C8XsBDTq.js → notification-banner-CT4ew8IQ.js} +2 -2
- package/dist/{notification-banner-C8XsBDTq.js.map → notification-banner-CT4ew8IQ.js.map} +1 -1
- package/dist/notification-banner.cjs.js +1 -1
- package/dist/notification-banner.es.js +1 -1
- package/dist/notification.cjs.js +1 -1
- package/dist/notification.es.js +1 -1
- package/dist/{pagination-CVVCAQ65.mjs → pagination-BdCjh1Pi.mjs} +2 -2
- package/dist/{pagination-CVVCAQ65.mjs.map → pagination-BdCjh1Pi.mjs.map} +1 -1
- package/dist/pagination.es.js +1 -1
- package/dist/{paragraph-DNtj7OLr.mjs → paragraph-Ci50OF1u.mjs} +3 -3
- package/dist/{paragraph-DNtj7OLr.mjs.map → paragraph-Ci50OF1u.mjs.map} +1 -1
- package/dist/paragraph.es.js +1 -1
- package/dist/{popover-B1BgSoQx.js → popover-D3qWbbU4.js} +2 -2
- package/dist/popover-D3qWbbU4.js.map +1 -0
- package/dist/{popover-DBMI9Jy1.mjs → popover-ZeQKmyEb.mjs} +25 -25
- package/dist/popover-ZeQKmyEb.mjs.map +1 -0
- package/dist/popover.cjs.js +1 -1
- package/dist/popover.es.js +1 -1
- package/dist/{product-card-rfpJbzzV.mjs → product-card-BU1ThhCx.mjs} +12 -12
- package/dist/{product-card-rfpJbzzV.mjs.map → product-card-BU1ThhCx.mjs.map} +1 -1
- package/dist/{product-card-DOBHGAa2.js → product-card-CNBegEBW.js} +2 -2
- package/dist/{product-card-DOBHGAa2.js.map → product-card-CNBegEBW.js.map} +1 -1
- package/dist/product-card.cjs.js +1 -1
- package/dist/product-card.es.js +1 -1
- package/dist/{promotion-card-C7B5ZJaB.js → promotion-card-CXNhskRl.js} +2 -2
- package/dist/{promotion-card-C7B5ZJaB.js.map → promotion-card-CXNhskRl.js.map} +1 -1
- package/dist/{promotion-card-wGGt75eI.mjs → promotion-card-_bPyVr9t.mjs} +33 -33
- package/dist/{promotion-card-wGGt75eI.mjs.map → promotion-card-_bPyVr9t.mjs.map} +1 -1
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.es.js +1 -1
- package/dist/purpur.css +1 -1
- package/dist/{quantity-selector-DPOTlMSq.js → quantity-selector-CjSAaj7d.js} +2 -2
- package/dist/{quantity-selector-DPOTlMSq.js.map → quantity-selector-CjSAaj7d.js.map} +1 -1
- package/dist/{quantity-selector-_VcZYLjR.mjs → quantity-selector-HvyYSKah.mjs} +5 -5
- package/dist/{quantity-selector-_VcZYLjR.mjs.map → quantity-selector-HvyYSKah.mjs.map} +1 -1
- package/dist/quantity-selector.cjs.js +1 -1
- package/dist/quantity-selector.es.js +1 -1
- package/dist/{radio-button-group-CZ_FnVAi.js → radio-button-group-BaFpGAcD.js} +2 -2
- package/dist/{radio-button-group-CZ_FnVAi.js.map → radio-button-group-BaFpGAcD.js.map} +1 -1
- package/dist/{radio-button-group-BnCPcmSN.mjs → radio-button-group-CFqPsu5A.mjs} +5 -5
- package/dist/{radio-button-group-BnCPcmSN.mjs.map → radio-button-group-CFqPsu5A.mjs.map} +1 -1
- package/dist/radio-button-group.cjs.js +1 -1
- package/dist/radio-button-group.es.js +1 -1
- package/dist/{radio-card-group-DkaMcmen.mjs → radio-card-group-BlRZBa-9.mjs} +16 -16
- package/dist/{radio-card-group-DkaMcmen.mjs.map → radio-card-group-BlRZBa-9.mjs.map} +1 -1
- package/dist/{radio-card-group-BT5pV3tA.js → radio-card-group-sYcfDPJq.js} +2 -2
- package/dist/{radio-card-group-BT5pV3tA.js.map → radio-card-group-sYcfDPJq.js.map} +1 -1
- package/dist/radio-card-group.cjs.js +1 -1
- package/dist/radio-card-group.es.js +1 -1
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.es.js +1 -1
- package/dist/scss/heading.mixins.scss +1 -1
- package/dist/{search-field-DH0xeW_J.mjs → search-field-BOmCVr5b.mjs} +11 -11
- package/dist/{search-field-DH0xeW_J.mjs.map → search-field-BOmCVr5b.mjs.map} +1 -1
- package/dist/{search-field-CxX4BBcg.js → search-field-CanOlkIY.js} +2 -2
- package/dist/{search-field-CxX4BBcg.js.map → search-field-CanOlkIY.js.map} +1 -1
- package/dist/search-field.cjs.js +1 -1
- package/dist/search-field.es.js +1 -1
- package/dist/{stepper-BfIbJwZn.mjs → stepper-D7T0wed7.mjs} +68 -71
- package/dist/stepper-D7T0wed7.mjs.map +1 -0
- package/dist/stepper-DYjJgEHL.js +2 -0
- package/dist/stepper-DYjJgEHL.js.map +1 -0
- package/dist/stepper.cjs.js +1 -1
- package/dist/stepper.es.js +1 -1
- package/dist/{table-DvcpczWf.mjs → table-B4pts_r4.mjs} +181 -179
- package/dist/{table-DvcpczWf.mjs.map → table-B4pts_r4.mjs.map} +1 -1
- package/dist/{table-BNeo_B1h.js → table-Bv_BISXV.js} +4 -4
- package/dist/{table-BNeo_B1h.js.map → table-Bv_BISXV.js.map} +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.es.js +1 -1
- package/dist/tabs-Bye5lgZ1.mjs +424 -0
- package/dist/tabs-Bye5lgZ1.mjs.map +1 -0
- package/dist/tabs-D-nfZHIA.js +2 -0
- package/dist/tabs-D-nfZHIA.js.map +1 -0
- package/dist/tabs.cjs.js +1 -1
- package/dist/tabs.es.js +1 -1
- package/dist/{text-area-Cb9Hm2Z9.mjs → text-area-CpYWt99s.mjs} +3 -3
- package/dist/{text-area-Cb9Hm2Z9.mjs.map → text-area-CpYWt99s.mjs.map} +1 -1
- package/dist/text-area.es.js +1 -1
- package/dist/{text-field-PKAaXO1N.mjs → text-field-5rIuW8gc.mjs} +2 -2
- package/dist/{text-field-PKAaXO1N.mjs.map → text-field-5rIuW8gc.mjs.map} +1 -1
- package/dist/{text-field-B8a-NKm4.js → text-field-Xt6T3zjO.js} +2 -2
- package/dist/{text-field-B8a-NKm4.js.map → text-field-Xt6T3zjO.js.map} +1 -1
- package/dist/text-field.cjs.js +1 -1
- package/dist/text-field.es.js +1 -1
- package/dist/theme.es.js +2 -2
- package/dist/{toggle-Cezg5MUc.mjs → toggle-D23x1wWk.mjs} +9 -9
- package/dist/{toggle-Cezg5MUc.mjs.map → toggle-D23x1wWk.mjs.map} +1 -1
- package/dist/toggle.es.js +1 -1
- package/dist/tokens.es.js +3 -3
- package/dist/{tooltip-DXi7ikUT.mjs → tooltip-DkwyNxrQ.mjs} +12 -12
- package/dist/{tooltip-DXi7ikUT.mjs.map → tooltip-DkwyNxrQ.mjs.map} +1 -1
- package/dist/{tooltip-CLQLxoaf.js → tooltip-svlZkXBs.js} +2 -2
- package/dist/{tooltip-CLQLxoaf.js.map → tooltip-svlZkXBs.js.map} +1 -1
- package/dist/tooltip.cjs.js +1 -1
- package/dist/tooltip.es.js +1 -1
- package/dist/{useColorScheme-DRQcbSog.mjs → useColorScheme-9rgSgG0N.mjs} +2 -2
- package/dist/{useColorScheme-DRQcbSog.mjs.map → useColorScheme-9rgSgG0N.mjs.map} +1 -1
- package/dist/{variables-91UvS2rU.mjs → variables-BVgnpUH9.mjs} +253 -253
- package/dist/{variables-91UvS2rU.mjs.map → variables-BVgnpUH9.mjs.map} +1 -1
- package/dist/{variables-BSsIx39i.mjs → variables-DkCN2x27.mjs} +7 -7
- package/dist/{variables-BSsIx39i.mjs.map → variables-DkCN2x27.mjs.map} +1 -1
- package/dist/{variables-BUfnQw6H.mjs → variables-Dr3Hsdn-.mjs} +9 -9
- package/dist/{variables-BUfnQw6H.mjs.map → variables-Dr3Hsdn-.mjs.map} +1 -1
- package/package.json +27 -27
- package/scripts/generate.mts +4 -1
- package/vite-plugin-generate-components-metadata.js +4 -1
- package/dist/button-ChYUPi2k.js +0 -2
- package/dist/button-ChYUPi2k.js.map +0 -1
- package/dist/button-DBX_tvfJ.mjs +0 -105
- package/dist/button-DBX_tvfJ.mjs.map +0 -1
- package/dist/date-field-CPiTZqa0.js +0 -2
- package/dist/heading-DLCdW6gx.js +0 -2
- package/dist/heading-gqtQNo5n.mjs +0 -75
- package/dist/popover-B1BgSoQx.js.map +0 -1
- package/dist/popover-DBMI9Jy1.mjs.map +0 -1
- package/dist/stepper-B248FwO-.js +0 -2
- package/dist/stepper-B248FwO-.js.map +0 -1
- package/dist/stepper-BfIbJwZn.mjs.map +0 -1
- package/dist/tabs-CfHd4UQ2.js +0 -2
- package/dist/tabs-CfHd4UQ2.js.map +0 -1
- package/dist/tabs-CoXMAwMx.mjs +0 -396
- package/dist/tabs-CoXMAwMx.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables-91UvS2rU.mjs","sources":["../../tokens/dist/color/variables.js"],"sourcesContent":["export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#29003e\";\nexport const purpurColorBrandCorePurple = \"#990ae3\";\nexport const purpurColorBrandLightPurple = \"#f4e0ff\";\nexport const purpurColorBrandDeepBeige = \"#4f4741\";\nexport const purpurColorBrandBeige = \"#ede1d8\";\nexport const purpurColorBrandLightBeige = \"#f9f1ec\";\nexport const purpurColorBrandOffBlack = \"#202022\";\nexport const purpurColorBrandWhite = \"#ffffff\";\nexport const purpurColorTextDefault = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTextMedium = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTextWeak = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextDefaultNegative = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMediumNegative = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeakNegative = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextInteractivePrimary = \"#8c07d0\";\nexport const purpurColorTextInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryActive = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimary = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#faf0ff\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#990ae3\";\nexport const purpurColorTextStatusErrorStrong = \"#980233\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorTextStatusErrorMedium = \"#e4175c\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#fb4885\";\nexport const purpurColorTextStatusSuccessStrong = \"#02562b\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorTextStatusSuccessMedium = \"#018842\";\nexport const purpurColorTextStatusSuccessMediumNegative = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#6a4102\";\nexport const purpurColorTextStatusWarningMedium = \"#a86602\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#f39200\";\nexport const purpurColorTextStatusInfoStrong = \"#014d80\";\nexport const purpurColorTextStatusInfoMedium = \"#0078cb\";\nexport const purpurColorTextStatusNeutral = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTextStatusSpecial = \"#4e0174\";\nexport const purpurColorTextStatusAttention = \"#ffffff\";\nexport const purpurColorTextStatusBlackFriday = \"#ffffff\";\nexport const purpurColorTextToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneSecondary = \"#29003e\";\nexport const purpurColorTextToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundPrimary = \"#ffffff\";\nexport const purpurColorBackgroundPrimaryNegative = \"#1f002e\";\nexport const purpurColorBackgroundSecondary = \"#f5f5fa\";\nexport const purpurColorBackgroundSecondaryNegative = \"#29003e\";\nexport const purpurColorBackgroundOnImage = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#e8f6ff\";\nexport const purpurColorBackgroundInteractivePrimary = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#8c07d0\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative = \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#caeaff\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#3694d3\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#c5efd9\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#1fa15e\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#ffdde8\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#fb4885\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#ffe1b3\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#cc7a00\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#d6d6dd\";\nexport const purpurColorBackgroundStatusSpecial = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusAttention = \"#6d02a3\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#202022\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#ede1d8\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#f9f1ec\";\nexport const purpurColorBorderMedium = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderMediumNegative = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderStrong = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderStrongNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderWeak = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#b12df4\";\nexport const purpurColorBorderInteractivePrimary = \"#8c07d0\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#faf0ff\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#990ae3\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#6d02a3\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#c461f7\";\nexport const purpurColorBorderStatusError = \"#e4175c\";\nexport const purpurColorBorderStatusErrorNegative = \"#fb4885\";\nexport const purpurColorBorderStatusWarning = \"#cc7a00\";\nexport const purpurColorBorderStatusInfo = \"#0078cb\";\nexport const purpurColorBorderStatusSuccess = \"#018842\";\nexport const purpurColorBorderStatusSuccessNegative = \"#1fa15e\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorGradientAiBottom = \"#3694d3\";\nexport const purpurColorGradientAiBottomNegative = \"#62b2e7\";\nexport const purpurColorGradientAiTop = \"#b12df4\";\nexport const purpurColorGradientAiTopNegative = \"#d58df9\";\n"],"names":["purpurColorPurple50","purpurColorPurple100","purpurColorPurple200","purpurColorPurple300","purpurColorPurple400","purpurColorPurple500","purpurColorPurple550","purpurColorPurple600","purpurColorPurple700","purpurColorPurple800","purpurColorPurple900","purpurColorPurple950","purpurColorBeige50","purpurColorBeige100","purpurColorBeige200","purpurColorBeige300","purpurColorBeige400","purpurColorBeige500","purpurColorBeige600","purpurColorBeige700","purpurColorBeige800","purpurColorBeige900","purpurColorBeige950","purpurColorTeal50","purpurColorTeal100","purpurColorTeal200","purpurColorTeal300","purpurColorTeal400","purpurColorTeal500","purpurColorTeal600","purpurColorTeal700","purpurColorTeal800","purpurColorTeal900","purpurColorTeal950","purpurColorGray50","purpurColorGray100","purpurColorGray150","purpurColorGray200","purpurColorGray300","purpurColorGray400","purpurColorGray500","purpurColorGray600","purpurColorGray700","purpurColorGray800","purpurColorGray850","purpurColorGray900","purpurColorGray950","purpurColorGreen50","purpurColorGreen100","purpurColorGreen200","purpurColorGreen300","purpurColorGreen400","purpurColorGreen500","purpurColorGreen600","purpurColorGreen700","purpurColorGreen800","purpurColorGreen900","purpurColorGreen950","purpurColorRed50","purpurColorRed100","purpurColorRed200","purpurColorRed300","purpurColorRed400","purpurColorRed500","purpurColorRed600","purpurColorRed700","purpurColorRed800","purpurColorRed900","purpurColorRed950","purpurColorOrange50","purpurColorOrange100","purpurColorOrange200","purpurColorOrange300","purpurColorOrange400","purpurColorOrange500","purpurColorOrange600","purpurColorOrange700","purpurColorOrange800","purpurColorOrange900","purpurColorOrange950","purpurColorBlue50","purpurColorBlue100","purpurColorBlue200","purpurColorBlue300","purpurColorBlue400","purpurColorBlue500","purpurColorBlue600","purpurColorBlue700","purpurColorBlue800","purpurColorBlue900","purpurColorBlue950","purpurColorTransparentBlack50","purpurColorTransparentBlack100","purpurColorTransparentBlack150","purpurColorTransparentBlack200","purpurColorTransparentBlack300","purpurColorTransparentBlack400","purpurColorTransparentBlack500","purpurColorTransparentBlack600","purpurColorTransparentBlack700","purpurColorTransparentBlack800","purpurColorTransparentBlack850","purpurColorTransparentBlack900","purpurColorTransparentBlack950","purpurColorTransparentWhite50","purpurColorTransparentWhite100","purpurColorTransparentWhite150","purpurColorTransparentWhite200","purpurColorTransparentWhite300","purpurColorTransparentWhite400","purpurColorTransparentWhite500","purpurColorTransparentWhite600","purpurColorTransparentWhite700","purpurColorTransparentWhite800","purpurColorTransparentWhite850","purpurColorTransparentWhite900","purpurColorTransparentWhite950","purpurColorFunctionalBlack","purpurColorFunctionalWhite","purpurColorFunctionalTransparent","purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusSuccessMediumNegative","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","purpurColorOverlayDefault","purpurColorGradientAiBottom","purpurColorGradientAiBottomNegative","purpurColorGradientAiTop","purpurColorGradientAiTopNegative"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"variables-BVgnpUH9.mjs","sources":["../../tokens/dist/color/variables.js"],"sourcesContent":["export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#29003e\";\nexport const purpurColorBrandCorePurple = \"#990ae3\";\nexport const purpurColorBrandLightPurple = \"#f4e0ff\";\nexport const purpurColorBrandDeepBeige = \"#4f4741\";\nexport const purpurColorBrandBeige = \"#ede1d8\";\nexport const purpurColorBrandLightBeige = \"#f9f1ec\";\nexport const purpurColorBrandOffBlack = \"#202022\";\nexport const purpurColorBrandWhite = \"#ffffff\";\nexport const purpurColorTextDefault = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTextMedium = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTextWeak = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextDefaultNegative = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMediumNegative = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeakNegative = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextInteractivePrimary = \"#8c07d0\";\nexport const purpurColorTextInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryActive = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimary = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#faf0ff\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#990ae3\";\nexport const purpurColorTextStatusErrorStrong = \"#980233\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorTextStatusErrorMedium = \"#e4175c\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#fb4885\";\nexport const purpurColorTextStatusSuccessStrong = \"#02562b\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorTextStatusSuccessMedium = \"#018842\";\nexport const purpurColorTextStatusSuccessMediumNegative = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#6a4102\";\nexport const purpurColorTextStatusWarningMedium = \"#a86602\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#f39200\";\nexport const purpurColorTextStatusInfoStrong = \"#014d80\";\nexport const purpurColorTextStatusInfoMedium = \"#0078cb\";\nexport const purpurColorTextStatusNeutral = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTextStatusSpecial = \"#4e0174\";\nexport const purpurColorTextStatusAttention = \"#ffffff\";\nexport const purpurColorTextStatusBlackFriday = \"#ffffff\";\nexport const purpurColorTextToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneSecondary = \"#29003e\";\nexport const purpurColorTextToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundPrimary = \"#ffffff\";\nexport const purpurColorBackgroundPrimaryNegative = \"#1f002e\";\nexport const purpurColorBackgroundSecondary = \"#f5f5fa\";\nexport const purpurColorBackgroundSecondaryNegative = \"#29003e\";\nexport const purpurColorBackgroundOnImage = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#e8f6ff\";\nexport const purpurColorBackgroundInteractivePrimary = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#8c07d0\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative = \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#caeaff\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#3694d3\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#c5efd9\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#1fa15e\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#ffdde8\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#fb4885\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#ffe1b3\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#cc7a00\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#d6d6dd\";\nexport const purpurColorBackgroundStatusSpecial = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusAttention = \"#6d02a3\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#202022\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#ede1d8\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#f9f1ec\";\nexport const purpurColorBorderMedium = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderMediumNegative = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderStrong = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderStrongNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderWeak = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#b12df4\";\nexport const purpurColorBorderInteractivePrimary = \"#8c07d0\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#faf0ff\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#990ae3\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#6d02a3\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#c461f7\";\nexport const purpurColorBorderStatusError = \"#e4175c\";\nexport const purpurColorBorderStatusErrorNegative = \"#fb4885\";\nexport const purpurColorBorderStatusWarning = \"#cc7a00\";\nexport const purpurColorBorderStatusInfo = \"#0078cb\";\nexport const purpurColorBorderStatusSuccess = \"#018842\";\nexport const purpurColorBorderStatusSuccessNegative = \"#1fa15e\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorGradientAiBottom = \"#3694d3\";\nexport const purpurColorGradientAiBottomNegative = \"#62b2e7\";\nexport const purpurColorGradientAiTop = \"#b12df4\";\nexport const purpurColorGradientAiTopNegative = \"#d58df9\";\n"],"names":["purpurColorPurple50","purpurColorPurple100","purpurColorPurple200","purpurColorPurple300","purpurColorPurple400","purpurColorPurple500","purpurColorPurple550","purpurColorPurple600","purpurColorPurple700","purpurColorPurple800","purpurColorPurple900","purpurColorPurple950","purpurColorBeige50","purpurColorBeige100","purpurColorBeige200","purpurColorBeige300","purpurColorBeige400","purpurColorBeige500","purpurColorBeige600","purpurColorBeige700","purpurColorBeige800","purpurColorBeige900","purpurColorBeige950","purpurColorTeal50","purpurColorTeal100","purpurColorTeal200","purpurColorTeal300","purpurColorTeal400","purpurColorTeal500","purpurColorTeal600","purpurColorTeal700","purpurColorTeal800","purpurColorTeal900","purpurColorTeal950","purpurColorGray50","purpurColorGray100","purpurColorGray150","purpurColorGray200","purpurColorGray300","purpurColorGray400","purpurColorGray500","purpurColorGray600","purpurColorGray700","purpurColorGray800","purpurColorGray850","purpurColorGray900","purpurColorGray950","purpurColorGreen50","purpurColorGreen100","purpurColorGreen200","purpurColorGreen300","purpurColorGreen400","purpurColorGreen500","purpurColorGreen600","purpurColorGreen700","purpurColorGreen800","purpurColorGreen900","purpurColorGreen950","purpurColorRed50","purpurColorRed100","purpurColorRed200","purpurColorRed300","purpurColorRed400","purpurColorRed500","purpurColorRed600","purpurColorRed700","purpurColorRed800","purpurColorRed900","purpurColorRed950","purpurColorOrange50","purpurColorOrange100","purpurColorOrange200","purpurColorOrange300","purpurColorOrange400","purpurColorOrange500","purpurColorOrange600","purpurColorOrange700","purpurColorOrange800","purpurColorOrange900","purpurColorOrange950","purpurColorBlue50","purpurColorBlue100","purpurColorBlue200","purpurColorBlue300","purpurColorBlue400","purpurColorBlue500","purpurColorBlue600","purpurColorBlue700","purpurColorBlue800","purpurColorBlue900","purpurColorBlue950","purpurColorTransparentBlack50","purpurColorTransparentBlack100","purpurColorTransparentBlack150","purpurColorTransparentBlack200","purpurColorTransparentBlack300","purpurColorTransparentBlack400","purpurColorTransparentBlack500","purpurColorTransparentBlack600","purpurColorTransparentBlack700","purpurColorTransparentBlack800","purpurColorTransparentBlack850","purpurColorTransparentBlack900","purpurColorTransparentBlack950","purpurColorTransparentWhite50","purpurColorTransparentWhite100","purpurColorTransparentWhite150","purpurColorTransparentWhite200","purpurColorTransparentWhite300","purpurColorTransparentWhite400","purpurColorTransparentWhite500","purpurColorTransparentWhite600","purpurColorTransparentWhite700","purpurColorTransparentWhite800","purpurColorTransparentWhite850","purpurColorTransparentWhite900","purpurColorTransparentWhite950","purpurColorFunctionalBlack","purpurColorFunctionalWhite","purpurColorFunctionalTransparent","purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusSuccessMediumNegative","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","purpurColorOverlayDefault","purpurColorGradientAiBottom","purpurColorGradientAiBottomNegative","purpurColorGradientAiTop","purpurColorGradientAiTopNegative"],"mappings":"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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const p = "0px", r = "600px", e = "1024px", a = "1440px", t = "0em", o = "37.5em", n = "64em", s = "90em";
|
|
2
2
|
export {
|
|
3
3
|
r as a,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
n as b,
|
|
5
|
+
o as c,
|
|
6
6
|
t as d,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
p
|
|
7
|
+
s as e,
|
|
8
|
+
p as f,
|
|
9
|
+
a as g,
|
|
10
|
+
e as p
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=variables-
|
|
12
|
+
//# sourceMappingURL=variables-DkCN2x27.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables-
|
|
1
|
+
{"version":3,"file":"variables-DkCN2x27.mjs","sources":["../../tokens/dist/breakpoint/variables.js"],"sourcesContent":["export const purpurBreakpointSm = \"0px\";\nexport const purpurBreakpointMd = \"600px\";\nexport const purpurBreakpointLg = \"1024px\";\nexport const purpurBreakpointXl = \"1440px\";\nexport const purpurBreakpointRelativeSm = \"0em\";\nexport const purpurBreakpointRelativeMd = \"37.5em\";\nexport const purpurBreakpointRelativeLg = \"64em\";\nexport const purpurBreakpointRelativeXl = \"90em\";\n"],"names":["purpurBreakpointSm","purpurBreakpointMd","purpurBreakpointLg","purpurBreakpointXl","purpurBreakpointRelativeSm","purpurBreakpointRelativeMd","purpurBreakpointRelativeLg","purpurBreakpointRelativeXl"],"mappings":"AAAY,MAACA,IAAqB,OACrBC,IAAqB,SACrBC,IAAqB,UACrBC,IAAqB,UACrBC,IAA6B,OAC7BC,IAA6B,UAC7BC,IAA6B,QAC7BC,IAA6B;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
const o = "100ms", s = "150ms", n = "200ms", u = "300ms", r = "400ms", t = "500ms", i = "1500ms", a = "2000ms", p = "cubic-bezier(0.35, 0.07, 0.88, 0.43)", c = "cubic-bezier(0.33, 0.9, 0.75, 0.95)", e = "cubic-bezier(0.45, 0, 0.52, 0.98)";
|
|
2
2
|
export {
|
|
3
3
|
s as a,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
i as b,
|
|
5
|
+
n as c,
|
|
6
|
+
a as d,
|
|
7
|
+
u as e,
|
|
8
|
+
r as f,
|
|
9
|
+
t as g,
|
|
10
10
|
p as h,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
e as i,
|
|
12
|
+
c as j,
|
|
13
13
|
o as p
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=variables-
|
|
15
|
+
//# sourceMappingURL=variables-Dr3Hsdn-.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables-
|
|
1
|
+
{"version":3,"file":"variables-Dr3Hsdn-.mjs","sources":["../../tokens/dist/motion/variables.js"],"sourcesContent":["export const purpurMotionDuration100 = \"100ms\";\nexport const purpurMotionDuration150 = \"150ms\";\nexport const purpurMotionDuration200 = \"200ms\";\nexport const purpurMotionDuration300 = \"300ms\";\nexport const purpurMotionDuration400 = \"400ms\";\nexport const purpurMotionDuration500 = \"500ms\";\nexport const purpurMotionDuration1500 = \"1500ms\";\nexport const purpurMotionDuration2000 = \"2000ms\";\nexport const purpurMotionEasingEaseIn = \"cubic-bezier(0.35, 0.07, 0.88, 0.43)\";\nexport const purpurMotionEasingEaseOut = \"cubic-bezier(0.33, 0.9, 0.75, 0.95)\";\nexport const purpurMotionEasingEaseInOut = \"cubic-bezier(0.45, 0, 0.52, 0.98)\";\n"],"names":["purpurMotionDuration100","purpurMotionDuration150","purpurMotionDuration200","purpurMotionDuration300","purpurMotionDuration400","purpurMotionDuration500","purpurMotionDuration1500","purpurMotionDuration2000","purpurMotionEasingEaseIn","purpurMotionEasingEaseOut","purpurMotionEasingEaseInOut"],"mappings":"AAAY,MAACA,IAA0B,SAC1BC,IAA0B,SAC1BC,IAA0B,SAC1BC,IAA0B,SAC1BC,IAA0B,SAC1BC,IAA0B,SAC1BC,IAA2B,UAC3BC,IAA2B,UAC3BC,IAA2B,wCAC3BC,IAA4B,uCAC5BC,IAA8B;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpur/library",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.7",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"source": "src/library.ts",
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@microsoft/api-extractor": "^7.52.8",
|
|
91
|
-
"@microsoft/rush-lib": "5.
|
|
92
|
-
"@storybook/react-vite": "10.1
|
|
91
|
+
"@microsoft/rush-lib": "5.171.0",
|
|
92
|
+
"@storybook/react-vite": "10.3.1",
|
|
93
93
|
"@testing-library/dom": "~10.4.1",
|
|
94
94
|
"@types/node": "24.10.9",
|
|
95
95
|
"change-case": "~5.4.4",
|
|
@@ -99,78 +99,78 @@
|
|
|
99
99
|
"prettier": "~2.8.8",
|
|
100
100
|
"react-dom": "^19.2.1",
|
|
101
101
|
"react": "^19.2.1",
|
|
102
|
-
"storybook": "10.1
|
|
102
|
+
"storybook": "10.3.1",
|
|
103
103
|
"tsx": "^4.20.6",
|
|
104
104
|
"typescript": "^5.9.3",
|
|
105
105
|
"vite-plugin-dts": "4.5.4",
|
|
106
106
|
"vite-plugin-static-copy": "~3.1.4",
|
|
107
107
|
"vite": "^7.2.2",
|
|
108
108
|
"shx": "~0.4.0",
|
|
109
|
-
"@purpur/accordion": "8.21.0",
|
|
110
|
-
"@purpur/alert-badge": "8.21.0",
|
|
111
|
-
"@purpur/autocomplete": "8.21.0",
|
|
112
109
|
"@purpur/action": "8.21.0",
|
|
110
|
+
"@purpur/alert-badge": "8.21.0",
|
|
113
111
|
"@purpur/badge": "8.21.0",
|
|
112
|
+
"@purpur/autocomplete": "8.21.0",
|
|
113
|
+
"@purpur/accordion": "8.21.0",
|
|
114
114
|
"@purpur/breadcrumbs": "8.21.0",
|
|
115
|
-
"@purpur/card": "8.21.0",
|
|
116
|
-
"@purpur/button": "8.21.0",
|
|
117
115
|
"@purpur/calendar": "8.21.0",
|
|
118
|
-
"@purpur/
|
|
116
|
+
"@purpur/button": "8.21.0",
|
|
117
|
+
"@purpur/card": "8.21.0",
|
|
119
118
|
"@purpur/checkbox": "8.21.0",
|
|
120
|
-
"@purpur/
|
|
121
|
-
"@purpur/container": "8.21.0",
|
|
119
|
+
"@purpur/chip-group": "8.21.0",
|
|
122
120
|
"@purpur/color-dot": "8.21.0",
|
|
121
|
+
"@purpur/container": "8.21.0",
|
|
122
|
+
"@purpur/common-types": "8.21.0",
|
|
123
123
|
"@purpur/component-rig": "1.0.0",
|
|
124
|
-
"@purpur/countdown": "8.21.0",
|
|
125
124
|
"@purpur/content-block": "8.21.0",
|
|
125
|
+
"@purpur/countdown": "8.21.0",
|
|
126
126
|
"@purpur/counter-badge": "8.21.0",
|
|
127
127
|
"@purpur/cta-link": "8.21.0",
|
|
128
|
-
"@purpur/date-picker": "8.21.0",
|
|
129
128
|
"@purpur/date-field": "8.21.0",
|
|
129
|
+
"@purpur/date-picker": "8.21.0",
|
|
130
130
|
"@purpur/dismissable-chip-group": "8.21.0",
|
|
131
131
|
"@purpur/drawer": "8.21.0",
|
|
132
132
|
"@purpur/field-error-text": "8.21.0",
|
|
133
133
|
"@purpur/field-helper-text": "8.21.0",
|
|
134
|
-
"@purpur/grid": "8.21.0",
|
|
135
134
|
"@purpur/footer": "8.21.0",
|
|
136
135
|
"@purpur/heading": "8.21.0",
|
|
136
|
+
"@purpur/hero-banner": "8.21.0",
|
|
137
|
+
"@purpur/grid": "8.21.0",
|
|
137
138
|
"@purpur/icon": "8.21.0",
|
|
138
139
|
"@purpur/illustrative-icon": "8.21.0",
|
|
139
|
-
"@purpur/hero-banner": "8.21.0",
|
|
140
140
|
"@purpur/label": "8.21.0",
|
|
141
141
|
"@purpur/link": "8.21.0",
|
|
142
|
-
"@purpur/listbox": "8.21.0",
|
|
143
142
|
"@purpur/logo": "8.21.0",
|
|
144
|
-
"@purpur/
|
|
143
|
+
"@purpur/listbox": "8.21.0",
|
|
145
144
|
"@purpur/modal": "8.21.0",
|
|
146
145
|
"@purpur/notification": "8.21.0",
|
|
146
|
+
"@purpur/notification-banner": "8.21.0",
|
|
147
147
|
"@purpur/pagination": "8.21.0",
|
|
148
|
-
"@purpur/paragraph": "8.21.0",
|
|
149
148
|
"@purpur/password-field": "8.21.0",
|
|
149
|
+
"@purpur/paragraph": "8.21.0",
|
|
150
150
|
"@purpur/popover": "8.21.0",
|
|
151
151
|
"@purpur/product-card": "8.21.0",
|
|
152
152
|
"@purpur/promotion-card": "8.21.0",
|
|
153
153
|
"@purpur/quantity-selector": "8.21.0",
|
|
154
154
|
"@purpur/radio-button-group": "8.21.0",
|
|
155
|
-
"@purpur/radio-card-group": "8.21.0",
|
|
156
|
-
"@purpur/rich-text": "8.21.0",
|
|
157
155
|
"@purpur/search-field": "8.21.0",
|
|
156
|
+
"@purpur/rich-text": "8.21.0",
|
|
157
|
+
"@purpur/radio-card-group": "8.21.0",
|
|
158
158
|
"@purpur/select": "8.21.0",
|
|
159
159
|
"@purpur/skeleton": "8.21.0",
|
|
160
|
-
"@purpur/spacer": "8.21.0",
|
|
161
160
|
"@purpur/slider": "8.21.0",
|
|
161
|
+
"@purpur/spacer": "8.21.0",
|
|
162
162
|
"@purpur/spinner": "8.21.0",
|
|
163
|
-
"@purpur/stepper": "8.21.0",
|
|
164
|
-
"@purpur/tabs": "8.21.0",
|
|
165
163
|
"@purpur/table": "8.21.0",
|
|
166
164
|
"@purpur/text-area": "8.21.0",
|
|
165
|
+
"@purpur/tabs": "8.21.0",
|
|
166
|
+
"@purpur/stepper": "8.21.0",
|
|
167
167
|
"@purpur/text-field": "8.21.0",
|
|
168
|
+
"@purpur/theme": "8.21.0",
|
|
168
169
|
"@purpur/text-spacing": "8.21.0",
|
|
169
|
-
"@purpur/tokens": "8.21.0",
|
|
170
170
|
"@purpur/toggle": "8.21.0",
|
|
171
171
|
"@purpur/tooltip": "8.21.0",
|
|
172
|
-
"@purpur/
|
|
173
|
-
"@purpur/
|
|
172
|
+
"@purpur/visually-hidden": "8.21.0",
|
|
173
|
+
"@purpur/tokens": "8.21.0"
|
|
174
174
|
},
|
|
175
175
|
"peerDependencies": {
|
|
176
176
|
"@types/react": "^18 || ^19",
|
package/scripts/generate.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import { join, relative } from "path";
|
|
3
|
-
import
|
|
3
|
+
import { createRequire } from "module";
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const rushLib = require("@microsoft/rush-lib");
|
|
4
7
|
|
|
5
8
|
const rushConfiguration = rushLib.RushConfiguration.loadFromDefaultLocation({
|
|
6
9
|
startingFolder: process.cwd(),
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import fs from "fs-extra";
|
|
2
2
|
import path from "path";
|
|
3
|
-
import
|
|
3
|
+
import { createRequire } from "module";
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const rushLib = require("@microsoft/rush-lib");
|
|
4
7
|
|
|
5
8
|
const packageNames = rushLib.RushConfiguration.loadFromDefaultLocation({
|
|
6
9
|
startingFolder: process.cwd(),
|
package/dist/button-ChYUPi2k.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),g=require("react"),R=require("./spinner-tKunS_o-.js"),f=require("./bind-DeUYJ6m9.js"),E={PRIMARY:"primary",SECONDARY:"secondary",EXPRESSIVE:"expressive"},N={LG:"lg"},$={"purpur-button":"_purpur-button_10jh0_1","purpur-button--xs":"_purpur-button--xs_10jh0_22","purpur-button--icon-only":"_purpur-button--icon-only_10jh0_25","purpur-button--sm":"_purpur-button--sm_10jh0_28","purpur-button--md":"_purpur-button--md_10jh0_34","purpur-button--lg":"_purpur-button--lg_10jh0_40","purpur-button--full-width":"_purpur-button--full-width_10jh0_46","purpur-button--primary":"_purpur-button--primary_10jh0_64","purpur-button--disabled":"_purpur-button--disabled_10jh0_68","purpur-button--primary-negative":"_purpur-button--primary-negative_10jh0_74","purpur-button--secondary":"_purpur-button--secondary_10jh0_86","purpur-button--secondary-negative":"_purpur-button--secondary-negative_10jh0_97","purpur-button--expressive":"_purpur-button--expressive_10jh0_108","purpur-button--expressive-negative":"_purpur-button--expressive-negative_10jh0_118","purpur-button--negative":"_purpur-button--negative_10jh0_130","purpur-button--destructive":"_purpur-button--destructive_10jh0_137","purpur-button--destructive-negative":"_purpur-button--destructive-negative_10jh0_147","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_10jh0_157","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_10jh0_170","purpur-button--text-negative":"_purpur-button--text-negative_10jh0_185","purpur-button--text":"_purpur-button--text_10jh0_185","purpur-button__spinner":"_purpur-button__spinner_10jh0_235"},l={...E,DESTRUCTIVE:"destructive",TERTIARY_PURPLE:"tertiary-purple",TEXT:"text"},A=Object.values(l),c=f.c.bind($),t="purpur-button",B=["button","submit","reset"],d=g.forwardRef(({children:h,className:j,disabled:r=!1,fullWidth:v=!1,iconOnly:n,loading:u=!1,negative:e=!1,onClick:o,size:s="md",variant:p,type:x="button",..._},y)=>{if(n&&p==="destructive")return null;const T=c([t,`${t}--${e?`${p}-negative`:p}`,`${t}--${s}`],{[`${t}--icon-only`]:n,[`${t}--negative`]:e,[`${t}--full-width`]:v,[`${t}--disabled`]:r||u},j),m=b=>{r||u?b.preventDefault():o&&o(b)},i=!!_["aria-disabled"]||r||u;return a.jsxs("button",{className:T,type:x,ref:y,"aria-disabled":i,onClick:m,..._,children:[u&&a.jsx(R.Spinner,{size:s===N.LG?"xs":"xxs",negative:e,disabled:i,className:c(`${t}__spinner`)})," ",h]})});d.displayName="Button";exports.BUTTON_TYPES=B;exports.BUTTON_VARIANT=l;exports.Button=d;exports.buttonVariants=A;
|
|
2
|
-
//# sourceMappingURL=button-ChYUPi2k.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-ChYUPi2k.js","sources":["../../action/src/action.tsx","../../../components/button/src/button.tsx"],"sourcesContent":["import { type ReactNode } from \"react\";\n\nexport const VARIANT = {\n PRIMARY: \"primary\",\n SECONDARY: \"secondary\",\n EXPRESSIVE: \"expressive\",\n} as const;\n\nexport const variants = Object.values(VARIANT);\nexport type Variant = (typeof VARIANT)[keyof typeof VARIANT];\n\nexport const SIZE = {\n XS: \"xs\",\n SM: \"sm\",\n MD: \"md\",\n LG: \"lg\",\n} as const;\n\nexport const sizes = Object.values(SIZE);\nexport type Size = (typeof SIZE)[keyof typeof SIZE];\n\ntype DefaultProps<TVariant, T = object> = {\n [\"data-testid\"]?: string;\n children?: ReactNode;\n className?: string;\n fullWidth?: boolean;\n negative?: boolean;\n size?: Size;\n variant: TVariant | Variant;\n} & T;\n\nexport type UnionParams<TVariant> =\n | DefaultProps<TVariant, { iconOnly: boolean; [\"aria-label\"]: string }>\n | DefaultProps<TVariant, { [\"aria-label\"]?: string }>;\n\ntype UnionKeys<T> = T extends T ? keyof T : never;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype StrictUnionHelper<T, TAll> = T extends any\n ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>>\n : never;\n\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\nexport type ActionProps<TVariant extends string = Variant> = StrictUnion<UnionParams<TVariant>>;\n","import React, { type ButtonHTMLAttributes, forwardRef, type MouseEvent } from \"react\";\nimport { type ActionProps, SIZE, VARIANT } from \"@purpur/action\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Spinner } from \"@purpur/spinner\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./button.module.scss\";\n\nexport const BUTTON_VARIANT = {\n ...VARIANT,\n DESTRUCTIVE: \"destructive\",\n TERTIARY_PURPLE: \"tertiary-purple\",\n TEXT: \"text\",\n} as const;\n\nexport const buttonVariants = Object.values(BUTTON_VARIANT);\nexport type ButtonVariant = (typeof BUTTON_VARIANT)[keyof typeof BUTTON_VARIANT];\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-button\";\n\ntype ButtonType = Pick<ButtonHTMLAttributes<HTMLButtonElement>, \"type\">[\"type\"];\nexport const BUTTON_TYPES: ButtonType[] = [\"button\", \"submit\", \"reset\"] as const;\n\nexport type ButtonProps = ActionProps<ButtonVariant> & BaseProps<\"button\"> & { loading?: boolean };\n\nexport const Button = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"type\"> & { type?: ButtonType }\n>(\n (\n {\n children,\n className,\n disabled = false,\n fullWidth = false,\n iconOnly,\n loading = false,\n negative = false,\n onClick,\n size = \"md\",\n variant,\n type = \"button\",\n ...props\n },\n ref\n ) => {\n if (iconOnly && variant === \"destructive\") {\n return null;\n }\n const classes = cx(\n [\n rootClassName,\n `${rootClassName}--${negative ? `${variant}-negative` : variant}`,\n `${rootClassName}--${size}`,\n ],\n {\n [`${rootClassName}--icon-only`]: iconOnly,\n [`${rootClassName}--negative`]: negative,\n [`${rootClassName}--full-width`]: fullWidth,\n [`${rootClassName}--disabled`]: disabled || loading,\n },\n className\n );\n\n const handleClick = (e: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) {\n e.preventDefault();\n } else if (onClick) {\n onClick(e);\n }\n };\n\n const _disabled = Boolean(props[\"aria-disabled\"]) || disabled || loading;\n\n return (\n <button\n className={classes}\n type={type}\n ref={ref}\n aria-disabled={_disabled}\n onClick={handleClick}\n {...props}\n >\n {loading && (\n <Spinner\n size={size === SIZE.LG ? \"xs\" : \"xxs\"}\n negative={negative}\n disabled={_disabled}\n className={cx(`${rootClassName}__spinner`)}\n />\n )}{\" \"}\n {children}\n </button>\n );\n }\n);\n\nButton.displayName = \"Button\";\n"],"names":["VARIANT","SIZE","BUTTON_VARIANT","buttonVariants","cx","c","styles","rootClassName","BUTTON_TYPES","Button","forwardRef","children","className","disabled","fullWidth","iconOnly","loading","negative","onClick","size","variant","type","props","ref","classes","handleClick","e","_disabled","jsxs","jsx","Spinner"],"mappings":"wIAEaA,EAAU,CACrB,QAAS,UACT,UAAW,YACX,WAAY,YACd,EAKaC,EAAO,CAIlB,GAAI,IACN,+6CCRaC,EAAiB,CAC5B,GAAGF,EACH,YAAa,cACb,gBAAiB,kBACjB,KAAM,MACR,EAEaG,EAAiB,OAAO,OAAOD,CAAc,EAGpDE,EAAKC,EAAAA,EAAE,KAAKC,CAAM,EAClBC,EAAgB,gBAGTC,EAA6B,CAAC,SAAU,SAAU,OAAO,EAIzDC,EAASC,EAAAA,WAIpB,CACE,CACE,SAAAC,EACA,UAAAC,EACA,SAAAC,EAAW,GACX,UAAAC,EAAY,GACZ,SAAAC,EACA,QAAAC,EAAU,GACV,SAAAC,EAAW,GACX,QAAAC,EACA,KAAAC,EAAO,KACP,QAAAC,EACA,KAAAC,EAAO,SACP,GAAGC,CAAA,EAELC,IACG,CACH,GAAIR,GAAYK,IAAY,cAC1B,OAAO,KAET,MAAMI,EAAUpB,EACd,CACEG,EACA,GAAGA,CAAa,KAAKU,EAAW,GAAGG,CAAO,YAAcA,CAAO,GAC/D,GAAGb,CAAa,KAAKY,CAAI,EAAA,EAE3B,CACE,CAAC,GAAGZ,CAAa,aAAa,EAAGQ,EACjC,CAAC,GAAGR,CAAa,YAAY,EAAGU,EAChC,CAAC,GAAGV,CAAa,cAAc,EAAGO,EAClC,CAAC,GAAGP,CAAa,YAAY,EAAGM,GAAYG,CAAA,EAE9CJ,CAAA,EAGIa,EAAeC,GAAqC,CACpDb,GAAYG,EACdU,EAAE,eAAA,EACOR,GACTA,EAAQQ,CAAC,CAEb,EAEMC,EAAY,EAAQL,EAAM,eAAe,GAAMT,GAAYG,EAEjE,OACEY,EAAAA,KAAC,SAAA,CACC,UAAWJ,EACX,KAAAH,EACA,IAAAE,EACA,gBAAeI,EACf,QAASF,EACR,GAAGH,EAEH,SAAA,CAAAN,GACCa,EAAAA,IAACC,EAAAA,QAAA,CACC,KAAMX,IAASlB,EAAK,GAAK,KAAO,MAChC,SAAAgB,EACA,SAAUU,EACV,UAAWvB,EAAG,GAAGG,CAAa,WAAW,CAAA,CAAA,EAE1C,IACFI,CAAA,CAAA,CAAA,CAGP,CACF,EAEAF,EAAO,YAAc"}
|
package/dist/button-DBX_tvfJ.mjs
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { jsxs as x, jsx as y } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as f } from "react";
|
|
3
|
-
import { a as g } from "./spinner-DRQN6YdK.mjs";
|
|
4
|
-
import { c as T } from "./bind-CU-R61T-.mjs";
|
|
5
|
-
const E = {
|
|
6
|
-
PRIMARY: "primary",
|
|
7
|
-
SECONDARY: "secondary",
|
|
8
|
-
EXPRESSIVE: "expressive"
|
|
9
|
-
}, R = {
|
|
10
|
-
LG: "lg"
|
|
11
|
-
}, $ = {
|
|
12
|
-
"purpur-button": "_purpur-button_10jh0_1",
|
|
13
|
-
"purpur-button--xs": "_purpur-button--xs_10jh0_22",
|
|
14
|
-
"purpur-button--icon-only": "_purpur-button--icon-only_10jh0_25",
|
|
15
|
-
"purpur-button--sm": "_purpur-button--sm_10jh0_28",
|
|
16
|
-
"purpur-button--md": "_purpur-button--md_10jh0_34",
|
|
17
|
-
"purpur-button--lg": "_purpur-button--lg_10jh0_40",
|
|
18
|
-
"purpur-button--full-width": "_purpur-button--full-width_10jh0_46",
|
|
19
|
-
"purpur-button--primary": "_purpur-button--primary_10jh0_64",
|
|
20
|
-
"purpur-button--disabled": "_purpur-button--disabled_10jh0_68",
|
|
21
|
-
"purpur-button--primary-negative": "_purpur-button--primary-negative_10jh0_74",
|
|
22
|
-
"purpur-button--secondary": "_purpur-button--secondary_10jh0_86",
|
|
23
|
-
"purpur-button--secondary-negative": "_purpur-button--secondary-negative_10jh0_97",
|
|
24
|
-
"purpur-button--expressive": "_purpur-button--expressive_10jh0_108",
|
|
25
|
-
"purpur-button--expressive-negative": "_purpur-button--expressive-negative_10jh0_118",
|
|
26
|
-
"purpur-button--negative": "_purpur-button--negative_10jh0_130",
|
|
27
|
-
"purpur-button--destructive": "_purpur-button--destructive_10jh0_137",
|
|
28
|
-
"purpur-button--destructive-negative": "_purpur-button--destructive-negative_10jh0_147",
|
|
29
|
-
"purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_10jh0_157",
|
|
30
|
-
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_10jh0_170",
|
|
31
|
-
"purpur-button--text-negative": "_purpur-button--text-negative_10jh0_185",
|
|
32
|
-
"purpur-button--text": "_purpur-button--text_10jh0_185",
|
|
33
|
-
"purpur-button__spinner": "_purpur-button__spinner_10jh0_235"
|
|
34
|
-
}, N = {
|
|
35
|
-
...E,
|
|
36
|
-
DESTRUCTIVE: "destructive",
|
|
37
|
-
TERTIARY_PURPLE: "tertiary-purple",
|
|
38
|
-
TEXT: "text"
|
|
39
|
-
}, V = Object.values(N), b = T.bind($), t = "purpur-button", w = ["button", "submit", "reset"], A = f(
|
|
40
|
-
({
|
|
41
|
-
children: l,
|
|
42
|
-
className: c,
|
|
43
|
-
disabled: r = !1,
|
|
44
|
-
fullWidth: d = !1,
|
|
45
|
-
iconOnly: n,
|
|
46
|
-
loading: u = !1,
|
|
47
|
-
negative: p = !1,
|
|
48
|
-
onClick: o,
|
|
49
|
-
size: _ = "md",
|
|
50
|
-
variant: e,
|
|
51
|
-
type: h = "button",
|
|
52
|
-
...s
|
|
53
|
-
}, j) => {
|
|
54
|
-
if (n && e === "destructive")
|
|
55
|
-
return null;
|
|
56
|
-
const v = b(
|
|
57
|
-
[
|
|
58
|
-
t,
|
|
59
|
-
`${t}--${p ? `${e}-negative` : e}`,
|
|
60
|
-
`${t}--${_}`
|
|
61
|
-
],
|
|
62
|
-
{
|
|
63
|
-
[`${t}--icon-only`]: n,
|
|
64
|
-
[`${t}--negative`]: p,
|
|
65
|
-
[`${t}--full-width`]: d,
|
|
66
|
-
[`${t}--disabled`]: r || u
|
|
67
|
-
},
|
|
68
|
-
c
|
|
69
|
-
), m = (a) => {
|
|
70
|
-
r || u ? a.preventDefault() : o && o(a);
|
|
71
|
-
}, i = !!s["aria-disabled"] || r || u;
|
|
72
|
-
return /* @__PURE__ */ x(
|
|
73
|
-
"button",
|
|
74
|
-
{
|
|
75
|
-
className: v,
|
|
76
|
-
type: h,
|
|
77
|
-
ref: j,
|
|
78
|
-
"aria-disabled": i,
|
|
79
|
-
onClick: m,
|
|
80
|
-
...s,
|
|
81
|
-
children: [
|
|
82
|
-
u && /* @__PURE__ */ y(
|
|
83
|
-
g,
|
|
84
|
-
{
|
|
85
|
-
size: _ === R.LG ? "xs" : "xxs",
|
|
86
|
-
negative: p,
|
|
87
|
-
disabled: i,
|
|
88
|
-
className: b(`${t}__spinner`)
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
" ",
|
|
92
|
-
l
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
A.displayName = "Button";
|
|
99
|
-
export {
|
|
100
|
-
N as B,
|
|
101
|
-
w as a,
|
|
102
|
-
V as b,
|
|
103
|
-
A as c
|
|
104
|
-
};
|
|
105
|
-
//# sourceMappingURL=button-DBX_tvfJ.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-DBX_tvfJ.mjs","sources":["../../action/src/action.tsx","../../../components/button/src/button.tsx"],"sourcesContent":["import { type ReactNode } from \"react\";\n\nexport const VARIANT = {\n PRIMARY: \"primary\",\n SECONDARY: \"secondary\",\n EXPRESSIVE: \"expressive\",\n} as const;\n\nexport const variants = Object.values(VARIANT);\nexport type Variant = (typeof VARIANT)[keyof typeof VARIANT];\n\nexport const SIZE = {\n XS: \"xs\",\n SM: \"sm\",\n MD: \"md\",\n LG: \"lg\",\n} as const;\n\nexport const sizes = Object.values(SIZE);\nexport type Size = (typeof SIZE)[keyof typeof SIZE];\n\ntype DefaultProps<TVariant, T = object> = {\n [\"data-testid\"]?: string;\n children?: ReactNode;\n className?: string;\n fullWidth?: boolean;\n negative?: boolean;\n size?: Size;\n variant: TVariant | Variant;\n} & T;\n\nexport type UnionParams<TVariant> =\n | DefaultProps<TVariant, { iconOnly: boolean; [\"aria-label\"]: string }>\n | DefaultProps<TVariant, { [\"aria-label\"]?: string }>;\n\ntype UnionKeys<T> = T extends T ? keyof T : never;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype StrictUnionHelper<T, TAll> = T extends any\n ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>>\n : never;\n\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\nexport type ActionProps<TVariant extends string = Variant> = StrictUnion<UnionParams<TVariant>>;\n","import React, { type ButtonHTMLAttributes, forwardRef, type MouseEvent } from \"react\";\nimport { type ActionProps, SIZE, VARIANT } from \"@purpur/action\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Spinner } from \"@purpur/spinner\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./button.module.scss\";\n\nexport const BUTTON_VARIANT = {\n ...VARIANT,\n DESTRUCTIVE: \"destructive\",\n TERTIARY_PURPLE: \"tertiary-purple\",\n TEXT: \"text\",\n} as const;\n\nexport const buttonVariants = Object.values(BUTTON_VARIANT);\nexport type ButtonVariant = (typeof BUTTON_VARIANT)[keyof typeof BUTTON_VARIANT];\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-button\";\n\ntype ButtonType = Pick<ButtonHTMLAttributes<HTMLButtonElement>, \"type\">[\"type\"];\nexport const BUTTON_TYPES: ButtonType[] = [\"button\", \"submit\", \"reset\"] as const;\n\nexport type ButtonProps = ActionProps<ButtonVariant> & BaseProps<\"button\"> & { loading?: boolean };\n\nexport const Button = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"type\"> & { type?: ButtonType }\n>(\n (\n {\n children,\n className,\n disabled = false,\n fullWidth = false,\n iconOnly,\n loading = false,\n negative = false,\n onClick,\n size = \"md\",\n variant,\n type = \"button\",\n ...props\n },\n ref\n ) => {\n if (iconOnly && variant === \"destructive\") {\n return null;\n }\n const classes = cx(\n [\n rootClassName,\n `${rootClassName}--${negative ? `${variant}-negative` : variant}`,\n `${rootClassName}--${size}`,\n ],\n {\n [`${rootClassName}--icon-only`]: iconOnly,\n [`${rootClassName}--negative`]: negative,\n [`${rootClassName}--full-width`]: fullWidth,\n [`${rootClassName}--disabled`]: disabled || loading,\n },\n className\n );\n\n const handleClick = (e: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) {\n e.preventDefault();\n } else if (onClick) {\n onClick(e);\n }\n };\n\n const _disabled = Boolean(props[\"aria-disabled\"]) || disabled || loading;\n\n return (\n <button\n className={classes}\n type={type}\n ref={ref}\n aria-disabled={_disabled}\n onClick={handleClick}\n {...props}\n >\n {loading && (\n <Spinner\n size={size === SIZE.LG ? \"xs\" : \"xxs\"}\n negative={negative}\n disabled={_disabled}\n className={cx(`${rootClassName}__spinner`)}\n />\n )}{\" \"}\n {children}\n </button>\n );\n }\n);\n\nButton.displayName = \"Button\";\n"],"names":["VARIANT","SIZE","BUTTON_VARIANT","buttonVariants","cx","c","styles","rootClassName","BUTTON_TYPES","Button","forwardRef","children","className","disabled","fullWidth","iconOnly","loading","negative","onClick","size","variant","type","props","ref","classes","handleClick","e","_disabled","jsxs","jsx","Spinner"],"mappings":";;;;AAEO,MAAMA,IAAU;AAAA,EACrB,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AACd,GAKaC,IAAO;AAAA,EAIlB,IAAI;AACN;;;;;;;;;;;;;;;;;;;;;;;GCRaC,IAAiB;AAAA,EAC5B,GAAGF;AAAA,EACH,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,MAAM;AACR,GAEaG,IAAiB,OAAO,OAAOD,CAAc,GAGpDE,IAAKC,EAAE,KAAKC,CAAM,GAClBC,IAAgB,iBAGTC,IAA6B,CAAC,UAAU,UAAU,OAAO,GAIzDC,IAASC;AAAA,EAIpB,CACE;AAAA,IACE,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,SAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,QAAIR,KAAYK,MAAY;AAC1B,aAAO;AAET,UAAMI,IAAUpB;AAAA,MACd;AAAA,QACEG;AAAA,QACA,GAAGA,CAAa,KAAKU,IAAW,GAAGG,CAAO,cAAcA,CAAO;AAAA,QAC/D,GAAGb,CAAa,KAAKY,CAAI;AAAA,MAAA;AAAA,MAE3B;AAAA,QACE,CAAC,GAAGZ,CAAa,aAAa,GAAGQ;AAAA,QACjC,CAAC,GAAGR,CAAa,YAAY,GAAGU;AAAA,QAChC,CAAC,GAAGV,CAAa,cAAc,GAAGO;AAAA,QAClC,CAAC,GAAGP,CAAa,YAAY,GAAGM,KAAYG;AAAA,MAAA;AAAA,MAE9CJ;AAAA,IAAA,GAGIa,IAAc,CAACC,MAAqC;AACxD,MAAIb,KAAYG,IACdU,EAAE,eAAA,IACOR,KACTA,EAAQQ,CAAC;AAAA,IAEb,GAEMC,IAAY,EAAQL,EAAM,eAAe,KAAMT,KAAYG;AAEjE,WACE,gBAAAY;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWJ;AAAA,QACX,MAAAH;AAAA,QACA,KAAAE;AAAA,QACA,iBAAeI;AAAA,QACf,SAASF;AAAA,QACR,GAAGH;AAAA,QAEH,UAAA;AAAA,UAAAN,KACC,gBAAAa;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,MAAMX,MAASlB,EAAK,KAAK,OAAO;AAAA,cAChC,UAAAgB;AAAA,cACA,UAAUU;AAAA,cACV,WAAWvB,EAAG,GAAGG,CAAa,WAAW;AAAA,YAAA;AAAA,UAAA;AAAA,UAE1C;AAAA,UACFI;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEAF,EAAO,cAAc;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const M=require("react/jsx-runtime"),_=require("react"),z=require("./text-field-B8a-NKm4.js"),$=require("./bind-DeUYJ6m9.js"),i=require("./format-CFKKBdIQ.js");function j(){return Object.assign({},i.getDefaultOptions())}function V(n,e){const r=i.toDate(n,e?.in).getDay();return r===0?7:r}function Z(n,e){const r=K(e)?new e(0):i.constructFrom(e,0);return r.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),r}function K(n){return typeof n=="function"&&n.prototype?.constructor===n}const U=10;class W{subPriority=0;validate(e,r){return!0}}class J extends W{constructor(e,r,t,s,o){super(),this.value=e,this.validateValue=r,this.setValue=t,this.priority=s,o&&(this.subPriority=o)}validate(e,r){return this.validateValue(e,this.value,r)}set(e,r,t){return this.setValue(e,r,this.value,t)}}class S extends W{priority=U;subPriority=-1;constructor(e,r){super(),this.context=e||(t=>i.constructFrom(r,t))}set(e,r){return r.timestampIsSet?e:i.constructFrom(e,Z(e,this.context))}}class u{run(e,r,t,s){const o=this.parse(e,r,t,s);return o?{setter:new J(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,r,t){return!0}}class ee extends u{priority=140;parse(e,r,t){switch(r){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"});case"GGGGG":return t.era(e,{width:"narrow"});default:return t.era(e,{width:"wide"})||t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"})}}set(e,r,t){return r.era=t,e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const w={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},b={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function h(n,e){return n&&{value:e(n.value),rest:n.rest}}function l(n,e){const r=e.match(n);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function m(n,e){const r=e.match(n);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};const t=r[1]==="+"?1:-1,s=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,d=r[5]?parseInt(r[5],10):0;return{value:t*(s*i.millisecondsInHour+o*i.millisecondsInMinute+d*i.millisecondsInSecond),rest:e.slice(r[0].length)}}function B(n){return l(w.anyDigitsSigned,n)}function f(n,e){switch(n){case 1:return l(w.singleDigit,e);case 2:return l(w.twoDigits,e);case 3:return l(w.threeDigits,e);case 4:return l(w.fourDigits,e);default:return l(new RegExp("^\\d{1,"+n+"}"),e)}}function Y(n,e){switch(n){case 1:return l(w.singleDigitSigned,e);case 2:return l(w.twoDigitsSigned,e);case 3:return l(w.threeDigitsSigned,e);case 4:return l(w.fourDigitsSigned,e);default:return l(new RegExp("^-?\\d{1,"+n+"}"),e)}}function R(n){switch(n){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function G(n,e){const r=e>0,t=r?e:1-e;let s;if(t<=50)s=n||100;else{const o=t+50,d=Math.trunc(o/100)*100,x=n>=o%100;s=n+d-(x?100:0)}return r?s:1-s}function X(n){return n%400===0||n%4===0&&n%100!==0}class te extends u{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,r,t){const s=o=>({year:o,isTwoDigitYear:r==="yy"});switch(r){case"y":return h(f(4,e),s);case"yo":return h(t.ordinalNumber(e,{unit:"year"}),s);default:return h(f(r.length,e),s)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,t){const s=e.getFullYear();if(t.isTwoDigitYear){const d=G(t.year,s);return e.setFullYear(d,0,1),e.setHours(0,0,0,0),e}const o=!("era"in r)||r.era===1?t.year:1-t.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}class re extends u{priority=130;parse(e,r,t){const s=o=>({year:o,isTwoDigitYear:r==="YY"});switch(r){case"Y":return h(f(4,e),s);case"Yo":return h(t.ordinalNumber(e,{unit:"year"}),s);default:return h(f(r.length,e),s)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,t,s){const o=i.getWeekYear(e,s);if(t.isTwoDigitYear){const x=G(t.year,o);return e.setFullYear(x,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),i.startOfWeek(e,s)}const d=!("era"in r)||r.era===1?t.year:1-t.year;return e.setFullYear(d,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),i.startOfWeek(e,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class ne extends u{priority=130;parse(e,r){return Y(r==="R"?4:r.length,e)}set(e,r,t){const s=i.constructFrom(e,0);return s.setFullYear(t,0,4),s.setHours(0,0,0,0),i.startOfISOWeek(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class se extends u{priority=130;parse(e,r){return Y(r==="u"?4:r.length,e)}set(e,r,t){return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class oe extends u{priority=120;parse(e,r,t){switch(r){case"Q":case"QQ":return f(r.length,e);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});default:return t.quarter(e,{width:"wide",context:"formatting"})||t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=1&&r<=4}set(e,r,t){return e.setMonth((t-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class ae extends u{priority=120;parse(e,r,t){switch(r){case"q":case"qq":return f(r.length,e);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});default:return t.quarter(e,{width:"wide",context:"standalone"})||t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=1&&r<=4}set(e,r,t){return e.setMonth((t-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class ie extends u{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,r,t){const s=o=>o-1;switch(r){case"M":return h(l(w.month,e),s);case"MM":return h(f(2,e),s);case"Mo":return h(t.ordinalNumber(e,{unit:"month"}),s);case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});default:return t.month(e,{width:"wide",context:"formatting"})||t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=11}set(e,r,t){return e.setMonth(t,1),e.setHours(0,0,0,0),e}}class ce extends u{priority=110;parse(e,r,t){const s=o=>o-1;switch(r){case"L":return h(l(w.month,e),s);case"LL":return h(f(2,e),s);case"Lo":return h(t.ordinalNumber(e,{unit:"month"}),s);case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});default:return t.month(e,{width:"wide",context:"standalone"})||t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=11}set(e,r,t){return e.setMonth(t,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function ue(n,e,r){const t=i.toDate(n,r?.in),s=i.getWeek(t,r)-e;return t.setDate(t.getDate()-s*7),i.toDate(t,r?.in)}class le extends u{priority=100;parse(e,r,t){switch(r){case"w":return l(w.week,e);case"wo":return t.ordinalNumber(e,{unit:"week"});default:return f(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,t,s){return i.startOfWeek(ue(e,t,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function de(n,e,r){const t=i.toDate(n,r?.in),s=i.getISOWeek(t,r)-e;return t.setDate(t.getDate()-s*7),t}class fe extends u{priority=100;parse(e,r,t){switch(r){case"I":return l(w.week,e);case"Io":return t.ordinalNumber(e,{unit:"week"});default:return f(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,t){return i.startOfISOWeek(de(e,t))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const we=[31,28,31,30,31,30,31,31,30,31,30,31],he=[31,29,31,30,31,30,31,31,30,31,30,31];class pe extends u{priority=90;subPriority=1;parse(e,r,t){switch(r){case"d":return l(w.date,e);case"do":return t.ordinalNumber(e,{unit:"date"});default:return f(r.length,e)}}validate(e,r){const t=e.getFullYear(),s=X(t),o=e.getMonth();return s?r>=1&&r<=he[o]:r>=1&&r<=we[o]}set(e,r,t){return e.setDate(t),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class ye extends u{priority=90;subpriority=1;parse(e,r,t){switch(r){case"D":case"DD":return l(w.dayOfYear,e);case"Do":return t.ordinalNumber(e,{unit:"date"});default:return f(r.length,e)}}validate(e,r){const t=e.getFullYear();return X(t)?r>=1&&r<=366:r>=1&&r<=365}set(e,r,t){return e.setMonth(0,t),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function N(n,e,r){const t=i.getDefaultOptions(),s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,o=i.toDate(n,r?.in),d=o.getDay(),D=(e%7+7)%7,y=7-s,g=e<0||e>6?e-(d+y)%7:(D+y)%7-(d+y)%7;return i.addDays(o,g,r)}class xe extends u{priority=90;parse(e,r,t){switch(r){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,t,s){return e=N(e,t,s),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class be extends u{priority=90;parse(e,r,t,s){const o=d=>{const x=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+x};switch(r){case"e":case"ee":return h(f(r.length,e),o);case"eo":return h(t.ordinalNumber(e,{unit:"day"}),o);case"eee":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeeee":return t.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,t,s){return e=N(e,t,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class me extends u{priority=90;parse(e,r,t,s){const o=d=>{const x=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+x};switch(r){case"c":case"cc":return h(f(r.length,e),o);case"co":return h(t.ordinalNumber(e,{unit:"day"}),o);case"ccc":return t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});case"ccccc":return t.day(e,{width:"narrow",context:"standalone"});case"cccccc":return t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});default:return t.day(e,{width:"wide",context:"standalone"})||t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=6}set(e,r,t,s){return e=N(e,t,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function Te(n,e,r){const t=i.toDate(n,r?.in),s=V(t,r),o=e-s;return i.addDays(t,o,r)}class ge extends u{priority=90;parse(e,r,t){const s=o=>o===0?7:o;switch(r){case"i":case"ii":return f(r.length,e);case"io":return t.ordinalNumber(e,{unit:"day"});case"iii":return h(t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return h(t.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return h(t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),s);default:return h(t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,r){return r>=1&&r<=7}set(e,r,t){return e=Te(e,t),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class De extends u{priority=80;parse(e,r,t){switch(r){case"a":case"aa":case"aaa":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return t.dayPeriod(e,{width:"narrow",context:"formatting"});default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,t){return e.setHours(R(t),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class _e extends u{priority=80;parse(e,r,t){switch(r){case"b":case"bb":case"bbb":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return t.dayPeriod(e,{width:"narrow",context:"formatting"});default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,t){return e.setHours(R(t),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class ke extends u{priority=80;parse(e,r,t){switch(r){case"B":case"BB":case"BBB":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return t.dayPeriod(e,{width:"narrow",context:"formatting"});default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,t){return e.setHours(R(t),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class Pe extends u{priority=70;parse(e,r,t){switch(r){case"h":return l(w.hour12h,e);case"ho":return t.ordinalNumber(e,{unit:"hour"});default:return f(r.length,e)}}validate(e,r){return r>=1&&r<=12}set(e,r,t){const s=e.getHours()>=12;return s&&t<12?e.setHours(t+12,0,0,0):!s&&t===12?e.setHours(0,0,0,0):e.setHours(t,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class Me extends u{priority=70;parse(e,r,t){switch(r){case"H":return l(w.hour23h,e);case"Ho":return t.ordinalNumber(e,{unit:"hour"});default:return f(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,t){return e.setHours(t,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class Oe extends u{priority=70;parse(e,r,t){switch(r){case"K":return l(w.hour11h,e);case"Ko":return t.ordinalNumber(e,{unit:"hour"});default:return f(r.length,e)}}validate(e,r){return r>=0&&r<=11}set(e,r,t){return e.getHours()>=12&&t<12?e.setHours(t+12,0,0,0):e.setHours(t,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class Ye extends u{priority=70;parse(e,r,t){switch(r){case"k":return l(w.hour24h,e);case"ko":return t.ordinalNumber(e,{unit:"hour"});default:return f(r.length,e)}}validate(e,r){return r>=1&&r<=24}set(e,r,t){const s=t<=24?t%24:t;return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class Ee extends u{priority=60;parse(e,r,t){switch(r){case"m":return l(w.minute,e);case"mo":return t.ordinalNumber(e,{unit:"minute"});default:return f(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,t){return e.setMinutes(t,0,0),e}incompatibleTokens=["t","T"]}class He extends u{priority=50;parse(e,r,t){switch(r){case"s":return l(w.second,e);case"so":return t.ordinalNumber(e,{unit:"second"});default:return f(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,t){return e.setSeconds(t,0),e}incompatibleTokens=["t","T"]}class Ie extends u{priority=30;parse(e,r){const t=s=>Math.trunc(s*Math.pow(10,-r.length+3));return h(f(r.length,e),t)}set(e,r,t){return e.setMilliseconds(t),e}incompatibleTokens=["t","T"]}class qe extends u{priority=10;parse(e,r){switch(r){case"X":return m(b.basicOptionalMinutes,e);case"XX":return m(b.basic,e);case"XXXX":return m(b.basicOptionalSeconds,e);case"XXXXX":return m(b.extendedOptionalSeconds,e);default:return m(b.extended,e)}}set(e,r,t){return r.timestampIsSet?e:i.constructFrom(e,e.getTime()-i.getTimezoneOffsetInMilliseconds(e)-t)}incompatibleTokens=["t","T","x"]}class Le extends u{priority=10;parse(e,r){switch(r){case"x":return m(b.basicOptionalMinutes,e);case"xx":return m(b.basic,e);case"xxxx":return m(b.basicOptionalSeconds,e);case"xxxxx":return m(b.extendedOptionalSeconds,e);default:return m(b.extended,e)}}set(e,r,t){return r.timestampIsSet?e:i.constructFrom(e,e.getTime()-i.getTimezoneOffsetInMilliseconds(e)-t)}incompatibleTokens=["t","T","X"]}class ve extends u{priority=40;parse(e){return B(e)}set(e,r,t){return[i.constructFrom(e,t*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Re extends u{priority=20;parse(e){return B(e)}set(e,r,t){return[i.constructFrom(e,t),{timestampIsSet:!0}]}incompatibleTokens="*"}const Ne={G:new ee,y:new te,Y:new re,R:new ne,u:new se,Q:new oe,q:new ae,M:new ie,L:new ce,w:new le,I:new fe,d:new pe,D:new ye,E:new xe,e:new be,c:new me,i:new ge,a:new De,b:new _e,B:new ke,h:new Pe,H:new Me,K:new Oe,k:new Ye,m:new Ee,s:new He,S:new Ie,X:new qe,x:new Le,t:new ve,T:new Re},Qe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ce=/^'([^]*?)'?$/,We=/''/g,Be=/\S/,Ge=/[a-zA-Z]/;function Xe(n,e,r,t){const s=()=>i.constructFrom(r,NaN),o=j(),d=o.locale??i.enUS,x=o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,D=o.weekStartsOn??o.locale?.options?.weekStartsOn??0,y={firstWeekContainsDate:x,weekStartsOn:D,locale:d},g=[new S(t?.in,r)],E=e.match(Fe).map(a=>{const c=a[0];if(c in i.longFormatters){const p=i.longFormatters[c];return p(a,d.formatLong)}return a}).join("").match(Qe),k=[];for(let a of E){i.isProtectedWeekYearToken(a)&&i.warnOrThrowProtectedError(a,e,n),i.isProtectedDayOfYearToken(a)&&i.warnOrThrowProtectedError(a,e,n);const c=a[0],p=Ne[c];if(p){const{incompatibleTokens:P}=p;if(Array.isArray(P)){const Q=k.find(F=>P.includes(F.token)||F.token===c);if(Q)throw new RangeError(`The format string mustn't contain \`${Q.fullToken}\` and \`${a}\` at the same time`)}else if(p.incompatibleTokens==="*"&&k.length>0)throw new RangeError(`The format string mustn't contain \`${a}\` and any other token at the same time`);k.push({token:c,fullToken:a});const I=p.run(n,a,d.match,y);if(!I)return s();g.push(I.setter),n=I.rest}else{if(c.match(Ge))throw new RangeError("Format string contains an unescaped latin alphabet character `"+c+"`");if(a==="''"?a="'":c==="'"&&(a=Ae(a)),n.indexOf(a)===0)n=n.slice(a.length);else return s()}}if(n.length>0&&Be.test(n))return s();const H=g.map(a=>a.priority).sort((a,c)=>c-a).filter((a,c,p)=>p.indexOf(a)===c).map(a=>g.filter(c=>c.priority===a).sort((c,p)=>p.subPriority-c.subPriority)).map(a=>a[0]);let T=i.toDate(r,t?.in);if(isNaN(+T))return s();const O={};for(const a of H){if(!a.validate(T,y))return s();const c=a.set(T,O,y);Array.isArray(c)?(T=c[0],Object.assign(O,c[1])):T=c}return T}function Ae(n){return n.match(Ce)[1].replace(We,"'")}const ze={"purpur-date-field__container":"_purpur-date-field__container_ci2f4_1","purpur-date-field__overlay":"_purpur-date-field__overlay_ci2f4_5","purpur-date-field__start-adornment":"_purpur-date-field__start-adornment_ci2f4_16"},$e=n=>Xe(n,"yyyy-MM-dd",new Date),C=n=>n?i.format(n,"yyyy-MM-dd"):"",je=(...n)=>{const e=n.filter(Boolean);return e.length<=1?e[0]||null:r=>{for(const t of e)typeof t=="function"?t(r):t&&(t.current=r)}},q=$.c.bind(ze),L="purpur-date-field",v="YYYY-MM-DD",A=_.forwardRef(({id:n,value:e,label:r,onChange:t,startAdornment:s,...o},d)=>{const[x,D]=_.useState(C(e));_.useEffect(()=>{D(e?C(e):"")},[e]);const y=_.useRef(null),g=je(d,y),[E,k]=_.useState({});_.useLayoutEffect(()=>{if(y.current){const a=window.document.querySelector(`label[for="${y.current.id}"]`),c=a?a.offsetHeight+4:0,p=window.getComputedStyle(y.current);k({position:"absolute",top:y.current.offsetTop+c,left:y.current.offsetLeft,padding:p.padding,width:y.current.offsetWidth,height:y.current.offsetHeight})}},[x,r,y]);const H=a=>{if(a.length===0&&t?.(void 0),a.length!==v.length)return;const c=$e(a);i.isValid(c)&&t?.(c)},T=a=>{const c=a.target.value.replace(/\D/g,"");let p="";c.length>0&&(p+=c.slice(0,4)),c.length>4&&(p+="-"+c.slice(4,6)),c.length>6&&(p+="-"+c.slice(6,8)),D(p),H(a.target.value)},O=()=>v.split("").map((c,p)=>{const P=x[p];return M.jsx("span",{style:{color:P?"transparent":"var(--purpur-color-text-weak)"},children:P||c},p)});return M.jsxs("div",{className:q(`${L}__container`),children:[M.jsx(z.TextField,{...o,startAdornment:s&&M.jsx("span",{className:q(`${L}__start-adornment`),children:s},n),ref:g,value:x,onChange:T,type:"text",maxLength:v.length,inputMode:"numeric",label:r}),M.jsx("div",{role:"presentation",style:E,className:q(`${L}__overlay`),children:O()})]})});A.displayName="DateField";exports.DateField=A;
|
|
2
|
-
//# sourceMappingURL=date-field-CPiTZqa0.js.map
|
package/dist/heading-DLCdW6gx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),o=require("./index-A7AbAyTn.js"),i={"purpur-heading":"_purpur-heading_vo751_1","purpur-heading--hyphens":"_purpur-heading--hyphens_vo751_8","purpur-heading--negative":"_purpur-heading--negative_vo751_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_vo751_14","purpur-heading--title-100":"_purpur-heading--title-100_vo751_20","purpur-heading--title-200":"_purpur-heading--title-200_vo751_26","purpur-heading--title-300":"_purpur-heading--title-300_vo751_32","purpur-heading--title-400":"_purpur-heading--title-400_vo751_38","purpur-heading--title-500":"_purpur-heading--title-500_vo751_44","purpur-heading--title-600":"_purpur-heading--title-600_vo751_50","purpur-heading--title-700":"_purpur-heading--title-700_vo751_56","purpur-heading--display-5":"_purpur-heading--display-5_vo751_62","purpur-heading--display-10":"_purpur-heading--display-10_vo751_68","purpur-heading--display-15":"_purpur-heading--display-15_vo751_74","purpur-heading--display-20":"_purpur-heading--display-20_vo751_80","purpur-heading--display-25":"_purpur-heading--display-25_vo751_86","purpur-heading--display-50":"_purpur-heading--display-50_vo751_92","purpur-heading--display-100":"_purpur-heading--display-100_vo751_98","purpur-heading--display-200":"_purpur-heading--display-200_vo751_104"},y={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6"},e={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},v={DISPLAY5:"display-5",DISPLAY10:"display-10",DISPLAY15:"display-15",DISPLAY20:"display-20",DISPLAY25:"display-25",DISPLAY50:"display-50",DISPLAY100:"display-100",DISPLAY200:"display-200"},p="purpur-heading",a=({children:r,className:u="",enableHyphenation:d=!1,negative:n=!1,tag:t,variant:s=e.TITLE100,..._})=>{const l=t,h=o.c([u,i[p],i[`${p}--${s}`],{[i[`${p}--hyphens`]]:d,[i[`${p}--negative`]]:n}]);return g.jsx(l,{className:h,..._,children:r})};a.displayName="Heading";exports.DisplayVariant=v;exports.Heading=a;exports.HeadingTag=y;exports.TitleVariant=e;
|
|
2
|
-
//# sourceMappingURL=heading-DLCdW6gx.js.map
|