@clay-design-system/tokens 0.12.0 → 0.14.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/TOKEN_REFERENCE.md +1 -1
- package/dist/tokens.css +4 -0
- package/dist/tokens.d.ts +4 -0
- package/dist/tokens.js +4 -0
- package/dist/tokens.resolved.css +4 -0
- package/package.json +1 -1
package/dist/TOKEN_REFERENCE.md
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -280,6 +280,9 @@
|
|
|
280
280
|
--clay-web-features-section-stroke-media-max-width-desktop: 640; /** `.strokeMedia` max-width — px */
|
|
281
281
|
--clay-web-features-section-tc-card-basis-desktop: 860; /** `.tcCard` flex — px */
|
|
282
282
|
--clay-web-features-section-na-panel-basis-desktop: 82; /** `.naPanel` flex; `.naPanelSide` flex; `.naPanelSide` min-width — px */
|
|
283
|
+
--clay-web-features-section-na-media-max-height-tablet: 400; /** `.naMobileMedia` media max-height (768–991) — px */
|
|
284
|
+
--clay-web-features-section-na-media-max-height-laptop: 400; /** `.naMedia` media max-height (992–1279) — px */
|
|
285
|
+
--clay-web-features-section-na-media-max-height-desktop: 560; /** `.naMedia` media max-height (1280+) — px */
|
|
283
286
|
--clay-web-features-section-na-label-wrap-width-desktop: 34; /** `.naLabelWrap` width — px */
|
|
284
287
|
--clay-web-features-section-sn-rows-max-width-desktop: 992; /** `.snRows` max-width — px */
|
|
285
288
|
--clay-web-features-section-section-heading-max-width: 768; /** `.hiHeader` max-width; `.naSectionHeader` max-width; `.hmtSectionHeading` max-width; +1 more — px */
|
|
@@ -423,6 +426,7 @@
|
|
|
423
426
|
--clay-size-icon-check: 14;
|
|
424
427
|
--clay-size-icon-menu: 20;
|
|
425
428
|
--clay-size-input-min-height: 40;
|
|
429
|
+
--clay-size-tap-target: 44; /** Minimum tap-target size (WCAG 2.5.5 / web-qa M1): the min-height / min-width of any link or control that is not a sized DS Button. Unitless px: calc(var(--clay-size-tap-target) * 1px). */
|
|
426
430
|
--clay-size-toggle-track-width: 40;
|
|
427
431
|
--clay-size-toggle-thumb: 16;
|
|
428
432
|
--clay-size-toggle-thumb-offset: 4;
|
package/dist/tokens.d.ts
CHANGED
|
@@ -416,6 +416,9 @@ export declare const ClayWebFeaturesSectionLrmMediaMaxWidthLaptop: number;
|
|
|
416
416
|
export declare const ClayWebFeaturesSectionStrokeMediaMaxWidthDesktop: number;
|
|
417
417
|
export declare const ClayWebFeaturesSectionTcCardBasisDesktop: number;
|
|
418
418
|
export declare const ClayWebFeaturesSectionNaPanelBasisDesktop: number;
|
|
419
|
+
export declare const ClayWebFeaturesSectionNaMediaMaxHeightTablet: number;
|
|
420
|
+
export declare const ClayWebFeaturesSectionNaMediaMaxHeightLaptop: number;
|
|
421
|
+
export declare const ClayWebFeaturesSectionNaMediaMaxHeightDesktop: number;
|
|
419
422
|
export declare const ClayWebFeaturesSectionNaLabelWrapWidthDesktop: number;
|
|
420
423
|
export declare const ClayWebFeaturesSectionSnRowsMaxWidthDesktop: number;
|
|
421
424
|
export declare const ClayWebFeaturesSectionSectionHeadingMaxWidth: number;
|
|
@@ -586,6 +589,7 @@ export declare const ClaySizeIconXsmall: number;
|
|
|
586
589
|
export declare const ClaySizeIconCheck: number;
|
|
587
590
|
export declare const ClaySizeIconMenu: number;
|
|
588
591
|
export declare const ClaySizeInputMinHeight: number;
|
|
592
|
+
export declare const ClaySizeTapTarget: number;
|
|
589
593
|
export declare const ClaySizeToggleTrackWidth: number;
|
|
590
594
|
export declare const ClaySizeToggleThumb: number;
|
|
591
595
|
export declare const ClaySizeToggleThumbOffset: number;
|
package/dist/tokens.js
CHANGED
|
@@ -430,6 +430,9 @@ export const ClayWebFeaturesSectionLrmMediaMaxWidthLaptop = 656; // `.lrmMedia`
|
|
|
430
430
|
export const ClayWebFeaturesSectionStrokeMediaMaxWidthDesktop = 640; // `.strokeMedia` max-width — px
|
|
431
431
|
export const ClayWebFeaturesSectionTcCardBasisDesktop = 860; // `.tcCard` flex — px
|
|
432
432
|
export const ClayWebFeaturesSectionNaPanelBasisDesktop = 82; // `.naPanel` flex; `.naPanelSide` flex; `.naPanelSide` min-width — px
|
|
433
|
+
export const ClayWebFeaturesSectionNaMediaMaxHeightTablet = 400; // `.naMobileMedia` media max-height (768–991) — px
|
|
434
|
+
export const ClayWebFeaturesSectionNaMediaMaxHeightLaptop = 400; // `.naMedia` media max-height (992–1279) — px
|
|
435
|
+
export const ClayWebFeaturesSectionNaMediaMaxHeightDesktop = 560; // `.naMedia` media max-height (1280+) — px
|
|
433
436
|
export const ClayWebFeaturesSectionNaLabelWrapWidthDesktop = 34; // `.naLabelWrap` width — px
|
|
434
437
|
export const ClayWebFeaturesSectionSnRowsMaxWidthDesktop = 992; // `.snRows` max-width — px
|
|
435
438
|
export const ClayWebFeaturesSectionSectionHeadingMaxWidth = 768; // `.hiHeader` max-width; `.naSectionHeader` max-width; `.hmtSectionHeading` max-width; +1 more — px
|
|
@@ -606,6 +609,7 @@ export const ClaySizeIconXsmall = 12;
|
|
|
606
609
|
export const ClaySizeIconCheck = 14;
|
|
607
610
|
export const ClaySizeIconMenu = 20;
|
|
608
611
|
export const ClaySizeInputMinHeight = 40;
|
|
612
|
+
export const ClaySizeTapTarget = 44; // Minimum tap-target size (WCAG 2.5.5 / web-qa M1): the min-height / min-width of any link or control that is not a sized DS Button. Unitless px: calc(var(--clay-size-tap-target) * 1px).
|
|
609
613
|
export const ClaySizeToggleTrackWidth = 40;
|
|
610
614
|
export const ClaySizeToggleThumb = 16;
|
|
611
615
|
export const ClaySizeToggleThumbOffset = 4;
|
package/dist/tokens.resolved.css
CHANGED
|
@@ -426,6 +426,9 @@
|
|
|
426
426
|
--clay-web-features-section-stroke-media-max-width-desktop: 640; /** `.strokeMedia` max-width — px */
|
|
427
427
|
--clay-web-features-section-tc-card-basis-desktop: 860; /** `.tcCard` flex — px */
|
|
428
428
|
--clay-web-features-section-na-panel-basis-desktop: 82; /** `.naPanel` flex; `.naPanelSide` flex; `.naPanelSide` min-width — px */
|
|
429
|
+
--clay-web-features-section-na-media-max-height-tablet: 400; /** `.naMobileMedia` media max-height (768–991) — px */
|
|
430
|
+
--clay-web-features-section-na-media-max-height-laptop: 400; /** `.naMedia` media max-height (992–1279) — px */
|
|
431
|
+
--clay-web-features-section-na-media-max-height-desktop: 560; /** `.naMedia` media max-height (1280+) — px */
|
|
429
432
|
--clay-web-features-section-na-label-wrap-width-desktop: 34; /** `.naLabelWrap` width — px */
|
|
430
433
|
--clay-web-features-section-sn-rows-max-width-desktop: 992; /** `.snRows` max-width — px */
|
|
431
434
|
--clay-web-features-section-section-heading-max-width: 768; /** `.hiHeader` max-width; `.naSectionHeader` max-width; `.hmtSectionHeading` max-width; +1 more — px */
|
|
@@ -599,6 +602,7 @@
|
|
|
599
602
|
--clay-size-icon-check: 14;
|
|
600
603
|
--clay-size-icon-menu: 20;
|
|
601
604
|
--clay-size-input-min-height: 40;
|
|
605
|
+
--clay-size-tap-target: 44; /** Minimum tap-target size (WCAG 2.5.5 / web-qa M1): the min-height / min-width of any link or control that is not a sized DS Button. Unitless px: calc(var(--clay-size-tap-target) * 1px). */
|
|
602
606
|
--clay-size-toggle-track-width: 40;
|
|
603
607
|
--clay-size-toggle-thumb: 16;
|
|
604
608
|
--clay-size-toggle-thumb-offset: 4;
|