@pingux/astro 2.122.1-alpha.1 → 2.123.0-alpha.1

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 (56) hide show
  1. package/lib/cjs/components/DatePicker/DateField.js +2 -0
  2. package/lib/cjs/components/DatePicker/DatePicker.js +5 -1
  3. package/lib/cjs/components/FileInputField/FileInputField.js +3 -1
  4. package/lib/cjs/components/LinkSelectField/LinkSelectField.js +2 -0
  5. package/lib/cjs/components/MultivaluesField/MultivaluesField.test.js +0 -17
  6. package/lib/cjs/components/NavBar/NavBar.stories.js +235 -178
  7. package/lib/cjs/components/NavBar/NavBar.styles.js +5 -4
  8. package/lib/cjs/components/NavBarSection/NavBarItem.js +4 -3
  9. package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -2
  10. package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +3 -3
  11. package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.js +1 -1
  12. package/lib/cjs/components/NavBarSection/NavBarItemLink.js +4 -1
  13. package/lib/cjs/components/NumberField/NumberField.js +2 -0
  14. package/lib/cjs/components/RadioGroupField/RadioGroupField.js +4 -1
  15. package/lib/cjs/components/SliderField/SliderLabelContainer.js +4 -2
  16. package/lib/cjs/components/TextField/TextField.js +1 -3
  17. package/lib/cjs/hooks/useField/useField.d.ts +5 -3
  18. package/lib/cjs/hooks/useField/useField.js +3 -1
  19. package/lib/cjs/hooks/useSliderField/useSliderField.d.ts +4 -1
  20. package/lib/cjs/hooks/useSliderField/useSliderField.js +7 -2
  21. package/lib/cjs/styles/themes/astro/customProperties/styles.js +1 -1
  22. package/lib/cjs/types/TextAreaField.d.ts +3 -0
  23. package/lib/cjs/types/checkboxField.d.ts +3 -0
  24. package/lib/cjs/types/colorField.d.ts +5 -1
  25. package/lib/cjs/types/navBar.d.ts +2 -1
  26. package/lib/cjs/types/passwordField.d.ts +3 -1
  27. package/lib/cjs/types/radioField.d.ts +3 -0
  28. package/lib/cjs/types/radioGroupField.d.ts +2 -0
  29. package/lib/cjs/types/searchField.d.ts +5 -1
  30. package/lib/cjs/types/selectField.d.ts +2 -0
  31. package/lib/cjs/types/sliderField.d.ts +4 -0
  32. package/lib/cjs/types/switchField.d.ts +2 -0
  33. package/lib/cjs/utils/devUtils/constants/logos.js +2 -2
  34. package/lib/cjs/utils/testUtils/universalFormSubmitTest.js +148 -93
  35. package/lib/components/DatePicker/DateField.js +2 -0
  36. package/lib/components/DatePicker/DatePicker.js +5 -1
  37. package/lib/components/FileInputField/FileInputField.js +3 -1
  38. package/lib/components/LinkSelectField/LinkSelectField.js +2 -0
  39. package/lib/components/MultivaluesField/MultivaluesField.test.js +0 -17
  40. package/lib/components/NavBar/NavBar.stories.js +235 -178
  41. package/lib/components/NavBar/NavBar.styles.js +5 -4
  42. package/lib/components/NavBarSection/NavBarItem.js +4 -3
  43. package/lib/components/NavBarSection/NavBarItemButton.js +1 -2
  44. package/lib/components/NavBarSection/NavBarItemHeader.js +3 -3
  45. package/lib/components/NavBarSection/NavBarItemHeader.test.js +1 -1
  46. package/lib/components/NavBarSection/NavBarItemLink.js +4 -1
  47. package/lib/components/NumberField/NumberField.js +2 -0
  48. package/lib/components/RadioGroupField/RadioGroupField.js +4 -1
  49. package/lib/components/SliderField/SliderLabelContainer.js +4 -2
  50. package/lib/components/TextField/TextField.js +1 -3
  51. package/lib/hooks/useField/useField.js +3 -1
  52. package/lib/hooks/useSliderField/useSliderField.js +7 -2
  53. package/lib/styles/themes/astro/customProperties/styles.js +1 -1
  54. package/lib/utils/devUtils/constants/logos.js +2 -2
  55. package/lib/utils/testUtils/universalFormSubmitTest.js +150 -95
  56. package/package.json +1 -1
@@ -15,23 +15,24 @@ var _react = _interopRequireWildcard(require("react"));
15
15
  var _AccountCheckOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountCheckOutlineIcon"));
16
16
  var _AccountMultipleIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountMultipleIcon"));
17
17
  var _AccountMultipleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountMultipleOutlineIcon"));
18
+ var _ApplicationOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ApplicationOutlineIcon"));
18
19
  var _AppsIcon = _interopRequireDefault(require("@pingux/mdi-react/AppsIcon"));
19
20
  var _CheckCircleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCircleOutlineIcon"));
20
21
  var _CodeTagsIcon = _interopRequireDefault(require("@pingux/mdi-react/CodeTagsIcon"));
21
22
  var _CogOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CogOutlineIcon"));
23
+ var _ConnectionIcon = _interopRequireDefault(require("@pingux/mdi-react/ConnectionIcon"));
22
24
  var _EarthIcon = _interopRequireDefault(require("@pingux/mdi-react/EarthIcon"));
23
- var _EmoticonHappyOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/EmoticonHappyOutlineIcon"));
24
25
  var _FileTreeIcon = _interopRequireDefault(require("@pingux/mdi-react/FileTreeIcon"));
25
- var _FingerprintIcon = _interopRequireDefault(require("@pingux/mdi-react/FingerprintIcon"));
26
26
  var _GlobeIcon = _interopRequireDefault(require("@pingux/mdi-react/GlobeIcon"));
27
+ var _KeyChainIcon = _interopRequireDefault(require("@pingux/mdi-react/KeyChainIcon"));
27
28
  var _LayersOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/LayersOutlineIcon"));
29
+ var _MonitorScreenshotIcon = _interopRequireDefault(require("@pingux/mdi-react/MonitorScreenshotIcon"));
28
30
  var _OpenInNewIcon = _interopRequireDefault(require("@pingux/mdi-react/OpenInNewIcon"));
29
31
  var _PaletteOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/PaletteOutlineIcon"));
30
- var _ScaleBalanceIcon = _interopRequireDefault(require("@pingux/mdi-react/ScaleBalanceIcon"));
32
+ var _PulseIcon = _interopRequireDefault(require("@pingux/mdi-react/PulseIcon"));
31
33
  var _ShieldCheckOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ShieldCheckOutlineIcon"));
34
+ var _ShieldStarOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ShieldStarOutlineIcon"));
32
35
  var _ShowChartIcon = _interopRequireDefault(require("@pingux/mdi-react/ShowChartIcon"));
33
- var _TransitConnectionVariantIcon = _interopRequireDefault(require("@pingux/mdi-react/TransitConnectionVariantIcon"));
34
- var _ViewDashboardIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewDashboardIcon"));
35
36
  var _ViewDashboardOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewDashboardOutlineIcon"));
36
37
  var _ViewGridPlusOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ViewGridPlusOutlineIcon"));
37
38
  var _WidgetsOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/WidgetsOutlineIcon"));
@@ -130,250 +131,300 @@ var Verify = function Verify(props) {
130
131
  }))))));
131
132
  };
132
133
  var data = [{
133
- 'data-id': 'dashboard-data-id',
134
- heading: 'Dashboard',
135
- icon: _ViewDashboardIcon["default"],
136
- key: 'Dashboard',
134
+ 'data-id': 'ipsum-data-id',
135
+ icon: _PulseIcon["default"],
136
+ key: 'Ipsum',
137
+ heading: 'Ipsum',
137
138
  children: [(0, _react2.jsx)(_.NavBarItemLink, {
138
- key: "Dashboard Link Group",
139
- id: "Dashboard Link Group",
140
- variant: "variants.navBar.itemButton",
141
- href: "https://pingidentity.com/"
142
- }, "Group"), (0, _react2.jsx)(_.NavBarItemButton, {
143
- key: "Dashboard Link Populations",
144
- id: "Dashboard Link Populations"
145
- }, "Populations")]
146
- }, {
147
- 'data-id': 'identities-data-id',
148
- icon: _AccountMultipleIcon["default"],
149
- key: 'Identities',
150
- heading: 'Identities',
151
- children: [(0, _react2.jsx)(_.NavBarItemLink, {
152
- key: "Identities Link Users",
153
- id: "Identities Link Users",
139
+ key: "Ipsum Link Users",
140
+ id: "Ipsum Link Users",
154
141
  href: "https://pingidentity.com/"
155
142
  }, "Users"), (0, _react2.jsx)(_.NavBarItemLink, {
156
- key: "Identities Link Groups",
157
- id: "Identities Link Groups",
143
+ key: "Ipsum Link Groups",
144
+ id: "Ipsum Link Groups",
158
145
  href: "https://pingidentity.com/"
159
146
  }, "Groups"), (0, _react2.jsx)(_.NavBarItemLink, {
160
- key: "Identities Link Populations",
161
- id: "Identities Link Populations",
147
+ key: "Ipsum Link Populations",
148
+ id: "Ipsum Link Populations",
162
149
  href: "https://pingidentity.com/"
163
150
  }, "Populations"), (0, _react2.jsx)(_.NavBarItemLink, {
164
- key: "Identities Link Attributes",
165
- id: "Identities Link Attributes",
151
+ key: "Ipsum Link Attributes",
152
+ id: "Ipsum Link Attributes",
166
153
  href: "https://pingidentity.com/"
167
154
  }, "Attributes"), (0, _react2.jsx)(_.NavBarItemButton, {
168
- key: "Identities Link Roles",
169
- id: "Identities Link Roles"
155
+ key: "Ipsum Link Roles",
156
+ id: "Ipsum Link Roles",
157
+ sx: {
158
+ fontWeight: '500'
159
+ }
170
160
  }, "Roles")]
171
161
  }, {
172
- 'data-id': 'connections-data-id',
173
- icon: _TransitConnectionVariantIcon["default"],
174
- key: 'Connections',
175
- heading: 'Connections',
176
- children: [{
177
- hasSeparator: false,
178
- key: 'Applications',
179
- subTitle: 'Applications'
180
- }, (0, _react2.jsx)(_.NavBarItemLink, {
181
- key: "Connections Applications",
182
- id: "Connections Applications",
162
+ 'data-id': 'dolor-data-id',
163
+ icon: _AccountMultipleIcon["default"],
164
+ key: 'Dolor',
165
+ heading: 'Dolor',
166
+ children: [(0, _react2.jsx)(_.NavBarItemLink, {
167
+ key: "Dolor Applications",
168
+ id: "Dolor Applications",
183
169
  href: "https://pingidentity.com/"
184
170
  }, "Applications"), (0, _react2.jsx)(_.NavBarItemLink, {
185
- key: "Connections Application Catalog",
186
- id: "Connections Application Catalog",
171
+ key: "Dolor Application Catalog",
172
+ id: "Dolor Application Catalog",
187
173
  href: "https://pingidentity.com/"
188
174
  }, "Application Catalog"), (0, _react2.jsx)(_.NavBarItemLink, {
189
- key: "Connections Application Portal",
190
- id: "Connections Application Portal",
175
+ key: "Dolor Application Portal",
176
+ id: "Dolor Application Portal",
191
177
  href: "https://pingidentity.com/"
192
- }, "Application Portal"), {
193
- key: 'Identity Providers',
194
- subTitle: 'Identity Providers'
195
- }, (0, _react2.jsx)(_.NavBarItemLink, {
196
- key: "Connections External IDPs",
197
- id: "Connections External IDPs",
178
+ }, "Application Portal"), (0, _react2.jsx)(_.NavBarItemLink, {
179
+ key: "Dolor External IDPs",
180
+ id: "Dolor External IDPs",
198
181
  href: "https://pingidentity.com/"
199
- }, "External IDPs"), {
200
- key: 'Ping Products',
201
- subTitle: 'Ping Products'
202
- }, (0, _react2.jsx)(_.NavBarItemLink, {
203
- key: "Connections PingFederate",
204
- id: "Connections PingFederate",
182
+ }, "External IDPs"), (0, _react2.jsx)(_.NavBarItemLink, {
183
+ key: "Dolor PingFederate",
184
+ id: "Dolor PingFederate",
205
185
  href: "https://pingidentity.com/"
206
186
  }, "PingFederate"), (0, _react2.jsx)(_.NavBarItemLink, {
207
- key: "Connections PingIntelligence",
208
- id: "Connections PingIntelligence",
187
+ key: "Dolor PingIntelligence",
188
+ id: "Dolor PingIntelligence",
209
189
  href: "https://pingidentity.com/"
210
190
  }, "PingIntelligence"), (0, _react2.jsx)(_.Separator, {
211
191
  variant: "separator.navBarSubtitleSeparator"
212
192
  }), (0, _react2.jsx)(_.NavBarItemLink, {
213
- key: "Connections Provisioning",
214
- id: "Connections Provisioning",
193
+ key: "Dolor Provisioning",
194
+ id: "Dolor Provisioning",
215
195
  href: "https://pingidentity.com/"
216
196
  }, "Provisioning"), (0, _react2.jsx)(_.NavBarItemLink, {
217
- key: "Connections WebHooks",
218
- id: "Connections WebHooks",
197
+ key: "Dolor WebHooks",
198
+ id: "Dolor WebHooks",
219
199
  href: "https://pingidentity.com/"
220
200
  }, "WebHooks"), (0, _react2.jsx)(_.NavBarItemLink, {
221
- key: "Connections Gateways",
222
- id: "Connections Gateways",
201
+ key: "Dolor Gateways",
202
+ id: "Dolor Gateways",
223
203
  href: "https://pingidentity.com/"
224
204
  }, "Gateways"), (0, _react2.jsx)(_.NavBarItemLink, {
225
- key: "Connections Certificates & Key Pairs",
226
- id: "Connections Certificates & Key Pairs",
205
+ key: "Dolor Certificates & Key Pairs",
206
+ id: "Dolor Certificates & Key Pairs",
227
207
  href: "https://pingidentity.com/"
228
208
  }, "Certificates & Key Pairs"), (0, _react2.jsx)(_.NavBarItemButton, {
229
- key: "Connections Resources",
230
- id: "Connections Resources"
209
+ key: "Dolor Resources",
210
+ id: "Dolor Resources",
211
+ sx: {
212
+ fontWeight: '500'
213
+ }
231
214
  }, "Resources")]
232
215
  }, {
233
- 'data-id': 'experiences-data-id',
234
- icon: _EmoticonHappyOutlineIcon["default"],
235
- key: 'Experiences',
236
- heading: 'Experiences',
237
- children: [{
238
- hasSeparator: false,
239
- key: 'Policies',
240
- subTitle: 'Policies'
241
- }, (0, _react2.jsx)(_.NavBarItemLink, {
242
- key: "Experiences Authentication",
243
- id: "Experiences Authentication",
216
+ 'data-id': 'sit-data-id',
217
+ icon: _ApplicationOutlineIcon["default"],
218
+ key: 'Sit',
219
+ heading: 'Sit',
220
+ children: [(0, _react2.jsx)(_.NavBarItemLink, {
221
+ key: "Sit Authentication",
222
+ id: "Sit Authentication",
244
223
  href: "https://pingidentity.com/"
245
224
  }, "Authentication"), (0, _react2.jsx)(_.NavBarItemLink, {
246
- key: "Experiences MFA",
247
- id: "Experiences MFA",
225
+ key: "Sit MFA",
226
+ id: "Sit MFA",
248
227
  href: "https://pingidentity.com/"
249
228
  }, "MFA"), (0, _react2.jsx)(_.NavBarItemLink, {
250
- key: "Experiences Password",
251
- id: "Experiences Password",
229
+ key: "Sit Password",
230
+ id: "Sit Password",
252
231
  href: "https://pingidentity.com/"
253
232
  }, "Password"), (0, _react2.jsx)(_.Separator, {
254
233
  variant: "separator.navBarSubtitleSeparator"
255
234
  }), (0, _react2.jsx)(_.NavBarItemLink, {
256
- key: "Experiences Risk",
257
- id: "Experiences Risk",
235
+ key: "Sit Risk",
236
+ id: "Sit Risk",
258
237
  href: "https://pingidentity.com/"
259
238
  }, "Risk"), (0, _react2.jsx)(_.NavBarItemLink, {
260
- key: "Experiences Flows",
261
- id: "Experiences Flows",
239
+ key: "Sit Flows",
240
+ id: "Sit Flows",
262
241
  href: "https://pingidentity.com/"
263
242
  }, "Flows"), (0, _react2.jsx)(_.NavBarItemLink, {
264
- key: "Experiences Forms",
265
- id: "Experiences Forms",
243
+ key: "Sit Forms",
244
+ id: "Sit Forms",
266
245
  href: "https://pingidentity.com/"
267
246
  }, "Forms"), (0, _react2.jsx)(_.NavBarItemLink, {
268
- key: "Experiences Languages",
269
- id: "Experiences Languages",
247
+ key: "Sit Languages",
248
+ id: "Sit Languages",
270
249
  href: "https://pingidentity.com/"
271
250
  }, "Languages"), (0, _react2.jsx)(_.NavBarItemLink, {
272
- key: "Experiences Agreements",
273
- id: "Experiences Agreements",
251
+ key: "Sit Agreements",
252
+ id: "Sit Agreements",
274
253
  href: "https://pingidentity.com/"
275
254
  }, "Agreements"), (0, _react2.jsx)(_.NavBarItemLink, {
276
- key: "Experiences Branding & Themes",
277
- id: "Experiences Branding & Themes",
255
+ key: "Sit Branding & Themes",
256
+ id: "Sit Branding & Themes",
278
257
  href: "https://pingidentity.com/"
279
258
  }, "Branding & Themes"), (0, _react2.jsx)(_.NavBarItemLink, {
280
- key: "Experiences Notifications",
281
- id: "Experiences Notifications",
259
+ key: "Sit Notifications",
260
+ id: "Sit Notifications",
282
261
  href: "https://pingidentity.com/"
283
262
  }, "Notifications"), (0, _react2.jsx)(_.NavBarItemLink, {
284
- key: "Experiences Vanity Domains",
285
- id: "Experiences Vanity Domains",
263
+ key: "Sit Vanity Domains",
264
+ id: "Sit Vanity Domains",
286
265
  href: "https://pingidentity.com/",
287
266
  onClick: function onClick(e) {
288
267
  return e.preventDefault();
289
268
  }
290
269
  }, "Vanity Domains"), (0, _react2.jsx)(_.NavBarItemButton, {
291
- key: "Experiences Sender",
292
- id: "Experiences Sender"
270
+ key: "Sit Sender",
271
+ id: "Sit Sender",
272
+ sx: {
273
+ fontWeight: '500'
274
+ }
293
275
  }, "Sender")]
294
276
  }];
295
277
  var secondData = [{
296
- 'data-id': 'da-vinci-data-id',
278
+ 'data-id': 'amet-data-id',
297
279
  icon: _ViewGridPlusOutlineIcon["default"],
298
- key: 'DaVinci',
299
- heading: 'DaVinci',
280
+ key: 'Amet',
281
+ heading: 'Amet',
300
282
  customIcon: _OpenInNewIcon["default"],
301
- href: 'https://pingidentity.com/'
283
+ href: 'https://pingidentity.com/',
284
+ size: 'xs'
302
285
  }, {
303
- 'data-id': 'mfa-data-id',
304
- icon: _FingerprintIcon["default"],
305
- key: 'MFA',
306
- heading: 'MFA',
286
+ 'data-id': 'consectur-data-id',
287
+ icon: _CheckCircleOutlineIcon["default"],
288
+ key: 'Consectur',
289
+ heading: 'Consectur',
307
290
  children: [(0, _react2.jsx)(_.NavBarItemButton, {
308
- id: "MFA Button Users",
309
- key: "MFA Button Users"
310
- }, "Users"), {
311
- key: 'PingOne Services',
312
- subTitle: 'PingOne Services'
313
- }, (0, _react2.jsx)(_.NavBarItemButton, {
314
- key: "MFA Button Group",
315
- id: "MFA Button Group"
291
+ id: "Consectur Button Users",
292
+ key: "Consectur Button Users",
293
+ sx: {
294
+ fontWeight: '500'
295
+ }
296
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
297
+ key: "Consectur Button Group",
298
+ id: "Consectur Button Group",
299
+ sx: {
300
+ fontWeight: '500'
301
+ }
316
302
  }, "Group Test")]
317
303
  }, {
318
- 'data-id': 'risk-data-id',
319
- icon: _ScaleBalanceIcon["default"],
320
- key: 'Risk',
321
- heading: 'Risk',
304
+ 'data-id': 'adipiscing-data-id',
305
+ icon: _ShieldStarOutlineIcon["default"],
306
+ key: 'Adipiscing',
307
+ heading: 'Adipiscing',
322
308
  children: [(0, _react2.jsx)(_.NavBarItemButton, {
323
- key: "Risk Button Users",
324
- id: "Risk Button Users"
325
- }, "Users"), {
326
- hasSeparator: false,
327
- key: 'PingOne Services',
328
- subTitle: 'PingOne Services'
329
- }, (0, _react2.jsx)(_.NavBarItemButton, {
330
- key: "Risk Button Group",
331
- id: "Risk Button Group"
309
+ key: "Adipiscing Button Users",
310
+ id: "Adipiscing Button Users",
311
+ sx: {
312
+ fontWeight: '500'
313
+ }
314
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
315
+ key: "Adipiscing Button Group",
316
+ id: "Adipiscing Button Group",
317
+ sx: {
318
+ fontWeight: '500'
319
+ }
332
320
  }, "Group")]
333
321
  }, {
334
- 'data-id': 'verify-data-id',
322
+ 'data-id': 'elit-data-id',
335
323
  icon: Verify,
336
- key: 'Verify',
337
- heading: 'Verify',
324
+ key: 'Elit',
325
+ heading: 'Elit',
338
326
  children: [(0, _react2.jsx)(_.NavBarItemButton, {
339
- key: "Verify Button Users",
340
- id: "Verify Button Users"
341
- }, "Users"), {
342
- hasSeparator: false,
343
- key: 'PingOne Services',
344
- subTitle: 'PingOne Services'
345
- }, (0, _react2.jsx)(_.NavBarItemButton, {
346
- key: "Verify Button Group",
347
- id: "Verify Button Group"
327
+ key: "Elit Button Users",
328
+ id: "Elit Button Users",
329
+ sx: {
330
+ fontWeight: '500'
331
+ }
332
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
333
+ key: "Elit Button Group",
334
+ id: "Elit Button Group",
335
+ sx: {
336
+ fontWeight: '500'
337
+ }
348
338
  }, "Group")]
349
339
  }, {
350
- 'data-id': 'credentials-data-id',
340
+ 'data-id': 'sed-do-eiusmod-data-id',
351
341
  icon: Credentials,
352
- key: 'Credentials',
353
- heading: 'Credentials',
342
+ key: 'Sed Do Eiusmod',
343
+ heading: 'Sed Do Eiusmod',
354
344
  children: [(0, _react2.jsx)(_.NavBarItemButton, {
355
- key: "Credentials Button Users",
356
- id: "Credentials Button Users"
357
- }, "Users"), {
358
- hasSeparator: false,
359
- key: 'PingOne Services',
360
- subTitle: 'PingOne Services'
361
- }, (0, _react2.jsx)(_.NavBarItemButton, {
362
- key: "Credentials Button Group",
363
- id: "Credentials Button Group"
345
+ key: "Sed Do Eiusmod Button Users",
346
+ id: "Sed Do Eiusmod Button Users",
347
+ sx: {
348
+ fontWeight: '500'
349
+ }
350
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
351
+ key: "Sed Do Eiusmod Button Group",
352
+ id: "Sed Do Eiusmod Button Group",
353
+ sx: {
354
+ fontWeight: '500'
355
+ }
364
356
  }, "Group")]
357
+ }, {
358
+ 'data-id': 'tempor-data-id',
359
+ heading: 'Tempor Incididunt ut Labore et Dolore Magna Aliqua',
360
+ icon: _KeyChainIcon["default"],
361
+ key: 'tempor',
362
+ children: [(0, _react2.jsx)(_.NavBarItemLink, {
363
+ key: "tempor Link Group",
364
+ id: "tempor Link Group",
365
+ variant: "variants.navBar.itemButton",
366
+ href: "https://pingidentity.com/"
367
+ }, "Group"), (0, _react2.jsx)(_.NavBarItemButton, {
368
+ key: "tempor Link Populations",
369
+ id: "tempor Link Populations",
370
+ sx: {
371
+ fontWeight: '500'
372
+ }
373
+ }, "Populations")]
365
374
  }];
366
375
  var thirdData = [{
367
- 'data-id': 'environment-data-id',
376
+ 'data-id': 'ut-enim-data-id',
377
+ icon: _ConnectionIcon["default"],
378
+ key: 'Ut-Enim',
379
+ heading: 'Ut Enim',
380
+ children: [(0, _react2.jsx)(_.NavBarItemButton, {
381
+ key: "Ut Enim Button Users",
382
+ id: "Ut Enim Button Users",
383
+ sx: {
384
+ fontWeight: '500'
385
+ }
386
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
387
+ key: "Ut Enim Button Group",
388
+ id: "Ut Enim Button Group",
389
+ sx: {
390
+ fontWeight: '500'
391
+ }
392
+ }, "Group")]
393
+ }, {
394
+ 'data-id': 'ad-minim-data-id',
395
+ icon: _MonitorScreenshotIcon["default"],
396
+ key: 'ad-minim',
397
+ heading: 'Ad Minim',
398
+ children: [(0, _react2.jsx)(_.NavBarItemButton, {
399
+ key: "Ad Minim Button Users",
400
+ id: "Ad Minim Button Users",
401
+ sx: {
402
+ fontWeight: '500'
403
+ }
404
+ }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
405
+ key: "Ad Minim Button Group",
406
+ id: "Ad Minim Button Group",
407
+ sx: {
408
+ fontWeight: '500'
409
+ }
410
+ }, "Group")]
411
+ }, {
412
+ 'data-id': 'veniam-data-id',
368
413
  icon: _EarthIcon["default"],
369
- key: 'Environment',
370
- heading: 'Environment title that is so long, it wraps',
414
+ key: 'Veniam',
415
+ heading: 'Veniam',
371
416
  children: [(0, _react2.jsx)(_.NavBarItemButton, {
372
- key: "Earth Button Users",
373
- id: "Earth Button Users"
417
+ key: "Veniam Button Users",
418
+ id: "Veniam Button Users",
419
+ sx: {
420
+ fontWeight: '500'
421
+ }
374
422
  }, "Users"), (0, _react2.jsx)(_.NavBarItemButton, {
375
- key: "Earth Button Group",
376
- id: "Earth Button Group"
423
+ key: "Veniam Button Group",
424
+ id: "Veniam Button Group",
425
+ sx: {
426
+ fontWeight: '500'
427
+ }
377
428
  }, "Group")]
378
429
  }];
379
430
  var Default = function Default() {
@@ -396,16 +447,18 @@ var Default = function Default() {
396
447
  }, (0, _react2.jsx)(_.NavBarItem, {
397
448
  "data-id": "nav-bar-item",
398
449
  icon: _GlobeIcon["default"],
399
- id: "Overview",
400
- key: "Overview",
401
- text: "Overview"
450
+ id: "Lorem",
451
+ key: "Lorem",
452
+ text: "Lorem",
453
+ iconProps: {
454
+ size: '18px'
455
+ }
402
456
  }), (0, _react2.jsx)(_.NavBarSection, {
403
457
  items: data,
404
458
  "data-id": "nav-bar-section"
405
459
  }), (0, _react2.jsx)(_.NavBarSection, {
406
460
  items: secondData,
407
461
  hasSeparator: true,
408
- title: "PingOne Services",
409
462
  "data-id": "second-nav-bar-section"
410
463
  }), (0, _react2.jsx)(_.NavBarSection, {
411
464
  items: thirdData,
@@ -591,7 +644,7 @@ var OnyxDefault = function OnyxDefault() {
591
644
  };
592
645
  exports.OnyxDefault = OnyxDefault;
593
646
  var Controlled = function Controlled() {
594
- var _useState = (0, _react.useState)('Dashboard Link Group'),
647
+ var _useState = (0, _react.useState)('Lorem Link Group'),
595
648
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
596
649
  selectedKey = _useState2[0],
597
650
  setSelectedKey = _useState2[1];
@@ -633,16 +686,18 @@ var Controlled = function Controlled() {
633
686
  }, (0, _react2.jsx)(_.NavBarItem, {
634
687
  "data-id": "nav-bar-item",
635
688
  icon: _GlobeIcon["default"],
636
- id: "Overview",
637
- key: "Overview",
638
- text: "Overview"
689
+ id: "Lorem",
690
+ key: "Lorem",
691
+ text: "Lorem",
692
+ iconProps: {
693
+ size: '18px'
694
+ }
639
695
  }), (0, _react2.jsx)(_.NavBarSection, {
640
696
  items: data,
641
697
  "data-id": "first-nav-bar-section"
642
698
  }), (0, _react2.jsx)(_.NavBarSection, {
643
699
  items: secondData,
644
700
  hasSeparator: true,
645
- title: "PingOne Services",
646
701
  "data-id": "second-nav-bar-section"
647
702
  }), (0, _react2.jsx)(_.NavBarSection, {
648
703
  items: customData,
@@ -672,16 +727,18 @@ var AutoCollapse = function AutoCollapse() {
672
727
  }, (0, _react2.jsx)(_.NavBarItem, {
673
728
  "data-id": "nav-bar-item",
674
729
  icon: _GlobeIcon["default"],
675
- id: "Overview",
676
- key: "Overview",
677
- text: "Overview"
730
+ id: "Lorem",
731
+ key: "Lorem",
732
+ text: "Lorem",
733
+ iconProps: {
734
+ size: '18px'
735
+ }
678
736
  }), (0, _react2.jsx)(_.NavBarSection, {
679
737
  items: data,
680
738
  "data-id": "nav-bar-section"
681
739
  }), (0, _react2.jsx)(_.NavBarSection, {
682
740
  items: secondData,
683
741
  hasSeparator: true,
684
- title: "PingOne Services",
685
742
  "data-id": "second-nav-bar-section"
686
743
  }), (0, _react2.jsx)(_.NavBarSection, {
687
744
  items: thirdData,
@@ -14,6 +14,7 @@ _Object$defineProperty(exports, "__esModule", {
14
14
  });
15
15
  exports["default"] = void 0;
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
+ var _colors = require("../../styles/colors");
17
18
  var _AccordionGrid = _interopRequireDefault(require("../AccordionGridGroup/AccordionGrid.styles"));
18
19
  var _Buttons = require("../Button/Buttons.styles");
19
20
  var _Text = require("../Text/Text.styles");
@@ -202,7 +203,7 @@ var subtitle = {
202
203
  };
203
204
  var headerText = _objectSpread(_objectSpread({}, _Text.wordWrap), {}, {
204
205
  whiteSpace: 'break-spaces',
205
- lineHeight: 1,
206
+ lineHeight: 1.15,
206
207
  fontSize: 'md',
207
208
  fontWeight: 1,
208
209
  maxWidth: '150px',
@@ -237,9 +238,9 @@ var headerNav = {
237
238
  fontSize: '16px',
238
239
  '&.is-focused': {
239
240
  outline: 'none',
240
- boxShadow: 'focus',
241
- WebkitBoxShadow: 'focus',
242
- MozBoxShadow: 'focus'
241
+ boxShadow: "0 0 0 1px ".concat(_colors.focus),
242
+ WebkitBoxShadow: "0 0 0 1px ".concat(_colors.focus),
243
+ MozBoxShadow: "0 0 0 1px ".concat(_colors.focus)
243
244
  },
244
245
  '&.is-hovered': {
245
246
  backgroundColor: 'accent.10'
@@ -18,7 +18,7 @@ var _NavBarContext = require("../../context/NavBarContext");
18
18
  var _hooks = require("../../hooks");
19
19
  var _index = require("../../index");
20
20
  var _react2 = require("@emotion/react");
21
- var _excluded = ["icon", "text", "className", "id", "onPress"];
21
+ var _excluded = ["icon", "text", "className", "id", "onPress", "iconProps"];
22
22
  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); }
23
23
  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; }
24
24
  var NavBarItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
@@ -27,6 +27,7 @@ var NavBarItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
27
27
  className = props.className,
28
28
  key = props.id,
29
29
  onPressCallback = props.onPress,
30
+ iconProps = props.iconProps,
30
31
  others = (0, _objectWithoutProperties2["default"])(props, _excluded);
31
32
  var navItemRef = (0, _hooks.useLocalOrForwardRef)(null);
32
33
 
@@ -84,7 +85,7 @@ var NavBarItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
84
85
  sx: {
85
86
  alignItems: 'center'
86
87
  }
87
- }, icon && (0, _react2.jsx)(_index.Icon, {
88
+ }, icon && (0, _react2.jsx)(_index.Icon, (0, _extends2["default"])({
88
89
  icon: icon,
89
90
  title: {
90
91
  name: text
@@ -95,7 +96,7 @@ var NavBarItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
95
96
  color: color,
96
97
  fill: color
97
98
  }
98
- }), (0, _react2.jsx)(_index.Text, {
99
+ }, iconProps)), (0, _react2.jsx)(_index.Text, {
99
100
  variant: state.navStyles.navBarItemText
100
101
  }, text)));
101
102
  });
@@ -13,12 +13,11 @@ var _NavBarContext = require("../../context/NavBarContext");
13
13
  var _hooks = require("../../hooks");
14
14
  var _index = require("../../index");
15
15
  var _react2 = require("@emotion/react");
16
- var _excluded = ["className", "id", "onPress", "sx"];
16
+ var _excluded = ["className", "id", "onPress"];
17
17
  var NavBarItemButton = function NavBarItemButton(props) {
18
18
  var className = props.className,
19
19
  key = props.id,
20
20
  onPressCallback = props.onPress,
21
- sx = props.sx,
22
21
  others = (0, _objectWithoutProperties2["default"])(props, _excluded);
23
22
  var state = (0, _NavBarContext.useNavBarContext)();
24
23
  var isSelected = state.selectedKey === key;