@pingux/astro 2.119.0-alpha.1 → 2.119.0-alpha.3
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/Button/Buttons.styles.d.ts +40 -0
- package/lib/cjs/components/Button/Buttons.styles.js +4 -0
- package/lib/cjs/components/ListView/ListView.stories.d.ts +3 -0
- package/lib/cjs/components/ListView/ListView.stories.js +2 -1
- package/lib/cjs/components/NavBar/NavBar.stories.d.ts +1 -0
- package/lib/cjs/components/NavBar/NavBar.stories.js +272 -107
- package/lib/cjs/{styles/themeOverrides → components/NavBar}/stories/NavBar.chromatic.stories.js +53 -53
- package/lib/cjs/components/NavBar/stories/NavBarNextGenComponent.js +191 -0
- package/lib/cjs/{styles/themeOverrides/nextGenDarkMode → components/NavBar}/stories/NextGenDarkNavStory.chomatic.stories.js +2 -2
- package/lib/cjs/{styles/themes/next-gen → components/NavBar}/stories/NextGenNavBar.chromatic.stories.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItem.js +3 -1
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +9 -6
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.d.ts +1 -0
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.js +86 -0
- package/lib/cjs/components/Pagination/Pagination.d.ts +4 -0
- package/lib/cjs/components/Pagination/Pagination.js +78 -0
- package/lib/cjs/components/Pagination/Pagination.mdx +68 -0
- package/lib/cjs/components/Pagination/Pagination.stories.d.ts +39 -0
- package/lib/cjs/components/Pagination/Pagination.stories.js +159 -0
- package/lib/cjs/components/Pagination/Pagination.styles.d.ts +17 -0
- package/lib/cjs/components/Pagination/Pagination.styles.js +27 -0
- package/lib/cjs/components/Pagination/Pagination.test.d.ts +1 -0
- package/lib/cjs/components/Pagination/Pagination.test.js +208 -0
- package/lib/cjs/components/Pagination/PaginationProvider.d.ts +4 -0
- package/lib/cjs/components/Pagination/PaginationProvider.js +38 -0
- package/lib/cjs/components/Pagination/index.d.ts +2 -0
- package/lib/cjs/components/Pagination/index.js +33 -0
- package/lib/cjs/context/PaginationContext/index.d.ts +10 -0
- package/lib/cjs/context/PaginationContext/index.js +20 -0
- package/lib/cjs/hooks/index.d.ts +2 -0
- package/lib/cjs/hooks/index.js +14 -0
- package/lib/cjs/hooks/usePagination/index.d.ts +1 -0
- package/lib/cjs/hooks/usePagination/index.js +14 -0
- package/lib/cjs/hooks/usePagination/usePagination.d.ts +682 -0
- package/lib/cjs/hooks/usePagination/usePagination.js +178 -0
- package/lib/cjs/hooks/usePaginationState/index.d.ts +1 -0
- package/lib/cjs/hooks/usePaginationState/index.js +14 -0
- package/lib/cjs/hooks/usePaginationState/usePaginationState.d.ts +4 -0
- package/lib/cjs/hooks/usePaginationState/usePaginationState.js +18 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +24 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +8 -3
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +30 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +17 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +7 -1
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.js +12 -1
- package/lib/cjs/styles/themes/next-gen/variants/navbar.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +11 -7
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +4 -0
- package/lib/cjs/styles/variants/variants.js +3 -1
- package/lib/cjs/types/pagination.d.ts +46 -0
- package/lib/cjs/types/pagination.js +6 -0
- package/lib/cjs/utils/devUtils/shouldReturnComingSoon.js +8 -2
- package/lib/components/Button/Buttons.styles.js +4 -0
- package/lib/components/ListView/ListView.stories.js +1 -1
- package/lib/components/NavBar/NavBar.stories.js +196 -32
- package/lib/{styles/themeOverrides → components/NavBar}/stories/NavBar.chromatic.stories.js +2 -2
- package/lib/components/NavBar/stories/NavBarNextGenComponent.js +182 -0
- package/lib/{styles/themeOverrides/nextGenDarkMode → components/NavBar}/stories/NextGenDarkNavStory.chomatic.stories.js +2 -2
- package/lib/{styles/themes/next-gen → components/NavBar}/stories/NextGenNavBar.chromatic.stories.js +1 -1
- package/lib/components/NavBarSection/NavBarItem.js +4 -2
- package/lib/components/NavBarSection/NavBarItemHeader.js +7 -4
- package/lib/components/NavBarSection/NavBarItemHeader.test.js +83 -0
- package/lib/components/Pagination/Pagination.js +64 -0
- package/lib/components/Pagination/Pagination.mdx +68 -0
- package/lib/components/Pagination/Pagination.stories.js +141 -0
- package/lib/components/Pagination/Pagination.styles.js +19 -0
- package/lib/components/Pagination/Pagination.test.js +205 -0
- package/lib/components/Pagination/PaginationProvider.js +24 -0
- package/lib/components/Pagination/index.js +2 -0
- package/lib/context/PaginationContext/index.js +11 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/usePagination/index.js +1 -0
- package/lib/hooks/usePagination/usePagination.js +170 -0
- package/lib/hooks/usePaginationState/index.js +1 -0
- package/lib/hooks/usePaginationState/usePaginationState.js +10 -0
- package/lib/index.js +3 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +6 -2
- package/lib/styles/themes/next-gen/variants/button.js +7 -1
- package/lib/styles/themes/next-gen/variants/links.js +12 -1
- package/lib/styles/themes/next-gen/variants/navbar.js +11 -7
- package/lib/styles/variants/variants.js +3 -1
- package/lib/types/pagination.js +1 -0
- package/lib/utils/devUtils/shouldReturnComingSoon.js +9 -3
- package/package.json +1 -1
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.d.ts +0 -6
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +0 -19
- package/lib/cjs/styles/themes/next-gen/stories/NavBarNextGenComponent.js +0 -191
- package/lib/recipes/NextGen/NavBarNextGen.stories.js +0 -9
- package/lib/styles/themes/next-gen/stories/NavBarNextGenComponent.js +0 -182
- /package/lib/cjs/{styles/themes/next-gen → components/NavBar}/stories/NavBarNextGenComponent.d.ts +0 -0
- /package/lib/cjs/{styles/themeOverrides/nextGenDarkMode → components/NavBar}/stories/NextGenDarkNavStory.chomatic.stories.d.ts +0 -0
- /package/lib/cjs/{styles/themes/next-gen → components/NavBar}/stories/NextGenNavBar.chromatic.stories.d.ts +0 -0
@@ -8,39 +8,59 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
|
|
8
8
|
_Object$defineProperty(exports, "__esModule", {
|
9
9
|
value: true
|
10
10
|
});
|
11
|
-
exports["default"] = exports.Default = exports.Controlled = exports.AutoCollapse = void 0;
|
11
|
+
exports["default"] = exports.OnyxDefault = exports.Default = exports.Controlled = exports.AutoCollapse = void 0;
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
|
13
13
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
15
|
+
var _AccountCheckOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountCheckOutlineIcon"));
|
15
16
|
var _AccountMultipleIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountMultipleIcon"));
|
17
|
+
var _AccountMultipleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountMultipleOutlineIcon"));
|
18
|
+
var _AppsIcon = _interopRequireDefault(require("@pingux/mdi-react/AppsIcon"));
|
19
|
+
var _CheckCircleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCircleOutlineIcon"));
|
20
|
+
var _CodeTagsIcon = _interopRequireDefault(require("@pingux/mdi-react/CodeTagsIcon"));
|
21
|
+
var _CogOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CogOutlineIcon"));
|
16
22
|
var _EarthIcon = _interopRequireDefault(require("@pingux/mdi-react/EarthIcon"));
|
17
23
|
var _EmoticonHappyOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/EmoticonHappyOutlineIcon"));
|
24
|
+
var _FileTreeIcon = _interopRequireDefault(require("@pingux/mdi-react/FileTreeIcon"));
|
18
25
|
var _FingerprintIcon = _interopRequireDefault(require("@pingux/mdi-react/FingerprintIcon"));
|
19
26
|
var _GlobeIcon = _interopRequireDefault(require("@pingux/mdi-react/GlobeIcon"));
|
27
|
+
var _LayersOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/LayersOutlineIcon"));
|
20
28
|
var _OpenInNewIcon = _interopRequireDefault(require("@pingux/mdi-react/OpenInNewIcon"));
|
29
|
+
var _PaletteOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/PaletteOutlineIcon"));
|
21
30
|
var _ScaleBalanceIcon = _interopRequireDefault(require("@pingux/mdi-react/ScaleBalanceIcon"));
|
31
|
+
var _ShieldCheckOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ShieldCheckOutlineIcon"));
|
32
|
+
var _ShowChartIcon = _interopRequireDefault(require("@pingux/mdi-react/ShowChartIcon"));
|
22
33
|
var _TransitConnectionVariantIcon = _interopRequireDefault(require("@pingux/mdi-react/TransitConnectionVariantIcon"));
|
23
34
|
var _ViewDashboardIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewDashboardIcon"));
|
35
|
+
var _ViewDashboardOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewDashboardOutlineIcon"));
|
24
36
|
var _ViewGridPlusOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewGridPlusOutlineIcon"));
|
25
|
-
var
|
37
|
+
var _WidgetsOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/WidgetsOutlineIcon"));
|
26
38
|
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
39
|
+
var _ = require("../..");
|
27
40
|
var _hooks = require("../../hooks");
|
28
|
-
var _index = require("../../index");
|
29
41
|
var _figmaLinks = require("../../utils/designUtils/figmaLinks");
|
30
42
|
var _NavBar = _interopRequireDefault(require("./NavBar.mdx"));
|
31
43
|
var _react2 = require("@emotion/react");
|
32
44
|
function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
33
45
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
34
46
|
var _default = {
|
35
|
-
component:
|
36
|
-
decorators: [
|
47
|
+
component: _.NavBar,
|
48
|
+
decorators: [function (OnyxDefault) {
|
49
|
+
return (0, _react2.jsx)("div", {
|
50
|
+
style: {
|
51
|
+
padding: '0',
|
52
|
+
height: '90vh'
|
53
|
+
}
|
54
|
+
}, (0, _react2.jsx)(OnyxDefault, null));
|
55
|
+
}],
|
37
56
|
subcomponents: {
|
38
|
-
NavBarSection:
|
39
|
-
NavBarItemLink:
|
40
|
-
NavBarItemButton:
|
57
|
+
NavBarSection: _.NavBarSection,
|
58
|
+
NavBarItemLink: _.NavBarItemLink,
|
59
|
+
NavBarItemButton: _.NavBarItemButton
|
41
60
|
},
|
42
61
|
title: 'Components/NavBar',
|
43
62
|
parameters: {
|
63
|
+
layout: 'fullscreen',
|
44
64
|
docs: {
|
45
65
|
page: function page() {
|
46
66
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_NavBar["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
@@ -109,42 +129,17 @@ var Verify = function Verify(props) {
|
|
109
129
|
id: "Shape"
|
110
130
|
}))))));
|
111
131
|
};
|
112
|
-
var logo = (0, _react2.jsx)("svg", {
|
113
|
-
width: "130",
|
114
|
-
height: "23",
|
115
|
-
viewBox: "0 0 130 23",
|
116
|
-
fill: "none",
|
117
|
-
xmlns: "http://www.w3.org/2000/svg",
|
118
|
-
"aria-labelledby": "logo-icon-title"
|
119
|
-
}, (0, _react2.jsx)("title", {
|
120
|
-
id: "logo-icon-title"
|
121
|
-
}, "Logo Icon"), (0, _react2.jsx)("path", {
|
122
|
-
fillRule: "evenodd",
|
123
|
-
clipRule: "evenodd",
|
124
|
-
d: "M0 20.9064H20.9064V0H0V20.9064Z",
|
125
|
-
fill: "white"
|
126
|
-
}), (0, _react2.jsx)("path", {
|
127
|
-
fillRule: "evenodd",
|
128
|
-
clipRule: "evenodd",
|
129
|
-
d: "M106.675 6.25124L108.426 5.95832V17.8924H106.675V6.25124ZM113.543 7.59921V15.1248C113.543 16.4146 113.868 16.8606 114.928 16.8606C115.404 16.8606 115.278 16.866 115.582 16.7014L115.821 17.8742C115.278 18.1776 115.079 18.2655 114.322 18.2655C113.759 18.2655 113.327 18.1497 112.915 17.9385C112.159 17.5402 111.878 16.7901 111.878 15.6169V7.59921H110.472V6.21637H111.878V1.79199H113.609V6.21637H116.314L115.794 7.59921H113.543ZM127.414 17.5425C126.741 17.5425 126.198 16.9656 126.198 16.1678C126.198 15.3693 126.741 14.7931 127.414 14.7931C128.087 14.7931 128.631 15.3693 128.631 16.1678C128.631 16.9656 128.087 17.5425 127.414 17.5425ZM127.414 14.4615C126.528 14.4615 125.805 15.2275 125.805 16.1678C125.805 17.1074 126.528 17.8726 127.414 17.8726C128.301 17.8726 129.023 17.1074 129.023 16.1678C129.023 15.2275 128.301 14.4615 127.414 14.4615ZM127.134 16.0214V15.4681H127.436C127.61 15.4681 127.807 15.5053 127.807 15.7323C127.807 15.9923 127.633 16.0214 127.432 16.0214H127.134ZM128.145 15.7618C128.145 15.3549 127.909 15.1941 127.472 15.1941H126.795V17.1279H127.134V16.2953H127.338L127.81 17.1279H128.158L127.669 16.2817C127.967 16.2519 128.145 16.0919 128.145 15.7618ZM126.688 6.21637L122.989 18.3128C122.254 20.6588 121.388 22.2056 119.506 22.6984L119.009 21.4558C120.062 21.0982 120.614 20.5783 121.074 19.3078C120.901 18.3864 120.803 17.9858 120.803 17.9858C120.674 17.2357 120.09 14.9601 119.722 13.7888L117.406 6.47442L119.074 5.8634L121.28 13.4363C121.604 14.5397 121.928 16.3437 121.928 16.3437H121.972C121.972 16.3437 122.382 14.8439 122.643 13.883L124.762 6.21637H126.688ZM74.5881 14.914C74.5881 14.914 74.3928 15.4065 73.9387 15.7587C73.2456 16.2969 72.7478 16.5084 71.8629 16.5084C70.8673 16.5084 70.1959 16.1101 69.6988 15.1484C69.3519 14.4692 69.266 13.4603 69.266 12.1003C69.266 10.4594 69.4382 9.61592 69.958 8.72477C70.4124 7.92777 71.126 7.50583 71.9712 7.50583C73.2456 7.50583 74.0478 7.9053 74.5881 8.72477V14.914ZM76.2972 1.79199H74.6094V5.67819C74.6094 6.52091 74.6306 7.48258 74.6306 7.48258C73.9828 6.54493 72.9211 6.00598 71.7112 6.00598C70.9315 6.00598 70.3262 6.21637 69.6335 6.73246C68.1622 7.83323 67.406 9.66242 67.406 12.1472C67.406 15.8741 69.0069 18.0547 71.7959 18.0547C73.0514 18.0547 73.8745 17.6576 74.6523 16.6967C74.6736 17.3042 74.8905 17.8924 74.8905 17.8924H76.6218C76.3823 17.2113 76.2972 16.133 76.2972 14.1186V1.79199ZM102.055 6.24H104.837L104.319 7.62284H101.99V15.1484C101.99 16.4387 102.314 16.885 103.374 16.885C103.85 16.885 103.725 16.8904 104.028 16.725L104.267 17.8982C103.725 18.202 103.525 18.2899 102.767 18.2899C102.205 18.2899 101.773 18.1737 101.362 17.9629C100.605 17.5642 100.323 16.8137 100.323 15.6409V7.62284H98.9179V6.24H100.323V1.8164H102.055V6.24ZM97.1433 7.66972C97.3162 8.09205 97.4032 8.5601 97.4032 9.03009V17.8932H95.6933V9.99098C95.6933 8.74763 95.6067 8.44425 95.3038 8.04478C95.0667 7.74063 94.6111 7.55232 94.1141 7.55232C93.2473 7.55232 91.9079 8.30438 91.129 9.19398V17.8932H89.4848V8.88983C89.4848 7.22453 89.0748 6.42753 89.0748 6.42753L90.7174 5.93469C90.7174 5.93469 91.1085 6.80066 91.1085 7.76388C92.2313 6.54493 93.3556 5.95832 94.5036 5.95832C95.672 5.95832 96.7109 6.63909 97.1433 7.66972ZM80.4365 10.9747C80.5216 8.55933 81.3876 7.34116 82.9231 7.34116C83.7462 7.34116 84.5023 7.74063 84.8698 8.37257C85.1946 8.93516 85.3463 9.7093 85.3675 10.9747H80.4365ZM83.0097 5.91067C81.711 5.91067 80.6516 6.42753 79.7864 7.52869C78.8782 8.70307 78.4895 9.96735 78.4895 11.9372C78.4895 15.8063 80.2834 18.1497 83.2697 18.1497C84.6547 18.1497 85.9531 17.6344 86.9034 16.6967L86.254 15.5227C85.4979 16.274 84.6547 16.6246 83.6151 16.6246C82.5329 16.6246 81.5381 16.2035 80.9328 15.1953C80.5646 14.5874 80.4365 13.742 80.4365 12.6408V12.3583H87.1626V12.1003C87.1208 9.31177 86.8593 8.20945 85.9315 7.17649C85.1946 6.3574 84.1778 5.91067 83.0097 5.91067ZM63.3167 17.8924H65.0479V1.80865H63.3167V17.8924Z",
|
130
|
-
fill: "white"
|
131
|
-
}), (0, _react2.jsx)("path", {
|
132
|
-
fillRule: "evenodd",
|
133
|
-
clipRule: "evenodd",
|
134
|
-
d: "M36.9874 1.1947C35.9856 1.1947 35.1575 2.04867 35.1575 3.10948C35.1575 4.17059 35.964 5.02519 36.9435 5.02519C37.9457 5.02519 38.7528 4.17059 38.7528 3.10948C38.7528 2.04867 37.9678 1.1947 36.9874 1.1947ZM56.9033 15.1542L55.3339 15.1312C55.0284 15.1312 54.855 15.0152 54.855 14.8537C54.855 14.5314 55.2689 14.2548 56.009 13.8847C56.2262 13.9084 56.3134 13.9084 56.4446 13.9084C58.8193 13.9084 60.5636 12.4303 60.5636 10.4005C60.5636 9.61595 60.3439 9.0155 59.9081 8.46364L59.9605 8.47065L59.9606 8.47066C60.1397 8.49475 60.4151 8.5318 60.672 8.5318C61.4778 8.5318 62.0866 8.27764 62.7193 7.65479L61.4996 5.69332C60.8237 6.34046 59.9958 6.70963 59.1899 6.70963C58.8193 6.70963 58.4264 6.61608 57.8177 6.45516C57.0109 6.24833 56.4446 6.15619 55.8128 6.15619C52.9597 6.15619 51.1075 7.72483 51.1075 10.1476C51.1075 11.9005 51.8913 12.985 53.5037 13.424C51.673 13.9305 51.4561 14.6472 51.4561 15.4081C51.4561 16.216 51.7818 16.7461 52.3055 16.953C52.8291 17.1848 53.6782 17.2985 54.9848 17.3225L56.2262 17.3459C57.3822 17.3689 58.2745 17.6928 58.2745 18.7533C58.2745 19.2382 57.9916 19.676 57.5562 19.9526C57.0994 20.2536 56.467 20.3442 55.7268 20.3442C54.3761 20.3442 53.6337 19.8377 53.6337 18.8909C53.6337 18.5682 53.6561 18.4079 53.7657 18.1307H51.064C50.9545 18.3606 50.8029 18.6848 50.8029 19.331C50.8029 20.1367 51.1075 20.8304 51.7178 21.4296C52.7194 22.4222 54.3541 22.6985 55.9431 22.6985C57.6855 22.6985 59.3645 22.2842 60.3439 21.1757C60.9548 20.4841 61.2385 19.7232 61.2385 18.7312C61.2385 17.6691 60.9324 16.8615 60.2795 16.216C59.4945 15.4535 58.6016 15.1769 56.9033 15.1542ZM54.0479 10.1703C54.0479 9.06345 54.6801 8.41632 55.7907 8.41632C56.9033 8.41632 57.5562 9.06345 57.5562 10.1703C57.5562 11.2548 56.9244 11.8541 55.7692 11.8541C54.7452 11.8541 54.0479 11.3704 54.0479 10.1703ZM43.6997 9.82372C44.375 9.17909 45.1373 8.76354 45.7242 8.76354C46.4871 8.76354 46.7042 9.15543 46.7042 10.4931V18.1768H49.5808V9.54716C49.5808 8.80867 49.5151 8.30146 49.3627 7.86351C49.0144 6.8472 47.9252 6.15619 46.683 6.15619C46.0303 6.15619 45.2671 6.34046 44.6792 6.66278C44.2068 6.93488 43.8401 7.20758 43.4131 7.52507L43.3936 7.53962C43.3936 7.05529 43.2412 6.54855 42.9789 6.06359L40.3874 6.8472C40.6481 7.63176 40.779 8.60074 40.779 9.61595V18.1768H43.6997V9.82372ZM35.485 6.5697L38.4035 6.08505V18.1768H35.485V6.5697ZM32.0851 2.92521C31.2343 2.41721 30.4496 2.14096 27.8792 2.14096H23.8931V18.1768H26.9433V12.2702H28.6201C30.2969 12.2702 30.9512 12.0853 31.6485 11.7391C33.3037 10.9088 34.2612 9.20118 34.2612 7.07926C34.2612 5.23234 33.4995 3.75614 32.0851 2.92521ZM28.5333 9.63945C29.7748 9.63945 30.1457 9.47775 30.5583 8.80867C30.8212 8.3715 30.9288 7.90926 30.9288 7.14711C30.9288 5.64757 30.1668 4.74738 28.8805 4.74738H26.9433V9.63945H28.5333Z",
|
135
|
-
fill: "white"
|
136
|
-
}));
|
137
132
|
var data = [{
|
138
133
|
'data-id': 'dashboard-data-id',
|
139
134
|
heading: 'Dashboard',
|
140
135
|
icon: _ViewDashboardIcon["default"],
|
141
136
|
key: 'Dashboard',
|
142
|
-
children: [(0, _react2.jsx)(
|
137
|
+
children: [(0, _react2.jsx)(_.NavBarItemLink, {
|
143
138
|
key: "Dashboard Link Group",
|
144
139
|
id: "Dashboard Link Group",
|
145
140
|
variant: "variants.navBar.itemButton",
|
146
141
|
href: "https://pingidentity.com/"
|
147
|
-
}, "Group"), (0, _react2.jsx)(
|
142
|
+
}, "Group"), (0, _react2.jsx)(_.NavBarItemButton, {
|
148
143
|
key: "Dashboard Link Populations",
|
149
144
|
id: "Dashboard Link Populations"
|
150
145
|
}, "Populations")]
|
@@ -153,23 +148,23 @@ var data = [{
|
|
153
148
|
icon: _AccountMultipleIcon["default"],
|
154
149
|
key: 'Identities',
|
155
150
|
heading: 'Identities',
|
156
|
-
children: [(0, _react2.jsx)(
|
151
|
+
children: [(0, _react2.jsx)(_.NavBarItemLink, {
|
157
152
|
key: "Identities Link Users",
|
158
153
|
id: "Identities Link Users",
|
159
154
|
href: "https://pingidentity.com/"
|
160
|
-
}, "Users"), (0, _react2.jsx)(
|
155
|
+
}, "Users"), (0, _react2.jsx)(_.NavBarItemLink, {
|
161
156
|
key: "Identities Link Groups",
|
162
157
|
id: "Identities Link Groups",
|
163
158
|
href: "https://pingidentity.com/"
|
164
|
-
}, "Groups"), (0, _react2.jsx)(
|
159
|
+
}, "Groups"), (0, _react2.jsx)(_.NavBarItemLink, {
|
165
160
|
key: "Identities Link Populations",
|
166
161
|
id: "Identities Link Populations",
|
167
162
|
href: "https://pingidentity.com/"
|
168
|
-
}, "Populations"), (0, _react2.jsx)(
|
163
|
+
}, "Populations"), (0, _react2.jsx)(_.NavBarItemLink, {
|
169
164
|
key: "Identities Link Attributes",
|
170
165
|
id: "Identities Link Attributes",
|
171
166
|
href: "https://pingidentity.com/"
|
172
|
-
}, "Attributes"), (0, _react2.jsx)(
|
167
|
+
}, "Attributes"), (0, _react2.jsx)(_.NavBarItemButton, {
|
173
168
|
key: "Identities Link Roles",
|
174
169
|
id: "Identities Link Roles"
|
175
170
|
}, "Roles")]
|
@@ -182,55 +177,55 @@ var data = [{
|
|
182
177
|
hasSeparator: false,
|
183
178
|
key: 'Applications',
|
184
179
|
subTitle: 'Applications'
|
185
|
-
}, (0, _react2.jsx)(
|
180
|
+
}, (0, _react2.jsx)(_.NavBarItemLink, {
|
186
181
|
key: "Connections Applications",
|
187
182
|
id: "Connections Applications",
|
188
183
|
href: "https://pingidentity.com/"
|
189
|
-
}, "Applications"), (0, _react2.jsx)(
|
184
|
+
}, "Applications"), (0, _react2.jsx)(_.NavBarItemLink, {
|
190
185
|
key: "Connections Application Catalog",
|
191
186
|
id: "Connections Application Catalog",
|
192
187
|
href: "https://pingidentity.com/"
|
193
|
-
}, "Application Catalog"), (0, _react2.jsx)(
|
188
|
+
}, "Application Catalog"), (0, _react2.jsx)(_.NavBarItemLink, {
|
194
189
|
key: "Connections Application Portal",
|
195
190
|
id: "Connections Application Portal",
|
196
191
|
href: "https://pingidentity.com/"
|
197
192
|
}, "Application Portal"), {
|
198
193
|
key: 'Identity Providers',
|
199
194
|
subTitle: 'Identity Providers'
|
200
|
-
}, (0, _react2.jsx)(
|
195
|
+
}, (0, _react2.jsx)(_.NavBarItemLink, {
|
201
196
|
key: "Connections External IDPs",
|
202
197
|
id: "Connections External IDPs",
|
203
198
|
href: "https://pingidentity.com/"
|
204
199
|
}, "External IDPs"), {
|
205
200
|
key: 'Ping Products',
|
206
201
|
subTitle: 'Ping Products'
|
207
|
-
}, (0, _react2.jsx)(
|
202
|
+
}, (0, _react2.jsx)(_.NavBarItemLink, {
|
208
203
|
key: "Connections PingFederate",
|
209
204
|
id: "Connections PingFederate",
|
210
205
|
href: "https://pingidentity.com/"
|
211
|
-
}, "PingFederate"), (0, _react2.jsx)(
|
206
|
+
}, "PingFederate"), (0, _react2.jsx)(_.NavBarItemLink, {
|
212
207
|
key: "Connections PingIntelligence",
|
213
208
|
id: "Connections PingIntelligence",
|
214
209
|
href: "https://pingidentity.com/"
|
215
|
-
}, "PingIntelligence"), (0, _react2.jsx)(
|
210
|
+
}, "PingIntelligence"), (0, _react2.jsx)(_.Separator, {
|
216
211
|
variant: "separator.navBarSubtitleSeparator"
|
217
|
-
}), (0, _react2.jsx)(
|
212
|
+
}), (0, _react2.jsx)(_.NavBarItemLink, {
|
218
213
|
key: "Connections Provisioning",
|
219
214
|
id: "Connections Provisioning",
|
220
215
|
href: "https://pingidentity.com/"
|
221
|
-
}, "Provisioning"), (0, _react2.jsx)(
|
216
|
+
}, "Provisioning"), (0, _react2.jsx)(_.NavBarItemLink, {
|
222
217
|
key: "Connections WebHooks",
|
223
218
|
id: "Connections WebHooks",
|
224
219
|
href: "https://pingidentity.com/"
|
225
|
-
}, "WebHooks"), (0, _react2.jsx)(
|
220
|
+
}, "WebHooks"), (0, _react2.jsx)(_.NavBarItemLink, {
|
226
221
|
key: "Connections Gateways",
|
227
222
|
id: "Connections Gateways",
|
228
223
|
href: "https://pingidentity.com/"
|
229
|
-
}, "Gateways"), (0, _react2.jsx)(
|
224
|
+
}, "Gateways"), (0, _react2.jsx)(_.NavBarItemLink, {
|
230
225
|
key: "Connections Certificates & Key Pairs",
|
231
226
|
id: "Connections Certificates & Key Pairs",
|
232
227
|
href: "https://pingidentity.com/"
|
233
|
-
}, "Certificates & Key Pairs"), (0, _react2.jsx)(
|
228
|
+
}, "Certificates & Key Pairs"), (0, _react2.jsx)(_.NavBarItemButton, {
|
234
229
|
key: "Connections Resources",
|
235
230
|
id: "Connections Resources"
|
236
231
|
}, "Resources")]
|
@@ -243,56 +238,56 @@ var data = [{
|
|
243
238
|
hasSeparator: false,
|
244
239
|
key: 'Policies',
|
245
240
|
subTitle: 'Policies'
|
246
|
-
}, (0, _react2.jsx)(
|
241
|
+
}, (0, _react2.jsx)(_.NavBarItemLink, {
|
247
242
|
key: "Experiences Authentication",
|
248
243
|
id: "Experiences Authentication",
|
249
244
|
href: "https://pingidentity.com/"
|
250
|
-
}, "Authentication"), (0, _react2.jsx)(
|
245
|
+
}, "Authentication"), (0, _react2.jsx)(_.NavBarItemLink, {
|
251
246
|
key: "Experiences MFA",
|
252
247
|
id: "Experiences MFA",
|
253
248
|
href: "https://pingidentity.com/"
|
254
|
-
}, "MFA"), (0, _react2.jsx)(
|
249
|
+
}, "MFA"), (0, _react2.jsx)(_.NavBarItemLink, {
|
255
250
|
key: "Experiences Password",
|
256
251
|
id: "Experiences Password",
|
257
252
|
href: "https://pingidentity.com/"
|
258
|
-
}, "Password"), (0, _react2.jsx)(
|
253
|
+
}, "Password"), (0, _react2.jsx)(_.Separator, {
|
259
254
|
variant: "separator.navBarSubtitleSeparator"
|
260
|
-
}), (0, _react2.jsx)(
|
255
|
+
}), (0, _react2.jsx)(_.NavBarItemLink, {
|
261
256
|
key: "Experiences Risk",
|
262
257
|
id: "Experiences Risk",
|
263
258
|
href: "https://pingidentity.com/"
|
264
|
-
}, "Risk"), (0, _react2.jsx)(
|
259
|
+
}, "Risk"), (0, _react2.jsx)(_.NavBarItemLink, {
|
265
260
|
key: "Experiences Flows",
|
266
261
|
id: "Experiences Flows",
|
267
262
|
href: "https://pingidentity.com/"
|
268
|
-
}, "Flows"), (0, _react2.jsx)(
|
263
|
+
}, "Flows"), (0, _react2.jsx)(_.NavBarItemLink, {
|
269
264
|
key: "Experiences Forms",
|
270
265
|
id: "Experiences Forms",
|
271
266
|
href: "https://pingidentity.com/"
|
272
|
-
}, "Forms"), (0, _react2.jsx)(
|
267
|
+
}, "Forms"), (0, _react2.jsx)(_.NavBarItemLink, {
|
273
268
|
key: "Experiences Languages",
|
274
269
|
id: "Experiences Languages",
|
275
270
|
href: "https://pingidentity.com/"
|
276
|
-
}, "Languages"), (0, _react2.jsx)(
|
271
|
+
}, "Languages"), (0, _react2.jsx)(_.NavBarItemLink, {
|
277
272
|
key: "Experiences Agreements",
|
278
273
|
id: "Experiences Agreements",
|
279
274
|
href: "https://pingidentity.com/"
|
280
|
-
}, "Agreements"), (0, _react2.jsx)(
|
275
|
+
}, "Agreements"), (0, _react2.jsx)(_.NavBarItemLink, {
|
281
276
|
key: "Experiences Branding & Themes",
|
282
277
|
id: "Experiences Branding & Themes",
|
283
278
|
href: "https://pingidentity.com/"
|
284
|
-
}, "Branding & Themes"), (0, _react2.jsx)(
|
279
|
+
}, "Branding & Themes"), (0, _react2.jsx)(_.NavBarItemLink, {
|
285
280
|
key: "Experiences Notifications",
|
286
281
|
id: "Experiences Notifications",
|
287
282
|
href: "https://pingidentity.com/"
|
288
|
-
}, "Notifications"), (0, _react2.jsx)(
|
283
|
+
}, "Notifications"), (0, _react2.jsx)(_.NavBarItemLink, {
|
289
284
|
key: "Experiences Vanity Domains",
|
290
285
|
id: "Experiences Vanity Domains",
|
291
286
|
href: "https://pingidentity.com/",
|
292
287
|
onClick: function onClick(e) {
|
293
288
|
return e.preventDefault();
|
294
289
|
}
|
295
|
-
}, "Vanity Domains"), (0, _react2.jsx)(
|
290
|
+
}, "Vanity Domains"), (0, _react2.jsx)(_.NavBarItemButton, {
|
296
291
|
key: "Experiences Sender",
|
297
292
|
id: "Experiences Sender"
|
298
293
|
}, "Sender")]
|
@@ -309,13 +304,13 @@ var secondData = [{
|
|
309
304
|
icon: _FingerprintIcon["default"],
|
310
305
|
key: 'MFA',
|
311
306
|
heading: 'MFA',
|
312
|
-
children: [(0, _react2.jsx)(
|
307
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
313
308
|
id: "MFA Button Users",
|
314
309
|
key: "MFA Button Users"
|
315
310
|
}, "Users"), {
|
316
311
|
key: 'PingOne Services',
|
317
312
|
subTitle: 'PingOne Services'
|
318
|
-
}, (0, _react2.jsx)(
|
313
|
+
}, (0, _react2.jsx)(_.NavBarItemButton, {
|
319
314
|
key: "MFA Button Group",
|
320
315
|
id: "MFA Button Group"
|
321
316
|
}, "Group Test")]
|
@@ -324,14 +319,14 @@ var secondData = [{
|
|
324
319
|
icon: _ScaleBalanceIcon["default"],
|
325
320
|
key: 'Risk',
|
326
321
|
heading: 'Risk',
|
327
|
-
children: [(0, _react2.jsx)(
|
322
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
328
323
|
key: "Risk Button Users",
|
329
324
|
id: "Risk Button Users"
|
330
325
|
}, "Users"), {
|
331
326
|
hasSeparator: false,
|
332
327
|
key: 'PingOne Services',
|
333
328
|
subTitle: 'PingOne Services'
|
334
|
-
}, (0, _react2.jsx)(
|
329
|
+
}, (0, _react2.jsx)(_.NavBarItemButton, {
|
335
330
|
key: "Risk Button Group",
|
336
331
|
id: "Risk Button Group"
|
337
332
|
}, "Group")]
|
@@ -340,14 +335,14 @@ var secondData = [{
|
|
340
335
|
icon: Verify,
|
341
336
|
key: 'Verify',
|
342
337
|
heading: 'Verify',
|
343
|
-
children: [(0, _react2.jsx)(
|
338
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
344
339
|
key: "Verify Button Users",
|
345
340
|
id: "Verify Button Users"
|
346
341
|
}, "Users"), {
|
347
342
|
hasSeparator: false,
|
348
343
|
key: 'PingOne Services',
|
349
344
|
subTitle: 'PingOne Services'
|
350
|
-
}, (0, _react2.jsx)(
|
345
|
+
}, (0, _react2.jsx)(_.NavBarItemButton, {
|
351
346
|
key: "Verify Button Group",
|
352
347
|
id: "Verify Button Group"
|
353
348
|
}, "Group")]
|
@@ -356,14 +351,14 @@ var secondData = [{
|
|
356
351
|
icon: Credentials,
|
357
352
|
key: 'Credentials',
|
358
353
|
heading: 'Credentials',
|
359
|
-
children: [(0, _react2.jsx)(
|
354
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
360
355
|
key: "Credentials Button Users",
|
361
356
|
id: "Credentials Button Users"
|
362
357
|
}, "Users"), {
|
363
358
|
hasSeparator: false,
|
364
359
|
key: 'PingOne Services',
|
365
360
|
subTitle: 'PingOne Services'
|
366
|
-
}, (0, _react2.jsx)(
|
361
|
+
}, (0, _react2.jsx)(_.NavBarItemButton, {
|
367
362
|
key: "Credentials Button Group",
|
368
363
|
id: "Credentials Button Group"
|
369
364
|
}, "Group")]
|
@@ -373,10 +368,10 @@ var thirdData = [{
|
|
373
368
|
icon: _EarthIcon["default"],
|
374
369
|
key: 'Environment',
|
375
370
|
heading: 'Environment title that is so long, it wraps',
|
376
|
-
children: [(0, _react2.jsx)(
|
371
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
377
372
|
key: "Earth Button Users",
|
378
373
|
id: "Earth Button Users"
|
379
|
-
}, "Users"), (0, _react2.jsx)(
|
374
|
+
}, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
|
380
375
|
key: "Earth Button Group",
|
381
376
|
id: "Earth Button Group"
|
382
377
|
}, "Group")]
|
@@ -384,35 +379,35 @@ var thirdData = [{
|
|
384
379
|
var Default = function Default() {
|
385
380
|
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
386
381
|
icons = _useGetTheme.icons;
|
387
|
-
return (0, _react2.jsx)(
|
382
|
+
return (0, _react2.jsx)(_.NavBar, null, (0, _react2.jsx)(_.Box, {
|
388
383
|
padding: "md",
|
389
384
|
key: "top-logo-parent"
|
390
|
-
}, (0, _react2.jsx)(
|
385
|
+
}, (0, _react2.jsx)(_.Link, {
|
391
386
|
"aria-label": "home link",
|
392
387
|
href: "https://pingidentity.com",
|
393
388
|
target: "_blank"
|
394
|
-
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(
|
389
|
+
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
|
395
390
|
m: 0,
|
396
391
|
backgroundColor: "neutral.60"
|
397
|
-
}), (0, _react2.jsx)(
|
392
|
+
}), (0, _react2.jsx)(_.Box, {
|
398
393
|
variant: "navBar.sectionContainer",
|
399
394
|
paddingBottom: "xl",
|
400
395
|
key: "first-section-container"
|
401
|
-
}, (0, _react2.jsx)(
|
396
|
+
}, (0, _react2.jsx)(_.NavBarItem, {
|
402
397
|
"data-id": "nav-bar-item",
|
403
398
|
icon: _GlobeIcon["default"],
|
404
399
|
id: "Overview",
|
405
400
|
key: "Overview",
|
406
401
|
text: "Overview"
|
407
|
-
}), (0, _react2.jsx)(
|
402
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
408
403
|
items: data,
|
409
404
|
"data-id": "nav-bar-section"
|
410
|
-
}), (0, _react2.jsx)(
|
405
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
411
406
|
items: secondData,
|
412
407
|
hasSeparator: true,
|
413
408
|
title: "PingOne Services",
|
414
409
|
"data-id": "second-nav-bar-section"
|
415
|
-
}), (0, _react2.jsx)(
|
410
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
416
411
|
items: thirdData,
|
417
412
|
hasSeparator: true,
|
418
413
|
"data-id": "third-nav-bar-section"
|
@@ -425,100 +420,270 @@ Default.parameters = {
|
|
425
420
|
url: _figmaLinks.FIGMA_LINKS.navBar["default"]
|
426
421
|
}
|
427
422
|
};
|
423
|
+
var OnyxDefault = function OnyxDefault() {
|
424
|
+
var _useGetTheme2 = (0, _hooks.useGetTheme)(),
|
425
|
+
icons = _useGetTheme2.icons;
|
426
|
+
var firstSectionData = [{
|
427
|
+
'data-id': 'dashboard-data-id',
|
428
|
+
heading: 'Monitoring',
|
429
|
+
icon: _ShowChartIcon["default"],
|
430
|
+
key: 'Monitoring',
|
431
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
432
|
+
key: "Dashboards",
|
433
|
+
id: "Dashboards"
|
434
|
+
}, "Dashboards"), (0, _react2.jsx)(_.NavBarItemButton, {
|
435
|
+
key: "Audit",
|
436
|
+
id: "Audit"
|
437
|
+
}, "Audits")]
|
438
|
+
}, {
|
439
|
+
'data-id': 'Directory-data-id',
|
440
|
+
heading: 'Directory',
|
441
|
+
icon: _AccountMultipleOutlineIcon["default"],
|
442
|
+
key: 'Directory',
|
443
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
444
|
+
key: "Users",
|
445
|
+
id: "Users"
|
446
|
+
}, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
|
447
|
+
key: "Group",
|
448
|
+
id: "Group"
|
449
|
+
}, "Groups")]
|
450
|
+
}, {
|
451
|
+
'data-id': 'Applications-data-id',
|
452
|
+
heading: 'Applications',
|
453
|
+
icon: _AppsIcon["default"],
|
454
|
+
key: 'Applications',
|
455
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
456
|
+
key: "Applications-sub",
|
457
|
+
id: "Applications-sub"
|
458
|
+
}, "Applications"), (0, _react2.jsx)(_.NavBarItemButton, {
|
459
|
+
key: "Resources",
|
460
|
+
id: "Resources"
|
461
|
+
}, "Resourcess")]
|
462
|
+
}];
|
463
|
+
var secondSectionData = [{
|
464
|
+
'data-id': 'DaVinci',
|
465
|
+
heading: 'DaVinci',
|
466
|
+
icon: _FileTreeIcon["default"],
|
467
|
+
key: 'DaVinci-new',
|
468
|
+
href: 'https://pingidentity.com/'
|
469
|
+
}, {
|
470
|
+
'data-id': 'Authentication-data-id',
|
471
|
+
heading: 'Authentication',
|
472
|
+
icon: _CheckCircleOutlineIcon["default"],
|
473
|
+
key: 'Authentication',
|
474
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
475
|
+
key: "Authentication-Policies",
|
476
|
+
id: "Authentication-Policies"
|
477
|
+
}, "Authentication Policies"), (0, _react2.jsx)(_.NavBarItemButton, {
|
478
|
+
key: "Password-Policies",
|
479
|
+
id: "Password-Policies"
|
480
|
+
}, "Password Policies")]
|
481
|
+
}, {
|
482
|
+
'data-id': 'Threat Protection-data-id',
|
483
|
+
heading: 'Threat Protection',
|
484
|
+
icon: _ShieldCheckOutlineIcon["default"],
|
485
|
+
key: 'Threat Protection',
|
486
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
487
|
+
key: "Risk Policies",
|
488
|
+
id: "Risk Policies"
|
489
|
+
}, "Risk Policies"), (0, _react2.jsx)(_.NavBarItemButton, {
|
490
|
+
key: "Predictors",
|
491
|
+
id: "Predictors"
|
492
|
+
}, "Predictors")]
|
493
|
+
}, {
|
494
|
+
'data-id': 'Threat Protection-data-id',
|
495
|
+
heading: 'Identity Verification',
|
496
|
+
icon: _LayersOutlineIcon["default"],
|
497
|
+
key: 'Identity Verification',
|
498
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
499
|
+
key: "Verify Policies",
|
500
|
+
id: "Verify Policies"
|
501
|
+
}, "Verify Policies")]
|
502
|
+
}, {
|
503
|
+
'data-id': 'Digital Credentials-data-id',
|
504
|
+
heading: 'Digital Credentials',
|
505
|
+
icon: _CodeTagsIcon["default"],
|
506
|
+
key: 'Digital Credentials',
|
507
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
508
|
+
key: "Management",
|
509
|
+
id: "Management"
|
510
|
+
}, "Management")]
|
511
|
+
}, {
|
512
|
+
'data-id': 'Authorization-data-id',
|
513
|
+
heading: 'Authorization',
|
514
|
+
icon: _AccountCheckOutlineIcon["default"],
|
515
|
+
key: 'Authorization',
|
516
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
517
|
+
key: "Trust Framework",
|
518
|
+
id: "Trust Framework"
|
519
|
+
}, "Trust Framework"), (0, _react2.jsx)(_.NavBarItemButton, {
|
520
|
+
key: "Policies",
|
521
|
+
id: "Policies"
|
522
|
+
}, "Policies")]
|
523
|
+
}];
|
524
|
+
var thirdSectionData = [{
|
525
|
+
'data-id': 'Integrations-data-id',
|
526
|
+
heading: 'Integrations',
|
527
|
+
icon: _WidgetsOutlineIcon["default"],
|
528
|
+
key: 'Integrations',
|
529
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
530
|
+
key: "External IDPs",
|
531
|
+
id: "External IDPs"
|
532
|
+
}, "External IDPs"), (0, _react2.jsx)(_.NavBarItemButton, {
|
533
|
+
key: "Provisioning",
|
534
|
+
id: "Provisioning"
|
535
|
+
}, "Provisioning")]
|
536
|
+
}, {
|
537
|
+
'data-id': 'User Experience-data-id',
|
538
|
+
heading: 'User Experience',
|
539
|
+
icon: _PaletteOutlineIcon["default"],
|
540
|
+
key: 'User Experience',
|
541
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
542
|
+
key: "Notification Templates",
|
543
|
+
id: "Notification Templates"
|
544
|
+
}, "Notification Templates"), (0, _react2.jsx)(_.NavBarItemButton, {
|
545
|
+
key: "Notification Policies",
|
546
|
+
id: "Notification Policies"
|
547
|
+
}, "Notification Policies")]
|
548
|
+
}, {
|
549
|
+
'data-id': 'Settings-data-id',
|
550
|
+
heading: 'Settings',
|
551
|
+
icon: _CogOutlineIcon["default"],
|
552
|
+
key: 'Settings',
|
553
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
554
|
+
key: "Certificates & Key Pairs",
|
555
|
+
id: "Certificates & Key Pairs"
|
556
|
+
}, "Certificates & Key Pairs"), (0, _react2.jsx)(_.NavBarItemButton, {
|
557
|
+
key: "Domains",
|
558
|
+
id: "Domains"
|
559
|
+
}, "Domains")]
|
560
|
+
}];
|
561
|
+
return (0, _react2.jsx)(_.NavBar, null, (0, _react2.jsx)(_.Box, {
|
562
|
+
py: "xs",
|
563
|
+
key: "top-logo-parent"
|
564
|
+
}, (0, _react2.jsx)(_.Link, {
|
565
|
+
"aria-label": "home link",
|
566
|
+
variant: "navBarLogoLink",
|
567
|
+
href: "https://pingidentity.com",
|
568
|
+
target: "_blank"
|
569
|
+
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Box, {
|
570
|
+
variant: "navBar.sectionContainer",
|
571
|
+
paddingBottom: "xl",
|
572
|
+
key: "first-section-container"
|
573
|
+
}, (0, _react2.jsx)(_.NavBarItem, {
|
574
|
+
"data-id": "nav-bar-item",
|
575
|
+
icon: _ViewDashboardOutlineIcon["default"],
|
576
|
+
id: "Overview",
|
577
|
+
key: "Overview",
|
578
|
+
text: "Overview"
|
579
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
580
|
+
items: firstSectionData,
|
581
|
+
"data-id": "nav-bar-section"
|
582
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
583
|
+
hasSeparator: true,
|
584
|
+
items: secondSectionData,
|
585
|
+
"data-id": "second-nav-bar-section"
|
586
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
587
|
+
items: thirdSectionData,
|
588
|
+
hasSeparator: true,
|
589
|
+
"data-id": "third-nav-bar-section"
|
590
|
+
})));
|
591
|
+
};
|
592
|
+
exports.OnyxDefault = OnyxDefault;
|
428
593
|
var Controlled = function Controlled() {
|
429
594
|
var _useState = (0, _react.useState)('Dashboard Link Group'),
|
430
595
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
431
596
|
selectedKey = _useState2[0],
|
432
597
|
setSelectedKey = _useState2[1];
|
433
|
-
var
|
434
|
-
icons =
|
598
|
+
var _useGetTheme3 = (0, _hooks.useGetTheme)(),
|
599
|
+
icons = _useGetTheme3.icons;
|
435
600
|
var customData = [{
|
436
601
|
icon: _EarthIcon["default"],
|
437
602
|
key: 'Environment',
|
438
603
|
heading: 'Nested redirect is in here',
|
439
|
-
children: [(0, _react2.jsx)(
|
604
|
+
children: [(0, _react2.jsx)(_.NavBarItemButton, {
|
440
605
|
key: "Click me for MFA Users",
|
441
606
|
id: "Click me for MFA Users",
|
442
607
|
onPress: function onPress() {
|
443
608
|
setSelectedKey('MFA Button Users');
|
444
609
|
}
|
445
|
-
}, "Click me for MFA Users"), (0, _react2.jsx)(
|
610
|
+
}, "Click me for MFA Users"), (0, _react2.jsx)(_.NavBarItemButton, {
|
446
611
|
key: "Earth Button Group",
|
447
612
|
id: "Earth Button Group"
|
448
613
|
}, "Group")]
|
449
614
|
}];
|
450
|
-
return (0, _react2.jsx)(
|
615
|
+
return (0, _react2.jsx)(_.NavBar, {
|
451
616
|
setSelectedKey: setSelectedKey,
|
452
617
|
selectedKey: selectedKey
|
453
|
-
}, (0, _react2.jsx)(
|
618
|
+
}, (0, _react2.jsx)(_.Box, {
|
454
619
|
padding: "md",
|
455
620
|
key: "top-logo-parent"
|
456
|
-
}, (0, _react2.jsx)(
|
621
|
+
}, (0, _react2.jsx)(_.Link, {
|
457
622
|
"aria-label": "home link",
|
458
623
|
href: "https://pingidentity.com",
|
459
624
|
target: "_blank"
|
460
|
-
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(
|
625
|
+
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
|
461
626
|
m: "0",
|
462
627
|
backgroundColor: "neutral.60",
|
463
628
|
key: "top-separator"
|
464
|
-
}), (0, _react2.jsx)(
|
629
|
+
}), (0, _react2.jsx)(_.Box, {
|
465
630
|
variant: "navBar.sectionContainer",
|
466
631
|
paddingBottom: "xl",
|
467
632
|
key: "first-section-container"
|
468
|
-
}, (0, _react2.jsx)(
|
633
|
+
}, (0, _react2.jsx)(_.NavBarItem, {
|
469
634
|
"data-id": "nav-bar-item",
|
470
635
|
icon: _GlobeIcon["default"],
|
471
636
|
id: "Overview",
|
472
637
|
key: "Overview",
|
473
638
|
text: "Overview"
|
474
|
-
}), (0, _react2.jsx)(
|
639
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
475
640
|
items: data,
|
476
641
|
"data-id": "first-nav-bar-section"
|
477
|
-
}), (0, _react2.jsx)(
|
642
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
478
643
|
items: secondData,
|
479
644
|
hasSeparator: true,
|
480
645
|
title: "PingOne Services",
|
481
646
|
"data-id": "second-nav-bar-section"
|
482
|
-
}), (0, _react2.jsx)(
|
647
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
483
648
|
items: customData,
|
484
649
|
"data-id": "third-nav-bar-section"
|
485
650
|
})));
|
486
651
|
};
|
487
652
|
exports.Controlled = Controlled;
|
488
653
|
var AutoCollapse = function AutoCollapse() {
|
489
|
-
var
|
490
|
-
icons =
|
491
|
-
return (0, _react2.jsx)(
|
654
|
+
var _useGetTheme4 = (0, _hooks.useGetTheme)(),
|
655
|
+
icons = _useGetTheme4.icons;
|
656
|
+
return (0, _react2.jsx)(_.NavBar, {
|
492
657
|
isAutoСollapsible: true
|
493
|
-
}, (0, _react2.jsx)(
|
658
|
+
}, (0, _react2.jsx)(_.Box, {
|
494
659
|
padding: "md",
|
495
660
|
key: "top-logo-parent"
|
496
|
-
}, (0, _react2.jsx)(
|
661
|
+
}, (0, _react2.jsx)(_.Link, {
|
497
662
|
"aria-label": "home link",
|
498
663
|
href: "https://pingidentity.com",
|
499
664
|
target: "_blank"
|
500
|
-
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(
|
665
|
+
}, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
|
501
666
|
m: 0,
|
502
667
|
backgroundColor: "neutral.60"
|
503
|
-
}), (0, _react2.jsx)(
|
668
|
+
}), (0, _react2.jsx)(_.Box, {
|
504
669
|
variant: "navBar.sectionContainer",
|
505
670
|
paddingBottom: "xl",
|
506
671
|
key: "first-section-container"
|
507
|
-
}, (0, _react2.jsx)(
|
672
|
+
}, (0, _react2.jsx)(_.NavBarItem, {
|
508
673
|
"data-id": "nav-bar-item",
|
509
674
|
icon: _GlobeIcon["default"],
|
510
675
|
id: "Overview",
|
511
676
|
key: "Overview",
|
512
677
|
text: "Overview"
|
513
|
-
}), (0, _react2.jsx)(
|
678
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
514
679
|
items: data,
|
515
680
|
"data-id": "nav-bar-section"
|
516
|
-
}), (0, _react2.jsx)(
|
681
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
517
682
|
items: secondData,
|
518
683
|
hasSeparator: true,
|
519
684
|
title: "PingOne Services",
|
520
685
|
"data-id": "second-nav-bar-section"
|
521
|
-
}), (0, _react2.jsx)(
|
686
|
+
}), (0, _react2.jsx)(_.NavBarSection, {
|
522
687
|
items: thirdData,
|
523
688
|
hasSeparator: true,
|
524
689
|
"data-id": "third-nav-bar-section"
|