@pingux/astro 1.2.0-alpha.8 → 1.3.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.
Files changed (137) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.js +35 -22
  3. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +148 -169
  4. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +25 -30
  5. package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +29 -14
  6. package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +8 -5
  7. package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +20 -17
  8. package/lib/cjs/components/AccordionGroup/AccordionGroup.js +2 -1
  9. package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +20 -1
  10. package/lib/cjs/components/ArrayField/ArrayField.js +213 -0
  11. package/lib/cjs/components/ArrayField/ArrayField.stories.js +223 -0
  12. package/lib/cjs/components/ArrayField/ArrayField.test.js +208 -0
  13. package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.js +61 -0
  14. package/lib/cjs/components/ArrayField/index.js +27 -0
  15. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +3 -3
  16. package/lib/cjs/components/Button/Button.js +14 -2
  17. package/lib/cjs/components/Button/Button.stories.js +33 -33
  18. package/lib/cjs/components/CodeView/CodeView.js +3 -3
  19. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +5 -3
  20. package/lib/cjs/components/Link/Link.js +2 -1
  21. package/lib/cjs/components/ListView/ListView.js +9 -13
  22. package/lib/cjs/components/ListView/ListView.stories.js +3 -0
  23. package/lib/cjs/components/ListViewItem/ListViewItem.js +15 -3
  24. package/lib/cjs/components/Loader/Loader.stories.js +3 -3
  25. package/lib/cjs/components/Modal/Modal.js +3 -0
  26. package/lib/cjs/components/Modal/Modal.stories.js +12 -67
  27. package/lib/cjs/components/NavBar/NavBar.js +30 -4
  28. package/lib/cjs/components/NavBar/NavBar.stories.js +70 -463
  29. package/lib/cjs/components/NavBar/NavBar.test.js +51 -1
  30. package/lib/cjs/components/NavBarSection/NavBarItem.js +137 -0
  31. package/lib/cjs/components/NavBarSection/NavBarItemButton.js +96 -0
  32. package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +1 -1
  33. package/lib/cjs/components/NavBarSection/NavBarItemLink.js +98 -0
  34. package/lib/cjs/components/NavBarSection/NavBarSection.js +10 -8
  35. package/lib/cjs/components/NavBarSection/index.js +28 -1
  36. package/lib/cjs/components/OverlayPanel/OverlayPanel.js +2 -16
  37. package/lib/cjs/components/OverlayPanel/OverlayPanel.test.js +44 -0
  38. package/lib/cjs/components/RockerButton/RockerButton.js +14 -22
  39. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.js +5 -9
  40. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.js +4 -22
  41. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.test.js +5 -14
  42. package/lib/cjs/components/SearchField/SearchField.stories.js +1 -15
  43. package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +8 -1
  44. package/lib/cjs/components/TextAreaField/TextAreaField.js +54 -9
  45. package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +31 -52
  46. package/lib/cjs/components/TextAreaField/TextAreaField.test.js +12 -0
  47. package/lib/cjs/context/AccordionGridContext/index.js +20 -0
  48. package/lib/cjs/context/NavBarContext/index.js +20 -0
  49. package/lib/cjs/hooks/index.js +9 -0
  50. package/lib/cjs/hooks/useAriaLabelWarning/useAriaLabelWarning.js +2 -1
  51. package/lib/cjs/hooks/useField/useField.js +5 -0
  52. package/lib/cjs/{components/AccordionGridGroup/AccordionGridContext.js → hooks/useNavBarPress/index.js} +7 -6
  53. package/lib/cjs/hooks/useNavBarPress/useNavBarPress.js +38 -0
  54. package/lib/cjs/hooks/useNavBarPress/useNavBarPress.test.js +42 -0
  55. package/lib/cjs/hooks/useRockerButton/useRockerButton.js +4 -6
  56. package/lib/cjs/index.js +80 -58
  57. package/lib/cjs/layouts/ListLayout.stories.js +6 -6
  58. package/lib/cjs/recipes/ConditionalFilter.stories.js +7 -3
  59. package/lib/cjs/recipes/RadioButtonsWithLinks.stories.js +1 -1
  60. package/lib/cjs/styles/variants/accordion.js +39 -7
  61. package/lib/cjs/styles/variants/boxes.js +10 -24
  62. package/lib/cjs/styles/variants/buttons.js +27 -1
  63. package/lib/cjs/styles/variants/codeView.js +91 -0
  64. package/lib/cjs/styles/variants/navBar.js +68 -0
  65. package/lib/cjs/styles/variants/separator.js +2 -1
  66. package/lib/cjs/styles/variants/text.js +3 -1
  67. package/lib/cjs/styles/variants/variants.js +3 -0
  68. package/lib/components/AccordionGridGroup/AccordionGridGroup.js +35 -22
  69. package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +143 -166
  70. package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +24 -25
  71. package/lib/components/AccordionGridItem/AccordionGridItem.js +29 -15
  72. package/lib/components/AccordionGridItem/AccordionGridItemBody.js +8 -6
  73. package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +22 -18
  74. package/lib/components/AccordionGroup/AccordionGroup.js +2 -1
  75. package/lib/components/AccordionGroup/AccordionGroup.test.js +16 -2
  76. package/lib/components/ArrayField/ArrayField.js +179 -0
  77. package/lib/components/ArrayField/ArrayField.stories.js +196 -0
  78. package/lib/components/ArrayField/ArrayField.test.js +185 -0
  79. package/lib/components/ArrayField/ArrayFieldDeleteButton.js +43 -0
  80. package/lib/components/ArrayField/index.js +2 -0
  81. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +3 -3
  82. package/lib/components/Button/Button.js +15 -3
  83. package/lib/components/Button/Button.stories.js +17 -15
  84. package/lib/components/CodeView/CodeView.js +2 -2
  85. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +5 -3
  86. package/lib/components/Link/Link.js +2 -1
  87. package/lib/components/ListView/ListView.js +9 -12
  88. package/lib/components/ListView/ListView.stories.js +3 -0
  89. package/lib/components/ListViewItem/ListViewItem.js +14 -3
  90. package/lib/components/Loader/Loader.stories.js +1 -1
  91. package/lib/components/Modal/Modal.js +4 -1
  92. package/lib/components/Modal/Modal.stories.js +11 -60
  93. package/lib/components/NavBar/NavBar.js +25 -4
  94. package/lib/components/NavBar/NavBar.stories.js +71 -462
  95. package/lib/components/NavBar/NavBar.test.js +39 -2
  96. package/lib/components/NavBarSection/NavBarItem.js +111 -0
  97. package/lib/components/NavBarSection/NavBarItemButton.js +69 -0
  98. package/lib/components/NavBarSection/NavBarItemHeader.js +1 -1
  99. package/lib/components/NavBarSection/NavBarItemLink.js +71 -0
  100. package/lib/components/NavBarSection/NavBarSection.js +9 -8
  101. package/lib/components/NavBarSection/index.js +4 -1
  102. package/lib/components/OverlayPanel/OverlayPanel.js +3 -16
  103. package/lib/components/OverlayPanel/OverlayPanel.test.js +38 -0
  104. package/lib/components/RockerButton/RockerButton.js +14 -21
  105. package/lib/components/RockerButtonGroup/RockerButtonGroup.js +5 -9
  106. package/lib/components/RockerButtonGroup/RockerButtonGroup.stories.js +2 -17
  107. package/lib/components/RockerButtonGroup/RockerButtonGroup.test.js +5 -11
  108. package/lib/components/SearchField/SearchField.stories.js +0 -11
  109. package/lib/components/SelectFieldBase/SelectFieldBase.js +8 -1
  110. package/lib/components/TextAreaField/TextAreaField.js +54 -10
  111. package/lib/components/TextAreaField/TextAreaField.stories.js +26 -42
  112. package/lib/components/TextAreaField/TextAreaField.test.js +13 -0
  113. package/lib/context/AccordionGridContext/index.js +5 -0
  114. package/lib/context/NavBarContext/index.js +5 -0
  115. package/lib/hooks/index.js +1 -0
  116. package/lib/hooks/useAriaLabelWarning/useAriaLabelWarning.js +2 -1
  117. package/lib/hooks/useField/useField.js +5 -0
  118. package/lib/hooks/useNavBarPress/index.js +1 -0
  119. package/lib/hooks/useNavBarPress/useNavBarPress.js +27 -0
  120. package/lib/hooks/useNavBarPress/useNavBarPress.test.js +36 -0
  121. package/lib/hooks/useRockerButton/useRockerButton.js +4 -6
  122. package/lib/index.js +2 -0
  123. package/lib/layouts/ListLayout.stories.js +6 -6
  124. package/lib/recipes/ConditionalFilter.stories.js +7 -3
  125. package/lib/recipes/RadioButtonsWithLinks.stories.js +1 -1
  126. package/lib/styles/variants/accordion.js +26 -5
  127. package/lib/styles/variants/boxes.js +10 -24
  128. package/lib/styles/variants/buttons.js +27 -1
  129. package/lib/styles/variants/codeView.js +91 -0
  130. package/lib/styles/variants/navBar.js +46 -0
  131. package/lib/styles/variants/separator.js +2 -1
  132. package/lib/styles/variants/text.js +3 -1
  133. package/lib/styles/variants/variants.js +2 -0
  134. package/package.json +5 -3
  135. package/lib/cjs/recipes/ArrayField.stories.js +0 -169
  136. package/lib/components/AccordionGridGroup/AccordionGridContext.js +0 -2
  137. package/lib/recipes/ArrayField.stories.js +0 -134
@@ -30,10 +30,6 @@ var _ScaleBalanceIcon = _interopRequireDefault(require("mdi-react/ScaleBalanceIc
30
30
 
31
31
  var _EarthIcon = _interopRequireDefault(require("mdi-react/EarthIcon"));
32
32
 
33
- var _NavBarSection = _interopRequireDefault(require("../NavBarSection"));
34
-
35
- var _NavBar = _interopRequireDefault(require("./NavBar"));
36
-
37
33
  var _index = require("../../index");
38
34
 
39
35
  var _react2 = require("@emotion/react");
@@ -42,7 +38,9 @@ var _default = {
42
38
  title: 'NavBar',
43
39
  component: 'NavBar',
44
40
  subcomponents: {
45
- NavBarSection: _NavBarSection["default"]
41
+ NavBarSection: _index.NavBarSection,
42
+ NavBarItemLink: _index.NavBarItemLink,
43
+ NavBarItemButton: _index.NavBarItemButton
46
44
  }
47
45
  };
48
46
  exports["default"] = _default;
@@ -130,108 +128,56 @@ var logo = (0, _react2.jsx)("svg", {
130
128
  fill: "white"
131
129
  }));
132
130
  var data = [{
133
- icon: _GlobeIcon["default"],
134
- key: 'Overview',
135
- heading: 'Overview',
136
- children: [(0, _react2.jsx)(_index.Link, {
137
- key: "Overview Link Users",
138
- variant: "buttons.navItemButton",
139
- sx: {
140
- paddingLeft: '45px',
141
- paddingRight: '45px'
142
- },
143
- href: "https://pingidentity.com/"
144
- }, "Users"), (0, _react2.jsx)(_index.Link, {
145
- key: "Overview Link Roles",
146
- variant: "buttons.navItemButton",
147
- sx: {
148
- paddingLeft: '45px',
149
- paddingRight: '45px'
150
- },
151
- href: "https://pingidentity.com/"
152
- }, "A roles title that is really really really really long")]
153
- }, {
154
131
  icon: _ViewDashboardIcon["default"],
155
132
  key: 'Dashboard',
156
133
  heading: 'Dashboard',
157
- children: [(0, _react2.jsx)(_index.Link, {
134
+ children: [(0, _react2.jsx)(_index.NavBarItemLink, {
158
135
  key: "Dashboard Link Group",
136
+ id: "Dashboard Link Group",
159
137
  variant: "buttons.navItemButton",
160
- sx: {
161
- paddingLeft: '45px',
162
- paddingRight: '45px'
163
- },
164
138
  href: "https://pingidentity.com/"
165
- }, "Group"), (0, _react2.jsx)(_index.Link, {
139
+ }, "Group"), (0, _react2.jsx)(_index.NavBarItemLink, {
166
140
  key: "Dashboard Link Populations",
167
- variant: "buttons.navItemButton",
168
- sx: {
169
- paddingLeft: '45px',
170
- paddingRight: '45px'
171
- },
141
+ id: "Dashboard Link Populations",
172
142
  href: "https://pingidentity.com/"
173
143
  }, "Populations")]
174
144
  }, {
175
145
  icon: _AccountMultipleIcon["default"],
176
146
  key: 'Identities',
177
147
  heading: 'Identities',
178
- children: [(0, _react2.jsx)(_index.Link, {
148
+ children: [(0, _react2.jsx)(_index.NavBarItemLink, {
179
149
  key: "Identities Link Users",
180
- variant: "buttons.navItemButton",
181
- sx: {
182
- paddingLeft: '45px',
183
- paddingRight: '45px'
184
- },
150
+ id: "Identities Link Users",
185
151
  href: "https://pingidentity.com/"
186
- }, "Users"), (0, _react2.jsx)(_index.Link, {
152
+ }, "Users"), (0, _react2.jsx)(_index.NavBarItemLink, {
187
153
  key: "Identities Link Group",
188
- variant: "buttons.navItemButton",
189
- sx: {
190
- paddingLeft: '45px',
191
- paddingRight: '45px'
192
- },
154
+ id: "Identities Link Group",
193
155
  href: "https://pingidentity.com/"
194
156
  }, "Group")]
195
157
  }, {
196
158
  icon: _TransitConnectionVariantIcon["default"],
197
159
  key: 'Connections',
198
160
  heading: 'Connections',
199
- children: [(0, _react2.jsx)(_index.Link, {
161
+ children: [(0, _react2.jsx)(_index.NavBarItemLink, {
200
162
  key: "Connection Link Users",
201
- variant: "buttons.navItemButton",
202
- sx: {
203
- paddingLeft: '45px',
204
- paddingRight: '45px'
205
- },
163
+ id: "Connection Link Users",
206
164
  href: "https://pingidentity.com/"
207
- }, "Users"), (0, _react2.jsx)(_index.Link, {
165
+ }, "Users"), (0, _react2.jsx)(_index.NavBarItemLink, {
208
166
  key: "Connections Link Group",
209
- variant: "buttons.navItemButton",
210
- sx: {
211
- paddingLeft: '45px',
212
- paddingRight: '45px'
213
- },
167
+ id: "Connections Link Group",
214
168
  href: "https://pingidentity.com/"
215
169
  }, "Group")]
216
170
  }, {
217
171
  icon: _EmoticonHappyOutlineIcon["default"],
218
172
  key: 'Experiences',
219
173
  heading: 'Experiences',
220
- children: [(0, _react2.jsx)(_index.Link, {
174
+ children: [(0, _react2.jsx)(_index.NavBarItemLink, {
221
175
  key: "Experiences Link Attributes",
222
- variant: "buttons.navItemButton",
223
- sx: {
224
- paddingLeft: '45px',
225
- paddingRight: '45px'
226
- },
176
+ id: "Experiences Link Attributes",
227
177
  href: "https://pingidentity.com/"
228
- }, "Attributes"), (0, _react2.jsx)(_index.Link, {
178
+ }, "Attributes"), (0, _react2.jsx)(_index.NavBarItemLink, {
229
179
  key: "Experiences Link Roles",
230
- variant: "buttons.navItemButton",
231
- sx: {
232
- paddingLeft: '45px',
233
- paddingRight: '45px'
234
- },
180
+ id: "Experiences Link Roles",
235
181
  href: "https://pingidentity.com/"
236
182
  }, "Roles")]
237
183
  }];
@@ -239,441 +185,102 @@ var secondData = [{
239
185
  icon: _FingerprintIcon["default"],
240
186
  key: 'MFA',
241
187
  heading: 'MFA',
242
- children: [(0, _react2.jsx)(_index.Button, {
243
- key: "MFA Button Users",
244
- variant: "navItemButton",
245
- sx: {
246
- paddingLeft: '45px',
247
- paddingRight: '45px'
248
- }
188
+ children: [(0, _react2.jsx)(_index.NavBarItemButton, {
189
+ id: "MFA Button Users",
190
+ key: "MFA Button Users"
249
191
  }, "Users"), {
250
192
  isSubTitle: true,
251
193
  subTitle: 'PingOne Services'
252
- }, (0, _react2.jsx)(_index.Button, {
194
+ }, (0, _react2.jsx)(_index.NavBarItemButton, {
253
195
  key: "MFA Button Group",
254
- variant: "navItemButton",
255
- sx: {
256
- paddingLeft: '45px',
257
- paddingRight: '45px'
258
- }
259
- }, "Group")]
196
+ id: "MFA Button Group"
197
+ }, "Group Test")]
260
198
  }, {
261
199
  icon: _ScaleBalanceIcon["default"],
262
200
  key: 'Risk',
263
201
  heading: 'Risk',
264
- children: [(0, _react2.jsx)(_index.Button, {
202
+ children: [(0, _react2.jsx)(_index.NavBarItemButton, {
265
203
  key: "Risk Button Users",
266
- variant: "navItemButton",
267
- sx: {
268
- paddingLeft: '45px',
269
- paddingRight: '45px'
270
- }
204
+ id: "Risk Button Users"
271
205
  }, "Users"), {
272
206
  isSubTitle: true,
273
207
  subTitle: 'PingOne Services'
274
- }, (0, _react2.jsx)(_index.Button, {
208
+ }, (0, _react2.jsx)(_index.NavBarItemButton, {
275
209
  key: "Risk Button Group",
276
- variant: "navItemButton",
277
- sx: {
278
- paddingLeft: '45px',
279
- paddingRight: '45px'
280
- }
210
+ id: "Risk Button Group"
281
211
  }, "Group")]
282
212
  }, {
283
213
  icon: Verify,
284
214
  key: 'Verify',
285
215
  heading: 'Verify',
286
- children: [(0, _react2.jsx)(_index.Button, {
216
+ children: [(0, _react2.jsx)(_index.NavBarItemButton, {
287
217
  key: "Verify Button Users",
288
- variant: "navItemButton",
289
- sx: {
290
- paddingLeft: '45px',
291
- paddingRight: '45px'
292
- }
218
+ id: "Verify Button Users"
293
219
  }, "Users"), {
294
220
  isSubTitle: true,
295
221
  subTitle: 'PingOne Services'
296
- }, (0, _react2.jsx)(_index.Button, {
222
+ }, (0, _react2.jsx)(_index.NavBarItemButton, {
297
223
  key: "Verify Button Group",
298
- variant: "navItemButton",
299
- sx: {
300
- paddingLeft: '45px',
301
- paddingRight: '45px'
302
- }
224
+ id: "Verify Button Group"
303
225
  }, "Group")]
304
226
  }, {
305
227
  icon: Credentials,
306
228
  key: 'Credentials',
307
229
  heading: 'Credentials',
308
- children: [(0, _react2.jsx)(_index.Button, {
230
+ children: [(0, _react2.jsx)(_index.NavBarItemButton, {
309
231
  key: "Credentials Button Users",
310
- variant: "navItemButton",
311
- sx: {
312
- paddingLeft: '45px',
313
- paddingRight: '45px'
314
- }
232
+ id: "Credentials Button Users"
315
233
  }, "Users"), {
316
234
  isSubTitle: true,
317
235
  subTitle: 'PingOne Services'
318
- }, (0, _react2.jsx)(_index.Button, {
236
+ }, (0, _react2.jsx)(_index.NavBarItemButton, {
319
237
  key: "Credentials Button Group",
320
- variant: "navItemButton",
321
- sx: {
322
- paddingLeft: '45px',
323
- paddingRight: '45px'
324
- }
238
+ id: "Credentials Button Group"
325
239
  }, "Group")]
326
240
  }];
327
241
  var thirdData = [{
328
242
  icon: _EarthIcon["default"],
329
243
  key: 'Environment',
330
244
  heading: 'Environment title that is so long, it wraps',
331
- children: [(0, _react2.jsx)(_index.Button, {
245
+ children: [(0, _react2.jsx)(_index.NavBarItemButton, {
332
246
  key: "Earth Button Users",
333
- variant: "navItemButton",
334
- sx: {
335
- paddingLeft: '45px',
336
- paddingRight: '45px'
337
- }
338
- }, "Users"), (0, _react2.jsx)(_index.Button, {
247
+ id: "Earth Button Users"
248
+ }, "Users"), (0, _react2.jsx)(_index.NavBarItemButton, {
339
249
  key: "Earth Button Group",
340
- variant: "navItemButton",
341
- sx: {
342
- paddingLeft: '45px',
343
- paddingRight: '45px'
344
- }
250
+ id: "Earth Button Group"
345
251
  }, "Group")]
346
252
  }];
347
253
 
348
254
  var Default = function Default() {
349
- return (// const data = [
350
- // {
351
- // icon: GlobeIcon,
352
- // key: 'Overview',
353
- // heading: 'Overview',
354
- // children: [
355
- // <Link
356
- // key="Overview Link Users"
357
- // variant="buttons.navItemButton"
358
- // sx={{
359
- // paddingLeft: '45px',
360
- // paddingRight: '45px',
361
- // }}
362
- // href="https://pingidentity.com/"
363
- // >
364
- // Users
365
- // </Link>,
366
- // <Link
367
- // key="Overview Link Roles"
368
- // variant="buttons.navItemButton"
369
- // sx={{
370
- // paddingLeft: '45px',
371
- // paddingRight: '45px',
372
- // }}
373
- // href="https://pingidentity.com/"
374
- // >
375
- // A roles title that is really really really really long
376
- // </Link>,
377
- // ],
378
- // },
379
- // {
380
- // icon: ViewDashboard,
381
- // key: 'Dashboard',
382
- // heading: 'Dashboard',
383
- // children: [
384
- // <Link
385
- // key="Dashboard Link Group"
386
- // variant="buttons.navItemButton"
387
- // sx={{
388
- // paddingLeft: '45px',
389
- // paddingRight: '45px',
390
- // }}
391
- // href="https://pingidentity.com/"
392
- // >
393
- // Group
394
- // </Link>,
395
- // <Link
396
- // key="Dashboard Link Populations"
397
- // variant="buttons.navItemButton"
398
- // sx={{
399
- // paddingLeft: '45px',
400
- // paddingRight: '45px',
401
- // }}
402
- // href="https://pingidentity.com/"
403
- // >
404
- // Populations
405
- // </Link>,
406
- // ],
407
- // },
408
- // {
409
- // icon: AccountMultiple,
410
- // key: 'Identities',
411
- // heading: 'Identities',
412
- // children: [
413
- // <Link
414
- // key="Identities Link Users"
415
- // variant="buttons.navItemButton"
416
- // sx={{
417
- // paddingLeft: '45px',
418
- // paddingRight: '45px',
419
- // }}
420
- // href="https://pingidentity.com/"
421
- // >
422
- // Users
423
- // </Link>,
424
- // <Link
425
- // key="Identities Link Group"
426
- // variant="buttons.navItemButton"
427
- // sx={{
428
- // paddingLeft: '45px',
429
- // paddingRight: '45px',
430
- // }}
431
- // href="https://pingidentity.com/"
432
- // >
433
- // Group
434
- // </Link>,
435
- // ],
436
- // },
437
- // {
438
- // icon: TransitConnection,
439
- // key: 'Connections',
440
- // heading: 'Connections',
441
- // children: [
442
- // <Link
443
- // key="Connection Link Users"
444
- // variant="buttons.navItemButton"
445
- // sx={{
446
- // paddingLeft: '45px',
447
- // paddingRight: '45px',
448
- // }}
449
- // href="https://pingidentity.com/"
450
- // >
451
- // Users
452
- // </Link>,
453
- // <Link
454
- // key="Connections Link Group"
455
- // variant="buttons.navItemButton"
456
- // sx={{
457
- // paddingLeft: '45px',
458
- // paddingRight: '45px',
459
- // }}
460
- // href="https://pingidentity.com/"
461
- // >
462
- // Group
463
- // </Link>,
464
- // ],
465
- // },
466
- // {
467
- // icon: EmoticonHappy,
468
- // key: 'Experiences',
469
- // heading: 'Experiences',
470
- // children: [
471
- // <Link
472
- // key="Experiences Link Attributes"
473
- // variant="buttons.navItemButton"
474
- // sx={{
475
- // paddingLeft: '45px',
476
- // paddingRight: '45px',
477
- // }}
478
- // href="https://pingidentity.com/"
479
- // >
480
- // Attributes
481
- // </Link>,
482
- // <Link
483
- // key="Experiences Link Roles"
484
- // variant="buttons.navItemButton"
485
- // sx={{
486
- // paddingLeft: '45px',
487
- // paddingRight: '45px',
488
- // }}
489
- // href="https://pingidentity.com/"
490
- // >
491
- // Roles
492
- // </Link>,
493
- // ],
494
- // },
495
- // ];
496
- // const secondData = [
497
- // {
498
- // icon: Fingerprint,
499
- // key: 'MFA',
500
- // heading: 'MFA',
501
- // children: [
502
- // <Button
503
- // key="MFA Button Users"
504
- // variant="navItemButton"
505
- // sx={{
506
- // paddingLeft: '45px',
507
- // paddingRight: '45px',
508
- // }}
509
- // >
510
- // Users
511
- // </Button>,
512
- // {
513
- // isSubTitle: true,
514
- // subTitle: 'PingOne Services',
515
- // },
516
- // <Button
517
- // key="MFA Button Group"
518
- // variant="navItemButton"
519
- // sx={{
520
- // paddingLeft: '45px',
521
- // paddingRight: '45px',
522
- // }}
523
- // >
524
- // Group
525
- // </Button>,
526
- // ],
527
- // },
528
- // {
529
- // icon: ScaleBalance,
530
- // key: 'Risk',
531
- // heading: 'Risk',
532
- // children: [
533
- // <Button
534
- // key="Risk Button Users"
535
- // variant="navItemButton"
536
- // sx={{
537
- // paddingLeft: '45px',
538
- // paddingRight: '45px',
539
- // }}
540
- // >
541
- // Users
542
- // </Button>,
543
- // {
544
- // isSubTitle: true,
545
- // subTitle: 'PingOne Services',
546
- // },
547
- // <Button
548
- // key="Risk Button Group"
549
- // variant="navItemButton"
550
- // sx={{
551
- // paddingLeft: '45px',
552
- // paddingRight: '45px',
553
- // }}
554
- // >
555
- // Group
556
- // </Button>,
557
- // ],
558
- // },
559
- // {
560
- // icon: Verify,
561
- // key: 'Verify',
562
- // heading: 'Verify',
563
- // children: [
564
- // <Button
565
- // key="Verify Button Users"
566
- // variant="navItemButton"
567
- // sx={{
568
- // paddingLeft: '45px',
569
- // paddingRight: '45px',
570
- // }}
571
- // >
572
- // Users
573
- // </Button>,
574
- // {
575
- // isSubTitle: true,
576
- // subTitle: 'PingOne Services',
577
- // },
578
- // <Button
579
- // key="Verify Button Group"
580
- // variant="navItemButton"
581
- // sx={{
582
- // paddingLeft: '45px',
583
- // paddingRight: '45px',
584
- // }}
585
- // >
586
- // Group
587
- // </Button>,
588
- // ],
589
- // },
590
- // {
591
- // icon: Verify,
592
- // key: 'Credentials',
593
- // heading: 'Credentials',
594
- // children: [
595
- // <Button
596
- // key="Credentials Button Users"
597
- // variant="navItemButton"
598
- // sx={{
599
- // paddingLeft: '45px',
600
- // paddingRight: '45px',
601
- // }}
602
- // >
603
- // Users
604
- // </Button>,
605
- // {
606
- // isSubTitle: true,
607
- // subTitle: 'PingOne Services',
608
- // },
609
- // <Button
610
- // key="Credentials Button Group"
611
- // variant="navItemButton"
612
- // sx={{
613
- // paddingLeft: '45px',
614
- // paddingRight: '45px',
615
- // }}
616
- // >
617
- // Group
618
- // </Button>,
619
- // ],
620
- // },
621
- // ];
622
- // const thirdData = [
623
- // {
624
- // icon: Earth,
625
- // key: 'Environment',
626
- // heading: 'Environment title that is so long, it wraps',
627
- // children: [
628
- // <Button
629
- // key="Earth Button Users"
630
- // variant="navItemButton"
631
- // sx={{
632
- // paddingLeft: '45px',
633
- // paddingRight: '45px',
634
- // }}
635
- // >
636
- // Users
637
- // </Button>,
638
- // <Button
639
- // key="Earth Button Group"
640
- // variant="navItemButton"
641
- // sx={{
642
- // paddingLeft: '45px',
643
- // paddingRight: '45px',
644
- // }}
645
- // >
646
- // Group
647
- // </Button>,
648
- // ],
649
- // },
650
- // ];
651
- (0, _react2.jsx)(_NavBar["default"], null, (0, _react2.jsx)(_index.Box, {
652
- sx: {
653
- padding: '15px'
654
- }
655
- }, (0, _react2.jsx)(_index.Link, {
656
- href: "https://pingidentity.com",
657
- target: "_blank",
658
- "aria-label": "home link"
659
- }, logo)), (0, _react2.jsx)(_index.Separator, {
660
- sx: {
661
- mt: '10px',
662
- mb: '10px'
663
- }
664
- }), (0, _react2.jsx)(_index.Box, {
665
- variant: "boxes.navBarSectionContainer"
666
- }, (0, _react2.jsx)(_NavBarSection["default"], {
667
- items: data,
668
- hasSeparator: true
669
- }), (0, _react2.jsx)(_NavBarSection["default"], {
670
- items: secondData,
671
- hasSeparator: true,
672
- title: "PingOne Services"
673
- }), (0, _react2.jsx)(_NavBarSection["default"], {
674
- items: thirdData
675
- })))
676
- );
255
+ return (0, _react2.jsx)(_index.NavBar, {
256
+ defaultSelectedKeys: ['Dashboard Link Group']
257
+ }, (0, _react2.jsx)(_index.Box, {
258
+ padding: "md"
259
+ }, (0, _react2.jsx)(_index.Link, {
260
+ href: "https://pingidentity.com",
261
+ target: "_blank",
262
+ "aria-label": "home link"
263
+ }, logo)), (0, _react2.jsx)(_index.Separator, {
264
+ marginTop: "lg",
265
+ marginBottom: "sm"
266
+ }), (0, _react2.jsx)(_index.Box, {
267
+ variant: "navBar.sectionContainer",
268
+ paddingBottom: "xl"
269
+ }, (0, _react2.jsx)(_index.NavBarItem, {
270
+ id: "Overview",
271
+ key: "Overview",
272
+ text: "Overview",
273
+ icon: _GlobeIcon["default"]
274
+ }), (0, _react2.jsx)(_index.NavBarSection, {
275
+ items: data,
276
+ hasSeparator: true
277
+ }), (0, _react2.jsx)(_index.NavBarSection, {
278
+ items: secondData,
279
+ hasSeparator: true,
280
+ title: "PingOne Services"
281
+ }), (0, _react2.jsx)(_index.NavBarSection, {
282
+ items: thirdData
283
+ })));
677
284
  };
678
285
 
679
286
  exports.Default = Default;