braid-design-system 32.1.0 → 32.2.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.
Files changed (148) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/codemod/dist/wrapper.js +181 -183
  3. package/color-mode/query-param/index.d.ts +1 -0
  4. package/color-mode/query-param/package.json +1 -1
  5. package/css/index.d.ts +1 -0
  6. package/css/package.json +1 -1
  7. package/dist/ToastContext.chunk.cjs +21 -21
  8. package/dist/ToastContext.chunk.mjs +120 -120
  9. package/dist/Toggle.chunk.cjs +22 -32
  10. package/dist/Toggle.chunk.mjs +199 -209
  11. package/dist/color-mode/query-param.mjs +1 -1
  12. package/dist/css.d.ts +1 -667
  13. package/dist/css.mjs +7 -7
  14. package/dist/index.d.ts +1 -3952
  15. package/dist/index.mjs +164 -164
  16. package/dist/playroom/FrameComponent.d.ts +1 -323
  17. package/dist/playroom/FrameComponent.mjs +4 -4
  18. package/dist/playroom/components.d.ts +1 -4027
  19. package/dist/playroom/components.mjs +124 -124
  20. package/dist/playroom/scope.d.ts +1 -385
  21. package/dist/playroom/scope.mjs +4 -4
  22. package/dist/playroom/snippets.d.ts +1 -7
  23. package/dist/playroomState.chunk.cjs +1 -1
  24. package/dist/playroomState.chunk.mjs +3 -3
  25. package/dist/reset.d.ts +5075 -1
  26. package/dist/side-effects/lib/components/BraidProvider/BraidProvider.mjs +12 -12
  27. package/dist/side-effects/lib/css/reset/index.mjs +1 -1
  28. package/dist/side-effects/lib/css/reset/resetTracker.mjs +2 -2
  29. package/dist/side-effects/lib/themes/baseTokens/apac.cjs +8 -9
  30. package/dist/side-effects/lib/themes/baseTokens/apac.mjs +8 -10
  31. package/dist/side-effects/lib/themes/index.mjs +5 -5
  32. package/dist/side-effects/lib/themes/makeRuntimeTokens.cjs +4 -10
  33. package/dist/side-effects/lib/themes/makeRuntimeTokens.mjs +5 -10
  34. package/dist/side-effects/lib/themes/tokenType.cjs +15 -0
  35. package/dist/side-effects/lib/themes/tokenType.mjs +16 -0
  36. package/dist/styles/lib/components/Accordion/AccordionItem.css.mjs +3 -3
  37. package/dist/styles/lib/components/Alert/Alert.css.mjs +3 -3
  38. package/dist/styles/lib/components/Autosuggest/Autosuggest.css.mjs +6 -6
  39. package/dist/styles/lib/components/Button/Button.css.cjs +24 -23
  40. package/dist/styles/lib/components/Button/Button.css.mjs +39 -38
  41. package/dist/styles/lib/components/ButtonIcon/ButtonIcon.css.mjs +1 -1
  42. package/dist/styles/lib/components/Column/Column.css.mjs +3 -3
  43. package/dist/styles/lib/components/ContentBlock/ContentBlock.css.mjs +1 -1
  44. package/dist/styles/lib/components/Divider/Divider.css.mjs +7 -7
  45. package/dist/styles/lib/components/Dropdown/Dropdown.css.mjs +2 -2
  46. package/dist/styles/lib/components/Hidden/Hidden.css.mjs +1 -1
  47. package/dist/styles/lib/components/HiddenVisually/HiddenVisually.css.mjs +1 -1
  48. package/dist/styles/lib/components/List/List.css.mjs +4 -4
  49. package/dist/styles/lib/components/Loader/Loader.css.mjs +7 -7
  50. package/dist/styles/lib/components/MenuItem/useMenuItem.css.mjs +1 -1
  51. package/dist/styles/lib/components/MenuRenderer/MenuRenderer.css.mjs +5 -5
  52. package/dist/styles/lib/components/MonthPicker/MonthPicker.css.mjs +1 -1
  53. package/dist/styles/lib/components/OverflowMenu/OverflowMenu.css.mjs +1 -1
  54. package/dist/styles/lib/components/Pagination/Pagination.css.mjs +6 -6
  55. package/dist/styles/lib/components/Rating/Rating.css.mjs +6 -6
  56. package/dist/styles/lib/components/Stepper/Stepper.css.mjs +21 -21
  57. package/dist/styles/lib/components/Tabs/Tabs.css.mjs +17 -17
  58. package/dist/styles/lib/components/Tag/Tag.css.mjs +1 -1
  59. package/dist/styles/lib/components/TextDropdown/TextDropdown.css.mjs +4 -4
  60. package/dist/styles/lib/components/TextLink/TextLink.css.mjs +8 -8
  61. package/dist/styles/lib/components/Textarea/Highlight/Highlight.css.mjs +1 -1
  62. package/dist/styles/lib/components/Textarea/Textarea.css.mjs +3 -3
  63. package/dist/styles/lib/components/Tiles/Tiles.css.mjs +5 -5
  64. package/dist/styles/lib/components/Toggle/Toggle.css.mjs +20 -20
  65. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +1 -5
  66. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +7 -11
  67. package/dist/styles/lib/components/icons/IconArrow/IconArrow.css.mjs +4 -4
  68. package/dist/styles/lib/components/icons/IconChevron/IconChevron.css.mjs +4 -4
  69. package/dist/styles/lib/components/icons/IconThumb/IconThumb.css.mjs +2 -2
  70. package/dist/styles/lib/components/private/AvoidWidowIcon/AvoidWidowIcon.css.mjs +1 -1
  71. package/dist/styles/lib/components/private/Field/Field.css.mjs +8 -8
  72. package/dist/styles/lib/components/private/InlineField/InlineField.css.mjs +17 -17
  73. package/dist/styles/lib/components/private/Keyline/Keyline.css.cjs +4 -0
  74. package/dist/styles/lib/components/private/Keyline/Keyline.css.mjs +11 -7
  75. package/dist/styles/lib/components/private/Modal/Modal.css.mjs +16 -16
  76. package/dist/styles/lib/components/private/Modal/ModalExternalGutter.mjs +1 -1
  77. package/dist/styles/lib/components/private/Placeholder/Placeholder.css.mjs +6 -6
  78. package/dist/styles/lib/components/private/Truncate/Truncate.css.mjs +1 -1
  79. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +2 -2
  80. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +1 -1
  81. package/dist/styles/lib/components/private/touchable/debugTouchable.mjs +1 -1
  82. package/dist/styles/lib/components/private/touchable/hitArea.mjs +1 -1
  83. package/dist/styles/lib/components/private/touchable/virtualTouchable.css.mjs +4 -4
  84. package/dist/styles/lib/components/private/touchable/virtualTouchableRules.mjs +2 -2
  85. package/dist/styles/lib/components/useToast/Toast.css.mjs +1 -1
  86. package/dist/styles/lib/css/atoms/atomicProperties.mjs +6 -6
  87. package/dist/styles/lib/css/atoms/atoms.mjs +3 -3
  88. package/dist/styles/lib/css/atoms/sprinkles.css.mjs +8 -8
  89. package/dist/styles/lib/css/breakpoints.mjs +2 -2
  90. package/dist/styles/lib/css/colorModeStyle.mjs +2 -2
  91. package/dist/styles/lib/css/lineHeightContainer.css.mjs +3 -3
  92. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.cjs +4 -9
  93. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.mjs +3 -8
  94. package/dist/styles/lib/css/reset/reset.css.mjs +3 -3
  95. package/dist/styles/lib/css/responsiveStyle.cjs +2 -2
  96. package/dist/styles/lib/css/responsiveStyle.mjs +3 -3
  97. package/dist/styles/lib/css/textAlignedToIcon.css.mjs +3 -3
  98. package/dist/styles/lib/css/typography.css.cjs +1 -16
  99. package/dist/styles/lib/css/typography.css.mjs +5 -20
  100. package/dist/styles/lib/hooks/useIcon/icon.css.mjs +8 -8
  101. package/dist/styles/lib/themes/apac/apacTheme.css.mjs +3 -3
  102. package/dist/styles/lib/themes/apac/tokens.mjs +2 -2
  103. package/dist/styles/lib/themes/docs/docsTheme.css.mjs +3 -3
  104. package/dist/styles/lib/themes/docs/tokens.cjs +8 -8
  105. package/dist/styles/lib/themes/docs/tokens.mjs +8 -10
  106. package/dist/styles/lib/themes/makeBraidTheme.mjs +4 -4
  107. package/dist/styles/lib/themes/makeVanillaTheme.cjs +23 -10
  108. package/dist/styles/lib/themes/makeVanillaTheme.mjs +23 -10
  109. package/dist/styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs +3 -3
  110. package/dist/styles/lib/themes/seekBusiness/tokens.mjs +2 -2
  111. package/dist/styles/lib/themes/vars.css.mjs +3 -3
  112. package/dist/styles/lib/themes/wireframe/tokens.cjs +25 -29
  113. package/dist/styles/lib/themes/wireframe/tokens.mjs +25 -31
  114. package/dist/styles/lib/themes/wireframe/wireframeTheme.css.mjs +3 -3
  115. package/dist/styles/lib/utils/index.mjs +6 -6
  116. package/dist/test.d.ts +1 -890
  117. package/dist/test.mjs +2 -2
  118. package/dist/themes/apac.d.ts +1 -137
  119. package/dist/themes/apac.mjs +2 -2
  120. package/dist/themes/docs.d.ts +1 -137
  121. package/dist/themes/docs.mjs +2 -2
  122. package/dist/themes/seekBusiness.d.ts +1 -137
  123. package/dist/themes/seekBusiness.mjs +2 -2
  124. package/dist/themes/wireframe.d.ts +1 -137
  125. package/dist/themes/wireframe.mjs +2 -2
  126. package/package.json +4 -3
  127. package/playroom/FrameComponent/index.d.ts +2 -0
  128. package/playroom/FrameComponent/package.json +1 -1
  129. package/playroom/components/index.d.ts +1 -0
  130. package/playroom/components/package.json +1 -1
  131. package/playroom/scope/index.d.ts +2 -0
  132. package/playroom/scope/package.json +1 -1
  133. package/playroom/snippets/index.d.ts +2 -0
  134. package/playroom/snippets/package.json +1 -1
  135. package/reset/index.d.ts +1 -0
  136. package/reset/package.json +1 -1
  137. package/test/index.d.ts +1 -0
  138. package/test/package.json +1 -1
  139. package/themes/apac/index.d.ts +2 -0
  140. package/themes/apac/package.json +1 -1
  141. package/themes/docs/index.d.ts +2 -0
  142. package/themes/docs/package.json +1 -1
  143. package/themes/seekBusiness/index.d.ts +2 -0
  144. package/themes/seekBusiness/package.json +1 -1
  145. package/themes/wireframe/index.d.ts +2 -0
  146. package/themes/wireframe/package.json +1 -1
  147. package/dist/styles/lib/components/Badge/Badge.css.cjs +0 -27
  148. package/dist/styles/lib/components/Badge/Badge.css.mjs +0 -28
@@ -12,13 +12,26 @@ const fontSizeToCapHeight = (grid, definition, fontMetrics) => {
12
12
  fontSize: tablet.fontSize,
13
13
  fontMetrics
14
14
  });
15
+ const mobileConfig = "lineGap" in mobile ? {
16
+ fontSize: mobile.fontSize,
17
+ lineGap: mobile.lineGap
18
+ } : {
19
+ fontSize: mobile.fontSize,
20
+ leading: mobile.rows * grid
21
+ };
22
+ const tabletConfig = "lineGap" in tablet ? {
23
+ fontSize: tablet.fontSize,
24
+ lineGap: tablet.lineGap
25
+ } : {
26
+ fontSize: tablet.fontSize,
27
+ leading: tablet.rows * grid
28
+ };
15
29
  const {
16
30
  fontSize: mobileFontSize,
17
31
  lineHeight: mobileLineHeight,
18
32
  ...mobileTrims
19
33
  } = precomputeValues({
20
- fontSize: mobile.fontSize,
21
- leading: mobile.rows * grid,
34
+ ...mobileConfig,
22
35
  fontMetrics
23
36
  });
24
37
  const {
@@ -26,8 +39,7 @@ const fontSizeToCapHeight = (grid, definition, fontMetrics) => {
26
39
  lineHeight: tabletLineHeight,
27
40
  ...tabletTrims
28
41
  } = precomputeValues({
29
- fontSize: tablet.fontSize,
30
- leading: tablet.rows * grid,
42
+ ...tabletConfig,
31
43
  fontMetrics
32
44
  });
33
45
  return {
@@ -53,8 +65,12 @@ const makeVanillaTheme = (braidTokens) => {
53
65
  const { name, displayName, ...tokens } = braidTokens;
54
66
  const { webFont, ...typography } = tokens.typography;
55
67
  const { foreground, background } = tokens.color;
68
+ const textSize = mapValues(
69
+ tokens.typography.text,
70
+ (definition) => fontSizeToCapHeight(tokens.grid, definition, typography.fontMetrics)
71
+ );
56
72
  const getInlineFieldSize = (size) => {
57
- const scale = typography.text[size].mobile.rows * tokens.grid / 42;
73
+ const scale = parseInt(textSize[size].mobile.lineHeight, 10) / 42;
58
74
  return px(tokens.grid * Math.round(tokens.touchableSize * scale));
59
75
  };
60
76
  const resolvedTokens = {
@@ -70,10 +86,7 @@ const makeVanillaTheme = (braidTokens) => {
70
86
  backgroundColor: background,
71
87
  fontFamily: typography.fontFamily,
72
88
  fontMetrics: mapValues(typography.fontMetrics, String),
73
- textSize: mapValues(
74
- tokens.typography.text,
75
- (definition) => fontSizeToCapHeight(tokens.grid, definition, typography.fontMetrics)
76
- ),
89
+ textSize,
77
90
  textWeight: mapValues(typography.fontWeight, String),
78
91
  headingLevel: mapValues(
79
92
  tokens.typography.heading.level,
@@ -98,5 +111,5 @@ const makeVanillaTheme = (braidTokens) => {
98
111
  return resolvedTokens;
99
112
  };
100
113
  export {
101
- makeVanillaTheme as m
114
+ makeVanillaTheme
102
115
  };
@@ -1,9 +1,9 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { t as tokens } from "./tokens.mjs";
3
- import { m as makeBraidTheme } from "../makeBraidTheme.mjs";
2
+ import { tokens } from "./tokens.mjs";
3
+ import { makeBraidTheme } from "../makeBraidTheme.mjs";
4
4
  setFileScope("src/lib/themes/seekBusiness/seekBusinessTheme.css.ts?used", "braid-design-system");
5
5
  const seekBusinessTheme_css = makeBraidTheme(tokens);
6
6
  endFileScope();
7
7
  export {
8
- seekBusinessTheme_css as s
8
+ seekBusinessTheme_css
9
9
  };
@@ -1,5 +1,5 @@
1
1
  import { lighten, darken, tint } from "polished";
2
- import { p as palette, m as makeTokens } from "../../../../side-effects/lib/themes/baseTokens/apac.mjs";
2
+ import { makeTokens, palette } from "../../../../side-effects/lib/themes/baseTokens/apac.mjs";
3
3
  const brandAccent = palette.seekBlue["500"];
4
4
  const tokens = makeTokens({
5
5
  name: "seekBusiness",
@@ -14,5 +14,5 @@ const tokens = makeTokens({
14
14
  brandAccentSoftHover: tint(0.9, brandAccent)
15
15
  });
16
16
  export {
17
- tokens as t
17
+ tokens
18
18
  };
@@ -1,10 +1,10 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
2
  import { createThemeContract } from "@vanilla-extract/css";
3
- import { m as makeVanillaTheme } from "./makeVanillaTheme.mjs";
4
- import { t as tokens } from "./docs/tokens.mjs";
3
+ import { makeVanillaTheme } from "./makeVanillaTheme.mjs";
4
+ import { tokens } from "./docs/tokens.mjs";
5
5
  setFileScope("src/lib/themes/vars.css.ts?used", "braid-design-system");
6
6
  const vars = createThemeContract(makeVanillaTheme(tokens));
7
7
  endFileScope();
8
8
  export {
9
- vars as v
9
+ vars
10
10
  };
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
+ const courierNewMetrics = require("@capsizecss/metrics/courierNew.js");
2
3
  const polished = require("polished");
4
+ const sideEffects_lib_themes_tokenType_cjs = require("../../../../side-effects/lib/themes/tokenType.cjs");
3
5
  const styles_lib_utils_index_cjs = require("../../utils/index.cjs");
6
+ const _interopDefaultCompat = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
7
+ const courierNewMetrics__default = /* @__PURE__ */ _interopDefaultCompat(courierNewMetrics);
4
8
  const formAccent = "#767676";
5
9
  const critical = "#ef3e4a";
6
10
  const criticalLightBackground = "#fbe9eb";
@@ -38,19 +42,9 @@ const tokens = {
38
42
  name: "wireframe",
39
43
  displayName: "Wireframe",
40
44
  typography: {
41
- fontFamily: "Courier, monospace",
45
+ fontFamily: '"Courier New", monospace',
42
46
  webFont: null,
43
- fontMetrics: {
44
- capHeight: 1186,
45
- // 1544 from fontkit, but should be 1186 according to fontforge
46
- ascent: 1638,
47
- // 1544 from fontkit, but should be 1638 according to general metrics table
48
- descent: -410,
49
- // -504 from fontkit, but should be -410 according to general metrics table
50
- lineGap: 184,
51
- // 0 from fontkit, but should be 184 according to os/2 metrics table
52
- unitsPerEm: 2048
53
- },
47
+ fontMetrics: sideEffects_lib_themes_tokenType_cjs.extractFontMetricsForTheme(courierNewMetrics__default.default),
54
48
  fontWeight: {
55
49
  regular: 400,
56
50
  medium: 500,
@@ -65,41 +59,41 @@ const tokens = {
65
59
  "1": {
66
60
  mobile: {
67
61
  fontSize: 28,
68
- rows: 9
62
+ lineGap: 22
69
63
  },
70
64
  tablet: {
71
65
  fontSize: 42,
72
- rows: 11
66
+ lineGap: 22
73
67
  }
74
68
  },
75
69
  "2": {
76
70
  mobile: {
77
71
  fontSize: 21,
78
- rows: 8
72
+ lineGap: 20
79
73
  },
80
74
  tablet: {
81
75
  fontSize: 28,
82
- rows: 9
76
+ lineGap: 20
83
77
  }
84
78
  },
85
79
  "3": {
86
80
  mobile: {
87
81
  fontSize: 21,
88
- rows: 7
82
+ lineGap: 18
89
83
  },
90
84
  tablet: {
91
85
  fontSize: 21,
92
- rows: 7
86
+ lineGap: 18
93
87
  }
94
88
  },
95
89
  "4": {
96
90
  mobile: {
97
91
  fontSize: 18,
98
- rows: 7
92
+ lineGap: 16
99
93
  },
100
94
  tablet: {
101
95
  fontSize: 18,
102
- rows: 7
96
+ lineGap: 16
103
97
  }
104
98
  }
105
99
  }
@@ -108,41 +102,41 @@ const tokens = {
108
102
  xsmall: {
109
103
  mobile: {
110
104
  fontSize: 12,
111
- rows: 5
105
+ lineGap: 11
112
106
  },
113
107
  tablet: {
114
108
  fontSize: 12,
115
- rows: 5
109
+ lineGap: 11
116
110
  }
117
111
  },
118
112
  small: {
119
113
  mobile: {
120
114
  fontSize: 14,
121
- rows: 5
115
+ lineGap: 12
122
116
  },
123
117
  tablet: {
124
118
  fontSize: 14,
125
- rows: 5
119
+ lineGap: 12
126
120
  }
127
121
  },
128
122
  standard: {
129
123
  mobile: {
130
124
  fontSize: 16,
131
- rows: 7
125
+ lineGap: 14
132
126
  },
133
127
  tablet: {
134
128
  fontSize: 16,
135
- rows: 7
129
+ lineGap: 14
136
130
  }
137
131
  },
138
132
  large: {
139
133
  mobile: {
140
134
  fontSize: 18,
141
- rows: 8
135
+ lineGap: 16
142
136
  },
143
137
  tablet: {
144
138
  fontSize: 18,
145
- rows: 8
139
+ lineGap: 16
146
140
  }
147
141
  }
148
142
  }
@@ -163,7 +157,8 @@ const tokens = {
163
157
  medium: 5,
164
158
  large: 8,
165
159
  xlarge: 12,
166
- xxlarge: 24
160
+ xxlarge: 24,
161
+ xxxlarge: 30
167
162
  },
168
163
  transforms: {
169
164
  touchable: "scale(0.97)"
@@ -174,6 +169,7 @@ const tokens = {
174
169
  },
175
170
  border: {
176
171
  radius: {
172
+ small: "4px",
177
173
  standard: "6px",
178
174
  large: "8px",
179
175
  xlarge: "10px"
@@ -1,5 +1,7 @@
1
+ import courierNewMetrics from "@capsizecss/metrics/courierNew.js";
1
2
  import { lighten, tint, darken } from "polished";
2
- import { g as getLightVariant, f as findClosestAccessibleLighterColor, a as getAccessibleVariant, i as isLight } from "../../utils/index.mjs";
3
+ import { extractFontMetricsForTheme } from "../../../../side-effects/lib/themes/tokenType.mjs";
4
+ import { getLightVariant, findClosestAccessibleLighterColor, getAccessibleVariant, isLight } from "../../utils/index.mjs";
3
5
  const formAccent = "#767676";
4
6
  const critical = "#ef3e4a";
5
7
  const criticalLightBackground = "#fbe9eb";
@@ -37,19 +39,9 @@ const tokens = {
37
39
  name: "wireframe",
38
40
  displayName: "Wireframe",
39
41
  typography: {
40
- fontFamily: "Courier, monospace",
42
+ fontFamily: '"Courier New", monospace',
41
43
  webFont: null,
42
- fontMetrics: {
43
- capHeight: 1186,
44
- // 1544 from fontkit, but should be 1186 according to fontforge
45
- ascent: 1638,
46
- // 1544 from fontkit, but should be 1638 according to general metrics table
47
- descent: -410,
48
- // -504 from fontkit, but should be -410 according to general metrics table
49
- lineGap: 184,
50
- // 0 from fontkit, but should be 184 according to os/2 metrics table
51
- unitsPerEm: 2048
52
- },
44
+ fontMetrics: extractFontMetricsForTheme(courierNewMetrics),
53
45
  fontWeight: {
54
46
  regular: 400,
55
47
  medium: 500,
@@ -64,41 +56,41 @@ const tokens = {
64
56
  "1": {
65
57
  mobile: {
66
58
  fontSize: 28,
67
- rows: 9
59
+ lineGap: 22
68
60
  },
69
61
  tablet: {
70
62
  fontSize: 42,
71
- rows: 11
63
+ lineGap: 22
72
64
  }
73
65
  },
74
66
  "2": {
75
67
  mobile: {
76
68
  fontSize: 21,
77
- rows: 8
69
+ lineGap: 20
78
70
  },
79
71
  tablet: {
80
72
  fontSize: 28,
81
- rows: 9
73
+ lineGap: 20
82
74
  }
83
75
  },
84
76
  "3": {
85
77
  mobile: {
86
78
  fontSize: 21,
87
- rows: 7
79
+ lineGap: 18
88
80
  },
89
81
  tablet: {
90
82
  fontSize: 21,
91
- rows: 7
83
+ lineGap: 18
92
84
  }
93
85
  },
94
86
  "4": {
95
87
  mobile: {
96
88
  fontSize: 18,
97
- rows: 7
89
+ lineGap: 16
98
90
  },
99
91
  tablet: {
100
92
  fontSize: 18,
101
- rows: 7
93
+ lineGap: 16
102
94
  }
103
95
  }
104
96
  }
@@ -107,41 +99,41 @@ const tokens = {
107
99
  xsmall: {
108
100
  mobile: {
109
101
  fontSize: 12,
110
- rows: 5
102
+ lineGap: 11
111
103
  },
112
104
  tablet: {
113
105
  fontSize: 12,
114
- rows: 5
106
+ lineGap: 11
115
107
  }
116
108
  },
117
109
  small: {
118
110
  mobile: {
119
111
  fontSize: 14,
120
- rows: 5
112
+ lineGap: 12
121
113
  },
122
114
  tablet: {
123
115
  fontSize: 14,
124
- rows: 5
116
+ lineGap: 12
125
117
  }
126
118
  },
127
119
  standard: {
128
120
  mobile: {
129
121
  fontSize: 16,
130
- rows: 7
122
+ lineGap: 14
131
123
  },
132
124
  tablet: {
133
125
  fontSize: 16,
134
- rows: 7
126
+ lineGap: 14
135
127
  }
136
128
  },
137
129
  large: {
138
130
  mobile: {
139
131
  fontSize: 18,
140
- rows: 8
132
+ lineGap: 16
141
133
  },
142
134
  tablet: {
143
135
  fontSize: 18,
144
- rows: 8
136
+ lineGap: 16
145
137
  }
146
138
  }
147
139
  }
@@ -162,7 +154,8 @@ const tokens = {
162
154
  medium: 5,
163
155
  large: 8,
164
156
  xlarge: 12,
165
- xxlarge: 24
157
+ xxlarge: 24,
158
+ xxxlarge: 30
166
159
  },
167
160
  transforms: {
168
161
  touchable: "scale(0.97)"
@@ -173,6 +166,7 @@ const tokens = {
173
166
  },
174
167
  border: {
175
168
  radius: {
169
+ small: "4px",
176
170
  standard: "6px",
177
171
  large: "8px",
178
172
  xlarge: "10px"
@@ -280,5 +274,5 @@ const tokens = {
280
274
  }
281
275
  };
282
276
  export {
283
- tokens as t
277
+ tokens
284
278
  };
@@ -1,9 +1,9 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { t as tokens } from "./tokens.mjs";
3
- import { m as makeBraidTheme } from "../makeBraidTheme.mjs";
2
+ import { tokens } from "./tokens.mjs";
3
+ import { makeBraidTheme } from "../makeBraidTheme.mjs";
4
4
  setFileScope("src/lib/themes/wireframe/wireframeTheme.css.ts?used", "braid-design-system");
5
5
  const wireframe = makeBraidTheme(tokens);
6
6
  endFileScope();
7
7
  export {
8
- wireframe as w
8
+ wireframe
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import { parseToRgb, toColorString, parseToHsl, hslToColorString, setLightness, getLuminance } from "polished";
2
2
  import { parse } from "gradient-parser";
3
- import { r as responsiveStyle } from "../css/responsiveStyle.mjs";
3
+ import { responsiveStyle } from "../css/responsiveStyle.mjs";
4
4
  const getLinearGradientColors = (color) => {
5
5
  const gradients = parse(color);
6
6
  return gradients[0].colorStops.map(({ type, value }) => {
@@ -147,9 +147,9 @@ const mapToProperty = (property, breakpoint) => (value) => {
147
147
  return breakpoint ? responsiveStyle({ [breakpoint]: styleRule }) : styleRule;
148
148
  };
149
149
  export {
150
- getAccessibleVariant as a,
151
- findClosestAccessibleLighterColor as f,
152
- getLightVariant as g,
153
- isLight as i,
154
- mapToProperty as m
150
+ findClosestAccessibleLighterColor,
151
+ getAccessibleVariant,
152
+ getLightVariant,
153
+ isLight,
154
+ mapToProperty
155
155
  };