@pingux/astro 2.207.1-alpha.0 → 2.208.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.
- package/lib/cjs/components/Badge/Badge.styles.d.ts +152 -0
- package/lib/cjs/components/Badge/Badge.styles.js +9 -1
- package/lib/cjs/components/Pagination/Pagination.js +4 -2
- package/lib/cjs/components/Pagination/Pagination.styles.js +1 -1
- package/lib/cjs/components/TableBase/TableBase.js +4 -1
- package/lib/cjs/components/TableBase/TableBase.stories.js +8 -8
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +42 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +38 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.js +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +26 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -5
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +220 -18
- package/lib/cjs/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +202 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +42 -1
- package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +3 -1
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.d.ts +11 -17
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +13 -17
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +6 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +11 -17
- package/lib/components/Badge/Badge.styles.js +9 -1
- package/lib/components/Pagination/Pagination.js +4 -2
- package/lib/components/Pagination/Pagination.styles.js +1 -1
- package/lib/components/TableBase/TableBase.js +4 -1
- package/lib/components/TableBase/TableBase.stories.js +8 -8
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +38 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/cards.js +4 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -5
- package/lib/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/styles/themes/next-gen/variants/badges.js +42 -1
- package/lib/styles/themes/next-gen/variants/cards.js +3 -1
- package/lib/styles/themes/next-gen/variants/tableBase.js +13 -17
- package/lib/styles/themes/next-gen/variants/text.js +6 -0
- package/package.json +1 -1
|
@@ -963,5 +963,157 @@ declare const _default: {
|
|
|
963
963
|
};
|
|
964
964
|
};
|
|
965
965
|
};
|
|
966
|
+
tableBaseBadge: {
|
|
967
|
+
active: {
|
|
968
|
+
borderColor: string;
|
|
969
|
+
backgroundColor: string;
|
|
970
|
+
border: string;
|
|
971
|
+
'& span': {
|
|
972
|
+
color: string;
|
|
973
|
+
};
|
|
974
|
+
cursor: string;
|
|
975
|
+
p: string;
|
|
976
|
+
alignItems: string;
|
|
977
|
+
justifyContent: string;
|
|
978
|
+
minWidth: string;
|
|
979
|
+
alignSelf: string;
|
|
980
|
+
display: string;
|
|
981
|
+
borderRadius: string;
|
|
982
|
+
fontWeight: number;
|
|
983
|
+
'& button': {
|
|
984
|
+
backgroundColor: string;
|
|
985
|
+
marginLeft: string;
|
|
986
|
+
marginTop: string;
|
|
987
|
+
padding: string;
|
|
988
|
+
'&.is-hovered': {
|
|
989
|
+
backgroundColor: string;
|
|
990
|
+
};
|
|
991
|
+
'& .mdi-icon': {
|
|
992
|
+
marginLeft: string;
|
|
993
|
+
padding: string;
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
warning: {
|
|
998
|
+
borderColor: string;
|
|
999
|
+
backgroundColor: string;
|
|
1000
|
+
border: string;
|
|
1001
|
+
'& span': {
|
|
1002
|
+
color: string;
|
|
1003
|
+
};
|
|
1004
|
+
cursor: string;
|
|
1005
|
+
p: string;
|
|
1006
|
+
alignItems: string;
|
|
1007
|
+
justifyContent: string;
|
|
1008
|
+
minWidth: string;
|
|
1009
|
+
alignSelf: string;
|
|
1010
|
+
display: string;
|
|
1011
|
+
borderRadius: string;
|
|
1012
|
+
fontWeight: number;
|
|
1013
|
+
'& button': {
|
|
1014
|
+
backgroundColor: string;
|
|
1015
|
+
marginLeft: string;
|
|
1016
|
+
marginTop: string;
|
|
1017
|
+
padding: string;
|
|
1018
|
+
'&.is-hovered': {
|
|
1019
|
+
backgroundColor: string;
|
|
1020
|
+
};
|
|
1021
|
+
'& .mdi-icon': {
|
|
1022
|
+
marginLeft: string;
|
|
1023
|
+
padding: string;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
critical: {
|
|
1028
|
+
borderColor: string;
|
|
1029
|
+
backgroundColor: string;
|
|
1030
|
+
border: string;
|
|
1031
|
+
'& span': {
|
|
1032
|
+
color: string;
|
|
1033
|
+
};
|
|
1034
|
+
cursor: string;
|
|
1035
|
+
p: string;
|
|
1036
|
+
alignItems: string;
|
|
1037
|
+
justifyContent: string;
|
|
1038
|
+
minWidth: string;
|
|
1039
|
+
alignSelf: string;
|
|
1040
|
+
display: string;
|
|
1041
|
+
borderRadius: string;
|
|
1042
|
+
fontWeight: number;
|
|
1043
|
+
'& button': {
|
|
1044
|
+
backgroundColor: string;
|
|
1045
|
+
marginLeft: string;
|
|
1046
|
+
marginTop: string;
|
|
1047
|
+
padding: string;
|
|
1048
|
+
'&.is-hovered': {
|
|
1049
|
+
backgroundColor: string;
|
|
1050
|
+
};
|
|
1051
|
+
'& .mdi-icon': {
|
|
1052
|
+
marginLeft: string;
|
|
1053
|
+
padding: string;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
healthy: {
|
|
1058
|
+
borderColor: string;
|
|
1059
|
+
backgroundColor: string;
|
|
1060
|
+
border: string;
|
|
1061
|
+
'& span': {
|
|
1062
|
+
color: string;
|
|
1063
|
+
};
|
|
1064
|
+
cursor: string;
|
|
1065
|
+
p: string;
|
|
1066
|
+
alignItems: string;
|
|
1067
|
+
justifyContent: string;
|
|
1068
|
+
minWidth: string;
|
|
1069
|
+
alignSelf: string;
|
|
1070
|
+
display: string;
|
|
1071
|
+
borderRadius: string;
|
|
1072
|
+
fontWeight: number;
|
|
1073
|
+
'& button': {
|
|
1074
|
+
backgroundColor: string;
|
|
1075
|
+
marginLeft: string;
|
|
1076
|
+
marginTop: string;
|
|
1077
|
+
padding: string;
|
|
1078
|
+
'&.is-hovered': {
|
|
1079
|
+
backgroundColor: string;
|
|
1080
|
+
};
|
|
1081
|
+
'& .mdi-icon': {
|
|
1082
|
+
marginLeft: string;
|
|
1083
|
+
padding: string;
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
secondary: {
|
|
1088
|
+
borderColor: string;
|
|
1089
|
+
backgroundColor: string;
|
|
1090
|
+
border: string;
|
|
1091
|
+
'& span': {
|
|
1092
|
+
color: string;
|
|
1093
|
+
};
|
|
1094
|
+
cursor: string;
|
|
1095
|
+
p: string;
|
|
1096
|
+
alignItems: string;
|
|
1097
|
+
justifyContent: string;
|
|
1098
|
+
minWidth: string;
|
|
1099
|
+
alignSelf: string;
|
|
1100
|
+
display: string;
|
|
1101
|
+
borderRadius: string;
|
|
1102
|
+
fontWeight: number;
|
|
1103
|
+
'& button': {
|
|
1104
|
+
backgroundColor: string;
|
|
1105
|
+
marginLeft: string;
|
|
1106
|
+
marginTop: string;
|
|
1107
|
+
padding: string;
|
|
1108
|
+
'&.is-hovered': {
|
|
1109
|
+
backgroundColor: string;
|
|
1110
|
+
};
|
|
1111
|
+
'& .mdi-icon': {
|
|
1112
|
+
marginLeft: string;
|
|
1113
|
+
padding: string;
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
966
1118
|
};
|
|
967
1119
|
export default _default;
|
|
@@ -265,6 +265,13 @@ var dataTable = {
|
|
|
265
265
|
borderColor: 'success.dark'
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
|
+
var tableBaseBadge = {
|
|
269
|
+
active: _objectSpread({}, infoCalloutBadge),
|
|
270
|
+
warning: _objectSpread({}, warningStatusBadge),
|
|
271
|
+
critical: _objectSpread({}, criticalStatusBadge),
|
|
272
|
+
healthy: _objectSpread({}, healthyStatusBadge),
|
|
273
|
+
secondary: _objectSpread({}, secondaryStatusBadge)
|
|
274
|
+
};
|
|
268
275
|
var _default = exports["default"] = {
|
|
269
276
|
activeStatusBadge: activeStatusBadge,
|
|
270
277
|
badgeDeleteButton: badgeDeleteButton,
|
|
@@ -291,5 +298,6 @@ var _default = exports["default"] = {
|
|
|
291
298
|
secondaryStatusBadge: secondaryStatusBadge,
|
|
292
299
|
removableBadge: removableBadge,
|
|
293
300
|
invertedRemovableBadge: invertedRemovableBadge,
|
|
294
|
-
dataTable: dataTable
|
|
301
|
+
dataTable: dataTable,
|
|
302
|
+
tableBaseBadge: tableBaseBadge
|
|
295
303
|
};
|
|
@@ -73,12 +73,14 @@ var Pagination = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
73
73
|
icon: _ChevronLeftIcon["default"],
|
|
74
74
|
title: {
|
|
75
75
|
name: 'Previous'
|
|
76
|
-
}
|
|
76
|
+
},
|
|
77
|
+
size: "md"
|
|
77
78
|
}, previousButtonIconProps))), (0, _react2.jsx)(_index.IconButton, nextButtonProps, (0, _react2.jsx)(_index.Icon, (0, _extends2["default"])({
|
|
78
79
|
icon: _ChevronRightIcon["default"],
|
|
79
80
|
title: {
|
|
80
81
|
name: 'Next'
|
|
81
|
-
}
|
|
82
|
+
},
|
|
83
|
+
size: "md"
|
|
82
84
|
}, nextButtonIconProps))))));
|
|
83
85
|
});
|
|
84
86
|
var _default = exports["default"] = Pagination;
|
|
@@ -338,7 +338,10 @@ function TableColumnHeader(props) {
|
|
|
338
338
|
isRow: true,
|
|
339
339
|
gap: "sm",
|
|
340
340
|
alignItems: "center"
|
|
341
|
-
}, (0, _react2.jsx)(_.Text,
|
|
341
|
+
}, (0, _react2.jsx)(_.Text, {
|
|
342
|
+
as: "h4",
|
|
343
|
+
variant: "headText"
|
|
344
|
+
}, column.rendered), allowsSorting && sortIcon), allowsResizing && (0, _react2.jsx)(Resizer, {
|
|
342
345
|
column: column,
|
|
343
346
|
layoutState: layoutState,
|
|
344
347
|
onResizeStart: onResizeStart,
|
|
@@ -89,11 +89,11 @@ var objects = [{
|
|
|
89
89
|
total_grant: '75,000'
|
|
90
90
|
}];
|
|
91
91
|
var statusVariant = {
|
|
92
|
-
Pending: '
|
|
93
|
-
Failed: '
|
|
94
|
-
Rejected: '
|
|
95
|
-
Active: '
|
|
96
|
-
Inactive: '
|
|
92
|
+
Pending: 'tableBaseBadge.secondary',
|
|
93
|
+
Failed: 'tableBaseBadge.critical',
|
|
94
|
+
Rejected: 'tableBaseBadge.critical',
|
|
95
|
+
Active: 'tableBaseBadge.healthy',
|
|
96
|
+
Inactive: 'tableBaseBadge.secondary'
|
|
97
97
|
};
|
|
98
98
|
var Default = exports.Default = function Default() {
|
|
99
99
|
return (0, _react2.jsx)(_.Card, {
|
|
@@ -256,11 +256,11 @@ var DynamicWithSorting = exports.DynamicWithSorting = function DynamicWithSortin
|
|
|
256
256
|
}, {
|
|
257
257
|
name: 'Population',
|
|
258
258
|
key: 'population',
|
|
259
|
-
isSortable:
|
|
259
|
+
isSortable: false
|
|
260
260
|
}, {
|
|
261
261
|
name: 'Continent',
|
|
262
262
|
key: 'continent',
|
|
263
|
-
isSortable:
|
|
263
|
+
isSortable: false
|
|
264
264
|
}];
|
|
265
265
|
var rows = [{
|
|
266
266
|
id: 1,
|
|
@@ -367,7 +367,7 @@ var DynamicWithSorting = exports.DynamicWithSorting = function DynamicWithSortin
|
|
|
367
367
|
}, function (column) {
|
|
368
368
|
return (0, _react2.jsx)(_.Column, {
|
|
369
369
|
minWidth: 155,
|
|
370
|
-
allowsSorting:
|
|
370
|
+
allowsSorting: column.isSortable
|
|
371
371
|
}, column.name);
|
|
372
372
|
}), (0, _react2.jsx)(_.TBody, {
|
|
373
373
|
items: list.items,
|
|
@@ -151,5 +151,47 @@ declare const badges: {
|
|
|
151
151
|
color: string;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
+
tableBaseBadge: {
|
|
155
|
+
active: {
|
|
156
|
+
backgroundColor: string;
|
|
157
|
+
'& > span': {
|
|
158
|
+
color: any;
|
|
159
|
+
fontSize: string;
|
|
160
|
+
lineHeight: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
warning: {
|
|
164
|
+
backgroundColor: string;
|
|
165
|
+
'& > span': {
|
|
166
|
+
color: any;
|
|
167
|
+
fontSize: string;
|
|
168
|
+
lineHeight: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
critical: {
|
|
172
|
+
backgroundColor: string;
|
|
173
|
+
'& > span': {
|
|
174
|
+
color: any;
|
|
175
|
+
fontSize: string;
|
|
176
|
+
lineHeight: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
healthy: {
|
|
180
|
+
backgroundColor: string;
|
|
181
|
+
'& > span': {
|
|
182
|
+
color: any;
|
|
183
|
+
fontSize: string;
|
|
184
|
+
lineHeight: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
secondary: {
|
|
188
|
+
backgroundColor: string;
|
|
189
|
+
'& > span': {
|
|
190
|
+
color: any;
|
|
191
|
+
fontSize: string;
|
|
192
|
+
lineHeight: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
154
196
|
};
|
|
155
197
|
export default badges;
|
|
@@ -110,6 +110,42 @@ var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {},
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
|
+
var tableBaseBadgeSpanStyle = {
|
|
114
|
+
fontSize: '11.25px',
|
|
115
|
+
lineHeight: '1'
|
|
116
|
+
};
|
|
117
|
+
var tableBaseBadge = {
|
|
118
|
+
active: {
|
|
119
|
+
backgroundColor: "".concat(_onyxTokens.astroTokensDark.color.blue[500], " !important"),
|
|
120
|
+
'& > span': _objectSpread(_objectSpread({}, tableBaseBadgeSpanStyle), {}, {
|
|
121
|
+
color: _onyxTokens.astroTokensDark.color.black
|
|
122
|
+
})
|
|
123
|
+
},
|
|
124
|
+
warning: {
|
|
125
|
+
backgroundColor: "".concat(_onyxTokens.astroTokensDark.color.yellow[500], " !important"),
|
|
126
|
+
'& > span': _objectSpread(_objectSpread({}, tableBaseBadgeSpanStyle), {}, {
|
|
127
|
+
color: _onyxTokens.astroTokensDark.color.black
|
|
128
|
+
})
|
|
129
|
+
},
|
|
130
|
+
critical: {
|
|
131
|
+
backgroundColor: "".concat(_onyxTokens.astroTokensDark.color.red[500], " !important"),
|
|
132
|
+
'& > span': _objectSpread(_objectSpread({}, tableBaseBadgeSpanStyle), {}, {
|
|
133
|
+
color: _onyxTokens.astroTokensDark.color.black
|
|
134
|
+
})
|
|
135
|
+
},
|
|
136
|
+
healthy: {
|
|
137
|
+
backgroundColor: "".concat(_onyxTokens.astroTokensDark.color.green[500], " !important"),
|
|
138
|
+
'& > span': _objectSpread(_objectSpread({}, tableBaseBadgeSpanStyle), {}, {
|
|
139
|
+
color: _onyxTokens.astroTokensDark.color.black
|
|
140
|
+
})
|
|
141
|
+
},
|
|
142
|
+
secondary: {
|
|
143
|
+
backgroundColor: "".concat(_onyxTokens.astroTokensDark.color.gray[500], " !important"),
|
|
144
|
+
'& > span': _objectSpread(_objectSpread({}, tableBaseBadgeSpanStyle), {}, {
|
|
145
|
+
color: _onyxTokens.astroTokensDark.color.black
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
};
|
|
113
149
|
var badges = {
|
|
114
150
|
baseBadge: baseBadge,
|
|
115
151
|
primary: primary,
|
|
@@ -154,6 +190,7 @@ var badges = {
|
|
|
154
190
|
'& span': {
|
|
155
191
|
color: 'font.base'
|
|
156
192
|
}
|
|
157
|
-
}
|
|
193
|
+
},
|
|
194
|
+
tableBaseBadge: tableBaseBadge
|
|
158
195
|
};
|
|
159
196
|
var _default = exports["default"] = badges;
|
|
@@ -5,6 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports["default"] = void 0;
|
|
8
|
+
var _onyxTokens = require("@pingux/onyx-tokens");
|
|
8
9
|
var cards = {
|
|
9
10
|
dark: {
|
|
10
11
|
border: '1px solid',
|
|
@@ -31,6 +32,9 @@ var cards = {
|
|
|
31
32
|
},
|
|
32
33
|
activeCard: {
|
|
33
34
|
borderColor: 'border.attachment'
|
|
35
|
+
},
|
|
36
|
+
tableWrapper: {
|
|
37
|
+
borderColor: _onyxTokens.astroTokensDark.color.common.border
|
|
34
38
|
}
|
|
35
39
|
};
|
|
36
40
|
var _default = exports["default"] = cards;
|
|
@@ -56,6 +56,9 @@ var text = exports.text = {
|
|
|
56
56
|
pageHeaderTitle: {
|
|
57
57
|
color: _onyxTokens.astroTokensDark.color.gray[100]
|
|
58
58
|
},
|
|
59
|
+
headText: {
|
|
60
|
+
color: _onyxTokens.astroTokensDark.color.font.base
|
|
61
|
+
},
|
|
59
62
|
linkSelectFieldLabel: {
|
|
60
63
|
color: _onyxTokens.astroTokensDark.color.font.link
|
|
61
64
|
},
|
|
@@ -664,18 +664,41 @@ declare const _default: {
|
|
|
664
664
|
};
|
|
665
665
|
};
|
|
666
666
|
caption: {
|
|
667
|
-
color:
|
|
667
|
+
color: any;
|
|
668
|
+
borderBottomColor: any;
|
|
668
669
|
};
|
|
669
670
|
thead: {
|
|
671
|
+
borderBottomColor: any;
|
|
670
672
|
'&.is-sticky': {
|
|
671
673
|
boxShadow: string;
|
|
672
674
|
};
|
|
673
675
|
};
|
|
676
|
+
tbody: {
|
|
677
|
+
borderTopColor: any;
|
|
678
|
+
};
|
|
679
|
+
row: {
|
|
680
|
+
borderBottomColor: any;
|
|
681
|
+
'&.is-hovered': {
|
|
682
|
+
bg: any;
|
|
683
|
+
'& > td:last-of-type': {
|
|
684
|
+
bg: any;
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
'&:nth-of-type(odd)': {
|
|
688
|
+
bg: any;
|
|
689
|
+
'&.is-hovered': {
|
|
690
|
+
bg: any;
|
|
691
|
+
};
|
|
692
|
+
'& > td:last-of-type': {
|
|
693
|
+
bg: any;
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
674
697
|
head: {
|
|
675
|
-
color:
|
|
698
|
+
color: any;
|
|
676
699
|
};
|
|
677
700
|
data: {
|
|
678
|
-
color:
|
|
701
|
+
color: any;
|
|
679
702
|
};
|
|
680
703
|
resizer: {
|
|
681
704
|
backgroundColor: any;
|
|
@@ -7,7 +7,6 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _onyxTokens = require("@pingux/onyx-tokens");
|
|
10
|
-
var _colors = require("../colors");
|
|
11
10
|
var _avatar = require("./avatar");
|
|
12
11
|
var _callout = _interopRequireDefault(require("./callout"));
|
|
13
12
|
var _footer = require("./footer");
|
|
@@ -262,18 +261,41 @@ var _default = exports["default"] = {
|
|
|
262
261
|
}
|
|
263
262
|
},
|
|
264
263
|
caption: {
|
|
265
|
-
color:
|
|
264
|
+
color: _onyxTokens.astroTokensDark.color.font.base,
|
|
265
|
+
borderBottomColor: _onyxTokens.astroTokensDark.color.common.border
|
|
266
266
|
},
|
|
267
267
|
thead: {
|
|
268
|
+
borderBottomColor: _onyxTokens.astroTokensDark.color.common.border,
|
|
268
269
|
'&.is-sticky': {
|
|
269
|
-
boxShadow: "0 1px 0 ".concat(
|
|
270
|
+
boxShadow: "0 1px 0 ".concat(_onyxTokens.astroTokensDark.color.common.border)
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
tbody: {
|
|
274
|
+
borderTopColor: _onyxTokens.astroTokensDark.color.common.border
|
|
275
|
+
},
|
|
276
|
+
row: {
|
|
277
|
+
borderBottomColor: _onyxTokens.astroTokensDark.color.common.border,
|
|
278
|
+
'&.is-hovered': {
|
|
279
|
+
bg: _onyxTokens.astroTokensDark.color['table-row'].hover.bg,
|
|
280
|
+
'& > td:last-of-type': {
|
|
281
|
+
bg: _onyxTokens.astroTokensDark.color['table-row'].hover.bg
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
'&:nth-of-type(odd)': {
|
|
285
|
+
bg: _onyxTokens.astroTokensDark.color.common.bg.base,
|
|
286
|
+
'&.is-hovered': {
|
|
287
|
+
bg: _onyxTokens.astroTokensDark.color['table-row'].hover.bg
|
|
288
|
+
},
|
|
289
|
+
'& > td:last-of-type': {
|
|
290
|
+
bg: _onyxTokens.astroTokensDark.color.common.bg.base
|
|
291
|
+
}
|
|
270
292
|
}
|
|
271
293
|
},
|
|
272
294
|
head: {
|
|
273
|
-
color:
|
|
295
|
+
color: _onyxTokens.astroTokensDark.color.font.base
|
|
274
296
|
},
|
|
275
297
|
data: {
|
|
276
|
-
color:
|
|
298
|
+
color: _onyxTokens.astroTokensDark.color.font.base
|
|
277
299
|
},
|
|
278
300
|
resizer: {
|
|
279
301
|
backgroundColor: _onyxTokens.astroTokensDark.color.common['border-dark']
|