@pingux/astro 2.131.0 → 2.132.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/RockerButton/RockerButton.js +1 -0
- package/lib/cjs/components/RockerButton/RockerButton.styles.d.ts +9 -0
- package/lib/cjs/components/RockerButton/RockerButton.styles.js +11 -2
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenDarkRockerButtonGroup.chromatic.stories.js +2 -2
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenRockerButtonGroup.chromatic.stories.js +2 -2
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroup.chromatic.stories.js +2 -12
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroupNextGen.d.ts +3 -0
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroupNextGen.js +25 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.d.ts +15 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.js +41 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.mdx +19 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.d.ts +5 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.js +198 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.styles.d.ts +75 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.styles.js +83 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.test.d.ts +1 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.test.js +30 -0
- package/lib/cjs/components/StatusIcon/index.d.ts +1 -0
- package/lib/cjs/components/StatusIcon/index.js +14 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenDarkStatusIcon.chromatic.stories.d.ts +6 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenDarkStatusIcon.chromatic.stories.js +22 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.chromatic.stories.d.ts +6 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.chromatic.stories.js +22 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.d.ts +3 -0
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.js +98 -0
- package/lib/cjs/index.d.ts +2 -0
- package/lib/cjs/index.js +40 -21
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +73 -12
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +76 -14
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +13 -2
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +10 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +104 -36
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +104 -36
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +109 -39
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/utils/designUtils/figmaLinks.d.ts +4 -0
- package/lib/cjs/utils/designUtils/figmaLinks.js +4 -0
- package/lib/cjs/utils/devUtils/constants/statuses.js +14 -2
- package/lib/components/RockerButton/RockerButton.js +1 -0
- package/lib/components/RockerButton/RockerButton.styles.js +11 -2
- package/lib/components/RockerButtonGroup/stories/NextGenDarkRockerButtonGroup.chromatic.stories.js +1 -1
- package/lib/components/RockerButtonGroup/stories/NextGenRockerButtonGroup.chromatic.stories.js +1 -1
- package/lib/components/RockerButtonGroup/stories/RockerButtonGroup.chromatic.stories.js +2 -12
- package/lib/components/RockerButtonGroup/stories/RockerButtonGroupNextGen.js +16 -0
- package/lib/components/StatusIcon/StatusIcon.js +32 -0
- package/lib/components/StatusIcon/StatusIcon.mdx +19 -0
- package/lib/components/StatusIcon/StatusIcon.stories.js +187 -0
- package/lib/components/StatusIcon/StatusIcon.styles.js +75 -0
- package/lib/components/StatusIcon/StatusIcon.test.js +27 -0
- package/lib/components/StatusIcon/index.js +1 -0
- package/lib/components/StatusIcon/stories/NextGenDarkStatusIcon.chromatic.stories.js +12 -0
- package/lib/components/StatusIcon/stories/NextGenStatusIcon.chromatic.stories.js +12 -0
- package/lib/components/StatusIcon/stories/NextGenStatusIcon.js +89 -0
- package/lib/index.js +2 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +76 -14
- package/lib/styles/themes/astro/customProperties/icons.js +8 -2
- package/lib/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/styles/themes/next-gen/customProperties/icons.js +5 -2
- package/lib/styles/themes/next-gen/variants/variants.js +105 -39
- package/lib/styles/variants/variants.js +2 -0
- package/lib/utils/designUtils/figmaLinks.js +4 -0
- package/lib/utils/devUtils/constants/statuses.js +13 -2
- package/package.json +1 -1
@@ -1,15 +1,21 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
2
2
|
var _MenuDown$MenuUp$stat;
|
3
3
|
import AlertCircleIcon from '@pingux/mdi-react/AlertCircleIcon';
|
4
|
+
import AlertCircleOutlineIcon from '@pingux/mdi-react/AlertCircleOutlineIcon';
|
4
5
|
import AlertIcon from '@pingux/mdi-react/AlertIcon';
|
6
|
+
import AlertOutlineIcon from '@pingux/mdi-react/AlertOutlineIcon';
|
7
|
+
import ArrowDownIcon from '@pingux/mdi-react/ArrowDownIcon';
|
8
|
+
import ArrowUpIcon from '@pingux/mdi-react/ArrowUpIcon';
|
5
9
|
import CheckCircleIcon from '@pingux/mdi-react/CheckCircleIcon';
|
10
|
+
import CloseOctagonOutlineIcon from '@pingux/mdi-react/CloseOctagonOutlineIcon';
|
6
11
|
import InformationIcon from '@pingux/mdi-react/InformationIcon';
|
12
|
+
import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
|
7
13
|
import MenuDown from '@pingux/mdi-react/MenuDownIcon';
|
8
14
|
import MenuUp from '@pingux/mdi-react/MenuUpIcon';
|
9
15
|
import MoreVertIcon from '@pingux/mdi-react/MoreVertIcon';
|
10
16
|
import { pingLogoHorizontalSmallWhite } from '../../../../utils/devUtils/constants/logos';
|
11
|
-
import statuses from '../../../../utils/devUtils/constants/statuses';
|
17
|
+
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
12
18
|
export default (_MenuDown$MenuUp$stat = {
|
13
19
|
MenuDown: MenuDown,
|
14
20
|
MenuUp: MenuUp
|
15
|
-
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), _defineProperty(_MenuDown$MenuUp$stat, "listViewMenu", MoreVertIcon), _MenuDown$MenuUp$stat);
|
21
|
+
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.INFO, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.CRITICAL, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.MAJOR, ArrowUpIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.MINOR, ArrowDownIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.WARNING_NEUTRAL, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.FATAL, CloseOctagonOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), _defineProperty(_MenuDown$MenuUp$stat, "listViewMenu", MoreVertIcon), _MenuDown$MenuUp$stat);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var nextGenConvertedComponents = ['GridList', 'DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'RockerButtonGroup', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet', 'NextGen ListViewItem', 'Skeleton', 'TooltipTrigger', 'ListViewItem', 'Pagination', 'Callout', 'Table', 'TableBase', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField'];
|
1
|
+
var nextGenConvertedComponents = ['GridList', 'DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'RockerButtonGroup', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet', 'NextGen ListViewItem', 'Skeleton', 'TooltipTrigger', 'ListViewItem', 'Pagination', 'StatusIcon', 'Callout', 'Table', 'TableBase', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField'];
|
2
2
|
export var componentSpecificNextGenBlacklist = {
|
3
3
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
4
4
|
Badge: ['Status Badge Variants', 'Badge With Left Slot And Icon', 'Callout Badges', 'Removable'],
|
@@ -13,7 +13,8 @@ export var astroBlacklistStory = {
|
|
13
13
|
DataTable: ['Onyx Default'],
|
14
14
|
NavBar: ['Onyx Default'],
|
15
15
|
SearchField: ['Onyx With Filter'],
|
16
|
-
Callout: ['Customizations']
|
16
|
+
Callout: ['Customizations'],
|
17
|
+
StatusIcon: ['Default', 'In Rocker Button']
|
17
18
|
};
|
18
19
|
export var nextGenOnlyComponents = ['NavigationHeader', 'Prompt', 'AI Panel', 'Response', 'Suggestions', 'Prompt Input', 'Footer'];
|
19
20
|
export default nextGenConvertedComponents;
|
@@ -2,14 +2,17 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
2
|
var _MenuDown$MenuUp$stat;
|
3
3
|
import AlertCircleOutlineIcon from '@pingux/mdi-react/AlertCircleOutlineIcon';
|
4
4
|
import AlertOutlineIcon from '@pingux/mdi-react/AlertOutlineIcon';
|
5
|
+
import ArrowDownIcon from '@pingux/mdi-react/ArrowDownIcon';
|
6
|
+
import ArrowUpIcon from '@pingux/mdi-react/ArrowUpIcon';
|
5
7
|
import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
|
6
8
|
import ChevronDownIcon from '@pingux/mdi-react/ChevronDownIcon';
|
7
9
|
import ChevronUpIcon from '@pingux/mdi-react/ChevronUpIcon';
|
10
|
+
import CloseOctagonOutlineIcon from '@pingux/mdi-react/CloseOctagonOutlineIcon';
|
8
11
|
import DotsHorizontalIcon from '@pingux/mdi-react/DotsHorizontalIcon';
|
9
12
|
import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
|
10
13
|
import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
|
11
|
-
import statuses from '../../../../utils/devUtils/constants/statuses';
|
14
|
+
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
12
15
|
export default (_MenuDown$MenuUp$stat = {
|
13
16
|
MenuDown: ChevronDownIcon,
|
14
17
|
MenuUp: ChevronUpIcon
|
15
|
-
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmall), _defineProperty(_MenuDown$MenuUp$stat, "listViewMenu", DotsHorizontalIcon), _MenuDown$MenuUp$stat);
|
18
|
+
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.INFO, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.CRITICAL, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.MAJOR, ArrowUpIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.MINOR, ArrowDownIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.WARNING_NEUTRAL, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statusIcon.FATAL, CloseOctagonOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmall), _defineProperty(_MenuDown$MenuUp$stat, "listViewMenu", DotsHorizontalIcon), _MenuDown$MenuUp$stat);
|
@@ -13,7 +13,7 @@ import attachment from '../../../../components/AIComponents/Attachment/Attachmen
|
|
13
13
|
import skeleton from '../../../../components/Skeleton/Skeleton.styles';
|
14
14
|
import codeView from '../codeView/codeView';
|
15
15
|
import { avatar } from './avatar';
|
16
|
-
import button from './button';
|
16
|
+
import button, { defaultFocus } from './button';
|
17
17
|
import callout from './callout';
|
18
18
|
import { dataTable } from './dataTable';
|
19
19
|
import { footer } from './footer';
|
@@ -292,53 +292,58 @@ var overlayPanel = {
|
|
292
292
|
};
|
293
293
|
var rockerButton = {
|
294
294
|
innerContainer: {
|
295
|
-
height: 50,
|
296
295
|
boxShadow: 'none',
|
297
|
-
backgroundColor: '
|
296
|
+
backgroundColor: 'common.background.base',
|
298
297
|
borderRadius: '50px',
|
299
298
|
padding: 0,
|
300
|
-
'
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
'
|
313
|
-
backgroundColor: '#1462C8 !important',
|
314
|
-
color: 'white'
|
315
|
-
},
|
316
|
-
'&.is-pressed': {
|
317
|
-
backgroundColor: '#135CBC !important',
|
318
|
-
color: 'white'
|
319
|
-
},
|
320
|
-
'&.is-focused': {
|
321
|
-
outline: '2px solid',
|
322
|
-
outlineColor: 'focus',
|
323
|
-
outlineOffset: '2px',
|
324
|
-
position: 'relative',
|
325
|
-
zIndex: '1000'
|
326
|
-
}
|
327
|
-
},
|
328
|
-
'button:not(:first-child)': {
|
329
|
-
borderLeft: 0
|
299
|
+
border: 'none'
|
300
|
+
},
|
301
|
+
thumbSwitch: {
|
302
|
+
textTransform: 'none',
|
303
|
+
backgroundColor: 'common.background.base',
|
304
|
+
padding: 'md',
|
305
|
+
height: '50px',
|
306
|
+
color: 'active',
|
307
|
+
border: '1px solid',
|
308
|
+
borderColor: 'active',
|
309
|
+
borderRadius: 0,
|
310
|
+
'&:not(:last-of-type)': {
|
311
|
+
borderRight: 'none'
|
330
312
|
},
|
331
|
-
'
|
313
|
+
'&:first-of-type': {
|
332
314
|
borderTopLeftRadius: '50px',
|
333
315
|
borderBottomLeftRadius: '50px'
|
334
316
|
},
|
335
|
-
'
|
317
|
+
'&:last-of-type': {
|
336
318
|
borderTopRightRadius: '50px',
|
337
319
|
borderBottomRightRadius: '50px'
|
338
|
-
}
|
339
|
-
|
340
|
-
|
341
|
-
|
320
|
+
},
|
321
|
+
'&.is-selected': {
|
322
|
+
color: 'white',
|
323
|
+
backgroundColor: 'active',
|
324
|
+
'& > div.status-icon': {
|
325
|
+
bg: 'white',
|
326
|
+
'& > svg': {
|
327
|
+
path: {
|
328
|
+
fill: 'active'
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
},
|
333
|
+
'&.is-hovered': {
|
334
|
+
borderColor: '#1462C8',
|
335
|
+
backgroundColor: '#1462C8 !important',
|
336
|
+
color: 'white'
|
337
|
+
},
|
338
|
+
'&.is-pressed': {
|
339
|
+
borderColor: '#135CBC',
|
340
|
+
backgroundColor: '#135CBC !important',
|
341
|
+
color: 'white'
|
342
|
+
},
|
343
|
+
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
344
|
+
position: 'relative',
|
345
|
+
zIndex: '1000'
|
346
|
+
})
|
342
347
|
}
|
343
348
|
};
|
344
349
|
var loader = {
|
@@ -346,6 +351,66 @@ var loader = {
|
|
346
351
|
color: 'active'
|
347
352
|
}
|
348
353
|
};
|
354
|
+
var statusIcon = {
|
355
|
+
base: {
|
356
|
+
'&.is-default': {
|
357
|
+
bg: 'gray-100',
|
358
|
+
path: {
|
359
|
+
fill: 'gray-700'
|
360
|
+
}
|
361
|
+
},
|
362
|
+
'&.is-critical': {
|
363
|
+
bg: 'red-100',
|
364
|
+
path: {
|
365
|
+
fill: 'red-700'
|
366
|
+
}
|
367
|
+
},
|
368
|
+
'&.is-warning': {
|
369
|
+
bg: 'yellow-100',
|
370
|
+
path: {
|
371
|
+
fill: 'yellow-800'
|
372
|
+
}
|
373
|
+
},
|
374
|
+
'&.is-info': {
|
375
|
+
bg: 'blue-100',
|
376
|
+
path: {
|
377
|
+
fill: 'blue-600'
|
378
|
+
}
|
379
|
+
},
|
380
|
+
'&.is-major': {
|
381
|
+
bg: 'orange-100',
|
382
|
+
path: {
|
383
|
+
fill: 'orange-700'
|
384
|
+
}
|
385
|
+
},
|
386
|
+
'&.is-minor': {
|
387
|
+
bg: 'yellow-100',
|
388
|
+
path: {
|
389
|
+
fill: 'yellow-800'
|
390
|
+
}
|
391
|
+
},
|
392
|
+
'&.is-warning-neutral': {
|
393
|
+
bg: 'gray-100',
|
394
|
+
path: {
|
395
|
+
fill: 'gray-700'
|
396
|
+
}
|
397
|
+
},
|
398
|
+
'&.is-fatal': {
|
399
|
+
bg: 'gray-700',
|
400
|
+
path: {
|
401
|
+
fill: 'gray-100'
|
402
|
+
}
|
403
|
+
},
|
404
|
+
'&.is-selected.is-selected': {
|
405
|
+
bg: 'white',
|
406
|
+
'& > svg': {
|
407
|
+
path: {
|
408
|
+
fill: 'active'
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}
|
412
|
+
}
|
413
|
+
};
|
349
414
|
export default {
|
350
415
|
attachment: attachment,
|
351
416
|
navBar: navBar,
|
@@ -381,6 +446,7 @@ export default {
|
|
381
446
|
callout: callout,
|
382
447
|
table: table,
|
383
448
|
tableBase: tableBase,
|
449
|
+
statusIcon: statusIcon,
|
384
450
|
box: {
|
385
451
|
indeterminateCheckboxIcon: {
|
386
452
|
height: '19.25px',
|
@@ -51,6 +51,7 @@ import scrollBox from '../../components/ScrollBox/ScrollBox.styles';
|
|
51
51
|
import separator from '../../components/Separator/Separator.styles';
|
52
52
|
import skeleton from '../../components/Skeleton/Skeleton.styles';
|
53
53
|
import slider from '../../components/SliderField/Slider.styles';
|
54
|
+
import statusIcon from '../../components/StatusIcon/StatusIcon.styles';
|
54
55
|
import stepper from '../../components/Stepper/Stepper.styles';
|
55
56
|
import table from '../../components/Table/Table.styles';
|
56
57
|
import tableBase from '../../components/TableBase/TableBase.styles';
|
@@ -109,5 +110,6 @@ export default _objectSpread(_objectSpread({
|
|
109
110
|
tooltip: tooltip,
|
110
111
|
treeView: treeView
|
111
112
|
}, tab), {}, {
|
113
|
+
statusIcon: statusIcon,
|
112
114
|
tableBase: tableBase
|
113
115
|
});
|
@@ -224,5 +224,9 @@ export var FIGMA_LINKS = {
|
|
224
224
|
},
|
225
225
|
searchField: {
|
226
226
|
onyx: 'https://www.figma.com/file/XDGxYAgQkcHDVjyu8OGrBv/Onyx-Specs?node-id=249-542&p=f&t=ZRXGSYrM1OXJ41QB-0'
|
227
|
+
},
|
228
|
+
statusIcon: {
|
229
|
+
onyx: 'https://www.figma.com/file/XDGxYAgQkcHDVjyu8OGrBv/Onyx-Specs?node-id=1516-84&p=f&t=1IrTSMDCAftH6Roq-0',
|
230
|
+
inRockerButton: 'https://www.figma.com/file/XDGxYAgQkcHDVjyu8OGrBv/Onyx-Specs?node-id=1516-498&t=TcHspIxapoPWqWJC-4'
|
227
231
|
}
|
228
232
|
};
|
@@ -1,6 +1,17 @@
|
|
1
|
-
|
1
|
+
var statuses = {
|
2
2
|
DEFAULT: 'default',
|
3
3
|
ERROR: 'error',
|
4
4
|
SUCCESS: 'success',
|
5
5
|
WARNING: 'warning'
|
6
|
-
};
|
6
|
+
};
|
7
|
+
export var statusIcon = {
|
8
|
+
DEFAULT: 'default',
|
9
|
+
CRITICAL: 'critical',
|
10
|
+
MAJOR: 'major',
|
11
|
+
MINOR: 'minor',
|
12
|
+
WARNING_NEUTRAL: 'warningNeutral',
|
13
|
+
INFO: 'info',
|
14
|
+
WARNING: 'warning',
|
15
|
+
FATAL: 'fatal'
|
16
|
+
};
|
17
|
+
export default statuses;
|