@ncino/web-components 1.0.0 → 1.1.0-preview.10
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/README.md +42 -0
- package/dist/assets/index-chunk10.js +1 -1
- package/dist/assets/index-chunk5.js +1 -1
- package/dist/assets/index-chunk9.js +1 -1
- package/dist/components/accordion/accordion.js +1 -0
- package/dist/components/accordion/gator/base/accordion.gator.js +26 -0
- package/dist/components/accordion/gator/group/accordion-group.gator.js +5 -0
- package/dist/components/alert/gator/base/alert.gator.js +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/boolean/boolean.gator.js +2 -2
- package/dist/components/boolean/index.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/gator/button.gator.js +8 -4
- package/dist/components/button/slds/button.slds.js +2 -2
- package/dist/components/card/gator/title/card-title.gator.js +2 -2
- package/dist/components/checkbox/checkbox.gator.js +5 -5
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +10 -13
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/chip/gator/chip.gator.js +5 -5
- package/dist/components/combobox/base/combobox.js +1 -1
- package/dist/components/combobox/base/combobox.slds.js +10 -10
- package/dist/components/combobox/base/index.js +1 -1
- package/dist/components/combobox/combobox-item/index.js +1 -1
- package/dist/components/combobox/combobox.types.js +1 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/display-card/index.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/index.js +1 -1
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon/gator/index.js +1 -1
- package/dist/components/icon/gator/templates/arrow-left.js +16 -0
- package/dist/components/icon/gator/templates/chevron-down.js +13 -0
- package/dist/components/icon/gator/templates/chevron-up.js +13 -0
- package/dist/components/icon/gator/templates/eye-crossed.js +6 -0
- package/dist/components/icon/gator/templates/index.js +1 -1
- package/dist/components/icon/icon-list.gator.js +10 -0
- package/dist/components/icon/index.js +1 -1
- package/dist/components/input/base/input-base.js +1 -1
- package/dist/components/input/gator/help-text/help-text.gator.js +2 -2
- package/dist/components/input/gator/input-text/input-text.gator.js +35 -0
- package/dist/components/input/index.js +1 -1
- package/dist/components/menu/base/index.js +1 -1
- package/dist/components/menu/base/slds/menu.slds.js +3 -5
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/menu-item/gator/menu-item.gator.js +5 -5
- package/dist/components/menu/menu-item/index.js +1 -1
- package/dist/components/menu/menu-item/menu-item.js +1 -1
- package/dist/components/menu/menu-item/slds/menu-item.slds.js +3 -3
- package/dist/components/menu/menu-submenu/index.js +1 -1
- package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
- package/dist/components/menu/menu-submenu/menu-submenu.slds.js +7 -9
- package/dist/components/modal/gator/modal.gator.js +79 -0
- package/dist/components/modal/index.js +1 -0
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/radio.gator.js +5 -5
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +1 -1
- package/dist/components/selection-box/index.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/index.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +8 -8
- package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
- package/dist/components/toast/gator/toast.gator.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooltip/gator/tooltip.gator.js +10 -4
- package/dist/components/tooltip/index.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.slds.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +23 -0
- package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +18 -0
- package/dist/types/components/accordion/gator/base/accordion.gator.test.d.ts +0 -0
- package/dist/types/components/accordion/gator/group/accordion-group.gator.d.ts +26 -0
- package/dist/types/components/accordion/gator/group/accordion-group.gator.test.d.ts +0 -0
- package/dist/types/components/button/button.d.ts +11 -1
- package/dist/types/components/button/gator/button.gator.d.ts +8 -2
- package/dist/types/components/checkbox/checkbox.gator.d.ts +6 -0
- package/dist/types/components/checkbox-group/checkbox-group.gator.d.ts +5 -0
- package/dist/types/components/chip/chip.d.ts +5 -0
- package/dist/types/components/chip/gator/chip.gator.d.ts +1 -0
- package/dist/types/components/combobox/base/combobox.d.ts +6 -1
- package/dist/types/components/combobox/base/combobox.slds.d.ts +2 -0
- package/dist/types/components/combobox/combobox-item/combobox-item.d.ts +0 -4
- package/dist/types/components/combobox/combobox-item/combobox-item.slds.d.ts +2 -2
- package/dist/types/components/combobox/combobox.types.d.ts +4 -0
- package/dist/types/components/combobox/index.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/arrow-left.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/chevron-down.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/chevron-up.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/eye-crossed.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/index.d.ts +4 -0
- package/dist/types/components/icon/icon-list.gator.d.ts +9 -0
- package/dist/types/components/input/base/input-base.d.ts +10 -0
- package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +21 -0
- package/dist/types/components/input/gator/input-text/input-text.gator.test.d.ts +0 -0
- package/dist/types/components/input/index.d.ts +1 -0
- package/dist/types/components/menu/base/slds/menu.slds.d.ts +4 -1
- package/dist/types/components/menu/base/slds/menu.slds.test.d.ts +0 -0
- package/dist/types/components/menu/menu-item/gator/menu-item.gator.d.ts +0 -3
- package/dist/types/components/menu/menu-item/menu-item.d.ts +3 -0
- package/dist/types/components/menu/menu-item/slds/menu-item.slds.test.d.ts +0 -0
- package/dist/types/components/menu/menu-submenu/menu-submenu.d.ts +1 -1
- package/dist/types/components/menu/menu-submenu/menu-submenu.slds.test.d.ts +0 -0
- package/dist/types/components/modal/gator/modal.gator.d.ts +27 -0
- package/dist/types/components/modal/gator/modal.gator.test.d.ts +0 -0
- package/dist/types/components/modal/index.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +34 -0
- package/dist/types/components/tooltip/gator/tooltip.gator.d.ts +5 -2
- package/dist/types/components/tooltip/gator/tooltip.gator.test.d.ts +0 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.gator.d.ts +4 -3
- package/dist/types/utils/components/slot-placeholder/index.d.ts +1 -0
- package/dist/types/utils/components/slot-placeholder/slot-placeholder.d.ts +4 -0
- package/dist/types/utils/storybook-utils.d.ts +2 -1
- package/dist/types/utils/string-utils.d.ts +1 -0
- package/dist/utils/components/slot-placeholder/index.js +1 -0
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +5 -0
- package/package.json +34 -30
- package/web-types.json +386 -85
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0-preview.9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -160,42 +160,6 @@
|
|
|
160
160
|
"events": []
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
-
{
|
|
164
|
-
"name": "ngc-banner",
|
|
165
|
-
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The content within the banner",
|
|
166
|
-
"doc-url": "",
|
|
167
|
-
"attributes": [
|
|
168
|
-
{
|
|
169
|
-
"name": "variant",
|
|
170
|
-
"value": {
|
|
171
|
-
"type": "'info' | 'warning' | 'error' | 'success'",
|
|
172
|
-
"default": "'info'"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "aria-label",
|
|
177
|
-
"value": { "type": "string", "default": "''" }
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"slots": [
|
|
181
|
-
{ "name": "", "description": "The content within the banner" }
|
|
182
|
-
],
|
|
183
|
-
"events": [],
|
|
184
|
-
"js": {
|
|
185
|
-
"properties": [
|
|
186
|
-
{ "name": "contentRef", "type": "Ref<HTMLDivElement>" },
|
|
187
|
-
{ "name": "hasActions", "type": "boolean" },
|
|
188
|
-
{ "name": "variantClass" },
|
|
189
|
-
{ "name": "iconMarkup" },
|
|
190
|
-
{
|
|
191
|
-
"name": "variant",
|
|
192
|
-
"type": "'info' | 'warning' | 'error' | 'success'"
|
|
193
|
-
},
|
|
194
|
-
{ "name": "ariaLabel", "type": "string" }
|
|
195
|
-
],
|
|
196
|
-
"events": []
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
163
|
{
|
|
200
164
|
"name": "nsc-badge",
|
|
201
165
|
"description": "\n---\n",
|
|
@@ -255,6 +219,42 @@
|
|
|
255
219
|
"events": []
|
|
256
220
|
}
|
|
257
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"name": "ngc-banner",
|
|
224
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The content within the banner",
|
|
225
|
+
"doc-url": "",
|
|
226
|
+
"attributes": [
|
|
227
|
+
{
|
|
228
|
+
"name": "variant",
|
|
229
|
+
"value": {
|
|
230
|
+
"type": "'info' | 'warning' | 'error' | 'success'",
|
|
231
|
+
"default": "'info'"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "aria-label",
|
|
236
|
+
"value": { "type": "string", "default": "''" }
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"slots": [
|
|
240
|
+
{ "name": "", "description": "The content within the banner" }
|
|
241
|
+
],
|
|
242
|
+
"events": [],
|
|
243
|
+
"js": {
|
|
244
|
+
"properties": [
|
|
245
|
+
{ "name": "contentRef", "type": "Ref<HTMLDivElement>" },
|
|
246
|
+
{ "name": "hasActions", "type": "boolean" },
|
|
247
|
+
{ "name": "variantClass" },
|
|
248
|
+
{ "name": "iconMarkup" },
|
|
249
|
+
{
|
|
250
|
+
"name": "variant",
|
|
251
|
+
"type": "'info' | 'warning' | 'error' | 'success'"
|
|
252
|
+
},
|
|
253
|
+
{ "name": "ariaLabel", "type": "string" }
|
|
254
|
+
],
|
|
255
|
+
"events": []
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
258
|
{
|
|
259
259
|
"name": "ngc-radio",
|
|
260
260
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
@@ -442,8 +442,15 @@
|
|
|
442
442
|
{
|
|
443
443
|
"name": "variant",
|
|
444
444
|
"value": {
|
|
445
|
-
"type": " | '
|
|
446
|
-
"default": "'
|
|
445
|
+
"type": " | 'primary' | 'secondary' | 'text-link' | 'icon'",
|
|
446
|
+
"default": "'primary'"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "size",
|
|
451
|
+
"value": {
|
|
452
|
+
"type": " | 'small' | 'medium' | 'large' | 'x-large'",
|
|
453
|
+
"default": "'medium'"
|
|
447
454
|
}
|
|
448
455
|
},
|
|
449
456
|
{
|
|
@@ -453,6 +460,10 @@
|
|
|
453
460
|
{
|
|
454
461
|
"name": "data-testid",
|
|
455
462
|
"value": { "type": "string", "default": "''" }
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "icon-name",
|
|
466
|
+
"value": { "type": "string", "default": "''" }
|
|
456
467
|
}
|
|
457
468
|
],
|
|
458
469
|
"events": [],
|
|
@@ -460,10 +471,15 @@
|
|
|
460
471
|
"properties": [
|
|
461
472
|
{
|
|
462
473
|
"name": "variant",
|
|
463
|
-
"type": " | '
|
|
474
|
+
"type": " | 'primary' | 'secondary' | 'text-link' | 'icon'"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "size",
|
|
478
|
+
"type": " | 'small' | 'medium' | 'large' | 'x-large'"
|
|
464
479
|
},
|
|
465
480
|
{ "name": "disabled", "type": "boolean" },
|
|
466
|
-
{ "name": "dataTestid", "type": "string" }
|
|
481
|
+
{ "name": "dataTestid", "type": "string" },
|
|
482
|
+
{ "name": "iconName", "type": "string" }
|
|
467
483
|
],
|
|
468
484
|
"events": []
|
|
469
485
|
}
|
|
@@ -476,8 +492,15 @@
|
|
|
476
492
|
{
|
|
477
493
|
"name": "variant",
|
|
478
494
|
"value": {
|
|
479
|
-
"type": " | '
|
|
480
|
-
"default": "'
|
|
495
|
+
"type": " | 'primary' | 'secondary' | 'text-link' | 'icon'",
|
|
496
|
+
"default": "'primary'"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "size",
|
|
501
|
+
"value": {
|
|
502
|
+
"type": " | 'small' | 'medium' | 'large' | 'x-large'",
|
|
503
|
+
"default": "'medium'"
|
|
481
504
|
}
|
|
482
505
|
},
|
|
483
506
|
{
|
|
@@ -487,6 +510,10 @@
|
|
|
487
510
|
{
|
|
488
511
|
"name": "data-testid",
|
|
489
512
|
"value": { "type": "string", "default": "''" }
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "icon-name",
|
|
516
|
+
"value": { "type": "string", "default": "''" }
|
|
490
517
|
}
|
|
491
518
|
],
|
|
492
519
|
"slots": [
|
|
@@ -496,19 +523,26 @@
|
|
|
496
523
|
"js": {
|
|
497
524
|
"properties": [
|
|
498
525
|
{ "name": "variantClass" },
|
|
526
|
+
{ "name": "sizeClass" },
|
|
527
|
+
{ "name": "gatorButtonIconMarkup" },
|
|
499
528
|
{
|
|
500
529
|
"name": "variant",
|
|
501
|
-
"type": " | '
|
|
530
|
+
"type": " | 'primary' | 'secondary' | 'text-link' | 'icon'"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "size",
|
|
534
|
+
"type": " | 'small' | 'medium' | 'large' | 'x-large'"
|
|
502
535
|
},
|
|
503
536
|
{ "name": "disabled", "type": "boolean" },
|
|
504
|
-
{ "name": "dataTestid", "type": "string" }
|
|
537
|
+
{ "name": "dataTestid", "type": "string" },
|
|
538
|
+
{ "name": "iconName", "type": "string" }
|
|
505
539
|
],
|
|
506
540
|
"events": []
|
|
507
541
|
}
|
|
508
542
|
},
|
|
509
543
|
{
|
|
510
544
|
"name": "ngc-chip",
|
|
511
|
-
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The content within the button",
|
|
545
|
+
"description": "\n---\n\n\n### **Events:**\n - **click**\n\n### **Slots:**\n - _default_ - The content within the button",
|
|
512
546
|
"doc-url": "",
|
|
513
547
|
"attributes": [
|
|
514
548
|
{
|
|
@@ -518,20 +552,25 @@
|
|
|
518
552
|
{
|
|
519
553
|
"name": "readonly",
|
|
520
554
|
"value": { "type": "boolean", "default": "false" }
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "data-testid",
|
|
558
|
+
"value": { "type": "string", "default": "''" }
|
|
521
559
|
}
|
|
522
560
|
],
|
|
523
561
|
"slots": [
|
|
524
562
|
{ "name": "", "description": "The content within the button" }
|
|
525
563
|
],
|
|
526
|
-
"events": [],
|
|
564
|
+
"events": [{ "name": "click", "type": "Event" }],
|
|
527
565
|
"js": {
|
|
528
566
|
"properties": [
|
|
529
567
|
{ "name": "chipMarkup" },
|
|
530
568
|
{ "name": "readonlyChipMarkup" },
|
|
531
569
|
{ "name": "disabled", "type": "boolean" },
|
|
532
|
-
{ "name": "readonly", "type": "boolean" }
|
|
570
|
+
{ "name": "readonly", "type": "boolean" },
|
|
571
|
+
{ "name": "dataTestid", "type": "string" }
|
|
533
572
|
],
|
|
534
|
-
"events": []
|
|
573
|
+
"events": [{ "name": "click", "type": "Event" }]
|
|
535
574
|
}
|
|
536
575
|
},
|
|
537
576
|
{
|
|
@@ -729,6 +768,10 @@
|
|
|
729
768
|
{
|
|
730
769
|
"name": "has-error",
|
|
731
770
|
"value": { "type": "boolean", "default": "false" }
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "data-testid",
|
|
774
|
+
"value": { "type": "string", "default": "''" }
|
|
732
775
|
}
|
|
733
776
|
],
|
|
734
777
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
@@ -740,6 +783,7 @@
|
|
|
740
783
|
{ "name": "selected", "type": "boolean" },
|
|
741
784
|
{ "name": "disabled", "type": "boolean" },
|
|
742
785
|
{ "name": "hasError", "type": "boolean" },
|
|
786
|
+
{ "name": "dataTestid", "type": "string" },
|
|
743
787
|
{ "name": "elementId" },
|
|
744
788
|
{ "name": "labelContent" }
|
|
745
789
|
],
|
|
@@ -751,6 +795,10 @@
|
|
|
751
795
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
752
796
|
"doc-url": "",
|
|
753
797
|
"attributes": [
|
|
798
|
+
{
|
|
799
|
+
"name": "data-testid",
|
|
800
|
+
"value": { "type": "string", "default": "''" }
|
|
801
|
+
},
|
|
754
802
|
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
755
803
|
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
756
804
|
{
|
|
@@ -781,6 +829,7 @@
|
|
|
781
829
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
782
830
|
"js": {
|
|
783
831
|
"properties": [
|
|
832
|
+
{ "name": "dataTestid", "type": "string" },
|
|
784
833
|
{ "name": "id", "type": "string" },
|
|
785
834
|
{ "name": "label", "type": "string" },
|
|
786
835
|
{ "name": "helpText", "type": "string" },
|
|
@@ -937,6 +986,67 @@
|
|
|
937
986
|
"events": []
|
|
938
987
|
}
|
|
939
988
|
},
|
|
989
|
+
{
|
|
990
|
+
"name": "ngc-input-text",
|
|
991
|
+
"description": "\n---\n",
|
|
992
|
+
"doc-url": "",
|
|
993
|
+
"attributes": [
|
|
994
|
+
{ "name": "for", "value": { "type": "string", "default": "''" } },
|
|
995
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
996
|
+
{
|
|
997
|
+
"name": "required",
|
|
998
|
+
"value": { "type": "boolean", "default": "false" }
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "disabled",
|
|
1002
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1003
|
+
},
|
|
1004
|
+
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
1005
|
+
{
|
|
1006
|
+
"name": "placeholder",
|
|
1007
|
+
"value": { "type": "string", "default": "''" }
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "value",
|
|
1011
|
+
"value": { "type": "string | number | undefined | null" }
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "error-text",
|
|
1015
|
+
"value": { "type": "string", "default": "''" }
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "type",
|
|
1019
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "icon-right",
|
|
1023
|
+
"value": { "type": "string", "default": "''" }
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"events": [],
|
|
1027
|
+
"js": {
|
|
1028
|
+
"properties": [
|
|
1029
|
+
{ "name": "_inputRef", "type": "Ref<HTMLInputElement>" },
|
|
1030
|
+
{ "name": "for", "type": "string" },
|
|
1031
|
+
{ "name": "labelMarkup" },
|
|
1032
|
+
{ "name": "isAriaInvalid" },
|
|
1033
|
+
{ "name": "errorClass" },
|
|
1034
|
+
{ "name": "errorTextMarkup" },
|
|
1035
|
+
{ "name": "iconRightMarkup" },
|
|
1036
|
+
{ "name": "passwordVisibilityMarkup" },
|
|
1037
|
+
{ "name": "id", "type": "string" },
|
|
1038
|
+
{ "name": "required", "type": "boolean" },
|
|
1039
|
+
{ "name": "disabled", "type": "boolean" },
|
|
1040
|
+
{ "name": "label", "type": "string" },
|
|
1041
|
+
{ "name": "placeholder", "type": "string" },
|
|
1042
|
+
{ "name": "value", "type": "string | number | undefined | null" },
|
|
1043
|
+
{ "name": "errorText", "type": "string" },
|
|
1044
|
+
{ "name": "type", "type": "string" },
|
|
1045
|
+
{ "name": "iconRight", "type": "string" }
|
|
1046
|
+
],
|
|
1047
|
+
"events": []
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
940
1050
|
{
|
|
941
1051
|
"name": "nsc-input-label",
|
|
942
1052
|
"description": "\n---\n",
|
|
@@ -1007,6 +1117,14 @@
|
|
|
1007
1117
|
{
|
|
1008
1118
|
"name": "error-text",
|
|
1009
1119
|
"value": { "type": "string", "default": "''" }
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "type",
|
|
1123
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "icon-right",
|
|
1127
|
+
"value": { "type": "string", "default": "''" }
|
|
1010
1128
|
}
|
|
1011
1129
|
],
|
|
1012
1130
|
"events": [],
|
|
@@ -1022,7 +1140,9 @@
|
|
|
1022
1140
|
{ "name": "label", "type": "string" },
|
|
1023
1141
|
{ "name": "placeholder", "type": "string" },
|
|
1024
1142
|
{ "name": "value", "type": "string | number | undefined | null" },
|
|
1025
|
-
{ "name": "errorText", "type": "string" }
|
|
1143
|
+
{ "name": "errorText", "type": "string" },
|
|
1144
|
+
{ "name": "type", "type": "string" },
|
|
1145
|
+
{ "name": "iconRight", "type": "string" }
|
|
1026
1146
|
],
|
|
1027
1147
|
"events": []
|
|
1028
1148
|
}
|
|
@@ -1179,7 +1299,7 @@
|
|
|
1179
1299
|
},
|
|
1180
1300
|
{
|
|
1181
1301
|
"name": "nsc-menu-item",
|
|
1182
|
-
"description": "\n---\n",
|
|
1302
|
+
"description": "\n---\n\n\n### **Events:**\n - **menuitemclick**",
|
|
1183
1303
|
"doc-url": "",
|
|
1184
1304
|
"attributes": [
|
|
1185
1305
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1189,7 +1309,7 @@
|
|
|
1189
1309
|
"value": { "type": "string", "default": "''" }
|
|
1190
1310
|
}
|
|
1191
1311
|
],
|
|
1192
|
-
"events": [],
|
|
1312
|
+
"events": [{ "name": "menuitemclick", "type": "CustomEvent" }],
|
|
1193
1313
|
"js": {
|
|
1194
1314
|
"properties": [
|
|
1195
1315
|
{ "name": "title", "type": "string" },
|
|
@@ -1199,7 +1319,7 @@
|
|
|
1199
1319
|
"type": "string"
|
|
1200
1320
|
}
|
|
1201
1321
|
],
|
|
1202
|
-
"events": []
|
|
1322
|
+
"events": [{ "name": "menuitemclick", "type": "CustomEvent" }]
|
|
1203
1323
|
}
|
|
1204
1324
|
},
|
|
1205
1325
|
{
|
|
@@ -1250,6 +1370,78 @@
|
|
|
1250
1370
|
"events": []
|
|
1251
1371
|
}
|
|
1252
1372
|
},
|
|
1373
|
+
{
|
|
1374
|
+
"name": "ngc-modal",
|
|
1375
|
+
"description": "\n---\n\n\n### **Events:**\n - **close**\n- **primary-action-click**\n- **secondary-action-click**",
|
|
1376
|
+
"doc-url": "",
|
|
1377
|
+
"attributes": [
|
|
1378
|
+
{
|
|
1379
|
+
"name": "dialog-role",
|
|
1380
|
+
"value": {
|
|
1381
|
+
"type": "'dialog' | 'alertdialog'",
|
|
1382
|
+
"default": "'dialog'"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "open",
|
|
1387
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "variant",
|
|
1391
|
+
"value": {
|
|
1392
|
+
"type": "'decide' | 'destructive' | 'confirmation' | 'dismiss'",
|
|
1393
|
+
"default": "'dismiss'"
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "size",
|
|
1398
|
+
"value": {
|
|
1399
|
+
"type": "'small' | 'standard' | 'fullscreen'",
|
|
1400
|
+
"default": "'standard'"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
1404
|
+
{
|
|
1405
|
+
"name": "primary-action-text",
|
|
1406
|
+
"value": { "type": "string", "default": "'Save'" }
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "skeleton",
|
|
1410
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
"events": [
|
|
1414
|
+
{ "name": "close", "type": "CustomEvent" },
|
|
1415
|
+
{ "name": "primary-action-click", "type": "CustomEvent" },
|
|
1416
|
+
{ "name": "secondary-action-click", "type": "CustomEvent" }
|
|
1417
|
+
],
|
|
1418
|
+
"js": {
|
|
1419
|
+
"properties": [
|
|
1420
|
+
{ "name": "gatorModalContentLoadingMarkup" },
|
|
1421
|
+
{ "name": "gatorModalFooterMarkup" },
|
|
1422
|
+
{ "name": "footerWarningMessageMarkup" },
|
|
1423
|
+
{ "name": "footerPrimaryActionButtonMarkup" },
|
|
1424
|
+
{ "name": "primaryButtonDestructiveClass" },
|
|
1425
|
+
{ "name": "footerSecondaryActionButtonMarkup" },
|
|
1426
|
+
{ "name": "actionButtonLoaderMarkup" },
|
|
1427
|
+
{ "name": "dialogRole", "type": "'dialog' | 'alertdialog'" },
|
|
1428
|
+
{ "name": "open", "type": "boolean" },
|
|
1429
|
+
{
|
|
1430
|
+
"name": "variant",
|
|
1431
|
+
"type": "'decide' | 'destructive' | 'confirmation' | 'dismiss'"
|
|
1432
|
+
},
|
|
1433
|
+
{ "name": "size", "type": "'small' | 'standard' | 'fullscreen'" },
|
|
1434
|
+
{ "name": "title", "type": "string" },
|
|
1435
|
+
{ "name": "primaryActionText", "type": "string" },
|
|
1436
|
+
{ "name": "skeleton", "type": "boolean" }
|
|
1437
|
+
],
|
|
1438
|
+
"events": [
|
|
1439
|
+
{ "name": "close", "type": "CustomEvent" },
|
|
1440
|
+
{ "name": "primary-action-click", "type": "CustomEvent" },
|
|
1441
|
+
{ "name": "secondary-action-click", "type": "CustomEvent" }
|
|
1442
|
+
]
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1253
1445
|
{
|
|
1254
1446
|
"name": "ngc-selection-box",
|
|
1255
1447
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
@@ -1494,6 +1686,7 @@
|
|
|
1494
1686
|
{ "name": "xPositionOffset" },
|
|
1495
1687
|
{ "name": "yPositionOffset" },
|
|
1496
1688
|
{ "name": "nubbinPositionClass" },
|
|
1689
|
+
{ "name": "tooltipContent" },
|
|
1497
1690
|
{ "name": "referenceId", "type": "string" },
|
|
1498
1691
|
{ "name": "placement", "type": "Placement" },
|
|
1499
1692
|
{ "name": "xOffset", "type": "number" },
|
|
@@ -1544,38 +1737,6 @@
|
|
|
1544
1737
|
"events": []
|
|
1545
1738
|
}
|
|
1546
1739
|
},
|
|
1547
|
-
{
|
|
1548
|
-
"name": "nsc-combobox-item",
|
|
1549
|
-
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
1550
|
-
"doc-url": "",
|
|
1551
|
-
"attributes": [
|
|
1552
|
-
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
1553
|
-
{
|
|
1554
|
-
"name": "value",
|
|
1555
|
-
"value": { "type": "string | null", "default": "null" }
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"name": "search-value",
|
|
1559
|
-
"value": { "type": "string", "default": "''" }
|
|
1560
|
-
},
|
|
1561
|
-
{
|
|
1562
|
-
"name": "selected-value",
|
|
1563
|
-
"value": { "type": "string | null", "default": "null" }
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
1567
|
-
"js": {
|
|
1568
|
-
"properties": [
|
|
1569
|
-
{ "name": "_randomId" },
|
|
1570
|
-
{ "name": "boldedSearchHtml" },
|
|
1571
|
-
{ "name": "label", "type": "string" },
|
|
1572
|
-
{ "name": "value", "type": "string | null" },
|
|
1573
|
-
{ "name": "searchValue", "type": "string" },
|
|
1574
|
-
{ "name": "selectedValue", "type": "string | null" }
|
|
1575
|
-
],
|
|
1576
|
-
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
1577
|
-
}
|
|
1578
|
-
},
|
|
1579
1740
|
{
|
|
1580
1741
|
"name": "nsc-combobox",
|
|
1581
1742
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
@@ -1629,6 +1790,10 @@
|
|
|
1629
1790
|
"type": "string",
|
|
1630
1791
|
"default": "'Select an option from the picklist or remove the search term.'"
|
|
1631
1792
|
}
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "data-testid",
|
|
1796
|
+
"value": { "type": "string", "default": "''" }
|
|
1632
1797
|
}
|
|
1633
1798
|
],
|
|
1634
1799
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
@@ -1668,12 +1833,45 @@
|
|
|
1668
1833
|
{ "name": "required", "type": "boolean" },
|
|
1669
1834
|
{ "name": "valid", "type": "boolean" },
|
|
1670
1835
|
{ "name": "requiredErrorText", "type": "string" },
|
|
1836
|
+
{ "name": "dataTestid", "type": "string" },
|
|
1671
1837
|
{ "name": "displayedErrorText", "type": "string" },
|
|
1672
1838
|
{ "name": "_comboboxRef", "type": "Ref<HTMLElement>" }
|
|
1673
1839
|
],
|
|
1674
1840
|
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
1675
1841
|
}
|
|
1676
1842
|
},
|
|
1843
|
+
{
|
|
1844
|
+
"name": "nsc-combobox-item",
|
|
1845
|
+
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
1846
|
+
"doc-url": "",
|
|
1847
|
+
"attributes": [
|
|
1848
|
+
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
1849
|
+
{
|
|
1850
|
+
"name": "value",
|
|
1851
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "search-value",
|
|
1855
|
+
"value": { "type": "string", "default": "''" }
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"name": "selected-value",
|
|
1859
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1860
|
+
}
|
|
1861
|
+
],
|
|
1862
|
+
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
1863
|
+
"js": {
|
|
1864
|
+
"properties": [
|
|
1865
|
+
{ "name": "_randomId" },
|
|
1866
|
+
{ "name": "boldedSearchHtml" },
|
|
1867
|
+
{ "name": "label", "type": "string" },
|
|
1868
|
+
{ "name": "value", "type": "string | null" },
|
|
1869
|
+
{ "name": "searchValue", "type": "string" },
|
|
1870
|
+
{ "name": "selectedValue", "type": "string | null" }
|
|
1871
|
+
],
|
|
1872
|
+
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1677
1875
|
{
|
|
1678
1876
|
"name": "nsc-input-rich-text",
|
|
1679
1877
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
@@ -1735,6 +1933,14 @@
|
|
|
1735
1933
|
"events": []
|
|
1736
1934
|
}
|
|
1737
1935
|
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "ngc-icon-list",
|
|
1938
|
+
"description": "An element that renders all of the icons in the icon registry.\nThis component is not distributed as part of the library, but is useful for\ndevelopment and testing.\n---\n",
|
|
1939
|
+
"doc-url": "",
|
|
1940
|
+
"attributes": [],
|
|
1941
|
+
"events": [],
|
|
1942
|
+
"js": { "properties": [], "events": [] }
|
|
1943
|
+
},
|
|
1738
1944
|
{
|
|
1739
1945
|
"name": "nsc-pill",
|
|
1740
1946
|
"description": "\n---\n\n\n### **Events:**\n - **remove**",
|
|
@@ -1782,6 +1988,101 @@
|
|
|
1782
1988
|
],
|
|
1783
1989
|
"events": []
|
|
1784
1990
|
}
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"name": "njc-slot-placeholder",
|
|
1994
|
+
"description": "\n---\n",
|
|
1995
|
+
"doc-url": "",
|
|
1996
|
+
"attributes": [],
|
|
1997
|
+
"events": [],
|
|
1998
|
+
"js": { "properties": [], "events": [] }
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "ngc-accordion",
|
|
2002
|
+
"description": "\n---\n\n\n### **Events:**\n - **eventName**\n\n### **Slots:**\n - _default_ - The content within the expandable body of the accordion",
|
|
2003
|
+
"doc-url": "",
|
|
2004
|
+
"attributes": [
|
|
2005
|
+
{
|
|
2006
|
+
"name": "is-expanded",
|
|
2007
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2008
|
+
},
|
|
2009
|
+
{ "name": "title", "value": { "type": "String", "default": "''" } },
|
|
2010
|
+
{
|
|
2011
|
+
"name": "subtitle",
|
|
2012
|
+
"value": { "type": "String", "default": "''" }
|
|
2013
|
+
},
|
|
2014
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
2015
|
+
{
|
|
2016
|
+
"name": "headingLevel",
|
|
2017
|
+
"value": { "type": "string", "default": "''" }
|
|
2018
|
+
}
|
|
2019
|
+
],
|
|
2020
|
+
"slots": [
|
|
2021
|
+
{
|
|
2022
|
+
"name": "",
|
|
2023
|
+
"description": "The content within the expandable body of the accordion"
|
|
2024
|
+
}
|
|
2025
|
+
],
|
|
2026
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }],
|
|
2027
|
+
"js": {
|
|
2028
|
+
"properties": [
|
|
2029
|
+
{ "name": "headerMarkup" },
|
|
2030
|
+
{ "name": "iconName" },
|
|
2031
|
+
{ "name": "contentId" },
|
|
2032
|
+
{ "name": "headerId" },
|
|
2033
|
+
{ "name": "isExpanded", "type": "boolean" },
|
|
2034
|
+
{ "name": "title", "type": "String" },
|
|
2035
|
+
{ "name": "subtitle", "type": "String" },
|
|
2036
|
+
{ "name": "id", "type": "string" },
|
|
2037
|
+
{ "name": "elementId" },
|
|
2038
|
+
{ "name": "headingLevel", "type": "string" }
|
|
2039
|
+
],
|
|
2040
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }]
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"name": "ngc-accordion-group",
|
|
2045
|
+
"description": "\n---\n\n\n### **Events:**\n - **eventName**\n\n### **Slots:**\n - _default_ - Accordion elements to be rendered within the accordion group",
|
|
2046
|
+
"doc-url": "",
|
|
2047
|
+
"attributes": [
|
|
2048
|
+
{
|
|
2049
|
+
"name": "multiple",
|
|
2050
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "headingLevel",
|
|
2054
|
+
"value": { "type": "string", "default": "''" }
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"name": "is-expanded",
|
|
2058
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2059
|
+
},
|
|
2060
|
+
{ "name": "title", "value": { "type": "String", "default": "''" } },
|
|
2061
|
+
{
|
|
2062
|
+
"name": "subtitle",
|
|
2063
|
+
"value": { "type": "String", "default": "''" }
|
|
2064
|
+
},
|
|
2065
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } }
|
|
2066
|
+
],
|
|
2067
|
+
"slots": [
|
|
2068
|
+
{
|
|
2069
|
+
"name": "",
|
|
2070
|
+
"description": "Accordion elements to be rendered within the accordion group"
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }],
|
|
2074
|
+
"js": {
|
|
2075
|
+
"properties": [
|
|
2076
|
+
{ "name": "multiple", "type": "boolean" },
|
|
2077
|
+
{ "name": "headingLevel", "type": "string" },
|
|
2078
|
+
{ "name": "isExpanded", "type": "boolean" },
|
|
2079
|
+
{ "name": "title", "type": "String" },
|
|
2080
|
+
{ "name": "subtitle", "type": "String" },
|
|
2081
|
+
{ "name": "id", "type": "string" },
|
|
2082
|
+
{ "name": "elementId" }
|
|
2083
|
+
],
|
|
2084
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }]
|
|
2085
|
+
}
|
|
1785
2086
|
}
|
|
1786
2087
|
]
|
|
1787
2088
|
},
|