@pingux/astro 2.150.0-alpha.0 → 2.150.0-alpha.2
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/AccordionGridGroup/AccordionGrid.styles.js +1 -1
- package/lib/cjs/components/AstroProvider/AstroProvider.js +4 -4
- package/lib/cjs/components/Box/Box.js +5 -3
- package/lib/cjs/components/Box/Box.stories.d.ts +1 -0
- package/lib/cjs/components/Box/Box.stories.js +18 -1
- package/lib/cjs/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.js +4 -2
- package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +1 -1
- package/lib/cjs/components/Modal/Modal.styles.js +1 -1
- package/lib/cjs/styles/colors.d.ts +6 -0
- package/lib/cjs/styles/colors.js +6 -0
- package/lib/cjs/styles/theme.js +1 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +5 -6
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +20 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +6 -7
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +11 -7
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +2 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +156 -12
- package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.d.ts +11 -0
- package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.js +197 -0
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/box.d.ts +61 -0
- package/lib/cjs/styles/themes/next-gen/variants/box.js +58 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +106 -5
- package/lib/cjs/styles/themes/next-gen/variants/button.js +40 -4
- package/lib/cjs/styles/themes/next-gen/variants/callout.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/dataTable.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/input.js +23 -2
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/stepper.js +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/table.js +2 -2
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +4 -4
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +44 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +20 -28
- package/lib/cjs/types/iconButtonToggle.d.ts +2 -0
- package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +1 -1
- package/lib/components/AstroProvider/AstroProvider.js +4 -4
- package/lib/components/Box/Box.js +5 -3
- package/lib/components/Box/Box.stories.js +16 -0
- package/lib/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
- package/lib/components/IconButtonToggle/IconButtonToggle.js +4 -2
- package/lib/components/ListView/stories/ListViewNextGenComponent.js +1 -1
- package/lib/components/Modal/Modal.styles.js +1 -1
- package/lib/styles/colors.js +6 -0
- package/lib/styles/theme.js +1 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
- package/lib/styles/themes/next-gen/colors/colors.js +11 -7
- package/lib/styles/themes/next-gen/convertedComponentList.js +2 -2
- package/lib/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.js +178 -0
- package/lib/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
- package/lib/styles/themes/next-gen/variants/box.js +49 -0
- package/lib/styles/themes/next-gen/variants/button.js +40 -4
- package/lib/styles/themes/next-gen/variants/callout.js +1 -1
- package/lib/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/styles/themes/next-gen/variants/dataTable.js +1 -1
- package/lib/styles/themes/next-gen/variants/input.js +23 -2
- package/lib/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/styles/themes/next-gen/variants/navbar.js +1 -1
- package/lib/styles/themes/next-gen/variants/navigationHeader.js +3 -3
- package/lib/styles/themes/next-gen/variants/panelHeader.js +1 -1
- package/lib/styles/themes/next-gen/variants/stepper.js +3 -3
- package/lib/styles/themes/next-gen/variants/table.js +2 -2
- package/lib/styles/themes/next-gen/variants/tableBase.js +4 -4
- package/lib/styles/themes/next-gen/variants/variants.js +20 -28
- package/package.json +1 -1
|
@@ -139,8 +139,20 @@ declare const buttons: {
|
|
|
139
139
|
backgroundColor: string;
|
|
140
140
|
borderColor: string;
|
|
141
141
|
color: string;
|
|
142
|
+
'&.is-focused': {
|
|
143
|
+
outlineColor: string;
|
|
144
|
+
backgroundColor: string;
|
|
145
|
+
outline: string;
|
|
146
|
+
outlineOffset: string;
|
|
147
|
+
};
|
|
148
|
+
'&.is-pressed': {
|
|
149
|
+
backgroundColor: string;
|
|
150
|
+
color: string;
|
|
151
|
+
};
|
|
142
152
|
'&.is-hovered': {
|
|
143
153
|
boxShadow: string;
|
|
154
|
+
backgroundColor: string;
|
|
155
|
+
color: string;
|
|
144
156
|
};
|
|
145
157
|
alignItems: string;
|
|
146
158
|
justifyContent: string;
|
|
@@ -164,11 +176,6 @@ declare const buttons: {
|
|
|
164
176
|
'&.is-disabled': {
|
|
165
177
|
opacity: number;
|
|
166
178
|
};
|
|
167
|
-
'&.is-focused': {
|
|
168
|
-
outline: string;
|
|
169
|
-
outlineColor: string;
|
|
170
|
-
outlineOffset: string;
|
|
171
|
-
};
|
|
172
179
|
transition: string;
|
|
173
180
|
};
|
|
174
181
|
inverse: {
|
|
@@ -1184,6 +1191,47 @@ declare const buttons: {
|
|
|
1184
1191
|
outlineOffset: string;
|
|
1185
1192
|
};
|
|
1186
1193
|
};
|
|
1194
|
+
passwordVisibilityIcon: {
|
|
1195
|
+
right: number;
|
|
1196
|
+
padding: string;
|
|
1197
|
+
border: string;
|
|
1198
|
+
'&:hover, &.is-pressed': {
|
|
1199
|
+
background: string;
|
|
1200
|
+
boxShadow: string;
|
|
1201
|
+
};
|
|
1202
|
+
'&.is-focused': {
|
|
1203
|
+
outline: string;
|
|
1204
|
+
outlineOffset: string;
|
|
1205
|
+
outlineColor: string;
|
|
1206
|
+
};
|
|
1207
|
+
position: string;
|
|
1208
|
+
top: string;
|
|
1209
|
+
transform: string;
|
|
1210
|
+
height: string;
|
|
1211
|
+
width: string;
|
|
1212
|
+
justifyContent: string;
|
|
1213
|
+
path: {
|
|
1214
|
+
fill: string;
|
|
1215
|
+
};
|
|
1216
|
+
'&.is-hovered': {
|
|
1217
|
+
backgroundColor: string;
|
|
1218
|
+
path: {
|
|
1219
|
+
fill: string;
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
'&.is-pressed': {
|
|
1223
|
+
backgroundColor: string;
|
|
1224
|
+
path: {
|
|
1225
|
+
fill: string;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
p: string;
|
|
1229
|
+
transition: string;
|
|
1230
|
+
outline: string;
|
|
1231
|
+
borderRadius: string;
|
|
1232
|
+
cursor: string;
|
|
1233
|
+
boxShadow: string;
|
|
1234
|
+
};
|
|
1187
1235
|
};
|
|
1188
1236
|
modalCloseButton: {
|
|
1189
1237
|
position: string;
|
|
@@ -1283,5 +1331,58 @@ declare const buttons: {
|
|
|
1283
1331
|
outline: string;
|
|
1284
1332
|
};
|
|
1285
1333
|
};
|
|
1334
|
+
ButtonInputGroupContentRight: {
|
|
1335
|
+
right: number;
|
|
1336
|
+
padding: string;
|
|
1337
|
+
borderRadius: string;
|
|
1338
|
+
borderWidth: string;
|
|
1339
|
+
borderLeftWidth: string;
|
|
1340
|
+
borderRightWidth: string;
|
|
1341
|
+
borderLeftColor: string;
|
|
1342
|
+
position: string;
|
|
1343
|
+
top: string;
|
|
1344
|
+
transform: string;
|
|
1345
|
+
height: string;
|
|
1346
|
+
width: string;
|
|
1347
|
+
justifyContent: string;
|
|
1348
|
+
backgroundColor: string;
|
|
1349
|
+
borderColor: string;
|
|
1350
|
+
color: string;
|
|
1351
|
+
'&.is-focused': {
|
|
1352
|
+
outlineColor: string;
|
|
1353
|
+
backgroundColor: string;
|
|
1354
|
+
outline: string;
|
|
1355
|
+
outlineOffset: string;
|
|
1356
|
+
};
|
|
1357
|
+
'&.is-pressed': {
|
|
1358
|
+
backgroundColor: string;
|
|
1359
|
+
color: string;
|
|
1360
|
+
};
|
|
1361
|
+
'&.is-hovered': {
|
|
1362
|
+
boxShadow: string;
|
|
1363
|
+
backgroundColor: string;
|
|
1364
|
+
color: string;
|
|
1365
|
+
};
|
|
1366
|
+
alignItems: string;
|
|
1367
|
+
flexShrink: number;
|
|
1368
|
+
minWidth: string;
|
|
1369
|
+
cursor: string;
|
|
1370
|
+
display: string;
|
|
1371
|
+
maxWidth: string;
|
|
1372
|
+
fontFamily: string;
|
|
1373
|
+
fontSize: string;
|
|
1374
|
+
fontWeight: number;
|
|
1375
|
+
textAlign: string;
|
|
1376
|
+
verticalAlign: string;
|
|
1377
|
+
lineHeight: number;
|
|
1378
|
+
border: string;
|
|
1379
|
+
px: string;
|
|
1380
|
+
py: string;
|
|
1381
|
+
maxHeight: string;
|
|
1382
|
+
'&.is-disabled': {
|
|
1383
|
+
opacity: number;
|
|
1384
|
+
};
|
|
1385
|
+
transition: string;
|
|
1386
|
+
};
|
|
1286
1387
|
};
|
|
1287
1388
|
export default buttons;
|
|
@@ -18,6 +18,7 @@ var _chromaJs = _interopRequireDefault(require("chroma-js"));
|
|
|
18
18
|
var _codeView = require("../codeView/codeView");
|
|
19
19
|
var _colors = _interopRequireDefault(require("../colors/colors"));
|
|
20
20
|
var _tShirtSizes = _interopRequireDefault(require("../customProperties/tShirtSizes"));
|
|
21
|
+
var _box = require("./box");
|
|
21
22
|
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; }
|
|
22
23
|
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; }
|
|
23
24
|
var primaryBlue = _colors["default"].primary,
|
|
@@ -117,8 +118,19 @@ var secondary = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
|
117
118
|
var tertiary = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
118
119
|
backgroundColor: 'transparent',
|
|
119
120
|
borderColor: 'border.base',
|
|
120
|
-
color: '
|
|
121
|
-
'&.is-
|
|
121
|
+
color: 'font.base',
|
|
122
|
+
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
123
|
+
outlineColor: 'gray-700',
|
|
124
|
+
backgroundColor: 'background.secondary'
|
|
125
|
+
}),
|
|
126
|
+
'&.is-pressed': {
|
|
127
|
+
backgroundColor: 'background.secondary',
|
|
128
|
+
color: 'font.base'
|
|
129
|
+
},
|
|
130
|
+
'&.is-hovered': _objectSpread({
|
|
131
|
+
backgroundColor: 'background.secondary',
|
|
132
|
+
color: 'font.base'
|
|
133
|
+
}, boxShadowNone)
|
|
122
134
|
});
|
|
123
135
|
var outlineCritical = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
124
136
|
backgroundColor: 'transparent',
|
|
@@ -508,7 +520,21 @@ var iconButtons = {
|
|
|
508
520
|
}
|
|
509
521
|
}
|
|
510
522
|
}),
|
|
511
|
-
hintButton: _objectSpread({}, hintButton)
|
|
523
|
+
hintButton: _objectSpread({}, hintButton),
|
|
524
|
+
passwordVisibilityIcon: _objectSpread(_objectSpread(_objectSpread({}, baseIconButton), _box.commonContentProps), {}, {
|
|
525
|
+
right: 0,
|
|
526
|
+
padding: '12px 20px',
|
|
527
|
+
border: '0px solid !important',
|
|
528
|
+
'&:hover, &.is-pressed': {
|
|
529
|
+
background: 'transparent',
|
|
530
|
+
boxShadow: 'none'
|
|
531
|
+
},
|
|
532
|
+
'&.is-focused': {
|
|
533
|
+
outline: '2px solid',
|
|
534
|
+
outlineOffset: '2px',
|
|
535
|
+
outlineColor: 'gray-700'
|
|
536
|
+
}
|
|
537
|
+
})
|
|
512
538
|
};
|
|
513
539
|
var listBoxLink = {
|
|
514
540
|
color: 'active',
|
|
@@ -537,6 +563,15 @@ var listBoxLink = {
|
|
|
537
563
|
}
|
|
538
564
|
})
|
|
539
565
|
};
|
|
566
|
+
var ButtonInputGroupContentRight = _objectSpread(_objectSpread(_objectSpread({}, tertiary), _box.commonContentProps), {}, {
|
|
567
|
+
right: 0,
|
|
568
|
+
padding: '12px 20px',
|
|
569
|
+
borderRadius: '0px 4px 4px 0px !important',
|
|
570
|
+
borderWidth: '0px !important',
|
|
571
|
+
borderLeftWidth: '1px !important',
|
|
572
|
+
borderRightWidth: '1px !important',
|
|
573
|
+
borderLeftColor: 'gray-500'
|
|
574
|
+
});
|
|
540
575
|
var buttons = {
|
|
541
576
|
neutral: neutral,
|
|
542
577
|
primary: primary,
|
|
@@ -560,7 +595,8 @@ var buttons = {
|
|
|
560
595
|
iconButtons: iconButtons,
|
|
561
596
|
modalCloseButton: modalCloseButton,
|
|
562
597
|
aiChat: aiChat,
|
|
563
|
-
paginationMenu: paginationMenu
|
|
598
|
+
paginationMenu: paginationMenu,
|
|
599
|
+
ButtonInputGroupContentRight: ButtonInputGroupContentRight
|
|
564
600
|
};
|
|
565
601
|
var _default = buttons;
|
|
566
602
|
exports["default"] = _default;
|
|
@@ -9,7 +9,7 @@ exports["default"] = void 0;
|
|
|
9
9
|
var _tShirtSizes = _interopRequireDefault(require("../customProperties/tShirtSizes"));
|
|
10
10
|
var base = {
|
|
11
11
|
width: '100%',
|
|
12
|
-
backgroundColor: '
|
|
12
|
+
backgroundColor: 'light',
|
|
13
13
|
lineHeight: 'md',
|
|
14
14
|
p: 'md',
|
|
15
15
|
border: 'none',
|
|
@@ -25,7 +25,7 @@ var interactive = {
|
|
|
25
25
|
borderColor: 'border.base',
|
|
26
26
|
transition: 'border-color .25s ease-in',
|
|
27
27
|
'&.is-focused': {
|
|
28
|
-
backgroundColor: '
|
|
28
|
+
backgroundColor: 'backgroundBase',
|
|
29
29
|
outline: '2px solid',
|
|
30
30
|
outlineColor: 'focus',
|
|
31
31
|
outlineOffset: '0px'
|
|
@@ -31,7 +31,7 @@ var input = {
|
|
|
31
31
|
fontSize: 'md',
|
|
32
32
|
fontFamily: 'standard',
|
|
33
33
|
p: '0.75rem',
|
|
34
|
-
backgroundColor: '
|
|
34
|
+
backgroundColor: 'backgroundBase',
|
|
35
35
|
borderColor: 'border.input',
|
|
36
36
|
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
37
37
|
borderRadius: '4px',
|
|
@@ -176,7 +176,7 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper),
|
|
|
176
176
|
border: '1px solid',
|
|
177
177
|
borderColor: 'gray-900',
|
|
178
178
|
'> input': {
|
|
179
|
-
backgroundColor: '
|
|
179
|
+
backgroundColor: 'backgroundSecondary'
|
|
180
180
|
},
|
|
181
181
|
'&:after': {
|
|
182
182
|
display: 'none'
|
|
@@ -201,4 +201,25 @@ input.promptInputAttachmentWrapper = {
|
|
|
201
201
|
overflowY: 'hidden',
|
|
202
202
|
whiteSpace: 'nowrap',
|
|
203
203
|
px: '.75rem'
|
|
204
|
+
};
|
|
205
|
+
input.dropDownContentRight = {
|
|
206
|
+
background: 'inherit',
|
|
207
|
+
'& button': {
|
|
208
|
+
borderRadius: '0px 4px 4px 0px !important',
|
|
209
|
+
'&.is-focused': {
|
|
210
|
+
outline: '2px solid',
|
|
211
|
+
outlineOffset: '2px',
|
|
212
|
+
outlineColor: 'gray-700'
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
input.dropDownContentLeft = {
|
|
217
|
+
'& button': {
|
|
218
|
+
borderRadius: '4px 0px 0px 4px !important',
|
|
219
|
+
'&.is-focused': {
|
|
220
|
+
outline: '2px solid',
|
|
221
|
+
outlineOffset: '2px',
|
|
222
|
+
outlineColor: 'gray-700'
|
|
223
|
+
}
|
|
224
|
+
}
|
|
204
225
|
};
|
|
@@ -64,7 +64,7 @@ var navigationHeader = {
|
|
|
64
64
|
fontFamily: 'standard',
|
|
65
65
|
borderBottom: '1px solid',
|
|
66
66
|
borderColor: 'border.base',
|
|
67
|
-
backgroundColor: '
|
|
67
|
+
backgroundColor: 'backgroundBase',
|
|
68
68
|
height: '4.5rem',
|
|
69
69
|
justifyContent: 'center'
|
|
70
70
|
},
|
|
@@ -73,10 +73,10 @@ var navigationHeader = {
|
|
|
73
73
|
maxWidth: '1540px',
|
|
74
74
|
mx: 'auto',
|
|
75
75
|
width: '100%',
|
|
76
|
-
backgroundColor: '
|
|
76
|
+
backgroundColor: 'backgroundBase'
|
|
77
77
|
},
|
|
78
78
|
dropdownMenu: {
|
|
79
|
-
backgroundColor: '
|
|
79
|
+
backgroundColor: 'backgroundBase',
|
|
80
80
|
maxWidth: 'unset',
|
|
81
81
|
p: 'sm',
|
|
82
82
|
'&:focus': _objectSpread({}, defaultFocus),
|
|
@@ -42,7 +42,7 @@ var step = {
|
|
|
42
42
|
active: _objectSpread(_objectSpread({
|
|
43
43
|
backgroundColor: 'active',
|
|
44
44
|
borderColor: 'active',
|
|
45
|
-
color: '
|
|
45
|
+
color: 'backgroundBase'
|
|
46
46
|
}, stepBase), {}, {
|
|
47
47
|
'&:before': {
|
|
48
48
|
content: '""',
|
|
@@ -53,7 +53,7 @@ var step = {
|
|
|
53
53
|
position: 'absolute',
|
|
54
54
|
borderRadius: '100%',
|
|
55
55
|
borderStyle: 'solid',
|
|
56
|
-
borderColor: '
|
|
56
|
+
borderColor: 'backgroundBase',
|
|
57
57
|
borderWidth: '2px'
|
|
58
58
|
}
|
|
59
59
|
}),
|
|
@@ -61,7 +61,7 @@ var step = {
|
|
|
61
61
|
borderColor: 'active'
|
|
62
62
|
}),
|
|
63
63
|
inactive: _objectSpread({
|
|
64
|
-
backgroundColor: '
|
|
64
|
+
backgroundColor: 'backgroundBase',
|
|
65
65
|
borderColor: 'blue-200',
|
|
66
66
|
color: 'active'
|
|
67
67
|
}, stepBase)
|
|
@@ -36,7 +36,7 @@ var head = {
|
|
|
36
36
|
var body = {
|
|
37
37
|
borderTopColor: 'border.base',
|
|
38
38
|
borderBottom: 'unset',
|
|
39
|
-
backgroundColor: '
|
|
39
|
+
backgroundColor: 'backgroundBase',
|
|
40
40
|
borderBottomLeftRadius: '16px',
|
|
41
41
|
borderBottomRightRadius: '16px',
|
|
42
42
|
'&& > tr:not(:last-child)': {
|
|
@@ -44,7 +44,7 @@ var body = {
|
|
|
44
44
|
borderBottomColor: 'border.base'
|
|
45
45
|
},
|
|
46
46
|
'&& > tr:nth-of-type(odd) ': {
|
|
47
|
-
backgroundColor: '
|
|
47
|
+
backgroundColor: 'backgroundBase'
|
|
48
48
|
},
|
|
49
49
|
'&& > tr:last-child': {
|
|
50
50
|
borderBottomLeftRadius: '16px',
|
|
@@ -53,7 +53,7 @@ var container = {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
var caption = {
|
|
56
|
-
backgroundColor: '
|
|
56
|
+
backgroundColor: 'backgroundBase',
|
|
57
57
|
px: 'lg',
|
|
58
58
|
color: 'text.primary',
|
|
59
59
|
borderBottom: '1px solid',
|
|
@@ -69,7 +69,7 @@ var row = {
|
|
|
69
69
|
bg: 'background.hover'
|
|
70
70
|
},
|
|
71
71
|
'&:nth-of-type(odd)': {
|
|
72
|
-
bg: '
|
|
72
|
+
bg: 'backgroundBase',
|
|
73
73
|
'&.is-hovered': {
|
|
74
74
|
bg: 'background.hover'
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ var row = {
|
|
|
77
77
|
};
|
|
78
78
|
var thead = {
|
|
79
79
|
borderBottomColor: 'border.base',
|
|
80
|
-
backgroundColor: '
|
|
80
|
+
backgroundColor: 'backgroundBase',
|
|
81
81
|
'&.is-sticky': {
|
|
82
82
|
boxShadow: "0 1px 0 ".concat(_colors["default"].border.base)
|
|
83
83
|
}
|
|
@@ -94,7 +94,7 @@ var head = {
|
|
|
94
94
|
var tbody = {
|
|
95
95
|
borderTopColor: 'border.base',
|
|
96
96
|
borderBottom: 'unset',
|
|
97
|
-
backgroundColor: '
|
|
97
|
+
backgroundColor: 'backgroundBase',
|
|
98
98
|
borderBottomLeftRadius: borderRadius,
|
|
99
99
|
borderBottomRightRadius: borderRadius
|
|
100
100
|
};
|
|
@@ -168,6 +168,44 @@ declare const _default: {
|
|
|
168
168
|
boxShadow: string;
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
|
+
inputDropDownContentLeft: {
|
|
172
|
+
left: number;
|
|
173
|
+
position: string;
|
|
174
|
+
top: string;
|
|
175
|
+
transform: string;
|
|
176
|
+
height: string;
|
|
177
|
+
width: string;
|
|
178
|
+
justifyContent: string;
|
|
179
|
+
};
|
|
180
|
+
inputGroupContentLeft: {
|
|
181
|
+
left: number;
|
|
182
|
+
borderRight: string;
|
|
183
|
+
position: string;
|
|
184
|
+
top: string;
|
|
185
|
+
transform: string;
|
|
186
|
+
height: string;
|
|
187
|
+
width: string;
|
|
188
|
+
justifyContent: string;
|
|
189
|
+
};
|
|
190
|
+
inputDropDownContentRight: {
|
|
191
|
+
right: number;
|
|
192
|
+
position: string;
|
|
193
|
+
top: string;
|
|
194
|
+
transform: string;
|
|
195
|
+
height: string;
|
|
196
|
+
width: string;
|
|
197
|
+
justifyContent: string;
|
|
198
|
+
};
|
|
199
|
+
inputGroupContentRight: {
|
|
200
|
+
right: number;
|
|
201
|
+
borderLeft: string;
|
|
202
|
+
position: string;
|
|
203
|
+
top: string;
|
|
204
|
+
transform: string;
|
|
205
|
+
height: string;
|
|
206
|
+
width: string;
|
|
207
|
+
justifyContent: string;
|
|
208
|
+
};
|
|
171
209
|
};
|
|
172
210
|
buttonBar: {
|
|
173
211
|
container: {
|
|
@@ -788,6 +826,12 @@ declare const _default: {
|
|
|
788
826
|
maxWidth: string[];
|
|
789
827
|
};
|
|
790
828
|
};
|
|
829
|
+
headingContainer: {
|
|
830
|
+
borderBottom: string;
|
|
831
|
+
borderBottomColor: string;
|
|
832
|
+
bg: string;
|
|
833
|
+
borderRadius: string;
|
|
834
|
+
};
|
|
791
835
|
container: {
|
|
792
836
|
justifyContent: string;
|
|
793
837
|
};
|
|
@@ -19,9 +19,9 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/he
|
|
|
19
19
|
var _Attachment = _interopRequireDefault(require("../../../../components/AIComponents/Attachment/Attachment.styles"));
|
|
20
20
|
var _Skeleton = _interopRequireDefault(require("../../../../components/Skeleton/Skeleton.styles"));
|
|
21
21
|
var _codeView = _interopRequireDefault(require("../codeView/codeView"));
|
|
22
|
-
var _colors = _interopRequireDefault(require("../colors/colors"));
|
|
23
22
|
var _accordion = _interopRequireDefault(require("./accordion"));
|
|
24
23
|
var _avatar = require("./avatar");
|
|
24
|
+
var _box = require("./box");
|
|
25
25
|
var _button = _interopRequireWildcard(require("./button"));
|
|
26
26
|
var _callout = _interopRequireDefault(require("./callout"));
|
|
27
27
|
var _dataTable = require("./dataTable");
|
|
@@ -123,12 +123,18 @@ var modal = {
|
|
|
123
123
|
maxWidth: modalSize.full
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
+
headingContainer: {
|
|
127
|
+
borderBottom: '1px solid',
|
|
128
|
+
borderBottomColor: 'gray-200',
|
|
129
|
+
bg: 'backgroundBase',
|
|
130
|
+
borderRadius: '1em 1em 0px 0px'
|
|
131
|
+
},
|
|
126
132
|
container: {
|
|
127
133
|
justifyContent: 'start'
|
|
128
134
|
},
|
|
129
135
|
header: {
|
|
130
136
|
pt: 'lg',
|
|
131
|
-
bg: '
|
|
137
|
+
bg: 'backgroundBase',
|
|
132
138
|
mb: 'lg'
|
|
133
139
|
}
|
|
134
140
|
};
|
|
@@ -160,12 +166,12 @@ var listBox = {
|
|
|
160
166
|
},
|
|
161
167
|
'&.is-condensed': {
|
|
162
168
|
pl: 'md',
|
|
163
|
-
bg: '
|
|
169
|
+
bg: 'backgroundBase',
|
|
164
170
|
'&.is-selected': {
|
|
165
|
-
bg: '
|
|
171
|
+
bg: 'backgroundBase'
|
|
166
172
|
},
|
|
167
173
|
'&.is-focused': {
|
|
168
|
-
bg: '
|
|
174
|
+
bg: 'backgroundBase'
|
|
169
175
|
}
|
|
170
176
|
}
|
|
171
177
|
}
|
|
@@ -201,11 +207,11 @@ var progressBar = {
|
|
|
201
207
|
};
|
|
202
208
|
var overlayPanel = {
|
|
203
209
|
container: {
|
|
204
|
-
backgroundColor: '
|
|
210
|
+
backgroundColor: 'backgroundBase',
|
|
205
211
|
borderColor: 'border.hairline'
|
|
206
212
|
},
|
|
207
213
|
aiPanelContainer: {
|
|
208
|
-
backgroundColor: '
|
|
214
|
+
backgroundColor: 'backgroundBase',
|
|
209
215
|
border: 'none',
|
|
210
216
|
borderLeft: 'none',
|
|
211
217
|
position: 'fixed',
|
|
@@ -239,30 +245,30 @@ var overlayPanel = {
|
|
|
239
245
|
alignSelf: 'center'
|
|
240
246
|
},
|
|
241
247
|
innerPanel: {
|
|
242
|
-
backgroundColor: '
|
|
248
|
+
backgroundColor: 'backgroundBase'
|
|
243
249
|
}
|
|
244
250
|
};
|
|
245
251
|
var buttonBar = {
|
|
246
252
|
container: {
|
|
247
253
|
gap: 'sm',
|
|
248
|
-
backgroundColor: '
|
|
254
|
+
backgroundColor: 'backgroundBase'
|
|
249
255
|
},
|
|
250
256
|
justifyRightContainer: {
|
|
251
257
|
gap: 'sm',
|
|
252
|
-
backgroundColor: '
|
|
258
|
+
backgroundColor: 'backgroundBase'
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
var rockerButton = {
|
|
256
262
|
innerContainer: {
|
|
257
263
|
boxShadow: 'none',
|
|
258
|
-
backgroundColor: 'common.
|
|
264
|
+
backgroundColor: 'common.backgroundBase',
|
|
259
265
|
borderRadius: '50px',
|
|
260
266
|
padding: 0,
|
|
261
267
|
border: 'none'
|
|
262
268
|
},
|
|
263
269
|
thumbSwitch: {
|
|
264
270
|
textTransform: 'none',
|
|
265
|
-
backgroundColor: 'common.
|
|
271
|
+
backgroundColor: 'common.backgroundBase',
|
|
266
272
|
padding: 'md',
|
|
267
273
|
height: '50px',
|
|
268
274
|
color: 'active',
|
|
@@ -314,7 +320,7 @@ var loader = {
|
|
|
314
320
|
py: 'sm'
|
|
315
321
|
},
|
|
316
322
|
circleSpinner: {
|
|
317
|
-
borderColor: '
|
|
323
|
+
borderColor: 'backgroundBase'
|
|
318
324
|
}
|
|
319
325
|
};
|
|
320
326
|
var breadcrumb = {
|
|
@@ -388,21 +394,7 @@ var _default = {
|
|
|
388
394
|
attachment: _Attachment["default"],
|
|
389
395
|
avatar: _avatar.avatar,
|
|
390
396
|
breadcrumb: breadcrumb,
|
|
391
|
-
box:
|
|
392
|
-
indeterminateCheckboxIcon: {
|
|
393
|
-
height: '19.25px',
|
|
394
|
-
width: '19.25px',
|
|
395
|
-
'&.is-disabled': {
|
|
396
|
-
'& rect[id="indeterminate-checkbox-icon-wrapper"]': {
|
|
397
|
-
fill: 'gray-500',
|
|
398
|
-
stroke: 'gray-500'
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
'&.is-focused': {
|
|
402
|
-
boxShadow: "inset 0px 0px 0px 1px ".concat(_colors["default"].focus)
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
},
|
|
397
|
+
box: _box.box,
|
|
406
398
|
buttonBar: buttonBar,
|
|
407
399
|
callout: _callout["default"],
|
|
408
400
|
codeView: _codeView["default"],
|