@openproject/primer-view-components 0.89.2 → 0.90.0-rc.346325dd4

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.
@@ -0,0 +1,509 @@
1
+ const classNames = new Set([
2
+ 'ActionBar',
3
+ 'ActionBar--large',
4
+ 'ActionBar--small',
5
+ 'ActionBar-divider',
6
+ 'ActionBar-item',
7
+ 'ActionBar-item-container',
8
+ 'ActionBar-more-menu',
9
+ 'ActionList--subGroup',
10
+ 'ActionList-sectionDivider',
11
+ 'ActionList-sectionDivider--filled',
12
+ 'ActionList-sectionDivider-title',
13
+ 'ActionListContent',
14
+ 'ActionListContent--blockDescription',
15
+ 'ActionListContent--hasActiveSubItem',
16
+ 'ActionListContent--sizeLarge',
17
+ 'ActionListContent--sizeXLarge',
18
+ 'ActionListHeader',
19
+ 'ActionListItem',
20
+ 'ActionListItem--danger',
21
+ 'ActionListItem--hasSubItem',
22
+ 'ActionListItem--navActive',
23
+ 'ActionListItem--subItem',
24
+ 'ActionListItem--trailingActionHover',
25
+ 'ActionListItem--withActions',
26
+ 'ActionListItem-action',
27
+ 'ActionListItem-action--leading',
28
+ 'ActionListItem-action--trailing',
29
+ 'ActionListItem-collapseIcon',
30
+ 'ActionListItem-description',
31
+ 'ActionListItem-descriptionWrap',
32
+ 'ActionListItem-descriptionWrap--inline',
33
+ 'ActionListItem-label',
34
+ 'ActionListItem-label--truncate',
35
+ 'ActionListItem-singleSelectCheckmark',
36
+ 'ActionListItem-trailingAction',
37
+ 'ActionListItem-visual',
38
+ 'ActionListItem-visual--leading',
39
+ 'ActionListItem-visual--trailing',
40
+ 'ActionListWrap',
41
+ 'ActionListWrap--divided',
42
+ 'ActionListWrap--inset',
43
+ 'AvatarStack',
44
+ 'AvatarStack--right',
45
+ 'AvatarStack--three-plus',
46
+ 'AvatarStack--two',
47
+ 'AvatarStack-body',
48
+ 'Banner',
49
+ 'Banner--error',
50
+ 'Banner--full',
51
+ 'Banner--full-whenNarrow',
52
+ 'Banner--success',
53
+ 'Banner--upsell',
54
+ 'Banner--warning',
55
+ 'Banner-actions',
56
+ 'Banner-close',
57
+ 'Banner-message',
58
+ 'Banner-title',
59
+ 'Banner-visual',
60
+ 'BorderGrid',
61
+ 'BorderGrid--spacious',
62
+ 'BorderGrid-cell',
63
+ 'BorderGrid-row',
64
+ 'Box',
65
+ 'Box--blue',
66
+ 'Box--condensed',
67
+ 'Box--danger',
68
+ 'Box--scrollable',
69
+ 'Box--spacious',
70
+ 'Box-body',
71
+ 'Box-btn-octicon',
72
+ 'Box-footer',
73
+ 'Box-header',
74
+ 'Box-header--blue',
75
+ 'Box-row',
76
+ 'Box-row--blue',
77
+ 'Box-row--drag-button',
78
+ 'Box-row--drag-hide',
79
+ 'Box-row--focus-blue',
80
+ 'Box-row--focus-gray',
81
+ 'Box-row--gray',
82
+ 'Box-row--hover-blue',
83
+ 'Box-row--hover-gray',
84
+ 'Box-row--unread',
85
+ 'Box-row--yellow',
86
+ 'Box-row-link',
87
+ 'Box-title',
88
+ 'Button',
89
+ 'Button--danger',
90
+ 'Button--fullWidth',
91
+ 'Button--iconOnly',
92
+ 'Button--inactive',
93
+ 'Button--invisible',
94
+ 'Button--invisible-noVisuals',
95
+ 'Button--labelWrap',
96
+ 'Button--large',
97
+ 'Button--link',
98
+ 'Button--primary',
99
+ 'Button--secondary',
100
+ 'Button--small',
101
+ 'Button-content',
102
+ 'Button-content--alignStart',
103
+ 'Button-label',
104
+ 'Button-leadingVisual',
105
+ 'Button-trailingAction',
106
+ 'Button-trailingVisual',
107
+ 'Button-visual',
108
+ 'ButtonGroup',
109
+ 'CollapsibleHeader',
110
+ 'CollapsibleHeader--multi-line',
111
+ 'CollapsibleHeader-description',
112
+ 'CollapsibleHeader-title-line',
113
+ 'CollapsibleHeader-triggerArea',
114
+ 'CollapsibleSection--triggerArea',
115
+ 'Counter',
116
+ 'Counter--primary',
117
+ 'Counter--secondary',
118
+ 'DragHandle',
119
+ 'FilterableTreeViewLayout',
120
+ 'FilterableTreeViewLoadingSkeleton',
121
+ 'FilterableTreeViewTreeContainer',
122
+ 'FormControl',
123
+ 'FormControl--fullWidth',
124
+ 'FormControl-caption',
125
+ 'FormControl-check-group-wrap',
126
+ 'FormControl-checkbox',
127
+ 'FormControl-checkbox-labelWrap',
128
+ 'FormControl-checkbox-wrap',
129
+ 'FormControl-error',
130
+ 'FormControl-horizontalGroup',
131
+ 'FormControl-inlineValidation',
132
+ 'FormControl-inlineValidation--success',
133
+ 'FormControl-inlineValidation--visual',
134
+ 'FormControl-input',
135
+ 'FormControl-input-leadingVisual',
136
+ 'FormControl-input-leadingVisualWrap',
137
+ 'FormControl-input-trailingAction',
138
+ 'FormControl-input-trailingAction--divider',
139
+ 'FormControl-input-trailingVisualLabel',
140
+ 'FormControl-input-trailingVisualWrap',
141
+ 'FormControl-input-width--auto',
142
+ 'FormControl-input-width--large',
143
+ 'FormControl-input-width--medium',
144
+ 'FormControl-input-width--small',
145
+ 'FormControl-input-width--xlarge',
146
+ 'FormControl-input-width--xsmall',
147
+ 'FormControl-input-width--xxlarge',
148
+ 'FormControl-input-wrap',
149
+ 'FormControl-input-wrap--large',
150
+ 'FormControl-input-wrap--leadingVisual',
151
+ 'FormControl-input-wrap--small',
152
+ 'FormControl-input-wrap--trailingAction',
153
+ 'FormControl-input-wrap--trailingLabel',
154
+ 'FormControl-input-wrap--trailingText',
155
+ 'FormControl-input-wrap--trailingVisual',
156
+ 'FormControl-input-wrap-trailingAction--divider',
157
+ 'FormControl-inset',
158
+ 'FormControl-label',
159
+ 'FormControl-large',
160
+ 'FormControl-medium',
161
+ 'FormControl-monospace',
162
+ 'FormControl-radio',
163
+ 'FormControl-radio-group-wrap',
164
+ 'FormControl-radio-labelWrap',
165
+ 'FormControl-radio-wrap',
166
+ 'FormControl-select',
167
+ 'FormControl-select-wrap',
168
+ 'FormControl-small',
169
+ 'FormControl-spacingWrapper',
170
+ 'FormControl-success',
171
+ 'FormControl-textarea',
172
+ 'FormControl-toggleSwitchInput',
173
+ 'FormControl-warning',
174
+ 'InlineMessage',
175
+ 'InlineMessageIcon',
176
+ 'InputGroup',
177
+ 'InputGroup-input-width--auto',
178
+ 'InputGroup-input-width--large',
179
+ 'InputGroup-input-width--medium',
180
+ 'InputGroup-input-width--small',
181
+ 'InputGroup-input-width--xlarge',
182
+ 'InputGroup-input-width--xsmall',
183
+ 'InputGroup-input-width--xxlarge',
184
+ 'Label',
185
+ 'Label--accent',
186
+ 'Label--attention',
187
+ 'Label--closed',
188
+ 'Label--danger',
189
+ 'Label--done',
190
+ 'Label--info',
191
+ 'Label--inline',
192
+ 'Label--large',
193
+ 'Label--open',
194
+ 'Label--primary',
195
+ 'Label--secondary',
196
+ 'Label--severe',
197
+ 'Label--sponsors',
198
+ 'Label--success',
199
+ 'Label--warning',
200
+ 'Layout',
201
+ 'Layout--divided',
202
+ 'Layout--flowRow-until-lg',
203
+ 'Layout--flowRow-until-md',
204
+ 'Layout--gutter-condensed',
205
+ 'Layout--gutter-none',
206
+ 'Layout--gutter-spacious',
207
+ 'Layout--sidebar-narrow',
208
+ 'Layout--sidebar-wide',
209
+ 'Layout--sidebarPosition-end',
210
+ 'Layout--sidebarPosition-flowRow-end',
211
+ 'Layout--sidebarPosition-flowRow-none',
212
+ 'Layout--sidebarPosition-flowRow-start',
213
+ 'Layout--sidebarPosition-start',
214
+ 'Layout-divider',
215
+ 'Layout-divider--flowRow-hidden',
216
+ 'Layout-divider--flowRow-shallow',
217
+ 'Layout-main',
218
+ 'Layout-main-centered-lg',
219
+ 'Layout-main-centered-md',
220
+ 'Layout-main-centered-xl',
221
+ 'Layout-sidebar',
222
+ 'Link',
223
+ 'Link--muted',
224
+ 'Link--onHover',
225
+ 'Link--primary',
226
+ 'Link--secondary',
227
+ 'Link--underline',
228
+ 'Link-content',
229
+ 'Overlay',
230
+ 'Overlay--full',
231
+ 'Overlay--full-whenNarrow',
232
+ 'Overlay--fullscreen-whenNarrow',
233
+ 'Overlay--height-auto',
234
+ 'Overlay--height-large',
235
+ 'Overlay--height-medium',
236
+ 'Overlay--height-small',
237
+ 'Overlay--height-xlarge',
238
+ 'Overlay--height-xsmall',
239
+ 'Overlay--hidden',
240
+ 'Overlay--motion-scaleFade',
241
+ 'Overlay--placement-bottom-whenNarrow',
242
+ 'Overlay--placement-left',
243
+ 'Overlay--placement-left-whenNarrow',
244
+ 'Overlay--placement-right',
245
+ 'Overlay--placement-right-whenNarrow',
246
+ 'Overlay--size-auto',
247
+ 'Overlay--size-full',
248
+ 'Overlay--size-large',
249
+ 'Overlay--size-medium',
250
+ 'Overlay--size-medium-portrait',
251
+ 'Overlay--size-small',
252
+ 'Overlay--size-small-portrait',
253
+ 'Overlay--size-xlarge',
254
+ 'Overlay--size-xsmall',
255
+ 'Overlay--visibilityHidden',
256
+ 'Overlay--width-auto',
257
+ 'Overlay--width-large',
258
+ 'Overlay--width-medium',
259
+ 'Overlay--width-small',
260
+ 'Overlay--width-xlarge',
261
+ 'Overlay--width-xxlarge',
262
+ 'Overlay-actionWrap',
263
+ 'Overlay-body',
264
+ 'Overlay-body--paddingCondensed',
265
+ 'Overlay-body--paddingNone',
266
+ 'Overlay-closeButton',
267
+ 'Overlay-description',
268
+ 'Overlay-footer',
269
+ 'Overlay-footer--alignCenter',
270
+ 'Overlay-footer--alignEnd',
271
+ 'Overlay-footer--alignStart',
272
+ 'Overlay-footer--divided',
273
+ 'Overlay-form',
274
+ 'Overlay-header',
275
+ 'Overlay-header--divided',
276
+ 'Overlay-headerContentWrap',
277
+ 'Overlay-headerFilter',
278
+ 'Overlay-title',
279
+ 'Overlay-titleWrap',
280
+ 'Page',
281
+ 'PageHeader',
282
+ 'PageHeader--noBreadcrumb',
283
+ 'PageHeader--withTabNav',
284
+ 'PageHeader-actions',
285
+ 'PageHeader-breadcrumbs',
286
+ 'PageHeader-contextBar',
287
+ 'PageHeader-description',
288
+ 'PageHeader-description--underlined-links',
289
+ 'PageHeader-leadingAction',
290
+ 'PageHeader-parentLink',
291
+ 'PageHeader-tabNav',
292
+ 'PageHeader-tabNavBar',
293
+ 'PageHeader-title',
294
+ 'PageHeader-title--large',
295
+ 'PageHeader-titleBar',
296
+ 'PaginationContainer',
297
+ 'Popover',
298
+ 'Popover-message',
299
+ 'Popover-message--bottom',
300
+ 'Popover-message--bottom-left',
301
+ 'Popover-message--bottom-right',
302
+ 'Popover-message--large',
303
+ 'Popover-message--left',
304
+ 'Popover-message--left-bottom',
305
+ 'Popover-message--left-top',
306
+ 'Popover-message--no-caret',
307
+ 'Popover-message--right',
308
+ 'Popover-message--right-bottom',
309
+ 'Popover-message--right-top',
310
+ 'Popover-message--top-left',
311
+ 'Popover-message--top-right',
312
+ 'Progress',
313
+ 'Progress--large',
314
+ 'Progress--small',
315
+ 'Progress-item',
316
+ 'SegmentedControl',
317
+ 'SegmentedControl--fullWidth',
318
+ 'SegmentedControl--iconOnly',
319
+ 'SegmentedControl--medium',
320
+ 'SegmentedControl--small',
321
+ 'SegmentedControl-item',
322
+ 'SegmentedControl-item--selected',
323
+ 'SelectPanel-emptyPanel',
324
+ 'SelectPanel-loadingPanel',
325
+ 'SidePanel-sectionAction',
326
+ 'SidePanel-sectionContent',
327
+ 'SidePanel-sectionCounter',
328
+ 'SidePanel-sectionDescription',
329
+ 'SidePanel-sectionHeader',
330
+ 'SkeletonBox',
331
+ 'Stack',
332
+ 'StackItem',
333
+ 'State',
334
+ 'State--closed',
335
+ 'State--draft',
336
+ 'State--merged',
337
+ 'State--open',
338
+ 'State--small',
339
+ 'SubHeader',
340
+ 'SubHeader--emptyLeftPane',
341
+ 'SubHeader--expandedSearch',
342
+ 'SubHeader-bottomPane',
343
+ 'SubHeader-filterContainer',
344
+ 'SubHeader-filterInput_hiddenClearButton',
345
+ 'SubHeader-hiddenOnExpand',
346
+ 'SubHeader-leftPane',
347
+ 'SubHeader-middlePane',
348
+ 'SubHeader-rightPane',
349
+ 'Subhead',
350
+ 'Subhead--spacious',
351
+ 'Subhead-actions',
352
+ 'Subhead-description',
353
+ 'Subhead-heading',
354
+ 'Subhead-heading--danger',
355
+ 'Subhead-heading--large',
356
+ 'Subhead-heading--medium',
357
+ 'TimelineItem',
358
+ 'TimelineItem--condensed',
359
+ 'TimelineItem-avatar',
360
+ 'TimelineItem-badge',
361
+ 'TimelineItem-badge--success',
362
+ 'TimelineItem-body',
363
+ 'TimelineItem-break',
364
+ 'ToggleSwitch',
365
+ 'ToggleSwitch--checked',
366
+ 'ToggleSwitch--disabled',
367
+ 'ToggleSwitch--small',
368
+ 'ToggleSwitch--statusAtEnd',
369
+ 'ToggleSwitch-circleIcon',
370
+ 'ToggleSwitch-icons',
371
+ 'ToggleSwitch-knob',
372
+ 'ToggleSwitch-lineIcon',
373
+ 'ToggleSwitch-status',
374
+ 'ToggleSwitch-statusIcon',
375
+ 'ToggleSwitch-statusOff',
376
+ 'ToggleSwitch-statusOn',
377
+ 'ToggleSwitch-track',
378
+ 'TreeItemSkeletonTextStyles',
379
+ 'TreeViewFailureMessage',
380
+ 'TreeViewItem',
381
+ 'TreeViewItem-singleSelectCheckmark',
382
+ 'TreeViewItemCheckbox',
383
+ 'TreeViewItemContainer',
384
+ 'TreeViewItemContent',
385
+ 'TreeViewItemContentText',
386
+ 'TreeViewItemLeadingAction',
387
+ 'TreeViewItemLevelLine',
388
+ 'TreeViewItemToggle',
389
+ 'TreeViewItemToggleEnd',
390
+ 'TreeViewItemToggleHover',
391
+ 'TreeViewItemTrailingAction',
392
+ 'TreeViewItemVisual',
393
+ 'TreeViewRootUlStyles',
394
+ 'TreeViewSkeletonItemContainerStyle',
395
+ 'TreeViewVisuallyHidden',
396
+ 'Truncate',
397
+ 'Truncate-text',
398
+ 'Truncate-text--expandable',
399
+ 'Truncate-text--primary',
400
+ 'UnderlineNav',
401
+ 'UnderlineNav--full',
402
+ 'UnderlineNav--right',
403
+ 'UnderlineNav-actions',
404
+ 'UnderlineNav-body',
405
+ 'UnderlineNav-container',
406
+ 'UnderlineNav-item',
407
+ 'UnderlineNav-octicon',
408
+ 'alert',
409
+ 'autocomplete-body',
410
+ 'autocomplete-embedded-icon-wrap',
411
+ 'autocomplete-item',
412
+ 'autocomplete-label-inline',
413
+ 'autocomplete-label-stacked',
414
+ 'autocomplete-results',
415
+ 'avatar',
416
+ 'avatar-1',
417
+ 'avatar-2',
418
+ 'avatar-3',
419
+ 'avatar-4',
420
+ 'avatar-5',
421
+ 'avatar-6',
422
+ 'avatar-7',
423
+ 'avatar-8',
424
+ 'avatar-group-item',
425
+ 'avatar-link',
426
+ 'avatar-more',
427
+ 'avatar-small',
428
+ 'blankslate',
429
+ 'blankslate-action',
430
+ 'blankslate-capped',
431
+ 'blankslate-clean-background',
432
+ 'blankslate-container',
433
+ 'blankslate-description',
434
+ 'blankslate-heading',
435
+ 'blankslate-icon',
436
+ 'blankslate-image',
437
+ 'blankslate-large',
438
+ 'blankslate-narrow',
439
+ 'blankslate-spacious',
440
+ 'breadcrumb-item',
441
+ 'breadcrumb-item-selected',
442
+ 'btn',
443
+ 'btn-large-mktg',
444
+ 'btn-link',
445
+ 'btn-mktg',
446
+ 'btn-muted-mktg',
447
+ 'btn-octicon',
448
+ 'btn-primary',
449
+ 'btn-signup-mktg',
450
+ 'btn-small-mktg',
451
+ 'btn-subtle-mktg',
452
+ 'close-button',
453
+ 'css-truncate',
454
+ 'css-truncate-overflow',
455
+ 'css-truncate-target',
456
+ 'disabled',
457
+ 'dropdown',
458
+ 'dropdown-caret',
459
+ 'dropdown-divider',
460
+ 'dropdown-header',
461
+ 'dropdown-item',
462
+ 'dropdown-menu',
463
+ 'dropdown-menu-e',
464
+ 'dropdown-menu-ne',
465
+ 'dropdown-menu-no-overflow',
466
+ 'dropdown-menu-s',
467
+ 'dropdown-menu-se',
468
+ 'dropdown-menu-sw',
469
+ 'dropdown-menu-w',
470
+ 'dropdown-signout',
471
+ 'expandable',
472
+ 'flash',
473
+ 'flash-action',
474
+ 'flash-banner',
475
+ 'flash-close',
476
+ 'flash-error',
477
+ 'flash-full',
478
+ 'flash-messages',
479
+ 'flash-success',
480
+ 'flash-warn',
481
+ 'form-control',
482
+ 'has-modal',
483
+ 'has-modal-disable-scroll',
484
+ 'is-dragging',
485
+ 'label',
486
+ 'labels',
487
+ 'menu',
488
+ 'menu-heading',
489
+ 'menu-item',
490
+ 'menu-warning',
491
+ 'navigation-focus',
492
+ 'not-anchored',
493
+ 'octicon',
494
+ 'octicon-check',
495
+ 'selected',
496
+ 'sortable-chosen',
497
+ 'sortable-ghost',
498
+ 'state',
499
+ 'tabnav',
500
+ 'tabnav-btn',
501
+ 'tabnav-extra',
502
+ 'tabnav-tab',
503
+ 'tabnav-tabs',
504
+ 'unread',
505
+ 'warning',
506
+ 'zeroclipboard-is-hover',
507
+ ])
508
+
509
+ export default classNames