@wistia/kaleidoscope 0.0.6 → 0.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{color-BY2NrNVz.js → color-BgYVUbOQ.js} +3 -3
  3. package/dist/{color-BY2NrNVz.js.map → color-BgYVUbOQ.js.map} +1 -1
  4. package/dist/{engine-DeOUPRa0.js → engine-DHDkDPaV.js} +385 -80
  5. package/dist/engine-DHDkDPaV.js.map +1 -0
  6. package/dist/entries/color.js +3 -3
  7. package/dist/entries/engine.js +2 -2
  8. package/dist/entries/styleRegistry.js +2 -2
  9. package/dist/entries/validate.js +2 -2
  10. package/dist/entries/vocabulary.js +3 -3
  11. package/dist/{getColorLightnessClassification--FSkjXEx.js → getColorLightnessClassification-C6BXD8Da.js} +2 -2
  12. package/dist/{getColorLightnessClassification--FSkjXEx.js.map → getColorLightnessClassification-C6BXD8Da.js.map} +1 -1
  13. package/dist/{guards-t_cf_IOV.js → guards-BJfumKYK.js} +2 -2
  14. package/dist/{guards-t_cf_IOV.js.map → guards-BJfumKYK.js.map} +1 -1
  15. package/dist/index.js +8 -8
  16. package/dist/{styleRegistry-CT4jvu4h.js → styleRegistry-Dcho9r3B.js} +31 -31
  17. package/dist/styleRegistry-Dcho9r3B.js.map +1 -0
  18. package/dist/{styleVocabulary-DcxbkEvK.js → styleVocabulary-DMhXOr4F.js} +2 -2
  19. package/dist/{styleVocabulary-DcxbkEvK.js.map → styleVocabulary-DMhXOr4F.js.map} +1 -1
  20. package/dist/{typography-BA9Pz8Im.js → typography-BLPIIq_8.js} +2 -2
  21. package/dist/{typography-BA9Pz8Im.js.map → typography-BLPIIq_8.js.map} +1 -1
  22. package/dist/{validate-D-OR7_3g.js → validate-BkOpEpch.js} +5 -5
  23. package/dist/{validate-D-OR7_3g.js.map → validate-BkOpEpch.js.map} +1 -1
  24. package/package.json +2 -2
  25. package/styles/glass-dark.json +13 -13
  26. package/styles/glass-light.json +16 -16
  27. package/dist/engine-DeOUPRa0.js.map +0 -1
  28. package/dist/styleRegistry-CT4jvu4h.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/kaleidoscope v0.0.6
3
+ * @license @wistia/kaleidoscope v0.0.7
4
4
  *
5
5
  * Copyright (c) 2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -458,7 +458,7 @@ const GLASS_DARK = {
458
458
  from: "source",
459
459
  invert: "never"
460
460
  },
461
- textColor: "derive",
461
+ textColor: "#ffffff",
462
462
  elevation: {
463
463
  depth: "none",
464
464
  hardness: "soft",
@@ -483,11 +483,11 @@ const GLASS_DARK = {
483
483
  from: "source",
484
484
  invert: "never"
485
485
  },
486
- textColor: "derive",
486
+ textColor: "#ffffff",
487
487
  border: {
488
- width: .5,
489
- source: "anchors.colors.ground",
490
- offset: 1,
488
+ width: 0,
489
+ source: "surface",
490
+ offset: 0,
491
491
  style: "solid"
492
492
  },
493
493
  elevation: {
@@ -514,11 +514,11 @@ const GLASS_DARK = {
514
514
  from: "source",
515
515
  invert: "never"
516
516
  },
517
- textColor: "derive",
517
+ textColor: "#ffffff",
518
518
  border: {
519
- width: .5,
520
- source: "anchors.colors.ground",
521
- offset: 1,
519
+ width: 0,
520
+ source: "surface",
521
+ offset: 0,
522
522
  style: "solid"
523
523
  },
524
524
  elevation: {
@@ -576,11 +576,11 @@ const GLASS_DARK = {
576
576
  from: "source",
577
577
  invert: "never"
578
578
  },
579
- textColor: "derive",
579
+ textColor: "#ffffff",
580
580
  border: {
581
- width: .5,
582
- source: "anchors.colors.ground",
583
- offset: 1,
581
+ width: 0,
582
+ source: "surface",
583
+ offset: 0,
584
584
  style: "solid"
585
585
  },
586
586
  elevation: {
@@ -648,7 +648,7 @@ const GLASS_LIGHT = {
648
648
  from: "source",
649
649
  invert: "never"
650
650
  },
651
- textColor: "derive",
651
+ textColor: "#000000",
652
652
  elevation: {
653
653
  depth: "none",
654
654
  hardness: "soft",
@@ -673,15 +673,15 @@ const GLASS_LIGHT = {
673
673
  from: "source",
674
674
  invert: "never"
675
675
  },
676
- textColor: "derive",
676
+ textColor: "#000000",
677
677
  border: {
678
- width: .5,
679
- source: "anchors.colors.ground",
680
- offset: 1,
678
+ width: 0,
679
+ source: "surface",
680
+ offset: 0,
681
681
  style: "solid"
682
682
  },
683
683
  elevation: {
684
- depth: "low",
684
+ depth: "none",
685
685
  hardness: "soft",
686
686
  source: "shade"
687
687
  },
@@ -704,15 +704,15 @@ const GLASS_LIGHT = {
704
704
  from: "source",
705
705
  invert: "never"
706
706
  },
707
- textColor: "derive",
707
+ textColor: "#000000",
708
708
  border: {
709
- width: .5,
710
- source: "anchors.colors.ground",
711
- offset: 1,
709
+ width: 0,
710
+ source: "surface",
711
+ offset: 0,
712
712
  style: "solid"
713
713
  },
714
714
  elevation: {
715
- depth: "low",
715
+ depth: "none",
716
716
  hardness: "soft",
717
717
  source: "shade"
718
718
  },
@@ -761,16 +761,16 @@ const GLASS_LIGHT = {
761
761
  buttonSecondary: {
762
762
  treatment: "glassy",
763
763
  backgroundColor: {
764
- source: "parent",
764
+ source: "anchors.colors.ground",
765
765
  offset: 0,
766
766
  from: "source",
767
767
  invert: "never"
768
768
  },
769
- textColor: "derive",
769
+ textColor: "#000000",
770
770
  border: {
771
- width: .5,
772
- source: "anchors.colors.ground",
773
- offset: 1,
771
+ width: 0,
772
+ source: "surface",
773
+ offset: 0,
774
774
  style: "solid"
775
775
  },
776
776
  elevation: {
@@ -1766,4 +1766,4 @@ const PRE_DEFINED_STYLES = [
1766
1766
  ];
1767
1767
  export { OPAQUE_HEAVY as a, GLASS_DARK as c, OPAQUE_LIGHT as i, AURORA_LIGHT as l, OPAQUE_MINIMAL as n, OPAQUE_BRIGHT as o, OPAQUE_MEDIUM as r, GLASS_LIGHT as s, PRE_DEFINED_STYLES as t, AURORA_DARK as u };
1768
1768
 
1769
- //# sourceMappingURL=styleRegistry-CT4jvu4h.js.map
1769
+ //# sourceMappingURL=styleRegistry-Dcho9r3B.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleRegistry-Dcho9r3B.js","names":[],"sources":["../src/styles/auroraDark.ts","../src/styles/auroraLight.ts","../src/styles/glassDark.ts","../src/styles/glassLight.ts","../src/styles/opaqueBright.ts","../src/styles/opaqueHeavy.ts","../src/styles/opaqueLight.ts","../src/styles/opaqueMedium.ts","../src/styles/opaqueMinimal.ts","../src/styles/preDefinedStyles.ts"],"sourcesContent":["import type { StyleDocument } from '../styleVocabulary';\n\nexport const AURORA_DARK: StyleDocument = {\n id: 'aurora-dark',\n name: 'Aurora Dark',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: '#000000',\n primary: '$primaryColor',\n ground: '#181819',\n gradientStops: [\n '$primaryColor',\n {\n from: '$primaryColor',\n relation: 'complementary',\n },\n {\n from: '$primaryColor',\n relation: 'analogous',\n },\n ],\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'gradient',\n gradientShape: { kind: 'glows' },\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'drift',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const AURORA_LIGHT: StyleDocument = {\n id: 'aurora-light',\n name: 'Aurora Light',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: '#f3f3f3',\n primary: '$primaryColor',\n ground: '#ffffff',\n gradientStops: [\n '$primaryColor',\n {\n from: '$primaryColor',\n relation: 'complementary',\n },\n {\n from: '$primaryColor',\n relation: 'analogous',\n },\n ],\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'gradient',\n gradientShape: { kind: 'glows' },\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'drift',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 1,\n source: 'surface',\n offset: 1,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const GLASS_DARK: StyleDocument = {\n id: 'glass-dark',\n name: 'Glass Dark',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: 20,\n },\n colors: {\n pageBackground: '$pageBackgroundColor',\n primary: '$primaryColor',\n ground: '#000000',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#ffffff',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#ffffff',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#ffffff',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'parent',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#ffffff',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const GLASS_LIGHT: StyleDocument = {\n id: 'glass-light',\n name: 'Glass Light',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: 20,\n },\n colors: {\n pageBackground: '$pageBackgroundColor',\n primary: '$primaryColor',\n ground: '#ffffff',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#000000',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#000000',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#000000',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'glassy',\n backgroundColor: {\n source: 'anchors.colors.ground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: '#000000',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const OPAQUE_BRIGHT: StyleDocument = {\n id: 'opaque-bright',\n name: 'Opaque Bright',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: { from: '$primaryColor', tone: 'light' },\n primary: '$primaryColor',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 2,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'when-indistinct',\n },\n textColor: {\n source: 'anchors.colors.primary',\n offset: 11,\n },\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 3,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const OPAQUE_HEAVY: StyleDocument = {\n id: 'opaque-heavy',\n name: 'Opaque Heavy',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: { from: '$primaryColor', tone: 'dark' },\n primary: '$primaryColor',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 2,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'when-indistinct',\n },\n textColor: {\n source: 'anchors.colors.primary',\n offset: 11,\n },\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 3,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const OPAQUE_LIGHT: StyleDocument = {\n id: 'opaque-light',\n name: 'Opaque Light',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: '$pageBackgroundColor',\n primary: '$primaryColor',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 1,\n from: 'parent',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 3,\n from: 'parent',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const OPAQUE_MEDIUM: StyleDocument = {\n id: 'opaque-medium',\n name: 'Opaque Medium',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: '$pageBackgroundColor',\n primary: '$primaryColor',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 2,\n from: 'parent',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 2,\n from: 'parent',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'when-indistinct',\n },\n textColor: {\n source: 'anchors.colors.primary',\n offset: 11,\n },\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 3,\n from: 'parent',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\n\nexport const OPAQUE_MINIMAL: StyleDocument = {\n id: 'opaque-minimal',\n name: 'Opaque Minimal',\n schemaVersion: 1,\n typography: {\n heading: {\n font: 'anchors.fonts.heading',\n fontSize: 32,\n fontWeight: 700,\n case: 'as-typed',\n },\n body: {\n font: 'anchors.fonts.body',\n fontSize: 16,\n fontWeight: 400,\n case: 'as-typed',\n },\n button: {\n font: 'anchors.fonts.button',\n fontSize: 18,\n fontWeight: 700,\n case: 'as-typed',\n },\n },\n anchors: {\n dimensions: {\n borderRadius: '$borderRadius',\n },\n colors: {\n pageBackground: '$pageBackgroundColor',\n primary: '$primaryColor',\n },\n fonts: {\n heading: '$headingFontFamily',\n body: '$bodyFontFamily',\n button: '$buttonFontFamily',\n },\n },\n surfaces: {\n page: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n panel: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 1,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'none',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n card: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.pageBackground',\n offset: 2,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'low',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'smooth',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonPrimary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'anchors.colors.primary',\n offset: 0,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n buttonSecondary: {\n treatment: 'flat',\n backgroundColor: {\n source: 'parent',\n offset: 3,\n from: 'source',\n invert: 'never',\n },\n textColor: 'derive',\n border: {\n width: 0,\n source: 'surface',\n offset: 0,\n style: 'solid',\n },\n elevation: {\n depth: 'none',\n hardness: 'soft',\n source: 'shade',\n },\n motion: {\n ambient: 'none',\n speed: 'slow',\n transition: 'quick',\n },\n radius: {\n source: 'anchors.dimensions.borderRadius',\n },\n texture: {\n kind: 'none',\n intensity: 'low',\n },\n },\n },\n};\n","import type { StyleDocument } from '../styleVocabulary';\nimport { AURORA_DARK } from './auroraDark';\nimport { AURORA_LIGHT } from './auroraLight';\nimport { GLASS_DARK } from './glassDark';\nimport { GLASS_LIGHT } from './glassLight';\nimport { OPAQUE_BRIGHT } from './opaqueBright';\nimport { OPAQUE_HEAVY } from './opaqueHeavy';\nimport { OPAQUE_LIGHT } from './opaqueLight';\nimport { OPAQUE_MEDIUM } from './opaqueMedium';\nimport { OPAQUE_MINIMAL } from './opaqueMinimal';\n\n/** Every Style that ships with the package. */\nexport const PRE_DEFINED_STYLES: readonly StyleDocument[] = [\n GLASS_DARK,\n GLASS_LIGHT,\n OPAQUE_MINIMAL,\n OPAQUE_LIGHT,\n OPAQUE_MEDIUM,\n OPAQUE_HEAVY,\n OPAQUE_BRIGHT,\n AURORA_LIGHT,\n AURORA_DARK,\n];\n"],"mappings":";;;;;;;;;;AAEA,MAAa,cAA6B;CACxC,IAAI;CACJ,MAAM;CACN,eAAe;CACf,YAAY;EACV,SAAS;GACP,MAAM;GACN,UAAU;GACV,YAAY;GACZ,MAAM;EACR;EACA,MAAM;GACJ,M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
- * @license @wistia/kaleidoscope v0.0.6
3
+ * @license @wistia/kaleidoscope v0.0.7
4
4
  *
5
5
  * Copyright (c) 2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -220,4 +220,4 @@ const DOCUMENT_KEYS = [
220
220
  ];
221
221
  export { REQUIRED_FONT_ANCHORS as A, ANCHORS_REQUIRED_BY_TREATMENT as C, OPTIONAL_COLOR_ANCHORS as D, COLOR_ANCHOR_NAMES as E, REQUIRED_COLOR_ANCHORS as O, MAX_COLOR_SCALE_OFFSET as S, ANCHOR_REF_PREFIX as T, INVERT_RULES as _, AMBIENT_MOTIONS as a, COLOR_TONES as b, GRADIENT_DIRECTIONS as c, GRADIENT_SHAPE_OPTIONS as d, MAX_GRADIENT_STOPS as f, ELEVATION_HARDNESSES as g, ELEVATION_DEPTHS as h, TEXTURE_KINDS as i, SINGLE_COLOR_ANCHOR_NAMES as j, REQUIRED_DIMENSION_ANCHORS as k, GRADIENT_EXTENTS as l, ELEVATION_COLOR_SOURCE_KEYWORDS as m, TREATMENTS as n, MOTION_SPEEDS as o, MIN_GRADIENT_STOPS as p, TEXTURE_INTENSITIES as r, TRANSITIONS as s, DOCUMENT_KEYS as t, GRADIENT_POSITIONS as u, OFFSET_ORIGINS as v, ANCHOR_GROUPS as w, GENERIC_FONT_FAMILIES as x, COLOR_RELATIONSHIPS as y };
222
222
 
223
- //# sourceMappingURL=styleVocabulary-DcxbkEvK.js.map
223
+ //# sourceMappingURL=styleVocabulary-DMhXOr4F.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styleVocabulary-DcxbkEvK.js","names":[],"sources":["../src/styleVocabulary/anchors.ts","../src/styleVocabulary/anchorValues.ts","../src/styleVocabulary/backgroundColor.ts","../src/styleVocabulary/elevation.ts","../src/styleVocabulary/gradientShape.ts","../src/styleVocabulary/motion.ts","../src/styleVocabulary/texture.ts","../src/styleVocabulary/treatment.ts","../src/styleVocabulary/index.ts"],"sourcesContent":["import type { Dimension, FontStack, SingleColor, BrandKitTokenRef } from './anchorValues';\nimport type { GradientStops } from './gradientShape';\nimport type { Treatment } from './treatment';\n\nexport const ANCHOR_GROUPS = ['dimensions', 'colors', 'fonts'] as const;\nexport type AnchorGroup = (typeof ANCHOR_GROUPS)[number];\n\n/**\n * Like the required color and font anchors, the required dimension anchors map up to Brand Kit\n * options. A Style may hard-code one instead: Glass does, because the glass effect needs\n * generous rounding.\n */\nexport const REQUIRED_DIMENSION_ANCHORS = ['borderRadius'] as const;\nexport type RequiredDimensionAnchor = (typeof REQUIRED_DIMENSION_ANCHORS)[number];\n\nexport const COLOR_ANCHOR_NAMES = ['pageBackground', 'primary', 'ground', 'gradientStops'] as const;\nexport type ColorAnchorName = (typeof COLOR_ANCHOR_NAMES)[number];\n\n/**\n * The required color anchors should correlate to whatever Brand Kit tokens exist,\n * currently pageBackgroundColor and primaryColor.\n * If an accentColor is supported in the future, we'll add it here.\n */\nexport const REQUIRED_COLOR_ANCHORS = ['pageBackground', 'primary'] as const;\nexport type RequiredColorAnchor = (typeof REQUIRED_COLOR_ANCHORS)[number];\n\n/**\n * These colors are optional, based on which Style and/or treatment is applied to a surface.\n * Glass styles use the ground color as the background for the glass effect: dark or light.\n * The aurora styles use the ground color as a hard-coded value for the backgrounds of cards and panels.\n */\nexport const OPTIONAL_COLOR_ANCHORS = ['ground', 'gradientStops'] as const;\nexport type OptionalColorAnchor = (typeof OPTIONAL_COLOR_ANCHORS)[number];\n\n/**\n * Like the required color anchors, the required font anchors map up to the options defined by Brand Kits.\n */\nexport const REQUIRED_FONT_ANCHORS = ['heading', 'body', 'button'] as const;\nexport type RequiredFontAnchor = (typeof REQUIRED_FONT_ANCHORS)[number];\n\n/**\n * The color anchors that hold one color. `gradientStops` holds a list, so only a gradient can read\n * it — every setting that resolves to a single color names one of these instead.\n */\nexport const SINGLE_COLOR_ANCHOR_NAMES = ['pageBackground', 'primary', 'ground'] as const;\nexport type SingleColorAnchorName = (typeof SINGLE_COLOR_ANCHOR_NAMES)[number];\n\nexport const ANCHOR_REF_PREFIX = 'anchors.';\n\nexport type ColorAnchorRef = `anchors.colors.${ColorAnchorName}`;\nexport type SingleColorAnchorRef = `anchors.colors.${SingleColorAnchorName}`;\nexport type FontAnchorRef = `anchors.fonts.${RequiredFontAnchor}`;\nexport type DimensionAnchorRef = `anchors.dimensions.${RequiredDimensionAnchor}`;\n\nexport type ColorAnchorValue<Name extends ColorAnchorName> = Name extends 'gradientStops'\n ? GradientStops\n : SingleColor;\n\nexport type ColorAnchors = Readonly<{ [Name in RequiredColorAnchor]: ColorAnchorValue<Name> }> &\n Readonly<{ [Name in OptionalColorAnchor]?: ColorAnchorValue<Name> }>;\n\nexport type DimensionAnchors = Readonly<Record<RequiredDimensionAnchor, Dimension>>;\n\n// check in about this type\nexport type FontAnchors = Readonly<Record<RequiredFontAnchor, FontStack | BrandKitTokenRef>>;\n\n/**\n * All the possible anchors referenced in a style doc. Options defined by the schema.\n */\nexport type Anchors = {\n readonly colors: ColorAnchors;\n readonly dimensions: DimensionAnchors;\n readonly fonts: FontAnchors;\n};\n\n/** Which colors a treatment cannot resolve without. Checked by `validateStyleDocument`. */\nexport const ANCHORS_REQUIRED_BY_TREATMENT: Readonly<\n Record<Treatment, readonly ColorAnchorName[]>\n> = {\n flat: [],\n glassy: ['ground'],\n gradient: ['gradientStops'],\n none: [],\n};\n","export type BrandKitTokenRef = `$${string}`;\n\nexport type LiteralColor = `#${string}` | `rgb(${string})` | `rgba(${string})`;\n\nexport const COLOR_RELATIONSHIPS = ['same', 'complementary', 'analogous', 'triad'] as const;\nexport type ColorRelationship = (typeof COLOR_RELATIONSHIPS)[number];\n\nexport const COLOR_TONES = ['dark', 'light'] as const;\nexport type ColorTone = (typeof COLOR_TONES)[number];\n\n/**\n * A color derived from a brand token. `relation` turns its hue, then `tone` takes the result to\n * the brand's dark or light background color. Both are optional; with neither, we use the token itself.\n */\nexport type RelatedColor = {\n readonly from: BrandKitTokenRef;\n readonly relation?: ColorRelationship;\n readonly tone?: ColorTone;\n};\n\nexport type SingleColor = LiteralColor | RelatedColor | BrandKitTokenRef;\n\n/**\n * The CSS generic families a hard-coded font stack must end in, so a face that fails to load\n * still falls back to the right kind of type.\n */\nexport const GENERIC_FONT_FAMILIES = [\n 'serif',\n 'sans-serif',\n 'monospace',\n 'cursive',\n 'fantasy',\n 'system-ui',\n 'ui-serif',\n 'ui-sans-serif',\n 'ui-monospace',\n 'ui-rounded',\n 'math',\n] as const;\nexport type GenericFontFamily = (typeof GENERIC_FONT_FAMILIES)[number];\n\nexport type FontStack = `${string}${GenericFontFamily}`;\n\n/** A length: a brand token, a number in pixels */\nexport type Dimension = BrandKitTokenRef | number;\n\nexport const MAX_COLOR_SCALE_OFFSET = 11;\nexport type ColorScaleOffset = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;\n","import type { SingleColorAnchorRef } from './anchors';\nimport type { ColorScaleOffset } from './anchorValues';\n\n/**\n * Where a background's `offset` starts counting from.\n *\n * - `source` — at the source color itself: `colors.primary · 2` is two steps off the primary color.\n * - `parent` — on the source's scale, at the step nearest the fill of the surface this one sits\n * on, stepping lighter if the parent is dark, and darker if it is light or midtone.\n *\n * The page sits on nothing, so it cannot count from `parent`.\n * A surface that sits on several\n * parents counts from the closest parent.\n */\nexport const OFFSET_ORIGINS = ['source', 'parent'] as const;\nexport type OffsetOrigin = (typeof OFFSET_ORIGINS)[number];\n\n/**\n * When a background color no longer meets accessible contrast against its parent surface, how do we handle that?\n *\n * - `never` — Do nothing. the fill is always what `backgroundColor` resolves to.\n *\n * - `when-indistinct` — Invert the background and foreground colors: the text color\n * becomes the fill and the fill becomes the text. The pair maintains accessible contrast\n * and compatibility with the color scheme.\n */\nexport const INVERT_RULES = ['never', 'when-indistinct'] as const;\nexport type InvertRule = (typeof INVERT_RULES)[number];\n\n/**\n * What color does this background fill reference--a color anchor or the parent surface's background color?\n */\nexport type BackgroundSource = SingleColorAnchorRef | 'parent';\n\n/**\n * A surface's own fill: where it steps from, how many steps along that source's scale it sits,\n * where those steps start counting ({@link OffsetOrigin}), and whether it may\n * {@link InvertRule | invert} with its text.\n *\n * A `flat` surface at `parent · 0` paints exactly its parent's fill and cannot be seen,\n * which works out to the same effect as `treatment: \"none\"` applied to a surface — unless\n * it inverts `when-indistinct`, since a fill identical to its parent is never distinct, so\n * the swap always fires and the surface paints its text color.\n */\nexport type BackgroundColor = {\n readonly from: OffsetOrigin;\n readonly invert: InvertRule;\n readonly offset: ColorScaleOffset;\n readonly source: BackgroundSource;\n};\n","// The `elevation` setting: how far a surface lifts off what is behind it, and in what color.\n\nimport type { SingleColorAnchorRef } from './anchors';\nimport type { SingleColor } from './anchorValues';\n\nexport const ELEVATION_DEPTHS = ['none', 'low', 'medium', 'high'] as const;\nexport type ElevationDepth = (typeof ELEVATION_DEPTHS)[number];\n\nexport const ELEVATION_HARDNESSES = ['soft', 'hard', 'glow'] as const;\nexport type ElevationHardness = (typeof ELEVATION_HARDNESSES)[number];\n\nexport const ELEVATION_COLOR_SOURCE_KEYWORDS = ['shade'] as const;\nexport type ElevationColorSourceKeyword = (typeof ELEVATION_COLOR_SOURCE_KEYWORDS)[number];\n\nexport type ElevationColorSource = ElevationColorSourceKeyword | SingleColorAnchorRef | SingleColor;\n\n/**\n * How a surface lifts against its backgroung to appear 3D, and in what color.\n * Alphas, blur radii and offsets are engine-owned based on the value of `hardness`.\n * When `depth` is `none` no shadow/elevation is rendered.\n */\nexport type Elevation = {\n readonly depth: ElevationDepth;\n readonly hardness: ElevationHardness;\n readonly source: ElevationColorSource;\n};\n","import type { SingleColor } from './anchorValues';\n\nexport const MIN_GRADIENT_STOPS = 2;\nexport const MAX_GRADIENT_STOPS = 6;\n\nexport type GradientStops = readonly SingleColor[];\n\nexport const GRADIENT_SHAPE_OPTIONS = ['glows', 'linear', 'radial', 'beams'] as const;\nexport type GradientShapeOption = (typeof GRADIENT_SHAPE_OPTIONS)[number];\n\nexport const GRADIENT_DIRECTIONS = [\n 'to-top',\n 'to-top-right',\n 'to-right',\n 'to-bottom-right',\n 'to-bottom',\n 'to-bottom-left',\n 'to-left',\n 'to-top-left',\n] as const;\nexport type GradientDirection = (typeof GRADIENT_DIRECTIONS)[number];\n\nexport const GRADIENT_POSITIONS = [\n 'center',\n 'top',\n 'top-right',\n 'right',\n 'bottom-right',\n 'bottom',\n 'bottom-left',\n 'left',\n 'top-left',\n] as const;\nexport type GradientPosition = (typeof GRADIENT_POSITIONS)[number];\n\n/**\n * How far a `radial` gradient's last stop reaches: `near` ends at the closest edge, so the corners\n * hold the final color; `far` carries it to the furthest corner.\n */\nexport const GRADIENT_EXTENTS = ['near', 'far'] as const;\nexport type GradientExtent = (typeof GRADIENT_EXTENTS)[number];\n\n/**\n * A gradient shape and whatever supporting info required to draw it.\n * `glows` and `beams` are placed by the engine and take no other args\n * `linear` says which direction it runs\n * `radial` supports where it's centered and how far it reaches.\n */\nexport type GradientShape =\n | { readonly kind: 'beams' }\n | { readonly kind: 'glows' }\n | { readonly direction: GradientDirection; readonly kind: 'linear' }\n | {\n readonly extent: GradientExtent;\n readonly kind: 'radial';\n readonly position: GradientPosition;\n };\n","export const AMBIENT_MOTIONS = ['none', 'drift', 'pulse'] as const;\nexport type AmbientMotion = (typeof AMBIENT_MOTIONS)[number];\n\n/** Rate of ambient motion. Exact durations are owned by the engine. */\nexport const MOTION_SPEEDS = ['slow', 'medium', 'fast'] as const;\nexport type MotionSpeed = (typeof MOTION_SPEEDS)[number];\n\n/** How a surface moves between states — hover, focus, active. Easings are engine-owned. */\nexport const TRANSITIONS = ['none', 'quick', 'smooth'] as const;\nexport type Transition = (typeof TRANSITIONS)[number];\n\n/**\n * Does this surface have any non-interactive animation?\n * `transition` is how it moves when its state changes. A card can transition smoothly on hover while sitting\n * perfectly still otherwise.\n * When `ambient` is `none`, no motion is rendered.\n *\n * Every ambient motion will degrade according to the `prefers-reduced-motion` setting.\n * The engine owns this fallback so style docs do not have to provide this.\n */\nexport type Motion = {\n readonly ambient: AmbientMotion;\n readonly speed: MotionSpeed;\n readonly transition: Transition;\n};\n","/**\n * - `grain` — fine, even film noise\n * - `static` — sharp, high-contrast speckles, like screen noise\n * - `halftone` — a regular dot screen, as in print\n */\nexport const TEXTURE_KINDS = ['none', 'grain', 'static', 'halftone'] as const;\nexport type TextureKind = (typeof TEXTURE_KINDS)[number];\n\nexport const TEXTURE_INTENSITIES = ['low', 'medium', 'high'] as const;\nexport type TextureIntensity = (typeof TEXTURE_INTENSITIES)[number];\n\n/**\n * A texture laid over the surface's fill: which one, and how strong it is.\n *\n * It is separate from `treatment` because textures can be stacked on top of treatments:\n * grain on glass, static on a gradient.\n *\n * When `kind` is `none`, no texture is applied.\n */\nexport type Texture = {\n readonly intensity: TextureIntensity;\n readonly kind: TextureKind;\n};\n","/**\n * What visual treatment is applied to a surface?\n * `gradient` renders `colors.gradientStops` based on the values provided in `gradientShape`\n * `glassy` renders a semi-translucent glass effect, best over a background with visual noise/texture as opposed to a flat color.\n * `flat` renders a flat color\n * `none` renders no background and lets the parent show through\n */\nexport const TREATMENTS = ['none', 'flat', 'glassy', 'gradient'] as const;\nexport type Treatment = (typeof TREATMENTS)[number];\n","/**\n * The shape of a Kaleidoscope Style document.\n *\n * A style document provides a set of instructions on how to render a set of surfaces,\n * based on abstractified representations of CSS rules.\n *\n * The engine takes these instructions and \"inflates\" them into actual CSS that can be applied\n * to embeds and/or hosted pages.\n */\nimport type { Anchors } from './anchors';\nimport type { Surfaces } from './surfaces';\nimport type { Typography } from './typography';\n\n/** The top-level keys in a Style document */\nexport const DOCUMENT_KEYS = [\n 'id',\n 'name',\n 'schemaVersion',\n 'typography',\n 'anchors',\n 'surfaces',\n] as const;\n\nexport type StyleDocument = {\n readonly anchors: Anchors;\n readonly id: string;\n readonly name: string;\n readonly schemaVersion: 1;\n readonly surfaces: Surfaces;\n readonly typography: Typography;\n};\n\nexport * from './anchors';\nexport * from './anchorValues';\nexport * from './backgroundColor';\nexport * from './border';\nexport * from './elevation';\nexport * from './gradientShape';\nexport * from './motion';\n// `radius` declares only types\nexport type * from './radius';\nexport * from './surfaces';\n// `textColor` declares only types\nexport type * from './textColor';\nexport * from './texture';\nexport * from './treatment';\nexport * from './typography';\n"],"mappings":";;;;;;;;;;AAIA,MAAa,gBAAgB;CAAC;CAAc;CAAU;AAAO;;;;;;AAQ7D,MAAa,6BAA6B,CAAC,cAAc;AAGzD,MAAa,qBAAqB;CAAC;CAAkB;CAAW;CAAU;AAAe;;;;;;AAQzF,MAAa,yBAAyB,CAAC,kBAAkB,SAAS;;;;;;AAQlE,MAAa,yBAAyB,CAAC,UAAU,eAAe;;;;AAMhE,MAAa,wBAAwB;CAAC;CAAW;CAAQ;AAAQ;;;;;AAOjE,MAAa,4BAA4B;CAAC;CAAkB;CAAW;AAAQ;AAG/E,MAAa,oBAAoB;;AA6BjC,MAAa,gCAET;CACF,MAAM,CAAC;CACP,QAAQ,CAAC,QAAQ;CACjB,UAAU,CAAC,eAAe;CAC1B,MAAM,CAAC;AACT;;AC/EA,MAAa,sBAAsB;CAAC;CAAQ;CAAiB;CAAa;AAAO;AAGjF,MAAa,cAAc,CAAC,QAAQ,OAAO;;;;;AAmB3C,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAQA,MAAa,yBAAyB;;;;;;;;;;;;;AChCtC,MAAa,iBAAiB,CAAC,UAAU,QAAQ;;;;;;;;;;AAYjD,MAAa,eAAe,CAAC,SAAS,iBAAiB;;ACrBvD,MAAa,mBAAmB;CAAC;CAAQ;CAAO;CAAU;AAAM;AAGhE,MAAa,uBAAuB;CAAC;CAAQ;CAAQ;AAAM;AAG3D,MAAa,kCAAkC,CAAC,OAAO;;ACTvD,MAAa,qBAAqB;AAClC,MAAa,qBAAqB;AAIlC,MAAa,yBAAyB;CAAC;CAAS;CAAU;CAAU;AAAO;AAG3E,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAGA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;;AAOA,MAAa,mBAAmB,CAAC,QAAQ,KAAK;;ACvC9C,MAAa,kBAAkB;CAAC;CAAQ;CAAS;AAAO;;AAIxD,MAAa,gBAAgB;CAAC;CAAQ;CAAU;AAAM;;AAItD,MAAa,cAAc;CAAC;CAAQ;CAAS;AAAQ;;;;;;;ACHrD,MAAa,gBAAgB;CAAC;CAAQ;CAAS;CAAU;AAAU;AAGnE,MAAa,sBAAsB;CAAC;CAAO;CAAU;AAAM;;;;;;;;;ACD3D,MAAa,aAAa;CAAC;CAAQ;CAAQ;CAAU;AAAU;;;ACO/D,MAAa,gBAAgB;CAC3B;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"styleVocabulary-DMhXOr4F.js","names":[],"sources":["../src/styleVocabulary/anchors.ts","../src/styleVocabulary/anchorValues.ts","../src/styleVocabulary/backgroundColor.ts","../src/styleVocabulary/elevation.ts","../src/styleVocabulary/gradientShape.ts","../src/styleVocabulary/motion.ts","../src/styleVocabulary/texture.ts","../src/styleVocabulary/treatment.ts","../src/styleVocabulary/index.ts"],"sourcesContent":["import type { Dimension, FontStack, SingleColor, BrandKitTokenRef } from './anchorValues';\nimport type { GradientStops } from './gradientShape';\nimport type { Treatment } from './treatment';\n\nexport const ANCHOR_GROUPS = ['dimensions', 'colors', 'fonts'] as const;\nexport type AnchorGroup = (typeof ANCHOR_GROUPS)[number];\n\n/**\n * Like the required color and font anchors, the required dimension anchors map up to Brand Kit\n * options. A Style may hard-code one instead: Glass does, because the glass effect needs\n * generous rounding.\n */\nexport const REQUIRED_DIMENSION_ANCHORS = ['borderRadius'] as const;\nexport type RequiredDimensionAnchor = (typeof REQUIRED_DIMENSION_ANCHORS)[number];\n\nexport const COLOR_ANCHOR_NAMES = ['pageBackground', 'primary', 'ground', 'gradientStops'] as const;\nexport type ColorAnchorName = (typeof COLOR_ANCHOR_NAMES)[number];\n\n/**\n * The required color anchors should correlate to whatever Brand Kit tokens exist,\n * currently pageBackgroundColor and primaryColor.\n * If an accentColor is supported in the future, we'll add it here.\n */\nexport const REQUIRED_COLOR_ANCHORS = ['pageBackground', 'primary'] as const;\nexport type RequiredColorAnchor = (typeof REQUIRED_COLOR_ANCHORS)[number];\n\n/**\n * These colors are optional, based on which Style and/or treatment is applied to a surface.\n * Glass styles use the ground color as the background for the glass effect: dark or light.\n * The aurora styles use the ground color as a hard-coded value for the backgrounds of cards and panels.\n */\nexport const OPTIONAL_COLOR_ANCHORS = ['ground', 'gradientStops'] as const;\nexport type OptionalColorAnchor = (typeof OPTIONAL_COLOR_ANCHORS)[number];\n\n/**\n * Like the required color anchors, the required font anchors map up to the options defined by Brand Kits.\n */\nexport const REQUIRED_FONT_ANCHORS = ['heading', 'body', 'button'] as const;\nexport type RequiredFontAnchor = (typeof REQUIRED_FONT_ANCHORS)[number];\n\n/**\n * The color anchors that hold one color. `gradientStops` holds a list, so only a gradient can read\n * it — every setting that resolves to a single color names one of these instead.\n */\nexport const SINGLE_COLOR_ANCHOR_NAMES = ['pageBackground', 'primary', 'ground'] as const;\nexport type SingleColorAnchorName = (typeof SINGLE_COLOR_ANCHOR_NAMES)[number];\n\nexport const ANCHOR_REF_PREFIX = 'anchors.';\n\nexport type ColorAnchorRef = `anchors.colors.${ColorAnchorName}`;\nexport type SingleColorAnchorRef = `anchors.colors.${SingleColorAnchorName}`;\nexport type FontAnchorRef = `anchors.fonts.${RequiredFontAnchor}`;\nexport type DimensionAnchorRef = `anchors.dimensions.${RequiredDimensionAnchor}`;\n\nexport type ColorAnchorValue<Name extends ColorAnchorName> = Name extends 'gradientStops'\n ? GradientStops\n : SingleColor;\n\nexport type ColorAnchors = Readonly<{ [Name in RequiredColorAnchor]: ColorAnchorValue<Name> }> &\n Readonly<{ [Name in OptionalColorAnchor]?: ColorAnchorValue<Name> }>;\n\nexport type DimensionAnchors = Readonly<Record<RequiredDimensionAnchor, Dimension>>;\n\n// check in about this type\nexport type FontAnchors = Readonly<Record<RequiredFontAnchor, FontStack | BrandKitTokenRef>>;\n\n/**\n * All the possible anchors referenced in a style doc. Options defined by the schema.\n */\nexport type Anchors = {\n readonly colors: ColorAnchors;\n readonly dimensions: DimensionAnchors;\n readonly fonts: FontAnchors;\n};\n\n/** Which colors a treatment cannot resolve without. Checked by `validateStyleDocument`. */\nexport const ANCHORS_REQUIRED_BY_TREATMENT: Readonly<\n Record<Treatment, readonly ColorAnchorName[]>\n> = {\n flat: [],\n glassy: ['ground'],\n gradient: ['gradientStops'],\n none: [],\n};\n","export type BrandKitTokenRef = `$${string}`;\n\nexport type LiteralColor = `#${string}` | `rgb(${string})` | `rgba(${string})`;\n\nexport const COLOR_RELATIONSHIPS = ['same', 'complementary', 'analogous', 'triad'] as const;\nexport type ColorRelationship = (typeof COLOR_RELATIONSHIPS)[number];\n\nexport const COLOR_TONES = ['dark', 'light'] as const;\nexport type ColorTone = (typeof COLOR_TONES)[number];\n\n/**\n * A color derived from a brand token. `relation` turns its hue, then `tone` takes the result to\n * the brand's dark or light background color. Both are optional; with neither, we use the token itself.\n */\nexport type RelatedColor = {\n readonly from: BrandKitTokenRef;\n readonly relation?: ColorRelationship;\n readonly tone?: ColorTone;\n};\n\nexport type SingleColor = LiteralColor | RelatedColor | BrandKitTokenRef;\n\n/**\n * The CSS generic families a hard-coded font stack must end in, so a face that fails to load\n * still falls back to the right kind of type.\n */\nexport const GENERIC_FONT_FAMILIES = [\n 'serif',\n 'sans-serif',\n 'monospace',\n 'cursive',\n 'fantasy',\n 'system-ui',\n 'ui-serif',\n 'ui-sans-serif',\n 'ui-monospace',\n 'ui-rounded',\n 'math',\n] as const;\nexport type GenericFontFamily = (typeof GENERIC_FONT_FAMILIES)[number];\n\nexport type FontStack = `${string}${GenericFontFamily}`;\n\n/** A length: a brand token, a number in pixels */\nexport type Dimension = BrandKitTokenRef | number;\n\nexport const MAX_COLOR_SCALE_OFFSET = 11;\nexport type ColorScaleOffset = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;\n","import type { SingleColorAnchorRef } from './anchors';\nimport type { ColorScaleOffset } from './anchorValues';\n\n/**\n * Where a background's `offset` starts counting from.\n *\n * - `source` — at the source color itself: `colors.primary · 2` is two steps off the primary color.\n * - `parent` — on the source's scale, at the step nearest the fill of the surface this one sits\n * on, stepping lighter if the parent is dark, and darker if it is light or midtone.\n *\n * The page sits on nothing, so it cannot count from `parent`.\n * A surface that sits on several\n * parents counts from the closest parent.\n */\nexport const OFFSET_ORIGINS = ['source', 'parent'] as const;\nexport type OffsetOrigin = (typeof OFFSET_ORIGINS)[number];\n\n/**\n * When a background color no longer meets accessible contrast against its parent surface, how do we handle that?\n *\n * - `never` — Do nothing. the fill is always what `backgroundColor` resolves to.\n *\n * - `when-indistinct` — Invert the background and foreground colors: the text color\n * becomes the fill and the fill becomes the text. The pair maintains accessible contrast\n * and compatibility with the color scheme.\n */\nexport const INVERT_RULES = ['never', 'when-indistinct'] as const;\nexport type InvertRule = (typeof INVERT_RULES)[number];\n\n/**\n * What color does this background fill reference--a color anchor or the parent surface's background color?\n */\nexport type BackgroundSource = SingleColorAnchorRef | 'parent';\n\n/**\n * A surface's own fill: where it steps from, how many steps along that source's scale it sits,\n * where those steps start counting ({@link OffsetOrigin}), and whether it may\n * {@link InvertRule | invert} with its text.\n *\n * A `flat` surface at `parent · 0` paints exactly its parent's fill and cannot be seen,\n * which works out to the same effect as `treatment: \"none\"` applied to a surface — unless\n * it inverts `when-indistinct`, since a fill identical to its parent is never distinct, so\n * the swap always fires and the surface paints its text color.\n */\nexport type BackgroundColor = {\n readonly from: OffsetOrigin;\n readonly invert: InvertRule;\n readonly offset: ColorScaleOffset;\n readonly source: BackgroundSource;\n};\n","// The `elevation` setting: how far a surface lifts off what is behind it, and in what color.\n\nimport type { SingleColorAnchorRef } from './anchors';\nimport type { SingleColor } from './anchorValues';\n\nexport const ELEVATION_DEPTHS = ['none', 'low', 'medium', 'high'] as const;\nexport type ElevationDepth = (typeof ELEVATION_DEPTHS)[number];\n\nexport const ELEVATION_HARDNESSES = ['soft', 'hard', 'glow'] as const;\nexport type ElevationHardness = (typeof ELEVATION_HARDNESSES)[number];\n\nexport const ELEVATION_COLOR_SOURCE_KEYWORDS = ['shade'] as const;\nexport type ElevationColorSourceKeyword = (typeof ELEVATION_COLOR_SOURCE_KEYWORDS)[number];\n\nexport type ElevationColorSource = ElevationColorSourceKeyword | SingleColorAnchorRef | SingleColor;\n\n/**\n * How a surface lifts against its backgroung to appear 3D, and in what color.\n * Alphas, blur radii and offsets are engine-owned based on the value of `hardness`.\n * When `depth` is `none` no shadow/elevation is rendered.\n */\nexport type Elevation = {\n readonly depth: ElevationDepth;\n readonly hardness: ElevationHardness;\n readonly source: ElevationColorSource;\n};\n","import type { SingleColor } from './anchorValues';\n\nexport const MIN_GRADIENT_STOPS = 2;\nexport const MAX_GRADIENT_STOPS = 6;\n\nexport type GradientStops = readonly SingleColor[];\n\nexport const GRADIENT_SHAPE_OPTIONS = ['glows', 'linear', 'radial', 'beams'] as const;\nexport type GradientShapeOption = (typeof GRADIENT_SHAPE_OPTIONS)[number];\n\nexport const GRADIENT_DIRECTIONS = [\n 'to-top',\n 'to-top-right',\n 'to-right',\n 'to-bottom-right',\n 'to-bottom',\n 'to-bottom-left',\n 'to-left',\n 'to-top-left',\n] as const;\nexport type GradientDirection = (typeof GRADIENT_DIRECTIONS)[number];\n\nexport const GRADIENT_POSITIONS = [\n 'center',\n 'top',\n 'top-right',\n 'right',\n 'bottom-right',\n 'bottom',\n 'bottom-left',\n 'left',\n 'top-left',\n] as const;\nexport type GradientPosition = (typeof GRADIENT_POSITIONS)[number];\n\n/**\n * How far a `radial` gradient's last stop reaches: `near` ends at the closest edge, so the corners\n * hold the final color; `far` carries it to the furthest corner.\n */\nexport const GRADIENT_EXTENTS = ['near', 'far'] as const;\nexport type GradientExtent = (typeof GRADIENT_EXTENTS)[number];\n\n/**\n * A gradient shape and whatever supporting info required to draw it.\n * `glows` and `beams` are placed by the engine and take no other args\n * `linear` says which direction it runs\n * `radial` supports where it's centered and how far it reaches.\n */\nexport type GradientShape =\n | { readonly kind: 'beams' }\n | { readonly kind: 'glows' }\n | { readonly direction: GradientDirection; readonly kind: 'linear' }\n | {\n readonly extent: GradientExtent;\n readonly kind: 'radial';\n readonly position: GradientPosition;\n };\n","export const AMBIENT_MOTIONS = ['none', 'drift', 'pulse'] as const;\nexport type AmbientMotion = (typeof AMBIENT_MOTIONS)[number];\n\n/** Rate of ambient motion. Exact durations are owned by the engine. */\nexport const MOTION_SPEEDS = ['slow', 'medium', 'fast'] as const;\nexport type MotionSpeed = (typeof MOTION_SPEEDS)[number];\n\n/** How a surface moves between states — hover, focus, active. Easings are engine-owned. */\nexport const TRANSITIONS = ['none', 'quick', 'smooth'] as const;\nexport type Transition = (typeof TRANSITIONS)[number];\n\n/**\n * Does this surface have any non-interactive animation?\n * `transition` is how it moves when its state changes. A card can transition smoothly on hover while sitting\n * perfectly still otherwise.\n * When `ambient` is `none`, no motion is rendered.\n *\n * Every ambient motion will degrade according to the `prefers-reduced-motion` setting.\n * The engine owns this fallback so style docs do not have to provide this.\n */\nexport type Motion = {\n readonly ambient: AmbientMotion;\n readonly speed: MotionSpeed;\n readonly transition: Transition;\n};\n","/**\n * - `grain` — fine, even film noise\n * - `static` — sharp, high-contrast speckles, like screen noise\n * - `halftone` — a regular dot screen, as in print\n */\nexport const TEXTURE_KINDS = ['none', 'grain', 'static', 'halftone'] as const;\nexport type TextureKind = (typeof TEXTURE_KINDS)[number];\n\nexport const TEXTURE_INTENSITIES = ['low', 'medium', 'high'] as const;\nexport type TextureIntensity = (typeof TEXTURE_INTENSITIES)[number];\n\n/**\n * A texture laid over the surface's fill: which one, and how strong it is.\n *\n * It is separate from `treatment` because textures can be stacked on top of treatments:\n * grain on glass, static on a gradient.\n *\n * When `kind` is `none`, no texture is applied.\n */\nexport type Texture = {\n readonly intensity: TextureIntensity;\n readonly kind: TextureKind;\n};\n","/**\n * What visual treatment is applied to a surface?\n * `gradient` renders `colors.gradientStops` based on the values provided in `gradientShape`\n * `glassy` renders a semi-translucent glass effect, best over a background with visual noise/texture as opposed to a flat color.\n * `flat` renders a flat color\n * `none` renders no background and lets the parent show through\n */\nexport const TREATMENTS = ['none', 'flat', 'glassy', 'gradient'] as const;\nexport type Treatment = (typeof TREATMENTS)[number];\n","/**\n * The shape of a Kaleidoscope Style document.\n *\n * A style document provides a set of instructions on how to render a set of surfaces,\n * based on abstractified representations of CSS rules.\n *\n * The engine takes these instructions and \"inflates\" them into actual CSS that can be applied\n * to embeds and/or hosted pages.\n */\nimport type { Anchors } from './anchors';\nimport type { Surfaces } from './surfaces';\nimport type { Typography } from './typography';\n\n/** The top-level keys in a Style document */\nexport const DOCUMENT_KEYS = [\n 'id',\n 'name',\n 'schemaVersion',\n 'typography',\n 'anchors',\n 'surfaces',\n] as const;\n\nexport type StyleDocument = {\n readonly anchors: Anchors;\n readonly id: string;\n readonly name: string;\n readonly schemaVersion: 1;\n readonly surfaces: Surfaces;\n readonly typography: Typography;\n};\n\nexport * from './anchors';\nexport * from './anchorValues';\nexport * from './backgroundColor';\nexport * from './border';\nexport * from './elevation';\nexport * from './gradientShape';\nexport * from './motion';\n// `radius` declares only types\nexport type * from './radius';\nexport * from './surfaces';\n// `textColor` declares only types\nexport type * from './textColor';\nexport * from './texture';\nexport * from './treatment';\nexport * from './typography';\n"],"mappings":";;;;;;;;;;AAIA,MAAa,gBAAgB;CAAC;CAAc;CAAU;AAAO;;;;;;AAQ7D,MAAa,6BAA6B,CAAC,cAAc;AAGzD,MAAa,qBAAqB;CAAC;CAAkB;CAAW;CAAU;AAAe;;;;;;AAQzF,MAAa,yBAAyB,CAAC,kBAAkB,SAAS;;;;;;AAQlE,MAAa,yBAAyB,CAAC,UAAU,eAAe;;;;AAMhE,MAAa,wBAAwB;CAAC;CAAW;CAAQ;AAAQ;;;;;AAOjE,MAAa,4BAA4B;CAAC;CAA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ACA;AACF"}
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/kaleidoscope v0.0.6
3
+ * @license @wistia/kaleidoscope v0.0.7
4
4
  *
5
5
  * Copyright (c) 2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -62,4 +62,4 @@ const TYPE_ROLES = [
62
62
  ];
63
63
  export { REQUIRED_SETTING_NAMES as a, BORDER_STYLES as c, OPTIONAL_SETTING_NAMES as i, ORNAMENTAL_BORDER_STYLES as l, TYPE_ROLES as n, STACKABLE_ON as o, ALL_SETTING_NAMES as r, SURFACE_NAMES as s, TYPE_CASES as t };
64
64
 
65
- //# sourceMappingURL=typography-BA9Pz8Im.js.map
65
+ //# sourceMappingURL=typography-BLPIIq_8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography-BA9Pz8Im.js","names":[],"sources":["../src/styleVocabulary/border.ts","../src/styleVocabulary/surfaces.ts","../src/styleVocabulary/typography.ts"],"sourcesContent":["// The `border` setting: the line along a surface's edge, and the ornaments drawn just outside it.\n\nimport type { SingleColorAnchorRef } from './anchors';\nimport type { ColorScaleOffset } from './anchorValues';\n\nexport const BORDER_STYLES = ['solid', 'dashed', 'dotted', 'double', 'scalloped', 'lace'] as const;\nexport type BorderStyle = (typeof BORDER_STYLES)[number];\n\n/** The border styles drawn as ornaments outside the edge, rather than as a CSS line. */\nexport const ORNAMENTAL_BORDER_STYLES = ['scalloped', 'lace'] as const;\n\nexport type BorderSource = SingleColorAnchorRef | 'surface';\n\n/**\n * A surface's border, expressed similarly to how CSS rules work.\n * `width` is provided in pixels, where `0` is effectively no border. Decimal values are acceptable.\n * `source` indicates whether the border color is derived based on the surface background or a separate color value.\n * `style` supports all the definitions in the schema\n * `offset` indicates how much space exists between the edge of the surface and the start of the border.\n */\nexport type Border = {\n readonly offset: ColorScaleOffset;\n readonly source: BorderSource;\n readonly style: BorderStyle;\n readonly width: number;\n};\n","import type { BackgroundColor } from './backgroundColor';\nimport type { Border } from './border';\nimport type { Elevation } from './elevation';\nimport type { GradientShape } from './gradientShape';\nimport type { Motion } from './motion';\nimport type { Radius } from './radius';\nimport type { TextColor } from './textColor';\nimport type { Texture } from './texture';\nimport type { Treatment } from './treatment';\n\n/** Surfaces every Style must define. A Style cannot add or opt out of any. */\nexport const SURFACE_NAMES = ['page', 'panel', 'card', 'buttonPrimary', 'buttonSecondary'] as const;\nexport type SurfaceName = (typeof SURFACE_NAMES)[number];\n\nexport const STACKABLE_ON: Readonly<Record<SurfaceName, readonly SurfaceName[]>> = {\n page: [],\n panel: ['page'],\n card: ['page'],\n buttonPrimary: ['page', 'panel', 'card'],\n buttonSecondary: ['page', 'panel', 'card'],\n};\n\nexport const REQUIRED_SETTING_NAMES = [\n 'treatment',\n 'backgroundColor',\n 'textColor',\n 'elevation',\n 'motion',\n 'radius',\n 'texture',\n] as const;\nexport type RequiredSettingName = (typeof REQUIRED_SETTING_NAMES)[number];\n\nexport const OPTIONAL_SETTING_NAMES = ['border', 'gradientShape'] as const;\nexport type OptionalSettingName = (typeof OPTIONAL_SETTING_NAMES)[number];\n\nexport const ALL_SETTING_NAMES: readonly (RequiredSettingName | OptionalSettingName)[] = [\n ...REQUIRED_SETTING_NAMES,\n ...OPTIONAL_SETTING_NAMES,\n];\n\nexport type RequiredSettings = {\n readonly backgroundColor: BackgroundColor;\n readonly elevation: Elevation;\n readonly motion: Motion;\n readonly radius: Radius;\n readonly textColor: TextColor;\n readonly texture: Texture;\n};\n\n/**\n * If the treatment is `gradient`, `gradientShape` is required. Otherwise it must not be present.\n */\nexport type GradientAxis =\n | { readonly gradientShape: GradientShape; readonly treatment: 'gradient' }\n | { readonly gradientShape?: never; readonly treatment: Exclude<Treatment, 'gradient'> };\n\n/** A surface that sits on something, and so has an edge of its own to draw along. */\nexport type SurfaceSettings = RequiredSettings & { readonly border: Border } & GradientAxis;\n\n/**\n * The page sits on nothing. It has no edge of its own, so it carries no `border` at all.\n */\nexport type PageSettings = RequiredSettings & { readonly border?: never } & GradientAxis;\n\n/**\n * All possible surfaces and their settings, required to be provided by a Style document.\n */\nexport type Surfaces = Readonly<{ page: PageSettings }> &\n Readonly<Record<Exclude<SurfaceName, 'page'>, SurfaceSettings>>;\n","import type { FontAnchorRef } from './anchors';\n\nexport const TYPE_CASES = ['as-typed', 'upper'] as const;\nexport type TypeCase = (typeof TYPE_CASES)[number];\n\nexport const TYPE_ROLES = ['heading', 'body', 'button'] as const;\nexport type TypeRoleName = (typeof TYPE_ROLES)[number];\n\nexport type TypeRole = {\n readonly case: TypeCase;\n readonly font: FontAnchorRef;\n readonly fontSize: number;\n readonly fontWeight: number;\n};\n\n/**\n * Rules for the type face, weight, case, and size\n *\n * `fontSize` is provided in pixels\n * `fontWeight` is a CSS weight from 1 - 1000\n * `font` references an anchor. We don't support providing a custom font name here because we don't\n * have a mechanism to load that font into the DOM.\n */\nexport type Typography = Readonly<Record<TypeRoleName, TypeRole>>;\n"],"mappings":";;;;;;;;;;AAKA,MAAa,gBAAgB;CAAC;CAAS;CAAU;CAAU;CAAU;CAAa;AAAM;;AAIxF,MAAa,2BAA2B,CAAC,aAAa,MAAM;;;ACE5D,MAAa,gBAAgB;CAAC;CAAQ;CAAS;CAAQ;CAAiB;AAAiB;AAGzF,MAAa,eAAsE;CACjF,MAAM,CAAC;CACP,OAAO,CAAC,MAAM;CACd,MAAM,CAAC,MAAM;CACb,eAAe;EAAC;EAAQ;EAAS;CAAM;CACvC,iBAAiB;EAAC;EAAQ;EAAS;CAAM;AAC3C;AAEA,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAGA,MAAa,yBAAyB,CAAC,UAAU,eAAe;AAGhE,MAAa,oBAA4E,CACvF,GAAG,wBACH,GAAG,sBACL;;ACrCA,MAAa,aAAa,CAAC,YAAY,OAAO;AAG9C,MAAa,aAAa;CAAC;CAAW;CAAQ;AAAQ"}
1
+ {"version":3,"file":"typography-BLPIIq_8.js","names":[],"sources":["../src/styleVocabulary/border.ts","../src/styleVocabulary/surfaces.ts","../src/styleVocabulary/typography.ts"],"sourcesContent":["// The `border` setting: the line along a surface's edge, and the ornaments drawn just outside it.\n\nimport type { SingleColorAnchorRef } from './anchors';\nimport type { ColorScaleOffset } from './anchorValues';\n\nexport const BORDER_STYLES = ['solid', 'dashed', 'dotted', 'double', 'scalloped', 'lace'] as const;\nexport type BorderStyle = (typeof BORDER_STYLES)[number];\n\n/** The border styles drawn as ornaments outside the edge, rather than as a CSS line. */\nexport const ORNAMENTAL_BORDER_STYLES = ['scalloped', 'lace'] as const;\n\nexport type BorderSource = SingleColorAnchorRef | 'surface';\n\n/**\n * A surface's border, expressed similarly to how CSS rules work.\n * `width` is provided in pixels, where `0` is effectively no border. Decimal values are acceptable.\n * `source` indicates whether the border color is derived based on the surface background or a separate color value.\n * `style` supports all the definitions in the schema\n * `offset` indicates how much space exists between the edge of the surface and the start of the border.\n */\nexport type Border = {\n readonly offset: ColorScaleOffset;\n readonly source: BorderSource;\n readonly style: BorderStyle;\n readonly width: number;\n};\n","import type { BackgroundColor } from './backgroundColor';\nimport type { Border } from './border';\nimport type { Elevation } from './elevation';\nimport type { GradientShape } from './gradientShape';\nimport type { Motion } from './motion';\nimport type { Radius } from './radius';\nimport type { TextColor } from './textColor';\nimport type { Texture } from './texture';\nimport type { Treatment } from './treatment';\n\n/** Surfaces every Style must define. A Style cannot add or opt out of any. */\nexport const SURFACE_NAMES = ['page', 'panel', 'card', 'buttonPrimary', 'buttonSecondary'] as const;\nexport type SurfaceName = (typeof SURFACE_NAMES)[number];\n\nexport const STACKABLE_ON: Readonly<Record<SurfaceName, readonly SurfaceName[]>> = {\n page: [],\n panel: ['page'],\n card: ['page'],\n buttonPrimary: ['page', 'panel', 'card'],\n buttonSecondary: ['page', 'panel', 'card'],\n};\n\nexport const REQUIRED_SETTING_NAMES = [\n 'treatment',\n 'backgroundColor',\n 'textColor',\n 'elevation',\n 'motion',\n 'radius',\n 'texture',\n] as const;\nexport type RequiredSettingName = (typeof REQUIRED_SETTING_NAMES)[number];\n\nexport const OPTIONAL_SETTING_NAMES = ['border', 'gradientShape'] as const;\nexport type OptionalSettingName = (typeof OPTIONAL_SETTING_NAMES)[number];\n\nexport const ALL_SETTING_NAMES: readonly (RequiredSettingName | OptionalSettingName)[] = [\n ...REQUIRED_SETTING_NAMES,\n ...OPTIONAL_SETTING_NAMES,\n];\n\nexport type RequiredSettings = {\n readonly backgroundColor: BackgroundColor;\n readonly elevation: Elevation;\n readonly motion: Motion;\n readonly radius: Radius;\n readonly textColor: TextColor;\n readonly texture: Texture;\n};\n\n/**\n * If the treatment is `gradient`, `gradientShape` is required. Otherwise it must not be present.\n */\nexport type GradientAxis =\n | { readonly gradientShape: GradientShape; readonly treatment: 'gradient' }\n | { readonly gradientShape?: never; readonly treatment: Exclude<Treatment, 'gradient'> };\n\n/** A surface that sits on something, and so has an edge of its own to draw along. */\nexport type SurfaceSettings = RequiredSettings & { readonly border: Border } & GradientAxis;\n\n/**\n * The page sits on nothing. It has no edge of its own, so it carries no `border` at all.\n */\nexport type PageSettings = RequiredSettings & { readonly border?: never } & GradientAxis;\n\n/**\n * All possible surfaces and their settings, required to be provided by a Style document.\n */\nexport type Surfaces = Readonly<{ page: PageSettings }> &\n Readonly<Record<Exclude<SurfaceName, 'page'>, SurfaceSettings>>;\n","import type { FontAnchorRef } from './anchors';\n\nexport const TYPE_CASES = ['as-typed', 'upper'] as const;\nexport type TypeCase = (typeof TYPE_CASES)[number];\n\nexport const TYPE_ROLES = ['heading', 'body', 'button'] as const;\nexport type TypeRoleName = (typeof TYPE_ROLES)[number];\n\nexport type TypeRole = {\n readonly case: TypeCase;\n readonly font: FontAnchorRef;\n readonly fontSize: number;\n readonly fontWeight: number;\n};\n\n/**\n * Rules for the type face, weight, case, and size\n *\n * `fontSize` is provided in pixels\n * `fontWeight` is a CSS weight from 1 - 1000\n * `font` references an anchor. We don't support providing a custom font name here because we don't\n * have a mechanism to load that font into the DOM.\n */\nexport type Typography = Readonly<Record<TypeRoleName, TypeRole>>;\n"],"mappings":";;;;;;;;;;AAKA,MAAa,gBAAgB;CAAC;CAAS;CAAU;CAAU;CAAU;CAAa;AAAM;;AAIxF,MAAa,2BAA2B,CAAC,aAAa,MAAM;;;ACE5D,MAAa,gBAAgB;CAAC;CAAQ;CAAS;CAAQ;CAAiB;AAAiB;AAGzF,MAAa,eAAsE;CACjF,MAAM,CAAC;CACP,OAAO,CAAC,MAAM;CACd,MAAM,CAAC,MAAM;CACb,eAAe;EAAC;EAAQ;EAAS;CAAM;CACvC,iBAAiB;EAAC;EAAQ;EAAS;CAAM;AAC3C;AAEA,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAGA,MAAa,yBAAyB,CAAC,UAAU,eAAe;AAGhE,MAAa,oBAA4E,CACvF,GAAG,wBACH,GAAG,sBACL;;ACrCA,MAAa,aAAa,CAAC,YAAY,OAAO;AAG9C,MAAa,aAAa;CAAC;CAAW;CAAQ;AAAQ"}
@@ -1,15 +1,15 @@
1
1
 
2
2
  /*
3
- * @license @wistia/kaleidoscope v0.0.6
3
+ * @license @wistia/kaleidoscope v0.0.7
4
4
  *
5
5
  * Copyright (c) 2026, Wistia, Inc. and its affiliates.
6
6
  *
7
7
  * This source code is unlicensed, all rights reserved.
8
8
  */
9
9
 
10
- import { A as REQUIRED_FONT_ANCHORS, C as ANCHORS_REQUIRED_BY_TREATMENT, D as OPTIONAL_COLOR_ANCHORS, E as COLOR_ANCHOR_NAMES, O as REQUIRED_COLOR_ANCHORS, T as ANCHOR_REF_PREFIX, _ as INVERT_RULES, a as AMBIENT_MOTIONS, b as COLOR_TONES, c as GRADIENT_DIRECTIONS, d as GRADIENT_SHAPE_OPTIONS, g as ELEVATION_HARDNESSES, h as ELEVATION_DEPTHS, i as TEXTURE_KINDS, j as SINGLE_COLOR_ANCHOR_NAMES, k as REQUIRED_DIMENSION_ANCHORS, l as GRADIENT_EXTENTS, m as ELEVATION_COLOR_SOURCE_KEYWORDS, n as TREATMENTS, o as MOTION_SPEEDS, r as TEXTURE_INTENSITIES, s as TRANSITIONS, t as DOCUMENT_KEYS, u as GRADIENT_POSITIONS, v as OFFSET_ORIGINS, w as ANCHOR_GROUPS, x as GENERIC_FONT_FAMILIES, y as COLOR_RELATIONSHIPS } from "./styleVocabulary-DcxbkEvK.js";
11
- import { c as BORDER_STYLES, n as TYPE_ROLES, o as STACKABLE_ON, r as ALL_SETTING_NAMES, s as SURFACE_NAMES, t as TYPE_CASES } from "./typography-BA9Pz8Im.js";
12
- import { i as isString, n as isOneOf, r as isRecord, t as at } from "./guards-t_cf_IOV.js";
10
+ import { A as REQUIRED_FONT_ANCHORS, C as ANCHORS_REQUIRED_BY_TREATMENT, D as OPTIONAL_COLOR_ANCHORS, E as COLOR_ANCHOR_NAMES, O as REQUIRED_COLOR_ANCHORS, T as ANCHOR_REF_PREFIX, _ as INVERT_RULES, a as AMBIENT_MOTIONS, b as COLOR_TONES, c as GRADIENT_DIRECTIONS, d as GRADIENT_SHAPE_OPTIONS, g as ELEVATION_HARDNESSES, h as ELEVATION_DEPTHS, i as TEXTURE_KINDS, j as SINGLE_COLOR_ANCHOR_NAMES, k as REQUIRED_DIMENSION_ANCHORS, l as GRADIENT_EXTENTS, m as ELEVATION_COLOR_SOURCE_KEYWORDS, n as TREATMENTS, o as MOTION_SPEEDS, r as TEXTURE_INTENSITIES, s as TRANSITIONS, t as DOCUMENT_KEYS, u as GRADIENT_POSITIONS, v as OFFSET_ORIGINS, w as ANCHOR_GROUPS, x as GENERIC_FONT_FAMILIES, y as COLOR_RELATIONSHIPS } from "./styleVocabulary-DMhXOr4F.js";
11
+ import { c as BORDER_STYLES, n as TYPE_ROLES, o as STACKABLE_ON, r as ALL_SETTING_NAMES, s as SURFACE_NAMES, t as TYPE_CASES } from "./typography-BLPIIq_8.js";
12
+ import { i as isString, n as isOneOf, r as isRecord, t as at } from "./guards-BJfumKYK.js";
13
13
  // src/private/styleDocumentPatterns.ts
14
14
  const ID_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/;
15
15
  /** No dots: brand tokens are not namespaced. */
@@ -697,4 +697,4 @@ const validateStyleDocument = (input) => checkStyleDocument(input).errors;
697
697
  const isStyleDocument = (input) => validateStyleDocument(input).length === 0;
698
698
  export { isStyleDocument as n, validateStyleDocument as r, checkStyleDocument as t };
699
699
 
700
- //# sourceMappingURL=validate-D-OR7_3g.js.map
700
+ //# sourceMappingURL=validate-BkOpEpch.js.map