@warp-ds/elements 2.9.2-next.1 → 2.10.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/custom-elements.json +508 -145
- package/dist/docs/affix/affix.md +2 -2
- package/dist/docs/affix/styling.md +1 -0
- package/dist/docs/alert/alert.md +2 -2
- package/dist/docs/alert/styling.md +1 -0
- package/dist/docs/attention/attention.md +2 -0
- package/dist/docs/attention/styling.md +1 -0
- package/dist/docs/badge/badge.md +2 -0
- package/dist/docs/badge/styling.md +1 -0
- package/dist/docs/box/box.md +22 -40
- package/dist/docs/box/examples.md +20 -38
- package/dist/docs/box/styling.md +1 -0
- package/dist/docs/breadcrumbs/breadcrumbs.md +8 -2
- package/dist/docs/breadcrumbs/examples.md +7 -1
- package/dist/docs/breadcrumbs/styling.md +1 -0
- package/dist/docs/button/accessibility.md +42 -0
- package/dist/docs/button/api.md +63 -39
- package/dist/docs/button/button.md +395 -42
- package/dist/docs/button/examples.md +126 -0
- package/dist/docs/button/styling.md +72 -0
- package/dist/docs/button/usage.md +89 -0
- package/dist/docs/card/accessibility.md +74 -0
- package/dist/docs/card/api.md +9 -3
- package/dist/docs/card/card.md +236 -5
- package/dist/docs/card/examples.md +75 -0
- package/dist/docs/card/styling.md +1 -0
- package/dist/docs/card/usage.md +76 -0
- package/dist/docs/checkbox/api.md +128 -0
- package/dist/docs/checkbox/checkbox.md +134 -0
- package/dist/docs/checkbox-group/accessibility.md +71 -0
- package/dist/docs/checkbox-group/api.md +79 -0
- package/dist/docs/checkbox-group/checkbox-group.md +492 -0
- package/dist/docs/checkbox-group/examples.md +105 -0
- package/dist/docs/checkbox-group/styling.md +132 -0
- package/dist/docs/checkbox-group/usage.md +95 -0
- package/dist/docs/combobox/accessibility.md +71 -0
- package/dist/docs/combobox/api.md +60 -30
- package/dist/docs/combobox/combobox.md +205 -32
- package/dist/docs/combobox/examples.md +44 -0
- package/dist/docs/combobox/styling.md +1 -0
- package/dist/docs/combobox/usage.md +28 -0
- package/dist/docs/datepicker/accessibility.md +25 -0
- package/dist/docs/datepicker/api.md +22 -14
- package/dist/docs/datepicker/datepicker.md +208 -16
- package/dist/docs/datepicker/examples.md +75 -0
- package/dist/docs/datepicker/styling.md +1 -0
- package/dist/docs/datepicker/usage.md +84 -0
- package/dist/docs/expandable/api.md +20 -32
- package/dist/docs/expandable/examples.md +54 -0
- package/dist/docs/expandable/expandable.md +74 -32
- package/dist/docs/expandable/styling.md +1 -0
- package/dist/docs/icon/accessibility.md +5 -0
- package/dist/docs/icon/api.md +43 -0
- package/dist/docs/icon/examples.md +45 -0
- package/dist/docs/icon/icon.md +115 -0
- package/dist/docs/icon/styling.md +1 -0
- package/dist/docs/icon/usage.md +11 -0
- package/dist/docs/index.md +46 -0
- package/dist/docs/link/api.md +18 -22
- package/dist/docs/link/examples.md +75 -0
- package/dist/docs/link/link.md +113 -24
- package/dist/docs/link/styling.md +1 -0
- package/dist/docs/link/usage.md +18 -0
- package/dist/docs/modal/api.md +51 -0
- package/dist/docs/modal/examples.md +67 -0
- package/dist/docs/modal/modal.md +240 -0
- package/dist/docs/modal/styling.md +1 -0
- package/dist/docs/modal/usage.md +110 -0
- package/dist/docs/modal-footer/api.md +11 -0
- package/dist/docs/modal-footer/modal-footer.md +17 -0
- package/dist/docs/modal-header/api.md +42 -0
- package/dist/docs/modal-header/modal-header.md +48 -0
- package/dist/docs/page-indicator/api.md +6 -6
- package/dist/docs/page-indicator/examples.md +8 -0
- package/dist/docs/page-indicator/page-indicator.md +25 -6
- package/dist/docs/page-indicator/styling.md +1 -0
- package/dist/docs/page-indicator/usage.md +8 -0
- package/dist/docs/pagination/api.md +12 -10
- package/dist/docs/pagination/examples.md +20 -0
- package/dist/docs/pagination/pagination.md +52 -12
- package/dist/docs/pagination/styling.md +1 -0
- package/dist/docs/pagination/usage.md +18 -0
- package/dist/docs/pill/accessibility.md +2 -0
- package/dist/docs/pill/api.md +10 -26
- package/dist/docs/pill/examples.md +23 -0
- package/dist/docs/pill/pill.md +45 -28
- package/dist/docs/pill/styling.md +1 -0
- package/dist/docs/pill/usage.md +8 -0
- package/dist/docs/radio/radio.md +1 -7
- package/dist/docs/select/select.md +2 -0
- package/dist/docs/select/styling.md +1 -0
- package/dist/docs/slider/slider.md +2 -0
- package/dist/docs/slider/styling.md +1 -0
- package/dist/docs/slider-thumb/slider-thumb.md +2 -0
- package/dist/docs/slider-thumb/styling.md +1 -0
- package/dist/docs/step-indicator/step-indicator.md +2 -0
- package/dist/docs/step-indicator/styling.md +1 -0
- package/dist/docs/switch/styling.md +1 -0
- package/dist/docs/switch/switch.md +2 -0
- package/dist/docs/tabs/styling.md +1 -0
- package/dist/docs/tabs/tabs.md +2 -0
- package/dist/docs/textarea/styling.md +1 -0
- package/dist/docs/textarea/textarea.md +2 -0
- package/dist/docs/textfield/styling.md +1 -0
- package/dist/docs/textfield/textfield.md +2 -0
- package/dist/index.d.ts +950 -602
- package/dist/packages/affix/affix.hydration.test.js +1 -1
- package/dist/packages/affix/affix.js +4 -4
- package/dist/packages/affix/affix.js.map +4 -4
- package/dist/packages/alert/alert.hydration.test.js +1 -1
- package/dist/packages/alert/alert.js +3 -3
- package/dist/packages/alert/alert.js.map +3 -3
- package/dist/packages/attention/attention.hydration.test.js +1 -1
- package/dist/packages/attention/attention.js +397 -444
- package/dist/packages/attention/attention.js.map +4 -4
- package/dist/packages/attention/attention.test.js +1 -1
- package/dist/packages/badge/badge.hydration.test.js +1 -1
- package/dist/packages/box/box.hydration.test.js +1 -1
- package/dist/packages/box/box.js +1 -1
- package/dist/packages/box/box.js.map +1 -1
- package/dist/packages/breadcrumbs/breadcrumbs.hydration.test.js +3 -2
- package/dist/packages/breadcrumbs/breadcrumbs.js +4 -4
- package/dist/packages/breadcrumbs/breadcrumbs.js.map +3 -3
- package/dist/packages/button/button.d.ts +54 -37
- package/dist/packages/button/button.hydration.test.js +1 -1
- package/dist/packages/button/button.js +385 -432
- package/dist/packages/button/button.js.map +4 -4
- package/dist/packages/button/button.react.stories.d.ts +2 -2
- package/dist/packages/button/button.stories.d.ts +29 -0
- package/dist/packages/button/button.stories.js +176 -2
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/button/styles.d.ts +22 -1
- package/dist/packages/button/styles.js +390 -1
- package/dist/packages/card/card.d.ts +9 -6
- package/dist/packages/card/card.hydration.test.js +1 -1
- package/dist/packages/card/card.js +3 -3
- package/dist/packages/card/card.js.map +4 -4
- package/dist/packages/checkbox/checkbox.d.ts +45 -14
- package/dist/packages/checkbox/checkbox.hydration.test.js +1 -1
- package/dist/packages/checkbox/checkbox.js +3 -3
- package/dist/packages/checkbox/checkbox.js.map +3 -3
- package/dist/packages/checkbox/checkbox.react.stories.d.ts +1 -1
- package/dist/packages/checkbox/checkbox.stories.d.ts +2 -2
- package/dist/packages/checkbox/checkbox.test.js +1 -1
- package/dist/packages/checkbox/react.d.ts +2 -2
- package/dist/packages/checkbox-group/checkbox-group.a11y.test.js +1 -1
- package/dist/packages/checkbox-group/checkbox-group.d.ts +35 -8
- package/dist/packages/checkbox-group/checkbox-group.hydration.test.js +1 -1
- package/dist/packages/checkbox-group/checkbox-group.js +6 -6
- package/dist/packages/checkbox-group/checkbox-group.js.map +4 -4
- package/dist/packages/checkbox-group/react.d.ts +3 -3
- package/dist/packages/combobox/combobox.a11y.test.js +24 -0
- package/dist/packages/combobox/combobox.d.ts +65 -45
- package/dist/packages/combobox/combobox.hydration.test.js +39 -1
- package/dist/packages/combobox/combobox.js +21 -21
- package/dist/packages/combobox/combobox.js.map +4 -4
- package/dist/packages/combobox/combobox.stories.js +28 -15
- package/dist/packages/combobox/combobox.test.js +110 -0
- package/dist/packages/datepicker/DatePicker.test.js +1 -1
- package/dist/packages/datepicker/datepicker.d.ts +22 -30
- package/dist/packages/datepicker/datepicker.hydration.test.js +1 -1
- package/dist/packages/datepicker/datepicker.js +49 -49
- package/dist/packages/datepicker/datepicker.js.map +4 -4
- package/dist/packages/datepicker/datepicker.test.js +1 -1
- package/dist/packages/expandable/expandable.d.ts +11 -32
- package/dist/packages/expandable/expandable.hydration.test.js +1 -1
- package/dist/packages/expandable/expandable.js +11 -11
- package/dist/packages/expandable/expandable.js.map +3 -3
- package/dist/packages/expandable/expandable.react.stories.d.ts +2 -2
- package/dist/packages/expandable/react.d.ts +1 -1
- package/dist/packages/icon/icon.d.ts +16 -4
- package/dist/packages/icon/icon.hydration.test.js +1 -1
- package/dist/packages/icon/icon.js +2 -2
- package/dist/packages/icon/icon.js.map +3 -3
- package/dist/packages/icon/icon.react.stories.d.ts +1 -1
- package/dist/packages/icon/react.d.ts +2 -2
- package/dist/packages/link/link.d.ts +15 -16
- package/dist/packages/link/link.hydration.test.js +1 -1
- package/dist/packages/link/link.js +420 -190
- package/dist/packages/link/link.js.map +4 -4
- package/dist/packages/link/link.test.js +1 -1
- package/dist/packages/link/styles.d.ts +5 -0
- package/dist/packages/link/styles.js +80 -0
- package/dist/packages/modal/index.d.ts +4 -4
- package/dist/packages/modal/index.js +4 -4
- package/dist/packages/modal/modal.d.ts +22 -12
- package/dist/packages/modal/modal.hydration.test.js +1 -1
- package/dist/packages/modal/modal.js +5 -5
- package/dist/packages/modal/modal.js.map +3 -3
- package/dist/packages/modal/modal.react.stories.d.ts +3 -3
- package/dist/packages/modal/modal.stories.d.ts +2 -1
- package/dist/packages/modal/modal.stories.js +85 -3
- package/dist/packages/modal/react.d.ts +2 -2
- package/dist/packages/modal-footer/modal-footer.d.ts +5 -3
- package/dist/packages/modal-footer/modal-footer.js +4 -4
- package/dist/packages/modal-footer/modal-footer.js.map +3 -3
- package/dist/packages/modal-footer/react.d.ts +1 -1
- package/dist/packages/modal-header/modal-header.d.ts +21 -11
- package/dist/packages/modal-header/modal-header.js +11 -9
- package/dist/packages/modal-header/modal-header.js.map +4 -4
- package/dist/packages/modal-header/react.d.ts +2 -2
- package/dist/packages/page-indicator/page-indicator.d.ts +9 -14
- package/dist/packages/page-indicator/page-indicator.hydration.test.js +1 -1
- package/dist/packages/page-indicator/page-indicator.js +5 -5
- package/dist/packages/page-indicator/page-indicator.js.map +4 -4
- package/dist/packages/pagination/pagination.d.ts +11 -11
- package/dist/packages/pagination/pagination.hydration.test.js +1 -1
- package/dist/packages/pagination/pagination.js +4 -4
- package/dist/packages/pagination/pagination.js.map +4 -4
- package/dist/packages/pagination/pagination.test.js +1 -1
- package/dist/packages/pill/pill.d.ts +14 -29
- package/dist/packages/pill/pill.hydration.test.js +1 -1
- package/dist/packages/pill/pill.js +3 -3
- package/dist/packages/pill/pill.js.map +4 -4
- package/dist/packages/pill/pill.react.stories.d.ts +2 -2
- package/dist/packages/pill/react.d.ts +1 -1
- package/dist/packages/radio/radio.hydration.test.js +1 -1
- package/dist/packages/radio/radio.js +3 -3
- package/dist/packages/radio/radio.js.map +3 -3
- package/dist/packages/radio/radio.test.js +1 -1
- package/dist/packages/radio-group/radio-group.a11y.test.js +7 -3
- package/dist/packages/radio-group/radio-group.hydration.test.js +6 -2
- package/dist/packages/radio-group/radio-group.js +11 -11
- package/dist/packages/radio-group/radio-group.js.map +4 -4
- package/dist/packages/select/select.a11y.test.js +6 -2
- package/dist/packages/select/select.hydration.test.js +1 -1
- package/dist/packages/select/select.js +7 -7
- package/dist/packages/select/select.js.map +4 -4
- package/dist/packages/select/select.test.js +4 -2
- package/dist/packages/slider/slider.hydration.test.js +7 -2
- package/dist/packages/slider/slider.js +5 -5
- package/dist/packages/slider/slider.js.map +4 -4
- package/dist/packages/slider/slider.react.stories.js +2 -2
- package/dist/packages/slider/slider.test.js +1 -1
- package/dist/packages/slider-thumb/slider-thumb.hydration.test.js +1 -1
- package/dist/packages/slider-thumb/slider-thumb.js +20 -20
- package/dist/packages/slider-thumb/slider-thumb.js.map +4 -4
- package/dist/packages/step/step.hydration.test.js +1 -1
- package/dist/packages/step/step.js +8 -8
- package/dist/packages/step/step.js.map +4 -4
- package/dist/packages/step-indicator/step-indicator.hydration.test.js +1 -1
- package/dist/packages/switch/switch.a11y.test.js +1 -1
- package/dist/packages/switch/switch.hydration.test.js +1 -1
- package/dist/packages/switch/switch.js +1 -1
- package/dist/packages/switch/switch.js.map +1 -1
- package/dist/packages/tab/tab.hydration.test.js +1 -1
- package/dist/packages/tab/tab.js +10 -10
- package/dist/packages/tab/tab.js.map +2 -2
- package/dist/packages/tab-panel/tab-panel.hydration.test.js +1 -1
- package/dist/packages/tab-panel/tab-panel.js +3 -3
- package/dist/packages/tab-panel/tab-panel.js.map +2 -2
- package/dist/packages/tabs/tabs.a11y.test.js +2 -2
- package/dist/packages/tabs/tabs.hydration.test.js +1 -1
- package/dist/packages/tabs/tabs.js +1 -1
- package/dist/packages/tabs/tabs.js.map +2 -2
- package/dist/packages/tabs/tabs.test.js +4 -4
- package/dist/packages/textarea/textarea.hydration.test.js +1 -1
- package/dist/packages/textarea/textarea.js +4 -4
- package/dist/packages/textarea/textarea.js.map +3 -3
- package/dist/packages/textarea/textarea.test.js +1 -1
- package/dist/packages/textfield/textfield.hydration.test.js +1 -1
- package/dist/packages/textfield/textfield.js +1 -1
- package/dist/packages/textfield/textfield.js.map +1 -1
- package/dist/packages/textfield/textfield.test.js +1 -1
- package/dist/packages/toast/toast.js +6 -6
- package/dist/packages/toast/toast.js.map +4 -4
- package/dist/packages/toast/toast.stories.d.ts +1 -5
- package/dist/packages/toast/toast.stories.js +0 -17
- package/dist/packages/toast-container/toast-container.js +2 -2
- package/dist/packages/toast-container/toast-container.js.map +2 -2
- package/dist/web-types.json +509 -172
- package/eik/index.js +2536 -0
- package/package.json +18 -12
- package/dist/docs/radio/examples.md +0 -1
- package/dist/docs/radio/usage.md +0 -1
- package/dist/packages/button/styles/w-button.styles.d.ts +0 -1
- package/dist/packages/button/styles/w-button.styles.js +0 -282
- package/dist/packages/link/styles/w-link.styles.d.ts +0 -1
- package/dist/packages/link/styles/w-link.styles.js +0 -213
- /package/dist/docs/{radio → modal}/accessibility.md +0 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "WarpIcon",
|
|
13
13
|
"members": [
|
|
14
14
|
{
|
|
15
15
|
"kind": "field",
|
|
@@ -25,11 +25,15 @@
|
|
|
25
25
|
"kind": "field",
|
|
26
26
|
"name": "size",
|
|
27
27
|
"type": {
|
|
28
|
-
"text": "'small' | 'medium' | 'large' |
|
|
28
|
+
"text": "'small' | 'medium' | 'large' | PixelValue"
|
|
29
29
|
},
|
|
30
|
-
"description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
|
|
30
|
+
"description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
|
|
31
|
+
"default": "\"medium\"",
|
|
31
32
|
"attribute": "size",
|
|
32
|
-
"reflects": true
|
|
33
|
+
"reflects": true,
|
|
34
|
+
"parsedType": {
|
|
35
|
+
"text": "'small' | 'medium' | 'large' | `${number}px`"
|
|
36
|
+
}
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
"kind": "field",
|
|
@@ -37,7 +41,7 @@
|
|
|
37
41
|
"type": {
|
|
38
42
|
"text": "string"
|
|
39
43
|
},
|
|
40
|
-
"description": "Locale used
|
|
44
|
+
"description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
|
|
41
45
|
"attribute": "locale",
|
|
42
46
|
"reflects": true
|
|
43
47
|
},
|
|
@@ -94,17 +98,21 @@
|
|
|
94
98
|
{
|
|
95
99
|
"name": "size",
|
|
96
100
|
"type": {
|
|
97
|
-
"text": "'small' | 'medium' | 'large' |
|
|
101
|
+
"text": "'small' | 'medium' | 'large' | PixelValue"
|
|
98
102
|
},
|
|
99
|
-
"description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
|
|
100
|
-
"
|
|
103
|
+
"description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
|
|
104
|
+
"default": "\"medium\"",
|
|
105
|
+
"fieldName": "size",
|
|
106
|
+
"parsedType": {
|
|
107
|
+
"text": "'small' | 'medium' | 'large' | `${number}px`"
|
|
108
|
+
}
|
|
101
109
|
},
|
|
102
110
|
{
|
|
103
111
|
"name": "locale",
|
|
104
112
|
"type": {
|
|
105
113
|
"text": "string"
|
|
106
114
|
},
|
|
107
|
-
"description": "Locale used
|
|
115
|
+
"description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
|
|
108
116
|
"fieldName": "locale"
|
|
109
117
|
}
|
|
110
118
|
],
|
|
@@ -116,9 +124,23 @@
|
|
|
116
124
|
"customElement": true,
|
|
117
125
|
"modulePath": "packages/icon/icon.ts",
|
|
118
126
|
"definitionPath": "packages/icon/icon.ts"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "variable",
|
|
130
|
+
"name": "WIcon",
|
|
131
|
+
"default": "WarpIcon",
|
|
132
|
+
"deprecated": "Exported for backwards compatibility. Use WarpIcon."
|
|
119
133
|
}
|
|
120
134
|
],
|
|
121
135
|
"exports": [
|
|
136
|
+
{
|
|
137
|
+
"kind": "js",
|
|
138
|
+
"name": "WarpIcon",
|
|
139
|
+
"declaration": {
|
|
140
|
+
"name": "WarpIcon",
|
|
141
|
+
"module": "packages/icon/icon.ts"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
122
144
|
{
|
|
123
145
|
"kind": "js",
|
|
124
146
|
"name": "WIcon",
|
|
@@ -131,7 +153,7 @@
|
|
|
131
153
|
"kind": "custom-element-definition",
|
|
132
154
|
"name": "w-icon",
|
|
133
155
|
"declaration": {
|
|
134
|
-
"name": "
|
|
156
|
+
"name": "WarpIcon",
|
|
135
157
|
"module": "packages/icon/icon.ts"
|
|
136
158
|
}
|
|
137
159
|
}
|
|
@@ -942,15 +964,6 @@
|
|
|
942
964
|
"description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)",
|
|
943
965
|
"name": "WarpLink",
|
|
944
966
|
"members": [
|
|
945
|
-
{
|
|
946
|
-
"kind": "field",
|
|
947
|
-
"name": "shadowRootOptions",
|
|
948
|
-
"type": {
|
|
949
|
-
"text": "object"
|
|
950
|
-
},
|
|
951
|
-
"static": true,
|
|
952
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
953
|
-
},
|
|
954
967
|
{
|
|
955
968
|
"kind": "field",
|
|
956
969
|
"name": "autofocus",
|
|
@@ -958,6 +971,7 @@
|
|
|
958
971
|
"text": "boolean"
|
|
959
972
|
},
|
|
960
973
|
"default": "false",
|
|
974
|
+
"description": "Focus the link after it is rendered",
|
|
961
975
|
"attribute": "autofocus",
|
|
962
976
|
"reflects": true
|
|
963
977
|
},
|
|
@@ -967,6 +981,7 @@
|
|
|
967
981
|
"type": {
|
|
968
982
|
"text": "ButtonVariant"
|
|
969
983
|
},
|
|
984
|
+
"description": "Visual style for the link/button.",
|
|
970
985
|
"attribute": "variant",
|
|
971
986
|
"reflects": true,
|
|
972
987
|
"parsedType": {
|
|
@@ -980,6 +995,7 @@
|
|
|
980
995
|
"text": "boolean"
|
|
981
996
|
},
|
|
982
997
|
"default": "false",
|
|
998
|
+
"description": "Render a smaller version",
|
|
983
999
|
"attribute": "small",
|
|
984
1000
|
"reflects": true
|
|
985
1001
|
},
|
|
@@ -989,6 +1005,7 @@
|
|
|
989
1005
|
"type": {
|
|
990
1006
|
"text": "string"
|
|
991
1007
|
},
|
|
1008
|
+
"description": "The URL the link points to",
|
|
992
1009
|
"attribute": "href",
|
|
993
1010
|
"reflects": true
|
|
994
1011
|
},
|
|
@@ -999,6 +1016,7 @@
|
|
|
999
1016
|
"text": "boolean"
|
|
1000
1017
|
},
|
|
1001
1018
|
"default": "false",
|
|
1019
|
+
"description": "Applies disabled styling, but you need to disable clicks on your own.\n\nThe component renders an `<a>` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior.",
|
|
1002
1020
|
"attribute": "disabled",
|
|
1003
1021
|
"reflects": true
|
|
1004
1022
|
},
|
|
@@ -1008,6 +1026,7 @@
|
|
|
1008
1026
|
"type": {
|
|
1009
1027
|
"text": "string"
|
|
1010
1028
|
},
|
|
1029
|
+
"description": "Where to display the linked URL (e.g. `_blank`)",
|
|
1011
1030
|
"attribute": "target",
|
|
1012
1031
|
"reflects": true
|
|
1013
1032
|
},
|
|
@@ -1017,6 +1036,7 @@
|
|
|
1017
1036
|
"type": {
|
|
1018
1037
|
"text": "string"
|
|
1019
1038
|
},
|
|
1039
|
+
"description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
|
|
1020
1040
|
"attribute": "rel",
|
|
1021
1041
|
"reflects": true
|
|
1022
1042
|
},
|
|
@@ -1027,6 +1047,7 @@
|
|
|
1027
1047
|
"text": "boolean"
|
|
1028
1048
|
},
|
|
1029
1049
|
"default": "false",
|
|
1050
|
+
"description": "Makes the link take up the full width of its parent",
|
|
1030
1051
|
"attribute": "full-width",
|
|
1031
1052
|
"reflects": true
|
|
1032
1053
|
}
|
|
@@ -1038,6 +1059,7 @@
|
|
|
1038
1059
|
"text": "boolean"
|
|
1039
1060
|
},
|
|
1040
1061
|
"default": "false",
|
|
1062
|
+
"description": "Focus the link after it is rendered",
|
|
1041
1063
|
"fieldName": "autofocus"
|
|
1042
1064
|
},
|
|
1043
1065
|
{
|
|
@@ -1045,6 +1067,7 @@
|
|
|
1045
1067
|
"type": {
|
|
1046
1068
|
"text": "ButtonVariant"
|
|
1047
1069
|
},
|
|
1070
|
+
"description": "Visual style for the link/button.",
|
|
1048
1071
|
"fieldName": "variant",
|
|
1049
1072
|
"parsedType": {
|
|
1050
1073
|
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
@@ -1056,6 +1079,7 @@
|
|
|
1056
1079
|
"text": "boolean"
|
|
1057
1080
|
},
|
|
1058
1081
|
"default": "false",
|
|
1082
|
+
"description": "Render a smaller version",
|
|
1059
1083
|
"fieldName": "small"
|
|
1060
1084
|
},
|
|
1061
1085
|
{
|
|
@@ -1063,6 +1087,7 @@
|
|
|
1063
1087
|
"type": {
|
|
1064
1088
|
"text": "string"
|
|
1065
1089
|
},
|
|
1090
|
+
"description": "The URL the link points to",
|
|
1066
1091
|
"fieldName": "href"
|
|
1067
1092
|
},
|
|
1068
1093
|
{
|
|
@@ -1071,6 +1096,7 @@
|
|
|
1071
1096
|
"text": "boolean"
|
|
1072
1097
|
},
|
|
1073
1098
|
"default": "false",
|
|
1099
|
+
"description": "Applies disabled styling, but you need to disable clicks on your own.\n\nThe component renders an `<a>` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior.",
|
|
1074
1100
|
"fieldName": "disabled"
|
|
1075
1101
|
},
|
|
1076
1102
|
{
|
|
@@ -1078,6 +1104,7 @@
|
|
|
1078
1104
|
"type": {
|
|
1079
1105
|
"text": "string"
|
|
1080
1106
|
},
|
|
1107
|
+
"description": "Where to display the linked URL (e.g. `_blank`)",
|
|
1081
1108
|
"fieldName": "target"
|
|
1082
1109
|
},
|
|
1083
1110
|
{
|
|
@@ -1085,6 +1112,7 @@
|
|
|
1085
1112
|
"type": {
|
|
1086
1113
|
"text": "string"
|
|
1087
1114
|
},
|
|
1115
|
+
"description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
|
|
1088
1116
|
"fieldName": "rel"
|
|
1089
1117
|
},
|
|
1090
1118
|
{
|
|
@@ -1093,6 +1121,7 @@
|
|
|
1093
1121
|
"text": "boolean"
|
|
1094
1122
|
},
|
|
1095
1123
|
"default": "false",
|
|
1124
|
+
"description": "Makes the link take up the full width of its parent",
|
|
1096
1125
|
"fieldName": "fullWidth"
|
|
1097
1126
|
}
|
|
1098
1127
|
],
|
|
@@ -1131,7 +1160,7 @@
|
|
|
1131
1160
|
"declarations": [
|
|
1132
1161
|
{
|
|
1133
1162
|
"kind": "class",
|
|
1134
|
-
"description": "
|
|
1163
|
+
"description": "Performs an action or renders a link with button styling.\nUse button variants to match action priority, risk, and context.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)",
|
|
1135
1164
|
"name": "WarpButton",
|
|
1136
1165
|
"members": [
|
|
1137
1166
|
{
|
|
@@ -1141,7 +1170,8 @@
|
|
|
1141
1170
|
"text": "object"
|
|
1142
1171
|
},
|
|
1143
1172
|
"static": true,
|
|
1144
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
1173
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }",
|
|
1174
|
+
"description": "Shadow root configuration.\nDelegates focus from the host to the internal control."
|
|
1145
1175
|
},
|
|
1146
1176
|
{
|
|
1147
1177
|
"kind": "field",
|
|
@@ -1149,6 +1179,7 @@
|
|
|
1149
1179
|
"type": {
|
|
1150
1180
|
"text": "ButtonType"
|
|
1151
1181
|
},
|
|
1182
|
+
"description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
|
|
1152
1183
|
"attribute": "type",
|
|
1153
1184
|
"reflects": true,
|
|
1154
1185
|
"parsedType": {
|
|
@@ -1162,6 +1193,7 @@
|
|
|
1162
1193
|
"text": "boolean"
|
|
1163
1194
|
},
|
|
1164
1195
|
"default": "false",
|
|
1196
|
+
"description": "Focuses the button when it is first rendered.\nApplies only when the component renders a native button. Link buttons with `href` do not autofocus through this component.",
|
|
1165
1197
|
"attribute": "autofocus",
|
|
1166
1198
|
"reflects": true
|
|
1167
1199
|
},
|
|
@@ -1171,6 +1203,7 @@
|
|
|
1171
1203
|
"type": {
|
|
1172
1204
|
"text": "ButtonVariant"
|
|
1173
1205
|
},
|
|
1206
|
+
"description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
|
|
1174
1207
|
"attribute": "variant",
|
|
1175
1208
|
"reflects": true,
|
|
1176
1209
|
"parsedType": {
|
|
@@ -1184,6 +1217,7 @@
|
|
|
1184
1217
|
"text": "boolean"
|
|
1185
1218
|
},
|
|
1186
1219
|
"default": "false",
|
|
1220
|
+
"description": "Deprecated quiet visual treatment flag\nUse `variant=\"quiet\"` instead.",
|
|
1187
1221
|
"deprecated": "Use `variant=\"quiet\"` instead",
|
|
1188
1222
|
"attribute": "quiet",
|
|
1189
1223
|
"reflects": true
|
|
@@ -1195,6 +1229,7 @@
|
|
|
1195
1229
|
"text": "boolean"
|
|
1196
1230
|
},
|
|
1197
1231
|
"default": "false",
|
|
1232
|
+
"description": "Marks the button as icon-only.\nUse this when the button has no visible text. Include accessible text in the slotted content so the internal button has a name.",
|
|
1198
1233
|
"attribute": "icon-only",
|
|
1199
1234
|
"reflects": true
|
|
1200
1235
|
},
|
|
@@ -1205,6 +1240,7 @@
|
|
|
1205
1240
|
"text": "boolean"
|
|
1206
1241
|
},
|
|
1207
1242
|
"default": "false",
|
|
1243
|
+
"description": "Renders the compact button size.\nUse this in dense layouts where the default button size is too large.",
|
|
1208
1244
|
"attribute": "small",
|
|
1209
1245
|
"reflects": true
|
|
1210
1246
|
},
|
|
@@ -1215,6 +1251,7 @@
|
|
|
1215
1251
|
"text": "boolean"
|
|
1216
1252
|
},
|
|
1217
1253
|
"default": "false",
|
|
1254
|
+
"description": "Shows the loading state.\nUse after the user has triggered an action and the action is in progress.",
|
|
1218
1255
|
"attribute": "loading",
|
|
1219
1256
|
"reflects": true
|
|
1220
1257
|
},
|
|
@@ -1224,6 +1261,7 @@
|
|
|
1224
1261
|
"type": {
|
|
1225
1262
|
"text": "string"
|
|
1226
1263
|
},
|
|
1264
|
+
"description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
|
|
1227
1265
|
"attribute": "href",
|
|
1228
1266
|
"reflects": true
|
|
1229
1267
|
},
|
|
@@ -1233,6 +1271,7 @@
|
|
|
1233
1271
|
"type": {
|
|
1234
1272
|
"text": "string"
|
|
1235
1273
|
},
|
|
1274
|
+
"description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
|
|
1236
1275
|
"attribute": "target",
|
|
1237
1276
|
"reflects": true
|
|
1238
1277
|
},
|
|
@@ -1243,6 +1282,7 @@
|
|
|
1243
1282
|
"text": "boolean"
|
|
1244
1283
|
},
|
|
1245
1284
|
"default": "false",
|
|
1285
|
+
"description": "Visually disables the button.\nDisabled buttons are discouraged because they can hide the reason an action is unavailable.",
|
|
1246
1286
|
"attribute": "disabled",
|
|
1247
1287
|
"reflects": true
|
|
1248
1288
|
},
|
|
@@ -1252,6 +1292,7 @@
|
|
|
1252
1292
|
"type": {
|
|
1253
1293
|
"text": "string"
|
|
1254
1294
|
},
|
|
1295
|
+
"description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
|
|
1255
1296
|
"attribute": "rel",
|
|
1256
1297
|
"reflects": true
|
|
1257
1298
|
},
|
|
@@ -1262,6 +1303,7 @@
|
|
|
1262
1303
|
"text": "boolean"
|
|
1263
1304
|
},
|
|
1264
1305
|
"default": "false",
|
|
1306
|
+
"description": "Makes the button fill its parent width.\nUseful in narrow layouts where the button should span the available inline space.",
|
|
1265
1307
|
"attribute": "full-width",
|
|
1266
1308
|
"reflects": true
|
|
1267
1309
|
},
|
|
@@ -1271,6 +1313,7 @@
|
|
|
1271
1313
|
"type": {
|
|
1272
1314
|
"text": "string"
|
|
1273
1315
|
},
|
|
1316
|
+
"description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
|
|
1274
1317
|
"deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
|
|
1275
1318
|
"attribute": "button-class",
|
|
1276
1319
|
"reflects": true
|
|
@@ -1281,6 +1324,7 @@
|
|
|
1281
1324
|
"type": {
|
|
1282
1325
|
"text": "string"
|
|
1283
1326
|
},
|
|
1327
|
+
"description": "Form control name.\nUsed when the button participates in form handling.",
|
|
1284
1328
|
"attribute": "name",
|
|
1285
1329
|
"reflects": true
|
|
1286
1330
|
},
|
|
@@ -1290,9 +1334,44 @@
|
|
|
1290
1334
|
"type": {
|
|
1291
1335
|
"text": "string"
|
|
1292
1336
|
},
|
|
1337
|
+
"description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
|
|
1293
1338
|
"attribute": "value",
|
|
1294
1339
|
"reflects": true
|
|
1295
1340
|
},
|
|
1341
|
+
{
|
|
1342
|
+
"kind": "field",
|
|
1343
|
+
"name": "commandfor",
|
|
1344
|
+
"type": {
|
|
1345
|
+
"text": "string"
|
|
1346
|
+
},
|
|
1347
|
+
"description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
1348
|
+
"attribute": "commandfor"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "field",
|
|
1352
|
+
"name": "command",
|
|
1353
|
+
"type": {
|
|
1354
|
+
"text": "string"
|
|
1355
|
+
},
|
|
1356
|
+
"description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
1357
|
+
"attribute": "command"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "field",
|
|
1361
|
+
"name": "buttonEl",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "HTMLButtonElement | null"
|
|
1364
|
+
},
|
|
1365
|
+
"privacy": "private"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"kind": "field",
|
|
1369
|
+
"name": "ariaValueTextLoading",
|
|
1370
|
+
"type": {
|
|
1371
|
+
"text": "string"
|
|
1372
|
+
},
|
|
1373
|
+
"privacy": "private"
|
|
1374
|
+
},
|
|
1296
1375
|
{
|
|
1297
1376
|
"kind": "field",
|
|
1298
1377
|
"name": "#initialValue",
|
|
@@ -1302,6 +1381,25 @@
|
|
|
1302
1381
|
},
|
|
1303
1382
|
"default": "null"
|
|
1304
1383
|
},
|
|
1384
|
+
{
|
|
1385
|
+
"kind": "method",
|
|
1386
|
+
"name": "closestWithId",
|
|
1387
|
+
"privacy": "private",
|
|
1388
|
+
"return": {
|
|
1389
|
+
"type": {
|
|
1390
|
+
"text": "HTMLElement | null"
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"parameters": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "id",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "string"
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"description": "Traverse up the shadow roots looking for the ID to support use inside other Lit components."
|
|
1402
|
+
},
|
|
1305
1403
|
{
|
|
1306
1404
|
"kind": "method",
|
|
1307
1405
|
"name": "resetFormControl",
|
|
@@ -1313,10 +1411,6 @@
|
|
|
1313
1411
|
"type": {
|
|
1314
1412
|
"text": "resetFormControl() => void"
|
|
1315
1413
|
}
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
"kind": "field",
|
|
1319
|
-
"name": "ariaValueTextLoading"
|
|
1320
1414
|
}
|
|
1321
1415
|
],
|
|
1322
1416
|
"attributes": [
|
|
@@ -1325,6 +1419,7 @@
|
|
|
1325
1419
|
"type": {
|
|
1326
1420
|
"text": "ButtonType"
|
|
1327
1421
|
},
|
|
1422
|
+
"description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
|
|
1328
1423
|
"fieldName": "type",
|
|
1329
1424
|
"parsedType": {
|
|
1330
1425
|
"text": "'button' | 'submit' | 'reset'"
|
|
@@ -1336,6 +1431,7 @@
|
|
|
1336
1431
|
"text": "boolean"
|
|
1337
1432
|
},
|
|
1338
1433
|
"default": "false",
|
|
1434
|
+
"description": "Focuses the button when it is first rendered.\nApplies only when the component renders a native button. Link buttons with `href` do not autofocus through this component.",
|
|
1339
1435
|
"fieldName": "autofocus"
|
|
1340
1436
|
},
|
|
1341
1437
|
{
|
|
@@ -1343,6 +1439,7 @@
|
|
|
1343
1439
|
"type": {
|
|
1344
1440
|
"text": "ButtonVariant"
|
|
1345
1441
|
},
|
|
1442
|
+
"description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
|
|
1346
1443
|
"fieldName": "variant",
|
|
1347
1444
|
"parsedType": {
|
|
1348
1445
|
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
|
|
@@ -1354,6 +1451,7 @@
|
|
|
1354
1451
|
"text": "boolean"
|
|
1355
1452
|
},
|
|
1356
1453
|
"default": "false",
|
|
1454
|
+
"description": "Deprecated quiet visual treatment flag\nUse `variant=\"quiet\"` instead.",
|
|
1357
1455
|
"deprecated": "Use `variant=\"quiet\"` instead",
|
|
1358
1456
|
"fieldName": "quiet"
|
|
1359
1457
|
},
|
|
@@ -1363,6 +1461,7 @@
|
|
|
1363
1461
|
"text": "boolean"
|
|
1364
1462
|
},
|
|
1365
1463
|
"default": "false",
|
|
1464
|
+
"description": "Marks the button as icon-only.\nUse this when the button has no visible text. Include accessible text in the slotted content so the internal button has a name.",
|
|
1366
1465
|
"fieldName": "iconOnly"
|
|
1367
1466
|
},
|
|
1368
1467
|
{
|
|
@@ -1371,6 +1470,7 @@
|
|
|
1371
1470
|
"text": "boolean"
|
|
1372
1471
|
},
|
|
1373
1472
|
"default": "false",
|
|
1473
|
+
"description": "Renders the compact button size.\nUse this in dense layouts where the default button size is too large.",
|
|
1374
1474
|
"fieldName": "small"
|
|
1375
1475
|
},
|
|
1376
1476
|
{
|
|
@@ -1379,6 +1479,7 @@
|
|
|
1379
1479
|
"text": "boolean"
|
|
1380
1480
|
},
|
|
1381
1481
|
"default": "false",
|
|
1482
|
+
"description": "Shows the loading state.\nUse after the user has triggered an action and the action is in progress.",
|
|
1382
1483
|
"fieldName": "loading"
|
|
1383
1484
|
},
|
|
1384
1485
|
{
|
|
@@ -1386,6 +1487,7 @@
|
|
|
1386
1487
|
"type": {
|
|
1387
1488
|
"text": "string"
|
|
1388
1489
|
},
|
|
1490
|
+
"description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
|
|
1389
1491
|
"fieldName": "href"
|
|
1390
1492
|
},
|
|
1391
1493
|
{
|
|
@@ -1393,6 +1495,7 @@
|
|
|
1393
1495
|
"type": {
|
|
1394
1496
|
"text": "string"
|
|
1395
1497
|
},
|
|
1498
|
+
"description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
|
|
1396
1499
|
"fieldName": "target"
|
|
1397
1500
|
},
|
|
1398
1501
|
{
|
|
@@ -1401,6 +1504,7 @@
|
|
|
1401
1504
|
"text": "boolean"
|
|
1402
1505
|
},
|
|
1403
1506
|
"default": "false",
|
|
1507
|
+
"description": "Visually disables the button.\nDisabled buttons are discouraged because they can hide the reason an action is unavailable.",
|
|
1404
1508
|
"fieldName": "disabled"
|
|
1405
1509
|
},
|
|
1406
1510
|
{
|
|
@@ -1408,6 +1512,7 @@
|
|
|
1408
1512
|
"type": {
|
|
1409
1513
|
"text": "string"
|
|
1410
1514
|
},
|
|
1515
|
+
"description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
|
|
1411
1516
|
"fieldName": "rel"
|
|
1412
1517
|
},
|
|
1413
1518
|
{
|
|
@@ -1416,6 +1521,7 @@
|
|
|
1416
1521
|
"text": "boolean"
|
|
1417
1522
|
},
|
|
1418
1523
|
"default": "false",
|
|
1524
|
+
"description": "Makes the button fill its parent width.\nUseful in narrow layouts where the button should span the available inline space.",
|
|
1419
1525
|
"fieldName": "fullWidth"
|
|
1420
1526
|
},
|
|
1421
1527
|
{
|
|
@@ -1423,6 +1529,7 @@
|
|
|
1423
1529
|
"type": {
|
|
1424
1530
|
"text": "string"
|
|
1425
1531
|
},
|
|
1532
|
+
"description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
|
|
1426
1533
|
"deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
|
|
1427
1534
|
"fieldName": "buttonClass"
|
|
1428
1535
|
},
|
|
@@ -1431,6 +1538,7 @@
|
|
|
1431
1538
|
"type": {
|
|
1432
1539
|
"text": "string"
|
|
1433
1540
|
},
|
|
1541
|
+
"description": "Form control name.\nUsed when the button participates in form handling.",
|
|
1434
1542
|
"fieldName": "name"
|
|
1435
1543
|
},
|
|
1436
1544
|
{
|
|
@@ -1438,7 +1546,24 @@
|
|
|
1438
1546
|
"type": {
|
|
1439
1547
|
"text": "string"
|
|
1440
1548
|
},
|
|
1549
|
+
"description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
|
|
1441
1550
|
"fieldName": "value"
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"name": "commandfor",
|
|
1554
|
+
"type": {
|
|
1555
|
+
"text": "string"
|
|
1556
|
+
},
|
|
1557
|
+
"description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
1558
|
+
"fieldName": "commandfor"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "command",
|
|
1562
|
+
"type": {
|
|
1563
|
+
"text": "string"
|
|
1564
|
+
},
|
|
1565
|
+
"description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
1566
|
+
"fieldName": "command"
|
|
1442
1567
|
}
|
|
1443
1568
|
],
|
|
1444
1569
|
"mixins": [
|
|
@@ -2139,6 +2264,7 @@
|
|
|
2139
2264
|
"text": "boolean"
|
|
2140
2265
|
},
|
|
2141
2266
|
"default": "false",
|
|
2267
|
+
"description": "Whether the card is visually selected.\n\nUse this when the card represents a selected item or choice. This only controls the visual selected state; update it from your application state when the selection changes.",
|
|
2142
2268
|
"attribute": "selected",
|
|
2143
2269
|
"reflects": true
|
|
2144
2270
|
},
|
|
@@ -2149,6 +2275,7 @@
|
|
|
2149
2275
|
"text": "boolean"
|
|
2150
2276
|
},
|
|
2151
2277
|
"default": "false",
|
|
2278
|
+
"description": "Whether the card uses the flat visual treatment.\n\nFlat cards use a bordered surface instead of the default elevated surface. Use this for denser layouts or when the card sits inside another surface.",
|
|
2152
2279
|
"attribute": "flat"
|
|
2153
2280
|
},
|
|
2154
2281
|
{
|
|
@@ -2158,6 +2285,7 @@
|
|
|
2158
2285
|
"text": "boolean"
|
|
2159
2286
|
},
|
|
2160
2287
|
"default": "false",
|
|
2288
|
+
"description": "Whether the whole card is interactive.\n\nWhen set, the card becomes keyboard focusable and Enter or Space triggers a click on the card. Use this only when the whole card has one action or represents one selectable choice.",
|
|
2161
2289
|
"attribute": "clickable"
|
|
2162
2290
|
},
|
|
2163
2291
|
{
|
|
@@ -2187,6 +2315,7 @@
|
|
|
2187
2315
|
"text": "boolean"
|
|
2188
2316
|
},
|
|
2189
2317
|
"default": "false",
|
|
2318
|
+
"description": "Whether the card is visually selected.\n\nUse this when the card represents a selected item or choice. This only controls the visual selected state; update it from your application state when the selection changes.",
|
|
2190
2319
|
"fieldName": "selected"
|
|
2191
2320
|
},
|
|
2192
2321
|
{
|
|
@@ -2195,6 +2324,7 @@
|
|
|
2195
2324
|
"text": "boolean"
|
|
2196
2325
|
},
|
|
2197
2326
|
"default": "false",
|
|
2327
|
+
"description": "Whether the card uses the flat visual treatment.\n\nFlat cards use a bordered surface instead of the default elevated surface. Use this for denser layouts or when the card sits inside another surface.",
|
|
2198
2328
|
"fieldName": "flat"
|
|
2199
2329
|
},
|
|
2200
2330
|
{
|
|
@@ -2203,6 +2333,7 @@
|
|
|
2203
2333
|
"text": "boolean"
|
|
2204
2334
|
},
|
|
2205
2335
|
"default": "false",
|
|
2336
|
+
"description": "Whether the whole card is interactive.\n\nWhen set, the card becomes keyboard focusable and Enter or Space triggers a click on the card. Use this only when the whole card has one action or represents one selectable choice.",
|
|
2206
2337
|
"fieldName": "clickable"
|
|
2207
2338
|
}
|
|
2208
2339
|
],
|
|
@@ -2242,7 +2373,7 @@
|
|
|
2242
2373
|
{
|
|
2243
2374
|
"kind": "class",
|
|
2244
2375
|
"description": "",
|
|
2245
|
-
"name": "
|
|
2376
|
+
"name": "WarpCheckbox",
|
|
2246
2377
|
"members": [
|
|
2247
2378
|
{
|
|
2248
2379
|
"kind": "field",
|
|
@@ -2263,7 +2394,7 @@
|
|
|
2263
2394
|
{
|
|
2264
2395
|
"kind": "field",
|
|
2265
2396
|
"name": "name",
|
|
2266
|
-
"description": "The name of the checkbox, submitted
|
|
2397
|
+
"description": "The name of the checkbox.\n\nWhen the checkbox is checked and belongs to a form, this name is submitted with the checkbox value. If the checkbox is inside a `w-checkbox-group` with a name, the group name is used when the checkbox does not have its own name.",
|
|
2267
2398
|
"type": {
|
|
2268
2399
|
"text": "string | undefined"
|
|
2269
2400
|
},
|
|
@@ -2285,7 +2416,7 @@
|
|
|
2285
2416
|
"text": "string | null"
|
|
2286
2417
|
},
|
|
2287
2418
|
"default": "null",
|
|
2288
|
-
"description": "The value
|
|
2419
|
+
"description": "The value submitted when the checkbox is checked.\n\nIf no value attribute is set, the checkbox defaults to `on`. Unchecked and disabled checkboxes do not submit a value.",
|
|
2289
2420
|
"attribute": "value",
|
|
2290
2421
|
"reflects": true
|
|
2291
2422
|
},
|
|
@@ -2296,7 +2427,7 @@
|
|
|
2296
2427
|
"text": "boolean"
|
|
2297
2428
|
},
|
|
2298
2429
|
"default": "false",
|
|
2299
|
-
"description": "
|
|
2430
|
+
"description": "Whether the checkbox is visually indeterminate.\n\nUse this for parent options that represent a mixed set of child selections. Clicking the checkbox clears the indeterminate state and sets the checkbox to checked.",
|
|
2300
2431
|
"attribute": "indeterminate",
|
|
2301
2432
|
"reflects": true
|
|
2302
2433
|
},
|
|
@@ -2307,7 +2438,7 @@
|
|
|
2307
2438
|
"text": "boolean"
|
|
2308
2439
|
},
|
|
2309
2440
|
"default": "false",
|
|
2310
|
-
"description": "
|
|
2441
|
+
"description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
|
|
2311
2442
|
"attribute": "checked",
|
|
2312
2443
|
"reflects": true
|
|
2313
2444
|
},
|
|
@@ -2318,7 +2449,7 @@
|
|
|
2318
2449
|
"text": "boolean"
|
|
2319
2450
|
},
|
|
2320
2451
|
"default": "false",
|
|
2321
|
-
"description": "
|
|
2452
|
+
"description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
|
|
2322
2453
|
"attribute": "disabled",
|
|
2323
2454
|
"reflects": true
|
|
2324
2455
|
},
|
|
@@ -2329,7 +2460,7 @@
|
|
|
2329
2460
|
"text": "boolean"
|
|
2330
2461
|
},
|
|
2331
2462
|
"default": "false",
|
|
2332
|
-
"description": "
|
|
2463
|
+
"description": "Whether the checkbox must be checked before form submission.\n\nA required checkbox is invalid until it is checked. For requiring at least one option in a set, use `required` on `w-checkbox-group`.",
|
|
2333
2464
|
"attribute": "required",
|
|
2334
2465
|
"reflects": true
|
|
2335
2466
|
},
|
|
@@ -2340,10 +2471,28 @@
|
|
|
2340
2471
|
"text": "boolean"
|
|
2341
2472
|
},
|
|
2342
2473
|
"default": "false",
|
|
2343
|
-
"description": "
|
|
2474
|
+
"description": "Whether the checkbox is visually invalid.\n\nUse this to show an externally managed validation error. Required validation also sets the invalid state after the user interacts with the checkbox or tries to submit the form.",
|
|
2344
2475
|
"attribute": "invalid",
|
|
2345
2476
|
"reflects": true
|
|
2346
2477
|
},
|
|
2478
|
+
{
|
|
2479
|
+
"kind": "field",
|
|
2480
|
+
"name": "_groupInvalid",
|
|
2481
|
+
"type": {
|
|
2482
|
+
"text": "boolean | undefined"
|
|
2483
|
+
},
|
|
2484
|
+
"privacy": "private",
|
|
2485
|
+
"description": "Internal invalid state managed by parent checkbox-group.\nNon-reflecting to avoid DOM changes during hydration."
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
"kind": "field",
|
|
2489
|
+
"name": "_groupName",
|
|
2490
|
+
"type": {
|
|
2491
|
+
"text": "string | undefined"
|
|
2492
|
+
},
|
|
2493
|
+
"privacy": "private",
|
|
2494
|
+
"description": "Internal name managed by parent checkbox-group.\nNon-reflecting to avoid DOM changes during hydration."
|
|
2495
|
+
},
|
|
2347
2496
|
{
|
|
2348
2497
|
"kind": "field",
|
|
2349
2498
|
"name": "#defaultChecked",
|
|
@@ -2494,7 +2643,7 @@
|
|
|
2494
2643
|
"attributes": [
|
|
2495
2644
|
{
|
|
2496
2645
|
"name": "name",
|
|
2497
|
-
"description": "The name of the checkbox, submitted
|
|
2646
|
+
"description": "The name of the checkbox.\n\nWhen the checkbox is checked and belongs to a form, this name is submitted with the checkbox value. If the checkbox is inside a `w-checkbox-group` with a name, the group name is used when the checkbox does not have its own name.",
|
|
2498
2647
|
"type": {
|
|
2499
2648
|
"text": "string | undefined"
|
|
2500
2649
|
},
|
|
@@ -2506,7 +2655,7 @@
|
|
|
2506
2655
|
"text": "string | null"
|
|
2507
2656
|
},
|
|
2508
2657
|
"default": "null",
|
|
2509
|
-
"description": "The value
|
|
2658
|
+
"description": "The value submitted when the checkbox is checked.\n\nIf no value attribute is set, the checkbox defaults to `on`. Unchecked and disabled checkboxes do not submit a value.",
|
|
2510
2659
|
"fieldName": "value"
|
|
2511
2660
|
},
|
|
2512
2661
|
{
|
|
@@ -2515,7 +2664,7 @@
|
|
|
2515
2664
|
"text": "boolean"
|
|
2516
2665
|
},
|
|
2517
2666
|
"default": "false",
|
|
2518
|
-
"description": "
|
|
2667
|
+
"description": "Whether the checkbox is visually indeterminate.\n\nUse this for parent options that represent a mixed set of child selections. Clicking the checkbox clears the indeterminate state and sets the checkbox to checked.",
|
|
2519
2668
|
"fieldName": "indeterminate"
|
|
2520
2669
|
},
|
|
2521
2670
|
{
|
|
@@ -2524,7 +2673,7 @@
|
|
|
2524
2673
|
"text": "boolean"
|
|
2525
2674
|
},
|
|
2526
2675
|
"default": "false",
|
|
2527
|
-
"description": "
|
|
2676
|
+
"description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
|
|
2528
2677
|
"fieldName": "checked"
|
|
2529
2678
|
},
|
|
2530
2679
|
{
|
|
@@ -2533,7 +2682,7 @@
|
|
|
2533
2682
|
"text": "boolean"
|
|
2534
2683
|
},
|
|
2535
2684
|
"default": "false",
|
|
2536
|
-
"description": "
|
|
2685
|
+
"description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
|
|
2537
2686
|
"fieldName": "disabled"
|
|
2538
2687
|
},
|
|
2539
2688
|
{
|
|
@@ -2542,7 +2691,7 @@
|
|
|
2542
2691
|
"text": "boolean"
|
|
2543
2692
|
},
|
|
2544
2693
|
"default": "false",
|
|
2545
|
-
"description": "
|
|
2694
|
+
"description": "Whether the checkbox must be checked before form submission.\n\nA required checkbox is invalid until it is checked. For requiring at least one option in a set, use `required` on `w-checkbox-group`.",
|
|
2546
2695
|
"fieldName": "required"
|
|
2547
2696
|
},
|
|
2548
2697
|
{
|
|
@@ -2551,7 +2700,7 @@
|
|
|
2551
2700
|
"text": "boolean"
|
|
2552
2701
|
},
|
|
2553
2702
|
"default": "false",
|
|
2554
|
-
"description": "
|
|
2703
|
+
"description": "Whether the checkbox is visually invalid.\n\nUse this to show an externally managed validation error. Required validation also sets the invalid state after the user interacts with the checkbox or tries to submit the form.",
|
|
2555
2704
|
"fieldName": "invalid"
|
|
2556
2705
|
}
|
|
2557
2706
|
],
|
|
@@ -2565,13 +2714,31 @@
|
|
|
2565
2714
|
"name": "LitElement",
|
|
2566
2715
|
"package": "lit"
|
|
2567
2716
|
},
|
|
2717
|
+
"parent": {
|
|
2718
|
+
"name": "w-checkbox-group",
|
|
2719
|
+
"description": ""
|
|
2720
|
+
},
|
|
2568
2721
|
"tagName": "w-checkbox",
|
|
2569
2722
|
"customElement": true,
|
|
2570
2723
|
"modulePath": "packages/checkbox/checkbox.ts",
|
|
2571
2724
|
"definitionPath": "packages/checkbox/checkbox.ts"
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"kind": "variable",
|
|
2728
|
+
"name": "WCheckbox",
|
|
2729
|
+
"default": "WarpCheckbox",
|
|
2730
|
+
"deprecated": "Use WarpCheckbox"
|
|
2572
2731
|
}
|
|
2573
2732
|
],
|
|
2574
2733
|
"exports": [
|
|
2734
|
+
{
|
|
2735
|
+
"kind": "js",
|
|
2736
|
+
"name": "WarpCheckbox",
|
|
2737
|
+
"declaration": {
|
|
2738
|
+
"name": "WarpCheckbox",
|
|
2739
|
+
"module": "packages/checkbox/checkbox.ts"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2575
2742
|
{
|
|
2576
2743
|
"kind": "js",
|
|
2577
2744
|
"name": "WCheckbox",
|
|
@@ -2584,7 +2751,7 @@
|
|
|
2584
2751
|
"kind": "custom-element-definition",
|
|
2585
2752
|
"name": "w-checkbox",
|
|
2586
2753
|
"declaration": {
|
|
2587
|
-
"name": "
|
|
2754
|
+
"name": "WarpCheckbox",
|
|
2588
2755
|
"module": "packages/checkbox/checkbox.ts"
|
|
2589
2756
|
}
|
|
2590
2757
|
}
|
|
@@ -2597,7 +2764,7 @@
|
|
|
2597
2764
|
{
|
|
2598
2765
|
"kind": "class",
|
|
2599
2766
|
"description": "",
|
|
2600
|
-
"name": "
|
|
2767
|
+
"name": "WarpCheckboxGroup",
|
|
2601
2768
|
"members": [
|
|
2602
2769
|
{
|
|
2603
2770
|
"kind": "field",
|
|
@@ -2614,7 +2781,7 @@
|
|
|
2614
2781
|
"type": {
|
|
2615
2782
|
"text": "string"
|
|
2616
2783
|
},
|
|
2617
|
-
"description": "The group label displayed above the checkboxes.",
|
|
2784
|
+
"description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
|
|
2618
2785
|
"attribute": "label",
|
|
2619
2786
|
"reflects": true
|
|
2620
2787
|
},
|
|
@@ -2624,7 +2791,7 @@
|
|
|
2624
2791
|
"type": {
|
|
2625
2792
|
"text": "string"
|
|
2626
2793
|
},
|
|
2627
|
-
"description": "The name applied to child checkboxes when they do not provide one.",
|
|
2794
|
+
"description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
|
|
2628
2795
|
"attribute": "name",
|
|
2629
2796
|
"reflects": true
|
|
2630
2797
|
},
|
|
@@ -2635,7 +2802,7 @@
|
|
|
2635
2802
|
"text": "boolean"
|
|
2636
2803
|
},
|
|
2637
2804
|
"default": "false",
|
|
2638
|
-
"description": "Whether to show optional text next to the label.",
|
|
2805
|
+
"description": "Whether to show optional text next to the label.\n\nUse this to indicate that selecting an option from the group is not required.",
|
|
2639
2806
|
"attribute": "optional",
|
|
2640
2807
|
"reflects": true
|
|
2641
2808
|
},
|
|
@@ -2645,6 +2812,7 @@
|
|
|
2645
2812
|
"type": {
|
|
2646
2813
|
"text": "string"
|
|
2647
2814
|
},
|
|
2815
|
+
"description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
|
|
2648
2816
|
"attribute": "help-text",
|
|
2649
2817
|
"reflects": true
|
|
2650
2818
|
},
|
|
@@ -2655,7 +2823,7 @@
|
|
|
2655
2823
|
"text": "boolean"
|
|
2656
2824
|
},
|
|
2657
2825
|
"default": "false",
|
|
2658
|
-
"description": "
|
|
2826
|
+
"description": "Whether at least one checkbox in the group must be selected.\n\nRequired validation is managed by the group. The individual checkboxes provide the submitted form values.",
|
|
2659
2827
|
"attribute": "required",
|
|
2660
2828
|
"reflects": true
|
|
2661
2829
|
},
|
|
@@ -2666,7 +2834,7 @@
|
|
|
2666
2834
|
"text": "boolean"
|
|
2667
2835
|
},
|
|
2668
2836
|
"default": "false",
|
|
2669
|
-
"description": "
|
|
2837
|
+
"description": "Whether the checkbox group is visually invalid.\n\nUse this to show an externally managed validation error for the group. The invalid state is also shared with child checkboxes for consistent styling and accessibility state.",
|
|
2670
2838
|
"attribute": "invalid",
|
|
2671
2839
|
"reflects": true
|
|
2672
2840
|
},
|
|
@@ -2927,7 +3095,7 @@
|
|
|
2927
3095
|
"type": {
|
|
2928
3096
|
"text": "string"
|
|
2929
3097
|
},
|
|
2930
|
-
"description": "The group label displayed above the checkboxes.",
|
|
3098
|
+
"description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
|
|
2931
3099
|
"fieldName": "label"
|
|
2932
3100
|
},
|
|
2933
3101
|
{
|
|
@@ -2935,7 +3103,7 @@
|
|
|
2935
3103
|
"type": {
|
|
2936
3104
|
"text": "string"
|
|
2937
3105
|
},
|
|
2938
|
-
"description": "The name applied to child checkboxes when they do not provide one.",
|
|
3106
|
+
"description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
|
|
2939
3107
|
"fieldName": "name"
|
|
2940
3108
|
},
|
|
2941
3109
|
{
|
|
@@ -2944,7 +3112,7 @@
|
|
|
2944
3112
|
"text": "boolean"
|
|
2945
3113
|
},
|
|
2946
3114
|
"default": "false",
|
|
2947
|
-
"description": "Whether to show optional text next to the label.",
|
|
3115
|
+
"description": "Whether to show optional text next to the label.\n\nUse this to indicate that selecting an option from the group is not required.",
|
|
2948
3116
|
"fieldName": "optional"
|
|
2949
3117
|
},
|
|
2950
3118
|
{
|
|
@@ -2952,6 +3120,7 @@
|
|
|
2952
3120
|
"type": {
|
|
2953
3121
|
"text": "string"
|
|
2954
3122
|
},
|
|
3123
|
+
"description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
|
|
2955
3124
|
"fieldName": "helpText"
|
|
2956
3125
|
},
|
|
2957
3126
|
{
|
|
@@ -2960,7 +3129,7 @@
|
|
|
2960
3129
|
"text": "boolean"
|
|
2961
3130
|
},
|
|
2962
3131
|
"default": "false",
|
|
2963
|
-
"description": "
|
|
3132
|
+
"description": "Whether at least one checkbox in the group must be selected.\n\nRequired validation is managed by the group. The individual checkboxes provide the submitted form values.",
|
|
2964
3133
|
"fieldName": "required"
|
|
2965
3134
|
},
|
|
2966
3135
|
{
|
|
@@ -2969,7 +3138,7 @@
|
|
|
2969
3138
|
"text": "boolean"
|
|
2970
3139
|
},
|
|
2971
3140
|
"default": "false",
|
|
2972
|
-
"description": "
|
|
3141
|
+
"description": "Whether the checkbox group is visually invalid.\n\nUse this to show an externally managed validation error for the group. The invalid state is also shared with child checkboxes for consistent styling and accessibility state.",
|
|
2973
3142
|
"fieldName": "invalid"
|
|
2974
3143
|
}
|
|
2975
3144
|
],
|
|
@@ -2987,9 +3156,23 @@
|
|
|
2987
3156
|
"customElement": true,
|
|
2988
3157
|
"modulePath": "packages/checkbox-group/checkbox-group.ts",
|
|
2989
3158
|
"definitionPath": "packages/checkbox-group/checkbox-group.ts"
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"kind": "variable",
|
|
3162
|
+
"name": "WCheckboxGroup",
|
|
3163
|
+
"default": "WarpCheckboxGroup",
|
|
3164
|
+
"deprecated": "Use WarpCheckboxGroup"
|
|
2990
3165
|
}
|
|
2991
3166
|
],
|
|
2992
3167
|
"exports": [
|
|
3168
|
+
{
|
|
3169
|
+
"kind": "js",
|
|
3170
|
+
"name": "WarpCheckboxGroup",
|
|
3171
|
+
"declaration": {
|
|
3172
|
+
"name": "WarpCheckboxGroup",
|
|
3173
|
+
"module": "packages/checkbox-group/checkbox-group.ts"
|
|
3174
|
+
}
|
|
3175
|
+
},
|
|
2993
3176
|
{
|
|
2994
3177
|
"kind": "js",
|
|
2995
3178
|
"name": "WCheckboxGroup",
|
|
@@ -3002,7 +3185,7 @@
|
|
|
3002
3185
|
"kind": "custom-element-definition",
|
|
3003
3186
|
"name": "w-checkbox-group",
|
|
3004
3187
|
"declaration": {
|
|
3005
|
-
"name": "
|
|
3188
|
+
"name": "WarpCheckboxGroup",
|
|
3006
3189
|
"module": "packages/checkbox-group/checkbox-group.ts"
|
|
3007
3190
|
}
|
|
3008
3191
|
}
|
|
@@ -3024,7 +3207,7 @@
|
|
|
3024
3207
|
"text": "ComboboxOption[]"
|
|
3025
3208
|
},
|
|
3026
3209
|
"default": "[]",
|
|
3027
|
-
"description": "The available options to select from",
|
|
3210
|
+
"description": "The available options to select from.\n\nUse this for framework usage, application state, or remote search results. When `options` contains entries, it is used instead of child `<option>` elements.",
|
|
3028
3211
|
"attribute": "options"
|
|
3029
3212
|
},
|
|
3030
3213
|
{
|
|
@@ -3034,7 +3217,7 @@
|
|
|
3034
3217
|
"text": "string | undefined"
|
|
3035
3218
|
},
|
|
3036
3219
|
"default": "''",
|
|
3037
|
-
"description": "
|
|
3220
|
+
"description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
|
|
3038
3221
|
"attribute": "label",
|
|
3039
3222
|
"reflects": true
|
|
3040
3223
|
},
|
|
@@ -3045,7 +3228,7 @@
|
|
|
3045
3228
|
"text": "string | undefined"
|
|
3046
3229
|
},
|
|
3047
3230
|
"default": "''",
|
|
3048
|
-
"description": "
|
|
3231
|
+
"description": "Placeholder text displayed when the input is empty.\n\nUse this as a short hint for the expected input. Do not use placeholder text as a replacement for a label.",
|
|
3049
3232
|
"attribute": "placeholder",
|
|
3050
3233
|
"reflects": true
|
|
3051
3234
|
},
|
|
@@ -3056,7 +3239,7 @@
|
|
|
3056
3239
|
"text": "string"
|
|
3057
3240
|
},
|
|
3058
3241
|
"default": "''",
|
|
3059
|
-
"description": "The
|
|
3242
|
+
"description": "The selected or typed value.\n\nWhen an option is selected, this is set to the option value. The displayed text may differ when the option has a separate label.",
|
|
3060
3243
|
"attribute": "value",
|
|
3061
3244
|
"reflects": true
|
|
3062
3245
|
},
|
|
@@ -3067,7 +3250,7 @@
|
|
|
3067
3250
|
"text": "boolean"
|
|
3068
3251
|
},
|
|
3069
3252
|
"default": "false",
|
|
3070
|
-
"description": "Whether the
|
|
3253
|
+
"description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
|
|
3071
3254
|
"attribute": "open-on-focus",
|
|
3072
3255
|
"reflects": true
|
|
3073
3256
|
},
|
|
@@ -3078,7 +3261,7 @@
|
|
|
3078
3261
|
"text": "boolean"
|
|
3079
3262
|
},
|
|
3080
3263
|
"default": "true",
|
|
3081
|
-
"description": "
|
|
3264
|
+
"description": "Whether the active option is selected when the input loses focus.\n\nWhen enabled, the combobox selects the keyboard-highlighted option, or an option whose value exactly matches the current input value, on blur.",
|
|
3082
3265
|
"attribute": "select-on-blur",
|
|
3083
3266
|
"reflects": true
|
|
3084
3267
|
},
|
|
@@ -3089,7 +3272,7 @@
|
|
|
3089
3272
|
"text": "boolean"
|
|
3090
3273
|
},
|
|
3091
3274
|
"default": "false",
|
|
3092
|
-
"description": "Whether
|
|
3275
|
+
"description": "Whether matching text segments in options are highlighted.\n\nUse this to visually emphasize the part of each option that matches the current input value.",
|
|
3093
3276
|
"attribute": "match-text-segments",
|
|
3094
3277
|
"reflects": true
|
|
3095
3278
|
},
|
|
@@ -3100,7 +3283,7 @@
|
|
|
3100
3283
|
"text": "boolean"
|
|
3101
3284
|
},
|
|
3102
3285
|
"default": "false",
|
|
3103
|
-
"description": "
|
|
3286
|
+
"description": "Whether built-in client-side filtering is disabled.\n\nUse this for remote search or externally filtered results. When disabled, all entries in `options` are rendered as provided.",
|
|
3104
3287
|
"attribute": "disable-static-filtering",
|
|
3105
3288
|
"reflects": true
|
|
3106
3289
|
},
|
|
@@ -3111,7 +3294,7 @@
|
|
|
3111
3294
|
"text": "boolean"
|
|
3112
3295
|
},
|
|
3113
3296
|
"default": "false",
|
|
3114
|
-
"description": "
|
|
3297
|
+
"description": "Whether the combobox is visually invalid.\n\nUse this to show an externally managed validation error. Pair it with `help-text` to explain how to fix the error.",
|
|
3115
3298
|
"attribute": "invalid",
|
|
3116
3299
|
"reflects": true
|
|
3117
3300
|
},
|
|
@@ -3122,7 +3305,7 @@
|
|
|
3122
3305
|
"text": "string | undefined"
|
|
3123
3306
|
},
|
|
3124
3307
|
"default": "''",
|
|
3125
|
-
"description": "
|
|
3308
|
+
"description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
|
|
3126
3309
|
"attribute": "help-text",
|
|
3127
3310
|
"reflects": true
|
|
3128
3311
|
},
|
|
@@ -3133,7 +3316,7 @@
|
|
|
3133
3316
|
"text": "boolean"
|
|
3134
3317
|
},
|
|
3135
3318
|
"default": "false",
|
|
3136
|
-
"description": "Whether the
|
|
3319
|
+
"description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
|
|
3137
3320
|
"attribute": "disabled",
|
|
3138
3321
|
"reflects": true
|
|
3139
3322
|
},
|
|
@@ -3144,7 +3327,7 @@
|
|
|
3144
3327
|
"text": "boolean"
|
|
3145
3328
|
},
|
|
3146
3329
|
"default": "false",
|
|
3147
|
-
"description": "Whether the
|
|
3330
|
+
"description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
|
|
3148
3331
|
"attribute": "required",
|
|
3149
3332
|
"reflects": true
|
|
3150
3333
|
},
|
|
@@ -3155,7 +3338,7 @@
|
|
|
3155
3338
|
"text": "boolean"
|
|
3156
3339
|
},
|
|
3157
3340
|
"default": "false",
|
|
3158
|
-
"description": "Whether to show optional text",
|
|
3341
|
+
"description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
|
|
3159
3342
|
"attribute": "optional",
|
|
3160
3343
|
"reflects": true
|
|
3161
3344
|
},
|
|
@@ -3166,7 +3349,7 @@
|
|
|
3166
3349
|
"text": "string | undefined"
|
|
3167
3350
|
},
|
|
3168
3351
|
"default": "''",
|
|
3169
|
-
"description": "
|
|
3352
|
+
"description": "The name submitted with the combobox value.\n\nUse this when the combobox belongs to a form and its value should be included in form data.",
|
|
3170
3353
|
"attribute": "name",
|
|
3171
3354
|
"reflects": true
|
|
3172
3355
|
},
|
|
@@ -3177,7 +3360,7 @@
|
|
|
3177
3360
|
"text": "string | undefined"
|
|
3178
3361
|
},
|
|
3179
3362
|
"default": "'off'",
|
|
3180
|
-
"description": "
|
|
3363
|
+
"description": "The autocomplete attribute passed to the internal input.\n\nDefaults to `off`. Set this when browser autocomplete should be enabled or scoped to a specific autocomplete token.",
|
|
3181
3364
|
"attribute": "autocomplete",
|
|
3182
3365
|
"reflects": true
|
|
3183
3366
|
},
|
|
@@ -3190,6 +3373,14 @@
|
|
|
3190
3373
|
},
|
|
3191
3374
|
"default": "null"
|
|
3192
3375
|
},
|
|
3376
|
+
{
|
|
3377
|
+
"kind": "field",
|
|
3378
|
+
"name": "#lightDomObserver",
|
|
3379
|
+
"privacy": "private",
|
|
3380
|
+
"type": {
|
|
3381
|
+
"text": "MutationObserver | undefined"
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3193
3384
|
{
|
|
3194
3385
|
"kind": "method",
|
|
3195
3386
|
"name": "resetFormControl",
|
|
@@ -3220,6 +3411,12 @@
|
|
|
3220
3411
|
"privacy": "private",
|
|
3221
3412
|
"readonly": true
|
|
3222
3413
|
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "field",
|
|
3416
|
+
"name": "_sourceOptions",
|
|
3417
|
+
"privacy": "private",
|
|
3418
|
+
"readonly": true
|
|
3419
|
+
},
|
|
3223
3420
|
{
|
|
3224
3421
|
"kind": "field",
|
|
3225
3422
|
"name": "_navigationLabelOrDisplayValue",
|
|
@@ -3259,6 +3456,16 @@
|
|
|
3259
3456
|
],
|
|
3260
3457
|
"description": "Generate options with unique IDs and match information"
|
|
3261
3458
|
},
|
|
3459
|
+
{
|
|
3460
|
+
"kind": "method",
|
|
3461
|
+
"name": "#getOptionNodes",
|
|
3462
|
+
"privacy": "private"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"kind": "method",
|
|
3466
|
+
"name": "#syncOptionsFromLightDom",
|
|
3467
|
+
"privacy": "private"
|
|
3468
|
+
},
|
|
3262
3469
|
{
|
|
3263
3470
|
"kind": "method",
|
|
3264
3471
|
"name": "_getAriaText",
|
|
@@ -3437,7 +3644,7 @@
|
|
|
3437
3644
|
"text": "ComboboxOption[]"
|
|
3438
3645
|
},
|
|
3439
3646
|
"default": "[]",
|
|
3440
|
-
"description": "The available options to select from",
|
|
3647
|
+
"description": "The available options to select from.\n\nUse this for framework usage, application state, or remote search results. When `options` contains entries, it is used instead of child `<option>` elements.",
|
|
3441
3648
|
"fieldName": "options"
|
|
3442
3649
|
},
|
|
3443
3650
|
{
|
|
@@ -3446,7 +3653,7 @@
|
|
|
3446
3653
|
"text": "string | undefined"
|
|
3447
3654
|
},
|
|
3448
3655
|
"default": "''",
|
|
3449
|
-
"description": "
|
|
3656
|
+
"description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
|
|
3450
3657
|
"fieldName": "label"
|
|
3451
3658
|
},
|
|
3452
3659
|
{
|
|
@@ -3455,7 +3662,7 @@
|
|
|
3455
3662
|
"text": "string | undefined"
|
|
3456
3663
|
},
|
|
3457
3664
|
"default": "''",
|
|
3458
|
-
"description": "
|
|
3665
|
+
"description": "Placeholder text displayed when the input is empty.\n\nUse this as a short hint for the expected input. Do not use placeholder text as a replacement for a label.",
|
|
3459
3666
|
"fieldName": "placeholder"
|
|
3460
3667
|
},
|
|
3461
3668
|
{
|
|
@@ -3464,7 +3671,7 @@
|
|
|
3464
3671
|
"text": "string"
|
|
3465
3672
|
},
|
|
3466
3673
|
"default": "''",
|
|
3467
|
-
"description": "The
|
|
3674
|
+
"description": "The selected or typed value.\n\nWhen an option is selected, this is set to the option value. The displayed text may differ when the option has a separate label.",
|
|
3468
3675
|
"fieldName": "value"
|
|
3469
3676
|
},
|
|
3470
3677
|
{
|
|
@@ -3473,7 +3680,7 @@
|
|
|
3473
3680
|
"text": "boolean"
|
|
3474
3681
|
},
|
|
3475
3682
|
"default": "false",
|
|
3476
|
-
"description": "Whether the
|
|
3683
|
+
"description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
|
|
3477
3684
|
"fieldName": "openOnFocus"
|
|
3478
3685
|
},
|
|
3479
3686
|
{
|
|
@@ -3482,7 +3689,7 @@
|
|
|
3482
3689
|
"text": "boolean"
|
|
3483
3690
|
},
|
|
3484
3691
|
"default": "true",
|
|
3485
|
-
"description": "
|
|
3692
|
+
"description": "Whether the active option is selected when the input loses focus.\n\nWhen enabled, the combobox selects the keyboard-highlighted option, or an option whose value exactly matches the current input value, on blur.",
|
|
3486
3693
|
"fieldName": "selectOnBlur"
|
|
3487
3694
|
},
|
|
3488
3695
|
{
|
|
@@ -3491,7 +3698,7 @@
|
|
|
3491
3698
|
"text": "boolean"
|
|
3492
3699
|
},
|
|
3493
3700
|
"default": "false",
|
|
3494
|
-
"description": "Whether
|
|
3701
|
+
"description": "Whether matching text segments in options are highlighted.\n\nUse this to visually emphasize the part of each option that matches the current input value.",
|
|
3495
3702
|
"fieldName": "matchTextSegments"
|
|
3496
3703
|
},
|
|
3497
3704
|
{
|
|
@@ -3500,7 +3707,7 @@
|
|
|
3500
3707
|
"text": "boolean"
|
|
3501
3708
|
},
|
|
3502
3709
|
"default": "false",
|
|
3503
|
-
"description": "
|
|
3710
|
+
"description": "Whether built-in client-side filtering is disabled.\n\nUse this for remote search or externally filtered results. When disabled, all entries in `options` are rendered as provided.",
|
|
3504
3711
|
"fieldName": "disableStaticFiltering"
|
|
3505
3712
|
},
|
|
3506
3713
|
{
|
|
@@ -3509,7 +3716,7 @@
|
|
|
3509
3716
|
"text": "boolean"
|
|
3510
3717
|
},
|
|
3511
3718
|
"default": "false",
|
|
3512
|
-
"description": "
|
|
3719
|
+
"description": "Whether the combobox is visually invalid.\n\nUse this to show an externally managed validation error. Pair it with `help-text` to explain how to fix the error.",
|
|
3513
3720
|
"fieldName": "invalid"
|
|
3514
3721
|
},
|
|
3515
3722
|
{
|
|
@@ -3518,7 +3725,7 @@
|
|
|
3518
3725
|
"text": "string | undefined"
|
|
3519
3726
|
},
|
|
3520
3727
|
"default": "''",
|
|
3521
|
-
"description": "
|
|
3728
|
+
"description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
|
|
3522
3729
|
"fieldName": "helpText"
|
|
3523
3730
|
},
|
|
3524
3731
|
{
|
|
@@ -3527,7 +3734,7 @@
|
|
|
3527
3734
|
"text": "boolean"
|
|
3528
3735
|
},
|
|
3529
3736
|
"default": "false",
|
|
3530
|
-
"description": "Whether the
|
|
3737
|
+
"description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
|
|
3531
3738
|
"fieldName": "disabled"
|
|
3532
3739
|
},
|
|
3533
3740
|
{
|
|
@@ -3536,7 +3743,7 @@
|
|
|
3536
3743
|
"text": "boolean"
|
|
3537
3744
|
},
|
|
3538
3745
|
"default": "false",
|
|
3539
|
-
"description": "Whether the
|
|
3746
|
+
"description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
|
|
3540
3747
|
"fieldName": "required"
|
|
3541
3748
|
},
|
|
3542
3749
|
{
|
|
@@ -3545,7 +3752,7 @@
|
|
|
3545
3752
|
"text": "boolean"
|
|
3546
3753
|
},
|
|
3547
3754
|
"default": "false",
|
|
3548
|
-
"description": "Whether to show optional text",
|
|
3755
|
+
"description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
|
|
3549
3756
|
"fieldName": "optional"
|
|
3550
3757
|
},
|
|
3551
3758
|
{
|
|
@@ -3554,7 +3761,7 @@
|
|
|
3554
3761
|
"text": "string | undefined"
|
|
3555
3762
|
},
|
|
3556
3763
|
"default": "''",
|
|
3557
|
-
"description": "
|
|
3764
|
+
"description": "The name submitted with the combobox value.\n\nUse this when the combobox belongs to a form and its value should be included in form data.",
|
|
3558
3765
|
"fieldName": "name"
|
|
3559
3766
|
},
|
|
3560
3767
|
{
|
|
@@ -3563,7 +3770,7 @@
|
|
|
3563
3770
|
"text": "string | undefined"
|
|
3564
3771
|
},
|
|
3565
3772
|
"default": "'off'",
|
|
3566
|
-
"description": "
|
|
3773
|
+
"description": "The autocomplete attribute passed to the internal input.\n\nDefaults to `off`. Set this when browser autocomplete should be enabled or scoped to a specific autocomplete token.",
|
|
3567
3774
|
"fieldName": "autocomplete"
|
|
3568
3775
|
}
|
|
3569
3776
|
],
|
|
@@ -3626,6 +3833,7 @@
|
|
|
3626
3833
|
"type": {
|
|
3627
3834
|
"text": "string"
|
|
3628
3835
|
},
|
|
3836
|
+
"description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
|
|
3629
3837
|
"attribute": "label",
|
|
3630
3838
|
"reflects": true
|
|
3631
3839
|
},
|
|
@@ -3635,7 +3843,7 @@
|
|
|
3635
3843
|
"type": {
|
|
3636
3844
|
"text": "string"
|
|
3637
3845
|
},
|
|
3638
|
-
"description": "
|
|
3846
|
+
"description": "The locale used for calendar labels and date formatting.\n\nThis takes precedence over the `<html>` `lang` attribute. Supported built-in locales are `en`, `nb`, `sv`, `da`, and `fi`.",
|
|
3639
3847
|
"attribute": "lang",
|
|
3640
3848
|
"reflects": true
|
|
3641
3849
|
},
|
|
@@ -3645,6 +3853,7 @@
|
|
|
3645
3853
|
"type": {
|
|
3646
3854
|
"text": "string"
|
|
3647
3855
|
},
|
|
3856
|
+
"description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
|
|
3648
3857
|
"attribute": "name",
|
|
3649
3858
|
"reflects": true
|
|
3650
3859
|
},
|
|
@@ -3654,6 +3863,7 @@
|
|
|
3654
3863
|
"type": {
|
|
3655
3864
|
"text": "string"
|
|
3656
3865
|
},
|
|
3866
|
+
"description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
|
|
3657
3867
|
"attribute": "value",
|
|
3658
3868
|
"reflects": true
|
|
3659
3869
|
},
|
|
@@ -3664,7 +3874,7 @@
|
|
|
3664
3874
|
"text": "string"
|
|
3665
3875
|
},
|
|
3666
3876
|
"default": "'MMMM yyyy'",
|
|
3667
|
-
"description": "
|
|
3877
|
+
"description": "The date format used in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3668
3878
|
"attribute": "header-format"
|
|
3669
3879
|
},
|
|
3670
3880
|
{
|
|
@@ -3674,7 +3884,7 @@
|
|
|
3674
3884
|
"text": "string"
|
|
3675
3885
|
},
|
|
3676
3886
|
"default": "'EEEEEE'",
|
|
3677
|
-
"description": "
|
|
3887
|
+
"description": "The weekday format shown above the calendar grid.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3678
3888
|
"attribute": "weekday-format"
|
|
3679
3889
|
},
|
|
3680
3890
|
{
|
|
@@ -3683,7 +3893,7 @@
|
|
|
3683
3893
|
"type": {
|
|
3684
3894
|
"text": "(day: Date) => boolean"
|
|
3685
3895
|
},
|
|
3686
|
-
"description": "
|
|
3896
|
+
"description": "Function used to disable dates in the calendar.\n\nSet this on the element instance in JavaScript, not as an HTML attribute. Disabled dates cannot be selected from the calendar."
|
|
3687
3897
|
},
|
|
3688
3898
|
{
|
|
3689
3899
|
"kind": "field",
|
|
@@ -3692,7 +3902,7 @@
|
|
|
3692
3902
|
"text": "string"
|
|
3693
3903
|
},
|
|
3694
3904
|
"default": "'PPPP'",
|
|
3695
|
-
"description": "
|
|
3905
|
+
"description": "The date format used for calendar day accessible names.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3696
3906
|
"attribute": "day-format"
|
|
3697
3907
|
},
|
|
3698
3908
|
{
|
|
@@ -3899,6 +4109,7 @@
|
|
|
3899
4109
|
"type": {
|
|
3900
4110
|
"text": "string"
|
|
3901
4111
|
},
|
|
4112
|
+
"description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
|
|
3902
4113
|
"fieldName": "label"
|
|
3903
4114
|
},
|
|
3904
4115
|
{
|
|
@@ -3906,7 +4117,7 @@
|
|
|
3906
4117
|
"type": {
|
|
3907
4118
|
"text": "string"
|
|
3908
4119
|
},
|
|
3909
|
-
"description": "
|
|
4120
|
+
"description": "The locale used for calendar labels and date formatting.\n\nThis takes precedence over the `<html>` `lang` attribute. Supported built-in locales are `en`, `nb`, `sv`, `da`, and `fi`.",
|
|
3910
4121
|
"fieldName": "lang"
|
|
3911
4122
|
},
|
|
3912
4123
|
{
|
|
@@ -3914,6 +4125,7 @@
|
|
|
3914
4125
|
"type": {
|
|
3915
4126
|
"text": "string"
|
|
3916
4127
|
},
|
|
4128
|
+
"description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
|
|
3917
4129
|
"fieldName": "name"
|
|
3918
4130
|
},
|
|
3919
4131
|
{
|
|
@@ -3921,6 +4133,7 @@
|
|
|
3921
4133
|
"type": {
|
|
3922
4134
|
"text": "string"
|
|
3923
4135
|
},
|
|
4136
|
+
"description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
|
|
3924
4137
|
"fieldName": "value"
|
|
3925
4138
|
},
|
|
3926
4139
|
{
|
|
@@ -3929,7 +4142,7 @@
|
|
|
3929
4142
|
"text": "string"
|
|
3930
4143
|
},
|
|
3931
4144
|
"default": "'MMMM yyyy'",
|
|
3932
|
-
"description": "
|
|
4145
|
+
"description": "The date format used in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3933
4146
|
"fieldName": "headerFormat"
|
|
3934
4147
|
},
|
|
3935
4148
|
{
|
|
@@ -3938,7 +4151,7 @@
|
|
|
3938
4151
|
"text": "string"
|
|
3939
4152
|
},
|
|
3940
4153
|
"default": "'EEEEEE'",
|
|
3941
|
-
"description": "
|
|
4154
|
+
"description": "The weekday format shown above the calendar grid.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3942
4155
|
"fieldName": "weekdayFormat"
|
|
3943
4156
|
},
|
|
3944
4157
|
{
|
|
@@ -3947,7 +4160,7 @@
|
|
|
3947
4160
|
"text": "string"
|
|
3948
4161
|
},
|
|
3949
4162
|
"default": "'PPPP'",
|
|
3950
|
-
"description": "
|
|
4163
|
+
"description": "The date format used for calendar day accessible names.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
|
|
3951
4164
|
"fieldName": "dayFormat"
|
|
3952
4165
|
}
|
|
3953
4166
|
],
|
|
@@ -3992,7 +4205,7 @@
|
|
|
3992
4205
|
"declarations": [
|
|
3993
4206
|
{
|
|
3994
4207
|
"kind": "class",
|
|
3995
|
-
"description": "Expandable is a layout component used for creating expandable content areas on a page
|
|
4208
|
+
"description": "Expandable is a layout component used for creating expandable content areas on a page.",
|
|
3996
4209
|
"name": "WarpExpandable",
|
|
3997
4210
|
"slots": [
|
|
3998
4211
|
{
|
|
@@ -4008,6 +4221,7 @@
|
|
|
4008
4221
|
"text": "boolean"
|
|
4009
4222
|
},
|
|
4010
4223
|
"default": "false",
|
|
4224
|
+
"description": "Controls component's expanded state",
|
|
4011
4225
|
"attribute": "expanded",
|
|
4012
4226
|
"reflects": true
|
|
4013
4227
|
},
|
|
@@ -4017,6 +4231,7 @@
|
|
|
4017
4231
|
"type": {
|
|
4018
4232
|
"text": "string"
|
|
4019
4233
|
},
|
|
4234
|
+
"description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
|
|
4020
4235
|
"attribute": "title"
|
|
4021
4236
|
},
|
|
4022
4237
|
{
|
|
@@ -4026,6 +4241,7 @@
|
|
|
4026
4241
|
"text": "boolean"
|
|
4027
4242
|
},
|
|
4028
4243
|
"default": "false",
|
|
4244
|
+
"description": "Will make the expandable a Box",
|
|
4029
4245
|
"attribute": "box"
|
|
4030
4246
|
},
|
|
4031
4247
|
{
|
|
@@ -4035,6 +4251,7 @@
|
|
|
4035
4251
|
"text": "boolean"
|
|
4036
4252
|
},
|
|
4037
4253
|
"default": "false",
|
|
4254
|
+
"description": "Will make the expandable full-width on the sm breakpoint size",
|
|
4038
4255
|
"attribute": "bleed"
|
|
4039
4256
|
},
|
|
4040
4257
|
{
|
|
@@ -4043,6 +4260,7 @@
|
|
|
4043
4260
|
"type": {
|
|
4044
4261
|
"text": "string"
|
|
4045
4262
|
},
|
|
4263
|
+
"deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
|
|
4046
4264
|
"attribute": "button-class"
|
|
4047
4265
|
},
|
|
4048
4266
|
{
|
|
@@ -4051,6 +4269,7 @@
|
|
|
4051
4269
|
"type": {
|
|
4052
4270
|
"text": "string"
|
|
4053
4271
|
},
|
|
4272
|
+
"deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
|
|
4054
4273
|
"attribute": "content-class"
|
|
4055
4274
|
},
|
|
4056
4275
|
{
|
|
@@ -4060,6 +4279,7 @@
|
|
|
4060
4279
|
"text": "boolean"
|
|
4061
4280
|
},
|
|
4062
4281
|
"default": "false",
|
|
4282
|
+
"description": "Controls chevron visibility",
|
|
4063
4283
|
"attribute": "no-chevron"
|
|
4064
4284
|
},
|
|
4065
4285
|
{
|
|
@@ -4069,6 +4289,7 @@
|
|
|
4069
4289
|
"text": "boolean"
|
|
4070
4290
|
},
|
|
4071
4291
|
"default": "false",
|
|
4292
|
+
"description": "Will animate the expansion/collapse",
|
|
4072
4293
|
"attribute": "animated"
|
|
4073
4294
|
},
|
|
4074
4295
|
{
|
|
@@ -4077,6 +4298,7 @@
|
|
|
4077
4298
|
"type": {
|
|
4078
4299
|
"text": "number"
|
|
4079
4300
|
},
|
|
4301
|
+
"description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
|
|
4080
4302
|
"attribute": "heading-level"
|
|
4081
4303
|
},
|
|
4082
4304
|
{
|
|
@@ -4085,6 +4307,7 @@
|
|
|
4085
4307
|
"type": {
|
|
4086
4308
|
"text": "boolean"
|
|
4087
4309
|
},
|
|
4310
|
+
"privacy": "private",
|
|
4088
4311
|
"default": "true",
|
|
4089
4312
|
"attribute": "_hasTitle"
|
|
4090
4313
|
},
|
|
@@ -4094,6 +4317,7 @@
|
|
|
4094
4317
|
"type": {
|
|
4095
4318
|
"text": "boolean"
|
|
4096
4319
|
},
|
|
4320
|
+
"privacy": "private",
|
|
4097
4321
|
"default": "false",
|
|
4098
4322
|
"attribute": "_showChevronUp"
|
|
4099
4323
|
},
|
|
@@ -4141,6 +4365,7 @@
|
|
|
4141
4365
|
"text": "boolean"
|
|
4142
4366
|
},
|
|
4143
4367
|
"default": "false",
|
|
4368
|
+
"description": "Controls component's expanded state",
|
|
4144
4369
|
"fieldName": "expanded"
|
|
4145
4370
|
},
|
|
4146
4371
|
{
|
|
@@ -4148,6 +4373,7 @@
|
|
|
4148
4373
|
"type": {
|
|
4149
4374
|
"text": "string"
|
|
4150
4375
|
},
|
|
4376
|
+
"description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
|
|
4151
4377
|
"fieldName": "title"
|
|
4152
4378
|
},
|
|
4153
4379
|
{
|
|
@@ -4156,6 +4382,7 @@
|
|
|
4156
4382
|
"text": "boolean"
|
|
4157
4383
|
},
|
|
4158
4384
|
"default": "false",
|
|
4385
|
+
"description": "Will make the expandable a Box",
|
|
4159
4386
|
"fieldName": "box"
|
|
4160
4387
|
},
|
|
4161
4388
|
{
|
|
@@ -4164,6 +4391,7 @@
|
|
|
4164
4391
|
"text": "boolean"
|
|
4165
4392
|
},
|
|
4166
4393
|
"default": "false",
|
|
4394
|
+
"description": "Will make the expandable full-width on the sm breakpoint size",
|
|
4167
4395
|
"fieldName": "bleed"
|
|
4168
4396
|
},
|
|
4169
4397
|
{
|
|
@@ -4171,6 +4399,7 @@
|
|
|
4171
4399
|
"type": {
|
|
4172
4400
|
"text": "string"
|
|
4173
4401
|
},
|
|
4402
|
+
"deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
|
|
4174
4403
|
"fieldName": "buttonClass"
|
|
4175
4404
|
},
|
|
4176
4405
|
{
|
|
@@ -4178,6 +4407,7 @@
|
|
|
4178
4407
|
"type": {
|
|
4179
4408
|
"text": "string"
|
|
4180
4409
|
},
|
|
4410
|
+
"deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
|
|
4181
4411
|
"fieldName": "contentClass"
|
|
4182
4412
|
},
|
|
4183
4413
|
{
|
|
@@ -4186,6 +4416,7 @@
|
|
|
4186
4416
|
"text": "boolean"
|
|
4187
4417
|
},
|
|
4188
4418
|
"default": "false",
|
|
4419
|
+
"description": "Controls chevron visibility",
|
|
4189
4420
|
"fieldName": "noChevron"
|
|
4190
4421
|
},
|
|
4191
4422
|
{
|
|
@@ -4194,6 +4425,7 @@
|
|
|
4194
4425
|
"text": "boolean"
|
|
4195
4426
|
},
|
|
4196
4427
|
"default": "false",
|
|
4428
|
+
"description": "Will animate the expansion/collapse",
|
|
4197
4429
|
"fieldName": "animated"
|
|
4198
4430
|
},
|
|
4199
4431
|
{
|
|
@@ -4201,6 +4433,7 @@
|
|
|
4201
4433
|
"type": {
|
|
4202
4434
|
"text": "number"
|
|
4203
4435
|
},
|
|
4436
|
+
"description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
|
|
4204
4437
|
"fieldName": "headingLevel"
|
|
4205
4438
|
},
|
|
4206
4439
|
{
|
|
@@ -4255,8 +4488,8 @@
|
|
|
4255
4488
|
"declarations": [
|
|
4256
4489
|
{
|
|
4257
4490
|
"kind": "class",
|
|
4258
|
-
"description": "Modals (or dialogs) display important information that users need to acknowledge
|
|
4259
|
-
"name": "
|
|
4491
|
+
"description": "Modals (or dialogs) display important information that users need to acknowledge.",
|
|
4492
|
+
"name": "WarpModal",
|
|
4260
4493
|
"slots": [
|
|
4261
4494
|
{
|
|
4262
4495
|
"description": "Typically where you would use the `w-modal-header` component.",
|
|
@@ -4279,6 +4512,7 @@
|
|
|
4279
4512
|
"text": "boolean"
|
|
4280
4513
|
},
|
|
4281
4514
|
"default": "false",
|
|
4515
|
+
"description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
|
|
4282
4516
|
"attribute": "show"
|
|
4283
4517
|
},
|
|
4284
4518
|
{
|
|
@@ -4296,6 +4530,7 @@
|
|
|
4296
4530
|
"text": "boolean"
|
|
4297
4531
|
},
|
|
4298
4532
|
"default": "false",
|
|
4533
|
+
"description": "Ignores clicks to the backdrop when set",
|
|
4299
4534
|
"attribute": "ignore-backdrop-clicks"
|
|
4300
4535
|
},
|
|
4301
4536
|
{
|
|
@@ -4303,21 +4538,33 @@
|
|
|
4303
4538
|
"name": "dialogEl",
|
|
4304
4539
|
"type": {
|
|
4305
4540
|
"text": "HTMLDialogElement"
|
|
4306
|
-
}
|
|
4541
|
+
},
|
|
4542
|
+
"privacy": "private"
|
|
4307
4543
|
},
|
|
4308
4544
|
{
|
|
4309
4545
|
"kind": "field",
|
|
4310
4546
|
"name": "dialogInnerEl",
|
|
4311
4547
|
"type": {
|
|
4312
4548
|
"text": "HTMLElement"
|
|
4313
|
-
}
|
|
4549
|
+
},
|
|
4550
|
+
"privacy": "private"
|
|
4314
4551
|
},
|
|
4315
4552
|
{
|
|
4316
4553
|
"kind": "field",
|
|
4317
4554
|
"name": "contentEl",
|
|
4318
4555
|
"type": {
|
|
4319
4556
|
"text": "HTMLElement"
|
|
4320
|
-
}
|
|
4557
|
+
},
|
|
4558
|
+
"privacy": "private"
|
|
4559
|
+
},
|
|
4560
|
+
{
|
|
4561
|
+
"kind": "field",
|
|
4562
|
+
"name": "_isClosing",
|
|
4563
|
+
"type": {
|
|
4564
|
+
"text": "boolean"
|
|
4565
|
+
},
|
|
4566
|
+
"privacy": "private",
|
|
4567
|
+
"default": "false"
|
|
4321
4568
|
},
|
|
4322
4569
|
{
|
|
4323
4570
|
"kind": "method",
|
|
@@ -4336,19 +4583,18 @@
|
|
|
4336
4583
|
{
|
|
4337
4584
|
"kind": "method",
|
|
4338
4585
|
"name": "handleListeners",
|
|
4586
|
+
"privacy": "private",
|
|
4339
4587
|
"parameters": [
|
|
4340
4588
|
{
|
|
4341
4589
|
"name": "verb",
|
|
4342
4590
|
"default": "'addEventListener'"
|
|
4343
4591
|
}
|
|
4344
|
-
]
|
|
4345
|
-
"type": {
|
|
4346
|
-
"text": "handleListeners(verb = 'addEventListener') => void"
|
|
4347
|
-
}
|
|
4592
|
+
]
|
|
4348
4593
|
},
|
|
4349
4594
|
{
|
|
4350
4595
|
"kind": "method",
|
|
4351
4596
|
"name": "eventPreventer",
|
|
4597
|
+
"privacy": "private",
|
|
4352
4598
|
"parameters": [
|
|
4353
4599
|
{
|
|
4354
4600
|
"name": "evt",
|
|
@@ -4356,14 +4602,12 @@
|
|
|
4356
4602
|
"text": "Event"
|
|
4357
4603
|
}
|
|
4358
4604
|
}
|
|
4359
|
-
]
|
|
4360
|
-
"type": {
|
|
4361
|
-
"text": "eventPreventer(evt: Event) => void"
|
|
4362
|
-
}
|
|
4605
|
+
]
|
|
4363
4606
|
},
|
|
4364
4607
|
{
|
|
4365
4608
|
"kind": "method",
|
|
4366
4609
|
"name": "closeOnBackdropClick",
|
|
4610
|
+
"privacy": "private",
|
|
4367
4611
|
"parameters": [
|
|
4368
4612
|
{
|
|
4369
4613
|
"name": "evt",
|
|
@@ -4371,14 +4615,12 @@
|
|
|
4371
4615
|
"text": "MouseEvent"
|
|
4372
4616
|
}
|
|
4373
4617
|
}
|
|
4374
|
-
]
|
|
4375
|
-
"type": {
|
|
4376
|
-
"text": "closeOnBackdropClick(evt: MouseEvent) => void"
|
|
4377
|
-
}
|
|
4618
|
+
]
|
|
4378
4619
|
},
|
|
4379
4620
|
{
|
|
4380
4621
|
"kind": "method",
|
|
4381
4622
|
"name": "interceptEscape",
|
|
4623
|
+
"privacy": "private",
|
|
4382
4624
|
"parameters": [
|
|
4383
4625
|
{
|
|
4384
4626
|
"name": "evt",
|
|
@@ -4386,17 +4628,12 @@
|
|
|
4386
4628
|
"text": "KeyboardEvent"
|
|
4387
4629
|
}
|
|
4388
4630
|
}
|
|
4389
|
-
]
|
|
4390
|
-
"type": {
|
|
4391
|
-
"text": "interceptEscape(evt: KeyboardEvent) => void"
|
|
4392
|
-
}
|
|
4631
|
+
]
|
|
4393
4632
|
},
|
|
4394
4633
|
{
|
|
4395
4634
|
"kind": "method",
|
|
4396
4635
|
"name": "modifyBorderRadius",
|
|
4397
|
-
"
|
|
4398
|
-
"text": "modifyBorderRadius() => void"
|
|
4399
|
-
}
|
|
4636
|
+
"privacy": "private"
|
|
4400
4637
|
}
|
|
4401
4638
|
],
|
|
4402
4639
|
"events": [
|
|
@@ -4420,6 +4657,7 @@
|
|
|
4420
4657
|
"text": "boolean"
|
|
4421
4658
|
},
|
|
4422
4659
|
"default": "false",
|
|
4660
|
+
"description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
|
|
4423
4661
|
"fieldName": "show"
|
|
4424
4662
|
},
|
|
4425
4663
|
{
|
|
@@ -4435,6 +4673,7 @@
|
|
|
4435
4673
|
"text": "boolean"
|
|
4436
4674
|
},
|
|
4437
4675
|
"default": "false",
|
|
4676
|
+
"description": "Ignores clicks to the backdrop when set",
|
|
4438
4677
|
"fieldName": "ignoreBackdropClicks"
|
|
4439
4678
|
}
|
|
4440
4679
|
],
|
|
@@ -4452,9 +4691,23 @@
|
|
|
4452
4691
|
"customElement": true,
|
|
4453
4692
|
"modulePath": "packages/modal/modal.ts",
|
|
4454
4693
|
"definitionPath": "packages/modal/modal.ts"
|
|
4694
|
+
},
|
|
4695
|
+
{
|
|
4696
|
+
"kind": "variable",
|
|
4697
|
+
"name": "ModalMain",
|
|
4698
|
+
"default": "WarpModal",
|
|
4699
|
+
"deprecated": "Exported for backwards compatibility. Use WarpModal."
|
|
4455
4700
|
}
|
|
4456
4701
|
],
|
|
4457
4702
|
"exports": [
|
|
4703
|
+
{
|
|
4704
|
+
"kind": "js",
|
|
4705
|
+
"name": "WarpModal",
|
|
4706
|
+
"declaration": {
|
|
4707
|
+
"name": "WarpModal",
|
|
4708
|
+
"module": "packages/modal/modal.ts"
|
|
4709
|
+
}
|
|
4710
|
+
},
|
|
4458
4711
|
{
|
|
4459
4712
|
"kind": "js",
|
|
4460
4713
|
"name": "ModalMain",
|
|
@@ -4467,7 +4720,7 @@
|
|
|
4467
4720
|
"kind": "custom-element-definition",
|
|
4468
4721
|
"name": "w-modal",
|
|
4469
4722
|
"declaration": {
|
|
4470
|
-
"name": "
|
|
4723
|
+
"name": "WarpModal",
|
|
4471
4724
|
"module": "packages/modal/modal.ts"
|
|
4472
4725
|
}
|
|
4473
4726
|
}
|
|
@@ -4479,8 +4732,8 @@
|
|
|
4479
4732
|
"declarations": [
|
|
4480
4733
|
{
|
|
4481
4734
|
"kind": "class",
|
|
4482
|
-
"description": "The footer section of a modal, typically where you place actions
|
|
4483
|
-
"name": "
|
|
4735
|
+
"description": "The footer section of a modal, typically where you place actions.",
|
|
4736
|
+
"name": "WarpModalFooter",
|
|
4484
4737
|
"members": [],
|
|
4485
4738
|
"mixins": [
|
|
4486
4739
|
{
|
|
@@ -4496,13 +4749,31 @@
|
|
|
4496
4749
|
"name": "LitElement",
|
|
4497
4750
|
"package": "lit"
|
|
4498
4751
|
},
|
|
4752
|
+
"parent": {
|
|
4753
|
+
"name": "w-modal",
|
|
4754
|
+
"description": ""
|
|
4755
|
+
},
|
|
4499
4756
|
"tagName": "w-modal-footer",
|
|
4500
4757
|
"customElement": true,
|
|
4501
4758
|
"modulePath": "packages/modal-footer/modal-footer.ts",
|
|
4502
4759
|
"definitionPath": "packages/modal-footer/modal-footer.ts"
|
|
4760
|
+
},
|
|
4761
|
+
{
|
|
4762
|
+
"kind": "variable",
|
|
4763
|
+
"name": "ModalFooter",
|
|
4764
|
+
"default": "WarpModalFooter",
|
|
4765
|
+
"deprecated": "Exported for backwards compatibility. Use WarpModalFooter."
|
|
4503
4766
|
}
|
|
4504
4767
|
],
|
|
4505
4768
|
"exports": [
|
|
4769
|
+
{
|
|
4770
|
+
"kind": "js",
|
|
4771
|
+
"name": "WarpModalFooter",
|
|
4772
|
+
"declaration": {
|
|
4773
|
+
"name": "WarpModalFooter",
|
|
4774
|
+
"module": "packages/modal-footer/modal-footer.ts"
|
|
4775
|
+
}
|
|
4776
|
+
},
|
|
4506
4777
|
{
|
|
4507
4778
|
"kind": "js",
|
|
4508
4779
|
"name": "ModalFooter",
|
|
@@ -4515,7 +4786,7 @@
|
|
|
4515
4786
|
"kind": "custom-element-definition",
|
|
4516
4787
|
"name": "w-modal-footer",
|
|
4517
4788
|
"declaration": {
|
|
4518
|
-
"name": "
|
|
4789
|
+
"name": "WarpModalFooter",
|
|
4519
4790
|
"module": "packages/modal-footer/modal-footer.ts"
|
|
4520
4791
|
}
|
|
4521
4792
|
}
|
|
@@ -4527,8 +4798,8 @@
|
|
|
4527
4798
|
"declarations": [
|
|
4528
4799
|
{
|
|
4529
4800
|
"kind": "class",
|
|
4530
|
-
"description": "The header section of a modal, typically where you place the title and a close button
|
|
4531
|
-
"name": "
|
|
4801
|
+
"description": "The header section of a modal, typically where you place the title and a close button.",
|
|
4802
|
+
"name": "WarpModalHeader",
|
|
4532
4803
|
"slots": [
|
|
4533
4804
|
{
|
|
4534
4805
|
"description": "Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.",
|
|
@@ -4542,6 +4813,7 @@
|
|
|
4542
4813
|
"type": {
|
|
4543
4814
|
"text": "string"
|
|
4544
4815
|
},
|
|
4816
|
+
"description": "A short but descriptive title for the modal",
|
|
4545
4817
|
"attribute": "title"
|
|
4546
4818
|
},
|
|
4547
4819
|
{
|
|
@@ -4551,6 +4823,7 @@
|
|
|
4551
4823
|
"text": "boolean"
|
|
4552
4824
|
},
|
|
4553
4825
|
"default": "false",
|
|
4826
|
+
"description": "Whether the modal header should have a back button",
|
|
4554
4827
|
"attribute": "back"
|
|
4555
4828
|
},
|
|
4556
4829
|
{
|
|
@@ -4560,48 +4833,61 @@
|
|
|
4560
4833
|
"text": "boolean"
|
|
4561
4834
|
},
|
|
4562
4835
|
"default": "false",
|
|
4836
|
+
"description": "Lets you hide the close button in the header",
|
|
4563
4837
|
"attribute": "no-close"
|
|
4564
4838
|
},
|
|
4839
|
+
{
|
|
4840
|
+
"kind": "field",
|
|
4841
|
+
"name": "_hasTopContent",
|
|
4842
|
+
"type": {
|
|
4843
|
+
"text": "boolean"
|
|
4844
|
+
},
|
|
4845
|
+
"privacy": "private",
|
|
4846
|
+
"default": "false"
|
|
4847
|
+
},
|
|
4565
4848
|
{
|
|
4566
4849
|
"kind": "field",
|
|
4567
4850
|
"name": "titleEl",
|
|
4568
4851
|
"type": {
|
|
4569
4852
|
"text": "HTMLElement"
|
|
4570
|
-
}
|
|
4853
|
+
},
|
|
4854
|
+
"privacy": "private"
|
|
4571
4855
|
},
|
|
4572
4856
|
{
|
|
4573
4857
|
"kind": "field",
|
|
4574
4858
|
"name": "titleClasses",
|
|
4859
|
+
"privacy": "private",
|
|
4575
4860
|
"readonly": true
|
|
4576
4861
|
},
|
|
4577
4862
|
{
|
|
4578
4863
|
"kind": "field",
|
|
4579
4864
|
"name": "backButton",
|
|
4865
|
+
"privacy": "private",
|
|
4580
4866
|
"readonly": true
|
|
4581
4867
|
},
|
|
4582
4868
|
{
|
|
4583
4869
|
"kind": "field",
|
|
4584
4870
|
"name": "closeButton",
|
|
4871
|
+
"privacy": "private",
|
|
4585
4872
|
"readonly": true
|
|
4586
4873
|
},
|
|
4587
4874
|
{
|
|
4588
4875
|
"kind": "method",
|
|
4589
4876
|
"name": "emitBack",
|
|
4590
|
-
"
|
|
4591
|
-
"text": "emitBack() => void"
|
|
4592
|
-
}
|
|
4877
|
+
"privacy": "private"
|
|
4593
4878
|
},
|
|
4594
4879
|
{
|
|
4595
4880
|
"kind": "method",
|
|
4596
4881
|
"name": "handleTopSlotChange",
|
|
4882
|
+
"privacy": "private",
|
|
4597
4883
|
"parameters": [
|
|
4598
4884
|
{
|
|
4599
|
-
"name": "slotEvent"
|
|
4885
|
+
"name": "slotEvent",
|
|
4886
|
+
"type": {
|
|
4887
|
+
"text": "Event"
|
|
4888
|
+
}
|
|
4600
4889
|
}
|
|
4601
|
-
]
|
|
4602
|
-
"type": {
|
|
4603
|
-
"text": "handleTopSlotChange(slotEvent) => void"
|
|
4604
|
-
}
|
|
4890
|
+
]
|
|
4605
4891
|
}
|
|
4606
4892
|
],
|
|
4607
4893
|
"events": [
|
|
@@ -4618,6 +4904,7 @@
|
|
|
4618
4904
|
"type": {
|
|
4619
4905
|
"text": "string"
|
|
4620
4906
|
},
|
|
4907
|
+
"description": "A short but descriptive title for the modal",
|
|
4621
4908
|
"fieldName": "title"
|
|
4622
4909
|
},
|
|
4623
4910
|
{
|
|
@@ -4626,6 +4913,7 @@
|
|
|
4626
4913
|
"text": "boolean"
|
|
4627
4914
|
},
|
|
4628
4915
|
"default": "false",
|
|
4916
|
+
"description": "Whether the modal header should have a back button",
|
|
4629
4917
|
"fieldName": "back"
|
|
4630
4918
|
},
|
|
4631
4919
|
{
|
|
@@ -4634,6 +4922,7 @@
|
|
|
4634
4922
|
"text": "boolean"
|
|
4635
4923
|
},
|
|
4636
4924
|
"default": "false",
|
|
4925
|
+
"description": "Lets you hide the close button in the header",
|
|
4637
4926
|
"fieldName": "noClose"
|
|
4638
4927
|
}
|
|
4639
4928
|
],
|
|
@@ -4647,13 +4936,31 @@
|
|
|
4647
4936
|
"name": "LitElement",
|
|
4648
4937
|
"package": "lit"
|
|
4649
4938
|
},
|
|
4939
|
+
"parent": {
|
|
4940
|
+
"name": "w-modal",
|
|
4941
|
+
"description": ""
|
|
4942
|
+
},
|
|
4650
4943
|
"tagName": "w-modal-header",
|
|
4651
4944
|
"customElement": true,
|
|
4652
4945
|
"modulePath": "packages/modal-header/modal-header.ts",
|
|
4653
4946
|
"definitionPath": "packages/modal-header/modal-header.ts"
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"kind": "variable",
|
|
4950
|
+
"name": "ModalHeader",
|
|
4951
|
+
"default": "WarpModalHeader",
|
|
4952
|
+
"deprecated": "Exported for backwards compatibility. Use WarpModalHeader."
|
|
4654
4953
|
}
|
|
4655
4954
|
],
|
|
4656
4955
|
"exports": [
|
|
4956
|
+
{
|
|
4957
|
+
"kind": "js",
|
|
4958
|
+
"name": "WarpModalHeader",
|
|
4959
|
+
"declaration": {
|
|
4960
|
+
"name": "WarpModalHeader",
|
|
4961
|
+
"module": "packages/modal-header/modal-header.ts"
|
|
4962
|
+
}
|
|
4963
|
+
},
|
|
4657
4964
|
{
|
|
4658
4965
|
"kind": "js",
|
|
4659
4966
|
"name": "ModalHeader",
|
|
@@ -4666,7 +4973,7 @@
|
|
|
4666
4973
|
"kind": "custom-element-definition",
|
|
4667
4974
|
"name": "w-modal-header",
|
|
4668
4975
|
"declaration": {
|
|
4669
|
-
"name": "
|
|
4976
|
+
"name": "WarpModalHeader",
|
|
4670
4977
|
"module": "packages/modal-header/modal-header.ts"
|
|
4671
4978
|
}
|
|
4672
4979
|
}
|
|
@@ -4678,7 +4985,7 @@
|
|
|
4678
4985
|
"declarations": [
|
|
4679
4986
|
{
|
|
4680
4987
|
"kind": "class",
|
|
4681
|
-
"description": "A page indicator component that displays a series of dots representing pages.\nOne dot is highlighted to indicate the currently selected page.",
|
|
4988
|
+
"description": "A page indicator component that displays a series of dots representing pages.\n\nOne dot is highlighted to indicate the currently selected page.",
|
|
4682
4989
|
"name": "WarpPageIndicator",
|
|
4683
4990
|
"members": [
|
|
4684
4991
|
{
|
|
@@ -4687,7 +4994,8 @@
|
|
|
4687
4994
|
"type": {
|
|
4688
4995
|
"text": "number"
|
|
4689
4996
|
},
|
|
4690
|
-
"description": "Currently selected page (1-based index
|
|
4997
|
+
"description": "Currently selected page (1-based index)",
|
|
4998
|
+
"default": "1",
|
|
4691
4999
|
"attribute": "selected-page",
|
|
4692
5000
|
"reflects": true
|
|
4693
5001
|
},
|
|
@@ -4697,7 +5005,8 @@
|
|
|
4697
5005
|
"type": {
|
|
4698
5006
|
"text": "number"
|
|
4699
5007
|
},
|
|
4700
|
-
"description": "Total number of pages
|
|
5008
|
+
"description": "Total number of pages",
|
|
5009
|
+
"default": "1",
|
|
4701
5010
|
"attribute": "page-count",
|
|
4702
5011
|
"reflects": true
|
|
4703
5012
|
},
|
|
@@ -4728,7 +5037,8 @@
|
|
|
4728
5037
|
"type": {
|
|
4729
5038
|
"text": "number"
|
|
4730
5039
|
},
|
|
4731
|
-
"description": "Currently selected page (1-based index
|
|
5040
|
+
"description": "Currently selected page (1-based index)",
|
|
5041
|
+
"default": "1",
|
|
4732
5042
|
"fieldName": "selectedPage"
|
|
4733
5043
|
},
|
|
4734
5044
|
{
|
|
@@ -4736,7 +5046,8 @@
|
|
|
4736
5046
|
"type": {
|
|
4737
5047
|
"text": "number"
|
|
4738
5048
|
},
|
|
4739
|
-
"description": "Total number of pages
|
|
5049
|
+
"description": "Total number of pages",
|
|
5050
|
+
"default": "1",
|
|
4740
5051
|
"fieldName": "pageCount"
|
|
4741
5052
|
}
|
|
4742
5053
|
],
|
|
@@ -4775,7 +5086,7 @@
|
|
|
4775
5086
|
"declarations": [
|
|
4776
5087
|
{
|
|
4777
5088
|
"kind": "class",
|
|
4778
|
-
"description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows
|
|
5089
|
+
"description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.",
|
|
4779
5090
|
"name": "WarpPagination",
|
|
4780
5091
|
"members": [
|
|
4781
5092
|
{
|
|
@@ -4784,6 +5095,7 @@
|
|
|
4784
5095
|
"type": {
|
|
4785
5096
|
"text": "string"
|
|
4786
5097
|
},
|
|
5098
|
+
"description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
|
|
4787
5099
|
"attribute": "base-url",
|
|
4788
5100
|
"reflects": true
|
|
4789
5101
|
},
|
|
@@ -4793,6 +5105,7 @@
|
|
|
4793
5105
|
"type": {
|
|
4794
5106
|
"text": "number"
|
|
4795
5107
|
},
|
|
5108
|
+
"description": "The total number of pages.",
|
|
4796
5109
|
"attribute": "pages",
|
|
4797
5110
|
"reflects": true
|
|
4798
5111
|
},
|
|
@@ -4802,6 +5115,8 @@
|
|
|
4802
5115
|
"type": {
|
|
4803
5116
|
"text": "number"
|
|
4804
5117
|
},
|
|
5118
|
+
"description": "The currently active page number.",
|
|
5119
|
+
"default": "1",
|
|
4805
5120
|
"attribute": "current-page",
|
|
4806
5121
|
"reflects": true
|
|
4807
5122
|
},
|
|
@@ -4811,6 +5126,8 @@
|
|
|
4811
5126
|
"type": {
|
|
4812
5127
|
"text": "number"
|
|
4813
5128
|
},
|
|
5129
|
+
"description": "The maximum number of page numbers visible.",
|
|
5130
|
+
"default": "7",
|
|
4814
5131
|
"attribute": "visible-pages",
|
|
4815
5132
|
"reflects": true
|
|
4816
5133
|
},
|
|
@@ -4834,7 +5151,7 @@
|
|
|
4834
5151
|
"type": {
|
|
4835
5152
|
"text": "CustomEvent"
|
|
4836
5153
|
},
|
|
4837
|
-
"description": "Triggered when a link
|
|
5154
|
+
"description": "Triggered when a link in the pagination is clicked. Contains the page number in `string` form."
|
|
4838
5155
|
}
|
|
4839
5156
|
],
|
|
4840
5157
|
"attributes": [
|
|
@@ -4843,6 +5160,7 @@
|
|
|
4843
5160
|
"type": {
|
|
4844
5161
|
"text": "string"
|
|
4845
5162
|
},
|
|
5163
|
+
"description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
|
|
4846
5164
|
"fieldName": "baseUrl"
|
|
4847
5165
|
},
|
|
4848
5166
|
{
|
|
@@ -4850,6 +5168,7 @@
|
|
|
4850
5168
|
"type": {
|
|
4851
5169
|
"text": "number"
|
|
4852
5170
|
},
|
|
5171
|
+
"description": "The total number of pages.",
|
|
4853
5172
|
"fieldName": "pages"
|
|
4854
5173
|
},
|
|
4855
5174
|
{
|
|
@@ -4857,6 +5176,8 @@
|
|
|
4857
5176
|
"type": {
|
|
4858
5177
|
"text": "number"
|
|
4859
5178
|
},
|
|
5179
|
+
"description": "The currently active page number.",
|
|
5180
|
+
"default": "1",
|
|
4860
5181
|
"fieldName": "currentPageNumber"
|
|
4861
5182
|
},
|
|
4862
5183
|
{
|
|
@@ -4864,6 +5185,8 @@
|
|
|
4864
5185
|
"type": {
|
|
4865
5186
|
"text": "number"
|
|
4866
5187
|
},
|
|
5188
|
+
"description": "The maximum number of page numbers visible.",
|
|
5189
|
+
"default": "7",
|
|
4867
5190
|
"fieldName": "visiblePages"
|
|
4868
5191
|
}
|
|
4869
5192
|
],
|
|
@@ -4902,7 +5225,7 @@
|
|
|
4902
5225
|
"declarations": [
|
|
4903
5226
|
{
|
|
4904
5227
|
"kind": "class",
|
|
4905
|
-
"description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc
|
|
5228
|
+
"description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.",
|
|
4906
5229
|
"name": "WarpPill",
|
|
4907
5230
|
"members": [
|
|
4908
5231
|
{
|
|
@@ -4912,6 +5235,7 @@
|
|
|
4912
5235
|
"text": "boolean"
|
|
4913
5236
|
},
|
|
4914
5237
|
"default": "false",
|
|
5238
|
+
"description": "Whether the pill should be removable via a close button.",
|
|
4915
5239
|
"attribute": "can-close"
|
|
4916
5240
|
},
|
|
4917
5241
|
{
|
|
@@ -4921,6 +5245,7 @@
|
|
|
4921
5245
|
"text": "boolean"
|
|
4922
5246
|
},
|
|
4923
5247
|
"default": "false",
|
|
5248
|
+
"description": "Whether the pill should be rendered as a suggestion.",
|
|
4924
5249
|
"attribute": "suggestion"
|
|
4925
5250
|
},
|
|
4926
5251
|
{
|
|
@@ -4938,6 +5263,7 @@
|
|
|
4938
5263
|
"type": {
|
|
4939
5264
|
"text": "string"
|
|
4940
5265
|
},
|
|
5266
|
+
"description": "Label read by screen readers when targeting the pill.",
|
|
4941
5267
|
"attribute": "open-aria-label"
|
|
4942
5268
|
},
|
|
4943
5269
|
{
|
|
@@ -4955,15 +5281,46 @@
|
|
|
4955
5281
|
"type": {
|
|
4956
5282
|
"text": "string"
|
|
4957
5283
|
},
|
|
5284
|
+
"description": "Label read by screen readers when targeting the close button.",
|
|
4958
5285
|
"attribute": "close-aria-label"
|
|
4959
5286
|
},
|
|
4960
5287
|
{
|
|
4961
5288
|
"kind": "field",
|
|
4962
|
-
"name": "openFilterSrText"
|
|
5289
|
+
"name": "openFilterSrText",
|
|
5290
|
+
"type": {
|
|
5291
|
+
"text": "string"
|
|
5292
|
+
},
|
|
5293
|
+
"privacy": "private"
|
|
5294
|
+
},
|
|
5295
|
+
{
|
|
5296
|
+
"kind": "field",
|
|
5297
|
+
"name": "removeFilterSrText",
|
|
5298
|
+
"type": {
|
|
5299
|
+
"text": "string"
|
|
5300
|
+
},
|
|
5301
|
+
"privacy": "private"
|
|
4963
5302
|
},
|
|
4964
5303
|
{
|
|
4965
5304
|
"kind": "field",
|
|
4966
|
-
"name": "
|
|
5305
|
+
"name": "_labelClasses",
|
|
5306
|
+
"privacy": "private",
|
|
5307
|
+
"readonly": true
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
"kind": "field",
|
|
5311
|
+
"name": "_closeClasses",
|
|
5312
|
+
"privacy": "private",
|
|
5313
|
+
"readonly": true
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
"kind": "method",
|
|
5317
|
+
"name": "_onClick",
|
|
5318
|
+
"privacy": "private"
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
"kind": "method",
|
|
5322
|
+
"name": "_onClose",
|
|
5323
|
+
"privacy": "private"
|
|
4967
5324
|
}
|
|
4968
5325
|
],
|
|
4969
5326
|
"events": [
|
|
@@ -4971,13 +5328,15 @@
|
|
|
4971
5328
|
"name": "w-pill-click",
|
|
4972
5329
|
"type": {
|
|
4973
5330
|
"text": "CustomEvent"
|
|
4974
|
-
}
|
|
5331
|
+
},
|
|
5332
|
+
"description": "Fires when the pill itself is clicked."
|
|
4975
5333
|
},
|
|
4976
5334
|
{
|
|
4977
5335
|
"name": "w-pill-close",
|
|
4978
5336
|
"type": {
|
|
4979
5337
|
"text": "CustomEvent"
|
|
4980
|
-
}
|
|
5338
|
+
},
|
|
5339
|
+
"description": "Fires when the pill's close button is clicked."
|
|
4981
5340
|
}
|
|
4982
5341
|
],
|
|
4983
5342
|
"attributes": [
|
|
@@ -4987,6 +5346,7 @@
|
|
|
4987
5346
|
"text": "boolean"
|
|
4988
5347
|
},
|
|
4989
5348
|
"default": "false",
|
|
5349
|
+
"description": "Whether the pill should be removable via a close button.",
|
|
4990
5350
|
"fieldName": "canClose"
|
|
4991
5351
|
},
|
|
4992
5352
|
{
|
|
@@ -4995,6 +5355,7 @@
|
|
|
4995
5355
|
"text": "boolean"
|
|
4996
5356
|
},
|
|
4997
5357
|
"default": "false",
|
|
5358
|
+
"description": "Whether the pill should be rendered as a suggestion.",
|
|
4998
5359
|
"fieldName": "suggestion"
|
|
4999
5360
|
},
|
|
5000
5361
|
{
|
|
@@ -5010,6 +5371,7 @@
|
|
|
5010
5371
|
"type": {
|
|
5011
5372
|
"text": "string"
|
|
5012
5373
|
},
|
|
5374
|
+
"description": "Label read by screen readers when targeting the pill.",
|
|
5013
5375
|
"fieldName": "openAriaLabel"
|
|
5014
5376
|
},
|
|
5015
5377
|
{
|
|
@@ -5025,6 +5387,7 @@
|
|
|
5025
5387
|
"type": {
|
|
5026
5388
|
"text": "string"
|
|
5027
5389
|
},
|
|
5390
|
+
"description": "Label read by screen readers when targeting the close button.",
|
|
5028
5391
|
"fieldName": "closeAriaLabel"
|
|
5029
5392
|
}
|
|
5030
5393
|
],
|