@pingux/astro 2.122.1-alpha.0 → 2.123.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/NavBar/NavBar.stories.js +235 -178
- package/lib/cjs/components/NavBar/NavBar.styles.d.ts +24 -18
- package/lib/cjs/components/NavBar/NavBar.styles.js +16 -9
- package/lib/cjs/components/NavBarSection/NavBarItem.js +4 -3
- package/lib/cjs/components/NavBarSection/NavBarItemBody.js +6 -1
- package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -2
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +3 -3
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemLink.js +4 -1
- package/lib/cjs/styles/themes/astro/customProperties/styles.js +1 -1
- package/lib/cjs/types/navBar.d.ts +2 -1
- package/lib/cjs/utils/devUtils/constants/logos.js +2 -2
- package/lib/components/NavBar/NavBar.stories.js +235 -178
- package/lib/components/NavBar/NavBar.styles.js +16 -9
- package/lib/components/NavBarSection/NavBarItem.js +4 -3
- package/lib/components/NavBarSection/NavBarItemBody.js +6 -1
- package/lib/components/NavBarSection/NavBarItemButton.js +1 -2
- package/lib/components/NavBarSection/NavBarItemHeader.js +3 -3
- package/lib/components/NavBarSection/NavBarItemHeader.test.js +1 -1
- package/lib/components/NavBarSection/NavBarItemLink.js +4 -1
- package/lib/styles/themes/astro/customProperties/styles.js +1 -1
- package/lib/utils/devUtils/constants/logos.js +2 -2
- 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
|
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': '
|
120
|
-
|
121
|
-
|
122
|
-
|
120
|
+
'data-id': 'ipsum-data-id',
|
121
|
+
icon: Pulse,
|
122
|
+
key: 'Ipsum',
|
123
|
+
heading: 'Ipsum',
|
123
124
|
children: [___EmotionJSX(NavBarItemLink, {
|
124
|
-
key: "
|
125
|
-
id: "
|
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: "
|
143
|
-
id: "
|
129
|
+
key: "Ipsum Link Groups",
|
130
|
+
id: "Ipsum Link Groups",
|
144
131
|
href: "https://pingidentity.com/"
|
145
132
|
}, "Groups"), ___EmotionJSX(NavBarItemLink, {
|
146
|
-
key: "
|
147
|
-
id: "
|
133
|
+
key: "Ipsum Link Populations",
|
134
|
+
id: "Ipsum Link Populations",
|
148
135
|
href: "https://pingidentity.com/"
|
149
136
|
}, "Populations"), ___EmotionJSX(NavBarItemLink, {
|
150
|
-
key: "
|
151
|
-
id: "
|
137
|
+
key: "Ipsum Link Attributes",
|
138
|
+
id: "Ipsum Link Attributes",
|
152
139
|
href: "https://pingidentity.com/"
|
153
140
|
}, "Attributes"), ___EmotionJSX(NavBarItemButton, {
|
154
|
-
key: "
|
155
|
-
id: "
|
141
|
+
key: "Ipsum Link Roles",
|
142
|
+
id: "Ipsum Link Roles",
|
143
|
+
sx: {
|
144
|
+
fontWeight: '500'
|
145
|
+
}
|
156
146
|
}, "Roles")]
|
157
147
|
}, {
|
158
|
-
'data-id': '
|
159
|
-
icon:
|
160
|
-
key: '
|
161
|
-
heading: '
|
162
|
-
children: [{
|
163
|
-
|
164
|
-
|
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: "
|
172
|
-
id: "
|
157
|
+
key: "Dolor Application Catalog",
|
158
|
+
id: "Dolor Application Catalog",
|
173
159
|
href: "https://pingidentity.com/"
|
174
160
|
}, "Application Catalog"), ___EmotionJSX(NavBarItemLink, {
|
175
|
-
key: "
|
176
|
-
id: "
|
161
|
+
key: "Dolor Application Portal",
|
162
|
+
id: "Dolor Application Portal",
|
177
163
|
href: "https://pingidentity.com/"
|
178
|
-
}, "Application Portal"), {
|
179
|
-
key:
|
180
|
-
|
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:
|
187
|
-
|
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: "
|
194
|
-
id: "
|
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: "
|
200
|
-
id: "
|
179
|
+
key: "Dolor Provisioning",
|
180
|
+
id: "Dolor Provisioning",
|
201
181
|
href: "https://pingidentity.com/"
|
202
182
|
}, "Provisioning"), ___EmotionJSX(NavBarItemLink, {
|
203
|
-
key: "
|
204
|
-
id: "
|
183
|
+
key: "Dolor WebHooks",
|
184
|
+
id: "Dolor WebHooks",
|
205
185
|
href: "https://pingidentity.com/"
|
206
186
|
}, "WebHooks"), ___EmotionJSX(NavBarItemLink, {
|
207
|
-
key: "
|
208
|
-
id: "
|
187
|
+
key: "Dolor Gateways",
|
188
|
+
id: "Dolor Gateways",
|
209
189
|
href: "https://pingidentity.com/"
|
210
190
|
}, "Gateways"), ___EmotionJSX(NavBarItemLink, {
|
211
|
-
key: "
|
212
|
-
id: "
|
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: "
|
216
|
-
id: "
|
195
|
+
key: "Dolor Resources",
|
196
|
+
id: "Dolor Resources",
|
197
|
+
sx: {
|
198
|
+
fontWeight: '500'
|
199
|
+
}
|
217
200
|
}, "Resources")]
|
218
201
|
}, {
|
219
|
-
'data-id': '
|
220
|
-
icon:
|
221
|
-
key: '
|
222
|
-
heading: '
|
223
|
-
children: [{
|
224
|
-
|
225
|
-
|
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: "
|
233
|
-
id: "
|
211
|
+
key: "Sit MFA",
|
212
|
+
id: "Sit MFA",
|
234
213
|
href: "https://pingidentity.com/"
|
235
214
|
}, "MFA"), ___EmotionJSX(NavBarItemLink, {
|
236
|
-
key: "
|
237
|
-
id: "
|
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: "
|
243
|
-
id: "
|
221
|
+
key: "Sit Risk",
|
222
|
+
id: "Sit Risk",
|
244
223
|
href: "https://pingidentity.com/"
|
245
224
|
}, "Risk"), ___EmotionJSX(NavBarItemLink, {
|
246
|
-
key: "
|
247
|
-
id: "
|
225
|
+
key: "Sit Flows",
|
226
|
+
id: "Sit Flows",
|
248
227
|
href: "https://pingidentity.com/"
|
249
228
|
}, "Flows"), ___EmotionJSX(NavBarItemLink, {
|
250
|
-
key: "
|
251
|
-
id: "
|
229
|
+
key: "Sit Forms",
|
230
|
+
id: "Sit Forms",
|
252
231
|
href: "https://pingidentity.com/"
|
253
232
|
}, "Forms"), ___EmotionJSX(NavBarItemLink, {
|
254
|
-
key: "
|
255
|
-
id: "
|
233
|
+
key: "Sit Languages",
|
234
|
+
id: "Sit Languages",
|
256
235
|
href: "https://pingidentity.com/"
|
257
236
|
}, "Languages"), ___EmotionJSX(NavBarItemLink, {
|
258
|
-
key: "
|
259
|
-
id: "
|
237
|
+
key: "Sit Agreements",
|
238
|
+
id: "Sit Agreements",
|
260
239
|
href: "https://pingidentity.com/"
|
261
240
|
}, "Agreements"), ___EmotionJSX(NavBarItemLink, {
|
262
|
-
key: "
|
263
|
-
id: "
|
241
|
+
key: "Sit Branding & Themes",
|
242
|
+
id: "Sit Branding & Themes",
|
264
243
|
href: "https://pingidentity.com/"
|
265
244
|
}, "Branding & Themes"), ___EmotionJSX(NavBarItemLink, {
|
266
|
-
key: "
|
267
|
-
id: "
|
245
|
+
key: "Sit Notifications",
|
246
|
+
id: "Sit Notifications",
|
268
247
|
href: "https://pingidentity.com/"
|
269
248
|
}, "Notifications"), ___EmotionJSX(NavBarItemLink, {
|
270
|
-
key: "
|
271
|
-
id: "
|
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: "
|
278
|
-
id: "
|
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': '
|
264
|
+
'data-id': 'amet-data-id',
|
283
265
|
icon: ViewGridPlusOutline,
|
284
|
-
key: '
|
285
|
-
heading: '
|
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': '
|
290
|
-
icon:
|
291
|
-
key: '
|
292
|
-
heading: '
|
272
|
+
'data-id': 'consectur-data-id',
|
273
|
+
icon: CheckCircleOutlineIcon,
|
274
|
+
key: 'Consectur',
|
275
|
+
heading: 'Consectur',
|
293
276
|
children: [___EmotionJSX(NavBarItemButton, {
|
294
|
-
id: "
|
295
|
-
key: "
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
}, ___EmotionJSX(NavBarItemButton, {
|
300
|
-
key: "
|
301
|
-
id: "
|
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': '
|
305
|
-
icon:
|
306
|
-
key: '
|
307
|
-
heading: '
|
290
|
+
'data-id': 'adipiscing-data-id',
|
291
|
+
icon: ShieldStarOutline,
|
292
|
+
key: 'Adipiscing',
|
293
|
+
heading: 'Adipiscing',
|
308
294
|
children: [___EmotionJSX(NavBarItemButton, {
|
309
|
-
key: "
|
310
|
-
id: "
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
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': '
|
308
|
+
'data-id': 'elit-data-id',
|
321
309
|
icon: Verify,
|
322
|
-
key: '
|
323
|
-
heading: '
|
310
|
+
key: 'Elit',
|
311
|
+
heading: 'Elit',
|
324
312
|
children: [___EmotionJSX(NavBarItemButton, {
|
325
|
-
key: "
|
326
|
-
id: "
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
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': '
|
326
|
+
'data-id': 'sed-do-eiusmod-data-id',
|
337
327
|
icon: Credentials,
|
338
|
-
key: '
|
339
|
-
heading: '
|
328
|
+
key: 'Sed Do Eiusmod',
|
329
|
+
heading: 'Sed Do Eiusmod',
|
340
330
|
children: [___EmotionJSX(NavBarItemButton, {
|
341
|
-
key: "
|
342
|
-
id: "
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
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': '
|
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: '
|
356
|
-
heading: '
|
400
|
+
key: 'Veniam',
|
401
|
+
heading: 'Veniam',
|
357
402
|
children: [___EmotionJSX(NavBarItemButton, {
|
358
|
-
key: "
|
359
|
-
id: "
|
403
|
+
key: "Veniam Button Users",
|
404
|
+
id: "Veniam Button Users",
|
405
|
+
sx: {
|
406
|
+
fontWeight: '500'
|
407
|
+
}
|
360
408
|
}, "Users"), ___EmotionJSX(NavBarItemButton, {
|
361
|
-
key: "
|
362
|
-
id: "
|
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: "
|
386
|
-
key: "
|
387
|
-
text: "
|
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('
|
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: "
|
621
|
-
key: "
|
622
|
-
text: "
|
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: "
|
659
|
-
key: "
|
660
|
-
text: "
|
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';
|
@@ -119,7 +120,14 @@ var popUpSectionContainer = {
|
|
119
120
|
var sectionBody = _objectSpread(_objectSpread({}, accordionGrid.body), {}, {
|
120
121
|
pl: '0'
|
121
122
|
});
|
122
|
-
var
|
123
|
+
var truncateText = {
|
124
|
+
whiteSpace: 'normal',
|
125
|
+
WebkitBoxOrient: 'vertical',
|
126
|
+
display: '-webkit-box',
|
127
|
+
WebkitLineClamp: '3',
|
128
|
+
overflow: 'hidden'
|
129
|
+
};
|
130
|
+
var itemButton = _objectSpread(_objectSpread({
|
123
131
|
marginY: '2px',
|
124
132
|
textDecoration: 'none',
|
125
133
|
outline: 'none',
|
@@ -128,20 +136,19 @@ var itemButton = {
|
|
128
136
|
backgroundColor: 'transparent',
|
129
137
|
paddingTop: 'sm',
|
130
138
|
paddingBottom: 'sm',
|
131
|
-
display: 'block',
|
132
139
|
color: 'neutral.90',
|
133
140
|
fontSize: 'md',
|
134
141
|
fontWeight: 0,
|
135
142
|
flexGrow: '1',
|
136
143
|
width: '100%',
|
137
144
|
textAlign: 'left',
|
138
|
-
whiteSpace: 'break-spaces',
|
139
145
|
overflowWrap: 'break-word',
|
140
146
|
maxWidth: '100%',
|
141
147
|
wordWrap: 'break-word',
|
142
148
|
wordBreak: 'break-word',
|
143
149
|
paddingLeft: '45px',
|
144
|
-
paddingRight: 'md'
|
150
|
+
paddingRight: 'md'
|
151
|
+
}, truncateText), {}, {
|
145
152
|
'&.is-focused': {
|
146
153
|
outline: '1px solid',
|
147
154
|
outlineColor: 'focus'
|
@@ -156,7 +163,7 @@ var itemButton = {
|
|
156
163
|
'&.is-pressed': {
|
157
164
|
bg: 'accent.5'
|
158
165
|
}
|
159
|
-
};
|
166
|
+
});
|
160
167
|
var popUpItemButton = _objectSpread(_objectSpread({}, itemButton), {}, {
|
161
168
|
fontSize: 'sm',
|
162
169
|
px: 'sm',
|
@@ -189,7 +196,7 @@ var subtitle = {
|
|
189
196
|
};
|
190
197
|
var headerText = _objectSpread(_objectSpread({}, wordWrap), {}, {
|
191
198
|
whiteSpace: 'break-spaces',
|
192
|
-
lineHeight: 1,
|
199
|
+
lineHeight: 1.15,
|
193
200
|
fontSize: 'md',
|
194
201
|
fontWeight: 1,
|
195
202
|
maxWidth: '150px',
|
@@ -224,9 +231,9 @@ var headerNav = {
|
|
224
231
|
fontSize: '16px',
|
225
232
|
'&.is-focused': {
|
226
233
|
outline: 'none',
|
227
|
-
boxShadow:
|
228
|
-
WebkitBoxShadow:
|
229
|
-
MozBoxShadow:
|
234
|
+
boxShadow: "0 0 0 1px ".concat(focus),
|
235
|
+
WebkitBoxShadow: "0 0 0 1px ".concat(focus),
|
236
|
+
MozBoxShadow: "0 0 0 1px ".concat(focus)
|
230
237
|
},
|
231
238
|
'&.is-hovered': {
|
232
239
|
backgroundColor: 'accent.10'
|