@pingux/astro 2.119.0 → 2.120.0-alpha.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 (39) hide show
  1. package/lib/cjs/components/Badge/Badge.styles.d.ts +31 -0
  2. package/lib/cjs/components/Badge/Badge.styles.js +5 -0
  3. package/lib/cjs/components/DataTable/DataTable.js +6 -6
  4. package/lib/cjs/components/DataTable/DataTable.stories.d.ts +13 -0
  5. package/lib/cjs/components/DataTable/DataTable.stories.js +113 -1
  6. package/lib/cjs/components/DataTable/DataTableBadge.js +12 -5
  7. package/lib/cjs/{styles/themes/next-gen → components/DataTable}/stories/DataTableNextGenComponent.d.ts +0 -4
  8. package/lib/cjs/{styles/themes/next-gen → components/DataTable}/stories/DataTableNextGenComponent.js +30 -33
  9. package/lib/cjs/{styles/themeOverrides/nextGenDarkMode → components/DataTable}/stories/NextGenDarkDataTable.chomatic.stories.js +2 -2
  10. package/lib/cjs/{styles/themes/next-gen → components/DataTable}/stories/NextGenDataTable.chromatic.stories.js +1 -1
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +13 -0
  12. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +14 -1
  13. package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +2 -1
  14. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +2 -1
  15. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +139 -3
  16. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +97 -2
  17. package/lib/cjs/styles/themes/next-gen/variants/badges.js +72 -50
  18. package/lib/cjs/styles/themes/next-gen/variants/dataTable.d.ts +68 -0
  19. package/lib/cjs/styles/themes/next-gen/variants/dataTable.js +82 -0
  20. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +42 -1
  21. package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -28
  22. package/lib/components/Badge/Badge.styles.js +5 -0
  23. package/lib/components/DataTable/DataTable.js +5 -5
  24. package/lib/components/DataTable/DataTable.stories.js +111 -0
  25. package/lib/components/DataTable/DataTableBadge.js +11 -3
  26. package/lib/{styles/themes/next-gen → components/DataTable}/stories/DataTableNextGenComponent.js +4 -6
  27. package/lib/{styles/themeOverrides/nextGenDarkMode → components/DataTable}/stories/NextGenDarkDataTable.chomatic.stories.js +2 -2
  28. package/lib/{styles/themes/next-gen → components/DataTable}/stories/NextGenDataTable.chromatic.stories.js +1 -1
  29. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +14 -1
  30. package/lib/styles/themes/next-gen/convertedComponentList.js +2 -1
  31. package/lib/styles/themes/next-gen/variants/badges.js +72 -50
  32. package/lib/styles/themes/next-gen/variants/dataTable.js +74 -0
  33. package/lib/styles/themes/next-gen/variants/variants.js +1 -27
  34. package/package.json +1 -1
  35. package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.d.ts +0 -6
  36. package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +0 -19
  37. package/lib/recipes/NextGen/NextGenDataTable.stories.js +0 -9
  38. /package/lib/cjs/{styles/themeOverrides/nextGenDarkMode → components/DataTable}/stories/NextGenDarkDataTable.chomatic.stories.d.ts +0 -0
  39. /package/lib/cjs/{styles/themes/next-gen → components/DataTable}/stories/NextGenDataTable.chromatic.stories.d.ts +0 -0
@@ -1372,7 +1372,7 @@ declare const _default: {
1372
1372
  };
1373
1373
  };
1374
1374
  badges: {
1375
- primary: {
1375
+ baseBadge: {
1376
1376
  backgroundColor: string;
1377
1377
  '& span': {
1378
1378
  color: string;
@@ -1389,7 +1389,7 @@ declare const _default: {
1389
1389
  display: string;
1390
1390
  width: string;
1391
1391
  };
1392
- baseBadge: {
1392
+ primary: {
1393
1393
  backgroundColor: string;
1394
1394
  '& span': {
1395
1395
  color: string;
@@ -1514,6 +1514,101 @@ declare const _default: {
1514
1514
  fontSize: string;
1515
1515
  };
1516
1516
  };
1517
+ activeStatusBadge: {
1518
+ minWidth: string;
1519
+ border: string;
1520
+ backgroundColor: string;
1521
+ '& span': {
1522
+ color: string;
1523
+ fontSize: string;
1524
+ fontWeight: number;
1525
+ };
1526
+ alignItems: string;
1527
+ justifyContent: string;
1528
+ py: string;
1529
+ px: string;
1530
+ borderRadius: string;
1531
+ fontSize: string;
1532
+ alignSelf: string;
1533
+ display: string;
1534
+ width: string;
1535
+ };
1536
+ warningStatusBadge: {
1537
+ minWidth: string;
1538
+ border: string;
1539
+ backgroundColor: string;
1540
+ '& span': {
1541
+ color: string;
1542
+ fontSize: string;
1543
+ fontWeight: number;
1544
+ };
1545
+ alignItems: string;
1546
+ justifyContent: string;
1547
+ py: string;
1548
+ px: string;
1549
+ borderRadius: string;
1550
+ fontSize: string;
1551
+ alignSelf: string;
1552
+ display: string;
1553
+ width: string;
1554
+ };
1555
+ criticalStatusBadge: {
1556
+ minWidth: string;
1557
+ border: string;
1558
+ backgroundColor: string;
1559
+ '& span': {
1560
+ color: string;
1561
+ fontSize: string;
1562
+ fontWeight: number;
1563
+ };
1564
+ alignItems: string;
1565
+ justifyContent: string;
1566
+ py: string;
1567
+ px: string;
1568
+ borderRadius: string;
1569
+ fontSize: string;
1570
+ alignSelf: string;
1571
+ display: string;
1572
+ width: string;
1573
+ };
1574
+ healthyStatusBadge: {
1575
+ minWidth: string;
1576
+ border: string;
1577
+ backgroundColor: string;
1578
+ '& span': {
1579
+ color: string;
1580
+ fontSize: string;
1581
+ fontWeight: number;
1582
+ };
1583
+ alignItems: string;
1584
+ justifyContent: string;
1585
+ py: string;
1586
+ px: string;
1587
+ borderRadius: string;
1588
+ fontSize: string;
1589
+ alignSelf: string;
1590
+ display: string;
1591
+ width: string;
1592
+ };
1593
+ secondaryStatusBadge: {
1594
+ minWidth: string;
1595
+ border: string;
1596
+ backgroundColor: string;
1597
+ '& span': {
1598
+ color: string;
1599
+ fontSize: string;
1600
+ fontWeight: number;
1601
+ };
1602
+ alignItems: string;
1603
+ justifyContent: string;
1604
+ py: string;
1605
+ px: string;
1606
+ borderRadius: string;
1607
+ fontSize: string;
1608
+ alignSelf: string;
1609
+ display: string;
1610
+ width: string;
1611
+ };
1517
1612
  badgeDeleteButton: {
1518
1613
  borderRadius: string;
1519
1614
  cursor: string;
@@ -2532,20 +2627,61 @@ declare const _default: {
2532
2627
  borderTopColor: string;
2533
2628
  borderBottom: string;
2534
2629
  pl: string;
2630
+ '&:last-of-type': {
2631
+ borderBottomLeftRadius: string;
2632
+ borderBottomRightRadius: string;
2633
+ };
2634
+ };
2635
+ selectableTableRow: {
2636
+ bg: string;
2637
+ '&.is-hovered': {
2638
+ bg: string;
2639
+ };
2640
+ '&.is-selected': {
2641
+ bg: string;
2642
+ };
2643
+ '&.is-focused': {
2644
+ boxShadow: string;
2645
+ bg: string;
2646
+ };
2647
+ '&.is-disabled': {
2648
+ opacity: string;
2649
+ };
2650
+ borderTop: string;
2651
+ borderTopColor: string;
2652
+ borderBottom: string;
2653
+ pl: string;
2654
+ '&:last-of-type': {
2655
+ borderBottomLeftRadius: string;
2656
+ borderBottomRightRadius: string;
2657
+ };
2535
2658
  };
2536
2659
  tableHeadWrapper: {
2537
2660
  borderBottom: string;
2538
2661
  };
2539
2662
  tableHeadCell: {
2540
- pl: string;
2663
+ px: string;
2541
2664
  fontWeight: string;
2542
2665
  fontSize: string;
2666
+ '&.is-first-column': {
2667
+ borderTopLeftRadius: string;
2668
+ };
2669
+ '&.is-last-column': {
2670
+ borderTopRightRadius: string;
2671
+ };
2672
+ '&.is-key-focused': {
2673
+ outline: string;
2674
+ outlineStyle: string;
2675
+ outlineColor: string;
2676
+ outlineOffset: string;
2677
+ };
2543
2678
  };
2544
2679
  rowHeader: {
2545
2680
  py: string;
2546
2681
  };
2547
2682
  tableCell: {
2548
2683
  fontSize: string;
2684
+ px: string;
2549
2685
  };
2550
2686
  };
2551
2687
  codeView: {
@@ -31,7 +31,7 @@ export declare const badgeDeleteButton: {
31
31
  };
32
32
  };
33
33
  export declare const badges: {
34
- primary: {
34
+ baseBadge: {
35
35
  backgroundColor: string;
36
36
  '& span': {
37
37
  color: string;
@@ -48,7 +48,7 @@ export declare const badges: {
48
48
  display: string;
49
49
  width: string;
50
50
  };
51
- baseBadge: {
51
+ primary: {
52
52
  backgroundColor: string;
53
53
  '& span': {
54
54
  color: string;
@@ -173,6 +173,101 @@ export declare const badges: {
173
173
  fontSize: string;
174
174
  };
175
175
  };
176
+ activeStatusBadge: {
177
+ minWidth: string;
178
+ border: string;
179
+ backgroundColor: string;
180
+ '& span': {
181
+ color: string;
182
+ fontSize: string;
183
+ fontWeight: number;
184
+ };
185
+ alignItems: string;
186
+ justifyContent: string;
187
+ py: string;
188
+ px: string;
189
+ borderRadius: string;
190
+ fontSize: string;
191
+ alignSelf: string;
192
+ display: string;
193
+ width: string;
194
+ };
195
+ warningStatusBadge: {
196
+ minWidth: string;
197
+ border: string;
198
+ backgroundColor: string;
199
+ '& span': {
200
+ color: string;
201
+ fontSize: string;
202
+ fontWeight: number;
203
+ };
204
+ alignItems: string;
205
+ justifyContent: string;
206
+ py: string;
207
+ px: string;
208
+ borderRadius: string;
209
+ fontSize: string;
210
+ alignSelf: string;
211
+ display: string;
212
+ width: string;
213
+ };
214
+ criticalStatusBadge: {
215
+ minWidth: string;
216
+ border: string;
217
+ backgroundColor: string;
218
+ '& span': {
219
+ color: string;
220
+ fontSize: string;
221
+ fontWeight: number;
222
+ };
223
+ alignItems: string;
224
+ justifyContent: string;
225
+ py: string;
226
+ px: string;
227
+ borderRadius: string;
228
+ fontSize: string;
229
+ alignSelf: string;
230
+ display: string;
231
+ width: string;
232
+ };
233
+ healthyStatusBadge: {
234
+ minWidth: string;
235
+ border: string;
236
+ backgroundColor: string;
237
+ '& span': {
238
+ color: string;
239
+ fontSize: string;
240
+ fontWeight: number;
241
+ };
242
+ alignItems: string;
243
+ justifyContent: string;
244
+ py: string;
245
+ px: string;
246
+ borderRadius: string;
247
+ fontSize: string;
248
+ alignSelf: string;
249
+ display: string;
250
+ width: string;
251
+ };
252
+ secondaryStatusBadge: {
253
+ minWidth: string;
254
+ border: string;
255
+ backgroundColor: string;
256
+ '& span': {
257
+ color: string;
258
+ fontSize: string;
259
+ fontWeight: number;
260
+ };
261
+ alignItems: string;
262
+ justifyContent: string;
263
+ py: string;
264
+ px: string;
265
+ borderRadius: string;
266
+ fontSize: string;
267
+ alignSelf: string;
268
+ display: string;
269
+ width: string;
270
+ };
176
271
  badgeDeleteButton: {
177
272
  borderRadius: string;
178
273
  cursor: string;
@@ -33,6 +33,56 @@ var baseBadge = {
33
33
  width: 'fit-content',
34
34
  '& span': _objectSpread({}, badgeFont)
35
35
  };
36
+ var primary = _objectSpread(_objectSpread({}, baseBadge), {}, {
37
+ backgroundColor: '#eaf1fb !important',
38
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
39
+ color: '#1967d2'
40
+ })
41
+ });
42
+ var secondary = _objectSpread(_objectSpread({}, baseBadge), {}, {
43
+ backgroundColor: '#f6f8fa !important',
44
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
45
+ color: 'gray-900'
46
+ })
47
+ });
48
+ var success = _objectSpread(_objectSpread({}, baseBadge), {}, {
49
+ backgroundColor: '#d3eddf !important',
50
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
51
+ color: 'success.dark'
52
+ })
53
+ });
54
+ var danger = _objectSpread(_objectSpread({}, baseBadge), {}, {
55
+ backgroundColor: '#f8d8d5 !important',
56
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
57
+ color: 'red-700'
58
+ })
59
+ });
60
+ var warning = _objectSpread(_objectSpread({}, baseBadge), {}, {
61
+ backgroundColor: '#fff1da !important',
62
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
63
+ color: 'yellow-700'
64
+ })
65
+ });
66
+ var dark = _objectSpread(_objectSpread({}, baseBadge), {}, {
67
+ backgroundColor: 'black !important',
68
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
69
+ color: 'white'
70
+ })
71
+ });
72
+ var selectedItemBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
73
+ backgroundColor: '#eaf2fd !important',
74
+ paddingRight: '0px !important',
75
+ '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
76
+ fontSize: '14px',
77
+ color: 'text.primary',
78
+ fontWeight: 400
79
+ })
80
+ });
81
+ var readOnlyBadge = {
82
+ '& span': {
83
+ fontSize: '14px'
84
+ }
85
+ };
36
86
  var badgeDeleteButton = _objectSpread(_objectSpread({}, _button["default"].iconButtons.base), {}, {
37
87
  borderRadius: '50%',
38
88
  cursor: 'pointer',
@@ -41,63 +91,35 @@ var badgeDeleteButton = _objectSpread(_objectSpread({}, _button["default"].iconB
41
91
  width: 14
42
92
  });
43
93
  exports.badgeDeleteButton = badgeDeleteButton;
94
+ var dataTableBadge = {
95
+ minWidth: '100px',
96
+ border: 'none'
97
+ };
98
+ var activeStatusBadge = _objectSpread(_objectSpread({}, primary), dataTableBadge);
99
+ var warningStatusBadge = _objectSpread(_objectSpread({}, warning), dataTableBadge);
100
+ var criticalStatusBadge = _objectSpread(_objectSpread({}, danger), dataTableBadge);
101
+ var healthyStatusBadge = _objectSpread(_objectSpread({}, success), dataTableBadge);
102
+ var secondaryStatusBadge = _objectSpread(_objectSpread({}, secondary), dataTableBadge);
44
103
  var badges = {
45
- primary: _objectSpread(_objectSpread({}, baseBadge), {}, {
46
- backgroundColor: '#eaf1fb !important',
47
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
48
- color: '#1967d2'
49
- })
50
- }),
51
104
  baseBadge: _objectSpread(_objectSpread({}, baseBadge), {}, {
52
105
  backgroundColor: '#eaf1fb !important',
53
106
  '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
54
107
  color: '#1967d2'
55
108
  })
56
109
  }),
57
- secondary: _objectSpread(_objectSpread({}, baseBadge), {}, {
58
- backgroundColor: '#f6f8fa !important',
59
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
60
- color: 'gray-900'
61
- })
62
- }),
63
- success: _objectSpread(_objectSpread({}, baseBadge), {}, {
64
- backgroundColor: '#d3eddf !important',
65
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
66
- color: 'success.dark'
67
- })
68
- }),
69
- danger: _objectSpread(_objectSpread({}, baseBadge), {}, {
70
- backgroundColor: '#f8d8d5 !important',
71
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
72
- color: 'red-700'
73
- })
74
- }),
75
- warning: _objectSpread(_objectSpread({}, baseBadge), {}, {
76
- backgroundColor: '#fff1da !important',
77
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
78
- color: 'yellow-700'
79
- })
80
- }),
81
- dark: _objectSpread(_objectSpread({}, baseBadge), {}, {
82
- backgroundColor: 'black !important',
83
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
84
- color: 'white'
85
- })
86
- }),
87
- selectedItemBadge: _objectSpread(_objectSpread({}, baseBadge), {}, {
88
- backgroundColor: '#eaf2fd !important',
89
- paddingRight: '0px !important',
90
- '& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
91
- fontSize: '14px',
92
- color: 'text.primary',
93
- fontWeight: 400
94
- })
95
- }),
96
- readOnlyBadge: {
97
- '& span': {
98
- fontSize: '14px'
99
- }
100
- },
110
+ primary: primary,
111
+ secondary: secondary,
112
+ success: success,
113
+ danger: danger,
114
+ warning: warning,
115
+ dark: dark,
116
+ selectedItemBadge: selectedItemBadge,
117
+ readOnlyBadge: readOnlyBadge,
118
+ activeStatusBadge: activeStatusBadge,
119
+ warningStatusBadge: warningStatusBadge,
120
+ criticalStatusBadge: criticalStatusBadge,
121
+ healthyStatusBadge: healthyStatusBadge,
122
+ secondaryStatusBadge: secondaryStatusBadge,
101
123
  badgeDeleteButton: badgeDeleteButton
102
124
  };
103
125
  exports.badges = badges;
@@ -0,0 +1,68 @@
1
+ export declare const dataTable: {
2
+ container: {
3
+ border: string;
4
+ borderColor: string;
5
+ borderRadius: string;
6
+ };
7
+ tableRow: {
8
+ borderTop: string;
9
+ borderTopColor: string;
10
+ borderBottom: string;
11
+ pl: string;
12
+ '&:last-of-type': {
13
+ borderBottomLeftRadius: string;
14
+ borderBottomRightRadius: string;
15
+ };
16
+ };
17
+ selectableTableRow: {
18
+ bg: string;
19
+ '&.is-hovered': {
20
+ bg: string;
21
+ };
22
+ '&.is-selected': {
23
+ bg: string;
24
+ };
25
+ '&.is-focused': {
26
+ boxShadow: string;
27
+ bg: string;
28
+ };
29
+ '&.is-disabled': {
30
+ opacity: string;
31
+ };
32
+ borderTop: string;
33
+ borderTopColor: string;
34
+ borderBottom: string;
35
+ pl: string;
36
+ '&:last-of-type': {
37
+ borderBottomLeftRadius: string;
38
+ borderBottomRightRadius: string;
39
+ };
40
+ };
41
+ tableHeadWrapper: {
42
+ borderBottom: string;
43
+ };
44
+ tableHeadCell: {
45
+ px: string;
46
+ fontWeight: string;
47
+ fontSize: string;
48
+ '&.is-first-column': {
49
+ borderTopLeftRadius: string;
50
+ };
51
+ '&.is-last-column': {
52
+ borderTopRightRadius: string;
53
+ };
54
+ '&.is-key-focused': {
55
+ outline: string;
56
+ outlineStyle: string;
57
+ outlineColor: string;
58
+ outlineOffset: string;
59
+ };
60
+ };
61
+ rowHeader: {
62
+ py: string;
63
+ };
64
+ tableCell: {
65
+ fontSize: string;
66
+ px: string;
67
+ };
68
+ };
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
4
+ var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
5
+ var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
6
+ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
7
+ var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
8
+ var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
9
+ var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
10
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
11
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
12
+ _Object$defineProperty(exports, "__esModule", {
13
+ value: true
14
+ });
15
+ exports.dataTable = void 0;
16
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
+ 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; }
18
+ 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) { (0, _defineProperty2["default"])(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; }
19
+ var container = {
20
+ border: '1px solid',
21
+ borderColor: 'border.base',
22
+ borderRadius: '16px'
23
+ };
24
+ var tableRow = {
25
+ borderTop: '1px solid',
26
+ borderTopColor: 'border.base',
27
+ borderBottom: '0',
28
+ pl: 'lg',
29
+ '&:last-of-type': {
30
+ borderBottomLeftRadius: '16px',
31
+ borderBottomRightRadius: '16px'
32
+ }
33
+ };
34
+ var selectableTableRow = _objectSpread(_objectSpread({}, tableRow), {}, {
35
+ bg: 'background.base',
36
+ '&.is-hovered': {
37
+ bg: 'gray-100'
38
+ },
39
+ '&.is-selected': {
40
+ bg: 'gray-100'
41
+ },
42
+ '&.is-focused': {
43
+ boxShadow: '0 0 0 3px inset #1a73e8',
44
+ bg: 'gray-100'
45
+ },
46
+ '&.is-disabled': {
47
+ opacity: '0.5 !important'
48
+ }
49
+ });
50
+ var dataTable = {
51
+ container: container,
52
+ tableRow: tableRow,
53
+ selectableTableRow: selectableTableRow,
54
+ tableHeadWrapper: {
55
+ borderBottom: '0'
56
+ },
57
+ tableHeadCell: {
58
+ px: 'lg',
59
+ fontWeight: '2',
60
+ fontSize: 'md',
61
+ '&.is-first-column': {
62
+ borderTopLeftRadius: '16px'
63
+ },
64
+ '&.is-last-column': {
65
+ borderTopRightRadius: '16px'
66
+ },
67
+ '&.is-key-focused': {
68
+ outline: '1px',
69
+ outlineStyle: 'solid',
70
+ outlineColor: 'active',
71
+ outlineOffset: '-2px'
72
+ }
73
+ },
74
+ rowHeader: {
75
+ py: '20px !important'
76
+ },
77
+ tableCell: {
78
+ fontSize: 'md',
79
+ px: 'lg'
80
+ }
81
+ };
82
+ exports.dataTable = dataTable;
@@ -695,20 +695,61 @@ declare const _default: {
695
695
  borderTopColor: string;
696
696
  borderBottom: string;
697
697
  pl: string;
698
+ '&:last-of-type': {
699
+ borderBottomLeftRadius: string;
700
+ borderBottomRightRadius: string;
701
+ };
702
+ };
703
+ selectableTableRow: {
704
+ bg: string;
705
+ '&.is-hovered': {
706
+ bg: string;
707
+ };
708
+ '&.is-selected': {
709
+ bg: string;
710
+ };
711
+ '&.is-focused': {
712
+ boxShadow: string;
713
+ bg: string;
714
+ };
715
+ '&.is-disabled': {
716
+ opacity: string;
717
+ };
718
+ borderTop: string;
719
+ borderTopColor: string;
720
+ borderBottom: string;
721
+ pl: string;
722
+ '&:last-of-type': {
723
+ borderBottomLeftRadius: string;
724
+ borderBottomRightRadius: string;
725
+ };
698
726
  };
699
727
  tableHeadWrapper: {
700
728
  borderBottom: string;
701
729
  };
702
730
  tableHeadCell: {
703
- pl: string;
731
+ px: string;
704
732
  fontWeight: string;
705
733
  fontSize: string;
734
+ '&.is-first-column': {
735
+ borderTopLeftRadius: string;
736
+ };
737
+ '&.is-last-column': {
738
+ borderTopRightRadius: string;
739
+ };
740
+ '&.is-key-focused': {
741
+ outline: string;
742
+ outlineStyle: string;
743
+ outlineColor: string;
744
+ outlineOffset: string;
745
+ };
706
746
  };
707
747
  rowHeader: {
708
748
  py: string;
709
749
  };
710
750
  tableCell: {
711
751
  fontSize: string;
752
+ px: string;
712
753
  };
713
754
  };
714
755
  codeView: {