@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
@@ -4,23 +4,24 @@ import React, { useState } from 'react';
4
4
  import AccountCheckIcon from '@pingux/mdi-react/AccountCheckOutlineIcon';
5
5
  import AccountMultiple from '@pingux/mdi-react/AccountMultipleIcon';
6
6
  import AccountMultipleOutlineIcon from '@pingux/mdi-react/AccountMultipleOutlineIcon';
7
+ import ApplicationOutline from '@pingux/mdi-react/ApplicationOutlineIcon';
7
8
  import AppsIcon from '@pingux/mdi-react/AppsIcon';
8
9
  import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
9
10
  import CodeTagsIcon from '@pingux/mdi-react/CodeTagsIcon';
10
11
  import CogOutlineIcon from '@pingux/mdi-react/CogOutlineIcon';
12
+ import Connection from '@pingux/mdi-react/ConnectionIcon';
11
13
  import Earth from '@pingux/mdi-react/EarthIcon';
12
- import EmoticonHappy from '@pingux/mdi-react/EmoticonHappyOutlineIcon';
13
14
  import FileTreeIcon from '@pingux/mdi-react/FileTreeIcon';
14
- import Fingerprint from '@pingux/mdi-react/FingerprintIcon';
15
15
  import GlobeIcon from '@pingux/mdi-react/GlobeIcon';
16
+ import KeyChain from '@pingux/mdi-react/KeyChainIcon';
16
17
  import LayersOutlineIcon from '@pingux/mdi-react/LayersOutlineIcon';
18
+ import MonitorScreenshot from '@pingux/mdi-react/MonitorScreenshotIcon';
17
19
  import OpenInNew from '@pingux/mdi-react/OpenInNewIcon';
18
20
  import PaletteOutlineIcon from '@pingux/mdi-react/PaletteOutlineIcon';
19
- import ScaleBalance from '@pingux/mdi-react/ScaleBalanceIcon';
21
+ import Pulse from '@pingux/mdi-react/PulseIcon';
20
22
  import ShieldCheckOutlineIcon from '@pingux/mdi-react/ShieldCheckOutlineIcon';
23
+ import ShieldStarOutline from '@pingux/mdi-react/ShieldStarOutlineIcon';
21
24
  import ShowChartIcon from '@pingux/mdi-react/ShowChartIcon';
22
- import TransitConnection from '@pingux/mdi-react/TransitConnectionVariantIcon';
23
- import ViewDashboard from '@pingux/mdi-react/ViewDashboardIcon';
24
25
  import DashboardIcon from '@pingux/mdi-react/ViewDashboardOutlineIcon';
25
26
  import ViewGridPlusOutline from '@pingux/mdi-react/ViewGridPlusOutlineIcon';
26
27
  import WidgetsOutlineIcon from '@pingux/mdi-react/WidgetsOutlineIcon';
@@ -116,250 +117,300 @@ var Verify = function Verify(props) {
116
117
  }))))));
117
118
  };
118
119
  var data = [{
119
- 'data-id': 'dashboard-data-id',
120
- heading: 'Dashboard',
121
- icon: ViewDashboard,
122
- key: 'Dashboard',
120
+ 'data-id': 'ipsum-data-id',
121
+ icon: Pulse,
122
+ key: 'Ipsum',
123
+ heading: 'Ipsum',
123
124
  children: [___EmotionJSX(NavBarItemLink, {
124
- key: "Dashboard Link Group",
125
- id: "Dashboard Link Group",
126
- variant: "variants.navBar.itemButton",
127
- href: "https://pingidentity.com/"
128
- }, "Group"), ___EmotionJSX(NavBarItemButton, {
129
- key: "Dashboard Link Populations",
130
- id: "Dashboard Link Populations"
131
- }, "Populations")]
132
- }, {
133
- 'data-id': 'identities-data-id',
134
- icon: AccountMultiple,
135
- key: 'Identities',
136
- heading: 'Identities',
137
- children: [___EmotionJSX(NavBarItemLink, {
138
- key: "Identities Link Users",
139
- id: "Identities Link Users",
125
+ key: "Ipsum Link Users",
126
+ id: "Ipsum Link Users",
140
127
  href: "https://pingidentity.com/"
141
128
  }, "Users"), ___EmotionJSX(NavBarItemLink, {
142
- key: "Identities Link Groups",
143
- id: "Identities Link Groups",
129
+ key: "Ipsum Link Groups",
130
+ id: "Ipsum Link Groups",
144
131
  href: "https://pingidentity.com/"
145
132
  }, "Groups"), ___EmotionJSX(NavBarItemLink, {
146
- key: "Identities Link Populations",
147
- id: "Identities Link Populations",
133
+ key: "Ipsum Link Populations",
134
+ id: "Ipsum Link Populations",
148
135
  href: "https://pingidentity.com/"
149
136
  }, "Populations"), ___EmotionJSX(NavBarItemLink, {
150
- key: "Identities Link Attributes",
151
- id: "Identities Link Attributes",
137
+ key: "Ipsum Link Attributes",
138
+ id: "Ipsum Link Attributes",
152
139
  href: "https://pingidentity.com/"
153
140
  }, "Attributes"), ___EmotionJSX(NavBarItemButton, {
154
- key: "Identities Link Roles",
155
- id: "Identities Link Roles"
141
+ key: "Ipsum Link Roles",
142
+ id: "Ipsum Link Roles",
143
+ sx: {
144
+ fontWeight: '500'
145
+ }
156
146
  }, "Roles")]
157
147
  }, {
158
- 'data-id': 'connections-data-id',
159
- icon: TransitConnection,
160
- key: 'Connections',
161
- heading: 'Connections',
162
- children: [{
163
- hasSeparator: false,
164
- key: 'Applications',
165
- subTitle: 'Applications'
166
- }, ___EmotionJSX(NavBarItemLink, {
167
- key: "Connections Applications",
168
- id: "Connections Applications",
148
+ 'data-id': 'dolor-data-id',
149
+ icon: AccountMultiple,
150
+ key: 'Dolor',
151
+ heading: 'Dolor',
152
+ children: [___EmotionJSX(NavBarItemLink, {
153
+ key: "Dolor Applications",
154
+ id: "Dolor Applications",
169
155
  href: "https://pingidentity.com/"
170
156
  }, "Applications"), ___EmotionJSX(NavBarItemLink, {
171
- key: "Connections Application Catalog",
172
- id: "Connections Application Catalog",
157
+ key: "Dolor Application Catalog",
158
+ id: "Dolor Application Catalog",
173
159
  href: "https://pingidentity.com/"
174
160
  }, "Application Catalog"), ___EmotionJSX(NavBarItemLink, {
175
- key: "Connections Application Portal",
176
- id: "Connections Application Portal",
161
+ key: "Dolor Application Portal",
162
+ id: "Dolor Application Portal",
177
163
  href: "https://pingidentity.com/"
178
- }, "Application Portal"), {
179
- key: 'Identity Providers',
180
- subTitle: 'Identity Providers'
181
- }, ___EmotionJSX(NavBarItemLink, {
182
- key: "Connections External IDPs",
183
- id: "Connections External IDPs",
164
+ }, "Application Portal"), ___EmotionJSX(NavBarItemLink, {
165
+ key: "Dolor External IDPs",
166
+ id: "Dolor External IDPs",
184
167
  href: "https://pingidentity.com/"
185
- }, "External IDPs"), {
186
- key: 'Ping Products',
187
- subTitle: 'Ping Products'
188
- }, ___EmotionJSX(NavBarItemLink, {
189
- key: "Connections PingFederate",
190
- id: "Connections PingFederate",
168
+ }, "External IDPs"), ___EmotionJSX(NavBarItemLink, {
169
+ key: "Dolor PingFederate",
170
+ id: "Dolor PingFederate",
191
171
  href: "https://pingidentity.com/"
192
172
  }, "PingFederate"), ___EmotionJSX(NavBarItemLink, {
193
- key: "Connections PingIntelligence",
194
- id: "Connections PingIntelligence",
173
+ key: "Dolor PingIntelligence",
174
+ id: "Dolor PingIntelligence",
195
175
  href: "https://pingidentity.com/"
196
176
  }, "PingIntelligence"), ___EmotionJSX(Separator, {
197
177
  variant: "separator.navBarSubtitleSeparator"
198
178
  }), ___EmotionJSX(NavBarItemLink, {
199
- key: "Connections Provisioning",
200
- id: "Connections Provisioning",
179
+ key: "Dolor Provisioning",
180
+ id: "Dolor Provisioning",
201
181
  href: "https://pingidentity.com/"
202
182
  }, "Provisioning"), ___EmotionJSX(NavBarItemLink, {
203
- key: "Connections WebHooks",
204
- id: "Connections WebHooks",
183
+ key: "Dolor WebHooks",
184
+ id: "Dolor WebHooks",
205
185
  href: "https://pingidentity.com/"
206
186
  }, "WebHooks"), ___EmotionJSX(NavBarItemLink, {
207
- key: "Connections Gateways",
208
- id: "Connections Gateways",
187
+ key: "Dolor Gateways",
188
+ id: "Dolor Gateways",
209
189
  href: "https://pingidentity.com/"
210
190
  }, "Gateways"), ___EmotionJSX(NavBarItemLink, {
211
- key: "Connections Certificates & Key Pairs",
212
- id: "Connections Certificates & Key Pairs",
191
+ key: "Dolor Certificates & Key Pairs",
192
+ id: "Dolor Certificates & Key Pairs",
213
193
  href: "https://pingidentity.com/"
214
194
  }, "Certificates & Key Pairs"), ___EmotionJSX(NavBarItemButton, {
215
- key: "Connections Resources",
216
- id: "Connections Resources"
195
+ key: "Dolor Resources",
196
+ id: "Dolor Resources",
197
+ sx: {
198
+ fontWeight: '500'
199
+ }
217
200
  }, "Resources")]
218
201
  }, {
219
- 'data-id': 'experiences-data-id',
220
- icon: EmoticonHappy,
221
- key: 'Experiences',
222
- heading: 'Experiences',
223
- children: [{
224
- hasSeparator: false,
225
- key: 'Policies',
226
- subTitle: 'Policies'
227
- }, ___EmotionJSX(NavBarItemLink, {
228
- key: "Experiences Authentication",
229
- id: "Experiences Authentication",
202
+ 'data-id': 'sit-data-id',
203
+ icon: ApplicationOutline,
204
+ key: 'Sit',
205
+ heading: 'Sit',
206
+ children: [___EmotionJSX(NavBarItemLink, {
207
+ key: "Sit Authentication",
208
+ id: "Sit Authentication",
230
209
  href: "https://pingidentity.com/"
231
210
  }, "Authentication"), ___EmotionJSX(NavBarItemLink, {
232
- key: "Experiences MFA",
233
- id: "Experiences MFA",
211
+ key: "Sit MFA",
212
+ id: "Sit MFA",
234
213
  href: "https://pingidentity.com/"
235
214
  }, "MFA"), ___EmotionJSX(NavBarItemLink, {
236
- key: "Experiences Password",
237
- id: "Experiences Password",
215
+ key: "Sit Password",
216
+ id: "Sit Password",
238
217
  href: "https://pingidentity.com/"
239
218
  }, "Password"), ___EmotionJSX(Separator, {
240
219
  variant: "separator.navBarSubtitleSeparator"
241
220
  }), ___EmotionJSX(NavBarItemLink, {
242
- key: "Experiences Risk",
243
- id: "Experiences Risk",
221
+ key: "Sit Risk",
222
+ id: "Sit Risk",
244
223
  href: "https://pingidentity.com/"
245
224
  }, "Risk"), ___EmotionJSX(NavBarItemLink, {
246
- key: "Experiences Flows",
247
- id: "Experiences Flows",
225
+ key: "Sit Flows",
226
+ id: "Sit Flows",
248
227
  href: "https://pingidentity.com/"
249
228
  }, "Flows"), ___EmotionJSX(NavBarItemLink, {
250
- key: "Experiences Forms",
251
- id: "Experiences Forms",
229
+ key: "Sit Forms",
230
+ id: "Sit Forms",
252
231
  href: "https://pingidentity.com/"
253
232
  }, "Forms"), ___EmotionJSX(NavBarItemLink, {
254
- key: "Experiences Languages",
255
- id: "Experiences Languages",
233
+ key: "Sit Languages",
234
+ id: "Sit Languages",
256
235
  href: "https://pingidentity.com/"
257
236
  }, "Languages"), ___EmotionJSX(NavBarItemLink, {
258
- key: "Experiences Agreements",
259
- id: "Experiences Agreements",
237
+ key: "Sit Agreements",
238
+ id: "Sit Agreements",
260
239
  href: "https://pingidentity.com/"
261
240
  }, "Agreements"), ___EmotionJSX(NavBarItemLink, {
262
- key: "Experiences Branding & Themes",
263
- id: "Experiences Branding & Themes",
241
+ key: "Sit Branding & Themes",
242
+ id: "Sit Branding & Themes",
264
243
  href: "https://pingidentity.com/"
265
244
  }, "Branding & Themes"), ___EmotionJSX(NavBarItemLink, {
266
- key: "Experiences Notifications",
267
- id: "Experiences Notifications",
245
+ key: "Sit Notifications",
246
+ id: "Sit Notifications",
268
247
  href: "https://pingidentity.com/"
269
248
  }, "Notifications"), ___EmotionJSX(NavBarItemLink, {
270
- key: "Experiences Vanity Domains",
271
- id: "Experiences Vanity Domains",
249
+ key: "Sit Vanity Domains",
250
+ id: "Sit Vanity Domains",
272
251
  href: "https://pingidentity.com/",
273
252
  onClick: function onClick(e) {
274
253
  return e.preventDefault();
275
254
  }
276
255
  }, "Vanity Domains"), ___EmotionJSX(NavBarItemButton, {
277
- key: "Experiences Sender",
278
- id: "Experiences Sender"
256
+ key: "Sit Sender",
257
+ id: "Sit Sender",
258
+ sx: {
259
+ fontWeight: '500'
260
+ }
279
261
  }, "Sender")]
280
262
  }];
281
263
  var secondData = [{
282
- 'data-id': 'da-vinci-data-id',
264
+ 'data-id': 'amet-data-id',
283
265
  icon: ViewGridPlusOutline,
284
- key: 'DaVinci',
285
- heading: 'DaVinci',
266
+ key: 'Amet',
267
+ heading: 'Amet',
286
268
  customIcon: OpenInNew,
287
- href: 'https://pingidentity.com/'
269
+ href: 'https://pingidentity.com/',
270
+ size: 'xs'
288
271
  }, {
289
- 'data-id': 'mfa-data-id',
290
- icon: Fingerprint,
291
- key: 'MFA',
292
- heading: 'MFA',
272
+ 'data-id': 'consectur-data-id',
273
+ icon: CheckCircleOutlineIcon,
274
+ key: 'Consectur',
275
+ heading: 'Consectur',
293
276
  children: [___EmotionJSX(NavBarItemButton, {
294
- id: "MFA Button Users",
295
- key: "MFA Button Users"
296
- }, "Users"), {
297
- key: 'PingOne Services',
298
- subTitle: 'PingOne Services'
299
- }, ___EmotionJSX(NavBarItemButton, {
300
- key: "MFA Button Group",
301
- id: "MFA Button Group"
277
+ id: "Consectur Button Users",
278
+ key: "Consectur Button Users",
279
+ sx: {
280
+ fontWeight: '500'
281
+ }
282
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
283
+ key: "Consectur Button Group",
284
+ id: "Consectur Button Group",
285
+ sx: {
286
+ fontWeight: '500'
287
+ }
302
288
  }, "Group Test")]
303
289
  }, {
304
- 'data-id': 'risk-data-id',
305
- icon: ScaleBalance,
306
- key: 'Risk',
307
- heading: 'Risk',
290
+ 'data-id': 'adipiscing-data-id',
291
+ icon: ShieldStarOutline,
292
+ key: 'Adipiscing',
293
+ heading: 'Adipiscing',
308
294
  children: [___EmotionJSX(NavBarItemButton, {
309
- key: "Risk Button Users",
310
- id: "Risk Button Users"
311
- }, "Users"), {
312
- hasSeparator: false,
313
- key: 'PingOne Services',
314
- subTitle: 'PingOne Services'
315
- }, ___EmotionJSX(NavBarItemButton, {
316
- key: "Risk Button Group",
317
- id: "Risk Button Group"
295
+ key: "Adipiscing Button Users",
296
+ id: "Adipiscing Button Users",
297
+ sx: {
298
+ fontWeight: '500'
299
+ }
300
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
301
+ key: "Adipiscing Button Group",
302
+ id: "Adipiscing Button Group",
303
+ sx: {
304
+ fontWeight: '500'
305
+ }
318
306
  }, "Group")]
319
307
  }, {
320
- 'data-id': 'verify-data-id',
308
+ 'data-id': 'elit-data-id',
321
309
  icon: Verify,
322
- key: 'Verify',
323
- heading: 'Verify',
310
+ key: 'Elit',
311
+ heading: 'Elit',
324
312
  children: [___EmotionJSX(NavBarItemButton, {
325
- key: "Verify Button Users",
326
- id: "Verify Button Users"
327
- }, "Users"), {
328
- hasSeparator: false,
329
- key: 'PingOne Services',
330
- subTitle: 'PingOne Services'
331
- }, ___EmotionJSX(NavBarItemButton, {
332
- key: "Verify Button Group",
333
- id: "Verify Button Group"
313
+ key: "Elit Button Users",
314
+ id: "Elit Button Users",
315
+ sx: {
316
+ fontWeight: '500'
317
+ }
318
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
319
+ key: "Elit Button Group",
320
+ id: "Elit Button Group",
321
+ sx: {
322
+ fontWeight: '500'
323
+ }
334
324
  }, "Group")]
335
325
  }, {
336
- 'data-id': 'credentials-data-id',
326
+ 'data-id': 'sed-do-eiusmod-data-id',
337
327
  icon: Credentials,
338
- key: 'Credentials',
339
- heading: 'Credentials',
328
+ key: 'Sed Do Eiusmod',
329
+ heading: 'Sed Do Eiusmod',
340
330
  children: [___EmotionJSX(NavBarItemButton, {
341
- key: "Credentials Button Users",
342
- id: "Credentials Button Users"
343
- }, "Users"), {
344
- hasSeparator: false,
345
- key: 'PingOne Services',
346
- subTitle: 'PingOne Services'
347
- }, ___EmotionJSX(NavBarItemButton, {
348
- key: "Credentials Button Group",
349
- id: "Credentials Button Group"
331
+ key: "Sed Do Eiusmod Button Users",
332
+ id: "Sed Do Eiusmod Button Users",
333
+ sx: {
334
+ fontWeight: '500'
335
+ }
336
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
337
+ key: "Sed Do Eiusmod Button Group",
338
+ id: "Sed Do Eiusmod Button Group",
339
+ sx: {
340
+ fontWeight: '500'
341
+ }
350
342
  }, "Group")]
343
+ }, {
344
+ 'data-id': 'tempor-data-id',
345
+ heading: 'Tempor Incididunt ut Labore et Dolore Magna Aliqua',
346
+ icon: KeyChain,
347
+ key: 'tempor',
348
+ children: [___EmotionJSX(NavBarItemLink, {
349
+ key: "tempor Link Group",
350
+ id: "tempor Link Group",
351
+ variant: "variants.navBar.itemButton",
352
+ href: "https://pingidentity.com/"
353
+ }, "Group"), ___EmotionJSX(NavBarItemButton, {
354
+ key: "tempor Link Populations",
355
+ id: "tempor Link Populations",
356
+ sx: {
357
+ fontWeight: '500'
358
+ }
359
+ }, "Populations")]
351
360
  }];
352
361
  var thirdData = [{
353
- 'data-id': 'environment-data-id',
362
+ 'data-id': 'ut-enim-data-id',
363
+ icon: Connection,
364
+ key: 'Ut-Enim',
365
+ heading: 'Ut Enim',
366
+ children: [___EmotionJSX(NavBarItemButton, {
367
+ key: "Ut Enim Button Users",
368
+ id: "Ut Enim Button Users",
369
+ sx: {
370
+ fontWeight: '500'
371
+ }
372
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
373
+ key: "Ut Enim Button Group",
374
+ id: "Ut Enim Button Group",
375
+ sx: {
376
+ fontWeight: '500'
377
+ }
378
+ }, "Group")]
379
+ }, {
380
+ 'data-id': 'ad-minim-data-id',
381
+ icon: MonitorScreenshot,
382
+ key: 'ad-minim',
383
+ heading: 'Ad Minim',
384
+ children: [___EmotionJSX(NavBarItemButton, {
385
+ key: "Ad Minim Button Users",
386
+ id: "Ad Minim Button Users",
387
+ sx: {
388
+ fontWeight: '500'
389
+ }
390
+ }, "Users"), ___EmotionJSX(NavBarItemButton, {
391
+ key: "Ad Minim Button Group",
392
+ id: "Ad Minim Button Group",
393
+ sx: {
394
+ fontWeight: '500'
395
+ }
396
+ }, "Group")]
397
+ }, {
398
+ 'data-id': 'veniam-data-id',
354
399
  icon: Earth,
355
- key: 'Environment',
356
- heading: 'Environment title that is so long, it wraps',
400
+ key: 'Veniam',
401
+ heading: 'Veniam',
357
402
  children: [___EmotionJSX(NavBarItemButton, {
358
- key: "Earth Button Users",
359
- id: "Earth Button Users"
403
+ key: "Veniam Button Users",
404
+ id: "Veniam Button Users",
405
+ sx: {
406
+ fontWeight: '500'
407
+ }
360
408
  }, "Users"), ___EmotionJSX(NavBarItemButton, {
361
- key: "Earth Button Group",
362
- id: "Earth Button Group"
409
+ key: "Veniam Button Group",
410
+ id: "Veniam Button Group",
411
+ sx: {
412
+ fontWeight: '500'
413
+ }
363
414
  }, "Group")]
364
415
  }];
365
416
  export var Default = function Default() {
@@ -382,16 +433,18 @@ export var Default = function Default() {
382
433
  }, ___EmotionJSX(NavBarItem, {
383
434
  "data-id": "nav-bar-item",
384
435
  icon: GlobeIcon,
385
- id: "Overview",
386
- key: "Overview",
387
- text: "Overview"
436
+ id: "Lorem",
437
+ key: "Lorem",
438
+ text: "Lorem",
439
+ iconProps: {
440
+ size: '18px'
441
+ }
388
442
  }), ___EmotionJSX(NavBarSection, {
389
443
  items: data,
390
444
  "data-id": "nav-bar-section"
391
445
  }), ___EmotionJSX(NavBarSection, {
392
446
  items: secondData,
393
447
  hasSeparator: true,
394
- title: "PingOne Services",
395
448
  "data-id": "second-nav-bar-section"
396
449
  }), ___EmotionJSX(NavBarSection, {
397
450
  items: thirdData,
@@ -575,7 +628,7 @@ export var OnyxDefault = function OnyxDefault() {
575
628
  })));
576
629
  };
577
630
  export var Controlled = function Controlled() {
578
- var _useState = useState('Dashboard Link Group'),
631
+ var _useState = useState('Lorem Link Group'),
579
632
  _useState2 = _slicedToArray(_useState, 2),
580
633
  selectedKey = _useState2[0],
581
634
  setSelectedKey = _useState2[1];
@@ -617,16 +670,18 @@ export var Controlled = function Controlled() {
617
670
  }, ___EmotionJSX(NavBarItem, {
618
671
  "data-id": "nav-bar-item",
619
672
  icon: GlobeIcon,
620
- id: "Overview",
621
- key: "Overview",
622
- text: "Overview"
673
+ id: "Lorem",
674
+ key: "Lorem",
675
+ text: "Lorem",
676
+ iconProps: {
677
+ size: '18px'
678
+ }
623
679
  }), ___EmotionJSX(NavBarSection, {
624
680
  items: data,
625
681
  "data-id": "first-nav-bar-section"
626
682
  }), ___EmotionJSX(NavBarSection, {
627
683
  items: secondData,
628
684
  hasSeparator: true,
629
- title: "PingOne Services",
630
685
  "data-id": "second-nav-bar-section"
631
686
  }), ___EmotionJSX(NavBarSection, {
632
687
  items: customData,
@@ -655,16 +710,18 @@ export var AutoCollapse = function AutoCollapse() {
655
710
  }, ___EmotionJSX(NavBarItem, {
656
711
  "data-id": "nav-bar-item",
657
712
  icon: GlobeIcon,
658
- id: "Overview",
659
- key: "Overview",
660
- text: "Overview"
713
+ id: "Lorem",
714
+ key: "Lorem",
715
+ text: "Lorem",
716
+ iconProps: {
717
+ size: '18px'
718
+ }
661
719
  }), ___EmotionJSX(NavBarSection, {
662
720
  items: data,
663
721
  "data-id": "nav-bar-section"
664
722
  }), ___EmotionJSX(NavBarSection, {
665
723
  items: secondData,
666
724
  hasSeparator: true,
667
- title: "PingOne Services",
668
725
  "data-id": "second-nav-bar-section"
669
726
  }), ___EmotionJSX(NavBarSection, {
670
727
  items: thirdData,
@@ -9,6 +9,7 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object
9
9
  import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
12
+ import { focus } from '../../styles/colors';
12
13
  import accordionGrid from '../AccordionGridGroup/AccordionGrid.styles';
13
14
  import { quiet } from '../Button/Buttons.styles';
14
15
  import { wordWrap } from '../Text/Text.styles';
@@ -195,7 +196,7 @@ var subtitle = {
195
196
  };
196
197
  var headerText = _objectSpread(_objectSpread({}, wordWrap), {}, {
197
198
  whiteSpace: 'break-spaces',
198
- lineHeight: 1,
199
+ lineHeight: 1.15,
199
200
  fontSize: 'md',
200
201
  fontWeight: 1,
201
202
  maxWidth: '150px',
@@ -230,9 +231,9 @@ var headerNav = {
230
231
  fontSize: '16px',
231
232
  '&.is-focused': {
232
233
  outline: 'none',
233
- boxShadow: 'focus',
234
- WebkitBoxShadow: 'focus',
235
- MozBoxShadow: 'focus'
234
+ boxShadow: "0 0 0 1px ".concat(focus),
235
+ WebkitBoxShadow: "0 0 0 1px ".concat(focus),
236
+ MozBoxShadow: "0 0 0 1px ".concat(focus)
236
237
  },
237
238
  '&.is-hovered': {
238
239
  backgroundColor: 'accent.10'
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["icon", "text", "className", "id", "onPress"];
3
+ var _excluded = ["icon", "text", "className", "id", "onPress", "iconProps"];
4
4
  import React, { forwardRef, useImperativeHandle } from 'react';
5
5
  import { mergeProps, useFocusRing } from 'react-aria';
6
6
  import { useHover, usePress } from '@react-aria/interactions';
@@ -14,6 +14,7 @@ var NavBarItem = /*#__PURE__*/forwardRef(function (props, ref) {
14
14
  className = props.className,
15
15
  key = props.id,
16
16
  onPressCallback = props.onPress,
17
+ iconProps = props.iconProps,
17
18
  others = _objectWithoutProperties(props, _excluded);
18
19
  var navItemRef = useLocalOrForwardRef(null);
19
20
 
@@ -71,7 +72,7 @@ var NavBarItem = /*#__PURE__*/forwardRef(function (props, ref) {
71
72
  sx: {
72
73
  alignItems: 'center'
73
74
  }
74
- }, icon && ___EmotionJSX(Icon, {
75
+ }, icon && ___EmotionJSX(Icon, _extends({
75
76
  icon: icon,
76
77
  title: {
77
78
  name: text
@@ -82,7 +83,7 @@ var NavBarItem = /*#__PURE__*/forwardRef(function (props, ref) {
82
83
  color: color,
83
84
  fill: color
84
85
  }
85
- }), ___EmotionJSX(Text, {
86
+ }, iconProps)), ___EmotionJSX(Text, {
86
87
  variant: state.navStyles.navBarItemText
87
88
  }, text)));
88
89
  });
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["className", "id", "onPress", "sx"];
3
+ var _excluded = ["className", "id", "onPress"];
4
4
  import React from 'react';
5
5
  import { useNavBarContext } from '../../context/NavBarContext';
6
6
  import { useNavBarPress, useStatusClasses } from '../../hooks';
@@ -10,7 +10,6 @@ var NavBarItemButton = function NavBarItemButton(props) {
10
10
  var className = props.className,
11
11
  key = props.id,
12
12
  onPressCallback = props.onPress,
13
- sx = props.sx,
14
13
  others = _objectWithoutProperties(props, _excluded);
15
14
  var state = useNavBarContext();
16
15
  var isSelected = state.selectedKey === key;