@pingux/astro 2.193.0 → 2.193.2-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/ComboBoxField/ComboBoxField.js +6 -1
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +98 -7
- 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/recipes/CountryPicker.stories.js +0 -1
- 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/ComboBoxField/ComboBoxField.js +6 -1
- package/lib/components/ComboBoxField/ComboBoxField.test.js +98 -7
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +14 -9
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +26 -18
- package/lib/recipes/CountryPicker.stories.js +0 -1
- 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
|
@@ -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"],
|
|
@@ -177,7 +177,12 @@ var ComboBoxField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
177
177
|
ref: inputWrapperRef,
|
|
178
178
|
onResize: onResize
|
|
179
179
|
});
|
|
180
|
-
|
|
180
|
+
|
|
181
|
+
// Re-measure synchronously (before paint) whenever the menu opens or closes,
|
|
182
|
+
// so the Popover renders with the correct width on the first frame.
|
|
183
|
+
// Without state.isOpen in deps, width updates rely solely on ResizeObserver
|
|
184
|
+
// which fires asynchronously after paint, causing a visible flicker.
|
|
185
|
+
useLayoutEffect(onResize, [onResize, state.isOpen]);
|
|
181
186
|
var style = _objectSpread(_objectSpread({}, overlayProps.style), {}, {
|
|
182
187
|
width: menuWidth,
|
|
183
188
|
minWidth: menuWidth
|
|
@@ -19,7 +19,7 @@ import _asyncToGenerator from "@babel/runtime-corejs3/helpers/esm/asyncToGenerat
|
|
|
19
19
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
20
20
|
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
21
21
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
22
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context39, _context40; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context39 = ownKeys(Object(t), !0)).call(_context39, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context40 = ownKeys(Object(t))).call(_context40, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
23
|
function _regeneratorRuntime() { "use strict"; var r = _regenerator(), e = r.m(_regeneratorRuntime), t = (_Object$getPrototypeOf ? _Object$getPrototypeOf(e) : e.__proto__).constructor; function n(r) { var e = "function" == typeof r && r.constructor; return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); } var o = { "throw": 1, "return": 2, "break": 3, "continue": 3 }; function a(r) { var e, t; return function (n) { e || (e = { stop: function stop() { return t(n.a, 2); }, "catch": function _catch() { return n.v; }, abrupt: function abrupt(r, e) { return t(n.a, o[r], e); }, delegateYield: function delegateYield(r, o, a) { return e.resultName = o, t(n.d, _regeneratorValues(r), a); }, finish: function finish(r) { return t(n.f, r); } }, t = function t(r, _t, o) { n.p = e.prev, n.n = e.next; try { return r(_t, o); } finally { e.next = n.n; } }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; try { return r.call(this, e); } finally { n.p = e.prev, n.n = e.next; } }; } return (_regeneratorRuntime = function _regeneratorRuntime() { return { wrap: function wrap(e, t, n, o) { return r.w(a(e), t, n, o && _reverseInstanceProperty(o).call(o)); }, isGeneratorFunction: n, mark: r.m, awrap: function awrap(r, e) { return new _OverloadYield(r, e); }, AsyncIterator: _regeneratorAsyncIterator, async: function async(r, e, t, o, u) { return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u); }, keys: _regeneratorKeys, values: _regeneratorValues }; })(); }
|
|
24
24
|
function _regeneratorValues(e) { if (null != e) { var t = e["function" == typeof _Symbol && _Symbol$iterator || "@@iterator"], r = 0; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) return { next: function next() { return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; } }; } throw new TypeError(_typeof(e) + " is not iterable"); }
|
|
25
25
|
function _regeneratorKeys(e) { var n = Object(e), r = []; for (var t in n) r.unshift(t); return function e() { for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; return e.done = !0, e; }; }
|
|
@@ -1575,6 +1575,97 @@ test('a blank title does not render', /*#__PURE__*/_asyncToGenerator(/*#__PURE__
|
|
|
1575
1575
|
}
|
|
1576
1576
|
}, _callee33);
|
|
1577
1577
|
})));
|
|
1578
|
+
test('popover width re-measures when the menu opens to prevent flickering', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee34() {
|
|
1579
|
+
var mockWidth, offsetWidthSpy, button, listbox, popoverContainer;
|
|
1580
|
+
return _regeneratorRuntime().wrap(function _callee34$(_context36) {
|
|
1581
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
1582
|
+
case 0:
|
|
1583
|
+
// Simulate a scenario like the Country Picker recipe where the input wrapper
|
|
1584
|
+
// starts narrow (110px) and expands to full width when the menu opens.
|
|
1585
|
+
mockWidth = 110;
|
|
1586
|
+
offsetWidthSpy = jest.spyOn(window.HTMLElement.prototype, 'offsetWidth', 'get').mockImplementation(function () {
|
|
1587
|
+
return mockWidth;
|
|
1588
|
+
});
|
|
1589
|
+
getComponent();
|
|
1590
|
+
|
|
1591
|
+
// Simulate the wrapper expanding before the menu opens
|
|
1592
|
+
// (e.g., parent CSS changes from width: 110px to width: 100%)
|
|
1593
|
+
mockWidth = 500;
|
|
1594
|
+
button = screen.queryByRole('button');
|
|
1595
|
+
_context36.next = 7;
|
|
1596
|
+
return userEvent.click(button);
|
|
1597
|
+
case 7:
|
|
1598
|
+
_context36.next = 9;
|
|
1599
|
+
return findListbox();
|
|
1600
|
+
case 9:
|
|
1601
|
+
listbox = _context36.sent;
|
|
1602
|
+
// The popover container receives the inline style with width/minWidth.
|
|
1603
|
+
// Without the fix, menuWidth would be stale (110) because useLayoutEffect
|
|
1604
|
+
// only ran on mount. With the fix, it re-measures on state.isOpen change.
|
|
1605
|
+
popoverContainer = listbox.closest('[role="presentation"]');
|
|
1606
|
+
expect(popoverContainer).toHaveStyle({
|
|
1607
|
+
width: '500px',
|
|
1608
|
+
'min-width': '500px'
|
|
1609
|
+
});
|
|
1610
|
+
offsetWidthSpy.mockRestore();
|
|
1611
|
+
case 13:
|
|
1612
|
+
case "end":
|
|
1613
|
+
return _context36.stop();
|
|
1614
|
+
}
|
|
1615
|
+
}, _callee34);
|
|
1616
|
+
})));
|
|
1617
|
+
test('popover width stays in sync when closing and reopening at different widths', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee35() {
|
|
1618
|
+
var mockWidth, offsetWidthSpy, button, listbox, popoverContainer;
|
|
1619
|
+
return _regeneratorRuntime().wrap(function _callee35$(_context37) {
|
|
1620
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
1621
|
+
case 0:
|
|
1622
|
+
mockWidth = 500;
|
|
1623
|
+
offsetWidthSpy = jest.spyOn(window.HTMLElement.prototype, 'offsetWidth', 'get').mockImplementation(function () {
|
|
1624
|
+
return mockWidth;
|
|
1625
|
+
});
|
|
1626
|
+
getComponent();
|
|
1627
|
+
button = screen.queryByRole('button'); // Open the menu at 500px
|
|
1628
|
+
_context37.next = 6;
|
|
1629
|
+
return userEvent.click(button);
|
|
1630
|
+
case 6:
|
|
1631
|
+
_context37.next = 8;
|
|
1632
|
+
return findListbox();
|
|
1633
|
+
case 8:
|
|
1634
|
+
listbox = _context37.sent;
|
|
1635
|
+
popoverContainer = listbox.closest('[role="presentation"]');
|
|
1636
|
+
expect(popoverContainer).toHaveStyle({
|
|
1637
|
+
width: '500px'
|
|
1638
|
+
});
|
|
1639
|
+
|
|
1640
|
+
// Close the menu
|
|
1641
|
+
_context37.next = 13;
|
|
1642
|
+
return userEvent.click(button);
|
|
1643
|
+
case 13:
|
|
1644
|
+
expect(screen.queryByRole('listbox')).not.toBeInTheDocument();
|
|
1645
|
+
|
|
1646
|
+
// Simulate wrapper shrinking back
|
|
1647
|
+
mockWidth = 300;
|
|
1648
|
+
|
|
1649
|
+
// Reopen — width should reflect the new measurement
|
|
1650
|
+
_context37.next = 17;
|
|
1651
|
+
return userEvent.click(button);
|
|
1652
|
+
case 17:
|
|
1653
|
+
_context37.next = 19;
|
|
1654
|
+
return findListbox();
|
|
1655
|
+
case 19:
|
|
1656
|
+
listbox = _context37.sent;
|
|
1657
|
+
popoverContainer = listbox.closest('[role="presentation"]');
|
|
1658
|
+
expect(popoverContainer).toHaveStyle({
|
|
1659
|
+
width: '300px',
|
|
1660
|
+
'min-width': '300px'
|
|
1661
|
+
});
|
|
1662
|
+
offsetWidthSpy.mockRestore();
|
|
1663
|
+
case 23:
|
|
1664
|
+
case "end":
|
|
1665
|
+
return _context37.stop();
|
|
1666
|
+
}
|
|
1667
|
+
}, _callee35);
|
|
1668
|
+
})));
|
|
1578
1669
|
describe('when isReadOnly is true', function () {
|
|
1579
1670
|
var testProp = {
|
|
1580
1671
|
isReadOnly: true
|
|
@@ -1599,12 +1690,12 @@ describe('when isReadOnly is true', function () {
|
|
|
1599
1690
|
name: defaultProps.label
|
|
1600
1691
|
})).toHaveValue(TEST_DEFAULT_INPUT_VALUE);
|
|
1601
1692
|
});
|
|
1602
|
-
test('the dropdown does not open when clicked', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function
|
|
1603
|
-
return _regeneratorRuntime().wrap(function
|
|
1604
|
-
while (1) switch (
|
|
1693
|
+
test('the dropdown does not open when clicked', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee36() {
|
|
1694
|
+
return _regeneratorRuntime().wrap(function _callee36$(_context38) {
|
|
1695
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1605
1696
|
case 0:
|
|
1606
1697
|
getComponent(testProp);
|
|
1607
|
-
|
|
1698
|
+
_context38.next = 3;
|
|
1608
1699
|
return userEvent.click(screen.getByRole('combobox', {
|
|
1609
1700
|
name: defaultProps.label
|
|
1610
1701
|
}));
|
|
@@ -1614,9 +1705,9 @@ describe('when isReadOnly is true', function () {
|
|
|
1614
1705
|
})).not.toBeInTheDocument();
|
|
1615
1706
|
case 4:
|
|
1616
1707
|
case "end":
|
|
1617
|
-
return
|
|
1708
|
+
return _context38.stop();
|
|
1618
1709
|
}
|
|
1619
|
-
},
|
|
1710
|
+
}, _callee36);
|
|
1620
1711
|
})));
|
|
1621
1712
|
});
|
|
1622
1713
|
universalComponentTests({
|
|
@@ -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));
|