@uh-design-system/component-library 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{utils-3412cbed.js → attributes-BMbXzbwU.js} +2 -28
- package/dist/cjs/component-library.cjs.js +7 -7
- package/dist/cjs/controlUtils-ofqiQxRF.js +42 -0
- package/dist/cjs/ds-accordion.cjs.entry.js +79 -0
- package/dist/cjs/ds-button.cjs.entry.js +107 -0
- package/dist/cjs/ds-card.cjs.entry.js +58 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +109 -49
- package/dist/cjs/ds-checkbox.cjs.entry.js +88 -79
- package/dist/cjs/ds-icon.cjs.entry.js +943 -0
- package/dist/cjs/ds-input-validity.cjs.entry.js +14 -15
- package/dist/cjs/ds-link-with-arrow.cjs.entry.js +21 -20
- package/dist/cjs/ds-link.cjs.entry.js +34 -31
- package/dist/cjs/ds-radio-button-group.cjs.entry.js +153 -0
- package/dist/cjs/ds-radio-button.cjs.entry.js +151 -0
- package/dist/cjs/ds-spinner.cjs.entry.js +62 -0
- package/dist/cjs/ds-text-input.cjs.entry.js +90 -77
- package/dist/cjs/ds-visually-hidden.cjs.entry.js +3 -6
- package/dist/cjs/index-Bp6Dd2i1.js +94 -0
- package/dist/cjs/{store-9bd20f3c.js → index-DwLFyR5p.js} +6 -2
- package/dist/cjs/{index-bf84b124.js → index-Mjp9Y-Sw.js} +701 -55
- package/dist/cjs/index.cjs.js +3 -5
- package/dist/cjs/{linkUtils-695da37c.js → linkUtils-onlbgKdI.js} +4 -2
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/utils-BjZTECpy.js +29 -0
- package/dist/collection/accessibility/stories/naming.stories.js +3 -3
- package/dist/collection/collection-manifest.json +78 -3
- package/dist/collection/components/01-base-components/ds-accordion/ds-accordion.css +18 -17
- package/dist/collection/components/01-base-components/ds-accordion/ds-accordion.js +91 -50
- package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.examples.stories.js +6 -6
- package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.features.stories.js +14 -14
- package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.stories.js +24 -66
- package/dist/collection/components/01-base-components/ds-button/ds-button.css +124 -145
- package/dist/collection/components/01-base-components/ds-button/ds-button.js +150 -65
- package/dist/collection/components/01-base-components/ds-button/stories/ds-button.examples.stories.js +121 -23
- package/dist/collection/components/01-base-components/ds-button/stories/ds-button.features.stories.js +49 -42
- package/dist/collection/components/01-base-components/ds-button/stories/ds-button.stories.js +16 -72
- package/dist/collection/components/01-base-components/ds-card/ds-card.css +127 -0
- package/dist/collection/components/01-base-components/ds-card/ds-card.js +303 -0
- package/dist/collection/components/01-base-components/ds-card/stories/ds-card.examples.stories.js +92 -0
- package/dist/collection/components/01-base-components/ds-card/stories/ds-card.features.stories.js +66 -0
- package/dist/collection/components/01-base-components/ds-card/stories/ds-card.stories.js +71 -0
- package/dist/collection/components/01-base-components/ds-checkbox/ds-checkbox.css +46 -46
- package/dist/collection/components/01-base-components/ds-checkbox/ds-checkbox.js +120 -111
- package/dist/collection/components/01-base-components/ds-checkbox/stories/ds-checkbox.features.stories.js +20 -20
- package/dist/collection/components/01-base-components/ds-checkbox/stories/ds-checkbox.stories.js +12 -25
- package/dist/collection/components/01-base-components/ds-checkbox-group/ds-checkbox-group.css +2 -3
- package/dist/collection/components/01-base-components/ds-checkbox-group/ds-checkbox-group.js +214 -63
- package/dist/collection/components/01-base-components/ds-checkbox-group/stories/ds-checkbox-group.features.stories.js +215 -50
- package/dist/collection/components/01-base-components/ds-checkbox-group/stories/ds-checkbox-group.stories.js +30 -28
- package/dist/collection/components/01-base-components/ds-icon/ds-icon.js +36 -31
- package/dist/collection/components/01-base-components/ds-icon/stories/ds-icon.stories.js +10 -37
- package/dist/collection/components/01-base-components/ds-input-validity/ds-input-validity.css +2 -2
- package/dist/collection/components/01-base-components/ds-input-validity/ds-input-validity.js +60 -30
- package/dist/collection/components/01-base-components/ds-input-validity/stories/ds-input-validity.features.stories.js +4 -4
- package/dist/collection/components/01-base-components/ds-input-validity/stories/ds-input-validity.stories.js +4 -9
- package/dist/collection/components/01-base-components/ds-link/ds-link.css +24 -14
- package/dist/collection/components/01-base-components/ds-link/ds-link.js +74 -75
- package/dist/collection/components/01-base-components/ds-link/stories/ds-link.examples.stories.js +27 -27
- package/dist/collection/components/01-base-components/ds-link/stories/ds-link.features.stories.js +38 -21
- package/dist/collection/components/01-base-components/ds-link/stories/ds-link.stories.js +8 -67
- package/dist/collection/components/01-base-components/ds-link-with-arrow/ds-link-with-arrow.css +10 -12
- package/dist/collection/components/01-base-components/ds-link-with-arrow/ds-link-with-arrow.js +30 -52
- package/dist/collection/components/01-base-components/ds-link-with-arrow/stories/ds-link-with-arrow.examples.stories.js +4 -4
- package/dist/collection/components/01-base-components/ds-link-with-arrow/stories/ds-link-with-arrow.features.stories.js +6 -6
- package/dist/collection/components/01-base-components/ds-link-with-arrow/stories/ds-link-with-arrow.stories.js +4 -28
- package/dist/collection/components/01-base-components/ds-radio-button/ds-radio-button.css +115 -0
- package/dist/collection/components/01-base-components/ds-radio-button/ds-radio-button.js +449 -0
- package/dist/collection/components/01-base-components/ds-radio-button/stories/ds-radio-button.features.stories.js +72 -0
- package/dist/collection/components/01-base-components/ds-radio-button/stories/ds-radio-button.stories.js +22 -0
- package/dist/collection/components/01-base-components/ds-radio-button-group/ds-radio-button-group.css +30 -0
- package/dist/collection/components/01-base-components/ds-radio-button-group/ds-radio-button-group.js +360 -0
- package/dist/collection/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.examples.stories.js +42 -0
- package/dist/collection/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.features.stories.js +71 -0
- package/dist/collection/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.stories.js +60 -0
- package/dist/collection/components/01-base-components/ds-spinner/ds-spinner.css +279 -0
- package/dist/collection/components/01-base-components/ds-spinner/ds-spinner.js +221 -0
- package/dist/collection/components/01-base-components/ds-spinner/stories/ds-spinner.examples.stories.js +120 -0
- package/dist/collection/components/01-base-components/ds-spinner/stories/ds-spinner.features.stories.js +107 -0
- package/dist/collection/components/01-base-components/ds-spinner/stories/ds-spinner.stories.js +14 -0
- package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.css +85 -118
- package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.js +230 -155
- package/dist/collection/components/01-base-components/ds-text-input/stories/ds-text-input.examples.stories.js +26 -21
- package/dist/collection/components/01-base-components/ds-text-input/stories/ds-text-input.features.stories.js +40 -40
- package/dist/collection/components/01-base-components/ds-text-input/stories/ds-text-input.stories.js +30 -56
- package/dist/collection/components/01-base-components/ds-visually-hidden/ds-visually-hidden.js +1 -1
- package/dist/collection/store.js +7 -1
- package/dist/collection/utils/attributes/attributes.js +2 -2
- package/dist/collection/utils/button/buttonUtils.js +14 -0
- package/dist/collection/utils/colours/colourTypes.js +3 -3
- package/dist/collection/utils/colours/colourUtils.js +5 -3
- package/dist/collection/utils/controls/controlUtils.js +35 -1
- package/dist/collection/utils/link/linkUtils.js +3 -2
- package/dist/collection/utils/spinner/spinnerUtils.js +20 -0
- package/dist/collection/utils/tests/testUtils.js +1 -0
- package/dist/collection/utils/typography/typographyUtils.js +3 -3
- package/dist/collection/utils/utils.js +10 -9
- package/dist/component-library/{utils-cfc536bc.js → attributes-BD_lNRxn.js} +1 -1
- package/dist/component-library/component-library.css +1 -1
- package/dist/component-library/component-library.esm.js +1 -1
- package/dist/component-library/controlUtils-CNER0MvM.js +1 -0
- package/dist/component-library/ds-accordion.entry.js +1 -0
- package/dist/component-library/ds-button.entry.js +1 -0
- package/dist/component-library/ds-card.entry.js +1 -0
- package/dist/component-library/ds-checkbox-group.entry.js +1 -1
- package/dist/component-library/ds-checkbox.entry.js +1 -1
- package/dist/component-library/ds-icon.entry.js +1 -0
- package/dist/component-library/ds-input-validity.entry.js +1 -1
- package/dist/component-library/ds-link-with-arrow.entry.js +1 -1
- package/dist/component-library/ds-link.entry.js +1 -1
- package/dist/component-library/ds-radio-button-group.entry.js +1 -0
- package/dist/component-library/ds-radio-button.entry.js +1 -0
- package/dist/component-library/ds-spinner.entry.js +1 -0
- package/dist/component-library/ds-text-input.entry.js +1 -1
- package/dist/component-library/ds-visually-hidden.entry.js +1 -1
- package/dist/component-library/index-BfTCfPZ1.js +6 -0
- package/dist/component-library/index-Cm7V4EAn.js +2 -0
- package/dist/component-library/index-DuYjhvTn.js +1 -0
- package/dist/component-library/index.esm.js +1 -1
- package/dist/component-library/linkUtils-02nCfO0F.js +1 -0
- package/dist/component-library/utils-CqaqnfY4.js +1 -0
- package/dist/components/attributes.js +3 -3
- package/dist/components/controlUtils.js +35 -2
- package/dist/components/ds-accordion.js +58 -42
- package/dist/components/ds-button2.js +78 -39
- package/dist/components/ds-card.d.ts +11 -0
- package/dist/components/ds-card.js +91 -0
- package/dist/components/ds-checkbox-group.js +116 -56
- package/dist/components/ds-checkbox2.js +93 -80
- package/dist/components/ds-icon2.js +292 -292
- package/dist/components/ds-input-validity2.js +17 -14
- package/dist/components/ds-link-with-arrow.js +22 -22
- package/dist/components/ds-link.js +43 -40
- package/dist/components/ds-radio-button-group.d.ts +11 -0
- package/dist/components/ds-radio-button-group.js +185 -0
- package/dist/components/ds-radio-button.d.ts +11 -0
- package/dist/components/ds-radio-button.js +198 -0
- package/dist/components/ds-spinner.d.ts +11 -0
- package/dist/components/ds-spinner.js +6 -0
- package/dist/components/ds-spinner2.js +89 -0
- package/dist/components/ds-text-input.js +126 -104
- package/dist/components/ds-visually-hidden2.js +2 -3
- package/dist/components/index.js +208 -2
- package/dist/components/index2.js +713 -39
- package/dist/components/index3.js +69 -57
- package/dist/components/linkUtils.js +4 -2
- package/dist/docs.d.ts +443 -0
- package/dist/docs.json +4790 -0
- package/dist/esm/{utils-cfc536bc.js → attributes-BD_lNRxn.js} +3 -26
- package/dist/esm/component-library.js +6 -5
- package/dist/esm/controlUtils-CNER0MvM.js +37 -0
- package/dist/esm/ds-accordion.entry.js +77 -0
- package/dist/esm/ds-button.entry.js +105 -0
- package/dist/esm/ds-card.entry.js +56 -0
- package/dist/esm/ds-checkbox-group.entry.js +108 -46
- package/dist/esm/ds-checkbox.entry.js +78 -67
- package/dist/esm/ds-icon.entry.js +941 -0
- package/dist/esm/ds-input-validity.entry.js +14 -13
- package/dist/esm/ds-link-with-arrow.entry.js +21 -18
- package/dist/esm/ds-link.entry.js +34 -29
- package/dist/esm/ds-radio-button-group.entry.js +151 -0
- package/dist/esm/ds-radio-button.entry.js +149 -0
- package/dist/esm/ds-spinner.entry.js +60 -0
- package/dist/esm/ds-text-input.entry.js +88 -73
- package/dist/esm/ds-visually-hidden.entry.js +3 -4
- package/dist/esm/index-BfTCfPZ1.js +92 -0
- package/dist/esm/{index-434995e1.js → index-Cm7V4EAn.js} +699 -34
- package/dist/{components/store.js → esm/index-DuYjhvTn.js} +6 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/{linkUtils-3d1b28cf.js → linkUtils-02nCfO0F.js} +4 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/utils-CqaqnfY4.js +25 -0
- package/dist/hydrate/index.d.ts +271 -0
- package/dist/hydrate/index.js +22280 -0
- package/dist/hydrate/index.mjs +22272 -0
- package/dist/hydrate/package.json +12 -0
- package/dist/styles/helpers.css +15 -0
- package/dist/styles/helpers.css.map +1 -0
- package/dist/styles/mixins/_breakpoints.scss +13 -0
- package/dist/styles/mixins/_focus.scss +26 -0
- package/dist/styles/mixins/_wrapper.scss +5 -0
- package/dist/styles/mixins/imports-default/_imports.scss +2 -0
- package/dist/styles/mixins/tokens/_breakpoints.scss +13 -0
- package/dist/styles/mixins/tokens/_semantic-colours.scss +75 -0
- package/dist/styles/mixins.scss +12 -0
- package/dist/styles/variables.css +176 -0
- package/dist/styles/variables.css.map +1 -0
- package/dist/types/components/01-base-components/ds-accordion/ds-accordion.d.ts +11 -8
- package/dist/types/components/01-base-components/ds-button/ds-button.d.ts +16 -11
- package/dist/types/components/01-base-components/ds-button/stories/ds-button.examples.stories.d.ts +1 -0
- package/dist/types/components/01-base-components/ds-button/stories/ds-button.features.stories.d.ts +1 -0
- package/dist/types/components/01-base-components/ds-card/ds-card.d.ts +20 -0
- package/dist/types/components/01-base-components/ds-card/stories/ds-card.examples.stories.d.ts +8 -0
- package/dist/types/components/01-base-components/ds-card/stories/ds-card.features.stories.d.ts +8 -0
- package/dist/types/components/01-base-components/ds-card/stories/ds-card.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-checkbox/ds-checkbox.d.ts +21 -22
- package/dist/types/components/01-base-components/ds-checkbox-group/ds-checkbox-group.d.ts +21 -11
- package/dist/types/components/01-base-components/ds-checkbox-group/stories/ds-checkbox-group.features.stories.d.ts +3 -0
- package/dist/types/components/01-base-components/ds-icon/ds-icon.d.ts +7 -5
- package/dist/types/components/01-base-components/ds-input-validity/ds-input-validity.d.ts +5 -6
- package/dist/types/components/01-base-components/ds-link/ds-link.d.ts +13 -14
- package/dist/types/components/01-base-components/ds-link/stories/ds-link.features.stories.d.ts +2 -0
- package/dist/types/components/01-base-components/ds-link-with-arrow/ds-link-with-arrow.d.ts +5 -7
- package/dist/types/components/01-base-components/ds-radio-button/ds-radio-button.d.ts +44 -0
- package/dist/types/components/01-base-components/ds-radio-button/stories/ds-radio-button.features.stories.d.ts +15 -0
- package/dist/types/components/01-base-components/ds-radio-button/stories/ds-radio-button.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-radio-button-group/ds-radio-button-group.d.ts +34 -0
- package/dist/types/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.examples.stories.d.ts +6 -0
- package/dist/types/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.features.stories.d.ts +11 -0
- package/dist/types/components/01-base-components/ds-radio-button-group/stories/ds-radio-button-group.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-spinner/ds-spinner.d.ts +17 -0
- package/dist/types/components/01-base-components/ds-spinner/stories/ds-spinner.examples.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-spinner/stories/ds-spinner.features.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-spinner/stories/ds-spinner.stories.d.ts +7 -0
- package/dist/types/components/01-base-components/ds-text-input/ds-text-input.d.ts +37 -32
- package/dist/types/components.d.ts +1287 -228
- package/dist/types/stencil-public-runtime.d.ts +22 -0
- package/dist/types/store.d.ts +6 -1
- package/dist/types/utils/attributes/attributes.d.ts +1 -1
- package/dist/types/utils/button/buttonUtils.d.ts +1 -0
- package/dist/types/utils/colours/colourTypes.d.ts +3 -3
- package/dist/types/utils/controls/controlUtils.d.ts +2 -0
- package/dist/types/utils/link/linkUtils.d.ts +1 -1
- package/dist/types/utils/spinner/spinnerUtils.d.ts +1 -0
- package/dist/types/utils/tests/testUtils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +2 -1
- package/package.json +40 -36
- package/dist/cjs/controlUtils-041de0fd.js +0 -7
- package/dist/cjs/ds-accordion_3.cjs.entry.js +0 -1095
- package/dist/cjs/index-5b0b9d4c.js +0 -82
- package/dist/component-library/controlUtils-9ca4087b.js +0 -1
- package/dist/component-library/ds-accordion_3.entry.js +0 -1
- package/dist/component-library/index-434995e1.js +0 -2
- package/dist/component-library/index-72ac5051.js +0 -6
- package/dist/component-library/linkUtils-3d1b28cf.js +0 -1
- package/dist/component-library/store-b8d17c10.js +0 -1
- package/dist/esm/controlUtils-9ca4087b.js +0 -4
- package/dist/esm/ds-accordion_3.entry.js +0 -1089
- package/dist/esm/index-72ac5051.js +0 -80
- package/dist/esm/store-b8d17c10.js +0 -204
- package/dist/loader/package.json +0 -11
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/component-library/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent,
|
|
2
|
-
import { c as classNames } from './index-
|
|
3
|
-
import { g as getRequiredText, a as getOptionalText } from './controlUtils-
|
|
4
|
-
import { i as isValidation } from './
|
|
5
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-Cm7V4EAn.js';
|
|
2
|
+
import { c as classNames } from './index-BfTCfPZ1.js';
|
|
3
|
+
import { g as getRequiredText, a as getOptionalText } from './controlUtils-CNER0MvM.js';
|
|
4
|
+
import { i as isValidation } from './index-DuYjhvTn.js';
|
|
5
|
+
import { i as idGenerator } from './utils-CqaqnfY4.js';
|
|
6
|
+
import { i as inheritAttributes } from './attributes-BD_lNRxn.js';
|
|
6
7
|
|
|
7
|
-
const dsTextInputCss = ".sc-ds-text-input:root{--ds-breakpoint-xSmall:20rem;--ds-breakpoint-small:30rem;--ds-breakpoint-medium:60rem;--ds-breakpoint-large:75rem;--ds-breakpoint-xLarge:90rem}.
|
|
8
|
-
const DsTextInputStyle0 = dsTextInputCss;
|
|
8
|
+
const dsTextInputCss = ".sc-ds-text-input:root{--ds-breakpoint-xSmall:20rem;--ds-breakpoint-small:30rem;--ds-breakpoint-medium:60rem;--ds-breakpoint-large:75rem;--ds-breakpoint-xLarge:90rem}.sc-ds-text-input-h *.sc-ds-text-input,.ds-no-style-leak.sc-ds-text-input *.sc-ds-text-input{all:unset;box-sizing:border-box;display:block}.sc-ds-text-input-h{display:block;width:288px}@media (min-width: 75rem){.sc-ds-text-input-h{width:320px}}.ds-input__label-container.sc-ds-text-input{margin-block-end:var(--ds-spacing-2xSmall)}.ds-input__label-container.sc-ds-text-input label.sc-ds-text-input{font-family:var(--ds-fontFamily-body);font-size:var(--ds-fontSize-16);font-weight:var(--ds-fontWeight-semibold);letter-spacing:var(--ds-letterSpacing-wide);line-height:var(--ds-lineHeight-large);color:var(--ds-palette-black-95)}.ds-input__label-container.sc-ds-text-input small.sc-ds-text-input{font-family:var(--ds-fontFamily-body);font-size:var(--ds-fontSize-14);font-weight:var(--ds-fontWeight-regular);letter-spacing:var(--ds-letterSpacing-wide);line-height:var(--ds-lineHeight-large);display:block;margin-block-start:var(--ds-spacing-3xSmall);color:var(--ds-palette-black-70)}.ds-input__container.sc-ds-text-input{box-sizing:border-box;width:100%;display:inline-flex;position:relative;align-items:center;border-width:var(--ds-borderWidth-thin);border-style:solid;border-color:var(--ds-palette-black-50);padding-inline:var(--ds-spacing-xSmall)}.ds-input__container.sc-ds-text-input:focus-visible{box-shadow:0 0 0 var(--ds-borderWidth-thin) var(--ds-palette-white);outline:var(--ds-borderWidth-thin) solid var(--ds-palette-black-95);outline-offset:calc(var(--ds-borderWidth-thin) * 1)}.ds-input__container.sc-ds-text-input:focus-within{box-shadow:0 0 0 var(--ds-borderWidth-thin) var(--ds-palette-white);outline:var(--ds-borderWidth-thin) solid var(--ds-palette-black-95);outline-offset:calc(var(--ds-borderWidth-thin) * 1)}.ds-input__container.invalid.sc-ds-text-input{background-color:var(--ds-palette-red-05);border-color:var(--ds-palette-red-50)}.ds-input__container.invalid.sc-ds-text-input:hover:not(.ds-input__container.invalid:focus-within){background-color:var(--ds-palette-red-10);border-color:var(--ds-palette-red-50)}.ds-input__container.invalid.active.sc-ds-text-input{background-color:var(--ds-palette-red-20);border-color:var(--ds-palette-red-50)}.ds-input__container.valid.sc-ds-text-input{background-color:var(--ds-palette-green-05);border-color:var(--ds-palette-green-50)}.ds-input__container.valid.sc-ds-text-input:hover:not(.ds-input__container.valid:focus-within){background-color:var(--ds-palette-green-10);border-color:var(--ds-palette-green-50)}.ds-input__container.valid.active.sc-ds-text-input{background-color:var(--ds-palette-green-20);border-color:var(--ds-palette-green-50)}.ds-input__container.readonly.sc-ds-text-input,.ds-input__container.disabled.sc-ds-text-input{background-color:var(--ds-overlay-black-10);border-color:var(--ds-overlay-black-15)}.ds-input__container.sc-ds-text-input:has(span.prefix,ds-icon.prefix).sc-ds-text-input{padding-inline-start:var(--ds-spacing-2xSmall)}.ds-input__container.sc-ds-text-input:has(ds-button.suffix){padding-inline-end:unset}.ds-input__container.sc-ds-text-input:has(input:active){outline:none}.ds-input__container.sc-ds-text-input:has(input:active):not:has(input:disabled,input.sc-ds-text-input:read-only){border-color:var(--ds-palette-black-50)}.ds-input__container.active.sc-ds-text-input:not(.ds-input__container.disabled,.ds-input__container.readonly.sc-ds-text-input,.ds-input__container.invalid.sc-ds-text-input,.ds-input__container.valid).sc-ds-text-input{border-color:var(--ds-palette-black-50);background-color:var(--ds-palette-black-20)}.ds-input__container.sc-ds-text-input:hover:not(.ds-input__container.disabled,.ds-input__container.readonly.sc-ds-text-input,.ds-input__container.active.sc-ds-text-input,.ds-input__container.invalid.sc-ds-text-input,.ds-input__container.valid.sc-ds-text-input,.ds-input__container.sc-ds-text-input:focus-within){border-color:var(--ds-palette-black-50);background-color:var(--ds-palette-black-10)}.ds-input__container.sc-ds-text-input:focus-within:not(.ds-input__container:focus-within.invalid,.ds-input__container.sc-ds-text-input:focus-within.valid,.ds-input__container.sc-ds-text-input:focus-within.readonly){border-color:var(--ds-palette-mainBlue-70)}.ds-input__container.sc-ds-text-input:focus-within *.sc-ds-text-input>ds-button.suffix.sc-ds-text-input>button.sc-ds-text-input:focus-visible{background-clip:padding-box;outline-offset:-5px;box-shadow:none;height:var(--ds-spacing-xLarge);background-color:var(--ds-overlay-black-10)}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input{font-family:var(--ds-fontFamily-body);font-size:var(--ds-fontSize-16);font-weight:var(--ds-fontWeight-regular);letter-spacing:var(--ds-letterSpacing-wide);line-height:var(--ds-lineHeight-large);width:100%;box-sizing:border-box;background-color:unset;flex-grow:1;height:var(--ds-spacing-xLarge);line-height:var(--ds-fontSize-24);color:var(--ds-palette-black-95);border:none;padding-block:var(--ds-spacing-4xSmall)}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::placeholder{font-family:var(--ds-fontFamily-body);font-size:var(--ds-fontSize-16);font-weight:var(--ds-fontWeight-regular);letter-spacing:var(--ds-letterSpacing-wide);line-height:var(--ds-lineHeight-large);color:var(--ds-palette-black-70)}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input:disabled{color:var(--ds-palette-black-40)}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input:disabled::placeholder{color:var(--ds-palette-black-40)}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input:focus{outline:none;border:none}.ds-input__container.sc-ds-text-input>input[type=number].sc-ds-text-input{appearance:textfield}.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-search-decoration,.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-search-cancel-button,.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-search-results-button,.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-search-results-decoration,.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-inner-spin-button,.ds-input__container.sc-ds-text-input>input.sc-ds-text-input::-webkit-outer-spin-button{appearance:none;margin:0}.ds-input__container.sc-ds-text-input:has(span.prefix,ds-icon.prefix).sc-ds-text-input>input.sc-ds-text-input{padding-inline-start:var(--ds-spacing-2xSmall)}.ds-input__container.sc-ds-text-input span.prefix.sc-ds-text-input,.ds-input__container.sc-ds-text-input span.suffix.sc-ds-text-input{color:var(--ds-palette-black-70)}.ds-input__container.sc-ds-text-input ds-icon.prefix.sc-ds-text-input,.ds-input__container.sc-ds-text-input-s>[slot=prefix],.ds-input__container .sc-ds-text-input-s>[slot=prefix]{height:1.5rem;color:var(--ds-palette-black-95)}.ds-input__container.sc-ds-text-input ds-button.suffix.sc-ds-text-input{margin-top:calc(var(--ds-spacing-3xSmall) * -1);margin-right:calc(var(--ds-spacing-4xSmall) * -1);max-height:40px}";
|
|
9
9
|
|
|
10
10
|
const INPUT_TYPE_ICONS_MAP = {
|
|
11
11
|
search: 'search',
|
|
@@ -18,7 +18,9 @@ const inputIdGenerator = idGenerator('ds-input');
|
|
|
18
18
|
const DsTextInput = class {
|
|
19
19
|
constructor(hostRef) {
|
|
20
20
|
registerInstance(this, hostRef);
|
|
21
|
-
this.
|
|
21
|
+
this.dsChange = createEvent(this, "dsChange");
|
|
22
|
+
this.dsInput = createEvent(this, "dsInput");
|
|
23
|
+
this.dsClear = createEvent(this, "dsClear");
|
|
22
24
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
23
25
|
this.internals = hostRef.$hostElement$["s-ei"];
|
|
24
26
|
}
|
|
@@ -38,79 +40,86 @@ const DsTextInput = class {
|
|
|
38
40
|
hasSuffixSlot = false;
|
|
39
41
|
get el() { return getElement(this); }
|
|
40
42
|
internals;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
43
|
+
dsChange;
|
|
44
|
+
dsInput;
|
|
45
|
+
dsClear;
|
|
46
|
+
dsLabel;
|
|
47
|
+
dsPlaceholder;
|
|
48
|
+
dsId = inputIdGenerator.next().value;
|
|
49
|
+
dsName;
|
|
50
|
+
dsDisabled;
|
|
51
|
+
dsOptional;
|
|
52
|
+
dsRequired;
|
|
53
|
+
dsReadonly;
|
|
54
|
+
dsValue;
|
|
55
|
+
dsMin;
|
|
56
|
+
dsMax;
|
|
57
|
+
dsMaxLength;
|
|
58
|
+
dsPattern;
|
|
59
|
+
dsAutocomplete;
|
|
60
|
+
dsOptionalText;
|
|
61
|
+
dsErrorText;
|
|
62
|
+
dsSuccessText;
|
|
63
|
+
dsAssistiveText;
|
|
64
|
+
dsActionButtonAriaLabel;
|
|
65
|
+
dsHiddenAssistiveText;
|
|
66
|
+
dsPrefixText;
|
|
67
|
+
dsSuffixText;
|
|
68
|
+
dsIcon = '';
|
|
69
|
+
dsType = 'text';
|
|
70
|
+
dsAriaLabel;
|
|
71
|
+
dsAriaLabelledby;
|
|
72
|
+
dsAriaDescribedby;
|
|
69
73
|
hasFocus = false;
|
|
70
74
|
clearButtonVisible = false;
|
|
71
75
|
passwordInputVisible = false;
|
|
72
76
|
inputActive = false;
|
|
73
77
|
validationMessage;
|
|
74
78
|
setIds = () => {
|
|
75
|
-
this.assistiveTextId = `${this.
|
|
76
|
-
this.visuallyHiddenAssistiveTextId = `${this.
|
|
77
|
-
this.errorTextId = `${this.
|
|
78
|
-
this.successTextId = `${this.
|
|
79
|
+
this.assistiveTextId = `${this.dsId}-assistive-text`;
|
|
80
|
+
this.visuallyHiddenAssistiveTextId = `${this.dsId}-visually-hidden-assistive-text`;
|
|
81
|
+
this.errorTextId = `${this.dsId}-error-text`;
|
|
82
|
+
this.successTextId = `${this.dsId}-success-text`;
|
|
79
83
|
};
|
|
80
|
-
getValidationMessage = () => this.
|
|
84
|
+
getValidationMessage = () => this.dsErrorText || this.internals?.validationMessage || this.inputElement?.validationMessage;
|
|
81
85
|
async togglePasswordVisibility() {
|
|
82
86
|
return (this.passwordInputVisible = !this.passwordInputVisible);
|
|
83
87
|
}
|
|
84
|
-
async clearInput() {
|
|
85
|
-
this.
|
|
88
|
+
async clearInput(e) {
|
|
89
|
+
this.dsValue = '';
|
|
86
90
|
this.inputElement.focus();
|
|
87
91
|
this.clearButtonVisible = false;
|
|
88
|
-
this.
|
|
92
|
+
this.dsClear.emit({ event: e, value: this.dsValue });
|
|
93
|
+
}
|
|
94
|
+
valueObserver(value) {
|
|
95
|
+
this.dsChange.emit({ value });
|
|
89
96
|
}
|
|
90
97
|
getLabelText = () => {
|
|
91
|
-
if (this.
|
|
92
|
-
return getRequiredText(this.
|
|
98
|
+
if (this.dsRequired) {
|
|
99
|
+
return getRequiredText(this.dsLabel);
|
|
93
100
|
}
|
|
94
|
-
if (this.
|
|
95
|
-
return getOptionalText(this.
|
|
101
|
+
if (this.dsOptional) {
|
|
102
|
+
return getOptionalText(this.dsLabel, this.dsOptionalText);
|
|
96
103
|
}
|
|
97
|
-
return this.
|
|
104
|
+
return this.dsLabel;
|
|
98
105
|
};
|
|
99
106
|
componentWillLoad() {
|
|
100
107
|
this.inheritedAttributes = {
|
|
101
|
-
...inheritAttributes(this, this.el),
|
|
108
|
+
...inheritAttributes(this, this.el, ['id']),
|
|
102
109
|
};
|
|
103
110
|
this.setIds();
|
|
104
111
|
this.hasPrefixSlot = !!this.el.querySelector('[slot="prefix"]');
|
|
105
112
|
this.hasSuffixSlot = !!this.el.querySelector('[slot="suffix"]');
|
|
106
|
-
if (isValidation('server') || this.
|
|
113
|
+
if (isValidation('server') || this.dsErrorText) {
|
|
107
114
|
this.validationMessage = this.getValidationMessage();
|
|
108
115
|
}
|
|
109
116
|
}
|
|
110
117
|
handleInput = (e) => {
|
|
111
118
|
const target = e.target;
|
|
119
|
+
this.dsValue = target.value;
|
|
112
120
|
this.clearButtonVisible = !!target.value;
|
|
113
121
|
this.internals?.setFormValue(target.value);
|
|
122
|
+
this.dsInput.emit({ event: e, value: this.dsValue });
|
|
114
123
|
if (isValidation('client') && this.validationMessage) {
|
|
115
124
|
this.validationMessage = this.getValidationMessage();
|
|
116
125
|
}
|
|
@@ -123,11 +132,12 @@ const DsTextInput = class {
|
|
|
123
132
|
};
|
|
124
133
|
onActionButtonClicked = (e) => {
|
|
125
134
|
e.stopPropagation();
|
|
126
|
-
switch (this.
|
|
135
|
+
switch (this.dsType) {
|
|
127
136
|
case 'password':
|
|
128
137
|
return this.togglePasswordVisibility();
|
|
129
138
|
case 'search':
|
|
130
|
-
this.clearInput();
|
|
139
|
+
this.clearInput(e);
|
|
140
|
+
return;
|
|
131
141
|
default:
|
|
132
142
|
return;
|
|
133
143
|
}
|
|
@@ -136,12 +146,12 @@ const DsTextInput = class {
|
|
|
136
146
|
if (this.hasPrefixSlot) {
|
|
137
147
|
return h("slot", { name: "prefix" });
|
|
138
148
|
}
|
|
139
|
-
if (this.
|
|
140
|
-
return (h("slot", { name: "prefix" }, h("span", { class: "prefix" }, this.
|
|
149
|
+
if (this.dsPrefixText) {
|
|
150
|
+
return (h("slot", { name: "prefix" }, h("span", { class: "prefix" }, this.dsPrefixText)));
|
|
141
151
|
}
|
|
142
|
-
const prefixIcon = this.
|
|
152
|
+
const prefixIcon = this.dsIcon || INPUT_TYPE_ICONS_MAP[this.dsType];
|
|
143
153
|
if (prefixIcon) {
|
|
144
|
-
return (h("slot", { name: "prefix" }, h("ds-icon", { class: "prefix",
|
|
154
|
+
return (h("slot", { name: "prefix" }, h("ds-icon", { class: "prefix", dsName: prefixIcon })));
|
|
145
155
|
}
|
|
146
156
|
return null;
|
|
147
157
|
}
|
|
@@ -149,13 +159,13 @@ const DsTextInput = class {
|
|
|
149
159
|
if (this.hasSuffixSlot) {
|
|
150
160
|
return h("slot", { name: "suffix" });
|
|
151
161
|
}
|
|
152
|
-
if (this.
|
|
153
|
-
return (h("slot", { name: "suffix" }, h("span", { class: "suffix" }, this.
|
|
162
|
+
if (this.dsSuffixText) {
|
|
163
|
+
return (h("slot", { name: "suffix" }, h("span", { class: "suffix" }, this.dsSuffixText)));
|
|
154
164
|
}
|
|
155
|
-
const actionButtonIcon = INPUT_TYPE_ACTION_BUTTON_ICON_MAP[this.
|
|
156
|
-
const ariaPressed = this.
|
|
165
|
+
const actionButtonIcon = INPUT_TYPE_ACTION_BUTTON_ICON_MAP[this.dsType]?.(this) ?? '';
|
|
166
|
+
const ariaPressed = this.dsType === 'password' ? this.passwordInputVisible : undefined;
|
|
157
167
|
if (actionButtonIcon) {
|
|
158
|
-
return (h("slot", { name: "suffix" }, h("ds-button", { ref: e => (this.suffixButtonElement = e),
|
|
168
|
+
return (h("slot", { name: "suffix" }, h("ds-button", { ref: e => (this.suffixButtonElement = e), dsVariant: "supplementary", dsColour: "black", class: "suffix", dsDisabled: false, dsIcon: actionButtonIcon, onClick: this.onActionButtonClicked, "aria-pressed": ariaPressed, "aria-label": this.dsActionButtonAriaLabel })));
|
|
159
169
|
}
|
|
160
170
|
return null;
|
|
161
171
|
}
|
|
@@ -165,22 +175,27 @@ const DsTextInput = class {
|
|
|
165
175
|
this.inputElement.focus();
|
|
166
176
|
}
|
|
167
177
|
render() {
|
|
168
|
-
const inputType = this.
|
|
169
|
-
return (h(Fragment, { key: '
|
|
170
|
-
disabled: this.
|
|
171
|
-
readonly: this.
|
|
172
|
-
valid: !!this.
|
|
178
|
+
const inputType = this.dsType === 'password' && this.passwordInputVisible ? 'text' : this.dsType;
|
|
179
|
+
return (h(Fragment, { key: '015e667345613d819eb885bdfde2011eefc60577' }, h("div", { key: 'abc03d3418fb9c648bc4d8039a4602366b6125c8', class: "ds-input__label-container" }, h("slot", { key: '9b660821e35939092570b4f6f449caca22771dcb', name: "label" }, h("label", { key: '96efa9db67a1f51f3380f7a3c350a8da45df9e1e', htmlFor: this.dsId }, this.getLabelText())), h("slot", { key: 'a5cb893f2c69efb68b7557fe5d253b58e7930f4c', name: "assistiveText" }, h("small", { key: '341f60604eb3b795bcaf5d81306dc349d0093647', id: this.assistiveTextId }, this.dsAssistiveText), h("ds-visually-hidden", { key: '613244a6dd9bb180a82c4250514ab74392cbaee8', id: this.visuallyHiddenAssistiveTextId }, this.dsHiddenAssistiveText))), h("div", { key: 'e0fb89582c7651eb00ec0dce5f5c4d0648840237', onMouseDown: () => (this.inputActive = true), onMouseUp: () => (this.inputActive = false), onClick: e => this.handleInputContainerClick(e), class: classNames('ds-input__container', {
|
|
180
|
+
disabled: this.dsDisabled,
|
|
181
|
+
readonly: this.dsReadonly,
|
|
182
|
+
valid: !!this.dsSuccessText,
|
|
173
183
|
invalid: !!this.validationMessage,
|
|
174
184
|
focus: this.hasFocus,
|
|
175
185
|
active: !!this.inputActive,
|
|
176
|
-
}) }, this.renderPrefixContent(), h("input", { key: '
|
|
177
|
-
classNames(
|
|
178
|
-
[this.
|
|
179
|
-
[this.
|
|
180
|
-
|
|
186
|
+
}) }, this.renderPrefixContent(), h("input", { key: '5ad15cf4d756aae913e08bfd71338ea3d80c11b9', ref: e => (this.inputElement = e), id: this.dsId, name: this.dsName, "aria-label": this.dsAriaLabel, "aria-labelledby": this.dsAriaLabelledby, "aria-describedby": this.dsAriaDescribedby ||
|
|
187
|
+
classNames({
|
|
188
|
+
[this.assistiveTextId]: !!this.dsAssistiveText,
|
|
189
|
+
[this.visuallyHiddenAssistiveTextId]: !!this.dsHiddenAssistiveText,
|
|
190
|
+
[this.errorTextId]: !!this.validationMessage,
|
|
191
|
+
[this.successTextId]: !!this.dsSuccessText,
|
|
192
|
+
}), "aria-invalid": this.validationMessage ? 'true' : 'false', disabled: this.dsDisabled, required: this.dsRequired, readonly: this.dsReadonly, value: this.dsValue, type: inputType, min: this.dsMin, max: this.dsMax, maxlength: this.dsMaxLength, pattern: this.dsPattern, placeholder: this.dsPlaceholder, autocomplete: this.dsAutocomplete, onInput: this.handleInput, onFocus: () => (this.hasFocus = true), onBlur: this.handleBlur, ...this.inheritedAttributes }), this.renderSuffixContent()), h("slot", { key: '4e378385106dd578542a99303cd4217e7bf21694', name: "validity" }, h("ds-input-validity", { key: '367fab0f5d7446f99a028e881fa5c8ab8d9829e5', id: this.errorTextId, dsText: this.validationMessage, dsType: "error", dsValidityRole: "alert" }), h("ds-input-validity", { key: '8c35c70e4beb5ade4a5f8f6fb2a35d94be57cd98', id: this.successTextId, dsText: this.dsSuccessText, dsType: "success", dsValidityRole: "status" }))));
|
|
181
193
|
}
|
|
182
194
|
static get formAssociated() { return true; }
|
|
195
|
+
static get watchers() { return {
|
|
196
|
+
"value": ["valueObserver"]
|
|
197
|
+
}; }
|
|
183
198
|
};
|
|
184
|
-
DsTextInput.style =
|
|
199
|
+
DsTextInput.style = dsTextInputCss;
|
|
185
200
|
|
|
186
201
|
export { DsTextInput as ds_text_input };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-Cm7V4EAn.js';
|
|
2
2
|
|
|
3
3
|
const dsVisuallyHiddenCss = ".ds-visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}";
|
|
4
|
-
const DsVisuallyHiddenStyle0 = dsVisuallyHiddenCss;
|
|
5
4
|
|
|
6
5
|
const DsVisuallyHidden = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'faa791957259a5ef05d2417a7b316e4cdabd8291', class: "ds-visually-hidden" }, h("slot", { key: 'd7c192f15bf2d74700205ad29f3bb78d0f9cce80' })));
|
|
12
11
|
}
|
|
13
12
|
};
|
|
14
|
-
DsVisuallyHidden.style =
|
|
13
|
+
DsVisuallyHidden.style = dsVisuallyHiddenCss;
|
|
15
14
|
|
|
16
15
|
export { DsVisuallyHidden as ds_visually_hidden };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
function getDefaultExportFromCjs (x) {
|
|
2
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
var classnames = {exports: {}};
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
Copyright (c) 2018 Jed Watson.
|
|
9
|
+
Licensed under the MIT License (MIT), see
|
|
10
|
+
http://jedwatson.github.io/classnames
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
var hasRequiredClassnames;
|
|
14
|
+
|
|
15
|
+
function requireClassnames () {
|
|
16
|
+
if (hasRequiredClassnames) return classnames.exports;
|
|
17
|
+
hasRequiredClassnames = 1;
|
|
18
|
+
(function (module) {
|
|
19
|
+
/* global define */
|
|
20
|
+
|
|
21
|
+
(function () {
|
|
22
|
+
|
|
23
|
+
var hasOwn = {}.hasOwnProperty;
|
|
24
|
+
|
|
25
|
+
function classNames () {
|
|
26
|
+
var classes = '';
|
|
27
|
+
|
|
28
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
29
|
+
var arg = arguments[i];
|
|
30
|
+
if (arg) {
|
|
31
|
+
classes = appendClass(classes, parseValue(arg));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return classes;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function parseValue (arg) {
|
|
39
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
40
|
+
return arg;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (typeof arg !== 'object') {
|
|
44
|
+
return '';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (Array.isArray(arg)) {
|
|
48
|
+
return classNames.apply(null, arg);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
52
|
+
return arg.toString();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
var classes = '';
|
|
56
|
+
|
|
57
|
+
for (var key in arg) {
|
|
58
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
59
|
+
classes = appendClass(classes, key);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return classes;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function appendClass (value, newClass) {
|
|
67
|
+
if (!newClass) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (value) {
|
|
72
|
+
return value + ' ' + newClass;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return value + newClass;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (module.exports) {
|
|
79
|
+
classNames.default = classNames;
|
|
80
|
+
module.exports = classNames;
|
|
81
|
+
} else {
|
|
82
|
+
window.classNames = classNames;
|
|
83
|
+
}
|
|
84
|
+
}());
|
|
85
|
+
} (classnames));
|
|
86
|
+
return classnames.exports;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
var classnamesExports = requireClassnames();
|
|
90
|
+
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
91
|
+
|
|
92
|
+
export { classNames as c };
|