@warp-ds/elements 2.2.0-next.17 → 2.2.0-next.19
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 +18 -0
- package/dist/custom-elements.json +2574 -1052
- package/dist/index.d.ts +1819 -103
- package/dist/packages/pagination/index.js +7 -7
- package/dist/packages/pagination/index.js.map +3 -3
- package/dist/packages/pagination/styles.js +1 -1
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +143 -193
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +3 -3
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +244 -311
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +3 -3
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.js +180 -102
- package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
- package/dist/packages/tabs/tab-panel.js +2440 -50
- package/dist/packages/tabs/tab-panel.js.map +7 -0
- package/dist/packages/tabs/tab.js +2451 -91
- package/dist/packages/tabs/tab.js.map +7 -0
- package/dist/packages/tabs/tabs.js +2444 -234
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.stories.js +2473 -12
- package/dist/packages/tabs/tabs.stories.js.map +7 -0
- package/dist/vscode.html-custom-data.json +206 -18
- package/dist/web-types.json +435 -35
- package/package.json +3 -3
|
@@ -103,7 +103,9 @@
|
|
|
103
103
|
"package": "lit"
|
|
104
104
|
},
|
|
105
105
|
"tagName": "w-affix",
|
|
106
|
-
"customElement": true
|
|
106
|
+
"customElement": true,
|
|
107
|
+
"modulePath": "packages/affix/index.ts",
|
|
108
|
+
"definitionPath": "packages/affix/index.ts"
|
|
107
109
|
}
|
|
108
110
|
],
|
|
109
111
|
"exports": [
|
|
@@ -141,105 +143,6 @@
|
|
|
141
143
|
}
|
|
142
144
|
]
|
|
143
145
|
},
|
|
144
|
-
{
|
|
145
|
-
"kind": "javascript-module",
|
|
146
|
-
"path": "packages/alert/index.ts",
|
|
147
|
-
"declarations": [
|
|
148
|
-
{
|
|
149
|
-
"kind": "class",
|
|
150
|
-
"description": "Alert is an inline component used for displaying different types of messages.\n\nFor accessibility reasons, alert should appear close to the element that triggered it.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)",
|
|
151
|
-
"name": "WarpAlert",
|
|
152
|
-
"members": [
|
|
153
|
-
{
|
|
154
|
-
"kind": "field",
|
|
155
|
-
"name": "variant",
|
|
156
|
-
"type": {
|
|
157
|
-
"text": "AlertVariants"
|
|
158
|
-
},
|
|
159
|
-
"default": "'info'",
|
|
160
|
-
"attribute": "variant",
|
|
161
|
-
"reflects": true,
|
|
162
|
-
"parsedType": {
|
|
163
|
-
"text": "'negative' | 'positive' | 'warning' | 'info'"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"kind": "field",
|
|
168
|
-
"name": "show",
|
|
169
|
-
"type": {
|
|
170
|
-
"text": "boolean"
|
|
171
|
-
},
|
|
172
|
-
"default": "false",
|
|
173
|
-
"attribute": "show",
|
|
174
|
-
"reflects": true
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"kind": "field",
|
|
178
|
-
"name": "role",
|
|
179
|
-
"type": {
|
|
180
|
-
"text": "string"
|
|
181
|
-
},
|
|
182
|
-
"default": "'alert'",
|
|
183
|
-
"attribute": "role",
|
|
184
|
-
"reflects": true
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"attributes": [
|
|
188
|
-
{
|
|
189
|
-
"name": "variant",
|
|
190
|
-
"type": {
|
|
191
|
-
"text": "AlertVariants"
|
|
192
|
-
},
|
|
193
|
-
"default": "'info'",
|
|
194
|
-
"fieldName": "variant",
|
|
195
|
-
"parsedType": {
|
|
196
|
-
"text": "'negative' | 'positive' | 'warning' | 'info'"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"name": "show",
|
|
201
|
-
"type": {
|
|
202
|
-
"text": "boolean"
|
|
203
|
-
},
|
|
204
|
-
"default": "false",
|
|
205
|
-
"fieldName": "show"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"name": "role",
|
|
209
|
-
"type": {
|
|
210
|
-
"text": "string"
|
|
211
|
-
},
|
|
212
|
-
"default": "'alert'",
|
|
213
|
-
"fieldName": "role"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"superclass": {
|
|
217
|
-
"name": "LitElement",
|
|
218
|
-
"package": "lit"
|
|
219
|
-
},
|
|
220
|
-
"tagName": "w-alert",
|
|
221
|
-
"customElement": true
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
"exports": [
|
|
225
|
-
{
|
|
226
|
-
"kind": "custom-element-definition",
|
|
227
|
-
"name": "w-alert",
|
|
228
|
-
"declaration": {
|
|
229
|
-
"name": "WarpAlert",
|
|
230
|
-
"module": "packages/alert/index.ts"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "js",
|
|
235
|
-
"name": "WarpAlert",
|
|
236
|
-
"declaration": {
|
|
237
|
-
"name": "WarpAlert",
|
|
238
|
-
"module": "packages/alert/index.ts"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
146
|
{
|
|
244
147
|
"kind": "javascript-module",
|
|
245
148
|
"path": "packages/utils/index.js",
|
|
@@ -475,27 +378,45 @@
|
|
|
475
378
|
},
|
|
476
379
|
{
|
|
477
380
|
"kind": "method",
|
|
478
|
-
"name": "handleDone"
|
|
381
|
+
"name": "handleDone",
|
|
382
|
+
"type": {
|
|
383
|
+
"text": "handleDone() => void"
|
|
384
|
+
}
|
|
479
385
|
},
|
|
480
386
|
{
|
|
481
387
|
"kind": "method",
|
|
482
|
-
"name": "pointingAtDirection"
|
|
388
|
+
"name": "pointingAtDirection",
|
|
389
|
+
"type": {
|
|
390
|
+
"text": "pointingAtDirection() => void"
|
|
391
|
+
}
|
|
483
392
|
},
|
|
484
393
|
{
|
|
485
394
|
"kind": "method",
|
|
486
|
-
"name": "activeAttentionType"
|
|
395
|
+
"name": "activeAttentionType",
|
|
396
|
+
"type": {
|
|
397
|
+
"text": "activeAttentionType() => void"
|
|
398
|
+
}
|
|
487
399
|
},
|
|
488
400
|
{
|
|
489
401
|
"kind": "method",
|
|
490
|
-
"name": "defaultAriaLabel"
|
|
402
|
+
"name": "defaultAriaLabel",
|
|
403
|
+
"type": {
|
|
404
|
+
"text": "defaultAriaLabel() => void"
|
|
405
|
+
}
|
|
491
406
|
},
|
|
492
407
|
{
|
|
493
408
|
"kind": "method",
|
|
494
|
-
"name": "setAriaLabels"
|
|
409
|
+
"name": "setAriaLabels",
|
|
410
|
+
"type": {
|
|
411
|
+
"text": "setAriaLabels() => void"
|
|
412
|
+
}
|
|
495
413
|
},
|
|
496
414
|
{
|
|
497
415
|
"kind": "method",
|
|
498
|
-
"name": "close"
|
|
416
|
+
"name": "close",
|
|
417
|
+
"type": {
|
|
418
|
+
"text": "close() => void"
|
|
419
|
+
}
|
|
499
420
|
},
|
|
500
421
|
{
|
|
501
422
|
"kind": "method",
|
|
@@ -507,7 +428,10 @@
|
|
|
507
428
|
"text": "KeyboardEvent"
|
|
508
429
|
}
|
|
509
430
|
}
|
|
510
|
-
]
|
|
431
|
+
],
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "keypressed(e: KeyboardEvent) => void"
|
|
434
|
+
}
|
|
511
435
|
},
|
|
512
436
|
{
|
|
513
437
|
"kind": "field",
|
|
@@ -628,7 +552,9 @@
|
|
|
628
552
|
"package": "lit"
|
|
629
553
|
},
|
|
630
554
|
"tagName": "w-attention",
|
|
631
|
-
"customElement": true
|
|
555
|
+
"customElement": true,
|
|
556
|
+
"modulePath": "packages/attention/index.ts",
|
|
557
|
+
"definitionPath": "packages/attention/index.ts"
|
|
632
558
|
}
|
|
633
559
|
],
|
|
634
560
|
"exports": [
|
|
@@ -658,6 +584,107 @@
|
|
|
658
584
|
}
|
|
659
585
|
]
|
|
660
586
|
},
|
|
587
|
+
{
|
|
588
|
+
"kind": "javascript-module",
|
|
589
|
+
"path": "packages/alert/index.ts",
|
|
590
|
+
"declarations": [
|
|
591
|
+
{
|
|
592
|
+
"kind": "class",
|
|
593
|
+
"description": "Alert is an inline component used for displaying different types of messages.\n\nFor accessibility reasons, alert should appear close to the element that triggered it.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)",
|
|
594
|
+
"name": "WarpAlert",
|
|
595
|
+
"members": [
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "variant",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "AlertVariants"
|
|
601
|
+
},
|
|
602
|
+
"default": "'info'",
|
|
603
|
+
"attribute": "variant",
|
|
604
|
+
"reflects": true,
|
|
605
|
+
"parsedType": {
|
|
606
|
+
"text": "'negative' | 'positive' | 'warning' | 'info'"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"kind": "field",
|
|
611
|
+
"name": "show",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "boolean"
|
|
614
|
+
},
|
|
615
|
+
"default": "false",
|
|
616
|
+
"attribute": "show",
|
|
617
|
+
"reflects": true
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "field",
|
|
621
|
+
"name": "role",
|
|
622
|
+
"type": {
|
|
623
|
+
"text": "string"
|
|
624
|
+
},
|
|
625
|
+
"default": "'alert'",
|
|
626
|
+
"attribute": "role",
|
|
627
|
+
"reflects": true
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"attributes": [
|
|
631
|
+
{
|
|
632
|
+
"name": "variant",
|
|
633
|
+
"type": {
|
|
634
|
+
"text": "AlertVariants"
|
|
635
|
+
},
|
|
636
|
+
"default": "'info'",
|
|
637
|
+
"fieldName": "variant",
|
|
638
|
+
"parsedType": {
|
|
639
|
+
"text": "'negative' | 'positive' | 'warning' | 'info'"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "show",
|
|
644
|
+
"type": {
|
|
645
|
+
"text": "boolean"
|
|
646
|
+
},
|
|
647
|
+
"default": "false",
|
|
648
|
+
"fieldName": "show"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "role",
|
|
652
|
+
"type": {
|
|
653
|
+
"text": "string"
|
|
654
|
+
},
|
|
655
|
+
"default": "'alert'",
|
|
656
|
+
"fieldName": "role"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"superclass": {
|
|
660
|
+
"name": "LitElement",
|
|
661
|
+
"package": "lit"
|
|
662
|
+
},
|
|
663
|
+
"tagName": "w-alert",
|
|
664
|
+
"customElement": true,
|
|
665
|
+
"modulePath": "packages/alert/index.ts",
|
|
666
|
+
"definitionPath": "packages/alert/index.ts"
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"exports": [
|
|
670
|
+
{
|
|
671
|
+
"kind": "custom-element-definition",
|
|
672
|
+
"name": "w-alert",
|
|
673
|
+
"declaration": {
|
|
674
|
+
"name": "WarpAlert",
|
|
675
|
+
"module": "packages/alert/index.ts"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"kind": "js",
|
|
680
|
+
"name": "WarpAlert",
|
|
681
|
+
"declaration": {
|
|
682
|
+
"name": "WarpAlert",
|
|
683
|
+
"module": "packages/alert/index.ts"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
661
688
|
{
|
|
662
689
|
"kind": "javascript-module",
|
|
663
690
|
"path": "packages/badge/index.ts",
|
|
@@ -709,7 +736,9 @@
|
|
|
709
736
|
"package": "lit"
|
|
710
737
|
},
|
|
711
738
|
"tagName": "w-badge",
|
|
712
|
-
"customElement": true
|
|
739
|
+
"customElement": true,
|
|
740
|
+
"modulePath": "packages/badge/index.ts",
|
|
741
|
+
"definitionPath": "packages/badge/index.ts"
|
|
713
742
|
}
|
|
714
743
|
],
|
|
715
744
|
"exports": [
|
|
@@ -828,7 +857,9 @@
|
|
|
828
857
|
"package": "lit"
|
|
829
858
|
},
|
|
830
859
|
"tagName": "w-box",
|
|
831
|
-
"customElement": true
|
|
860
|
+
"customElement": true,
|
|
861
|
+
"modulePath": "packages/box/index.ts",
|
|
862
|
+
"definitionPath": "packages/box/index.ts"
|
|
832
863
|
}
|
|
833
864
|
],
|
|
834
865
|
"exports": [
|
|
@@ -890,7 +921,9 @@
|
|
|
890
921
|
"package": "lit"
|
|
891
922
|
},
|
|
892
923
|
"tagName": "w-breadcrumbs",
|
|
893
|
-
"customElement": true
|
|
924
|
+
"customElement": true,
|
|
925
|
+
"modulePath": "packages/breadcrumbs/index.ts",
|
|
926
|
+
"definitionPath": "packages/breadcrumbs/index.ts"
|
|
894
927
|
}
|
|
895
928
|
],
|
|
896
929
|
"exports": [
|
|
@@ -1143,7 +1176,9 @@
|
|
|
1143
1176
|
"package": "lit"
|
|
1144
1177
|
},
|
|
1145
1178
|
"tagName": "w-link",
|
|
1146
|
-
"customElement": true
|
|
1179
|
+
"customElement": true,
|
|
1180
|
+
"modulePath": "packages/link/index.ts",
|
|
1181
|
+
"definitionPath": "packages/link/index.ts"
|
|
1147
1182
|
}
|
|
1148
1183
|
],
|
|
1149
1184
|
"exports": [
|
|
@@ -1433,7 +1468,9 @@
|
|
|
1433
1468
|
"package": "lit"
|
|
1434
1469
|
},
|
|
1435
1470
|
"tagName": "w-button",
|
|
1436
|
-
"customElement": true
|
|
1471
|
+
"customElement": true,
|
|
1472
|
+
"modulePath": "packages/button/index.ts",
|
|
1473
|
+
"definitionPath": "packages/button/index.ts"
|
|
1437
1474
|
}
|
|
1438
1475
|
],
|
|
1439
1476
|
"exports": [
|
|
@@ -1518,7 +1555,10 @@
|
|
|
1518
1555
|
"text": "KeyboardEvent"
|
|
1519
1556
|
}
|
|
1520
1557
|
}
|
|
1521
|
-
]
|
|
1558
|
+
],
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "keypressed(e: KeyboardEvent) => void"
|
|
1561
|
+
}
|
|
1522
1562
|
},
|
|
1523
1563
|
{
|
|
1524
1564
|
"kind": "field",
|
|
@@ -1556,7 +1596,9 @@
|
|
|
1556
1596
|
"package": "lit"
|
|
1557
1597
|
},
|
|
1558
1598
|
"tagName": "w-card",
|
|
1559
|
-
"customElement": true
|
|
1599
|
+
"customElement": true,
|
|
1600
|
+
"modulePath": "packages/card/index.ts",
|
|
1601
|
+
"definitionPath": "packages/card/index.ts"
|
|
1560
1602
|
}
|
|
1561
1603
|
],
|
|
1562
1604
|
"exports": [
|
|
@@ -2127,7 +2169,9 @@
|
|
|
2127
2169
|
"package": "lit"
|
|
2128
2170
|
},
|
|
2129
2171
|
"tagName": "w-combobox",
|
|
2130
|
-
"customElement": true
|
|
2172
|
+
"customElement": true,
|
|
2173
|
+
"modulePath": "packages/combobox/index.ts",
|
|
2174
|
+
"definitionPath": "packages/combobox/index.ts"
|
|
2131
2175
|
}
|
|
2132
2176
|
],
|
|
2133
2177
|
"exports": [
|
|
@@ -2496,7 +2540,9 @@
|
|
|
2496
2540
|
"package": "lit"
|
|
2497
2541
|
},
|
|
2498
2542
|
"tagName": "w-datepicker",
|
|
2499
|
-
"customElement": true
|
|
2543
|
+
"customElement": true,
|
|
2544
|
+
"modulePath": "packages/datepicker/datepicker.ts",
|
|
2545
|
+
"definitionPath": "packages/datepicker/datepicker.ts"
|
|
2500
2546
|
}
|
|
2501
2547
|
],
|
|
2502
2548
|
"exports": [
|
|
@@ -2621,7 +2667,9 @@
|
|
|
2621
2667
|
"package": "lit"
|
|
2622
2668
|
},
|
|
2623
2669
|
"tagName": "w-dead-toggle",
|
|
2624
|
-
"customElement": true
|
|
2670
|
+
"customElement": true,
|
|
2671
|
+
"modulePath": "packages/dead-toggle/index.ts",
|
|
2672
|
+
"definitionPath": "packages/dead-toggle/index.ts"
|
|
2625
2673
|
}
|
|
2626
2674
|
],
|
|
2627
2675
|
"exports": [
|
|
@@ -2898,7 +2946,9 @@
|
|
|
2898
2946
|
"package": "lit"
|
|
2899
2947
|
},
|
|
2900
2948
|
"tagName": "w-expandable",
|
|
2901
|
-
"customElement": true
|
|
2949
|
+
"customElement": true,
|
|
2950
|
+
"modulePath": "packages/expandable/index.ts",
|
|
2951
|
+
"definitionPath": "packages/expandable/index.ts"
|
|
2902
2952
|
}
|
|
2903
2953
|
],
|
|
2904
2954
|
"exports": [
|
|
@@ -2960,7 +3010,9 @@
|
|
|
2960
3010
|
"package": "lit"
|
|
2961
3011
|
},
|
|
2962
3012
|
"tagName": "w-modal-footer",
|
|
2963
|
-
"customElement": true
|
|
3013
|
+
"customElement": true,
|
|
3014
|
+
"modulePath": "packages/modal/modal-footer.ts",
|
|
3015
|
+
"definitionPath": "packages/modal/modal-footer.ts"
|
|
2964
3016
|
}
|
|
2965
3017
|
],
|
|
2966
3018
|
"exports": [
|
|
@@ -3045,7 +3097,10 @@
|
|
|
3045
3097
|
},
|
|
3046
3098
|
{
|
|
3047
3099
|
"kind": "method",
|
|
3048
|
-
"name": "emitBack"
|
|
3100
|
+
"name": "emitBack",
|
|
3101
|
+
"type": {
|
|
3102
|
+
"text": "emitBack() => void"
|
|
3103
|
+
}
|
|
3049
3104
|
},
|
|
3050
3105
|
{
|
|
3051
3106
|
"kind": "method",
|
|
@@ -3054,7 +3109,10 @@
|
|
|
3054
3109
|
{
|
|
3055
3110
|
"name": "slotEvent"
|
|
3056
3111
|
}
|
|
3057
|
-
]
|
|
3112
|
+
],
|
|
3113
|
+
"type": {
|
|
3114
|
+
"text": "handleTopSlotChange(slotEvent) => void"
|
|
3115
|
+
}
|
|
3058
3116
|
}
|
|
3059
3117
|
],
|
|
3060
3118
|
"events": [
|
|
@@ -3099,7 +3157,9 @@
|
|
|
3099
3157
|
"package": "lit"
|
|
3100
3158
|
},
|
|
3101
3159
|
"tagName": "w-modal-header",
|
|
3102
|
-
"customElement": true
|
|
3160
|
+
"customElement": true,
|
|
3161
|
+
"modulePath": "packages/modal/modal-header.ts",
|
|
3162
|
+
"definitionPath": "packages/modal/modal-header.ts"
|
|
3103
3163
|
}
|
|
3104
3164
|
],
|
|
3105
3165
|
"exports": [
|
|
@@ -3191,11 +3251,17 @@
|
|
|
3191
3251
|
},
|
|
3192
3252
|
{
|
|
3193
3253
|
"kind": "method",
|
|
3194
|
-
"name": "open"
|
|
3254
|
+
"name": "open",
|
|
3255
|
+
"type": {
|
|
3256
|
+
"text": "open() => void"
|
|
3257
|
+
}
|
|
3195
3258
|
},
|
|
3196
3259
|
{
|
|
3197
3260
|
"kind": "method",
|
|
3198
|
-
"name": "close"
|
|
3261
|
+
"name": "close",
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "close() => void"
|
|
3264
|
+
}
|
|
3199
3265
|
},
|
|
3200
3266
|
{
|
|
3201
3267
|
"kind": "method",
|
|
@@ -3205,7 +3271,10 @@
|
|
|
3205
3271
|
"name": "verb",
|
|
3206
3272
|
"default": "'addEventListener'"
|
|
3207
3273
|
}
|
|
3208
|
-
]
|
|
3274
|
+
],
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "handleListeners(verb = 'addEventListener') => void"
|
|
3277
|
+
}
|
|
3209
3278
|
},
|
|
3210
3279
|
{
|
|
3211
3280
|
"kind": "method",
|
|
@@ -3217,7 +3286,10 @@
|
|
|
3217
3286
|
"text": "Event"
|
|
3218
3287
|
}
|
|
3219
3288
|
}
|
|
3220
|
-
]
|
|
3289
|
+
],
|
|
3290
|
+
"type": {
|
|
3291
|
+
"text": "eventPreventer(evt: Event) => void"
|
|
3292
|
+
}
|
|
3221
3293
|
},
|
|
3222
3294
|
{
|
|
3223
3295
|
"kind": "method",
|
|
@@ -3229,7 +3301,10 @@
|
|
|
3229
3301
|
"text": "MouseEvent"
|
|
3230
3302
|
}
|
|
3231
3303
|
}
|
|
3232
|
-
]
|
|
3304
|
+
],
|
|
3305
|
+
"type": {
|
|
3306
|
+
"text": "closeOnBackdropClick(evt: MouseEvent) => void"
|
|
3307
|
+
}
|
|
3233
3308
|
},
|
|
3234
3309
|
{
|
|
3235
3310
|
"kind": "method",
|
|
@@ -3241,11 +3316,17 @@
|
|
|
3241
3316
|
"text": "KeyboardEvent"
|
|
3242
3317
|
}
|
|
3243
3318
|
}
|
|
3244
|
-
]
|
|
3319
|
+
],
|
|
3320
|
+
"type": {
|
|
3321
|
+
"text": "interceptEscape(evt: KeyboardEvent) => void"
|
|
3322
|
+
}
|
|
3245
3323
|
},
|
|
3246
3324
|
{
|
|
3247
3325
|
"kind": "method",
|
|
3248
|
-
"name": "modifyBorderRadius"
|
|
3326
|
+
"name": "modifyBorderRadius",
|
|
3327
|
+
"type": {
|
|
3328
|
+
"text": "modifyBorderRadius() => void"
|
|
3329
|
+
}
|
|
3249
3330
|
}
|
|
3250
3331
|
],
|
|
3251
3332
|
"events": [
|
|
@@ -3296,7 +3377,9 @@
|
|
|
3296
3377
|
"package": "lit"
|
|
3297
3378
|
},
|
|
3298
3379
|
"tagName": "w-modal",
|
|
3299
|
-
"customElement": true
|
|
3380
|
+
"customElement": true,
|
|
3381
|
+
"modulePath": "packages/modal/modal-main.ts",
|
|
3382
|
+
"definitionPath": "packages/modal/modal-main.ts"
|
|
3300
3383
|
}
|
|
3301
3384
|
],
|
|
3302
3385
|
"exports": [
|
|
@@ -3420,7 +3503,9 @@
|
|
|
3420
3503
|
"package": "lit"
|
|
3421
3504
|
},
|
|
3422
3505
|
"tagName": "w-pageindicator",
|
|
3423
|
-
"customElement": true
|
|
3506
|
+
"customElement": true,
|
|
3507
|
+
"modulePath": "packages/pageindicator/index.ts",
|
|
3508
|
+
"definitionPath": "packages/pageindicator/index.ts"
|
|
3424
3509
|
}
|
|
3425
3510
|
],
|
|
3426
3511
|
"exports": [
|
|
@@ -3549,7 +3634,9 @@
|
|
|
3549
3634
|
"package": "lit"
|
|
3550
3635
|
},
|
|
3551
3636
|
"tagName": "w-pagination",
|
|
3552
|
-
"customElement": true
|
|
3637
|
+
"customElement": true,
|
|
3638
|
+
"modulePath": "packages/pagination/index.ts",
|
|
3639
|
+
"definitionPath": "packages/pagination/index.ts"
|
|
3553
3640
|
}
|
|
3554
3641
|
],
|
|
3555
3642
|
"exports": [
|
|
@@ -3716,7 +3803,9 @@
|
|
|
3716
3803
|
"package": "lit"
|
|
3717
3804
|
},
|
|
3718
3805
|
"tagName": "w-pill",
|
|
3719
|
-
"customElement": true
|
|
3806
|
+
"customElement": true,
|
|
3807
|
+
"modulePath": "packages/pill/index.ts",
|
|
3808
|
+
"definitionPath": "packages/pill/index.ts"
|
|
3720
3809
|
}
|
|
3721
3810
|
],
|
|
3722
3811
|
"exports": [
|
|
@@ -3748,133 +3837,98 @@
|
|
|
3748
3837
|
},
|
|
3749
3838
|
{
|
|
3750
3839
|
"kind": "javascript-module",
|
|
3751
|
-
"path": "packages/rip-and-tear-checkbox/
|
|
3752
|
-
"declarations": [
|
|
3753
|
-
"exports": [
|
|
3754
|
-
{
|
|
3755
|
-
"kind": "custom-element-definition",
|
|
3756
|
-
"name": "w-checkbox",
|
|
3757
|
-
"declaration": {
|
|
3758
|
-
"name": "WCheckbox",
|
|
3759
|
-
"module": "/packages/rip-and-tear-checkbox/checkbox"
|
|
3760
|
-
}
|
|
3761
|
-
}
|
|
3762
|
-
]
|
|
3763
|
-
},
|
|
3764
|
-
{
|
|
3765
|
-
"kind": "javascript-module",
|
|
3766
|
-
"path": "packages/rip-and-tear-radio/index.ts",
|
|
3767
|
-
"declarations": [],
|
|
3768
|
-
"exports": [
|
|
3769
|
-
{
|
|
3770
|
-
"kind": "custom-element-definition",
|
|
3771
|
-
"name": "w-radio",
|
|
3772
|
-
"declaration": {
|
|
3773
|
-
"name": "WRadio",
|
|
3774
|
-
"module": "/packages/rip-and-tear-radio/radio"
|
|
3775
|
-
}
|
|
3776
|
-
},
|
|
3777
|
-
{
|
|
3778
|
-
"kind": "custom-element-definition",
|
|
3779
|
-
"name": "w-radio-group",
|
|
3780
|
-
"declaration": {
|
|
3781
|
-
"name": "WRadioGroup",
|
|
3782
|
-
"module": "/packages/rip-and-tear-radio/radio-group"
|
|
3783
|
-
}
|
|
3784
|
-
}
|
|
3785
|
-
]
|
|
3786
|
-
},
|
|
3787
|
-
{
|
|
3788
|
-
"kind": "javascript-module",
|
|
3789
|
-
"path": "packages/select/index.ts",
|
|
3790
|
-
"declarations": [
|
|
3791
|
-
{
|
|
3792
|
-
"kind": "variable",
|
|
3793
|
-
"name": "ccSelect",
|
|
3794
|
-
"type": {
|
|
3795
|
-
"text": "object"
|
|
3796
|
-
},
|
|
3797
|
-
"default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border-strong hover:s-border-strong-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper: `relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none `, chevron: 'block absolute top-[30%] right-0 bottom-0 w-32 h-full s-icon pointer-events-none cursor-pointer', chevronDisabled: 'opacity-25', }"
|
|
3798
|
-
},
|
|
3799
|
-
{
|
|
3800
|
-
"kind": "variable",
|
|
3801
|
-
"name": "ccLabel",
|
|
3802
|
-
"type": {
|
|
3803
|
-
"text": "object"
|
|
3804
|
-
},
|
|
3805
|
-
"default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
|
|
3806
|
-
},
|
|
3807
|
-
{
|
|
3808
|
-
"kind": "variable",
|
|
3809
|
-
"name": "ccHelpText",
|
|
3810
|
-
"type": {
|
|
3811
|
-
"text": "object"
|
|
3812
|
-
},
|
|
3813
|
-
"default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
|
|
3814
|
-
},
|
|
3840
|
+
"path": "packages/rip-and-tear-checkbox/checkbox.ts",
|
|
3841
|
+
"declarations": [
|
|
3815
3842
|
{
|
|
3816
3843
|
"kind": "class",
|
|
3817
|
-
"description": "
|
|
3818
|
-
"name": "
|
|
3844
|
+
"description": "",
|
|
3845
|
+
"name": "WCheckbox",
|
|
3819
3846
|
"members": [
|
|
3820
3847
|
{
|
|
3821
3848
|
"kind": "field",
|
|
3822
|
-
"name": "
|
|
3849
|
+
"name": "css",
|
|
3823
3850
|
"type": {
|
|
3824
|
-
"text": "
|
|
3851
|
+
"text": "array"
|
|
3825
3852
|
},
|
|
3826
|
-
"
|
|
3827
|
-
"
|
|
3828
|
-
"reflects": true
|
|
3853
|
+
"static": true,
|
|
3854
|
+
"default": "[styles]"
|
|
3829
3855
|
},
|
|
3830
3856
|
{
|
|
3831
3857
|
"kind": "field",
|
|
3832
|
-
"name": "
|
|
3858
|
+
"name": "shadowRootOptions",
|
|
3833
3859
|
"type": {
|
|
3834
|
-
"text": "
|
|
3860
|
+
"text": "object"
|
|
3835
3861
|
},
|
|
3836
|
-
"
|
|
3837
|
-
"
|
|
3838
|
-
"reflects": true
|
|
3862
|
+
"static": true,
|
|
3863
|
+
"default": "{ ...BaseFormAssociatedElement.shadowRootOptions, delegatesFocus: true }"
|
|
3839
3864
|
},
|
|
3840
3865
|
{
|
|
3841
3866
|
"kind": "field",
|
|
3842
|
-
"name": "
|
|
3867
|
+
"name": "validators",
|
|
3868
|
+
"static": true,
|
|
3869
|
+
"readonly": true
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
"kind": "field",
|
|
3873
|
+
"name": "hasSlotController",
|
|
3874
|
+
"privacy": "private",
|
|
3875
|
+
"readonly": true,
|
|
3876
|
+
"default": "new HasSlotController(this, 'hint')"
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"kind": "field",
|
|
3880
|
+
"name": "input",
|
|
3843
3881
|
"type": {
|
|
3844
|
-
"text": "
|
|
3882
|
+
"text": "HTMLInputElement"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "field",
|
|
3887
|
+
"name": "title",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "string"
|
|
3845
3890
|
},
|
|
3846
|
-
"
|
|
3847
|
-
"attribute": "
|
|
3848
|
-
"reflects": true
|
|
3891
|
+
"default": "''",
|
|
3892
|
+
"attribute": "title"
|
|
3849
3893
|
},
|
|
3850
3894
|
{
|
|
3851
3895
|
"kind": "field",
|
|
3852
|
-
"name": "
|
|
3896
|
+
"name": "name",
|
|
3853
3897
|
"type": {
|
|
3854
3898
|
"text": "string"
|
|
3855
3899
|
},
|
|
3856
|
-
"
|
|
3857
|
-
"
|
|
3900
|
+
"default": "''",
|
|
3901
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
3902
|
+
"attribute": "name",
|
|
3858
3903
|
"reflects": true
|
|
3859
3904
|
},
|
|
3860
3905
|
{
|
|
3861
3906
|
"kind": "field",
|
|
3862
|
-
"name": "
|
|
3907
|
+
"name": "_value",
|
|
3863
3908
|
"type": {
|
|
3864
|
-
"text": "string"
|
|
3909
|
+
"text": "string | null"
|
|
3865
3910
|
},
|
|
3866
|
-
"
|
|
3867
|
-
|
|
3911
|
+
"privacy": "private"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"kind": "field",
|
|
3915
|
+
"name": "value",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "string | null"
|
|
3918
|
+
},
|
|
3919
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
3920
|
+
"attribute": "value",
|
|
3868
3921
|
"reflects": true
|
|
3869
3922
|
},
|
|
3870
3923
|
{
|
|
3871
3924
|
"kind": "field",
|
|
3872
|
-
"name": "
|
|
3925
|
+
"name": "size",
|
|
3873
3926
|
"type": {
|
|
3874
|
-
"text": "
|
|
3927
|
+
"text": "'small' | 'medium' | 'large'"
|
|
3875
3928
|
},
|
|
3876
|
-
"
|
|
3877
|
-
"
|
|
3929
|
+
"default": "'medium'",
|
|
3930
|
+
"description": "The checkbox's size.",
|
|
3931
|
+
"attribute": "size",
|
|
3878
3932
|
"reflects": true
|
|
3879
3933
|
},
|
|
3880
3934
|
{
|
|
@@ -3883,673 +3937,540 @@
|
|
|
3883
3937
|
"type": {
|
|
3884
3938
|
"text": "boolean"
|
|
3885
3939
|
},
|
|
3886
|
-
"
|
|
3887
|
-
"
|
|
3940
|
+
"default": "false",
|
|
3941
|
+
"description": "Disables the checkbox.",
|
|
3942
|
+
"attribute": "disabled"
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"kind": "field",
|
|
3946
|
+
"name": "indeterminate",
|
|
3947
|
+
"type": {
|
|
3948
|
+
"text": "boolean"
|
|
3949
|
+
},
|
|
3950
|
+
"default": "false",
|
|
3951
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
3952
|
+
"attribute": "indeterminate",
|
|
3888
3953
|
"reflects": true
|
|
3889
3954
|
},
|
|
3890
3955
|
{
|
|
3891
3956
|
"kind": "field",
|
|
3892
|
-
"name": "
|
|
3957
|
+
"name": "checked",
|
|
3893
3958
|
"type": {
|
|
3894
3959
|
"text": "boolean"
|
|
3895
3960
|
},
|
|
3896
|
-
"description": "
|
|
3897
|
-
|
|
3961
|
+
"description": "Draws the checkbox in a checked state."
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "field",
|
|
3965
|
+
"name": "defaultChecked",
|
|
3966
|
+
"type": {
|
|
3967
|
+
"text": "boolean"
|
|
3968
|
+
},
|
|
3969
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
3970
|
+
"attribute": "checked",
|
|
3898
3971
|
"reflects": true
|
|
3899
3972
|
},
|
|
3900
3973
|
{
|
|
3901
3974
|
"kind": "field",
|
|
3902
|
-
"name": "
|
|
3975
|
+
"name": "form",
|
|
3903
3976
|
"type": {
|
|
3904
|
-
"text": "
|
|
3977
|
+
"text": "null"
|
|
3905
3978
|
},
|
|
3906
|
-
"
|
|
3979
|
+
"default": "null",
|
|
3980
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
3981
|
+
"attribute": "form",
|
|
3907
3982
|
"reflects": true
|
|
3908
3983
|
},
|
|
3909
3984
|
{
|
|
3910
3985
|
"kind": "field",
|
|
3911
|
-
"name": "
|
|
3986
|
+
"name": "required",
|
|
3912
3987
|
"type": {
|
|
3913
|
-
"text": "
|
|
3988
|
+
"text": "boolean"
|
|
3914
3989
|
},
|
|
3915
|
-
"
|
|
3990
|
+
"default": "false",
|
|
3991
|
+
"description": "Makes the checkbox a required field.",
|
|
3992
|
+
"attribute": "required",
|
|
3916
3993
|
"reflects": true
|
|
3917
3994
|
},
|
|
3995
|
+
{
|
|
3996
|
+
"kind": "field",
|
|
3997
|
+
"name": "hint",
|
|
3998
|
+
"type": {
|
|
3999
|
+
"text": "string"
|
|
4000
|
+
},
|
|
4001
|
+
"default": "''",
|
|
4002
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4003
|
+
"attribute": "hint"
|
|
4004
|
+
},
|
|
3918
4005
|
{
|
|
3919
4006
|
"kind": "method",
|
|
3920
|
-
"name": "
|
|
3921
|
-
"
|
|
3922
|
-
{
|
|
3923
|
-
"name": "event",
|
|
3924
|
-
"type": {
|
|
3925
|
-
"text": "KeyboardEvent"
|
|
3926
|
-
}
|
|
3927
|
-
}
|
|
3928
|
-
]
|
|
4007
|
+
"name": "handleClick",
|
|
4008
|
+
"privacy": "private"
|
|
3929
4009
|
},
|
|
3930
4010
|
{
|
|
3931
|
-
"kind": "
|
|
3932
|
-
"name": "
|
|
3933
|
-
"
|
|
3934
|
-
|
|
4011
|
+
"kind": "method",
|
|
4012
|
+
"name": "handleDefaultCheckedChange",
|
|
4013
|
+
"type": {
|
|
4014
|
+
"text": "handleDefaultCheckedChange() => void"
|
|
4015
|
+
}
|
|
3935
4016
|
},
|
|
3936
4017
|
{
|
|
3937
|
-
"kind": "
|
|
3938
|
-
"name": "
|
|
3939
|
-
"
|
|
3940
|
-
|
|
4018
|
+
"kind": "method",
|
|
4019
|
+
"name": "handleValueOrCheckedChange",
|
|
4020
|
+
"type": {
|
|
4021
|
+
"text": "handleValueOrCheckedChange() => void"
|
|
4022
|
+
}
|
|
3941
4023
|
},
|
|
3942
4024
|
{
|
|
3943
|
-
"kind": "
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3946
|
-
|
|
4025
|
+
"kind": "method",
|
|
4026
|
+
"name": "handleStateChange",
|
|
4027
|
+
"type": {
|
|
4028
|
+
"text": "handleStateChange() => void"
|
|
4029
|
+
}
|
|
3947
4030
|
},
|
|
3948
4031
|
{
|
|
3949
|
-
"kind": "
|
|
3950
|
-
"name": "
|
|
3951
|
-
"
|
|
3952
|
-
|
|
4032
|
+
"kind": "method",
|
|
4033
|
+
"name": "handleDisabledChange",
|
|
4034
|
+
"type": {
|
|
4035
|
+
"text": "handleDisabledChange() => void"
|
|
4036
|
+
}
|
|
3953
4037
|
},
|
|
3954
4038
|
{
|
|
3955
|
-
"kind": "
|
|
3956
|
-
"name": "
|
|
3957
|
-
"
|
|
3958
|
-
|
|
4039
|
+
"kind": "method",
|
|
4040
|
+
"name": "formResetCallback",
|
|
4041
|
+
"type": {
|
|
4042
|
+
"text": "formResetCallback() => void"
|
|
4043
|
+
}
|
|
3959
4044
|
},
|
|
3960
4045
|
{
|
|
3961
4046
|
"kind": "method",
|
|
3962
|
-
"name": "
|
|
4047
|
+
"name": "click",
|
|
4048
|
+
"description": "Simulates a click on the checkbox.",
|
|
4049
|
+
"type": {
|
|
4050
|
+
"text": "click() => void"
|
|
4051
|
+
}
|
|
4052
|
+
},
|
|
4053
|
+
{
|
|
4054
|
+
"kind": "method",
|
|
4055
|
+
"name": "focus",
|
|
3963
4056
|
"parameters": [
|
|
3964
4057
|
{
|
|
3965
|
-
"name": "
|
|
4058
|
+
"name": "options",
|
|
4059
|
+
"optional": true,
|
|
4060
|
+
"type": {
|
|
4061
|
+
"text": "FocusOptions"
|
|
4062
|
+
}
|
|
3966
4063
|
}
|
|
3967
|
-
]
|
|
4064
|
+
],
|
|
4065
|
+
"description": "Sets focus on the checkbox.",
|
|
4066
|
+
"type": {
|
|
4067
|
+
"text": "focus(options?: FocusOptions) => void"
|
|
4068
|
+
}
|
|
3968
4069
|
},
|
|
3969
4070
|
{
|
|
3970
|
-
"kind": "
|
|
3971
|
-
"name": "
|
|
3972
|
-
"
|
|
4071
|
+
"kind": "method",
|
|
4072
|
+
"name": "blur",
|
|
4073
|
+
"description": "Removes focus from the checkbox.",
|
|
4074
|
+
"type": {
|
|
4075
|
+
"text": "blur() => void"
|
|
4076
|
+
}
|
|
4077
|
+
}
|
|
4078
|
+
],
|
|
4079
|
+
"events": [
|
|
4080
|
+
{
|
|
4081
|
+
"name": "change",
|
|
4082
|
+
"type": {
|
|
4083
|
+
"text": "Event"
|
|
4084
|
+
}
|
|
3973
4085
|
}
|
|
3974
4086
|
],
|
|
3975
4087
|
"attributes": [
|
|
3976
4088
|
{
|
|
3977
|
-
"name": "
|
|
4089
|
+
"name": "title",
|
|
3978
4090
|
"type": {
|
|
3979
|
-
"text": "
|
|
4091
|
+
"text": "string"
|
|
3980
4092
|
},
|
|
3981
|
-
"
|
|
3982
|
-
"fieldName": "
|
|
4093
|
+
"default": "''",
|
|
4094
|
+
"fieldName": "title"
|
|
3983
4095
|
},
|
|
3984
4096
|
{
|
|
3985
|
-
"name": "
|
|
4097
|
+
"name": "name",
|
|
3986
4098
|
"type": {
|
|
3987
|
-
"text": "
|
|
4099
|
+
"text": "string"
|
|
3988
4100
|
},
|
|
3989
|
-
"
|
|
3990
|
-
"
|
|
4101
|
+
"default": "''",
|
|
4102
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
4103
|
+
"fieldName": "name"
|
|
3991
4104
|
},
|
|
3992
4105
|
{
|
|
3993
|
-
"name": "
|
|
4106
|
+
"name": "value",
|
|
3994
4107
|
"type": {
|
|
3995
|
-
"text": "
|
|
4108
|
+
"text": "string | null"
|
|
3996
4109
|
},
|
|
3997
|
-
"description": "
|
|
3998
|
-
"fieldName": "
|
|
4110
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
4111
|
+
"fieldName": "value"
|
|
3999
4112
|
},
|
|
4000
4113
|
{
|
|
4001
|
-
"name": "
|
|
4114
|
+
"name": "size",
|
|
4002
4115
|
"type": {
|
|
4003
|
-
"text": "
|
|
4116
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4004
4117
|
},
|
|
4005
|
-
"
|
|
4006
|
-
"
|
|
4118
|
+
"default": "'medium'",
|
|
4119
|
+
"description": "The checkbox's size.",
|
|
4120
|
+
"fieldName": "size"
|
|
4007
4121
|
},
|
|
4008
4122
|
{
|
|
4009
|
-
"name": "
|
|
4123
|
+
"name": "disabled",
|
|
4010
4124
|
"type": {
|
|
4011
|
-
"text": "
|
|
4125
|
+
"text": "boolean"
|
|
4012
4126
|
},
|
|
4013
|
-
"
|
|
4014
|
-
"
|
|
4127
|
+
"default": "false",
|
|
4128
|
+
"description": "Disables the checkbox.",
|
|
4129
|
+
"fieldName": "disabled"
|
|
4015
4130
|
},
|
|
4016
4131
|
{
|
|
4017
|
-
"name": "
|
|
4132
|
+
"name": "indeterminate",
|
|
4018
4133
|
"type": {
|
|
4019
4134
|
"text": "boolean"
|
|
4020
4135
|
},
|
|
4021
|
-
"
|
|
4022
|
-
"
|
|
4136
|
+
"default": "false",
|
|
4137
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
4138
|
+
"fieldName": "indeterminate"
|
|
4023
4139
|
},
|
|
4024
4140
|
{
|
|
4025
|
-
"name": "
|
|
4141
|
+
"name": "checked",
|
|
4026
4142
|
"type": {
|
|
4027
4143
|
"text": "boolean"
|
|
4028
4144
|
},
|
|
4029
|
-
"description": "
|
|
4030
|
-
"fieldName": "
|
|
4145
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
4146
|
+
"fieldName": "defaultChecked"
|
|
4031
4147
|
},
|
|
4032
4148
|
{
|
|
4033
|
-
"name": "
|
|
4149
|
+
"name": "form",
|
|
4034
4150
|
"type": {
|
|
4035
|
-
"text": "
|
|
4151
|
+
"text": "null"
|
|
4036
4152
|
},
|
|
4037
|
-
"
|
|
4038
|
-
"
|
|
4039
|
-
|
|
4040
|
-
{
|
|
4041
|
-
"name": "_options",
|
|
4042
|
-
"fieldName": "_options"
|
|
4153
|
+
"default": "null",
|
|
4154
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
4155
|
+
"fieldName": "form"
|
|
4043
4156
|
},
|
|
4044
4157
|
{
|
|
4045
|
-
"name": "
|
|
4158
|
+
"name": "required",
|
|
4046
4159
|
"type": {
|
|
4047
|
-
"text": "
|
|
4160
|
+
"text": "boolean"
|
|
4048
4161
|
},
|
|
4049
|
-
"
|
|
4162
|
+
"default": "false",
|
|
4163
|
+
"description": "Makes the checkbox a required field.",
|
|
4164
|
+
"fieldName": "required"
|
|
4050
4165
|
},
|
|
4051
4166
|
{
|
|
4052
|
-
"name": "
|
|
4167
|
+
"name": "hint",
|
|
4053
4168
|
"type": {
|
|
4054
4169
|
"text": "string"
|
|
4055
4170
|
},
|
|
4056
|
-
"
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
"mixins": [
|
|
4060
|
-
{
|
|
4061
|
-
"name": "FormControlMixin",
|
|
4062
|
-
"package": "@open-wc/form-control"
|
|
4171
|
+
"default": "''",
|
|
4172
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4173
|
+
"fieldName": "hint"
|
|
4063
4174
|
}
|
|
4064
4175
|
],
|
|
4065
4176
|
"superclass": {
|
|
4066
|
-
"name": "
|
|
4067
|
-
"
|
|
4177
|
+
"name": "BaseFormAssociatedElement",
|
|
4178
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
4068
4179
|
},
|
|
4069
|
-
"tagName": "w-
|
|
4070
|
-
"customElement": true
|
|
4180
|
+
"tagName": "w-checkbox",
|
|
4181
|
+
"customElement": true,
|
|
4182
|
+
"modulePath": "packages/rip-and-tear-checkbox/checkbox.ts",
|
|
4183
|
+
"definitionPath": "packages/rip-and-tear-checkbox/index.ts"
|
|
4071
4184
|
}
|
|
4072
4185
|
],
|
|
4073
4186
|
"exports": [
|
|
4074
4187
|
{
|
|
4075
4188
|
"kind": "js",
|
|
4076
|
-
"name": "
|
|
4189
|
+
"name": "WCheckbox",
|
|
4077
4190
|
"declaration": {
|
|
4078
|
-
"name": "
|
|
4079
|
-
"module": "packages/
|
|
4191
|
+
"name": "WCheckbox",
|
|
4192
|
+
"module": "packages/rip-and-tear-checkbox/checkbox.ts"
|
|
4080
4193
|
}
|
|
4081
|
-
}
|
|
4194
|
+
}
|
|
4195
|
+
]
|
|
4196
|
+
},
|
|
4197
|
+
{
|
|
4198
|
+
"kind": "javascript-module",
|
|
4199
|
+
"path": "packages/rip-and-tear-checkbox/index.ts",
|
|
4200
|
+
"declarations": [],
|
|
4201
|
+
"exports": [
|
|
4082
4202
|
{
|
|
4083
|
-
"kind": "
|
|
4084
|
-
"name": "
|
|
4203
|
+
"kind": "custom-element-definition",
|
|
4204
|
+
"name": "w-checkbox",
|
|
4085
4205
|
"declaration": {
|
|
4086
|
-
"name": "
|
|
4087
|
-
"module": "packages/
|
|
4206
|
+
"name": "WCheckbox",
|
|
4207
|
+
"module": "/packages/rip-and-tear-checkbox/checkbox"
|
|
4088
4208
|
}
|
|
4089
|
-
}
|
|
4209
|
+
}
|
|
4210
|
+
]
|
|
4211
|
+
},
|
|
4212
|
+
{
|
|
4213
|
+
"kind": "javascript-module",
|
|
4214
|
+
"path": "packages/rip-and-tear-radio/radio-styles.ts",
|
|
4215
|
+
"declarations": [
|
|
4090
4216
|
{
|
|
4091
|
-
"kind": "
|
|
4092
|
-
"name": "
|
|
4093
|
-
"
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
},
|
|
4217
|
+
"kind": "variable",
|
|
4218
|
+
"name": "styles",
|
|
4219
|
+
"default": "css` :host { color: var(--wa-form-control-value-color); display: inline-flex; flex-direction: row; align-items: top; font-family: inherit; font-weight: var(--wa-form-control-value-font-weight); line-height: var(--wa-form-control-value-line-height); cursor: pointer; user-select: none; -webkit-user-select: none; } :host(:focus) { outline: none; } [part~='label'] { display: inline; } [part~='hint'] { margin-block-start: 0.5em; } /* Default appearance */ :host([appearance='default']) { .control { flex: 0 0 auto; position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--wa-form-control-toggle-size, 2rem); height: var(--wa-form-control-toggle-size, 2rem); border-color: var(--wa-form-control-border-color, gray); border-radius: 50%; border-style: var(--wa-form-control-border-style, solid); border-width: var(--wa-form-control-border-width, 1px); background-color: var(--wa-form-control-background-color, white); color: transparent; transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; margin-inline-end: 0.5em; } } :host([appearance='clickable']) .control { position: absolute; inset: 0; height: 100%; width: 100%; cursor: pointer; } /* Checked */ :host(:state(checked)):not(:host([appearance='clickable'])) .control { /* color: var(--checked-icon-color, white); */ border-color: var(--wa-form-control-activated-color, blue); background-color: var(--wa-form-control-background-color, white); border-width: 0.6rem; } /* Focus */ :host(:focus-visible) .control { outline: 2px solid var(--w-s-color-border-focus); outline-offset: var(--w-outline-offset, 1px); } :host([appearance='clickable']:focus-visible) .control { outline-offset: -4px; border-radius: 8px; } /* Disabled */ :host(:state(disabled)) { opacity: 0.5; cursor: not-allowed; } /* Button appearance */ :host([appearance='button']) { align-items: center; min-height: var(--wa-form-control-height); background-color: var(--wa-color-surface-default); border: var(--wa-form-control-border-width) var(--wa-form-control-border-style) var(--wa-form-control-border-color); border-radius: var(--wa-border-radius-m); padding: 0 var(--wa-form-control-padding-inline); transition: background-color var(--wa-transition-fast), border-color var(--wa-transition-fast); .control { display: none; } } /* Horizontal grouping - remove inner border radius */ :host([appearance='button'][data-wa-radio-horizontal][data-wa-radio-inner]) { border-radius: 0; } :host([appearance='button'][data-wa-radio-horizontal][data-wa-radio-first]) { border-start-end-radius: 0; border-end-end-radius: 0; } :host([appearance='button'][data-wa-radio-horizontal][data-wa-radio-last]) { border-start-start-radius: 0; border-end-start-radius: 0; } /* Vertical grouping - remove inner border radius */ :host([appearance='button'][data-wa-radio-vertical][data-wa-radio-inner]) { border-radius: 0; } :host([appearance='button'][data-wa-radio-vertical][data-wa-radio-first]) { border-end-start-radius: 0; border-end-end-radius: 0; } :host([appearance='button'][data-wa-radio-vertical][data-wa-radio-last]) { border-start-start-radius: 0; border-start-end-radius: 0; } @media (hover: hover) { :host([appearance='button']:hover:not(:state(disabled), :state(checked))) { background-color: color-mix(in srgb, var(--wa-color-surface-default) 95%, var(--wa-color-mix-hover)); } } :host([appearance='button']:focus-visible) { outline: var(--wa-focus-ring); outline-offset: var(--wa-focus-ring-offset); } :host([appearance='button']:state(checked)) { border-color: var(--wa-form-control-activated-color); background-color: var(--wa-color-brand-fill-quiet); } :host([appearance='button']:state(checked):focus-visible) { outline: var(--wa-focus-ring-style) var(--wa-focus-ring-width) var(--wa-color-brand-border-loud); outline-offset: var(--wa-focus-ring-offset); } /* Remove inner borders and handle overlap */ :host([appearance='button'][data-wa-radio-horizontal]:not([data-wa-radio-first])) { margin-inline-start: calc(-1 * var(--wa-form-control-border-width)); } :host([appearance='button'][data-wa-radio-vertical]:not([data-wa-radio-first])) { margin-block-start: calc(-1 * var(--wa-form-control-border-width)); } /* Ensure interactive states are visible above adjacent buttons */ :host([appearance='button']:hover), :host([appearance='button']:state(checked)) { position: relative; z-index: 1; } :host([appearance='button']:focus-visible) { z-index: 2; } `"
|
|
4220
|
+
}
|
|
4221
|
+
],
|
|
4222
|
+
"exports": [
|
|
4098
4223
|
{
|
|
4099
4224
|
"kind": "js",
|
|
4100
|
-
"name": "
|
|
4101
|
-
"declaration": {
|
|
4102
|
-
"name": "WarpSelect",
|
|
4103
|
-
"module": "packages/select/index.ts"
|
|
4104
|
-
}
|
|
4105
|
-
},
|
|
4106
|
-
{
|
|
4107
|
-
"kind": "custom-element-definition",
|
|
4108
|
-
"name": "w-select",
|
|
4225
|
+
"name": "styles",
|
|
4109
4226
|
"declaration": {
|
|
4110
|
-
"name": "
|
|
4111
|
-
"module": "packages/
|
|
4227
|
+
"name": "styles",
|
|
4228
|
+
"module": "packages/rip-and-tear-radio/radio-styles.ts"
|
|
4112
4229
|
}
|
|
4113
4230
|
}
|
|
4114
4231
|
]
|
|
4115
4232
|
},
|
|
4116
4233
|
{
|
|
4117
4234
|
"kind": "javascript-module",
|
|
4118
|
-
"path": "packages/
|
|
4235
|
+
"path": "packages/rip-and-tear-radio/radio.ts",
|
|
4119
4236
|
"declarations": [
|
|
4120
|
-
{
|
|
4121
|
-
"kind": "variable",
|
|
4122
|
-
"name": "ccinput",
|
|
4123
|
-
"type": {
|
|
4124
|
-
"text": "object"
|
|
4125
|
-
},
|
|
4126
|
-
"default": "{ // input classes base: 'block text-m leading-m mb-0 px-8 py-12 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] caret-current', // true default: 'border-1 s-text s-bg s-border-strong hover:s-border-strong-hover active:s-border-selected', // !isInvalid && !isDisabled && !isReadOnly disabled: 'border-1 s-text-disabled s-bg-disabled-subtle s-border-disabled pointer-events-none', // !isInvalid && isDisabled && !isReadOnly invalid: 'border-1 s-text-negative s-bg s-border-negative hover:s-border-negative-hover outline-[--w-s-color-border-negative]!', // isInvalid && !isDisabled && !isReadOnly readOnly: 'pl-0 bg-transparent pointer-events-none', // !isInvalid && !isDisabled && isReadOnly placeholder: 'placeholder:s-text-placeholder', suffix: 'pr-40', prefix: 'pl-[var(--w-prefix-width,_40px)]', // textarea classes textArea: 'min-h-[42] sm:min-h-[45]', }"
|
|
4127
|
-
},
|
|
4128
|
-
{
|
|
4129
|
-
"kind": "variable",
|
|
4130
|
-
"name": "ccLabel",
|
|
4131
|
-
"type": {
|
|
4132
|
-
"text": "object"
|
|
4133
|
-
},
|
|
4134
|
-
"default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
|
|
4135
|
-
},
|
|
4136
|
-
{
|
|
4137
|
-
"kind": "variable",
|
|
4138
|
-
"name": "ccHelpText",
|
|
4139
|
-
"type": {
|
|
4140
|
-
"text": "object"
|
|
4141
|
-
},
|
|
4142
|
-
"default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
|
|
4143
|
-
},
|
|
4144
4237
|
{
|
|
4145
4238
|
"kind": "class",
|
|
4146
|
-
"description": "
|
|
4147
|
-
"name": "
|
|
4239
|
+
"description": "",
|
|
4240
|
+
"name": "WRadio",
|
|
4148
4241
|
"members": [
|
|
4149
4242
|
{
|
|
4150
4243
|
"kind": "field",
|
|
4151
|
-
"name": "
|
|
4244
|
+
"name": "css",
|
|
4152
4245
|
"type": {
|
|
4153
|
-
"text": "
|
|
4246
|
+
"text": "array"
|
|
4154
4247
|
},
|
|
4155
4248
|
"static": true,
|
|
4156
|
-
"default": "
|
|
4157
|
-
},
|
|
4158
|
-
{
|
|
4159
|
-
"kind": "field",
|
|
4160
|
-
"name": "disabled",
|
|
4161
|
-
"type": {
|
|
4162
|
-
"text": "boolean"
|
|
4163
|
-
},
|
|
4164
|
-
"attribute": "disabled",
|
|
4165
|
-
"reflects": true
|
|
4249
|
+
"default": "[styles]"
|
|
4166
4250
|
},
|
|
4167
4251
|
{
|
|
4168
4252
|
"kind": "field",
|
|
4169
|
-
"name": "
|
|
4253
|
+
"name": "checked",
|
|
4170
4254
|
"type": {
|
|
4171
4255
|
"text": "boolean"
|
|
4172
4256
|
},
|
|
4173
|
-
"
|
|
4174
|
-
"reflects": true
|
|
4257
|
+
"default": "false"
|
|
4175
4258
|
},
|
|
4176
4259
|
{
|
|
4177
4260
|
"kind": "field",
|
|
4178
|
-
"name": "
|
|
4261
|
+
"name": "form",
|
|
4179
4262
|
"type": {
|
|
4180
|
-
"text": "string"
|
|
4263
|
+
"text": "string | null"
|
|
4181
4264
|
},
|
|
4182
|
-
"
|
|
4265
|
+
"default": "null",
|
|
4266
|
+
"description": "The string pointing to a form's id.",
|
|
4267
|
+
"attribute": "form",
|
|
4183
4268
|
"reflects": true
|
|
4184
4269
|
},
|
|
4185
4270
|
{
|
|
4186
4271
|
"kind": "field",
|
|
4187
|
-
"name": "
|
|
4272
|
+
"name": "value",
|
|
4188
4273
|
"type": {
|
|
4189
4274
|
"text": "string"
|
|
4190
4275
|
},
|
|
4191
|
-
"
|
|
4276
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4277
|
+
"attribute": "value",
|
|
4192
4278
|
"reflects": true
|
|
4193
4279
|
},
|
|
4194
4280
|
{
|
|
4195
4281
|
"kind": "field",
|
|
4196
|
-
"name": "
|
|
4282
|
+
"name": "appearance",
|
|
4197
4283
|
"type": {
|
|
4198
|
-
"text": "
|
|
4284
|
+
"text": "'default' | 'button' | 'clickable'"
|
|
4199
4285
|
},
|
|
4200
|
-
"
|
|
4286
|
+
"default": "'default'",
|
|
4287
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4288
|
+
"attribute": "appearance",
|
|
4201
4289
|
"reflects": true
|
|
4202
4290
|
},
|
|
4203
4291
|
{
|
|
4204
4292
|
"kind": "field",
|
|
4205
4293
|
"name": "size",
|
|
4206
4294
|
"type": {
|
|
4207
|
-
"text": "
|
|
4295
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4208
4296
|
},
|
|
4297
|
+
"default": "'medium'",
|
|
4298
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
4209
4299
|
"attribute": "size",
|
|
4210
4300
|
"reflects": true
|
|
4211
4301
|
},
|
|
4212
4302
|
{
|
|
4213
4303
|
"kind": "field",
|
|
4214
|
-
"name": "
|
|
4215
|
-
"type": {
|
|
4216
|
-
"text": "number"
|
|
4217
|
-
},
|
|
4218
|
-
"attribute": "max",
|
|
4219
|
-
"reflects": true
|
|
4220
|
-
},
|
|
4221
|
-
{
|
|
4222
|
-
"kind": "field",
|
|
4223
|
-
"name": "min",
|
|
4224
|
-
"type": {
|
|
4225
|
-
"text": "number"
|
|
4226
|
-
},
|
|
4227
|
-
"attribute": "min",
|
|
4228
|
-
"reflects": true
|
|
4229
|
-
},
|
|
4230
|
-
{
|
|
4231
|
-
"kind": "field",
|
|
4232
|
-
"name": "minLength",
|
|
4304
|
+
"name": "disabled",
|
|
4233
4305
|
"type": {
|
|
4234
|
-
"text": "
|
|
4306
|
+
"text": "boolean"
|
|
4235
4307
|
},
|
|
4236
|
-
"
|
|
4237
|
-
"
|
|
4308
|
+
"default": "false",
|
|
4309
|
+
"description": "Disables the radio.",
|
|
4310
|
+
"attribute": "disabled"
|
|
4238
4311
|
},
|
|
4239
4312
|
{
|
|
4240
|
-
"kind": "
|
|
4241
|
-
"name": "
|
|
4242
|
-
"
|
|
4243
|
-
"text": "number"
|
|
4244
|
-
},
|
|
4245
|
-
"attribute": "max-length",
|
|
4246
|
-
"reflects": true
|
|
4313
|
+
"kind": "method",
|
|
4314
|
+
"name": "setInitialAttributes",
|
|
4315
|
+
"privacy": "private"
|
|
4247
4316
|
},
|
|
4248
4317
|
{
|
|
4249
|
-
"kind": "
|
|
4250
|
-
"name": "
|
|
4251
|
-
"
|
|
4252
|
-
"
|
|
4318
|
+
"kind": "method",
|
|
4319
|
+
"name": "setValue",
|
|
4320
|
+
"return": {
|
|
4321
|
+
"type": {
|
|
4322
|
+
"text": "void"
|
|
4323
|
+
}
|
|
4253
4324
|
},
|
|
4254
|
-
"attribute": "pattern",
|
|
4255
|
-
"reflects": true
|
|
4256
|
-
},
|
|
4257
|
-
{
|
|
4258
|
-
"kind": "field",
|
|
4259
|
-
"name": "placeholder",
|
|
4260
4325
|
"type": {
|
|
4261
|
-
"text": "
|
|
4262
|
-
}
|
|
4263
|
-
"attribute": "placeholder",
|
|
4264
|
-
"reflects": true
|
|
4326
|
+
"text": "setValue() => void"
|
|
4327
|
+
}
|
|
4265
4328
|
},
|
|
4266
4329
|
{
|
|
4267
4330
|
"kind": "field",
|
|
4268
|
-
"name": "
|
|
4269
|
-
"
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
"reflects": true
|
|
4274
|
-
},
|
|
4331
|
+
"name": "handleClick",
|
|
4332
|
+
"privacy": "private"
|
|
4333
|
+
}
|
|
4334
|
+
],
|
|
4335
|
+
"attributes": [
|
|
4275
4336
|
{
|
|
4276
|
-
"
|
|
4277
|
-
"name": "required",
|
|
4337
|
+
"name": "form",
|
|
4278
4338
|
"type": {
|
|
4279
|
-
"text": "
|
|
4339
|
+
"text": "string | null"
|
|
4280
4340
|
},
|
|
4281
|
-
"
|
|
4282
|
-
"
|
|
4341
|
+
"default": "null",
|
|
4342
|
+
"description": "The string pointing to a form's id.",
|
|
4343
|
+
"fieldName": "form"
|
|
4283
4344
|
},
|
|
4284
4345
|
{
|
|
4285
|
-
"
|
|
4286
|
-
"name": "type",
|
|
4346
|
+
"name": "value",
|
|
4287
4347
|
"type": {
|
|
4288
4348
|
"text": "string"
|
|
4289
4349
|
},
|
|
4290
|
-
"
|
|
4291
|
-
"
|
|
4292
|
-
"reflects": true
|
|
4350
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4351
|
+
"fieldName": "value"
|
|
4293
4352
|
},
|
|
4294
4353
|
{
|
|
4295
|
-
"
|
|
4296
|
-
"name": "value",
|
|
4354
|
+
"name": "appearance",
|
|
4297
4355
|
"type": {
|
|
4298
|
-
"text": "
|
|
4356
|
+
"text": "'default' | 'button' | 'clickable'"
|
|
4299
4357
|
},
|
|
4300
|
-
"
|
|
4301
|
-
"
|
|
4358
|
+
"default": "'default'",
|
|
4359
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4360
|
+
"fieldName": "appearance"
|
|
4302
4361
|
},
|
|
4303
4362
|
{
|
|
4304
|
-
"
|
|
4305
|
-
"name": "name",
|
|
4363
|
+
"name": "size",
|
|
4306
4364
|
"type": {
|
|
4307
|
-
"text": "
|
|
4365
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4308
4366
|
},
|
|
4309
|
-
"
|
|
4310
|
-
"
|
|
4367
|
+
"default": "'medium'",
|
|
4368
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
4369
|
+
"fieldName": "size"
|
|
4311
4370
|
},
|
|
4312
4371
|
{
|
|
4313
|
-
"
|
|
4314
|
-
"name": "formatter",
|
|
4372
|
+
"name": "disabled",
|
|
4315
4373
|
"type": {
|
|
4316
|
-
"text": "
|
|
4317
|
-
},
|
|
4318
|
-
"description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html"
|
|
4319
|
-
},
|
|
4320
|
-
{
|
|
4321
|
-
"kind": "method",
|
|
4322
|
-
"name": "handler",
|
|
4323
|
-
"parameters": [
|
|
4324
|
-
{
|
|
4325
|
-
"name": "e",
|
|
4326
|
-
"type": {
|
|
4327
|
-
"text": "Event"
|
|
4328
|
-
}
|
|
4329
|
-
}
|
|
4330
|
-
]
|
|
4331
|
-
},
|
|
4332
|
-
{
|
|
4333
|
-
"kind": "method",
|
|
4334
|
-
"name": "prefixSlotChange"
|
|
4335
|
-
},
|
|
4336
|
-
{
|
|
4337
|
-
"kind": "method",
|
|
4338
|
-
"name": "suffixSlotChange"
|
|
4339
|
-
}
|
|
4340
|
-
],
|
|
4341
|
-
"attributes": [
|
|
4342
|
-
{
|
|
4343
|
-
"name": "disabled",
|
|
4344
|
-
"type": {
|
|
4345
|
-
"text": "boolean"
|
|
4374
|
+
"text": "boolean"
|
|
4346
4375
|
},
|
|
4376
|
+
"default": "false",
|
|
4377
|
+
"description": "Disables the radio.",
|
|
4347
4378
|
"fieldName": "disabled"
|
|
4348
|
-
},
|
|
4349
|
-
{
|
|
4350
|
-
"name": "invalid",
|
|
4351
|
-
"type": {
|
|
4352
|
-
"text": "boolean"
|
|
4353
|
-
},
|
|
4354
|
-
"fieldName": "invalid"
|
|
4355
|
-
},
|
|
4356
|
-
{
|
|
4357
|
-
"name": "id",
|
|
4358
|
-
"type": {
|
|
4359
|
-
"text": "string"
|
|
4360
|
-
},
|
|
4361
|
-
"fieldName": "id"
|
|
4362
|
-
},
|
|
4363
|
-
{
|
|
4364
|
-
"name": "label",
|
|
4365
|
-
"type": {
|
|
4366
|
-
"text": "string"
|
|
4367
|
-
},
|
|
4368
|
-
"fieldName": "label"
|
|
4369
|
-
},
|
|
4370
|
-
{
|
|
4371
|
-
"name": "help-text",
|
|
4372
|
-
"type": {
|
|
4373
|
-
"text": "string"
|
|
4374
|
-
},
|
|
4375
|
-
"fieldName": "helpText"
|
|
4376
|
-
},
|
|
4377
|
-
{
|
|
4378
|
-
"name": "size",
|
|
4379
|
-
"type": {
|
|
4380
|
-
"text": "string"
|
|
4381
|
-
},
|
|
4382
|
-
"fieldName": "size"
|
|
4383
|
-
},
|
|
4384
|
-
{
|
|
4385
|
-
"name": "max",
|
|
4386
|
-
"type": {
|
|
4387
|
-
"text": "number"
|
|
4388
|
-
},
|
|
4389
|
-
"fieldName": "max"
|
|
4390
|
-
},
|
|
4391
|
-
{
|
|
4392
|
-
"name": "min",
|
|
4393
|
-
"type": {
|
|
4394
|
-
"text": "number"
|
|
4395
|
-
},
|
|
4396
|
-
"fieldName": "min"
|
|
4397
|
-
},
|
|
4398
|
-
{
|
|
4399
|
-
"name": "min-length",
|
|
4400
|
-
"type": {
|
|
4401
|
-
"text": "number"
|
|
4402
|
-
},
|
|
4403
|
-
"fieldName": "minLength"
|
|
4404
|
-
},
|
|
4405
|
-
{
|
|
4406
|
-
"name": "max-length",
|
|
4407
|
-
"type": {
|
|
4408
|
-
"text": "number"
|
|
4409
|
-
},
|
|
4410
|
-
"fieldName": "maxLength"
|
|
4411
|
-
},
|
|
4412
|
-
{
|
|
4413
|
-
"name": "pattern",
|
|
4414
|
-
"type": {
|
|
4415
|
-
"text": "string"
|
|
4416
|
-
},
|
|
4417
|
-
"fieldName": "pattern"
|
|
4418
|
-
},
|
|
4419
|
-
{
|
|
4420
|
-
"name": "placeholder",
|
|
4421
|
-
"type": {
|
|
4422
|
-
"text": "string"
|
|
4423
|
-
},
|
|
4424
|
-
"fieldName": "placeholder"
|
|
4425
|
-
},
|
|
4426
|
-
{
|
|
4427
|
-
"name": "read-only",
|
|
4428
|
-
"type": {
|
|
4429
|
-
"text": "boolean"
|
|
4430
|
-
},
|
|
4431
|
-
"fieldName": "readOnly"
|
|
4432
|
-
},
|
|
4433
|
-
{
|
|
4434
|
-
"name": "required",
|
|
4435
|
-
"type": {
|
|
4436
|
-
"text": "boolean"
|
|
4437
|
-
},
|
|
4438
|
-
"fieldName": "required"
|
|
4439
|
-
},
|
|
4440
|
-
{
|
|
4441
|
-
"name": "type",
|
|
4442
|
-
"type": {
|
|
4443
|
-
"text": "string"
|
|
4444
|
-
},
|
|
4445
|
-
"default": "'text'",
|
|
4446
|
-
"fieldName": "type"
|
|
4447
|
-
},
|
|
4448
|
-
{
|
|
4449
|
-
"name": "value",
|
|
4450
|
-
"type": {
|
|
4451
|
-
"text": "string"
|
|
4452
|
-
},
|
|
4453
|
-
"fieldName": "value"
|
|
4454
|
-
},
|
|
4455
|
-
{
|
|
4456
|
-
"name": "name",
|
|
4457
|
-
"type": {
|
|
4458
|
-
"text": "string"
|
|
4459
|
-
},
|
|
4460
|
-
"fieldName": "name"
|
|
4461
|
-
}
|
|
4462
|
-
],
|
|
4463
|
-
"mixins": [
|
|
4464
|
-
{
|
|
4465
|
-
"name": "FormControlMixin",
|
|
4466
|
-
"package": "@open-wc/form-control"
|
|
4467
4379
|
}
|
|
4468
4380
|
],
|
|
4469
4381
|
"superclass": {
|
|
4470
|
-
"name": "
|
|
4471
|
-
"
|
|
4382
|
+
"name": "BaseFormAssociatedElement",
|
|
4383
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
4472
4384
|
},
|
|
4473
|
-
"tagName": "w-
|
|
4474
|
-
"customElement": true
|
|
4385
|
+
"tagName": "w-radio",
|
|
4386
|
+
"customElement": true,
|
|
4387
|
+
"modulePath": "packages/rip-and-tear-radio/radio.ts",
|
|
4388
|
+
"definitionPath": "packages/rip-and-tear-radio/index.ts"
|
|
4475
4389
|
}
|
|
4476
4390
|
],
|
|
4477
4391
|
"exports": [
|
|
4478
4392
|
{
|
|
4479
4393
|
"kind": "js",
|
|
4480
|
-
"name": "
|
|
4481
|
-
"declaration": {
|
|
4482
|
-
"name": "ccinput",
|
|
4483
|
-
"module": "packages/textfield/index.ts"
|
|
4484
|
-
}
|
|
4485
|
-
},
|
|
4486
|
-
{
|
|
4487
|
-
"kind": "js",
|
|
4488
|
-
"name": "ccLabel",
|
|
4489
|
-
"declaration": {
|
|
4490
|
-
"name": "ccLabel",
|
|
4491
|
-
"module": "packages/textfield/index.ts"
|
|
4492
|
-
}
|
|
4493
|
-
},
|
|
4494
|
-
{
|
|
4495
|
-
"kind": "js",
|
|
4496
|
-
"name": "ccHelpText",
|
|
4394
|
+
"name": "WRadio",
|
|
4497
4395
|
"declaration": {
|
|
4498
|
-
"name": "
|
|
4499
|
-
"module": "packages/
|
|
4396
|
+
"name": "WRadio",
|
|
4397
|
+
"module": "packages/rip-and-tear-radio/radio.ts"
|
|
4500
4398
|
}
|
|
4501
|
-
}
|
|
4399
|
+
}
|
|
4400
|
+
]
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
"kind": "javascript-module",
|
|
4404
|
+
"path": "packages/rip-and-tear-radio/radio-group-styles.ts",
|
|
4405
|
+
"declarations": [
|
|
4502
4406
|
{
|
|
4503
|
-
"kind": "
|
|
4504
|
-
"name": "
|
|
4505
|
-
"
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
},
|
|
4407
|
+
"kind": "variable",
|
|
4408
|
+
"name": "styles",
|
|
4409
|
+
"default": "css` :host { display: block; } .form-control { position: relative; border: none; padding: 0; margin: 0; } .label { font-size: var(--w-font-size-s); line-height: var(--w-line-height-s); font-weight: 700; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-smoothing: grayscale; cursor: pointer; padding-bottom: 0.4rem; color: var(--w-s-color-text); display: block; } .radio-group-required .label::after { content: var(--wa-form-control-required-content); margin-inline-start: var(--wa-form-control-required-content-offset); } .button-group { display: flex; } [part~='form-control-input'] { display: flex; flex-direction: column; flex-wrap: wrap; gap: 0.75em; } /* Horizontal */ :host([orientation='horizontal']) [part~='form-control-input'] { flex-direction: row; gap: 1em; } /* Help text */ [part~='hint'] { margin-block-start: 0.5em; } /* Radios have the \"button\" appearance */ :host fieldset.has-radio-buttons { [part~='form-control-input'] { gap: 0; } } `"
|
|
4410
|
+
}
|
|
4411
|
+
],
|
|
4412
|
+
"exports": [
|
|
4510
4413
|
{
|
|
4511
4414
|
"kind": "js",
|
|
4512
|
-
"name": "
|
|
4415
|
+
"name": "styles",
|
|
4513
4416
|
"declaration": {
|
|
4514
|
-
"name": "
|
|
4515
|
-
"module": "packages/
|
|
4417
|
+
"name": "styles",
|
|
4418
|
+
"module": "packages/rip-and-tear-radio/radio-group-styles.ts"
|
|
4516
4419
|
}
|
|
4517
4420
|
}
|
|
4518
4421
|
]
|
|
4519
4422
|
},
|
|
4520
4423
|
{
|
|
4521
4424
|
"kind": "javascript-module",
|
|
4522
|
-
"path": "packages/
|
|
4425
|
+
"path": "packages/rip-and-tear-radio/radio-group.ts",
|
|
4523
4426
|
"declarations": [
|
|
4524
4427
|
{
|
|
4525
4428
|
"kind": "class",
|
|
4526
|
-
"description": "
|
|
4527
|
-
"name": "
|
|
4429
|
+
"description": "",
|
|
4430
|
+
"name": "WRadioGroup",
|
|
4431
|
+
"slots": [
|
|
4432
|
+
{
|
|
4433
|
+
"description": "Alternative to the `label` attribute should you need custom HTML.",
|
|
4434
|
+
"name": "label"
|
|
4435
|
+
}
|
|
4436
|
+
],
|
|
4528
4437
|
"members": [
|
|
4529
4438
|
{
|
|
4530
4439
|
"kind": "field",
|
|
4531
|
-
"name": "
|
|
4440
|
+
"name": "css",
|
|
4532
4441
|
"type": {
|
|
4533
|
-
"text": "
|
|
4442
|
+
"text": "array"
|
|
4534
4443
|
},
|
|
4535
4444
|
"static": true,
|
|
4536
|
-
"default": "
|
|
4445
|
+
"default": "[styles]"
|
|
4537
4446
|
},
|
|
4538
4447
|
{
|
|
4539
4448
|
"kind": "field",
|
|
4540
|
-
"name": "
|
|
4449
|
+
"name": "validators",
|
|
4450
|
+
"static": true,
|
|
4451
|
+
"readonly": true
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
"kind": "field",
|
|
4455
|
+
"name": "hasSlotController",
|
|
4456
|
+
"privacy": "private",
|
|
4457
|
+
"readonly": true,
|
|
4458
|
+
"default": "new HasSlotController(this, 'hint', 'label')"
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
"kind": "field",
|
|
4462
|
+
"name": "hasRadioButtons",
|
|
4541
4463
|
"type": {
|
|
4542
|
-
"text": "
|
|
4464
|
+
"text": "boolean"
|
|
4543
4465
|
},
|
|
4544
|
-
"
|
|
4466
|
+
"default": "false"
|
|
4545
4467
|
},
|
|
4546
4468
|
{
|
|
4547
4469
|
"kind": "field",
|
|
4548
|
-
"name": "
|
|
4470
|
+
"name": "defaultSlot",
|
|
4549
4471
|
"type": {
|
|
4550
|
-
"text": "
|
|
4551
|
-
}
|
|
4552
|
-
"attribute": "aria-description"
|
|
4472
|
+
"text": "HTMLSlotElement"
|
|
4473
|
+
}
|
|
4553
4474
|
},
|
|
4554
4475
|
{
|
|
4555
4476
|
"kind": "field",
|
|
@@ -4557,23 +4478,29 @@
|
|
|
4557
4478
|
"type": {
|
|
4558
4479
|
"text": "string"
|
|
4559
4480
|
},
|
|
4481
|
+
"default": "''",
|
|
4482
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
4560
4483
|
"attribute": "label"
|
|
4561
4484
|
},
|
|
4562
4485
|
{
|
|
4563
4486
|
"kind": "field",
|
|
4564
|
-
"name": "
|
|
4487
|
+
"name": "hint",
|
|
4565
4488
|
"type": {
|
|
4566
4489
|
"text": "string"
|
|
4567
4490
|
},
|
|
4568
|
-
"
|
|
4491
|
+
"default": "''",
|
|
4492
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4493
|
+
"attribute": "hint"
|
|
4569
4494
|
},
|
|
4570
4495
|
{
|
|
4571
4496
|
"kind": "field",
|
|
4572
|
-
"name": "
|
|
4497
|
+
"name": "name",
|
|
4573
4498
|
"type": {
|
|
4574
|
-
"text": "string"
|
|
4499
|
+
"text": "string | null"
|
|
4575
4500
|
},
|
|
4576
|
-
"
|
|
4501
|
+
"default": "null",
|
|
4502
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
4503
|
+
"attribute": "name",
|
|
4577
4504
|
"reflects": true
|
|
4578
4505
|
},
|
|
4579
4506
|
{
|
|
@@ -4582,260 +4509,360 @@
|
|
|
4582
4509
|
"type": {
|
|
4583
4510
|
"text": "boolean"
|
|
4584
4511
|
},
|
|
4512
|
+
"default": "false",
|
|
4513
|
+
"description": "Disables the radio group and all child radios.",
|
|
4585
4514
|
"attribute": "disabled",
|
|
4586
4515
|
"reflects": true
|
|
4587
4516
|
},
|
|
4588
4517
|
{
|
|
4589
4518
|
"kind": "field",
|
|
4590
|
-
"name": "
|
|
4519
|
+
"name": "orientation",
|
|
4591
4520
|
"type": {
|
|
4592
|
-
"text": "
|
|
4521
|
+
"text": "'horizontal' | 'vertical'"
|
|
4593
4522
|
},
|
|
4594
|
-
"
|
|
4523
|
+
"default": "'vertical'",
|
|
4524
|
+
"description": "The orientation in which to show radio items.",
|
|
4525
|
+
"attribute": "orientation",
|
|
4526
|
+
"reflects": true
|
|
4595
4527
|
},
|
|
4596
4528
|
{
|
|
4597
4529
|
"kind": "field",
|
|
4598
|
-
"name": "
|
|
4530
|
+
"name": "_value",
|
|
4599
4531
|
"type": {
|
|
4600
|
-
"text": "
|
|
4532
|
+
"text": "string | null"
|
|
4601
4533
|
},
|
|
4602
|
-
"
|
|
4534
|
+
"privacy": "private",
|
|
4535
|
+
"default": "null"
|
|
4603
4536
|
},
|
|
4604
4537
|
{
|
|
4605
4538
|
"kind": "field",
|
|
4606
|
-
"name": "
|
|
4607
|
-
"
|
|
4608
|
-
"text": "number"
|
|
4609
|
-
},
|
|
4610
|
-
"description": "Set by `<w-slider>`"
|
|
4539
|
+
"name": "value",
|
|
4540
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data."
|
|
4611
4541
|
},
|
|
4612
4542
|
{
|
|
4613
4543
|
"kind": "field",
|
|
4614
|
-
"name": "
|
|
4544
|
+
"name": "defaultValue",
|
|
4615
4545
|
"type": {
|
|
4616
|
-
"text": "string"
|
|
4546
|
+
"text": "string | null"
|
|
4617
4547
|
},
|
|
4618
|
-
"description": "
|
|
4548
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
4549
|
+
"attribute": "value",
|
|
4550
|
+
"reflects": true
|
|
4619
4551
|
},
|
|
4620
4552
|
{
|
|
4621
4553
|
"kind": "field",
|
|
4622
|
-
"name": "
|
|
4554
|
+
"name": "size",
|
|
4623
4555
|
"type": {
|
|
4624
|
-
"text": "
|
|
4556
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4625
4557
|
},
|
|
4626
|
-
"
|
|
4558
|
+
"default": "'medium'",
|
|
4559
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
4560
|
+
"attribute": "size",
|
|
4561
|
+
"reflects": true
|
|
4627
4562
|
},
|
|
4628
4563
|
{
|
|
4629
4564
|
"kind": "field",
|
|
4630
|
-
"name": "
|
|
4565
|
+
"name": "required",
|
|
4631
4566
|
"type": {
|
|
4632
|
-
"text": "
|
|
4567
|
+
"text": "boolean"
|
|
4633
4568
|
},
|
|
4634
|
-
"
|
|
4569
|
+
"default": "false",
|
|
4570
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
4571
|
+
"attribute": "required",
|
|
4572
|
+
"reflects": true
|
|
4635
4573
|
},
|
|
4636
4574
|
{
|
|
4637
4575
|
"kind": "field",
|
|
4638
|
-
"name": "
|
|
4576
|
+
"name": "withLabel",
|
|
4639
4577
|
"type": {
|
|
4640
|
-
"text": "
|
|
4578
|
+
"text": "boolean"
|
|
4641
4579
|
},
|
|
4642
|
-
"
|
|
4580
|
+
"default": "false",
|
|
4581
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
4582
|
+
"attribute": "with-label"
|
|
4643
4583
|
},
|
|
4644
4584
|
{
|
|
4645
4585
|
"kind": "field",
|
|
4646
|
-
"name": "
|
|
4586
|
+
"name": "withHint",
|
|
4647
4587
|
"type": {
|
|
4648
|
-
"text": "
|
|
4649
|
-
}
|
|
4588
|
+
"text": "boolean"
|
|
4589
|
+
},
|
|
4590
|
+
"default": "false",
|
|
4591
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
4592
|
+
"attribute": "with-hint"
|
|
4650
4593
|
},
|
|
4651
4594
|
{
|
|
4652
4595
|
"kind": "field",
|
|
4653
|
-
"name": "
|
|
4596
|
+
"name": "shadowRootOptions",
|
|
4654
4597
|
"type": {
|
|
4655
|
-
"text": "
|
|
4656
|
-
}
|
|
4598
|
+
"text": "object"
|
|
4599
|
+
},
|
|
4600
|
+
"static": true,
|
|
4601
|
+
"default": "{ ...BaseFormAssociatedElement.shadowRootOptions, delegatesFocus: true }"
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"kind": "field",
|
|
4605
|
+
"name": "validationTarget",
|
|
4606
|
+
"description": "We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on\nthe first radio element.",
|
|
4607
|
+
"readonly": true
|
|
4657
4608
|
},
|
|
4658
4609
|
{
|
|
4659
4610
|
"kind": "method",
|
|
4660
|
-
"name": "
|
|
4661
|
-
"
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
"
|
|
4611
|
+
"name": "formResetCallback",
|
|
4612
|
+
"parameters": [
|
|
4613
|
+
{
|
|
4614
|
+
"name": "args",
|
|
4615
|
+
"type": {
|
|
4616
|
+
"text": "Parameters<BaseFormAssociatedElement['formResetCallback']>"
|
|
4617
|
+
}
|
|
4665
4618
|
}
|
|
4619
|
+
],
|
|
4620
|
+
"type": {
|
|
4621
|
+
"text": "formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void"
|
|
4666
4622
|
}
|
|
4667
4623
|
},
|
|
4624
|
+
{
|
|
4625
|
+
"kind": "field",
|
|
4626
|
+
"name": "handleRadioClick",
|
|
4627
|
+
"privacy": "private"
|
|
4628
|
+
},
|
|
4668
4629
|
{
|
|
4669
4630
|
"kind": "method",
|
|
4670
|
-
"name": "
|
|
4671
|
-
"privacy": "private"
|
|
4672
|
-
"return": {
|
|
4673
|
-
"type": {
|
|
4674
|
-
"text": "void"
|
|
4675
|
-
}
|
|
4676
|
-
}
|
|
4631
|
+
"name": "getAllRadios",
|
|
4632
|
+
"privacy": "private"
|
|
4677
4633
|
},
|
|
4678
4634
|
{
|
|
4679
4635
|
"kind": "method",
|
|
4680
|
-
"name": "
|
|
4636
|
+
"name": "handleLabelClick",
|
|
4637
|
+
"privacy": "private"
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"kind": "method",
|
|
4641
|
+
"name": "syncRadioElements",
|
|
4642
|
+
"privacy": "private"
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
"kind": "method",
|
|
4646
|
+
"name": "handleKeyDown",
|
|
4681
4647
|
"privacy": "private",
|
|
4682
|
-
"return": {
|
|
4683
|
-
"type": {
|
|
4684
|
-
"text": "boolean"
|
|
4685
|
-
}
|
|
4686
|
-
},
|
|
4687
4648
|
"parameters": [
|
|
4688
4649
|
{
|
|
4689
|
-
"name": "
|
|
4650
|
+
"name": "event",
|
|
4690
4651
|
"type": {
|
|
4691
|
-
"text": "
|
|
4652
|
+
"text": "KeyboardEvent"
|
|
4692
4653
|
}
|
|
4693
4654
|
}
|
|
4694
4655
|
]
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
"kind": "method",
|
|
4659
|
+
"name": "focus",
|
|
4660
|
+
"privacy": "public",
|
|
4661
|
+
"parameters": [
|
|
4662
|
+
{
|
|
4663
|
+
"name": "options",
|
|
4664
|
+
"optional": true,
|
|
4665
|
+
"type": {
|
|
4666
|
+
"text": "FocusOptions"
|
|
4667
|
+
}
|
|
4668
|
+
}
|
|
4669
|
+
],
|
|
4670
|
+
"description": "Sets focus on the radio group.",
|
|
4671
|
+
"type": {
|
|
4672
|
+
"text": "focus(options?: FocusOptions) => void"
|
|
4673
|
+
}
|
|
4695
4674
|
}
|
|
4696
4675
|
],
|
|
4697
4676
|
"events": [
|
|
4698
4677
|
{
|
|
4699
|
-
"name": "
|
|
4678
|
+
"name": "input",
|
|
4700
4679
|
"type": {
|
|
4701
|
-
"text": "
|
|
4680
|
+
"text": "InputEvent"
|
|
4681
|
+
}
|
|
4682
|
+
},
|
|
4683
|
+
{
|
|
4684
|
+
"name": "change",
|
|
4685
|
+
"type": {
|
|
4686
|
+
"text": "Event"
|
|
4702
4687
|
}
|
|
4703
4688
|
}
|
|
4704
4689
|
],
|
|
4705
4690
|
"attributes": [
|
|
4706
4691
|
{
|
|
4707
|
-
"name": "
|
|
4692
|
+
"name": "label",
|
|
4708
4693
|
"type": {
|
|
4709
4694
|
"text": "string"
|
|
4710
4695
|
},
|
|
4711
|
-
"
|
|
4696
|
+
"default": "''",
|
|
4697
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
4698
|
+
"fieldName": "label"
|
|
4712
4699
|
},
|
|
4713
4700
|
{
|
|
4714
|
-
"name": "
|
|
4701
|
+
"name": "hint",
|
|
4715
4702
|
"type": {
|
|
4716
4703
|
"text": "string"
|
|
4717
4704
|
},
|
|
4718
|
-
"
|
|
4705
|
+
"default": "''",
|
|
4706
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4707
|
+
"fieldName": "hint"
|
|
4719
4708
|
},
|
|
4720
4709
|
{
|
|
4721
|
-
"name": "
|
|
4710
|
+
"name": "name",
|
|
4722
4711
|
"type": {
|
|
4723
|
-
"text": "string"
|
|
4712
|
+
"text": "string | null"
|
|
4724
4713
|
},
|
|
4725
|
-
"
|
|
4714
|
+
"default": "null",
|
|
4715
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
4716
|
+
"fieldName": "name"
|
|
4726
4717
|
},
|
|
4727
4718
|
{
|
|
4728
|
-
"name": "
|
|
4719
|
+
"name": "disabled",
|
|
4729
4720
|
"type": {
|
|
4730
|
-
"text": "
|
|
4721
|
+
"text": "boolean"
|
|
4731
4722
|
},
|
|
4732
|
-
"
|
|
4723
|
+
"default": "false",
|
|
4724
|
+
"description": "Disables the radio group and all child radios.",
|
|
4725
|
+
"fieldName": "disabled"
|
|
4726
|
+
},
|
|
4727
|
+
{
|
|
4728
|
+
"name": "orientation",
|
|
4729
|
+
"type": {
|
|
4730
|
+
"text": "'horizontal' | 'vertical'"
|
|
4731
|
+
},
|
|
4732
|
+
"default": "'vertical'",
|
|
4733
|
+
"description": "The orientation in which to show radio items.",
|
|
4734
|
+
"fieldName": "orientation"
|
|
4733
4735
|
},
|
|
4734
4736
|
{
|
|
4735
4737
|
"name": "value",
|
|
4736
4738
|
"type": {
|
|
4737
|
-
"text": "string"
|
|
4739
|
+
"text": "string | null"
|
|
4738
4740
|
},
|
|
4739
|
-
"
|
|
4741
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
4742
|
+
"fieldName": "defaultValue"
|
|
4740
4743
|
},
|
|
4741
4744
|
{
|
|
4742
|
-
"name": "
|
|
4745
|
+
"name": "size",
|
|
4746
|
+
"type": {
|
|
4747
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4748
|
+
},
|
|
4749
|
+
"default": "'medium'",
|
|
4750
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
4751
|
+
"fieldName": "size"
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
"name": "required",
|
|
4743
4755
|
"type": {
|
|
4744
4756
|
"text": "boolean"
|
|
4745
4757
|
},
|
|
4746
|
-
"
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4758
|
+
"default": "false",
|
|
4759
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
4760
|
+
"fieldName": "required"
|
|
4761
|
+
},
|
|
4750
4762
|
{
|
|
4751
|
-
"name": "
|
|
4752
|
-
"
|
|
4763
|
+
"name": "with-label",
|
|
4764
|
+
"type": {
|
|
4765
|
+
"text": "boolean"
|
|
4766
|
+
},
|
|
4767
|
+
"default": "false",
|
|
4768
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
4769
|
+
"fieldName": "withLabel"
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
"name": "with-hint",
|
|
4773
|
+
"type": {
|
|
4774
|
+
"text": "boolean"
|
|
4775
|
+
},
|
|
4776
|
+
"default": "false",
|
|
4777
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
4778
|
+
"fieldName": "withHint"
|
|
4753
4779
|
}
|
|
4754
4780
|
],
|
|
4755
4781
|
"superclass": {
|
|
4756
|
-
"name": "
|
|
4757
|
-
"
|
|
4782
|
+
"name": "BaseFormAssociatedElement",
|
|
4783
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
4758
4784
|
},
|
|
4759
|
-
"tagName": "w-
|
|
4760
|
-
"customElement": true
|
|
4785
|
+
"tagName": "w-radio-group",
|
|
4786
|
+
"customElement": true,
|
|
4787
|
+
"modulePath": "packages/rip-and-tear-radio/radio-group.ts",
|
|
4788
|
+
"definitionPath": "packages/rip-and-tear-radio/index.ts"
|
|
4761
4789
|
}
|
|
4762
4790
|
],
|
|
4791
|
+
"exports": [
|
|
4792
|
+
{
|
|
4793
|
+
"kind": "js",
|
|
4794
|
+
"name": "WRadioGroup",
|
|
4795
|
+
"declaration": {
|
|
4796
|
+
"name": "WRadioGroup",
|
|
4797
|
+
"module": "packages/rip-and-tear-radio/radio-group.ts"
|
|
4798
|
+
}
|
|
4799
|
+
}
|
|
4800
|
+
]
|
|
4801
|
+
},
|
|
4802
|
+
{
|
|
4803
|
+
"kind": "javascript-module",
|
|
4804
|
+
"path": "packages/rip-and-tear-radio/index.ts",
|
|
4805
|
+
"declarations": [],
|
|
4763
4806
|
"exports": [
|
|
4764
4807
|
{
|
|
4765
4808
|
"kind": "custom-element-definition",
|
|
4766
|
-
"name": "w-
|
|
4809
|
+
"name": "w-radio",
|
|
4767
4810
|
"declaration": {
|
|
4768
|
-
"name": "
|
|
4769
|
-
"module": "packages/
|
|
4811
|
+
"name": "WRadio",
|
|
4812
|
+
"module": "/packages/rip-and-tear-radio/radio"
|
|
4770
4813
|
}
|
|
4771
4814
|
},
|
|
4772
4815
|
{
|
|
4773
|
-
"kind": "
|
|
4774
|
-
"name": "
|
|
4816
|
+
"kind": "custom-element-definition",
|
|
4817
|
+
"name": "w-radio-group",
|
|
4775
4818
|
"declaration": {
|
|
4776
|
-
"name": "
|
|
4777
|
-
"module": "packages/
|
|
4819
|
+
"name": "WRadioGroup",
|
|
4820
|
+
"module": "/packages/rip-and-tear-radio/radio-group"
|
|
4778
4821
|
}
|
|
4779
4822
|
}
|
|
4780
4823
|
]
|
|
4781
4824
|
},
|
|
4782
4825
|
{
|
|
4783
4826
|
"kind": "javascript-module",
|
|
4784
|
-
"path": "packages/
|
|
4827
|
+
"path": "packages/select/index.ts",
|
|
4785
4828
|
"declarations": [
|
|
4829
|
+
{
|
|
4830
|
+
"kind": "variable",
|
|
4831
|
+
"name": "ccSelect",
|
|
4832
|
+
"type": {
|
|
4833
|
+
"text": "object"
|
|
4834
|
+
},
|
|
4835
|
+
"default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border-strong hover:s-border-strong-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper: `relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none `, chevron: 'block absolute top-[30%] right-0 bottom-0 w-32 h-full s-icon pointer-events-none cursor-pointer', chevronDisabled: 'opacity-25', }"
|
|
4836
|
+
},
|
|
4837
|
+
{
|
|
4838
|
+
"kind": "variable",
|
|
4839
|
+
"name": "ccLabel",
|
|
4840
|
+
"type": {
|
|
4841
|
+
"text": "object"
|
|
4842
|
+
},
|
|
4843
|
+
"default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
|
|
4844
|
+
},
|
|
4845
|
+
{
|
|
4846
|
+
"kind": "variable",
|
|
4847
|
+
"name": "ccHelpText",
|
|
4848
|
+
"type": {
|
|
4849
|
+
"text": "object"
|
|
4850
|
+
},
|
|
4851
|
+
"default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
|
|
4852
|
+
},
|
|
4786
4853
|
{
|
|
4787
4854
|
"kind": "class",
|
|
4788
|
-
"description": "
|
|
4789
|
-
"name": "
|
|
4790
|
-
"slots": [
|
|
4791
|
-
{
|
|
4792
|
-
"description": "For single sliders place a `<w-slider-thumb>` in the default slot.",
|
|
4793
|
-
"name": ""
|
|
4794
|
-
},
|
|
4795
|
-
{
|
|
4796
|
-
"description": "Label for the slider or range slider as a whole.",
|
|
4797
|
-
"name": "label"
|
|
4798
|
-
},
|
|
4799
|
-
{
|
|
4800
|
-
"description": "Optional description between the label and slider.",
|
|
4801
|
-
"name": "description"
|
|
4802
|
-
},
|
|
4803
|
-
{
|
|
4804
|
-
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
4805
|
-
"name": "from"
|
|
4806
|
-
},
|
|
4807
|
-
{
|
|
4808
|
-
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
4809
|
-
"name": "to"
|
|
4810
|
-
}
|
|
4811
|
-
],
|
|
4855
|
+
"description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)",
|
|
4856
|
+
"name": "WarpSelect",
|
|
4812
4857
|
"members": [
|
|
4813
4858
|
{
|
|
4814
4859
|
"kind": "field",
|
|
4815
|
-
"name": "
|
|
4816
|
-
"type": {
|
|
4817
|
-
"text": "object"
|
|
4818
|
-
},
|
|
4819
|
-
"static": true,
|
|
4820
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
4821
|
-
},
|
|
4822
|
-
{
|
|
4823
|
-
"kind": "field",
|
|
4824
|
-
"name": "label",
|
|
4825
|
-
"type": {
|
|
4826
|
-
"text": "string"
|
|
4827
|
-
},
|
|
4828
|
-
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
4829
|
-
"attribute": "label"
|
|
4830
|
-
},
|
|
4831
|
-
{
|
|
4832
|
-
"kind": "field",
|
|
4833
|
-
"name": "disabled",
|
|
4860
|
+
"name": "autoFocus",
|
|
4834
4861
|
"type": {
|
|
4835
4862
|
"text": "boolean"
|
|
4836
4863
|
},
|
|
4837
|
-
"
|
|
4838
|
-
"attribute": "
|
|
4864
|
+
"description": "Whether the element should receive focus on render",
|
|
4865
|
+
"attribute": "auto-focus",
|
|
4839
4866
|
"reflects": true
|
|
4840
4867
|
},
|
|
4841
4868
|
{
|
|
@@ -4844,212 +4871,233 @@
|
|
|
4844
4871
|
"type": {
|
|
4845
4872
|
"text": "boolean"
|
|
4846
4873
|
},
|
|
4847
|
-
"
|
|
4874
|
+
"description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
|
|
4848
4875
|
"attribute": "invalid",
|
|
4849
4876
|
"reflects": true
|
|
4850
4877
|
},
|
|
4851
4878
|
{
|
|
4852
4879
|
"kind": "field",
|
|
4853
|
-
"name": "
|
|
4880
|
+
"name": "always",
|
|
4854
4881
|
"type": {
|
|
4855
4882
|
"text": "boolean"
|
|
4856
4883
|
},
|
|
4857
|
-
"
|
|
4858
|
-
"
|
|
4859
|
-
"attribute": "required",
|
|
4884
|
+
"description": "Whether to always show a hint",
|
|
4885
|
+
"attribute": "always",
|
|
4860
4886
|
"reflects": true
|
|
4861
4887
|
},
|
|
4862
4888
|
{
|
|
4863
4889
|
"kind": "field",
|
|
4864
|
-
"name": "
|
|
4890
|
+
"name": "hint",
|
|
4865
4891
|
"type": {
|
|
4866
4892
|
"text": "string"
|
|
4867
4893
|
},
|
|
4868
|
-
"
|
|
4894
|
+
"description": "The content displayed as the help text",
|
|
4895
|
+
"attribute": "hint",
|
|
4869
4896
|
"reflects": true
|
|
4870
4897
|
},
|
|
4871
4898
|
{
|
|
4872
4899
|
"kind": "field",
|
|
4873
|
-
"name": "
|
|
4900
|
+
"name": "label",
|
|
4874
4901
|
"type": {
|
|
4875
4902
|
"text": "string"
|
|
4876
4903
|
},
|
|
4877
|
-
"
|
|
4904
|
+
"description": "The content to disply as the label",
|
|
4905
|
+
"attribute": "label",
|
|
4878
4906
|
"reflects": true
|
|
4879
4907
|
},
|
|
4880
4908
|
{
|
|
4881
4909
|
"kind": "field",
|
|
4882
|
-
"name": "
|
|
4910
|
+
"name": "optional",
|
|
4883
4911
|
"type": {
|
|
4884
|
-
"text": "
|
|
4912
|
+
"text": "boolean"
|
|
4885
4913
|
},
|
|
4886
|
-
"description": "
|
|
4887
|
-
"attribute": "
|
|
4914
|
+
"description": "Whether to show optional text",
|
|
4915
|
+
"attribute": "optional",
|
|
4916
|
+
"reflects": true
|
|
4888
4917
|
},
|
|
4889
4918
|
{
|
|
4890
4919
|
"kind": "field",
|
|
4891
|
-
"name": "
|
|
4920
|
+
"name": "disabled",
|
|
4892
4921
|
"type": {
|
|
4893
|
-
"text": "
|
|
4922
|
+
"text": "boolean"
|
|
4894
4923
|
},
|
|
4895
|
-
"
|
|
4924
|
+
"description": "Renders the field in a disabled state.",
|
|
4925
|
+
"attribute": "disabled",
|
|
4926
|
+
"reflects": true
|
|
4896
4927
|
},
|
|
4897
4928
|
{
|
|
4898
4929
|
"kind": "field",
|
|
4899
|
-
"name": "
|
|
4930
|
+
"name": "readOnly",
|
|
4900
4931
|
"type": {
|
|
4901
|
-
"text": "
|
|
4932
|
+
"text": "boolean"
|
|
4902
4933
|
},
|
|
4903
|
-
"description": "
|
|
4904
|
-
"attribute": "
|
|
4934
|
+
"description": "Renders the field in a readonly state.",
|
|
4935
|
+
"attribute": "read-only",
|
|
4936
|
+
"reflects": true
|
|
4905
4937
|
},
|
|
4906
4938
|
{
|
|
4907
4939
|
"kind": "field",
|
|
4908
|
-
"name": "
|
|
4940
|
+
"name": "name",
|
|
4909
4941
|
"type": {
|
|
4910
|
-
"text": "
|
|
4942
|
+
"text": "string"
|
|
4911
4943
|
},
|
|
4912
|
-
"
|
|
4944
|
+
"attribute": "name",
|
|
4945
|
+
"reflects": true
|
|
4913
4946
|
},
|
|
4914
4947
|
{
|
|
4915
4948
|
"kind": "field",
|
|
4916
|
-
"name": "
|
|
4917
|
-
"privacy": "private",
|
|
4949
|
+
"name": "value",
|
|
4918
4950
|
"type": {
|
|
4919
|
-
"text": "
|
|
4920
|
-
}
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
"kind": "method",
|
|
4924
|
-
"name": "#syncSliderThumbs",
|
|
4925
|
-
"privacy": "private",
|
|
4926
|
-
"return": {
|
|
4927
|
-
"type": {
|
|
4928
|
-
"text": "void"
|
|
4929
|
-
}
|
|
4930
|
-
}
|
|
4951
|
+
"text": "string"
|
|
4952
|
+
},
|
|
4953
|
+
"attribute": "value",
|
|
4954
|
+
"reflects": true
|
|
4931
4955
|
},
|
|
4932
4956
|
{
|
|
4933
4957
|
"kind": "method",
|
|
4934
|
-
"name": "
|
|
4935
|
-
"privacy": "private",
|
|
4958
|
+
"name": "handleKeyDown",
|
|
4936
4959
|
"parameters": [
|
|
4937
4960
|
{
|
|
4938
|
-
"name": "
|
|
4961
|
+
"name": "event",
|
|
4939
4962
|
"type": {
|
|
4940
|
-
"text": "
|
|
4963
|
+
"text": "KeyboardEvent"
|
|
4941
4964
|
}
|
|
4942
4965
|
}
|
|
4943
|
-
]
|
|
4966
|
+
],
|
|
4967
|
+
"type": {
|
|
4968
|
+
"text": "handleKeyDown(event: KeyboardEvent) => void"
|
|
4969
|
+
}
|
|
4944
4970
|
},
|
|
4945
4971
|
{
|
|
4946
|
-
"kind": "
|
|
4947
|
-
"name": "#
|
|
4972
|
+
"kind": "field",
|
|
4973
|
+
"name": "#classes",
|
|
4948
4974
|
"privacy": "private",
|
|
4949
|
-
"
|
|
4950
|
-
{
|
|
4951
|
-
"name": "e",
|
|
4952
|
-
"type": {
|
|
4953
|
-
"text": "CustomEvent"
|
|
4954
|
-
}
|
|
4955
|
-
}
|
|
4956
|
-
]
|
|
4975
|
+
"readonly": true
|
|
4957
4976
|
},
|
|
4958
4977
|
{
|
|
4959
|
-
"kind": "
|
|
4960
|
-
"name": "#
|
|
4978
|
+
"kind": "field",
|
|
4979
|
+
"name": "#helpTextClasses",
|
|
4980
|
+
"privacy": "private",
|
|
4981
|
+
"readonly": true
|
|
4982
|
+
},
|
|
4983
|
+
{
|
|
4984
|
+
"kind": "field",
|
|
4985
|
+
"name": "#chevronClasses",
|
|
4986
|
+
"privacy": "private",
|
|
4987
|
+
"readonly": true
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "field",
|
|
4991
|
+
"name": "#id",
|
|
4992
|
+
"privacy": "private",
|
|
4993
|
+
"readonly": true
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"kind": "field",
|
|
4997
|
+
"name": "#helpId",
|
|
4961
4998
|
"privacy": "private",
|
|
4999
|
+
"readonly": true
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"kind": "method",
|
|
5003
|
+
"name": "onChange",
|
|
4962
5004
|
"parameters": [
|
|
4963
5005
|
{
|
|
4964
|
-
"name": "
|
|
4965
|
-
"type": {
|
|
4966
|
-
"text": "WarpSliderThumb"
|
|
4967
|
-
}
|
|
5006
|
+
"name": "{ target }"
|
|
4968
5007
|
}
|
|
4969
5008
|
],
|
|
4970
|
-
"
|
|
5009
|
+
"type": {
|
|
5010
|
+
"text": "onChange({ target }) => void"
|
|
5011
|
+
}
|
|
4971
5012
|
},
|
|
4972
5013
|
{
|
|
4973
|
-
"kind": "
|
|
4974
|
-
"name": "
|
|
4975
|
-
"
|
|
4976
|
-
"return": {
|
|
4977
|
-
"type": {
|
|
4978
|
-
"text": "number"
|
|
4979
|
-
}
|
|
4980
|
-
}
|
|
5014
|
+
"kind": "field",
|
|
5015
|
+
"name": "_options",
|
|
5016
|
+
"attribute": "_options"
|
|
4981
5017
|
}
|
|
4982
5018
|
],
|
|
4983
5019
|
"attributes": [
|
|
4984
5020
|
{
|
|
4985
|
-
"name": "
|
|
4986
|
-
"type": {
|
|
4987
|
-
"text": "string"
|
|
4988
|
-
},
|
|
4989
|
-
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
4990
|
-
"fieldName": "label"
|
|
4991
|
-
},
|
|
4992
|
-
{
|
|
4993
|
-
"name": "disabled",
|
|
5021
|
+
"name": "auto-focus",
|
|
4994
5022
|
"type": {
|
|
4995
5023
|
"text": "boolean"
|
|
4996
5024
|
},
|
|
4997
|
-
"
|
|
4998
|
-
"fieldName": "
|
|
5025
|
+
"description": "Whether the element should receive focus on render",
|
|
5026
|
+
"fieldName": "autoFocus"
|
|
4999
5027
|
},
|
|
5000
5028
|
{
|
|
5001
5029
|
"name": "invalid",
|
|
5002
5030
|
"type": {
|
|
5003
5031
|
"text": "boolean"
|
|
5004
5032
|
},
|
|
5005
|
-
"
|
|
5033
|
+
"description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
|
|
5006
5034
|
"fieldName": "invalid"
|
|
5007
5035
|
},
|
|
5008
5036
|
{
|
|
5009
|
-
"name": "
|
|
5037
|
+
"name": "always",
|
|
5010
5038
|
"type": {
|
|
5011
5039
|
"text": "boolean"
|
|
5012
5040
|
},
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
"fieldName": "required"
|
|
5041
|
+
"description": "Whether to always show a hint",
|
|
5042
|
+
"fieldName": "always"
|
|
5016
5043
|
},
|
|
5017
5044
|
{
|
|
5018
|
-
"name": "
|
|
5045
|
+
"name": "hint",
|
|
5019
5046
|
"type": {
|
|
5020
5047
|
"text": "string"
|
|
5021
5048
|
},
|
|
5022
|
-
"
|
|
5049
|
+
"description": "The content displayed as the help text",
|
|
5050
|
+
"fieldName": "hint"
|
|
5023
5051
|
},
|
|
5024
5052
|
{
|
|
5025
|
-
"name": "
|
|
5053
|
+
"name": "label",
|
|
5026
5054
|
"type": {
|
|
5027
5055
|
"text": "string"
|
|
5028
5056
|
},
|
|
5029
|
-
"
|
|
5057
|
+
"description": "The content to disply as the label",
|
|
5058
|
+
"fieldName": "label"
|
|
5030
5059
|
},
|
|
5031
5060
|
{
|
|
5032
|
-
"name": "
|
|
5061
|
+
"name": "optional",
|
|
5033
5062
|
"type": {
|
|
5034
|
-
"text": "
|
|
5063
|
+
"text": "boolean"
|
|
5035
5064
|
},
|
|
5036
|
-
"description": "
|
|
5037
|
-
"fieldName": "
|
|
5065
|
+
"description": "Whether to show optional text",
|
|
5066
|
+
"fieldName": "optional"
|
|
5038
5067
|
},
|
|
5039
5068
|
{
|
|
5040
|
-
"name": "
|
|
5069
|
+
"name": "disabled",
|
|
5041
5070
|
"type": {
|
|
5042
|
-
"text": "
|
|
5071
|
+
"text": "boolean"
|
|
5043
5072
|
},
|
|
5044
|
-
"
|
|
5073
|
+
"description": "Renders the field in a disabled state.",
|
|
5074
|
+
"fieldName": "disabled"
|
|
5045
5075
|
},
|
|
5046
5076
|
{
|
|
5047
|
-
"name": "
|
|
5077
|
+
"name": "read-only",
|
|
5078
|
+
"type": {
|
|
5079
|
+
"text": "boolean"
|
|
5080
|
+
},
|
|
5081
|
+
"description": "Renders the field in a readonly state.",
|
|
5082
|
+
"fieldName": "readOnly"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"name": "_options",
|
|
5086
|
+
"fieldName": "_options"
|
|
5087
|
+
},
|
|
5088
|
+
{
|
|
5089
|
+
"name": "name",
|
|
5048
5090
|
"type": {
|
|
5049
5091
|
"text": "string"
|
|
5050
5092
|
},
|
|
5051
|
-
"
|
|
5052
|
-
|
|
5093
|
+
"fieldName": "name"
|
|
5094
|
+
},
|
|
5095
|
+
{
|
|
5096
|
+
"name": "value",
|
|
5097
|
+
"type": {
|
|
5098
|
+
"text": "string"
|
|
5099
|
+
},
|
|
5100
|
+
"fieldName": "value"
|
|
5053
5101
|
}
|
|
5054
5102
|
],
|
|
5055
5103
|
"mixins": [
|
|
@@ -5062,116 +5110,1527 @@
|
|
|
5062
5110
|
"name": "LitElement",
|
|
5063
5111
|
"package": "lit"
|
|
5064
5112
|
},
|
|
5065
|
-
"tagName": "w-
|
|
5066
|
-
"customElement": true
|
|
5113
|
+
"tagName": "w-select",
|
|
5114
|
+
"customElement": true,
|
|
5115
|
+
"modulePath": "packages/select/index.ts",
|
|
5116
|
+
"definitionPath": "packages/select/index.ts"
|
|
5117
|
+
}
|
|
5118
|
+
],
|
|
5119
|
+
"exports": [
|
|
5120
|
+
{
|
|
5121
|
+
"kind": "js",
|
|
5122
|
+
"name": "ccSelect",
|
|
5123
|
+
"declaration": {
|
|
5124
|
+
"name": "ccSelect",
|
|
5125
|
+
"module": "packages/select/index.ts"
|
|
5126
|
+
}
|
|
5127
|
+
},
|
|
5128
|
+
{
|
|
5129
|
+
"kind": "js",
|
|
5130
|
+
"name": "ccLabel",
|
|
5131
|
+
"declaration": {
|
|
5132
|
+
"name": "ccLabel",
|
|
5133
|
+
"module": "packages/select/index.ts"
|
|
5134
|
+
}
|
|
5135
|
+
},
|
|
5136
|
+
{
|
|
5137
|
+
"kind": "js",
|
|
5138
|
+
"name": "ccHelpText",
|
|
5139
|
+
"declaration": {
|
|
5140
|
+
"name": "ccHelpText",
|
|
5141
|
+
"module": "packages/select/index.ts"
|
|
5142
|
+
}
|
|
5143
|
+
},
|
|
5144
|
+
{
|
|
5145
|
+
"kind": "js",
|
|
5146
|
+
"name": "WarpSelect",
|
|
5147
|
+
"declaration": {
|
|
5148
|
+
"name": "WarpSelect",
|
|
5149
|
+
"module": "packages/select/index.ts"
|
|
5150
|
+
}
|
|
5151
|
+
},
|
|
5152
|
+
{
|
|
5153
|
+
"kind": "custom-element-definition",
|
|
5154
|
+
"name": "w-select",
|
|
5155
|
+
"declaration": {
|
|
5156
|
+
"name": "WarpSelect",
|
|
5157
|
+
"module": "packages/select/index.ts"
|
|
5158
|
+
}
|
|
5159
|
+
}
|
|
5160
|
+
]
|
|
5161
|
+
},
|
|
5162
|
+
{
|
|
5163
|
+
"kind": "javascript-module",
|
|
5164
|
+
"path": "packages/textfield/index.ts",
|
|
5165
|
+
"declarations": [
|
|
5166
|
+
{
|
|
5167
|
+
"kind": "variable",
|
|
5168
|
+
"name": "ccinput",
|
|
5169
|
+
"type": {
|
|
5170
|
+
"text": "object"
|
|
5171
|
+
},
|
|
5172
|
+
"default": "{ // input classes base: 'block text-m leading-m mb-0 px-8 py-12 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] caret-current', // true default: 'border-1 s-text s-bg s-border-strong hover:s-border-strong-hover active:s-border-selected', // !isInvalid && !isDisabled && !isReadOnly disabled: 'border-1 s-text-disabled s-bg-disabled-subtle s-border-disabled pointer-events-none', // !isInvalid && isDisabled && !isReadOnly invalid: 'border-1 s-text-negative s-bg s-border-negative hover:s-border-negative-hover outline-[--w-s-color-border-negative]!', // isInvalid && !isDisabled && !isReadOnly readOnly: 'pl-0 bg-transparent pointer-events-none', // !isInvalid && !isDisabled && isReadOnly placeholder: 'placeholder:s-text-placeholder', suffix: 'pr-40', prefix: 'pl-[var(--w-prefix-width,_40px)]', // textarea classes textArea: 'min-h-[42] sm:min-h-[45]', }"
|
|
5173
|
+
},
|
|
5174
|
+
{
|
|
5175
|
+
"kind": "variable",
|
|
5176
|
+
"name": "ccLabel",
|
|
5177
|
+
"type": {
|
|
5178
|
+
"text": "object"
|
|
5179
|
+
},
|
|
5180
|
+
"default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
"kind": "variable",
|
|
5184
|
+
"name": "ccHelpText",
|
|
5185
|
+
"type": {
|
|
5186
|
+
"text": "object"
|
|
5187
|
+
},
|
|
5188
|
+
"default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"kind": "class",
|
|
5192
|
+
"description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)",
|
|
5193
|
+
"name": "WarpTextField",
|
|
5194
|
+
"members": [
|
|
5195
|
+
{
|
|
5196
|
+
"kind": "field",
|
|
5197
|
+
"name": "shadowRootOptions",
|
|
5198
|
+
"type": {
|
|
5199
|
+
"text": "object"
|
|
5200
|
+
},
|
|
5201
|
+
"static": true,
|
|
5202
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5203
|
+
},
|
|
5204
|
+
{
|
|
5205
|
+
"kind": "field",
|
|
5206
|
+
"name": "disabled",
|
|
5207
|
+
"type": {
|
|
5208
|
+
"text": "boolean"
|
|
5209
|
+
},
|
|
5210
|
+
"attribute": "disabled",
|
|
5211
|
+
"reflects": true
|
|
5212
|
+
},
|
|
5213
|
+
{
|
|
5214
|
+
"kind": "field",
|
|
5215
|
+
"name": "invalid",
|
|
5216
|
+
"type": {
|
|
5217
|
+
"text": "boolean"
|
|
5218
|
+
},
|
|
5219
|
+
"attribute": "invalid",
|
|
5220
|
+
"reflects": true
|
|
5221
|
+
},
|
|
5222
|
+
{
|
|
5223
|
+
"kind": "field",
|
|
5224
|
+
"name": "id",
|
|
5225
|
+
"type": {
|
|
5226
|
+
"text": "string"
|
|
5227
|
+
},
|
|
5228
|
+
"attribute": "id",
|
|
5229
|
+
"reflects": true
|
|
5230
|
+
},
|
|
5231
|
+
{
|
|
5232
|
+
"kind": "field",
|
|
5233
|
+
"name": "label",
|
|
5234
|
+
"type": {
|
|
5235
|
+
"text": "string"
|
|
5236
|
+
},
|
|
5237
|
+
"attribute": "label",
|
|
5238
|
+
"reflects": true
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
"kind": "field",
|
|
5242
|
+
"name": "helpText",
|
|
5243
|
+
"type": {
|
|
5244
|
+
"text": "string"
|
|
5245
|
+
},
|
|
5246
|
+
"attribute": "help-text",
|
|
5247
|
+
"reflects": true
|
|
5248
|
+
},
|
|
5249
|
+
{
|
|
5250
|
+
"kind": "field",
|
|
5251
|
+
"name": "size",
|
|
5252
|
+
"type": {
|
|
5253
|
+
"text": "string"
|
|
5254
|
+
},
|
|
5255
|
+
"attribute": "size",
|
|
5256
|
+
"reflects": true
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
"kind": "field",
|
|
5260
|
+
"name": "max",
|
|
5261
|
+
"type": {
|
|
5262
|
+
"text": "number"
|
|
5263
|
+
},
|
|
5264
|
+
"attribute": "max",
|
|
5265
|
+
"reflects": true
|
|
5266
|
+
},
|
|
5267
|
+
{
|
|
5268
|
+
"kind": "field",
|
|
5269
|
+
"name": "min",
|
|
5270
|
+
"type": {
|
|
5271
|
+
"text": "number"
|
|
5272
|
+
},
|
|
5273
|
+
"attribute": "min",
|
|
5274
|
+
"reflects": true
|
|
5275
|
+
},
|
|
5276
|
+
{
|
|
5277
|
+
"kind": "field",
|
|
5278
|
+
"name": "minLength",
|
|
5279
|
+
"type": {
|
|
5280
|
+
"text": "number"
|
|
5281
|
+
},
|
|
5282
|
+
"attribute": "min-length",
|
|
5283
|
+
"reflects": true
|
|
5284
|
+
},
|
|
5285
|
+
{
|
|
5286
|
+
"kind": "field",
|
|
5287
|
+
"name": "maxLength",
|
|
5288
|
+
"type": {
|
|
5289
|
+
"text": "number"
|
|
5290
|
+
},
|
|
5291
|
+
"attribute": "max-length",
|
|
5292
|
+
"reflects": true
|
|
5293
|
+
},
|
|
5294
|
+
{
|
|
5295
|
+
"kind": "field",
|
|
5296
|
+
"name": "pattern",
|
|
5297
|
+
"type": {
|
|
5298
|
+
"text": "string"
|
|
5299
|
+
},
|
|
5300
|
+
"attribute": "pattern",
|
|
5301
|
+
"reflects": true
|
|
5302
|
+
},
|
|
5303
|
+
{
|
|
5304
|
+
"kind": "field",
|
|
5305
|
+
"name": "placeholder",
|
|
5306
|
+
"type": {
|
|
5307
|
+
"text": "string"
|
|
5308
|
+
},
|
|
5309
|
+
"attribute": "placeholder",
|
|
5310
|
+
"reflects": true
|
|
5311
|
+
},
|
|
5312
|
+
{
|
|
5313
|
+
"kind": "field",
|
|
5314
|
+
"name": "readOnly",
|
|
5315
|
+
"type": {
|
|
5316
|
+
"text": "boolean"
|
|
5317
|
+
},
|
|
5318
|
+
"attribute": "read-only",
|
|
5319
|
+
"reflects": true
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
"kind": "field",
|
|
5323
|
+
"name": "required",
|
|
5324
|
+
"type": {
|
|
5325
|
+
"text": "boolean"
|
|
5326
|
+
},
|
|
5327
|
+
"attribute": "required",
|
|
5328
|
+
"reflects": true
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
"kind": "field",
|
|
5332
|
+
"name": "type",
|
|
5333
|
+
"type": {
|
|
5334
|
+
"text": "string"
|
|
5335
|
+
},
|
|
5336
|
+
"default": "'text'",
|
|
5337
|
+
"attribute": "type",
|
|
5338
|
+
"reflects": true
|
|
5339
|
+
},
|
|
5340
|
+
{
|
|
5341
|
+
"kind": "field",
|
|
5342
|
+
"name": "value",
|
|
5343
|
+
"type": {
|
|
5344
|
+
"text": "string"
|
|
5345
|
+
},
|
|
5346
|
+
"attribute": "value",
|
|
5347
|
+
"reflects": true
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "field",
|
|
5351
|
+
"name": "name",
|
|
5352
|
+
"type": {
|
|
5353
|
+
"text": "string"
|
|
5354
|
+
},
|
|
5355
|
+
"attribute": "name",
|
|
5356
|
+
"reflects": true
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"kind": "field",
|
|
5360
|
+
"name": "formatter",
|
|
5361
|
+
"type": {
|
|
5362
|
+
"text": "(value: string) => string"
|
|
5363
|
+
},
|
|
5364
|
+
"description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html"
|
|
5365
|
+
},
|
|
5366
|
+
{
|
|
5367
|
+
"kind": "method",
|
|
5368
|
+
"name": "handler",
|
|
5369
|
+
"parameters": [
|
|
5370
|
+
{
|
|
5371
|
+
"name": "e",
|
|
5372
|
+
"type": {
|
|
5373
|
+
"text": "Event"
|
|
5374
|
+
}
|
|
5375
|
+
}
|
|
5376
|
+
],
|
|
5377
|
+
"type": {
|
|
5378
|
+
"text": "handler(e: Event) => void"
|
|
5379
|
+
}
|
|
5380
|
+
},
|
|
5381
|
+
{
|
|
5382
|
+
"kind": "method",
|
|
5383
|
+
"name": "prefixSlotChange",
|
|
5384
|
+
"type": {
|
|
5385
|
+
"text": "prefixSlotChange() => void"
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
{
|
|
5389
|
+
"kind": "method",
|
|
5390
|
+
"name": "suffixSlotChange",
|
|
5391
|
+
"type": {
|
|
5392
|
+
"text": "suffixSlotChange() => void"
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
],
|
|
5396
|
+
"attributes": [
|
|
5397
|
+
{
|
|
5398
|
+
"name": "disabled",
|
|
5399
|
+
"type": {
|
|
5400
|
+
"text": "boolean"
|
|
5401
|
+
},
|
|
5402
|
+
"fieldName": "disabled"
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"name": "invalid",
|
|
5406
|
+
"type": {
|
|
5407
|
+
"text": "boolean"
|
|
5408
|
+
},
|
|
5409
|
+
"fieldName": "invalid"
|
|
5410
|
+
},
|
|
5411
|
+
{
|
|
5412
|
+
"name": "id",
|
|
5413
|
+
"type": {
|
|
5414
|
+
"text": "string"
|
|
5415
|
+
},
|
|
5416
|
+
"fieldName": "id"
|
|
5417
|
+
},
|
|
5418
|
+
{
|
|
5419
|
+
"name": "label",
|
|
5420
|
+
"type": {
|
|
5421
|
+
"text": "string"
|
|
5422
|
+
},
|
|
5423
|
+
"fieldName": "label"
|
|
5424
|
+
},
|
|
5425
|
+
{
|
|
5426
|
+
"name": "help-text",
|
|
5427
|
+
"type": {
|
|
5428
|
+
"text": "string"
|
|
5429
|
+
},
|
|
5430
|
+
"fieldName": "helpText"
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"name": "size",
|
|
5434
|
+
"type": {
|
|
5435
|
+
"text": "string"
|
|
5436
|
+
},
|
|
5437
|
+
"fieldName": "size"
|
|
5438
|
+
},
|
|
5439
|
+
{
|
|
5440
|
+
"name": "max",
|
|
5441
|
+
"type": {
|
|
5442
|
+
"text": "number"
|
|
5443
|
+
},
|
|
5444
|
+
"fieldName": "max"
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"name": "min",
|
|
5448
|
+
"type": {
|
|
5449
|
+
"text": "number"
|
|
5450
|
+
},
|
|
5451
|
+
"fieldName": "min"
|
|
5452
|
+
},
|
|
5453
|
+
{
|
|
5454
|
+
"name": "min-length",
|
|
5455
|
+
"type": {
|
|
5456
|
+
"text": "number"
|
|
5457
|
+
},
|
|
5458
|
+
"fieldName": "minLength"
|
|
5459
|
+
},
|
|
5460
|
+
{
|
|
5461
|
+
"name": "max-length",
|
|
5462
|
+
"type": {
|
|
5463
|
+
"text": "number"
|
|
5464
|
+
},
|
|
5465
|
+
"fieldName": "maxLength"
|
|
5466
|
+
},
|
|
5467
|
+
{
|
|
5468
|
+
"name": "pattern",
|
|
5469
|
+
"type": {
|
|
5470
|
+
"text": "string"
|
|
5471
|
+
},
|
|
5472
|
+
"fieldName": "pattern"
|
|
5473
|
+
},
|
|
5474
|
+
{
|
|
5475
|
+
"name": "placeholder",
|
|
5476
|
+
"type": {
|
|
5477
|
+
"text": "string"
|
|
5478
|
+
},
|
|
5479
|
+
"fieldName": "placeholder"
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
"name": "read-only",
|
|
5483
|
+
"type": {
|
|
5484
|
+
"text": "boolean"
|
|
5485
|
+
},
|
|
5486
|
+
"fieldName": "readOnly"
|
|
5487
|
+
},
|
|
5488
|
+
{
|
|
5489
|
+
"name": "required",
|
|
5490
|
+
"type": {
|
|
5491
|
+
"text": "boolean"
|
|
5492
|
+
},
|
|
5493
|
+
"fieldName": "required"
|
|
5494
|
+
},
|
|
5495
|
+
{
|
|
5496
|
+
"name": "type",
|
|
5497
|
+
"type": {
|
|
5498
|
+
"text": "string"
|
|
5499
|
+
},
|
|
5500
|
+
"default": "'text'",
|
|
5501
|
+
"fieldName": "type"
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
"name": "value",
|
|
5505
|
+
"type": {
|
|
5506
|
+
"text": "string"
|
|
5507
|
+
},
|
|
5508
|
+
"fieldName": "value"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"name": "name",
|
|
5512
|
+
"type": {
|
|
5513
|
+
"text": "string"
|
|
5514
|
+
},
|
|
5515
|
+
"fieldName": "name"
|
|
5516
|
+
}
|
|
5517
|
+
],
|
|
5518
|
+
"mixins": [
|
|
5519
|
+
{
|
|
5520
|
+
"name": "FormControlMixin",
|
|
5521
|
+
"package": "@open-wc/form-control"
|
|
5522
|
+
}
|
|
5523
|
+
],
|
|
5524
|
+
"superclass": {
|
|
5525
|
+
"name": "LitElement",
|
|
5526
|
+
"package": "lit"
|
|
5527
|
+
},
|
|
5528
|
+
"tagName": "w-textfield",
|
|
5529
|
+
"customElement": true,
|
|
5530
|
+
"modulePath": "packages/textfield/index.ts",
|
|
5531
|
+
"definitionPath": "packages/textfield/index.ts"
|
|
5532
|
+
}
|
|
5533
|
+
],
|
|
5534
|
+
"exports": [
|
|
5535
|
+
{
|
|
5536
|
+
"kind": "js",
|
|
5537
|
+
"name": "ccinput",
|
|
5538
|
+
"declaration": {
|
|
5539
|
+
"name": "ccinput",
|
|
5540
|
+
"module": "packages/textfield/index.ts"
|
|
5541
|
+
}
|
|
5542
|
+
},
|
|
5543
|
+
{
|
|
5544
|
+
"kind": "js",
|
|
5545
|
+
"name": "ccLabel",
|
|
5546
|
+
"declaration": {
|
|
5547
|
+
"name": "ccLabel",
|
|
5548
|
+
"module": "packages/textfield/index.ts"
|
|
5549
|
+
}
|
|
5550
|
+
},
|
|
5551
|
+
{
|
|
5552
|
+
"kind": "js",
|
|
5553
|
+
"name": "ccHelpText",
|
|
5554
|
+
"declaration": {
|
|
5555
|
+
"name": "ccHelpText",
|
|
5556
|
+
"module": "packages/textfield/index.ts"
|
|
5557
|
+
}
|
|
5558
|
+
},
|
|
5559
|
+
{
|
|
5560
|
+
"kind": "custom-element-definition",
|
|
5561
|
+
"name": "w-textfield",
|
|
5562
|
+
"declaration": {
|
|
5563
|
+
"name": "WarpTextField",
|
|
5564
|
+
"module": "packages/textfield/index.ts"
|
|
5565
|
+
}
|
|
5566
|
+
},
|
|
5567
|
+
{
|
|
5568
|
+
"kind": "js",
|
|
5569
|
+
"name": "WarpTextField",
|
|
5570
|
+
"declaration": {
|
|
5571
|
+
"name": "WarpTextField",
|
|
5572
|
+
"module": "packages/textfield/index.ts"
|
|
5573
|
+
}
|
|
5574
|
+
}
|
|
5575
|
+
]
|
|
5576
|
+
},
|
|
5577
|
+
{
|
|
5578
|
+
"kind": "javascript-module",
|
|
5579
|
+
"path": "packages/slider/slider-thumb.ts",
|
|
5580
|
+
"declarations": [
|
|
5581
|
+
{
|
|
5582
|
+
"kind": "class",
|
|
5583
|
+
"description": "Component to place inside a `<w-slider>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)",
|
|
5584
|
+
"name": "WarpSliderThumb",
|
|
5585
|
+
"members": [
|
|
5586
|
+
{
|
|
5587
|
+
"kind": "field",
|
|
5588
|
+
"name": "shadowRootOptions",
|
|
5589
|
+
"type": {
|
|
5590
|
+
"text": "object"
|
|
5591
|
+
},
|
|
5592
|
+
"static": true,
|
|
5593
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5594
|
+
},
|
|
5595
|
+
{
|
|
5596
|
+
"kind": "field",
|
|
5597
|
+
"name": "ariaLabel",
|
|
5598
|
+
"type": {
|
|
5599
|
+
"text": "string"
|
|
5600
|
+
},
|
|
5601
|
+
"attribute": "aria-label"
|
|
5602
|
+
},
|
|
5603
|
+
{
|
|
5604
|
+
"kind": "field",
|
|
5605
|
+
"name": "ariaDescription",
|
|
5606
|
+
"type": {
|
|
5607
|
+
"text": "string"
|
|
5608
|
+
},
|
|
5609
|
+
"attribute": "aria-description"
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
"kind": "field",
|
|
5613
|
+
"name": "label",
|
|
5614
|
+
"type": {
|
|
5615
|
+
"text": "string"
|
|
5616
|
+
},
|
|
5617
|
+
"attribute": "label"
|
|
5618
|
+
},
|
|
5619
|
+
{
|
|
5620
|
+
"kind": "field",
|
|
5621
|
+
"name": "name",
|
|
5622
|
+
"type": {
|
|
5623
|
+
"text": "string"
|
|
5624
|
+
},
|
|
5625
|
+
"attribute": "name"
|
|
5626
|
+
},
|
|
5627
|
+
{
|
|
5628
|
+
"kind": "field",
|
|
5629
|
+
"name": "value",
|
|
5630
|
+
"type": {
|
|
5631
|
+
"text": "string"
|
|
5632
|
+
},
|
|
5633
|
+
"attribute": "value",
|
|
5634
|
+
"reflects": true
|
|
5635
|
+
},
|
|
5636
|
+
{
|
|
5637
|
+
"kind": "field",
|
|
5638
|
+
"name": "disabled",
|
|
5639
|
+
"type": {
|
|
5640
|
+
"text": "boolean"
|
|
5641
|
+
},
|
|
5642
|
+
"attribute": "disabled",
|
|
5643
|
+
"reflects": true
|
|
5644
|
+
},
|
|
5645
|
+
{
|
|
5646
|
+
"kind": "field",
|
|
5647
|
+
"name": "markers",
|
|
5648
|
+
"type": {
|
|
5649
|
+
"text": "string"
|
|
5650
|
+
},
|
|
5651
|
+
"description": "Set by `<w-slider>`"
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"kind": "field",
|
|
5655
|
+
"name": "required",
|
|
5656
|
+
"type": {
|
|
5657
|
+
"text": "boolean"
|
|
5658
|
+
},
|
|
5659
|
+
"description": "Set by `<w-slider>`"
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
"kind": "field",
|
|
5663
|
+
"name": "step",
|
|
5664
|
+
"type": {
|
|
5665
|
+
"text": "number"
|
|
5666
|
+
},
|
|
5667
|
+
"description": "Set by `<w-slider>`"
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
"kind": "field",
|
|
5671
|
+
"name": "min",
|
|
5672
|
+
"type": {
|
|
5673
|
+
"text": "string"
|
|
5674
|
+
},
|
|
5675
|
+
"description": "Set by `<w-slider>`"
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
"kind": "field",
|
|
5679
|
+
"name": "max",
|
|
5680
|
+
"type": {
|
|
5681
|
+
"text": "string"
|
|
5682
|
+
},
|
|
5683
|
+
"description": "Set by `<w-slider>`"
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"kind": "field",
|
|
5687
|
+
"name": "suffix",
|
|
5688
|
+
"type": {
|
|
5689
|
+
"text": "string"
|
|
5690
|
+
},
|
|
5691
|
+
"description": "Set by `<w-slider>`"
|
|
5692
|
+
},
|
|
5693
|
+
{
|
|
5694
|
+
"kind": "field",
|
|
5695
|
+
"name": "formatter",
|
|
5696
|
+
"type": {
|
|
5697
|
+
"text": "(value: string) => string"
|
|
5698
|
+
},
|
|
5699
|
+
"description": "JS hook to help you format the numeric value how you want."
|
|
5700
|
+
},
|
|
5701
|
+
{
|
|
5702
|
+
"kind": "field",
|
|
5703
|
+
"name": "range",
|
|
5704
|
+
"type": {
|
|
5705
|
+
"text": "HTMLInputElement"
|
|
5706
|
+
}
|
|
5707
|
+
},
|
|
5708
|
+
{
|
|
5709
|
+
"kind": "field",
|
|
5710
|
+
"name": "textfield",
|
|
5711
|
+
"type": {
|
|
5712
|
+
"text": "WarpTextField"
|
|
5713
|
+
}
|
|
5714
|
+
},
|
|
5715
|
+
{
|
|
5716
|
+
"kind": "method",
|
|
5717
|
+
"name": "#showTooltip",
|
|
5718
|
+
"privacy": "private",
|
|
5719
|
+
"return": {
|
|
5720
|
+
"type": {
|
|
5721
|
+
"text": "void"
|
|
5722
|
+
}
|
|
5723
|
+
}
|
|
5724
|
+
},
|
|
5725
|
+
{
|
|
5726
|
+
"kind": "method",
|
|
5727
|
+
"name": "#hideTooltip",
|
|
5728
|
+
"privacy": "private",
|
|
5729
|
+
"return": {
|
|
5730
|
+
"type": {
|
|
5731
|
+
"text": "void"
|
|
5732
|
+
}
|
|
5733
|
+
}
|
|
5734
|
+
},
|
|
5735
|
+
{
|
|
5736
|
+
"kind": "method",
|
|
5737
|
+
"name": "#onInput",
|
|
5738
|
+
"privacy": "private",
|
|
5739
|
+
"return": {
|
|
5740
|
+
"type": {
|
|
5741
|
+
"text": "boolean"
|
|
5742
|
+
}
|
|
5743
|
+
},
|
|
5744
|
+
"parameters": [
|
|
5745
|
+
{
|
|
5746
|
+
"name": "e",
|
|
5747
|
+
"type": {
|
|
5748
|
+
"text": "InputEvent | CustomEvent"
|
|
5749
|
+
}
|
|
5750
|
+
}
|
|
5751
|
+
]
|
|
5752
|
+
}
|
|
5753
|
+
],
|
|
5754
|
+
"events": [
|
|
5755
|
+
{
|
|
5756
|
+
"name": "slidervalidity",
|
|
5757
|
+
"type": {
|
|
5758
|
+
"text": "CustomEvent"
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5761
|
+
],
|
|
5762
|
+
"attributes": [
|
|
5763
|
+
{
|
|
5764
|
+
"name": "aria-label",
|
|
5765
|
+
"type": {
|
|
5766
|
+
"text": "string"
|
|
5767
|
+
},
|
|
5768
|
+
"fieldName": "ariaLabel"
|
|
5769
|
+
},
|
|
5770
|
+
{
|
|
5771
|
+
"name": "aria-description",
|
|
5772
|
+
"type": {
|
|
5773
|
+
"text": "string"
|
|
5774
|
+
},
|
|
5775
|
+
"fieldName": "ariaDescription"
|
|
5776
|
+
},
|
|
5777
|
+
{
|
|
5778
|
+
"name": "label",
|
|
5779
|
+
"type": {
|
|
5780
|
+
"text": "string"
|
|
5781
|
+
},
|
|
5782
|
+
"fieldName": "label"
|
|
5783
|
+
},
|
|
5784
|
+
{
|
|
5785
|
+
"name": "name",
|
|
5786
|
+
"type": {
|
|
5787
|
+
"text": "string"
|
|
5788
|
+
},
|
|
5789
|
+
"fieldName": "name"
|
|
5790
|
+
},
|
|
5791
|
+
{
|
|
5792
|
+
"name": "value",
|
|
5793
|
+
"type": {
|
|
5794
|
+
"text": "string"
|
|
5795
|
+
},
|
|
5796
|
+
"fieldName": "value"
|
|
5797
|
+
},
|
|
5798
|
+
{
|
|
5799
|
+
"name": "disabled",
|
|
5800
|
+
"type": {
|
|
5801
|
+
"text": "boolean"
|
|
5802
|
+
},
|
|
5803
|
+
"fieldName": "disabled"
|
|
5804
|
+
}
|
|
5805
|
+
],
|
|
5806
|
+
"mixins": [
|
|
5807
|
+
{
|
|
5808
|
+
"name": "FormControlMixin",
|
|
5809
|
+
"package": "@open-wc/form-control"
|
|
5810
|
+
}
|
|
5811
|
+
],
|
|
5812
|
+
"superclass": {
|
|
5813
|
+
"name": "LitElement",
|
|
5814
|
+
"package": "lit"
|
|
5815
|
+
},
|
|
5816
|
+
"tagName": "w-slider-thumb",
|
|
5817
|
+
"customElement": true,
|
|
5818
|
+
"modulePath": "packages/slider/slider-thumb.ts",
|
|
5819
|
+
"definitionPath": "packages/slider/slider-thumb.ts"
|
|
5820
|
+
}
|
|
5821
|
+
],
|
|
5822
|
+
"exports": [
|
|
5823
|
+
{
|
|
5824
|
+
"kind": "custom-element-definition",
|
|
5825
|
+
"name": "w-slider-thumb",
|
|
5826
|
+
"declaration": {
|
|
5827
|
+
"name": "WarpSliderThumb",
|
|
5828
|
+
"module": "packages/slider/slider-thumb.ts"
|
|
5829
|
+
}
|
|
5830
|
+
},
|
|
5831
|
+
{
|
|
5832
|
+
"kind": "js",
|
|
5833
|
+
"name": "WarpSliderThumb",
|
|
5834
|
+
"declaration": {
|
|
5835
|
+
"name": "WarpSliderThumb",
|
|
5836
|
+
"module": "packages/slider/slider-thumb.ts"
|
|
5837
|
+
}
|
|
5838
|
+
}
|
|
5839
|
+
]
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"kind": "javascript-module",
|
|
5843
|
+
"path": "packages/slider/slider.ts",
|
|
5844
|
+
"declarations": [
|
|
5845
|
+
{
|
|
5846
|
+
"kind": "class",
|
|
5847
|
+
"description": "Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)",
|
|
5848
|
+
"name": "WarpSlider",
|
|
5849
|
+
"slots": [
|
|
5850
|
+
{
|
|
5851
|
+
"description": "For single sliders place a `<w-slider-thumb>` in the default slot.",
|
|
5852
|
+
"name": ""
|
|
5853
|
+
},
|
|
5854
|
+
{
|
|
5855
|
+
"description": "Label for the slider or range slider as a whole.",
|
|
5856
|
+
"name": "label"
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
"description": "Optional description between the label and slider.",
|
|
5860
|
+
"name": "description"
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
5864
|
+
"name": "from"
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
5868
|
+
"name": "to"
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
"members": [
|
|
5872
|
+
{
|
|
5873
|
+
"kind": "field",
|
|
5874
|
+
"name": "shadowRootOptions",
|
|
5875
|
+
"type": {
|
|
5876
|
+
"text": "object"
|
|
5877
|
+
},
|
|
5878
|
+
"static": true,
|
|
5879
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5880
|
+
},
|
|
5881
|
+
{
|
|
5882
|
+
"kind": "field",
|
|
5883
|
+
"name": "label",
|
|
5884
|
+
"type": {
|
|
5885
|
+
"text": "string"
|
|
5886
|
+
},
|
|
5887
|
+
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
5888
|
+
"attribute": "label"
|
|
5889
|
+
},
|
|
5890
|
+
{
|
|
5891
|
+
"kind": "field",
|
|
5892
|
+
"name": "disabled",
|
|
5893
|
+
"type": {
|
|
5894
|
+
"text": "boolean"
|
|
5895
|
+
},
|
|
5896
|
+
"default": "false",
|
|
5897
|
+
"attribute": "disabled",
|
|
5898
|
+
"reflects": true
|
|
5899
|
+
},
|
|
5900
|
+
{
|
|
5901
|
+
"kind": "field",
|
|
5902
|
+
"name": "invalid",
|
|
5903
|
+
"type": {
|
|
5904
|
+
"text": "boolean"
|
|
5905
|
+
},
|
|
5906
|
+
"default": "false",
|
|
5907
|
+
"attribute": "invalid",
|
|
5908
|
+
"reflects": true
|
|
5909
|
+
},
|
|
5910
|
+
{
|
|
5911
|
+
"kind": "field",
|
|
5912
|
+
"name": "required",
|
|
5913
|
+
"type": {
|
|
5914
|
+
"text": "boolean"
|
|
5915
|
+
},
|
|
5916
|
+
"default": "false",
|
|
5917
|
+
"description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
|
|
5918
|
+
"attribute": "required",
|
|
5919
|
+
"reflects": true
|
|
5920
|
+
},
|
|
5921
|
+
{
|
|
5922
|
+
"kind": "field",
|
|
5923
|
+
"name": "min",
|
|
5924
|
+
"type": {
|
|
5925
|
+
"text": "string"
|
|
5926
|
+
},
|
|
5927
|
+
"attribute": "min",
|
|
5928
|
+
"reflects": true
|
|
5929
|
+
},
|
|
5930
|
+
{
|
|
5931
|
+
"kind": "field",
|
|
5932
|
+
"name": "max",
|
|
5933
|
+
"type": {
|
|
5934
|
+
"text": "string"
|
|
5935
|
+
},
|
|
5936
|
+
"attribute": "max",
|
|
5937
|
+
"reflects": true
|
|
5938
|
+
},
|
|
5939
|
+
{
|
|
5940
|
+
"kind": "field",
|
|
5941
|
+
"name": "markers",
|
|
5942
|
+
"type": {
|
|
5943
|
+
"text": "number"
|
|
5944
|
+
},
|
|
5945
|
+
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
5946
|
+
"attribute": "markers"
|
|
5947
|
+
},
|
|
5948
|
+
{
|
|
5949
|
+
"kind": "field",
|
|
5950
|
+
"name": "step",
|
|
5951
|
+
"type": {
|
|
5952
|
+
"text": "number"
|
|
5953
|
+
},
|
|
5954
|
+
"attribute": "step"
|
|
5955
|
+
},
|
|
5956
|
+
{
|
|
5957
|
+
"kind": "field",
|
|
5958
|
+
"name": "suffix",
|
|
5959
|
+
"type": {
|
|
5960
|
+
"text": "string"
|
|
5961
|
+
},
|
|
5962
|
+
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
5963
|
+
"attribute": "suffix"
|
|
5964
|
+
},
|
|
5965
|
+
{
|
|
5966
|
+
"kind": "field",
|
|
5967
|
+
"name": "formatter",
|
|
5968
|
+
"type": {
|
|
5969
|
+
"text": "(value: string) => string"
|
|
5970
|
+
},
|
|
5971
|
+
"description": "Function to format the to- and from labels and value in the slider thumb tooltip."
|
|
5972
|
+
},
|
|
5973
|
+
{
|
|
5974
|
+
"kind": "field",
|
|
5975
|
+
"name": "#thumbSize",
|
|
5976
|
+
"privacy": "private",
|
|
5977
|
+
"type": {
|
|
5978
|
+
"text": "number"
|
|
5979
|
+
}
|
|
5980
|
+
},
|
|
5981
|
+
{
|
|
5982
|
+
"kind": "method",
|
|
5983
|
+
"name": "#syncSliderThumbs",
|
|
5984
|
+
"privacy": "private",
|
|
5985
|
+
"return": {
|
|
5986
|
+
"type": {
|
|
5987
|
+
"text": "void"
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5990
|
+
},
|
|
5991
|
+
{
|
|
5992
|
+
"kind": "method",
|
|
5993
|
+
"name": "#onInput",
|
|
5994
|
+
"privacy": "private",
|
|
5995
|
+
"parameters": [
|
|
5996
|
+
{
|
|
5997
|
+
"name": "e",
|
|
5998
|
+
"type": {
|
|
5999
|
+
"text": "InputEvent"
|
|
6000
|
+
}
|
|
6001
|
+
}
|
|
6002
|
+
]
|
|
6003
|
+
},
|
|
6004
|
+
{
|
|
6005
|
+
"kind": "method",
|
|
6006
|
+
"name": "#onSliderValidity",
|
|
6007
|
+
"privacy": "private",
|
|
6008
|
+
"parameters": [
|
|
6009
|
+
{
|
|
6010
|
+
"name": "e",
|
|
6011
|
+
"type": {
|
|
6012
|
+
"text": "CustomEvent"
|
|
6013
|
+
}
|
|
6014
|
+
}
|
|
6015
|
+
]
|
|
6016
|
+
},
|
|
6017
|
+
{
|
|
6018
|
+
"kind": "method",
|
|
6019
|
+
"name": "#updateActiveTrack",
|
|
6020
|
+
"privacy": "private",
|
|
6021
|
+
"parameters": [
|
|
6022
|
+
{
|
|
6023
|
+
"name": "input",
|
|
6024
|
+
"type": {
|
|
6025
|
+
"text": "WarpSliderThumb"
|
|
6026
|
+
}
|
|
6027
|
+
}
|
|
6028
|
+
],
|
|
6029
|
+
"description": "We use CSS variables to fill the active track with a background color."
|
|
6030
|
+
},
|
|
6031
|
+
{
|
|
6032
|
+
"kind": "method",
|
|
6033
|
+
"name": "#getActiveRangeWidth",
|
|
6034
|
+
"privacy": "private",
|
|
6035
|
+
"return": {
|
|
6036
|
+
"type": {
|
|
6037
|
+
"text": "number"
|
|
6038
|
+
}
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
],
|
|
6042
|
+
"attributes": [
|
|
6043
|
+
{
|
|
6044
|
+
"name": "label",
|
|
6045
|
+
"type": {
|
|
6046
|
+
"text": "string"
|
|
6047
|
+
},
|
|
6048
|
+
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
6049
|
+
"fieldName": "label"
|
|
6050
|
+
},
|
|
6051
|
+
{
|
|
6052
|
+
"name": "disabled",
|
|
6053
|
+
"type": {
|
|
6054
|
+
"text": "boolean"
|
|
6055
|
+
},
|
|
6056
|
+
"default": "false",
|
|
6057
|
+
"fieldName": "disabled"
|
|
6058
|
+
},
|
|
6059
|
+
{
|
|
6060
|
+
"name": "invalid",
|
|
6061
|
+
"type": {
|
|
6062
|
+
"text": "boolean"
|
|
6063
|
+
},
|
|
6064
|
+
"default": "false",
|
|
6065
|
+
"fieldName": "invalid"
|
|
6066
|
+
},
|
|
6067
|
+
{
|
|
6068
|
+
"name": "required",
|
|
6069
|
+
"type": {
|
|
6070
|
+
"text": "boolean"
|
|
6071
|
+
},
|
|
6072
|
+
"default": "false",
|
|
6073
|
+
"description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
|
|
6074
|
+
"fieldName": "required"
|
|
6075
|
+
},
|
|
6076
|
+
{
|
|
6077
|
+
"name": "min",
|
|
6078
|
+
"type": {
|
|
6079
|
+
"text": "string"
|
|
6080
|
+
},
|
|
6081
|
+
"fieldName": "min"
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
"name": "max",
|
|
6085
|
+
"type": {
|
|
6086
|
+
"text": "string"
|
|
6087
|
+
},
|
|
6088
|
+
"fieldName": "max"
|
|
6089
|
+
},
|
|
6090
|
+
{
|
|
6091
|
+
"name": "markers",
|
|
6092
|
+
"type": {
|
|
6093
|
+
"text": "number"
|
|
6094
|
+
},
|
|
6095
|
+
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
6096
|
+
"fieldName": "markers"
|
|
6097
|
+
},
|
|
6098
|
+
{
|
|
6099
|
+
"name": "step",
|
|
6100
|
+
"type": {
|
|
6101
|
+
"text": "number"
|
|
6102
|
+
},
|
|
6103
|
+
"fieldName": "step"
|
|
6104
|
+
},
|
|
6105
|
+
{
|
|
6106
|
+
"name": "suffix",
|
|
6107
|
+
"type": {
|
|
6108
|
+
"text": "string"
|
|
6109
|
+
},
|
|
6110
|
+
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
6111
|
+
"fieldName": "suffix"
|
|
6112
|
+
}
|
|
6113
|
+
],
|
|
6114
|
+
"mixins": [
|
|
6115
|
+
{
|
|
6116
|
+
"name": "FormControlMixin",
|
|
6117
|
+
"package": "@open-wc/form-control"
|
|
6118
|
+
}
|
|
6119
|
+
],
|
|
6120
|
+
"superclass": {
|
|
6121
|
+
"name": "LitElement",
|
|
6122
|
+
"package": "lit"
|
|
6123
|
+
},
|
|
6124
|
+
"tagName": "w-slider",
|
|
6125
|
+
"customElement": true,
|
|
6126
|
+
"modulePath": "packages/slider/slider.ts",
|
|
6127
|
+
"definitionPath": "packages/slider/slider.ts"
|
|
6128
|
+
}
|
|
6129
|
+
],
|
|
6130
|
+
"exports": [
|
|
6131
|
+
{
|
|
6132
|
+
"kind": "custom-element-definition",
|
|
6133
|
+
"name": "w-slider",
|
|
6134
|
+
"declaration": {
|
|
6135
|
+
"name": "WarpSlider",
|
|
6136
|
+
"module": "packages/slider/slider.ts"
|
|
6137
|
+
}
|
|
6138
|
+
},
|
|
6139
|
+
{
|
|
6140
|
+
"kind": "js",
|
|
6141
|
+
"name": "WarpSlider",
|
|
6142
|
+
"declaration": {
|
|
6143
|
+
"name": "WarpSlider",
|
|
6144
|
+
"module": "packages/slider/slider.ts"
|
|
6145
|
+
}
|
|
6146
|
+
}
|
|
6147
|
+
]
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
"kind": "javascript-module",
|
|
6151
|
+
"path": "packages/slider/index.ts",
|
|
6152
|
+
"declarations": [],
|
|
6153
|
+
"exports": [
|
|
6154
|
+
{
|
|
6155
|
+
"kind": "js",
|
|
6156
|
+
"name": "*",
|
|
6157
|
+
"declaration": {
|
|
6158
|
+
"name": "*",
|
|
6159
|
+
"module": "packages/slider/slider.js"
|
|
6160
|
+
}
|
|
6161
|
+
},
|
|
6162
|
+
{
|
|
6163
|
+
"kind": "js",
|
|
6164
|
+
"name": "*",
|
|
6165
|
+
"declaration": {
|
|
6166
|
+
"name": "*",
|
|
6167
|
+
"module": "packages/slider/slider-thumb.js"
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
]
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
"kind": "javascript-module",
|
|
6174
|
+
"path": "packages/steps/index.ts",
|
|
6175
|
+
"declarations": [
|
|
6176
|
+
{
|
|
6177
|
+
"kind": "class",
|
|
6178
|
+
"description": "Steps are used to show progress through a process or to guide users through a multi-step task.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)",
|
|
6179
|
+
"name": "WarpSteps",
|
|
6180
|
+
"members": [
|
|
6181
|
+
{
|
|
6182
|
+
"kind": "field",
|
|
6183
|
+
"name": "horizontal",
|
|
6184
|
+
"type": {
|
|
6185
|
+
"text": "boolean"
|
|
6186
|
+
},
|
|
6187
|
+
"default": "false",
|
|
6188
|
+
"attribute": "horizontal",
|
|
6189
|
+
"reflects": true
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
"kind": "field",
|
|
6193
|
+
"name": "right",
|
|
6194
|
+
"type": {
|
|
6195
|
+
"text": "boolean"
|
|
6196
|
+
},
|
|
6197
|
+
"default": "false",
|
|
6198
|
+
"attribute": "right",
|
|
6199
|
+
"reflects": true
|
|
6200
|
+
},
|
|
6201
|
+
{
|
|
6202
|
+
"kind": "method",
|
|
6203
|
+
"name": "updateStepsContext",
|
|
6204
|
+
"type": {
|
|
6205
|
+
"text": "updateStepsContext() => void"
|
|
6206
|
+
}
|
|
6207
|
+
}
|
|
6208
|
+
],
|
|
6209
|
+
"attributes": [
|
|
6210
|
+
{
|
|
6211
|
+
"name": "horizontal",
|
|
6212
|
+
"type": {
|
|
6213
|
+
"text": "boolean"
|
|
6214
|
+
},
|
|
6215
|
+
"default": "false",
|
|
6216
|
+
"fieldName": "horizontal"
|
|
6217
|
+
},
|
|
6218
|
+
{
|
|
6219
|
+
"name": "right",
|
|
6220
|
+
"type": {
|
|
6221
|
+
"text": "boolean"
|
|
6222
|
+
},
|
|
6223
|
+
"default": "false",
|
|
6224
|
+
"fieldName": "right"
|
|
6225
|
+
}
|
|
6226
|
+
],
|
|
6227
|
+
"superclass": {
|
|
6228
|
+
"name": "LitElement",
|
|
6229
|
+
"package": "lit"
|
|
6230
|
+
},
|
|
6231
|
+
"tagName": "w-steps",
|
|
6232
|
+
"customElement": true,
|
|
6233
|
+
"modulePath": "packages/steps/index.ts",
|
|
6234
|
+
"definitionPath": "packages/steps/index.ts"
|
|
6235
|
+
},
|
|
6236
|
+
{
|
|
6237
|
+
"kind": "class",
|
|
6238
|
+
"description": "Individual step component that shows a single step in a process",
|
|
6239
|
+
"name": "WarpStep",
|
|
6240
|
+
"members": [
|
|
6241
|
+
{
|
|
6242
|
+
"kind": "field",
|
|
6243
|
+
"name": "active",
|
|
6244
|
+
"type": {
|
|
6245
|
+
"text": "boolean"
|
|
6246
|
+
},
|
|
6247
|
+
"default": "false",
|
|
6248
|
+
"attribute": "active",
|
|
6249
|
+
"reflects": true
|
|
6250
|
+
},
|
|
6251
|
+
{
|
|
6252
|
+
"kind": "field",
|
|
6253
|
+
"name": "completed",
|
|
6254
|
+
"type": {
|
|
6255
|
+
"text": "boolean"
|
|
6256
|
+
},
|
|
6257
|
+
"default": "false",
|
|
6258
|
+
"attribute": "completed",
|
|
6259
|
+
"reflects": true
|
|
6260
|
+
},
|
|
6261
|
+
{
|
|
6262
|
+
"kind": "field",
|
|
6263
|
+
"name": "_context",
|
|
6264
|
+
"type": {
|
|
6265
|
+
"text": "StepsContext"
|
|
6266
|
+
},
|
|
6267
|
+
"privacy": "private",
|
|
6268
|
+
"default": "{ horizontal: false, right: false, isLast: false, isFirst: false }"
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
"kind": "method",
|
|
6272
|
+
"name": "setContext",
|
|
6273
|
+
"parameters": [
|
|
6274
|
+
{
|
|
6275
|
+
"name": "context",
|
|
6276
|
+
"type": {
|
|
6277
|
+
"text": "StepsContext"
|
|
6278
|
+
}
|
|
6279
|
+
}
|
|
6280
|
+
],
|
|
6281
|
+
"type": {
|
|
6282
|
+
"text": "setContext(context: StepsContext) => void"
|
|
6283
|
+
}
|
|
6284
|
+
},
|
|
6285
|
+
{
|
|
6286
|
+
"kind": "method",
|
|
6287
|
+
"name": "getAriaLabel",
|
|
6288
|
+
"type": {
|
|
6289
|
+
"text": "getAriaLabel() => void"
|
|
6290
|
+
}
|
|
6291
|
+
}
|
|
6292
|
+
],
|
|
6293
|
+
"attributes": [
|
|
6294
|
+
{
|
|
6295
|
+
"name": "active",
|
|
6296
|
+
"type": {
|
|
6297
|
+
"text": "boolean"
|
|
6298
|
+
},
|
|
6299
|
+
"default": "false",
|
|
6300
|
+
"fieldName": "active"
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"name": "completed",
|
|
6304
|
+
"type": {
|
|
6305
|
+
"text": "boolean"
|
|
6306
|
+
},
|
|
6307
|
+
"default": "false",
|
|
6308
|
+
"fieldName": "completed"
|
|
6309
|
+
}
|
|
6310
|
+
],
|
|
6311
|
+
"superclass": {
|
|
6312
|
+
"name": "LitElement",
|
|
6313
|
+
"package": "lit"
|
|
6314
|
+
},
|
|
6315
|
+
"tagName": "w-step",
|
|
6316
|
+
"customElement": true,
|
|
6317
|
+
"modulePath": "packages/steps/index.ts",
|
|
6318
|
+
"definitionPath": "packages/steps/index.ts"
|
|
6319
|
+
}
|
|
6320
|
+
],
|
|
6321
|
+
"exports": [
|
|
6322
|
+
{
|
|
6323
|
+
"kind": "custom-element-definition",
|
|
6324
|
+
"name": "w-steps",
|
|
6325
|
+
"declaration": {
|
|
6326
|
+
"name": "WarpSteps",
|
|
6327
|
+
"module": "packages/steps/index.ts"
|
|
6328
|
+
}
|
|
6329
|
+
},
|
|
6330
|
+
{
|
|
6331
|
+
"kind": "custom-element-definition",
|
|
6332
|
+
"name": "w-step",
|
|
6333
|
+
"declaration": {
|
|
6334
|
+
"name": "WarpStep",
|
|
6335
|
+
"module": "packages/steps/index.ts"
|
|
6336
|
+
}
|
|
6337
|
+
},
|
|
6338
|
+
{
|
|
6339
|
+
"kind": "js",
|
|
6340
|
+
"name": "WarpSteps",
|
|
6341
|
+
"declaration": {
|
|
6342
|
+
"name": "WarpSteps",
|
|
6343
|
+
"module": "packages/steps/index.ts"
|
|
6344
|
+
}
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"kind": "js",
|
|
6348
|
+
"name": "WarpStep",
|
|
6349
|
+
"declaration": {
|
|
6350
|
+
"name": "WarpStep",
|
|
6351
|
+
"module": "packages/steps/index.ts"
|
|
6352
|
+
}
|
|
6353
|
+
}
|
|
6354
|
+
]
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "javascript-module",
|
|
6358
|
+
"path": "packages/switch/index.ts",
|
|
6359
|
+
"declarations": [
|
|
6360
|
+
{
|
|
6361
|
+
"kind": "class",
|
|
6362
|
+
"description": "",
|
|
6363
|
+
"name": "WarpSwitch",
|
|
6364
|
+
"members": [
|
|
6365
|
+
{
|
|
6366
|
+
"kind": "field",
|
|
6367
|
+
"name": "value",
|
|
6368
|
+
"type": {
|
|
6369
|
+
"text": "boolean"
|
|
6370
|
+
},
|
|
6371
|
+
"default": "false",
|
|
6372
|
+
"attribute": "value",
|
|
6373
|
+
"reflects": true
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
"kind": "field",
|
|
6377
|
+
"name": "disabled",
|
|
6378
|
+
"type": {
|
|
6379
|
+
"text": "boolean"
|
|
6380
|
+
},
|
|
6381
|
+
"default": "false",
|
|
6382
|
+
"attribute": "disabled",
|
|
6383
|
+
"reflects": true
|
|
6384
|
+
}
|
|
6385
|
+
],
|
|
6386
|
+
"events": [
|
|
6387
|
+
{
|
|
6388
|
+
"name": "change",
|
|
6389
|
+
"type": {
|
|
6390
|
+
"text": "CustomEvent"
|
|
6391
|
+
}
|
|
6392
|
+
}
|
|
6393
|
+
],
|
|
6394
|
+
"attributes": [
|
|
6395
|
+
{
|
|
6396
|
+
"name": "value",
|
|
6397
|
+
"type": {
|
|
6398
|
+
"text": "boolean"
|
|
6399
|
+
},
|
|
6400
|
+
"default": "false",
|
|
6401
|
+
"fieldName": "value"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"name": "disabled",
|
|
6405
|
+
"type": {
|
|
6406
|
+
"text": "boolean"
|
|
6407
|
+
},
|
|
6408
|
+
"default": "false",
|
|
6409
|
+
"fieldName": "disabled"
|
|
6410
|
+
}
|
|
6411
|
+
],
|
|
6412
|
+
"superclass": {
|
|
6413
|
+
"name": "LitElement",
|
|
6414
|
+
"package": "lit"
|
|
6415
|
+
},
|
|
6416
|
+
"tagName": "w-switch",
|
|
6417
|
+
"customElement": true,
|
|
6418
|
+
"modulePath": "packages/switch/index.ts",
|
|
6419
|
+
"definitionPath": "packages/switch/index.ts"
|
|
6420
|
+
}
|
|
6421
|
+
],
|
|
6422
|
+
"exports": [
|
|
6423
|
+
{
|
|
6424
|
+
"kind": "js",
|
|
6425
|
+
"name": "WarpSwitch",
|
|
6426
|
+
"declaration": {
|
|
6427
|
+
"name": "WarpSwitch",
|
|
6428
|
+
"module": "packages/switch/index.ts"
|
|
6429
|
+
}
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
"kind": "custom-element-definition",
|
|
6433
|
+
"name": "w-switch",
|
|
6434
|
+
"declaration": {
|
|
6435
|
+
"name": "WarpSwitch",
|
|
6436
|
+
"module": "packages/switch/index.ts"
|
|
6437
|
+
}
|
|
6438
|
+
}
|
|
6439
|
+
]
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
"kind": "javascript-module",
|
|
6443
|
+
"path": "packages/tabs/tabs.ts",
|
|
6444
|
+
"declarations": [
|
|
6445
|
+
{
|
|
6446
|
+
"kind": "class",
|
|
6447
|
+
"description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6448
|
+
"name": "WarpTabs",
|
|
6449
|
+
"members": [
|
|
6450
|
+
{
|
|
6451
|
+
"kind": "field",
|
|
6452
|
+
"name": "active",
|
|
6453
|
+
"type": {
|
|
6454
|
+
"text": "string"
|
|
6455
|
+
},
|
|
6456
|
+
"default": "''",
|
|
6457
|
+
"attribute": "active",
|
|
6458
|
+
"reflects": true
|
|
6459
|
+
},
|
|
6460
|
+
{
|
|
6461
|
+
"kind": "field",
|
|
6462
|
+
"name": "tabClass",
|
|
6463
|
+
"type": {
|
|
6464
|
+
"text": "string"
|
|
6465
|
+
},
|
|
6466
|
+
"default": "''",
|
|
6467
|
+
"attribute": "tab-class",
|
|
6468
|
+
"reflects": true
|
|
6469
|
+
},
|
|
6470
|
+
{
|
|
6471
|
+
"kind": "field",
|
|
6472
|
+
"name": "tabList",
|
|
6473
|
+
"type": {
|
|
6474
|
+
"text": "HTMLElement"
|
|
6475
|
+
},
|
|
6476
|
+
"privacy": "private"
|
|
6477
|
+
},
|
|
6478
|
+
{
|
|
6479
|
+
"kind": "field",
|
|
6480
|
+
"name": "selectionIndicator",
|
|
6481
|
+
"type": {
|
|
6482
|
+
"text": "HTMLElement"
|
|
6483
|
+
},
|
|
6484
|
+
"privacy": "private"
|
|
6485
|
+
},
|
|
6486
|
+
{
|
|
6487
|
+
"kind": "field",
|
|
6488
|
+
"name": "_activeTab",
|
|
6489
|
+
"type": {
|
|
6490
|
+
"text": "string"
|
|
6491
|
+
},
|
|
6492
|
+
"privacy": "private",
|
|
6493
|
+
"default": "''"
|
|
6494
|
+
},
|
|
6495
|
+
{
|
|
6496
|
+
"kind": "field",
|
|
6497
|
+
"name": "_resizeObserver",
|
|
6498
|
+
"type": {
|
|
6499
|
+
"text": "ResizeObserver | undefined"
|
|
6500
|
+
},
|
|
6501
|
+
"privacy": "private"
|
|
6502
|
+
},
|
|
6503
|
+
{
|
|
6504
|
+
"kind": "field",
|
|
6505
|
+
"name": "_updateSelectionIndicatorDebounced",
|
|
6506
|
+
"privacy": "private"
|
|
6507
|
+
},
|
|
6508
|
+
{
|
|
6509
|
+
"kind": "method",
|
|
6510
|
+
"name": "_initializeActiveTab",
|
|
6511
|
+
"privacy": "private"
|
|
6512
|
+
},
|
|
6513
|
+
{
|
|
6514
|
+
"kind": "field",
|
|
6515
|
+
"name": "_handleTabClick",
|
|
6516
|
+
"privacy": "private"
|
|
6517
|
+
},
|
|
6518
|
+
{
|
|
6519
|
+
"kind": "method",
|
|
6520
|
+
"name": "_notifyTabChange",
|
|
6521
|
+
"privacy": "private"
|
|
6522
|
+
},
|
|
6523
|
+
{
|
|
6524
|
+
"kind": "method",
|
|
6525
|
+
"name": "updateSelectionIndicator",
|
|
6526
|
+
"privacy": "private"
|
|
6527
|
+
},
|
|
6528
|
+
{
|
|
6529
|
+
"kind": "method",
|
|
6530
|
+
"name": "updatePanels",
|
|
6531
|
+
"privacy": "private"
|
|
6532
|
+
},
|
|
6533
|
+
{
|
|
6534
|
+
"kind": "field",
|
|
6535
|
+
"name": "_handleKeyDown",
|
|
6536
|
+
"privacy": "private"
|
|
6537
|
+
},
|
|
6538
|
+
{
|
|
6539
|
+
"kind": "field",
|
|
6540
|
+
"name": "_tabCount",
|
|
6541
|
+
"privacy": "private",
|
|
6542
|
+
"readonly": true
|
|
6543
|
+
},
|
|
6544
|
+
{
|
|
6545
|
+
"kind": "field",
|
|
6546
|
+
"name": "_gridClass",
|
|
6547
|
+
"privacy": "private",
|
|
6548
|
+
"readonly": true
|
|
6549
|
+
}
|
|
6550
|
+
],
|
|
6551
|
+
"events": [
|
|
6552
|
+
{
|
|
6553
|
+
"name": "change",
|
|
6554
|
+
"type": {
|
|
6555
|
+
"text": "CustomEvent"
|
|
6556
|
+
}
|
|
6557
|
+
}
|
|
6558
|
+
],
|
|
6559
|
+
"attributes": [
|
|
6560
|
+
{
|
|
6561
|
+
"name": "active",
|
|
6562
|
+
"type": {
|
|
6563
|
+
"text": "string"
|
|
6564
|
+
},
|
|
6565
|
+
"default": "''",
|
|
6566
|
+
"fieldName": "active"
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
"name": "tab-class",
|
|
6570
|
+
"type": {
|
|
6571
|
+
"text": "string"
|
|
6572
|
+
},
|
|
6573
|
+
"default": "''",
|
|
6574
|
+
"fieldName": "tabClass"
|
|
6575
|
+
}
|
|
6576
|
+
],
|
|
6577
|
+
"superclass": {
|
|
6578
|
+
"name": "LitElement",
|
|
6579
|
+
"package": "lit"
|
|
6580
|
+
},
|
|
6581
|
+
"tagName": "w-tabs",
|
|
6582
|
+
"customElement": true,
|
|
6583
|
+
"modulePath": "packages/tabs/tabs.ts",
|
|
6584
|
+
"definitionPath": "packages/tabs/tabs.ts"
|
|
5067
6585
|
}
|
|
5068
6586
|
],
|
|
5069
|
-
"exports": [
|
|
5070
|
-
{
|
|
5071
|
-
"kind": "custom-element-definition",
|
|
5072
|
-
"name": "w-slider",
|
|
5073
|
-
"declaration": {
|
|
5074
|
-
"name": "WarpSlider",
|
|
5075
|
-
"module": "packages/slider/slider.ts"
|
|
5076
|
-
}
|
|
5077
|
-
},
|
|
5078
|
-
{
|
|
5079
|
-
"kind": "js",
|
|
5080
|
-
"name": "WarpSlider",
|
|
5081
|
-
"declaration": {
|
|
5082
|
-
"name": "WarpSlider",
|
|
5083
|
-
"module": "packages/slider/slider.ts"
|
|
5084
|
-
}
|
|
5085
|
-
}
|
|
5086
|
-
]
|
|
5087
|
-
},
|
|
5088
|
-
{
|
|
5089
|
-
"kind": "javascript-module",
|
|
5090
|
-
"path": "packages/slider/index.ts",
|
|
5091
|
-
"declarations": [],
|
|
5092
6587
|
"exports": [
|
|
5093
6588
|
{
|
|
5094
6589
|
"kind": "js",
|
|
5095
|
-
"name": "
|
|
6590
|
+
"name": "WarpTabs",
|
|
5096
6591
|
"declaration": {
|
|
5097
|
-
"name": "
|
|
5098
|
-
"module": "packages/
|
|
6592
|
+
"name": "WarpTabs",
|
|
6593
|
+
"module": "packages/tabs/tabs.ts"
|
|
5099
6594
|
}
|
|
5100
6595
|
},
|
|
5101
6596
|
{
|
|
5102
|
-
"kind": "
|
|
5103
|
-
"name": "
|
|
6597
|
+
"kind": "custom-element-definition",
|
|
6598
|
+
"name": "w-tabs",
|
|
5104
6599
|
"declaration": {
|
|
5105
|
-
"name": "
|
|
5106
|
-
"module": "packages/
|
|
6600
|
+
"name": "WarpTabs",
|
|
6601
|
+
"module": "packages/tabs/tabs.ts"
|
|
5107
6602
|
}
|
|
5108
6603
|
}
|
|
5109
6604
|
]
|
|
5110
6605
|
},
|
|
5111
6606
|
{
|
|
5112
6607
|
"kind": "javascript-module",
|
|
5113
|
-
"path": "packages/
|
|
6608
|
+
"path": "packages/tabs/tab.ts",
|
|
5114
6609
|
"declarations": [
|
|
5115
6610
|
{
|
|
5116
6611
|
"kind": "class",
|
|
5117
|
-
"description": "
|
|
5118
|
-
"name": "
|
|
6612
|
+
"description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6613
|
+
"name": "WarpTab",
|
|
5119
6614
|
"members": [
|
|
5120
6615
|
{
|
|
5121
6616
|
"kind": "field",
|
|
5122
|
-
"name": "
|
|
6617
|
+
"name": "name",
|
|
5123
6618
|
"type": {
|
|
5124
|
-
"text": "
|
|
6619
|
+
"text": "string"
|
|
5125
6620
|
},
|
|
5126
|
-
"
|
|
5127
|
-
"attribute": "horizontal",
|
|
6621
|
+
"attribute": "name",
|
|
5128
6622
|
"reflects": true
|
|
5129
6623
|
},
|
|
5130
6624
|
{
|
|
5131
6625
|
"kind": "field",
|
|
5132
|
-
"name": "
|
|
6626
|
+
"name": "label",
|
|
5133
6627
|
"type": {
|
|
5134
|
-
"text": "
|
|
6628
|
+
"text": "string"
|
|
5135
6629
|
},
|
|
5136
|
-
"default": "
|
|
5137
|
-
"attribute": "
|
|
6630
|
+
"default": "''",
|
|
6631
|
+
"attribute": "label",
|
|
5138
6632
|
"reflects": true
|
|
5139
6633
|
},
|
|
5140
|
-
{
|
|
5141
|
-
"kind": "method",
|
|
5142
|
-
"name": "updateStepsContext"
|
|
5143
|
-
}
|
|
5144
|
-
],
|
|
5145
|
-
"attributes": [
|
|
5146
|
-
{
|
|
5147
|
-
"name": "horizontal",
|
|
5148
|
-
"type": {
|
|
5149
|
-
"text": "boolean"
|
|
5150
|
-
},
|
|
5151
|
-
"default": "false",
|
|
5152
|
-
"fieldName": "horizontal"
|
|
5153
|
-
},
|
|
5154
|
-
{
|
|
5155
|
-
"name": "right",
|
|
5156
|
-
"type": {
|
|
5157
|
-
"text": "boolean"
|
|
5158
|
-
},
|
|
5159
|
-
"default": "false",
|
|
5160
|
-
"fieldName": "right"
|
|
5161
|
-
}
|
|
5162
|
-
],
|
|
5163
|
-
"superclass": {
|
|
5164
|
-
"name": "LitElement",
|
|
5165
|
-
"package": "lit"
|
|
5166
|
-
},
|
|
5167
|
-
"tagName": "w-steps",
|
|
5168
|
-
"customElement": true
|
|
5169
|
-
},
|
|
5170
|
-
{
|
|
5171
|
-
"kind": "class",
|
|
5172
|
-
"description": "Individual step component that shows a single step in a process",
|
|
5173
|
-
"name": "WarpStep",
|
|
5174
|
-
"members": [
|
|
5175
6634
|
{
|
|
5176
6635
|
"kind": "field",
|
|
5177
6636
|
"name": "active",
|
|
@@ -5184,41 +6643,58 @@
|
|
|
5184
6643
|
},
|
|
5185
6644
|
{
|
|
5186
6645
|
"kind": "field",
|
|
5187
|
-
"name": "
|
|
6646
|
+
"name": "over",
|
|
5188
6647
|
"type": {
|
|
5189
6648
|
"text": "boolean"
|
|
5190
6649
|
},
|
|
5191
6650
|
"default": "false",
|
|
5192
|
-
"attribute": "
|
|
6651
|
+
"attribute": "over",
|
|
5193
6652
|
"reflects": true
|
|
5194
6653
|
},
|
|
5195
6654
|
{
|
|
5196
6655
|
"kind": "field",
|
|
5197
|
-
"name": "
|
|
6656
|
+
"name": "tabClass",
|
|
5198
6657
|
"type": {
|
|
5199
|
-
"text": "
|
|
6658
|
+
"text": "string"
|
|
5200
6659
|
},
|
|
5201
|
-
"
|
|
5202
|
-
"
|
|
6660
|
+
"default": "''",
|
|
6661
|
+
"attribute": "tab-class",
|
|
6662
|
+
"reflects": true
|
|
5203
6663
|
},
|
|
5204
6664
|
{
|
|
5205
|
-
"kind": "
|
|
5206
|
-
"name": "
|
|
5207
|
-
"
|
|
5208
|
-
{
|
|
5209
|
-
"name": "context",
|
|
5210
|
-
"type": {
|
|
5211
|
-
"text": "StepsContext"
|
|
5212
|
-
}
|
|
5213
|
-
}
|
|
5214
|
-
]
|
|
6665
|
+
"kind": "field",
|
|
6666
|
+
"name": "_handleClick",
|
|
6667
|
+
"privacy": "private"
|
|
5215
6668
|
},
|
|
5216
6669
|
{
|
|
5217
|
-
"kind": "
|
|
5218
|
-
"name": "
|
|
6670
|
+
"kind": "field",
|
|
6671
|
+
"name": "_classes",
|
|
6672
|
+
"privacy": "private",
|
|
6673
|
+
"readonly": true
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
"kind": "field",
|
|
6677
|
+
"name": "_hasChildren",
|
|
6678
|
+
"privacy": "private",
|
|
6679
|
+
"readonly": true
|
|
5219
6680
|
}
|
|
5220
6681
|
],
|
|
5221
6682
|
"attributes": [
|
|
6683
|
+
{
|
|
6684
|
+
"name": "name",
|
|
6685
|
+
"type": {
|
|
6686
|
+
"text": "string"
|
|
6687
|
+
},
|
|
6688
|
+
"fieldName": "name"
|
|
6689
|
+
},
|
|
6690
|
+
{
|
|
6691
|
+
"name": "label",
|
|
6692
|
+
"type": {
|
|
6693
|
+
"text": "string"
|
|
6694
|
+
},
|
|
6695
|
+
"default": "''",
|
|
6696
|
+
"fieldName": "label"
|
|
6697
|
+
},
|
|
5222
6698
|
{
|
|
5223
6699
|
"name": "active",
|
|
5224
6700
|
"type": {
|
|
@@ -5228,136 +6704,122 @@
|
|
|
5228
6704
|
"fieldName": "active"
|
|
5229
6705
|
},
|
|
5230
6706
|
{
|
|
5231
|
-
"name": "
|
|
6707
|
+
"name": "over",
|
|
5232
6708
|
"type": {
|
|
5233
6709
|
"text": "boolean"
|
|
5234
6710
|
},
|
|
5235
6711
|
"default": "false",
|
|
5236
|
-
"fieldName": "
|
|
6712
|
+
"fieldName": "over"
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"name": "tab-class",
|
|
6716
|
+
"type": {
|
|
6717
|
+
"text": "string"
|
|
6718
|
+
},
|
|
6719
|
+
"default": "''",
|
|
6720
|
+
"fieldName": "tabClass"
|
|
5237
6721
|
}
|
|
5238
6722
|
],
|
|
5239
6723
|
"superclass": {
|
|
5240
6724
|
"name": "LitElement",
|
|
5241
6725
|
"package": "lit"
|
|
5242
6726
|
},
|
|
5243
|
-
"tagName": "w-
|
|
5244
|
-
"customElement": true
|
|
6727
|
+
"tagName": "w-tab",
|
|
6728
|
+
"customElement": true,
|
|
6729
|
+
"modulePath": "packages/tabs/tab.ts",
|
|
6730
|
+
"definitionPath": "packages/tabs/tab.ts"
|
|
5245
6731
|
}
|
|
5246
6732
|
],
|
|
5247
6733
|
"exports": [
|
|
5248
|
-
{
|
|
5249
|
-
"kind": "custom-element-definition",
|
|
5250
|
-
"name": "w-steps",
|
|
5251
|
-
"declaration": {
|
|
5252
|
-
"name": "WarpSteps",
|
|
5253
|
-
"module": "packages/steps/index.ts"
|
|
5254
|
-
}
|
|
5255
|
-
},
|
|
5256
|
-
{
|
|
5257
|
-
"kind": "custom-element-definition",
|
|
5258
|
-
"name": "w-step",
|
|
5259
|
-
"declaration": {
|
|
5260
|
-
"name": "WarpStep",
|
|
5261
|
-
"module": "packages/steps/index.ts"
|
|
5262
|
-
}
|
|
5263
|
-
},
|
|
5264
6734
|
{
|
|
5265
6735
|
"kind": "js",
|
|
5266
|
-
"name": "
|
|
6736
|
+
"name": "WarpTab",
|
|
5267
6737
|
"declaration": {
|
|
5268
|
-
"name": "
|
|
5269
|
-
"module": "packages/
|
|
6738
|
+
"name": "WarpTab",
|
|
6739
|
+
"module": "packages/tabs/tab.ts"
|
|
5270
6740
|
}
|
|
5271
6741
|
},
|
|
5272
6742
|
{
|
|
5273
|
-
"kind": "
|
|
5274
|
-
"name": "
|
|
6743
|
+
"kind": "custom-element-definition",
|
|
6744
|
+
"name": "w-tab",
|
|
5275
6745
|
"declaration": {
|
|
5276
|
-
"name": "
|
|
5277
|
-
"module": "packages/
|
|
6746
|
+
"name": "WarpTab",
|
|
6747
|
+
"module": "packages/tabs/tab.ts"
|
|
5278
6748
|
}
|
|
5279
6749
|
}
|
|
5280
6750
|
]
|
|
5281
6751
|
},
|
|
5282
6752
|
{
|
|
5283
6753
|
"kind": "javascript-module",
|
|
5284
|
-
"path": "packages/
|
|
6754
|
+
"path": "packages/tabs/tab-panel.ts",
|
|
5285
6755
|
"declarations": [
|
|
5286
6756
|
{
|
|
5287
6757
|
"kind": "class",
|
|
5288
|
-
"description": "",
|
|
5289
|
-
"name": "
|
|
6758
|
+
"description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6759
|
+
"name": "WarpTabPanel",
|
|
5290
6760
|
"members": [
|
|
5291
6761
|
{
|
|
5292
6762
|
"kind": "field",
|
|
5293
|
-
"name": "
|
|
6763
|
+
"name": "name",
|
|
5294
6764
|
"type": {
|
|
5295
|
-
"text": "
|
|
6765
|
+
"text": "string"
|
|
5296
6766
|
},
|
|
5297
|
-
"
|
|
5298
|
-
"attribute": "value",
|
|
6767
|
+
"attribute": "name",
|
|
5299
6768
|
"reflects": true
|
|
5300
6769
|
},
|
|
5301
6770
|
{
|
|
5302
6771
|
"kind": "field",
|
|
5303
|
-
"name": "
|
|
6772
|
+
"name": "hidden",
|
|
5304
6773
|
"type": {
|
|
5305
6774
|
"text": "boolean"
|
|
5306
6775
|
},
|
|
5307
|
-
"default": "
|
|
5308
|
-
"attribute": "
|
|
6776
|
+
"default": "true",
|
|
6777
|
+
"attribute": "hidden",
|
|
5309
6778
|
"reflects": true
|
|
5310
6779
|
}
|
|
5311
6780
|
],
|
|
5312
|
-
"events": [
|
|
5313
|
-
{
|
|
5314
|
-
"name": "change",
|
|
5315
|
-
"type": {
|
|
5316
|
-
"text": "CustomEvent"
|
|
5317
|
-
}
|
|
5318
|
-
}
|
|
5319
|
-
],
|
|
5320
6781
|
"attributes": [
|
|
5321
6782
|
{
|
|
5322
|
-
"name": "
|
|
6783
|
+
"name": "name",
|
|
5323
6784
|
"type": {
|
|
5324
|
-
"text": "
|
|
6785
|
+
"text": "string"
|
|
5325
6786
|
},
|
|
5326
|
-
"
|
|
5327
|
-
"fieldName": "value"
|
|
6787
|
+
"fieldName": "name"
|
|
5328
6788
|
},
|
|
5329
6789
|
{
|
|
5330
|
-
"name": "
|
|
6790
|
+
"name": "hidden",
|
|
5331
6791
|
"type": {
|
|
5332
6792
|
"text": "boolean"
|
|
5333
6793
|
},
|
|
5334
|
-
"default": "
|
|
5335
|
-
"fieldName": "
|
|
6794
|
+
"default": "true",
|
|
6795
|
+
"fieldName": "hidden"
|
|
5336
6796
|
}
|
|
5337
6797
|
],
|
|
5338
6798
|
"superclass": {
|
|
5339
6799
|
"name": "LitElement",
|
|
5340
6800
|
"package": "lit"
|
|
5341
6801
|
},
|
|
5342
|
-
"tagName": "w-
|
|
5343
|
-
"customElement": true
|
|
6802
|
+
"tagName": "w-tab-panel",
|
|
6803
|
+
"customElement": true,
|
|
6804
|
+
"modulePath": "packages/tabs/tab-panel.ts",
|
|
6805
|
+
"definitionPath": "packages/tabs/tab-panel.ts"
|
|
5344
6806
|
}
|
|
5345
6807
|
],
|
|
5346
6808
|
"exports": [
|
|
5347
6809
|
{
|
|
5348
6810
|
"kind": "js",
|
|
5349
|
-
"name": "
|
|
6811
|
+
"name": "WarpTabPanel",
|
|
5350
6812
|
"declaration": {
|
|
5351
|
-
"name": "
|
|
5352
|
-
"module": "packages/
|
|
6813
|
+
"name": "WarpTabPanel",
|
|
6814
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
5353
6815
|
}
|
|
5354
6816
|
},
|
|
5355
6817
|
{
|
|
5356
6818
|
"kind": "custom-element-definition",
|
|
5357
|
-
"name": "w-
|
|
6819
|
+
"name": "w-tab-panel",
|
|
5358
6820
|
"declaration": {
|
|
5359
|
-
"name": "
|
|
5360
|
-
"module": "packages/
|
|
6821
|
+
"name": "WarpTabPanel",
|
|
6822
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
5361
6823
|
}
|
|
5362
6824
|
}
|
|
5363
6825
|
]
|
|
@@ -5447,6 +6909,66 @@
|
|
|
5447
6909
|
}
|
|
5448
6910
|
}
|
|
5449
6911
|
]
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
"kind": "javascript-module",
|
|
6915
|
+
"path": "packages/tabs/tabs.stories.ts",
|
|
6916
|
+
"declarations": [
|
|
6917
|
+
{
|
|
6918
|
+
"kind": "variable",
|
|
6919
|
+
"name": "meta",
|
|
6920
|
+
"type": {
|
|
6921
|
+
"text": "object"
|
|
6922
|
+
},
|
|
6923
|
+
"default": "{ title: 'Components/Tabs', }"
|
|
6924
|
+
},
|
|
6925
|
+
{
|
|
6926
|
+
"kind": "function",
|
|
6927
|
+
"name": "Default"
|
|
6928
|
+
},
|
|
6929
|
+
{
|
|
6930
|
+
"kind": "function",
|
|
6931
|
+
"name": "WithIcons"
|
|
6932
|
+
},
|
|
6933
|
+
{
|
|
6934
|
+
"kind": "function",
|
|
6935
|
+
"name": "ManyTabs"
|
|
6936
|
+
}
|
|
6937
|
+
],
|
|
6938
|
+
"exports": [
|
|
6939
|
+
{
|
|
6940
|
+
"kind": "js",
|
|
6941
|
+
"name": "default",
|
|
6942
|
+
"declaration": {
|
|
6943
|
+
"name": "meta",
|
|
6944
|
+
"module": "packages/tabs/tabs.stories.ts"
|
|
6945
|
+
}
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
"kind": "js",
|
|
6949
|
+
"name": "Default",
|
|
6950
|
+
"declaration": {
|
|
6951
|
+
"name": "Default",
|
|
6952
|
+
"module": "packages/tabs/tabs.stories.ts"
|
|
6953
|
+
}
|
|
6954
|
+
},
|
|
6955
|
+
{
|
|
6956
|
+
"kind": "js",
|
|
6957
|
+
"name": "WithIcons",
|
|
6958
|
+
"declaration": {
|
|
6959
|
+
"name": "WithIcons",
|
|
6960
|
+
"module": "packages/tabs/tabs.stories.ts"
|
|
6961
|
+
}
|
|
6962
|
+
},
|
|
6963
|
+
{
|
|
6964
|
+
"kind": "js",
|
|
6965
|
+
"name": "ManyTabs",
|
|
6966
|
+
"declaration": {
|
|
6967
|
+
"name": "ManyTabs",
|
|
6968
|
+
"module": "packages/tabs/tabs.stories.ts"
|
|
6969
|
+
}
|
|
6970
|
+
}
|
|
6971
|
+
]
|
|
5450
6972
|
}
|
|
5451
6973
|
]
|
|
5452
6974
|
}
|