@pingux/astro 2.163.1-alpha.4 → 2.163.1-alpha.5
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/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +16 -11
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +46 -25
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +31 -25
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +13 -12
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +14 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/styles/themes/next-gen/variants/badges.js +13 -12
- package/lib/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -18,8 +18,8 @@ var _button = _interopRequireDefault(require("./button"));
|
|
|
18
18
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
19
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
var badgeFont = {
|
|
21
|
-
fontSize: '
|
|
22
|
-
fontWeight: 2
|
|
21
|
+
fontSize: 'tiny',
|
|
22
|
+
fontWeight: '2'
|
|
23
23
|
};
|
|
24
24
|
var badgeIconStyle = {
|
|
25
25
|
'& span': _objectSpread({}, badgeFont),
|
|
@@ -50,7 +50,7 @@ var baseBadge = _objectSpread({
|
|
|
50
50
|
borderRadius: '4px',
|
|
51
51
|
maxHeight: '18px',
|
|
52
52
|
minHeight: '18px',
|
|
53
|
-
fontSize: '
|
|
53
|
+
fontSize: 'tiny',
|
|
54
54
|
alignSelf: 'flex-start',
|
|
55
55
|
display: 'inline-flex !important',
|
|
56
56
|
width: 'fit-content',
|
|
@@ -88,30 +88,31 @@ var selectedItemBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
|
88
88
|
backgroundColor: '#eaf2fd !important',
|
|
89
89
|
paddingRight: '0px !important',
|
|
90
90
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
91
|
-
color: 'text.primary'
|
|
92
|
-
fontWeight: 400
|
|
91
|
+
color: 'text.primary'
|
|
93
92
|
})
|
|
94
93
|
});
|
|
95
94
|
var readOnlyBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
96
|
-
border: '
|
|
95
|
+
border: '1px solid',
|
|
96
|
+
borderColor: 'border.hairline',
|
|
97
|
+
backgroundColor: '#FFFFFF !important',
|
|
97
98
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
98
99
|
color: 'text.primary',
|
|
99
|
-
|
|
100
|
+
lineHeight: 'xs'
|
|
100
101
|
})
|
|
101
102
|
});
|
|
102
103
|
var readOnlyFieldBadge = _objectSpread(_objectSpread({}, readOnlyBadge), {}, {
|
|
103
104
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
104
|
-
color: '
|
|
105
|
+
color: 'text.primary',
|
|
106
|
+
lineHeight: 'xs'
|
|
105
107
|
})
|
|
106
108
|
});
|
|
107
|
-
var itemBadgeWithSlot = _objectSpread(_objectSpread({},
|
|
108
|
-
|
|
109
|
-
fontWeight: 2,
|
|
109
|
+
var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {}, {
|
|
110
|
+
border: 'none',
|
|
110
111
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
111
112
|
color: 'text.primary'
|
|
112
113
|
}),
|
|
113
114
|
'& svg': {
|
|
114
|
-
fill: '
|
|
115
|
+
fill: 'text.primary'
|
|
115
116
|
}
|
|
116
117
|
});
|
|
117
118
|
var badgeDeleteButton = exports.badgeDeleteButton = _objectSpread(_objectSpread({}, _button["default"].iconButtons.base), {}, {
|
|
@@ -766,6 +766,9 @@ declare const _default: {
|
|
|
766
766
|
pl: string;
|
|
767
767
|
pr: string;
|
|
768
768
|
justifyContent: string;
|
|
769
|
+
borderRadius: string;
|
|
770
|
+
lineHeight: string;
|
|
771
|
+
color: string;
|
|
769
772
|
'&.is-focused': {
|
|
770
773
|
color: string;
|
|
771
774
|
bg: string;
|
|
@@ -795,14 +798,25 @@ declare const _default: {
|
|
|
795
798
|
'&.is-condensed': {
|
|
796
799
|
pl: string;
|
|
797
800
|
bg: string;
|
|
801
|
+
color: string;
|
|
798
802
|
'&.is-selected': {
|
|
799
803
|
bg: string;
|
|
800
804
|
};
|
|
801
805
|
'&.is-focused': {
|
|
802
806
|
bg: string;
|
|
807
|
+
color: string;
|
|
803
808
|
};
|
|
804
809
|
};
|
|
805
810
|
};
|
|
811
|
+
sectionTitle: {
|
|
812
|
+
color: string;
|
|
813
|
+
fontWeight: string;
|
|
814
|
+
fontSize: string;
|
|
815
|
+
lineHeight: string;
|
|
816
|
+
textTransform: string;
|
|
817
|
+
letterSpacing: string;
|
|
818
|
+
ml: string;
|
|
819
|
+
};
|
|
806
820
|
};
|
|
807
821
|
listView: {
|
|
808
822
|
container: {
|
|
@@ -158,8 +158,11 @@ var listBox = {
|
|
|
158
158
|
pl: '.75rem',
|
|
159
159
|
pr: 'md',
|
|
160
160
|
justifyContent: 'space-between',
|
|
161
|
+
borderRadius: '4px',
|
|
162
|
+
lineHeight: 'body',
|
|
163
|
+
color: 'gray-700',
|
|
161
164
|
'&.is-focused': {
|
|
162
|
-
color: '
|
|
165
|
+
color: 'font.hover',
|
|
163
166
|
bg: 'gray-100',
|
|
164
167
|
borderRadius: '4px'
|
|
165
168
|
},
|
|
@@ -187,13 +190,24 @@ var listBox = {
|
|
|
187
190
|
'&.is-condensed': {
|
|
188
191
|
pl: 'md',
|
|
189
192
|
bg: 'backgroundBase',
|
|
193
|
+
color: 'gray-700',
|
|
190
194
|
'&.is-selected': {
|
|
191
195
|
bg: 'backgroundBase'
|
|
192
196
|
},
|
|
193
197
|
'&.is-focused': {
|
|
194
|
-
bg: 'backgroundBase'
|
|
198
|
+
bg: 'backgroundBase',
|
|
199
|
+
color: 'font.hover'
|
|
195
200
|
}
|
|
196
201
|
}
|
|
202
|
+
},
|
|
203
|
+
sectionTitle: {
|
|
204
|
+
color: 'font.light',
|
|
205
|
+
fontWeight: '1',
|
|
206
|
+
fontSize: 'tiny',
|
|
207
|
+
lineHeight: 'xs',
|
|
208
|
+
textTransform: 'uppercase',
|
|
209
|
+
letterSpacing: '1px',
|
|
210
|
+
ml: 'md'
|
|
197
211
|
}
|
|
198
212
|
};
|
|
199
213
|
var separator = {
|
|
@@ -57,18 +57,35 @@ var countNeutral = {
|
|
|
57
57
|
color: 'white'
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
var readOnlyBadge = {
|
|
61
|
+
color: 'gray-100',
|
|
62
|
+
backgroundColor: '#23282E !important',
|
|
63
|
+
borderColor: 'border.attachment',
|
|
63
64
|
'& span': {
|
|
64
65
|
color: 'gray-100'
|
|
65
|
-
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
var readOnlyFieldBadge = {
|
|
69
|
+
color: 'gray-100',
|
|
70
|
+
backgroundColor: '#23282E !important',
|
|
71
|
+
borderColor: 'border.attachment',
|
|
72
|
+
'& span': {
|
|
73
|
+
color: 'gray-100'
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var selectedItemBadge = {
|
|
77
|
+
backgroundColor: '#155CBA !important',
|
|
78
|
+
'& span': {
|
|
79
|
+
color: 'gray-100'
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {}, {
|
|
66
83
|
'& svg': {
|
|
67
84
|
path: {
|
|
68
85
|
fill: 'gray-100'
|
|
69
86
|
}
|
|
70
87
|
}
|
|
71
|
-
};
|
|
88
|
+
});
|
|
72
89
|
var badges = {
|
|
73
90
|
baseBadge: baseBadge,
|
|
74
91
|
primary: primary,
|
|
@@ -83,24 +100,11 @@ var badges = {
|
|
|
83
100
|
criticalStatusBadge: criticalStatusBadge,
|
|
84
101
|
healthyStatusBadge: healthyStatusBadge,
|
|
85
102
|
secondaryStatusBadge: secondaryStatusBadge,
|
|
86
|
-
readOnlyFieldBadge: {
|
|
87
|
-
backgroundColor: '#F6F8FA !important',
|
|
88
|
-
'& span': {
|
|
89
|
-
color: 'black'
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
selectedItemBadge: {
|
|
93
|
-
backgroundColor: '#1a73e8 !important',
|
|
94
|
-
paddingRight: '0px !important',
|
|
95
|
-
pl: '10px',
|
|
96
|
-
'& span': {
|
|
97
|
-
fontSize: '14px',
|
|
98
|
-
color: 'gray-400',
|
|
99
|
-
fontWeight: 400
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
103
|
countBadge: countBadge,
|
|
103
104
|
countNeutral: countNeutral,
|
|
105
|
+
selectedItemBadge: selectedItemBadge,
|
|
106
|
+
readOnlyBadge: readOnlyBadge,
|
|
107
|
+
readOnlyFieldBadge: readOnlyFieldBadge,
|
|
104
108
|
itemBadgeWithSlot: itemBadgeWithSlot,
|
|
105
109
|
errorCalloutBadge: {
|
|
106
110
|
backgroundColor: '#23282e !important',
|
|
@@ -18,15 +18,22 @@ var listBox = {
|
|
|
18
18
|
borderRadius: '4px'
|
|
19
19
|
},
|
|
20
20
|
option: {
|
|
21
|
+
color: 'gray-400',
|
|
21
22
|
'&.is-focused': {
|
|
22
|
-
color: '
|
|
23
|
-
bg: '
|
|
23
|
+
color: 'gray-200',
|
|
24
|
+
bg: '#2C323A'
|
|
24
25
|
},
|
|
25
26
|
'&.is-selected': {
|
|
26
|
-
color: '
|
|
27
|
-
bg: '
|
|
27
|
+
color: 'gray-200',
|
|
28
|
+
bg: '#2C323A',
|
|
28
29
|
'&.is-focused': {
|
|
29
|
-
color: '
|
|
30
|
+
color: 'gray-200'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'&.is-condensed': {
|
|
34
|
+
color: 'gray-400',
|
|
35
|
+
'&.is-focused': {
|
|
36
|
+
color: 'gray-200'
|
|
30
37
|
}
|
|
31
38
|
},
|
|
32
39
|
'&.is-focus-visible': {
|
|
@@ -11,8 +11,8 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import buttons from './button';
|
|
13
13
|
var badgeFont = {
|
|
14
|
-
fontSize: '
|
|
15
|
-
fontWeight: 2
|
|
14
|
+
fontSize: 'tiny',
|
|
15
|
+
fontWeight: '2'
|
|
16
16
|
};
|
|
17
17
|
var badgeIconStyle = {
|
|
18
18
|
'& span': _objectSpread({}, badgeFont),
|
|
@@ -43,7 +43,7 @@ var baseBadge = _objectSpread({
|
|
|
43
43
|
borderRadius: '4px',
|
|
44
44
|
maxHeight: '18px',
|
|
45
45
|
minHeight: '18px',
|
|
46
|
-
fontSize: '
|
|
46
|
+
fontSize: 'tiny',
|
|
47
47
|
alignSelf: 'flex-start',
|
|
48
48
|
display: 'inline-flex !important',
|
|
49
49
|
width: 'fit-content',
|
|
@@ -81,30 +81,31 @@ var selectedItemBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
|
81
81
|
backgroundColor: '#eaf2fd !important',
|
|
82
82
|
paddingRight: '0px !important',
|
|
83
83
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
84
|
-
color: 'text.primary'
|
|
85
|
-
fontWeight: 400
|
|
84
|
+
color: 'text.primary'
|
|
86
85
|
})
|
|
87
86
|
});
|
|
88
87
|
var readOnlyBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
89
|
-
border: '
|
|
88
|
+
border: '1px solid',
|
|
89
|
+
borderColor: 'border.hairline',
|
|
90
|
+
backgroundColor: '#FFFFFF !important',
|
|
90
91
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
91
92
|
color: 'text.primary',
|
|
92
|
-
|
|
93
|
+
lineHeight: 'xs'
|
|
93
94
|
})
|
|
94
95
|
});
|
|
95
96
|
var readOnlyFieldBadge = _objectSpread(_objectSpread({}, readOnlyBadge), {}, {
|
|
96
97
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
97
|
-
color: '
|
|
98
|
+
color: 'text.primary',
|
|
99
|
+
lineHeight: 'xs'
|
|
98
100
|
})
|
|
99
101
|
});
|
|
100
|
-
var itemBadgeWithSlot = _objectSpread(_objectSpread({},
|
|
101
|
-
|
|
102
|
-
fontWeight: 2,
|
|
102
|
+
var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {}, {
|
|
103
|
+
border: 'none',
|
|
103
104
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
104
105
|
color: 'text.primary'
|
|
105
106
|
}),
|
|
106
107
|
'& svg': {
|
|
107
|
-
fill: '
|
|
108
|
+
fill: 'text.primary'
|
|
108
109
|
}
|
|
109
110
|
});
|
|
110
111
|
export var badgeDeleteButton = _objectSpread(_objectSpread({}, buttons.iconButtons.base), {}, {
|
|
@@ -148,8 +148,11 @@ var listBox = {
|
|
|
148
148
|
pl: '.75rem',
|
|
149
149
|
pr: 'md',
|
|
150
150
|
justifyContent: 'space-between',
|
|
151
|
+
borderRadius: '4px',
|
|
152
|
+
lineHeight: 'body',
|
|
153
|
+
color: 'gray-700',
|
|
151
154
|
'&.is-focused': {
|
|
152
|
-
color: '
|
|
155
|
+
color: 'font.hover',
|
|
153
156
|
bg: 'gray-100',
|
|
154
157
|
borderRadius: '4px'
|
|
155
158
|
},
|
|
@@ -177,13 +180,24 @@ var listBox = {
|
|
|
177
180
|
'&.is-condensed': {
|
|
178
181
|
pl: 'md',
|
|
179
182
|
bg: 'backgroundBase',
|
|
183
|
+
color: 'gray-700',
|
|
180
184
|
'&.is-selected': {
|
|
181
185
|
bg: 'backgroundBase'
|
|
182
186
|
},
|
|
183
187
|
'&.is-focused': {
|
|
184
|
-
bg: 'backgroundBase'
|
|
188
|
+
bg: 'backgroundBase',
|
|
189
|
+
color: 'font.hover'
|
|
185
190
|
}
|
|
186
191
|
}
|
|
192
|
+
},
|
|
193
|
+
sectionTitle: {
|
|
194
|
+
color: 'font.light',
|
|
195
|
+
fontWeight: '1',
|
|
196
|
+
fontSize: 'tiny',
|
|
197
|
+
lineHeight: 'xs',
|
|
198
|
+
textTransform: 'uppercase',
|
|
199
|
+
letterSpacing: '1px',
|
|
200
|
+
ml: 'md'
|
|
187
201
|
}
|
|
188
202
|
};
|
|
189
203
|
var separator = {
|