@pingux/astro 2.193.0-alpha.0 → 2.193.1-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/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +14 -9
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +26 -18
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/styles/colors.d.ts +8 -0
- package/lib/cjs/styles/colors.js +6 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +13 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +16 -2
- package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +2 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +5 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +18 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +5 -0
- package/lib/cjs/styles/themes/next-gen/variants/environmentBreadcrumb.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/environmentBreadcrumb.js +16 -0
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +14 -9
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +26 -18
- package/lib/styles/colors.js +6 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +5 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +16 -2
- package/lib/styles/themes/astro/customProperties/icons.js +2 -1
- package/lib/styles/themes/next-gen/colors/colors.js +5 -0
- package/lib/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/styles/themes/next-gen/variants/badges.js +5 -0
- package/lib/styles/themes/next-gen/variants/environmentBreadcrumb.js +9 -0
- package/lib/styles/themes/next-gen/variants/popoverMenu.js +1 -0
- package/lib/styles/themes/next-gen/variants/variants.js +2 -0
- package/package.json +1 -1
|
@@ -30,10 +30,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-c
|
|
|
30
30
|
var _react = _interopRequireWildcard(require("react"));
|
|
31
31
|
var _reactAria = require("react-aria");
|
|
32
32
|
var _reactStately = require("react-stately");
|
|
33
|
-
var _ArrowDropDownIcon = _interopRequireDefault(require("@pingux/mdi-react/ArrowDropDownIcon"));
|
|
34
|
-
var _ArrowDropUpIcon = _interopRequireDefault(require("@pingux/mdi-react/ArrowDropUpIcon"));
|
|
35
33
|
var _ChevronRightIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronRightIcon"));
|
|
36
|
-
var _HomeIcon = _interopRequireDefault(require("@pingux/mdi-react/HomeIcon"));
|
|
37
34
|
var _i18n = require("@react-aria/i18n");
|
|
38
35
|
var _visuallyHidden = require("@react-aria/visually-hidden");
|
|
39
36
|
var _list = require("@react-stately/list");
|
|
@@ -71,6 +68,11 @@ var EnvironmentBreadcrumb = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
71
68
|
searchProps = props.searchProps,
|
|
72
69
|
selectedItem = props.selectedItem,
|
|
73
70
|
others = (0, _objectWithoutProperties2["default"])(props, _excluded);
|
|
71
|
+
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
|
72
|
+
icons = _useGetTheme.icons;
|
|
73
|
+
var MenuDown = icons.MenuDown,
|
|
74
|
+
MenuUp = icons.MenuUp,
|
|
75
|
+
HomeIcon = icons.HomeIcon;
|
|
74
76
|
var optionsNumberMessageId = (0, _react.useMemo)(function () {
|
|
75
77
|
return (0, _uuid.v4)();
|
|
76
78
|
}, []);
|
|
@@ -256,10 +258,12 @@ var EnvironmentBreadcrumb = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
256
258
|
"aria-label": setAriaLabel(selectedItem),
|
|
257
259
|
"data-id": breadCrumbDataIds.environmentButton
|
|
258
260
|
}), selectedItem, (0, _react2.jsx)(_index.Icon, {
|
|
259
|
-
icon: popoverState.isOpen ?
|
|
261
|
+
icon: popoverState.isOpen ? MenuUp : MenuDown,
|
|
260
262
|
title: {
|
|
261
263
|
name: popoverState.isOpen ? 'Arrow Drop Up Icon' : 'Arrow Drop Down Icon'
|
|
262
|
-
}
|
|
264
|
+
},
|
|
265
|
+
size: "xs",
|
|
266
|
+
ml: "xs"
|
|
263
267
|
})), (0, _react2.jsx)(_index.PopoverContainer, (0, _extends2["default"])({}, overlayProps, positionProps, (0, _reactAria.mergeProps)(overlayProps, positionProps, popoverProps), {
|
|
264
268
|
ref: overlayRef,
|
|
265
269
|
isOpen: popoverState.isOpen,
|
|
@@ -307,8 +311,8 @@ var EnvironmentBreadcrumb = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
307
311
|
ref: breadcrumbsRef,
|
|
308
312
|
onAction: handleOnAction,
|
|
309
313
|
iconProps: {
|
|
310
|
-
color: '
|
|
311
|
-
mx:
|
|
314
|
+
color: 'font.base',
|
|
315
|
+
mx: 3,
|
|
312
316
|
size: 'xs',
|
|
313
317
|
icon: _ChevronRightIcon["default"]
|
|
314
318
|
}
|
|
@@ -320,11 +324,12 @@ var EnvironmentBreadcrumb = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
320
324
|
"data-id": breadCrumbDataIds.orgButton,
|
|
321
325
|
elementType: "Button"
|
|
322
326
|
}, (0, _react2.jsx)(_index.Icon, {
|
|
323
|
-
icon:
|
|
327
|
+
icon: HomeIcon,
|
|
324
328
|
mr: 7,
|
|
325
329
|
title: {
|
|
326
330
|
name: 'Home Icon'
|
|
327
|
-
}
|
|
331
|
+
},
|
|
332
|
+
size: "sm"
|
|
328
333
|
}), name), selectedItem && (0, _react2.jsx)(_index.Item, {
|
|
329
334
|
key: "itemsSelect",
|
|
330
335
|
elementType: "Fragment"
|
|
@@ -125,9 +125,11 @@ var Default = exports.Default = function Default(args) {
|
|
|
125
125
|
}, (0, _react2.jsx)(_index.Text, {
|
|
126
126
|
color: "inherit"
|
|
127
127
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
128
|
-
label: "
|
|
128
|
+
label: "Sandbox",
|
|
129
129
|
variant: "environmentBadge",
|
|
130
|
-
bg: "
|
|
130
|
+
bg: "environmentBadge.background",
|
|
131
|
+
textColor: "magenta",
|
|
132
|
+
align: "right"
|
|
131
133
|
}) : null);
|
|
132
134
|
var findEnvObj = function findEnvObj(envName) {
|
|
133
135
|
return (0, _find["default"])(defaultEnvironments).call(defaultEnvironments, function (_ref) {
|
|
@@ -151,9 +153,10 @@ var Default = exports.Default = function Default(args) {
|
|
|
151
153
|
key: name,
|
|
152
154
|
textValue: name
|
|
153
155
|
}, name, isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
154
|
-
label: "
|
|
156
|
+
label: "Sandbox",
|
|
155
157
|
variant: "environmentBadge",
|
|
156
|
-
bg: "
|
|
158
|
+
bg: "environmentBadge.background",
|
|
159
|
+
textColor: "environmentBadge.text",
|
|
157
160
|
align: "right"
|
|
158
161
|
}) : null);
|
|
159
162
|
});
|
|
@@ -236,9 +239,11 @@ var WithSections = exports.WithSections = function WithSections() {
|
|
|
236
239
|
}, (0, _react2.jsx)(_index.Text, {
|
|
237
240
|
color: "inherit"
|
|
238
241
|
}, selectedEnvironment === null || selectedEnvironment === void 0 ? void 0 : selectedEnvironment.name), selectedEnvironment !== null && selectedEnvironment !== void 0 && selectedEnvironment.isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
239
|
-
label: "
|
|
242
|
+
label: "Sandbox",
|
|
240
243
|
variant: "environmentBadge",
|
|
241
|
-
bg: "
|
|
244
|
+
bg: "environmentBadge.background",
|
|
245
|
+
textColor: "environmentBadge.text",
|
|
246
|
+
align: "right"
|
|
242
247
|
}) : null);
|
|
243
248
|
return (0, _react2.jsx)(_index.EnvironmentBreadcrumb, {
|
|
244
249
|
items: environments,
|
|
@@ -268,9 +273,10 @@ var WithSections = exports.WithSections = function WithSections() {
|
|
|
268
273
|
}, (0, _react2.jsx)(_index.Box, {
|
|
269
274
|
isRow: true
|
|
270
275
|
}, itemName, isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
271
|
-
label: "
|
|
276
|
+
label: "Sandbox",
|
|
272
277
|
variant: "environmentBadge",
|
|
273
|
-
bg: "
|
|
278
|
+
bg: "environmentBadge.background",
|
|
279
|
+
textColor: "environmentBadge.text",
|
|
274
280
|
align: "right"
|
|
275
281
|
}) : null));
|
|
276
282
|
});
|
|
@@ -292,9 +298,10 @@ var DefaultOpen = exports.DefaultOpen = function DefaultOpen() {
|
|
|
292
298
|
}, (0, _react2.jsx)(_index.Text, {
|
|
293
299
|
color: "inherit"
|
|
294
300
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
295
|
-
label: "
|
|
301
|
+
label: "Sandbox",
|
|
296
302
|
variant: "environmentBadge",
|
|
297
|
-
bg: "
|
|
303
|
+
bg: "environmentBadge.background",
|
|
304
|
+
textColor: "environmentBadge.text"
|
|
298
305
|
}) : null);
|
|
299
306
|
var findEnvObj = function findEnvObj(envName) {
|
|
300
307
|
return (0, _find["default"])(defaultEnvironments).call(defaultEnvironments, function (_ref5) {
|
|
@@ -319,10 +326,10 @@ var DefaultOpen = exports.DefaultOpen = function DefaultOpen() {
|
|
|
319
326
|
key: name,
|
|
320
327
|
textValue: name
|
|
321
328
|
}, name, isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
322
|
-
label: "
|
|
329
|
+
label: "Sandbox",
|
|
323
330
|
variant: "environmentBadge",
|
|
324
|
-
bg: "
|
|
325
|
-
|
|
331
|
+
bg: "environmentBadge.background",
|
|
332
|
+
textColor: "environmentBadge.text"
|
|
326
333
|
}) : null);
|
|
327
334
|
});
|
|
328
335
|
};
|
|
@@ -341,9 +348,10 @@ var ControlledMenu = exports.ControlledMenu = function ControlledMenu() {
|
|
|
341
348
|
}, (0, _react2.jsx)(_index.Text, {
|
|
342
349
|
color: "inherit"
|
|
343
350
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
344
|
-
label: "
|
|
351
|
+
label: "Sandbox",
|
|
345
352
|
variant: "environmentBadge",
|
|
346
|
-
bg: "
|
|
353
|
+
bg: "environmentBadge.background",
|
|
354
|
+
textColor: "environmentBadge.text"
|
|
347
355
|
}) : null);
|
|
348
356
|
var findEnvObj = function findEnvObj(envName) {
|
|
349
357
|
return (0, _find["default"])(defaultEnvironments).call(defaultEnvironments, function (_ref7) {
|
|
@@ -369,10 +377,10 @@ var ControlledMenu = exports.ControlledMenu = function ControlledMenu() {
|
|
|
369
377
|
key: name,
|
|
370
378
|
textValue: name
|
|
371
379
|
}, name, isSandbox ? (0, _react2.jsx)(_index.Badge, {
|
|
372
|
-
label: "
|
|
380
|
+
label: "Sandbox",
|
|
373
381
|
variant: "environmentBadge",
|
|
374
|
-
bg: "
|
|
375
|
-
|
|
382
|
+
bg: "environmentBadge.background",
|
|
383
|
+
textColor: "environmentBadge.text"
|
|
376
384
|
}) : null);
|
|
377
385
|
});
|
|
378
386
|
};
|
|
@@ -49,6 +49,7 @@ declare const useGetTheme: () => {
|
|
|
49
49
|
p1verify: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
52
|
+
HomeIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
52
53
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
53
54
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
54
55
|
rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
@@ -119,6 +120,7 @@ declare const useGetTheme: () => {
|
|
|
119
120
|
Descending: string;
|
|
120
121
|
popoverMenuIcon: string;
|
|
121
122
|
ErrorCircle: string;
|
|
123
|
+
HomeIcon: string;
|
|
122
124
|
integrationsIcon: string;
|
|
123
125
|
listViewMenu: string;
|
|
124
126
|
mdiAccountCog: string;
|
|
@@ -214,6 +214,10 @@ declare const allColors: {
|
|
|
214
214
|
track: string;
|
|
215
215
|
};
|
|
216
216
|
tooltip: string;
|
|
217
|
+
environmentBadge: {
|
|
218
|
+
text: string;
|
|
219
|
+
background: string;
|
|
220
|
+
};
|
|
217
221
|
};
|
|
218
222
|
export default allColors;
|
|
219
223
|
export declare const flatColorList: any;
|
|
@@ -333,4 +337,8 @@ export declare const getBaseHexColor: (colorName: string) => string | {
|
|
|
333
337
|
track: string;
|
|
334
338
|
};
|
|
335
339
|
tooltip: string;
|
|
340
|
+
environmentBadge: {
|
|
341
|
+
text: string;
|
|
342
|
+
background: string;
|
|
343
|
+
};
|
|
336
344
|
};
|
package/lib/cjs/styles/colors.js
CHANGED
|
@@ -139,6 +139,10 @@ var tooltip = accent[20];
|
|
|
139
139
|
var border = {
|
|
140
140
|
hairline: '#E7EEF4'
|
|
141
141
|
};
|
|
142
|
+
var environmentBadge = {
|
|
143
|
+
text: badge.textColor,
|
|
144
|
+
background: neutral[40]
|
|
145
|
+
};
|
|
142
146
|
var allColors = {
|
|
143
147
|
black: black,
|
|
144
148
|
background: background,
|
|
@@ -161,7 +165,8 @@ var allColors = {
|
|
|
161
165
|
button: button,
|
|
162
166
|
warning: warning,
|
|
163
167
|
slider: slider,
|
|
164
|
-
tooltip: tooltip
|
|
168
|
+
tooltip: tooltip,
|
|
169
|
+
environmentBadge: environmentBadge
|
|
165
170
|
};
|
|
166
171
|
var _default = exports["default"] = allColors;
|
|
167
172
|
function flattenColors(obj) {
|
|
@@ -49,6 +49,10 @@ var background = {
|
|
|
49
49
|
card: '#1a1e22',
|
|
50
50
|
hover: hoverDark
|
|
51
51
|
};
|
|
52
|
+
var environmentBadge = {
|
|
53
|
+
text: 'black',
|
|
54
|
+
background: _onyxTokens.astroTokensDark.color.blue[500]
|
|
55
|
+
};
|
|
52
56
|
var twoTone = {
|
|
53
57
|
bg: {
|
|
54
58
|
orange: _onyxTokens.astroTokensDark.color.orange[500],
|
|
@@ -152,6 +156,7 @@ var colors = exports.colors = _objectSpread(_objectSpread({
|
|
|
152
156
|
message: 'white',
|
|
153
157
|
fieldHelper: _onyxTokens.astroTokensDark.color.gray[400]
|
|
154
158
|
},
|
|
159
|
+
environmentBadge: environmentBadge,
|
|
155
160
|
background: background,
|
|
156
161
|
backgroundBase: backgroundBase,
|
|
157
162
|
backgroundSecondary: backgroundSecondary,
|
|
@@ -443,6 +443,17 @@ declare const _default: {
|
|
|
443
443
|
};
|
|
444
444
|
'&.is-focus-visible': {
|
|
445
445
|
zIndex: number;
|
|
446
|
+
outline: string;
|
|
447
|
+
outlineOffset: string;
|
|
448
|
+
boxShadow: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
environmentBreadcrumb: {
|
|
453
|
+
button: {
|
|
454
|
+
current: {
|
|
455
|
+
color: any;
|
|
456
|
+
fontWeight: number;
|
|
446
457
|
};
|
|
447
458
|
};
|
|
448
459
|
};
|
|
@@ -588,6 +599,8 @@ declare const _default: {
|
|
|
588
599
|
popoverMenu: {
|
|
589
600
|
container: {
|
|
590
601
|
background: string;
|
|
602
|
+
border: string;
|
|
603
|
+
borderColor: string;
|
|
591
604
|
};
|
|
592
605
|
};
|
|
593
606
|
dataTable: {
|
|
@@ -46,7 +46,10 @@ var listBox = {
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
'&.is-focus-visible': {
|
|
49
|
-
zIndex: 1
|
|
49
|
+
zIndex: 1,
|
|
50
|
+
outline: '1px solid #ffffff',
|
|
51
|
+
outlineOffset: '-1px',
|
|
52
|
+
boxShadow: "inset 0 0 0 2px ".concat(_onyxTokens.astroTokensDark.color.blue[500])
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
};
|
|
@@ -186,6 +189,14 @@ var statusIcon = {
|
|
|
186
189
|
}
|
|
187
190
|
}
|
|
188
191
|
};
|
|
192
|
+
var environmentBreadcrumb = {
|
|
193
|
+
button: {
|
|
194
|
+
current: {
|
|
195
|
+
color: _onyxTokens.astroTokensDark.color.gray[100],
|
|
196
|
+
fontWeight: 2
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
189
200
|
var _default = exports["default"] = {
|
|
190
201
|
rockerButton: rockerButton,
|
|
191
202
|
rangeCalendar: _rangeCalendar["default"],
|
|
@@ -199,6 +210,7 @@ var _default = exports["default"] = {
|
|
|
199
210
|
lisViewItemChart: _listview.lisViewItemChart,
|
|
200
211
|
navBar: _navbar.navBar,
|
|
201
212
|
listBox: listBox,
|
|
213
|
+
environmentBreadcrumb: environmentBreadcrumb,
|
|
202
214
|
modal: modal,
|
|
203
215
|
tab: tab,
|
|
204
216
|
iconBadge: _iconBadge["default"],
|
|
@@ -208,7 +220,9 @@ var _default = exports["default"] = {
|
|
|
208
220
|
tooltip: tooltip,
|
|
209
221
|
popoverMenu: {
|
|
210
222
|
container: {
|
|
211
|
-
background: '#23282e'
|
|
223
|
+
background: '#23282e',
|
|
224
|
+
border: '1px solid',
|
|
225
|
+
borderColor: '#39414B'
|
|
212
226
|
}
|
|
213
227
|
},
|
|
214
228
|
dataTable: {
|
|
@@ -32,6 +32,7 @@ declare const _default: {
|
|
|
32
32
|
p1verify: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
35
|
+
HomeIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
35
36
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
37
38
|
rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
@@ -31,6 +31,7 @@ var _EarthIcon = _interopRequireDefault(require("@pingux/mdi-react/EarthIcon"));
|
|
|
31
31
|
var _EmoticonHappyOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/EmoticonHappyOutlineIcon"));
|
|
32
32
|
var _FingerprintIcon = _interopRequireDefault(require("@pingux/mdi-react/FingerprintIcon"));
|
|
33
33
|
var _GlobeIcon = _interopRequireDefault(require("@pingux/mdi-react/GlobeIcon"));
|
|
34
|
+
var _HomeIcon = _interopRequireDefault(require("@pingux/mdi-react/HomeIcon"));
|
|
34
35
|
var _InformationIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationIcon"));
|
|
35
36
|
var _InformationOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationOutlineIcon"));
|
|
36
37
|
var _KeyChainVariantIcon = _interopRequireDefault(require("@pingux/mdi-react/KeyChainVariantIcon"));
|
|
@@ -52,4 +53,4 @@ var _statuses = _interopRequireWildcard(require("../../../../utils/devUtils/cons
|
|
|
52
53
|
var _navBarIcons = require("./navBarIcons");
|
|
53
54
|
var _statuses$DEFAULT$sta;
|
|
54
55
|
function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
55
|
-
var _default = exports["default"] = (_statuses$DEFAULT$sta = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, _statuses["default"].DEFAULT, _InformationIcon["default"]), _statuses["default"].ERROR, _AlertCircleIcon["default"]), _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), _statuses["default"].WARNING, _AlertIcon["default"]), _statuses.statusIcon.CRITICAL, _AlertCircleOutlineIcon["default"]), _statuses.statusIcon.FATAL, _CloseOctagonOutlineIcon["default"]), _statuses.statusIcon.INFO, _InformationOutlineIcon["default"]), _statuses.statusIcon.MAJOR, _ArrowUpIcon["default"]), _statuses.statusIcon.MINOR, _ArrowDownIcon["default"]), _statuses.statusIcon.WARNING_NEUTRAL, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "aic", _navBarIcons.Aic), "applicationsIcon", _ApplicationOutlineIcon["default"]), "Ascending", _MenuUpIcon["default"]), "authenticationIcon", _CheckCircleOutlineIcon["default"]), "clipboard", _ClipboardIcon["default"]), "CreateIcon", _CreateIcon["default"]), "daVinci", _navBarIcons.DaVinci), "DefaultCircle", _CheckboxBlankCircleOutlineIcon["default"]), "Descending", _MenuDownIcon["default"]), "popoverMenuIcon", _MoreVertIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "ErrorCircle", _AlertCircleIcon["default"]), "integrationsIcon", _ConnectionIcon["default"]), "listViewMenu", _MoreVertIcon["default"]), "mdiAccountCog", _AccountCogIcon["default"]), "mdiAccountMultiple", _AccountMultipleIcon["default"]), "mdiEarth", _EarthIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", _FingerprintIcon["default"]), "mdiPlayCircleIcon", _PlayCircleIcon["default"]), "mdiScaleBalance", _ScaleBalanceIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "mdiShoCard", _navBarIcons.Credentials), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", _ViewDashboardIcon["default"]), "mdiWeb", _GlobeIcon["default"]), "MenuDown", _MenuDownIcon["default"]), "MenuUp", _MenuUpIcon["default"]), "monitoringIcon", _PulseIcon["default"]), "openInNew", _OpenInNewIcon["default"]), "overviewIcon", _WebIcon["default"]), "p1verify", _navBarIcons.Verify), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "pam", _navBarIcons.PamIcon), "PingAuthorize", _KeyChainVariantIcon["default"]), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), "protect", _navBarIcons.Protect), "rocketLaunchIcon", _RocketLaunchIcon["default"]), "shareFeedbackIcon", _ChatIcon["default"]), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", _CheckCircleIcon["default"]), "userExperienceIcon", _MonitorScreenshotIcon["default"]), "WarningIcon", _AlertOutlineIcon["default"]));
|
|
56
|
+
var _default = exports["default"] = (_statuses$DEFAULT$sta = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, _statuses["default"].DEFAULT, _InformationIcon["default"]), _statuses["default"].ERROR, _AlertCircleIcon["default"]), _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), _statuses["default"].WARNING, _AlertIcon["default"]), _statuses.statusIcon.CRITICAL, _AlertCircleOutlineIcon["default"]), _statuses.statusIcon.FATAL, _CloseOctagonOutlineIcon["default"]), _statuses.statusIcon.INFO, _InformationOutlineIcon["default"]), _statuses.statusIcon.MAJOR, _ArrowUpIcon["default"]), _statuses.statusIcon.MINOR, _ArrowDownIcon["default"]), _statuses.statusIcon.WARNING_NEUTRAL, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "aic", _navBarIcons.Aic), "applicationsIcon", _ApplicationOutlineIcon["default"]), "Ascending", _MenuUpIcon["default"]), "authenticationIcon", _CheckCircleOutlineIcon["default"]), "clipboard", _ClipboardIcon["default"]), "CreateIcon", _CreateIcon["default"]), "daVinci", _navBarIcons.DaVinci), "DefaultCircle", _CheckboxBlankCircleOutlineIcon["default"]), "Descending", _MenuDownIcon["default"]), "popoverMenuIcon", _MoreVertIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "ErrorCircle", _AlertCircleIcon["default"]), "integrationsIcon", _ConnectionIcon["default"]), "listViewMenu", _MoreVertIcon["default"]), "mdiAccountCog", _AccountCogIcon["default"]), "mdiAccountMultiple", _AccountMultipleIcon["default"]), "mdiEarth", _EarthIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", _FingerprintIcon["default"]), "mdiPlayCircleIcon", _PlayCircleIcon["default"]), "mdiScaleBalance", _ScaleBalanceIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "mdiShoCard", _navBarIcons.Credentials), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", _ViewDashboardIcon["default"]), "mdiWeb", _GlobeIcon["default"]), "MenuDown", _MenuDownIcon["default"]), "MenuUp", _MenuUpIcon["default"]), "monitoringIcon", _PulseIcon["default"]), "openInNew", _OpenInNewIcon["default"]), "overviewIcon", _WebIcon["default"]), "p1verify", _navBarIcons.Verify), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "pam", _navBarIcons.PamIcon), "PingAuthorize", _KeyChainVariantIcon["default"]), "HomeIcon", _HomeIcon["default"]), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), "protect", _navBarIcons.Protect), "rocketLaunchIcon", _RocketLaunchIcon["default"]), "shareFeedbackIcon", _ChatIcon["default"]), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", _CheckCircleIcon["default"]), "userExperienceIcon", _MonitorScreenshotIcon["default"]), (0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "WarningIcon", _AlertOutlineIcon["default"]));
|
|
@@ -43,6 +43,7 @@ export declare const astroThemeValues: {
|
|
|
43
43
|
p1verify: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
46
|
+
HomeIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
46
47
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
47
48
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
48
49
|
rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
@@ -129,6 +129,10 @@ var codeEditor = {
|
|
|
129
129
|
headerColor: _onyxTokens.astroTokens.color.gray[900]
|
|
130
130
|
};
|
|
131
131
|
var tooltip = 'black';
|
|
132
|
+
var environmentBadge = {
|
|
133
|
+
text: _onyxTokens.astroTokens.color.blue[500],
|
|
134
|
+
background: _onyxTokens.astroTokens.color.blue[100]
|
|
135
|
+
};
|
|
132
136
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), _colorTokens.nextGenColors), overrides), {}, {
|
|
133
137
|
badge: badge,
|
|
134
138
|
card: card,
|
|
@@ -148,6 +152,7 @@ var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColo
|
|
|
148
152
|
backgroundHover: backgroundHover,
|
|
149
153
|
iconWrapper: _iconWrapper.iconWrapper,
|
|
150
154
|
tooltip: tooltip,
|
|
155
|
+
environmentBadge: environmentBadge,
|
|
151
156
|
codeEditor: codeEditor,
|
|
152
157
|
twoTone: _twoTone["default"]
|
|
153
158
|
});
|
|
@@ -20,5 +20,5 @@ var _statuses = _interopRequireWildcard(require("../../../../utils/devUtils/cons
|
|
|
20
20
|
var _navBarIcons = require("../../astro/customProperties/navBarIcons");
|
|
21
21
|
var _icons;
|
|
22
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
23
|
-
var icons = (_icons = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, _statuses["default"].DEFAULT, 'info'), _statuses["default"].ERROR, 'error'), _statuses["default"].SUCCESS, 'check_circle'), _statuses["default"].WARNING, 'warning'), _statuses.statusIcon.CRITICAL, 'error'), _statuses.statusIcon.FATAL, 'dangerous'), _statuses.statusIcon.INFO, 'info'), _statuses.statusIcon.MAJOR, 'arrow_upward'), _statuses.statusIcon.MINOR, 'arrow_downward'), _statuses.statusIcon.WARNING_NEUTRAL, 'warning'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "aic", _navBarIcons.Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "ErrorCircle", 'error'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", _SettingsOutlineIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'),
|
|
23
|
+
var icons = (_icons = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, _statuses["default"].DEFAULT, 'info'), _statuses["default"].ERROR, 'error'), _statuses["default"].SUCCESS, 'check_circle'), _statuses["default"].WARNING, 'warning'), _statuses.statusIcon.CRITICAL, 'error'), _statuses.statusIcon.FATAL, 'dangerous'), _statuses.statusIcon.INFO, 'info'), _statuses.statusIcon.MAJOR, 'arrow_upward'), _statuses.statusIcon.MINOR, 'arrow_downward'), _statuses.statusIcon.WARNING_NEUTRAL, 'warning'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "aic", _navBarIcons.Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", _SettingsOutlineIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", _ShowChartIcon["default"]), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "p1verify", 'person_check'), "pam", _navBarIcons.PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmall), "protect", _navBarIcons.Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), (0, _defineProperty2["default"])(_icons, "WarningIcon", 'warning'));
|
|
24
24
|
var _default = exports["default"] = icons;
|
|
@@ -87,6 +87,10 @@ declare const _default: {
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
tooltip: string;
|
|
90
|
+
environmentBadge: {
|
|
91
|
+
text: any;
|
|
92
|
+
background: any;
|
|
93
|
+
};
|
|
90
94
|
codeEditor: {
|
|
91
95
|
backgroundColor: any;
|
|
92
96
|
headerColor: any;
|
|
@@ -3142,6 +3146,7 @@ declare const _default: {
|
|
|
3142
3146
|
Descending: string;
|
|
3143
3147
|
popoverMenuIcon: string;
|
|
3144
3148
|
ErrorCircle: string;
|
|
3149
|
+
HomeIcon: string;
|
|
3145
3150
|
integrationsIcon: string;
|
|
3146
3151
|
listViewMenu: string;
|
|
3147
3152
|
mdiAccountCog: string;
|
|
@@ -4018,6 +4023,10 @@ declare const _default: {
|
|
|
4018
4023
|
width: string;
|
|
4019
4024
|
color: string;
|
|
4020
4025
|
};
|
|
4026
|
+
environmentBadge: {
|
|
4027
|
+
backgroundColor: string;
|
|
4028
|
+
color: string;
|
|
4029
|
+
};
|
|
4021
4030
|
invertedRemovableBadge: {
|
|
4022
4031
|
backgroundColor: string;
|
|
4023
4032
|
'& span': {
|
|
@@ -5329,6 +5338,14 @@ declare const _default: {
|
|
|
5329
5338
|
px: string;
|
|
5330
5339
|
};
|
|
5331
5340
|
};
|
|
5341
|
+
environmentBreadcrumb: {
|
|
5342
|
+
button: {
|
|
5343
|
+
current: {
|
|
5344
|
+
color: string;
|
|
5345
|
+
fontWeight: number;
|
|
5346
|
+
};
|
|
5347
|
+
};
|
|
5348
|
+
};
|
|
5332
5349
|
fieldHelperText: {
|
|
5333
5350
|
title: {
|
|
5334
5351
|
fontSize: string;
|
|
@@ -6035,6 +6052,7 @@ declare const _default: {
|
|
|
6035
6052
|
popoverMenu: {
|
|
6036
6053
|
container: {
|
|
6037
6054
|
minWidth: string;
|
|
6055
|
+
maxWidth: string;
|
|
6038
6056
|
boxShadow: string;
|
|
6039
6057
|
transition: string;
|
|
6040
6058
|
'&.animate': {
|
|
@@ -163,6 +163,10 @@ var invertedRemovableBadge = _objectSpread({}, dark);
|
|
|
163
163
|
var removableBadge = _objectSpread(_objectSpread({}, secondary), {}, {
|
|
164
164
|
border: 'none'
|
|
165
165
|
});
|
|
166
|
+
var environmentBadge = {
|
|
167
|
+
backgroundColor: '#EAF2FD',
|
|
168
|
+
color: "".concat(_onyxTokens.astroTokens.color.blue[600])
|
|
169
|
+
};
|
|
166
170
|
var badges = exports.badges = {
|
|
167
171
|
dataTableBadge: dataTableBadge,
|
|
168
172
|
baseBadge: _objectSpread({}, baseBadge),
|
|
@@ -188,6 +192,7 @@ var badges = exports.badges = {
|
|
|
188
192
|
badgeDeleteButton: badgeDeleteButton,
|
|
189
193
|
itemBadgeWithSlot: itemBadgeWithSlot,
|
|
190
194
|
removableBadge: removableBadge,
|
|
195
|
+
environmentBadge: environmentBadge,
|
|
191
196
|
invertedRemovableBadge: invertedRemovableBadge,
|
|
192
197
|
errorCalloutBadge: {
|
|
193
198
|
backgroundColor: 'white !important'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var button = {
|
|
9
|
+
current: {
|
|
10
|
+
color: 'font.base',
|
|
11
|
+
fontWeight: 2
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
var _default = exports["default"] = {
|
|
15
|
+
button: button
|
|
16
|
+
};
|
|
@@ -697,6 +697,14 @@ declare const _default: {
|
|
|
697
697
|
px: string;
|
|
698
698
|
};
|
|
699
699
|
};
|
|
700
|
+
environmentBreadcrumb: {
|
|
701
|
+
button: {
|
|
702
|
+
current: {
|
|
703
|
+
color: string;
|
|
704
|
+
fontWeight: number;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
};
|
|
700
708
|
fieldHelperText: {
|
|
701
709
|
title: {
|
|
702
710
|
fontSize: string;
|
|
@@ -1403,6 +1411,7 @@ declare const _default: {
|
|
|
1403
1411
|
popoverMenu: {
|
|
1404
1412
|
container: {
|
|
1405
1413
|
minWidth: string;
|
|
1414
|
+
maxWidth: string;
|
|
1406
1415
|
boxShadow: string;
|
|
1407
1416
|
transition: string;
|
|
1408
1417
|
'&.animate': {
|
|
@@ -28,6 +28,7 @@ var _box = require("./box");
|
|
|
28
28
|
var _button = _interopRequireWildcard(require("./button"));
|
|
29
29
|
var _callout = _interopRequireDefault(require("./callout"));
|
|
30
30
|
var _dataTable = require("./dataTable");
|
|
31
|
+
var _environmentBreadcrumb = _interopRequireDefault(require("./environmentBreadcrumb"));
|
|
31
32
|
var _footer = require("./footer");
|
|
32
33
|
var _iconWrapper = _interopRequireDefault(require("./iconWrapper"));
|
|
33
34
|
var _listview = require("./listview");
|
|
@@ -449,6 +450,7 @@ var _default = exports["default"] = {
|
|
|
449
450
|
callout: _callout["default"],
|
|
450
451
|
codeView: _codeView["default"],
|
|
451
452
|
dataTable: _dataTable.dataTable,
|
|
453
|
+
environmentBreadcrumb: _environmentBreadcrumb["default"],
|
|
452
454
|
fieldHelperText: fieldHelperText,
|
|
453
455
|
footer: _footer.footer,
|
|
454
456
|
iconWrapper: _iconWrapper["default"],
|
|
@@ -22,15 +22,12 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
22
22
|
import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';
|
|
23
23
|
import { FocusScope, mergeProps, useOverlayPosition, useOverlayTrigger } from 'react-aria';
|
|
24
24
|
import { useOverlayTriggerState } from 'react-stately';
|
|
25
|
-
import ArrowDropDownIcon from '@pingux/mdi-react/ArrowDropDownIcon';
|
|
26
|
-
import ArrowDropUpIcon from '@pingux/mdi-react/ArrowDropUpIcon';
|
|
27
25
|
import ChevronRightIcon from '@pingux/mdi-react/ChevronRightIcon';
|
|
28
|
-
import HomeIcon from '@pingux/mdi-react/HomeIcon';
|
|
29
26
|
import { useFilter } from '@react-aria/i18n';
|
|
30
27
|
import { VisuallyHidden } from '@react-aria/visually-hidden';
|
|
31
28
|
import { useListState } from '@react-stately/list';
|
|
32
29
|
import { v4 as uuid } from 'uuid';
|
|
33
|
-
import { useDebounce, useLocalOrForwardRef } from '../../hooks';
|
|
30
|
+
import { useDebounce, useGetTheme, useLocalOrForwardRef } from '../../hooks';
|
|
34
31
|
import { Breadcrumbs, Button, Icon, Item, PopoverContainer, ScrollBox, SearchField, Text } from '../../index';
|
|
35
32
|
import ListBox from '../ListBox';
|
|
36
33
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
@@ -59,6 +56,11 @@ var EnvironmentBreadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
59
56
|
searchProps = props.searchProps,
|
|
60
57
|
selectedItem = props.selectedItem,
|
|
61
58
|
others = _objectWithoutProperties(props, _excluded);
|
|
59
|
+
var _useGetTheme = useGetTheme(),
|
|
60
|
+
icons = _useGetTheme.icons;
|
|
61
|
+
var MenuDown = icons.MenuDown,
|
|
62
|
+
MenuUp = icons.MenuUp,
|
|
63
|
+
HomeIcon = icons.HomeIcon;
|
|
62
64
|
var optionsNumberMessageId = useMemo(function () {
|
|
63
65
|
return uuid();
|
|
64
66
|
}, []);
|
|
@@ -244,10 +246,12 @@ var EnvironmentBreadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
244
246
|
"aria-label": setAriaLabel(selectedItem),
|
|
245
247
|
"data-id": breadCrumbDataIds.environmentButton
|
|
246
248
|
}), selectedItem, ___EmotionJSX(Icon, {
|
|
247
|
-
icon: popoverState.isOpen ?
|
|
249
|
+
icon: popoverState.isOpen ? MenuUp : MenuDown,
|
|
248
250
|
title: {
|
|
249
251
|
name: popoverState.isOpen ? 'Arrow Drop Up Icon' : 'Arrow Drop Down Icon'
|
|
250
|
-
}
|
|
252
|
+
},
|
|
253
|
+
size: "xs",
|
|
254
|
+
ml: "xs"
|
|
251
255
|
})), ___EmotionJSX(PopoverContainer, _extends({}, overlayProps, positionProps, mergeProps(overlayProps, positionProps, popoverProps), {
|
|
252
256
|
ref: overlayRef,
|
|
253
257
|
isOpen: popoverState.isOpen,
|
|
@@ -295,8 +299,8 @@ var EnvironmentBreadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
295
299
|
ref: breadcrumbsRef,
|
|
296
300
|
onAction: handleOnAction,
|
|
297
301
|
iconProps: {
|
|
298
|
-
color: '
|
|
299
|
-
mx:
|
|
302
|
+
color: 'font.base',
|
|
303
|
+
mx: 3,
|
|
300
304
|
size: 'xs',
|
|
301
305
|
icon: ChevronRightIcon
|
|
302
306
|
}
|
|
@@ -312,7 +316,8 @@ var EnvironmentBreadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
312
316
|
mr: 7,
|
|
313
317
|
title: {
|
|
314
318
|
name: 'Home Icon'
|
|
315
|
-
}
|
|
319
|
+
},
|
|
320
|
+
size: "sm"
|
|
316
321
|
}), name), selectedItem && ___EmotionJSX(Item, {
|
|
317
322
|
key: "itemsSelect",
|
|
318
323
|
elementType: "Fragment"
|
|
@@ -114,9 +114,11 @@ export var Default = function Default(args) {
|
|
|
114
114
|
}, ___EmotionJSX(Text, {
|
|
115
115
|
color: "inherit"
|
|
116
116
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? ___EmotionJSX(Badge, {
|
|
117
|
-
label: "
|
|
117
|
+
label: "Sandbox",
|
|
118
118
|
variant: "environmentBadge",
|
|
119
|
-
bg: "
|
|
119
|
+
bg: "environmentBadge.background",
|
|
120
|
+
textColor: "magenta",
|
|
121
|
+
align: "right"
|
|
120
122
|
}) : null);
|
|
121
123
|
var findEnvObj = function findEnvObj(envName) {
|
|
122
124
|
return _findInstanceProperty(defaultEnvironments).call(defaultEnvironments, function (_ref) {
|
|
@@ -140,9 +142,10 @@ export var Default = function Default(args) {
|
|
|
140
142
|
key: name,
|
|
141
143
|
textValue: name
|
|
142
144
|
}, name, isSandbox ? ___EmotionJSX(Badge, {
|
|
143
|
-
label: "
|
|
145
|
+
label: "Sandbox",
|
|
144
146
|
variant: "environmentBadge",
|
|
145
|
-
bg: "
|
|
147
|
+
bg: "environmentBadge.background",
|
|
148
|
+
textColor: "environmentBadge.text",
|
|
146
149
|
align: "right"
|
|
147
150
|
}) : null);
|
|
148
151
|
});
|
|
@@ -225,9 +228,11 @@ export var WithSections = function WithSections() {
|
|
|
225
228
|
}, ___EmotionJSX(Text, {
|
|
226
229
|
color: "inherit"
|
|
227
230
|
}, selectedEnvironment === null || selectedEnvironment === void 0 ? void 0 : selectedEnvironment.name), selectedEnvironment !== null && selectedEnvironment !== void 0 && selectedEnvironment.isSandbox ? ___EmotionJSX(Badge, {
|
|
228
|
-
label: "
|
|
231
|
+
label: "Sandbox",
|
|
229
232
|
variant: "environmentBadge",
|
|
230
|
-
bg: "
|
|
233
|
+
bg: "environmentBadge.background",
|
|
234
|
+
textColor: "environmentBadge.text",
|
|
235
|
+
align: "right"
|
|
231
236
|
}) : null);
|
|
232
237
|
return ___EmotionJSX(EnvironmentBreadcrumb, {
|
|
233
238
|
items: environments,
|
|
@@ -257,9 +262,10 @@ export var WithSections = function WithSections() {
|
|
|
257
262
|
}, ___EmotionJSX(Box, {
|
|
258
263
|
isRow: true
|
|
259
264
|
}, itemName, isSandbox ? ___EmotionJSX(Badge, {
|
|
260
|
-
label: "
|
|
265
|
+
label: "Sandbox",
|
|
261
266
|
variant: "environmentBadge",
|
|
262
|
-
bg: "
|
|
267
|
+
bg: "environmentBadge.background",
|
|
268
|
+
textColor: "environmentBadge.text",
|
|
263
269
|
align: "right"
|
|
264
270
|
}) : null));
|
|
265
271
|
});
|
|
@@ -281,9 +287,10 @@ export var DefaultOpen = function DefaultOpen() {
|
|
|
281
287
|
}, ___EmotionJSX(Text, {
|
|
282
288
|
color: "inherit"
|
|
283
289
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? ___EmotionJSX(Badge, {
|
|
284
|
-
label: "
|
|
290
|
+
label: "Sandbox",
|
|
285
291
|
variant: "environmentBadge",
|
|
286
|
-
bg: "
|
|
292
|
+
bg: "environmentBadge.background",
|
|
293
|
+
textColor: "environmentBadge.text"
|
|
287
294
|
}) : null);
|
|
288
295
|
var findEnvObj = function findEnvObj(envName) {
|
|
289
296
|
return _findInstanceProperty(defaultEnvironments).call(defaultEnvironments, function (_ref5) {
|
|
@@ -308,10 +315,10 @@ export var DefaultOpen = function DefaultOpen() {
|
|
|
308
315
|
key: name,
|
|
309
316
|
textValue: name
|
|
310
317
|
}, name, isSandbox ? ___EmotionJSX(Badge, {
|
|
311
|
-
label: "
|
|
318
|
+
label: "Sandbox",
|
|
312
319
|
variant: "environmentBadge",
|
|
313
|
-
bg: "
|
|
314
|
-
|
|
320
|
+
bg: "environmentBadge.background",
|
|
321
|
+
textColor: "environmentBadge.text"
|
|
315
322
|
}) : null);
|
|
316
323
|
});
|
|
317
324
|
};
|
|
@@ -330,9 +337,10 @@ export var ControlledMenu = function ControlledMenu() {
|
|
|
330
337
|
}, ___EmotionJSX(Text, {
|
|
331
338
|
color: "inherit"
|
|
332
339
|
}, selectedEnvironment.name), selectedEnvironment.isSandbox ? ___EmotionJSX(Badge, {
|
|
333
|
-
label: "
|
|
340
|
+
label: "Sandbox",
|
|
334
341
|
variant: "environmentBadge",
|
|
335
|
-
bg: "
|
|
342
|
+
bg: "environmentBadge.background",
|
|
343
|
+
textColor: "environmentBadge.text"
|
|
336
344
|
}) : null);
|
|
337
345
|
var findEnvObj = function findEnvObj(envName) {
|
|
338
346
|
return _findInstanceProperty(defaultEnvironments).call(defaultEnvironments, function (_ref7) {
|
|
@@ -358,10 +366,10 @@ export var ControlledMenu = function ControlledMenu() {
|
|
|
358
366
|
key: name,
|
|
359
367
|
textValue: name
|
|
360
368
|
}, name, isSandbox ? ___EmotionJSX(Badge, {
|
|
361
|
-
label: "
|
|
369
|
+
label: "Sandbox",
|
|
362
370
|
variant: "environmentBadge",
|
|
363
|
-
bg: "
|
|
364
|
-
|
|
371
|
+
bg: "environmentBadge.background",
|
|
372
|
+
textColor: "environmentBadge.text"
|
|
365
373
|
}) : null);
|
|
366
374
|
});
|
|
367
375
|
};
|
package/lib/styles/colors.js
CHANGED
|
@@ -132,6 +132,10 @@ var tooltip = accent[20];
|
|
|
132
132
|
var border = {
|
|
133
133
|
hairline: '#E7EEF4'
|
|
134
134
|
};
|
|
135
|
+
var environmentBadge = {
|
|
136
|
+
text: badge.textColor,
|
|
137
|
+
background: neutral[40]
|
|
138
|
+
};
|
|
135
139
|
var allColors = {
|
|
136
140
|
black: black,
|
|
137
141
|
background: background,
|
|
@@ -154,7 +158,8 @@ var allColors = {
|
|
|
154
158
|
button: button,
|
|
155
159
|
warning: warning,
|
|
156
160
|
slider: slider,
|
|
157
|
-
tooltip: tooltip
|
|
161
|
+
tooltip: tooltip,
|
|
162
|
+
environmentBadge: environmentBadge
|
|
158
163
|
};
|
|
159
164
|
export default allColors;
|
|
160
165
|
function flattenColors(obj) {
|
|
@@ -42,6 +42,10 @@ var background = {
|
|
|
42
42
|
card: '#1a1e22',
|
|
43
43
|
hover: hoverDark
|
|
44
44
|
};
|
|
45
|
+
var environmentBadge = {
|
|
46
|
+
text: 'black',
|
|
47
|
+
background: astroTokensDark.color.blue[500]
|
|
48
|
+
};
|
|
45
49
|
var twoTone = {
|
|
46
50
|
bg: {
|
|
47
51
|
orange: astroTokensDark.color.orange[500],
|
|
@@ -145,6 +149,7 @@ export var colors = _objectSpread(_objectSpread({
|
|
|
145
149
|
message: 'white',
|
|
146
150
|
fieldHelper: astroTokensDark.color.gray[400]
|
|
147
151
|
},
|
|
152
|
+
environmentBadge: environmentBadge,
|
|
148
153
|
background: background,
|
|
149
154
|
backgroundBase: backgroundBase,
|
|
150
155
|
backgroundSecondary: backgroundSecondary,
|
|
@@ -38,7 +38,10 @@ var listBox = {
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
'&.is-focus-visible': {
|
|
41
|
-
zIndex: 1
|
|
41
|
+
zIndex: 1,
|
|
42
|
+
outline: '1px solid #ffffff',
|
|
43
|
+
outlineOffset: '-1px',
|
|
44
|
+
boxShadow: "inset 0 0 0 2px ".concat(astroTokensDark.color.blue[500])
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
};
|
|
@@ -178,6 +181,14 @@ var statusIcon = {
|
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
183
|
};
|
|
184
|
+
var environmentBreadcrumb = {
|
|
185
|
+
button: {
|
|
186
|
+
current: {
|
|
187
|
+
color: astroTokensDark.color.gray[100],
|
|
188
|
+
fontWeight: 2
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
};
|
|
181
192
|
export default {
|
|
182
193
|
rockerButton: rockerButton,
|
|
183
194
|
rangeCalendar: rangeCalendar,
|
|
@@ -191,6 +202,7 @@ export default {
|
|
|
191
202
|
lisViewItemChart: lisViewItemChart,
|
|
192
203
|
navBar: navBar,
|
|
193
204
|
listBox: listBox,
|
|
205
|
+
environmentBreadcrumb: environmentBreadcrumb,
|
|
194
206
|
modal: modal,
|
|
195
207
|
tab: tab,
|
|
196
208
|
iconBadge: iconBadge,
|
|
@@ -200,7 +212,9 @@ export default {
|
|
|
200
212
|
tooltip: tooltip,
|
|
201
213
|
popoverMenu: {
|
|
202
214
|
container: {
|
|
203
|
-
background: '#23282e'
|
|
215
|
+
background: '#23282e',
|
|
216
|
+
border: '1px solid',
|
|
217
|
+
borderColor: '#39414B'
|
|
204
218
|
}
|
|
205
219
|
},
|
|
206
220
|
dataTable: {
|
|
@@ -21,6 +21,7 @@ import Earth from '@pingux/mdi-react/EarthIcon';
|
|
|
21
21
|
import EmoticonHappy from '@pingux/mdi-react/EmoticonHappyOutlineIcon';
|
|
22
22
|
import Fingerprint from '@pingux/mdi-react/FingerprintIcon';
|
|
23
23
|
import GlobeIcon from '@pingux/mdi-react/GlobeIcon';
|
|
24
|
+
import HomeIcon from '@pingux/mdi-react/HomeIcon';
|
|
24
25
|
import InformationIcon from '@pingux/mdi-react/InformationIcon';
|
|
25
26
|
import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
|
|
26
27
|
import KeyChainVariant from '@pingux/mdi-react/KeyChainVariantIcon';
|
|
@@ -40,4 +41,4 @@ import WebIcon from '@pingux/mdi-react/WebIcon';
|
|
|
40
41
|
import { pingLogoHorizontalSmallWhite } from '../../../../utils/devUtils/constants/logos';
|
|
41
42
|
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
|
42
43
|
import { Aic, Credentials, DaVinci, PamIcon, Protect, Verify } from './navBarIcons';
|
|
43
|
-
export default (_statuses$DEFAULT$sta = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, statuses.DEFAULT, InformationIcon), statuses.ERROR, AlertCircleIcon), statuses.SUCCESS, CheckCircleIcon), statuses.WARNING, AlertIcon), statusIcon.CRITICAL, AlertCircleOutlineIcon), statusIcon.FATAL, CloseOctagonOutlineIcon), statusIcon.INFO, InformationOutlineIcon), statusIcon.MAJOR, ArrowUpIcon), statusIcon.MINOR, ArrowDownIcon), statusIcon.WARNING_NEUTRAL, WarningIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "aic", Aic), "applicationsIcon", ApplicationOutlineIcon), "Ascending", MenuUp), "authenticationIcon", CheckCircleOutlineIcon), "clipboard", Clipboard), "CreateIcon", CreateIcon), "daVinci", DaVinci), "DefaultCircle", DefaultCircle), "Descending", MenuDown), "popoverMenuIcon", MoreVertIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "ErrorCircle", AlertCircleIcon), "integrationsIcon", ConnectionIcon), "listViewMenu", MoreVertIcon), "mdiAccountCog", mdiAccountCog), "mdiAccountMultiple", AccountMultiple), "mdiEarth", Earth), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", Fingerprint), "mdiPlayCircleIcon", PlayCircle), "mdiScaleBalance", ScaleBalance), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "mdiShoCard", Credentials), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", ViewDashboard), "mdiWeb", GlobeIcon), "MenuDown", MenuDown), "MenuUp", MenuUp), "monitoringIcon", PulseIcon), "openInNew", OpenInNew), "overviewIcon", WebIcon), "p1verify", Verify), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "pam", PamIcon), "PingAuthorize", KeyChainVariant), "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), "protect", Protect), "rocketLaunchIcon", RocketLaunchIcon), "shareFeedbackIcon", ChatIcon), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", CheckCircleIcon), "userExperienceIcon", MonitorScreenshotIcon), "WarningIcon", WarningIcon));
|
|
44
|
+
export default (_statuses$DEFAULT$sta = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, statuses.DEFAULT, InformationIcon), statuses.ERROR, AlertCircleIcon), statuses.SUCCESS, CheckCircleIcon), statuses.WARNING, AlertIcon), statusIcon.CRITICAL, AlertCircleOutlineIcon), statusIcon.FATAL, CloseOctagonOutlineIcon), statusIcon.INFO, InformationOutlineIcon), statusIcon.MAJOR, ArrowUpIcon), statusIcon.MINOR, ArrowDownIcon), statusIcon.WARNING_NEUTRAL, WarningIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "aic", Aic), "applicationsIcon", ApplicationOutlineIcon), "Ascending", MenuUp), "authenticationIcon", CheckCircleOutlineIcon), "clipboard", Clipboard), "CreateIcon", CreateIcon), "daVinci", DaVinci), "DefaultCircle", DefaultCircle), "Descending", MenuDown), "popoverMenuIcon", MoreVertIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "ErrorCircle", AlertCircleIcon), "integrationsIcon", ConnectionIcon), "listViewMenu", MoreVertIcon), "mdiAccountCog", mdiAccountCog), "mdiAccountMultiple", AccountMultiple), "mdiEarth", Earth), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", Fingerprint), "mdiPlayCircleIcon", PlayCircle), "mdiScaleBalance", ScaleBalance), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "mdiShoCard", Credentials), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", ViewDashboard), "mdiWeb", GlobeIcon), "MenuDown", MenuDown), "MenuUp", MenuUp), "monitoringIcon", PulseIcon), "openInNew", OpenInNew), "overviewIcon", WebIcon), "p1verify", Verify), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "pam", PamIcon), "PingAuthorize", KeyChainVariant), "HomeIcon", HomeIcon), "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), "protect", Protect), "rocketLaunchIcon", RocketLaunchIcon), "shareFeedbackIcon", ChatIcon), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", CheckCircleIcon), "userExperienceIcon", MonitorScreenshotIcon), _defineProperty(_statuses$DEFAULT$sta, "WarningIcon", WarningIcon));
|
|
@@ -122,6 +122,10 @@ var codeEditor = {
|
|
|
122
122
|
headerColor: astroTokens.color.gray[900]
|
|
123
123
|
};
|
|
124
124
|
var tooltip = 'black';
|
|
125
|
+
var environmentBadge = {
|
|
126
|
+
text: astroTokens.color.blue[500],
|
|
127
|
+
background: astroTokens.color.blue[100]
|
|
128
|
+
};
|
|
125
129
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), nextGenColors), overrides), {}, {
|
|
126
130
|
badge: badge,
|
|
127
131
|
card: card,
|
|
@@ -141,6 +145,7 @@ var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColo
|
|
|
141
145
|
backgroundHover: backgroundHover,
|
|
142
146
|
iconWrapper: iconWrapper,
|
|
143
147
|
tooltip: tooltip,
|
|
148
|
+
environmentBadge: environmentBadge,
|
|
144
149
|
codeEditor: codeEditor,
|
|
145
150
|
twoTone: twoTone
|
|
146
151
|
});
|
|
@@ -8,5 +8,5 @@ import TransitConnection from '@pingux/mdi-react/TransitConnectionVariantIcon';
|
|
|
8
8
|
import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
|
|
9
9
|
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
|
10
10
|
import { Aic, PamIcon, Protect } from '../../astro/customProperties/navBarIcons';
|
|
11
|
-
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'),
|
|
11
|
+
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", ShowChartIcon), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "p1verify", 'person_check'), "pam", PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", pingLogoHorizontalSmall), "protect", Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), _defineProperty(_icons, "WarningIcon", 'warning'));
|
|
12
12
|
export default icons;
|
|
@@ -156,6 +156,10 @@ var invertedRemovableBadge = _objectSpread({}, dark);
|
|
|
156
156
|
var removableBadge = _objectSpread(_objectSpread({}, secondary), {}, {
|
|
157
157
|
border: 'none'
|
|
158
158
|
});
|
|
159
|
+
var environmentBadge = {
|
|
160
|
+
backgroundColor: '#EAF2FD',
|
|
161
|
+
color: "".concat(astroTokens.color.blue[600])
|
|
162
|
+
};
|
|
159
163
|
export var badges = {
|
|
160
164
|
dataTableBadge: dataTableBadge,
|
|
161
165
|
baseBadge: _objectSpread({}, baseBadge),
|
|
@@ -181,6 +185,7 @@ export var badges = {
|
|
|
181
185
|
badgeDeleteButton: badgeDeleteButton,
|
|
182
186
|
itemBadgeWithSlot: itemBadgeWithSlot,
|
|
183
187
|
removableBadge: removableBadge,
|
|
188
|
+
environmentBadge: environmentBadge,
|
|
184
189
|
invertedRemovableBadge: invertedRemovableBadge,
|
|
185
190
|
errorCalloutBadge: {
|
|
186
191
|
backgroundColor: 'white !important'
|
|
@@ -21,6 +21,7 @@ import { box } from './box';
|
|
|
21
21
|
import button, { defaultFocus } from './button';
|
|
22
22
|
import callout from './callout';
|
|
23
23
|
import { dataTable } from './dataTable';
|
|
24
|
+
import environmentBreadcrumb from './environmentBreadcrumb';
|
|
24
25
|
import { footer } from './footer';
|
|
25
26
|
import iconWrapper from './iconWrapper';
|
|
26
27
|
import { listView, listViewItem, lisViewItemChart } from './listview';
|
|
@@ -439,6 +440,7 @@ export default {
|
|
|
439
440
|
callout: callout,
|
|
440
441
|
codeView: codeView,
|
|
441
442
|
dataTable: dataTable,
|
|
443
|
+
environmentBreadcrumb: environmentBreadcrumb,
|
|
442
444
|
fieldHelperText: fieldHelperText,
|
|
443
445
|
footer: footer,
|
|
444
446
|
iconWrapper: iconWrapper,
|