@pingux/astro 1.32.1 → 1.33.0-alpha.1

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.
@@ -64,9 +64,12 @@ var AccordionGridItem = function AccordionGridItem(props) {
64
64
  delete rowProps.onPointerDown;
65
65
  delete rowProps.onClick;
66
66
  return ___EmotionJSX(Box, _extends({
67
- as: "div"
67
+ as: "div",
68
+ role: "row",
69
+ tabindex: "0"
68
70
  }, mergeProps(rowProps, others), {
69
71
  "aria-selected": isSelected,
72
+ "aria-expanded": isSelected,
70
73
  className: classNames,
71
74
  variant: "accordion.accordionGridItem",
72
75
  ref: rowRef
@@ -72,7 +72,7 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
72
72
  return inputRef.current;
73
73
  });
74
74
 
75
- var _hooks$useProgressive = hooks.useProgressiveState(isVisibleProp, onVisibleChangeProp),
75
+ var _hooks$useProgressive = hooks.useProgressiveState(isVisibleProp, isVisibleProp),
76
76
  _hooks$useProgressive2 = _slicedToArray(_hooks$useProgressive, 2),
77
77
  isVisible = _hooks$useProgressive2[0],
78
78
  setIsShown = _hooks$useProgressive2[1]; // Measure the width of the input to inform the width of the menu (below).
@@ -1,19 +1,8 @@
1
- import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
2
- import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
3
1
  import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
+ import _Object$entries from "@babel/runtime-corejs3/core-js-stable/object/entries";
4
3
  import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
5
- import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
6
- import _Object$values from "@babel/runtime-corejs3/core-js-stable/object/values";
7
- var _excluded = ["children", "bg"];
8
-
9
- var _context;
10
-
11
4
  import React from 'react';
12
- import { Divider } from 'theme-ui';
13
- import Text from './Text';
14
- import { textVariants } from '../../utils/devUtils/constants/variants.js';
15
- import { flatColorList } from '../../styles/colors.js';
16
- import { Box } from '../../index';
5
+ import { Box, Separator, Table, TableCell, TableBody, TableHead, TableRow, Text } from '../../index';
17
6
  import { jsx as ___EmotionJSX } from "@emotion/react";
18
7
  export default {
19
8
  title: 'Text',
@@ -21,72 +10,411 @@ export default {
21
10
  argTypes: {
22
11
  variant: {
23
12
  control: {
24
- type: 'select',
25
- options: _Object$values(textVariants)
13
+ type: 'none'
26
14
  },
27
- description: 'Text variant.',
28
- defaultValue: _Object$values(textVariants)[0]
15
+ description: 'Text variant.'
29
16
  },
30
17
  children: {
31
18
  control: {
32
- type: 'text'
19
+ type: 'none'
33
20
  },
34
- table: {
35
- type: {
36
- summary: 'string'
37
- }
38
- },
39
- description: 'Text value.',
40
- defaultValue: 'Hi, this is some text!'
21
+ description: 'Text value.'
41
22
  },
42
23
  color: {
43
24
  control: {
44
- type: 'select',
45
- options: _concatInstanceProperty(_context = [undefined]).call(_context, _mapInstanceProperty(flatColorList).call(flatColorList, function (_ref) {
46
- var _ref2 = _slicedToArray(_ref, 1),
47
- colorName = _ref2[0];
48
-
49
- return colorName;
50
- }))
25
+ type: 'none'
51
26
  },
52
- table: {
53
- type: {
54
- summary: 'string'
55
- }
56
- },
57
- description: 'Text color.',
58
- defaultValue: undefined
27
+ description: 'Text color.'
59
28
  },
60
29
  bg: {
61
30
  control: {
62
- type: 'select',
63
- options: _mapInstanceProperty(flatColorList).call(flatColorList, function (_ref3) {
64
- var _ref4 = _slicedToArray(_ref3, 1),
65
- colorName = _ref4[0];
66
-
67
- return colorName;
68
- })
69
- },
70
- table: {
71
- type: {
72
- summary: 'string'
73
- }
31
+ type: 'none'
74
32
  },
75
- description: 'Background color.',
76
- defaultValue: 'white'
33
+ description: 'Background color.'
77
34
  }
78
35
  }
79
36
  };
80
- export var Default = function Default(_ref5) {
81
- var children = _ref5.children,
82
- bg = _ref5.bg,
83
- args = _objectWithoutProperties(_ref5, _excluded);
37
+ var sx = {
38
+ cell: {
39
+ wordWrap: 'break-word',
40
+ wordBreak: 'break-word'
41
+ },
42
+ tableBody: {
43
+ borderBottom: 'unset'
44
+ }
45
+ };
84
46
 
85
- return ___EmotionJSX(Text, _extends({
86
- bg: bg
87
- }, args, {
88
- p: "xl"
89
- }), children);
47
+ var TableHeading = function TableHeading(_ref) {
48
+ var title = _ref.title;
49
+ return ___EmotionJSX(TableHead, null, ___EmotionJSX(TableRow, {
50
+ key: "head"
51
+ }, ___EmotionJSX(TableCell, {
52
+ sx: sx.cell,
53
+ isHeading: true,
54
+ width: "30%"
55
+ }, title), ___EmotionJSX(TableCell, {
56
+ sx: sx.cell,
57
+ isHeading: true,
58
+ width: "30%"
59
+ }, "Weight"), ___EmotionJSX(TableCell, {
60
+ sx: sx.cell,
61
+ isHeading: true,
62
+ width: "30%"
63
+ }, "Size"), ___EmotionJSX(TableCell, {
64
+ sx: sx.cell,
65
+ isHeading: true
66
+ }, "Example")));
67
+ };
68
+
69
+ var TableData = function TableData(_ref2) {
70
+ var variant = _ref2.variant,
71
+ value = _ref2.value;
72
+ return ___EmotionJSX(TableRow, {
73
+ sx: {
74
+ backgroundColor: 'transparent !important',
75
+ alignItems: 'center'
76
+ }
77
+ }, ___EmotionJSX(TableCell, {
78
+ sx: sx.cell,
79
+ width: "30%"
80
+ }, ___EmotionJSX(Text, null, variant)), ___EmotionJSX(TableCell, {
81
+ sx: sx.cell,
82
+ width: "30%"
83
+ }, ___EmotionJSX(Text, null, value.weight)), ___EmotionJSX(TableCell, {
84
+ sx: sx.cell,
85
+ width: "30%"
86
+ }, ___EmotionJSX(Text, null, value.fontSize)), ___EmotionJSX(TableCell, {
87
+ sx: sx.cell
88
+ }, ___EmotionJSX(Text, null, value.example)));
89
+ };
90
+
91
+ export var Default = function Default() {
92
+ var _context, _context2, _context3, _context4, _context5, _context6;
93
+
94
+ var fontSizes = {
95
+ xx: '23px (xx)',
96
+ lg: '17px (lg)',
97
+ md: '15px (md)',
98
+ sm: '13px (sm)',
99
+ xs: '11px (xs)'
100
+ };
101
+ var fontWeights = {
102
+ '-1': '300 (-1)',
103
+ '0': '400 (0)',
104
+ '1': '500 (1)',
105
+ '3': '700 (3)'
106
+ };
107
+ var headingVariants = {
108
+ H1: {
109
+ weight: fontWeights[3],
110
+ fontSize: fontSizes.xx,
111
+ example: ___EmotionJSX(Text, {
112
+ variant: "H1",
113
+ as: "H1"
114
+ }, '<Text variant="H1" as="H1"/>')
115
+ },
116
+ H2: {
117
+ weight: fontWeights[3],
118
+ fontSize: fontSizes.lg,
119
+ example: ___EmotionJSX(Text, {
120
+ variant: "H2",
121
+ as: "H2"
122
+ }, '<Text variant="H2" as="H2"/>')
123
+ },
124
+ H3: {
125
+ weight: fontWeights[3],
126
+ fontSize: fontSizes.md,
127
+ example: ___EmotionJSX(Text, {
128
+ variant: "H3",
129
+ as: "H3"
130
+ }, '<Text variant="H3" as="H3"/>')
131
+ },
132
+ H4: {
133
+ weight: fontWeights[3],
134
+ fontSize: fontSizes.sm,
135
+ example: ___EmotionJSX(Text, {
136
+ variant: "H4",
137
+ as: "H4"
138
+ }, '<Text variant="H4" as="H4"/>')
139
+ }
140
+ };
141
+ var baseAndSubtitleVariants = {
142
+ 'Base (default variant of Text)': {
143
+ weight: fontWeights[1],
144
+ fontSize: fontSizes.md,
145
+ color: 'text.primary',
146
+ example: ___EmotionJSX(Text, {
147
+ variant: "base"
148
+ }, '<Text variant="base"/>')
149
+ },
150
+ Subtitle: {
151
+ weight: fontWeights[0],
152
+ fontSize: fontSizes.sm,
153
+ color: 'text.secondary',
154
+ example: ___EmotionJSX(Text, {
155
+ variant: "subtitle"
156
+ }, '<Text variant="subtitle"/>')
157
+ }
158
+ };
159
+ var largeVariants = {
160
+ Bold: {
161
+ weight: fontWeights[3],
162
+ fontSize: fontSizes.lg,
163
+ example: ___EmotionJSX(Text, {
164
+ fontSize: "lg",
165
+ fontWeight: "3"
166
+ }, '<Text fontSize="lg" fontWeight="3">')
167
+ },
168
+ Medium: {
169
+ weight: fontWeights[1],
170
+ fontSize: fontSizes.lg,
171
+ example: ___EmotionJSX(Text, {
172
+ fontSize: "lg",
173
+ fontWeight: "1"
174
+ }, '<Text fontSize="lg" fontWeight="1">')
175
+ },
176
+ Regular: {
177
+ weight: fontWeights[0],
178
+ fontSize: fontSizes.lg,
179
+ example: ___EmotionJSX(Text, {
180
+ fontSize: "lg",
181
+ fontWeight: "0"
182
+ }, '<Text fontSize="lg" fontWeight="0">')
183
+ }
184
+ };
185
+ var mediumVariants = {
186
+ Bold: {
187
+ weight: fontWeights[3],
188
+ fontSize: fontSizes.md,
189
+ example: ___EmotionJSX(Text, {
190
+ fontSize: "md",
191
+ fontWeight: "3"
192
+ }, '<Text fontSize="md" fontWeight="3">')
193
+ },
194
+ Medium: {
195
+ weight: fontWeights[1],
196
+ fontSize: fontSizes.md,
197
+ example: ___EmotionJSX(Text, {
198
+ fontSize: "md",
199
+ fontWeight: "1"
200
+ }, '<Text fontSize="md" fontWeight="1">')
201
+ },
202
+ Regular: {
203
+ weight: fontWeights[0],
204
+ fontSize: fontSizes.md,
205
+ example: ___EmotionJSX(Text, {
206
+ fontSize: "md",
207
+ fontWeight: "0"
208
+ }, '<Text fontSize="md" fontWeight="0">')
209
+ },
210
+ Light: {
211
+ weight: fontWeights[-1],
212
+ fontSize: fontSizes.md,
213
+ example: ___EmotionJSX(Text, {
214
+ fontSize: "md",
215
+ fontWeight: "-1"
216
+ }, '<Text fontSize="md" fontWeight="-1">')
217
+ }
218
+ };
219
+ var smallVariants = {
220
+ Bold: {
221
+ weight: fontWeights[3],
222
+ fontSize: fontSizes.sm,
223
+ example: ___EmotionJSX(Text, {
224
+ fontSize: "sm",
225
+ fontWeight: "3"
226
+ }, '<Text fontSize="sm" fontWeight="3">')
227
+ },
228
+ Medium: {
229
+ weight: fontWeights[1],
230
+ fontSize: fontSizes.sm,
231
+ example: ___EmotionJSX(Text, {
232
+ fontSize: "sm",
233
+ fontWeight: "1"
234
+ }, '<Text fontSize="sm" fontWeight="1">')
235
+ },
236
+ Regular: {
237
+ weight: fontWeights[0],
238
+ fontSize: fontSizes.sm,
239
+ example: ___EmotionJSX(Text, {
240
+ fontSize: "sm",
241
+ fontWeight: "0"
242
+ }, '<Text fontSize="sm" fontWeight="0">')
243
+ },
244
+ Light: {
245
+ weight: fontWeights[-1],
246
+ fontSize: fontSizes.sm,
247
+ example: ___EmotionJSX(Text, {
248
+ fontSize: "sm",
249
+ fontWeight: "-1"
250
+ }, '<Text fontSize="sm" fontWeight="-1">')
251
+ }
252
+ };
253
+ var xsmallVariants = {
254
+ Bold: {
255
+ weight: fontWeights[3],
256
+ fontSize: fontSizes.xs,
257
+ example: ___EmotionJSX(Text, {
258
+ fontSize: "xs",
259
+ fontWeight: "3"
260
+ }, '<Text fontSize="xs" fontWeight="3">')
261
+ },
262
+ Medium: {
263
+ weight: fontWeights[1],
264
+ fontSize: fontSizes.xs,
265
+ example: ___EmotionJSX(Text, {
266
+ fontSize: "xs",
267
+ fontWeight: "1"
268
+ }, '<Text fontSize="xs" fontWeight="1">')
269
+ },
270
+ Regular: {
271
+ weight: fontWeights[0],
272
+ fontSize: fontSizes.xs,
273
+ example: ___EmotionJSX(Text, {
274
+ fontSize: "xs",
275
+ fontWeight: "0"
276
+ }, '<Text fontSize="xs" fontWeight="0">')
277
+ },
278
+ Light: {
279
+ weight: fontWeights[-1],
280
+ fontSize: fontSizes.xs,
281
+ example: ___EmotionJSX(Text, {
282
+ fontSize: "xs",
283
+ fontWeight: "-1"
284
+ }, '<Text fontSize="xs" fontWeight="-1">')
285
+ }
286
+ };
287
+ return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Table, {
288
+ mb: "xx"
289
+ }, ___EmotionJSX(TableHeading, {
290
+ title: "Heading"
291
+ }), ___EmotionJSX(TableBody, {
292
+ sx: sx.tableBody
293
+ }, _mapInstanceProperty(_context = _Object$entries(headingVariants)).call(_context, function (_ref3) {
294
+ var _ref4 = _slicedToArray(_ref3, 2),
295
+ key = _ref4[0],
296
+ value = _ref4[1];
297
+
298
+ return ___EmotionJSX(TableData, {
299
+ variant: key,
300
+ value: value,
301
+ key: key
302
+ });
303
+ }))), ___EmotionJSX(Table, {
304
+ mb: "xx"
305
+ }, ___EmotionJSX(TableHead, null, ___EmotionJSX(TableRow, {
306
+ key: "head"
307
+ }, ___EmotionJSX(TableCell, {
308
+ sx: sx.cell,
309
+ isHeading: true,
310
+ width: "60%"
311
+ }, "Base and Subtitle"), ___EmotionJSX(TableCell, {
312
+ sx: sx.cell,
313
+ isHeading: true,
314
+ width: "20%"
315
+ }, "Weight"), ___EmotionJSX(TableCell, {
316
+ sx: sx.cell,
317
+ isHeading: true,
318
+ width: "30%"
319
+ }, "Size"), ___EmotionJSX(TableCell, {
320
+ sx: sx.cell,
321
+ isHeading: true,
322
+ width: "40%"
323
+ }, "Color"), ___EmotionJSX(TableCell, {
324
+ sx: sx.cell,
325
+ isHeading: true
326
+ }, "Example"))), ___EmotionJSX(TableBody, {
327
+ sx: sx.tableBody
328
+ }, _mapInstanceProperty(_context2 = _Object$entries(baseAndSubtitleVariants)).call(_context2, function (_ref5) {
329
+ var _ref6 = _slicedToArray(_ref5, 2),
330
+ key = _ref6[0],
331
+ value = _ref6[1];
332
+
333
+ return ___EmotionJSX(TableRow, {
334
+ sx: {
335
+ backgroundColor: 'transparent !important'
336
+ },
337
+ key: key
338
+ }, ___EmotionJSX(TableCell, {
339
+ sx: sx.cell,
340
+ width: "60%"
341
+ }, ___EmotionJSX(Text, null, key)), ___EmotionJSX(TableCell, {
342
+ sx: sx.cell,
343
+ width: "25%"
344
+ }, ___EmotionJSX(Text, null, value.weight)), ___EmotionJSX(TableCell, {
345
+ sx: sx.cell,
346
+ width: "35%"
347
+ }, ___EmotionJSX(Text, null, value.fontSize)), ___EmotionJSX(TableCell, {
348
+ sx: sx.cell,
349
+ width: "45%"
350
+ }, ___EmotionJSX(Text, null, value.color)), ___EmotionJSX(TableCell, {
351
+ sx: sx.cell
352
+ }, value.example));
353
+ }))), ___EmotionJSX(Table, {
354
+ mb: "xx"
355
+ }, ___EmotionJSX(TableHeading, {
356
+ title: "Large"
357
+ }), ___EmotionJSX(TableBody, {
358
+ sx: sx.tableBody
359
+ }, _mapInstanceProperty(_context3 = _Object$entries(largeVariants)).call(_context3, function (_ref7) {
360
+ var _ref8 = _slicedToArray(_ref7, 2),
361
+ key = _ref8[0],
362
+ value = _ref8[1];
363
+
364
+ return ___EmotionJSX(TableData, {
365
+ variant: key,
366
+ value: value,
367
+ key: key
368
+ });
369
+ }))), ___EmotionJSX(Table, {
370
+ mb: "xx"
371
+ }, ___EmotionJSX(TableHeading, {
372
+ title: "Medium"
373
+ }), ___EmotionJSX(TableBody, {
374
+ sx: sx.tableBody
375
+ }, _mapInstanceProperty(_context4 = _Object$entries(mediumVariants)).call(_context4, function (_ref9) {
376
+ var _ref10 = _slicedToArray(_ref9, 2),
377
+ key = _ref10[0],
378
+ value = _ref10[1];
379
+
380
+ return ___EmotionJSX(TableData, {
381
+ variant: key,
382
+ value: value,
383
+ key: key
384
+ });
385
+ }))), ___EmotionJSX(Table, {
386
+ mb: "xx"
387
+ }, ___EmotionJSX(TableHeading, {
388
+ title: "Small"
389
+ }), ___EmotionJSX(TableBody, {
390
+ sx: sx.tableBody
391
+ }, _mapInstanceProperty(_context5 = _Object$entries(smallVariants)).call(_context5, function (_ref11) {
392
+ var _ref12 = _slicedToArray(_ref11, 2),
393
+ key = _ref12[0],
394
+ value = _ref12[1];
395
+
396
+ return ___EmotionJSX(TableData, {
397
+ variant: key,
398
+ value: value,
399
+ key: key
400
+ });
401
+ }))), ___EmotionJSX(Table, {
402
+ mb: "xx"
403
+ }, ___EmotionJSX(TableHeading, {
404
+ title: "XSmall"
405
+ }), ___EmotionJSX(TableBody, {
406
+ sx: sx.tableBody
407
+ }, _mapInstanceProperty(_context6 = _Object$entries(xsmallVariants)).call(_context6, function (_ref13) {
408
+ var _ref14 = _slicedToArray(_ref13, 2),
409
+ key = _ref14[0],
410
+ value = _ref14[1];
411
+
412
+ return ___EmotionJSX(TableData, {
413
+ variant: key,
414
+ value: value,
415
+ key: key
416
+ });
417
+ }))));
90
418
  };
91
419
  export var WithCustomWidth = function WithCustomWidth() {
92
420
  return ___EmotionJSX(Box, {
@@ -111,7 +439,7 @@ export var TypographyStyleProps = function TypographyStyleProps() {
111
439
  gap: "md"
112
440
  }, ___EmotionJSX(Text, {
113
441
  variant: "title"
114
- }, "The Text component allows typography style props to be passed in directly."), ___EmotionJSX(Text, textProps, loremText), ___EmotionJSX(Divider, null), ___EmotionJSX(Text, {
442
+ }, "The Text component allows typography style props to be passed in directly."), ___EmotionJSX(Text, textProps, loremText), ___EmotionJSX(Separator, null), ___EmotionJSX(Text, {
115
443
  variant: "title"
116
444
  }, "Typography styles can also be passed in through the sx prop for the same result."), ___EmotionJSX(Text, {
117
445
  sx: textProps
@@ -1,3 +1,18 @@
1
+ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
2
+ import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
3
+ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
4
+ import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
5
+ import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
6
+ import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
7
+ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
8
+ import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
9
+ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
+
11
+ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+
13
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
14
+
15
+ import { defaultFocus } from '../variants/buttons';
1
16
  var accordionTitle = {
2
17
  display: 'inline-block !important',
3
18
  overflowWrap: 'break-word',
@@ -39,13 +54,9 @@ var accordionGridHeader = {
39
54
  color: 'neutral.10',
40
55
  flexGrow: 1,
41
56
  fontWeight: 700,
42
- '&.is-focused': {
43
- outline: 'none',
44
- boxShadow: 'focus',
45
- WebkitBoxShadow: 'focus',
46
- MozBoxShadow: 'focus',
57
+ '&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
47
58
  zIndex: '10'
48
- },
59
+ }),
49
60
  minHeight: '64px',
50
61
  '&.is-hovered': {
51
62
  backgroundColor: 'accent.99'
@@ -231,6 +231,28 @@ var timeZone = {
231
231
  }
232
232
  }
233
233
  };
234
+
235
+ var title = _objectSpread(_objectSpread({}, wordWrap), {}, {
236
+ fontSize: 'xx',
237
+ fontWeight: 1,
238
+ color: 'text.primary',
239
+ fontFamily: 'standard'
240
+ });
241
+
242
+ var sectionTitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
243
+ fontSize: 'lg',
244
+ fontWeight: 2,
245
+ color: 'text.primary',
246
+ fontFamily: 'standard'
247
+ });
248
+
249
+ var itemTitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
250
+ fontSize: 'md',
251
+ fontWeight: 1,
252
+ color: 'text.primary',
253
+ fontFamily: 'standard'
254
+ });
255
+
234
256
  export var text = {
235
257
  base: base,
236
258
  bodyStrong: _objectSpread(_objectSpread({}, wordWrap), {}, {
@@ -272,17 +294,31 @@ export var text = {
272
294
  }),
273
295
  environmentBreadcrumb: environmentBreadcrumb,
274
296
  fieldHelperText: fieldHelperText,
297
+ H1: _objectSpread(_objectSpread({}, title), {}, {
298
+ fontWeight: 3,
299
+ lineHeight: '28px'
300
+ }),
301
+ H2: _objectSpread(_objectSpread({}, sectionTitle), {}, {
302
+ fontWeight: 3,
303
+ lineHeight: '21px'
304
+ }),
305
+ H3: _objectSpread(_objectSpread({}, itemTitle), {}, {
306
+ fontWeight: 3,
307
+ lineHeight: '18px'
308
+ }),
309
+ H4: _objectSpread(_objectSpread({}, wordWrap), {}, {
310
+ fontSize: 'sm',
311
+ fontWeight: 3,
312
+ color: 'text.primary',
313
+ fontFamily: 'standard',
314
+ lineHeight: '16px'
315
+ }),
275
316
  inputValue: {
276
317
  fontWeight: 1,
277
318
  color: 'text.primary',
278
319
  fontFamily: 'standard'
279
320
  },
280
- itemTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
281
- fontSize: 'md',
282
- fontWeight: 1,
283
- color: 'text.primary',
284
- fontFamily: 'standard'
285
- }),
321
+ itemTitle: itemTitle,
286
322
  itemSubtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
287
323
  fontSize: 'sm',
288
324
  fontWeight: 0,
@@ -322,12 +358,7 @@ export var text = {
322
358
  color: 'text.secondary',
323
359
  fontFamily: 'standard'
324
360
  },
325
- sectionTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
326
- fontSize: 'lg',
327
- fontWeight: 2,
328
- color: 'text.primary',
329
- fontFamily: 'standard'
330
- }),
361
+ sectionTitle: sectionTitle,
331
362
  subtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
332
363
  fontWeight: 0,
333
364
  color: 'text.secondary',
@@ -345,12 +376,7 @@ export var text = {
345
376
  overflow: 'hidden',
346
377
  textOverflow: 'ellipsis'
347
378
  },
348
- title: _objectSpread(_objectSpread({}, wordWrap), {}, {
349
- fontSize: 'xx',
350
- fontWeight: 1,
351
- color: 'text.primary',
352
- fontFamily: 'standard'
353
- }),
379
+ title: title,
354
380
  tooltipContent: tooltipContent,
355
381
  timeZone: timeZone
356
382
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.32.1",
3
+ "version": "1.33.0-alpha.1",
4
4
  "description": "PingUX themeable React component library",
5
5
  "repository": {
6
6
  "type": "git",