@warp-ds/elements 2.3.0-next.3 → 2.3.0-next.31
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/dist/custom-elements.json +1139 -144
- package/dist/index.d.ts +413 -34
- package/dist/packages/affix/index.js.map +2 -2
- package/dist/packages/affix/react.d.ts +1 -1
- package/dist/packages/alert/index.js.map +2 -2
- package/dist/packages/alert/react.d.ts +1 -1
- package/dist/packages/attention/attention.stories.js +4 -1
- package/dist/packages/attention/index.js +58 -22
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/attention/react.d.ts +1 -1
- package/dist/packages/attention/styles.js +1 -1
- package/dist/packages/badge/index.js.map +2 -2
- package/dist/packages/badge/react.d.ts +1 -1
- package/dist/packages/box/index.js.map +2 -2
- package/dist/packages/box/react.d.ts +1 -1
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/breadcrumbs/react.d.ts +1 -1
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/button.stories.d.ts +4 -4
- package/dist/packages/button/button.stories.js +4 -4
- package/dist/packages/button/button.test.js +30 -1
- package/dist/packages/button/index.d.ts +2 -0
- package/dist/packages/button/index.js +52 -16
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/card/react.d.ts +1 -1
- package/dist/packages/checkbox/checkbox-group.d.ts +10 -0
- package/dist/packages/checkbox/checkbox-group.js +7 -0
- package/dist/packages/checkbox/checkbox-group.js.map +7 -0
- package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.d.ts +2 -2
- package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.js +3 -4
- package/dist/packages/checkbox/checkbox.js.map +7 -0
- package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.stories.d.ts +3 -0
- package/dist/packages/checkbox/checkbox.stories.js +25 -0
- package/dist/packages/checkbox/index.d.ts +2 -0
- package/dist/packages/checkbox/index.js +2 -0
- package/dist/packages/checkbox/react.d.ts +7 -0
- package/dist/packages/{rip-and-tear-checkbox → checkbox}/react.js +5 -0
- package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
- package/dist/packages/combobox/combobox.stories.d.ts +1 -0
- package/dist/packages/combobox/combobox.stories.js +29 -3
- package/dist/packages/combobox/index.d.ts +7 -1
- package/dist/packages/combobox/index.js +20 -19
- package/dist/packages/combobox/index.js.map +4 -4
- package/dist/packages/combobox/react.d.ts +1 -1
- package/dist/packages/combobox/styles.js +2 -1
- package/dist/packages/datepicker/datepicker.d.ts +1 -0
- package/dist/packages/datepicker/datepicker.js +35 -35
- package/dist/packages/datepicker/datepicker.js.map +3 -3
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.test.js +27 -0
- package/dist/packages/datepicker/react.d.ts +1 -1
- package/dist/packages/{dead-toggle → deadtoggle}/index.js +2 -3
- package/dist/packages/deadtoggle/index.js.map +7 -0
- package/dist/packages/{dead-toggle → deadtoggle}/react.d.ts +1 -1
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/expandable/react.d.ts +1 -1
- package/dist/packages/link/index.d.ts +2 -8
- package/dist/packages/link/index.js +46 -10
- package/dist/packages/link/index.js.map +4 -4
- package/dist/packages/link/link.react.stories.d.ts +6 -3
- package/dist/packages/link/link.react.stories.js +27 -10
- package/dist/packages/link/link.stories.d.ts +5 -2
- package/dist/packages/link/link.stories.js +27 -10
- package/dist/packages/link/react.d.ts +1 -1
- package/dist/packages/link/styles.js +39 -3
- package/dist/packages/modal/index.js.map +2 -2
- package/dist/packages/modal/modal-header.js.map +2 -2
- package/dist/packages/modal/modal.stories.d.ts +3 -3
- package/dist/packages/modal/modal.stories.js +32 -32
- package/dist/packages/modal/react.d.ts +1 -1
- package/dist/packages/pageindicator/react.d.ts +1 -1
- package/dist/packages/pagination/index.js.map +2 -2
- package/dist/packages/pagination/react.d.ts +1 -1
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/pill/react.d.ts +1 -1
- package/dist/packages/radio/index.d.ts +2 -0
- package/dist/packages/radio/index.js +2 -0
- package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.js.map +1 -1
- package/dist/packages/{rip-and-tear-radio → radio}/radio-group.js +7 -8
- package/dist/packages/radio/radio-group.js.map +7 -0
- package/dist/packages/{rip-and-tear-radio → radio}/radio.js +3 -4
- package/dist/packages/radio/radio.js.map +7 -0
- package/dist/packages/radio/radio.stories.d.ts +15 -0
- package/dist/packages/radio/radio.stories.js +3702 -0
- package/dist/packages/radio/radio.stories.js.map +7 -0
- package/dist/packages/{rip-and-tear-radio → radio}/react.d.ts +2 -2
- package/dist/packages/select/index.d.ts +26 -5
- package/dist/packages/select/index.js +17 -16
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/select/react.d.ts +1 -1
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.js +3 -4
- package/dist/packages/select/select.test.js +30 -0
- package/dist/packages/slider/locales/da/messages.mjs +1 -0
- package/dist/packages/slider/locales/en/messages.mjs +1 -0
- package/dist/packages/slider/locales/fi/messages.mjs +1 -0
- package/dist/packages/slider/locales/nb/messages.mjs +1 -0
- package/dist/packages/slider/locales/sv/messages.mjs +1 -0
- package/dist/packages/slider/react.d.ts +2 -2
- package/dist/packages/slider/slider-thumb.d.ts +13 -7
- package/dist/packages/slider/slider-thumb.js +92 -49
- package/dist/packages/slider/slider-thumb.js.map +4 -4
- package/dist/packages/slider/slider.d.ts +12 -3
- package/dist/packages/slider/slider.js +109 -31
- package/dist/packages/slider/slider.js.map +4 -4
- package/dist/packages/slider/slider.react.stories.d.ts +1 -0
- package/dist/packages/slider/slider.react.stories.js +22 -0
- package/dist/packages/slider/slider.stories.d.ts +3 -0
- package/dist/packages/slider/slider.stories.js +240 -33
- package/dist/packages/slider/slider.test.js +28 -0
- package/dist/packages/slider/styles/w-slider-thumb.styles.js +24 -16
- package/dist/packages/slider/styles/w-slider.styles.js +65 -18
- package/dist/packages/{steps → stepindicator}/index.d.ts +3 -2
- package/dist/packages/{steps → stepindicator}/index.js +8 -8
- package/dist/packages/stepindicator/index.js.map +7 -0
- package/dist/packages/stepindicator/locales/da/messages.d.mts +1 -0
- package/dist/packages/stepindicator/locales/en/messages.d.mts +1 -0
- package/dist/packages/stepindicator/locales/fi/messages.d.mts +1 -0
- package/dist/packages/stepindicator/locales/nb/messages.d.mts +1 -0
- package/dist/packages/stepindicator/locales/sv/messages.d.mts +1 -0
- package/dist/packages/stepindicator/react.d.ts +3 -0
- package/dist/packages/{steps → stepindicator}/react.js +2 -2
- package/dist/packages/{steps/steps.react.stories.d.ts → stepindicator/stepindicator.react.stories.d.ts} +4 -4
- package/dist/packages/{steps/steps.react.stories.js → stepindicator/stepindicator.react.stories.js} +11 -11
- package/dist/packages/{steps/steps.stories.js → stepindicator/stepindicator.stories.js} +16 -16
- package/dist/packages/switch/index.d.ts +10 -2
- package/dist/packages/switch/index.js +7 -6
- package/dist/packages/switch/index.js.map +4 -4
- package/dist/packages/switch/react.d.ts +1 -1
- package/dist/packages/switch/styles.js +1 -1
- package/dist/packages/switch/switch.react.stories.js +4 -4
- package/dist/packages/switch/switch.stories.js +6 -5
- package/dist/packages/switch/switch.test.d.ts +1 -0
- package/dist/packages/switch/switch.test.js +40 -0
- package/dist/packages/tabs/tab.js +4 -3
- package/dist/packages/tabs/tab.js.map +2 -2
- package/dist/packages/tabs/tabs.js +5 -5
- package/dist/packages/tabs/tabs.js.map +3 -3
- package/dist/packages/tabs/tabs.stories.d.ts +3 -0
- package/dist/packages/tabs/tabs.stories.js +16 -7
- package/dist/packages/textarea/index.d.ts +1 -0
- package/dist/packages/textarea/index.js +1 -0
- package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/da/messages.mjs +1 -0
- package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/en/messages.mjs +1 -0
- package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
- package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
- package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
- package/dist/packages/textarea/react.d.ts +11 -0
- package/dist/packages/textarea/react.js +21 -0
- package/dist/packages/textarea/styles.d.ts +1 -0
- package/dist/packages/textarea/styles.js +2 -0
- package/dist/packages/textarea/textarea.d.ts +49 -0
- package/dist/packages/{rip-and-tear-radio/radio.stories.js → textarea/textarea.js} +35 -214
- package/dist/packages/textarea/textarea.js.map +7 -0
- package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
- package/dist/packages/textarea/textarea.react.stories.js +41 -0
- package/dist/packages/textarea/textarea.stories.d.ts +19 -0
- package/dist/packages/textarea/textarea.stories.js +85 -0
- package/dist/packages/textarea/textarea.test.d.ts +1 -0
- package/dist/packages/textarea/textarea.test.js +68 -0
- package/dist/packages/textfield/index.d.ts +6 -0
- package/dist/packages/textfield/index.js +21 -20
- package/dist/packages/textfield/index.js.map +3 -3
- package/dist/packages/textfield/react.d.ts +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.stories.d.ts +1 -0
- package/dist/packages/textfield/textfield.stories.js +17 -0
- package/dist/packages/toggle-styles.js +2 -3
- package/dist/web-types.json +473 -30
- package/package.json +37 -31
- package/dist/packages/dead-toggle/index.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +0 -11
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-checkbox/index.js +0 -4
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +0 -5
- package/dist/packages/rip-and-tear-radio/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/index.js +0 -6
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +0 -8
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +0 -7
- package/dist/packages/steps/index.js.map +0 -7
- package/dist/packages/steps/react.d.ts +0 -3
- /package/dist/packages/{rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts → checkbox/checkbox.react.stories.d.ts} +0 -0
- /package/dist/packages/{rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js → checkbox/checkbox.react.stories.js} +0 -0
- /package/dist/packages/{rip-and-tear-checkbox → checkbox}/styles.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-checkbox → checkbox}/styles.js +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.react.stories.d.ts +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.react.stories.js +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.stories.d.ts +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.stories.js +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.test.d.ts +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.test.js +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/index.d.ts +0 -0
- /package/dist/packages/{dead-toggle → deadtoggle}/react.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/base-element.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/base-element.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/custom-error-validator.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/custom-error-validator.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/form-associated-element.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/form-associated-element.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/host-styles.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/host-styles.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/invalid.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/invalid.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/math.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/math.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-group.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.js.map +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/radio.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts → radio/radio.react.stories.d.ts} +0 -0
- /package/dist/packages/{rip-and-tear-radio/rip-and-tear-radio.react.stories.js → radio/radio.react.stories.js} +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/react.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/required-validator.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/required-validator.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/slot.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/slot.js +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/watch.d.ts +0 -0
- /package/dist/packages/{rip-and-tear-radio → radio}/watch.js +0 -0
- /package/dist/packages/{steps → slider}/locales/da/messages.d.mts +0 -0
- /package/dist/packages/{steps → slider}/locales/en/messages.d.mts +0 -0
- /package/dist/packages/{steps → slider}/locales/fi/messages.d.mts +0 -0
- /package/dist/packages/{steps → slider}/locales/nb/messages.d.mts +0 -0
- /package/dist/packages/{steps → slider}/locales/sv/messages.d.mts +0 -0
- /package/dist/packages/{steps → stepindicator}/locales/da/messages.mjs +0 -0
- /package/dist/packages/{steps → stepindicator}/locales/en/messages.mjs +0 -0
- /package/dist/packages/{steps → stepindicator}/locales/fi/messages.mjs +0 -0
- /package/dist/packages/{steps → stepindicator}/locales/nb/messages.mjs +0 -0
- /package/dist/packages/{steps → stepindicator}/locales/sv/messages.mjs +0 -0
- /package/dist/packages/{steps/steps.stories.d.ts → stepindicator/stepindicator.stories.d.ts} +0 -0
- /package/dist/packages/{steps → stepindicator}/styles.d.ts +0 -0
- /package/dist/packages/{steps → stepindicator}/styles.js +0 -0
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@warp-ds/elements",
|
|
4
|
-
"version": "2.3.0-next.
|
|
4
|
+
"version": "2.3.0-next.30",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -86,19 +86,16 @@
|
|
|
86
86
|
{
|
|
87
87
|
"name": "variant",
|
|
88
88
|
"value": {
|
|
89
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | '
|
|
89
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'link' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'",
|
|
90
90
|
"default": "'secondary'"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
{ "name": "quiet", "value": { "type": "boolean" } },
|
|
94
93
|
{ "name": "small", "value": { "type": "boolean" } },
|
|
95
94
|
{ "name": "href", "value": { "type": "string" } },
|
|
96
95
|
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
97
96
|
{ "name": "target", "value": { "type": "string" } },
|
|
98
97
|
{ "name": "rel", "value": { "type": "string" } },
|
|
99
|
-
{ "name": "full-width", "value": { "type": "boolean" } }
|
|
100
|
-
{ "name": "button-class", "value": { "type": "string" } },
|
|
101
|
-
{ "name": "name", "value": { "type": "string" } }
|
|
98
|
+
{ "name": "full-width", "value": { "type": "boolean" } }
|
|
102
99
|
],
|
|
103
100
|
"events": [],
|
|
104
101
|
"js": {
|
|
@@ -106,18 +103,14 @@
|
|
|
106
103
|
{ "name": "autofocus", "type": "boolean" },
|
|
107
104
|
{
|
|
108
105
|
"name": "variant",
|
|
109
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | '
|
|
106
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'link' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
110
107
|
},
|
|
111
|
-
{ "name": "quiet", "type": "boolean" },
|
|
112
108
|
{ "name": "small", "type": "boolean" },
|
|
113
109
|
{ "name": "href", "type": "string" },
|
|
114
110
|
{ "name": "disabled", "type": "boolean" },
|
|
115
111
|
{ "name": "target", "type": "string" },
|
|
116
112
|
{ "name": "rel", "type": "string" },
|
|
117
|
-
{ "name": "fullWidth", "type": "boolean" }
|
|
118
|
-
{ "name": "buttonClass", "type": "string" },
|
|
119
|
-
{ "name": "name", "type": "string" },
|
|
120
|
-
{ "name": "classes", "type": "string" }
|
|
113
|
+
{ "name": "fullWidth", "type": "boolean" }
|
|
121
114
|
],
|
|
122
115
|
"events": []
|
|
123
116
|
}
|
|
@@ -138,7 +131,7 @@
|
|
|
138
131
|
{
|
|
139
132
|
"name": "variant",
|
|
140
133
|
"value": {
|
|
141
|
-
"type": "'negative' | 'primary' | 'secondary' | 'utility' | '
|
|
134
|
+
"type": "'negative' | 'primary' | 'secondary' | 'utility' | 'link' | 'pill'",
|
|
142
135
|
"default": "'secondary'"
|
|
143
136
|
}
|
|
144
137
|
},
|
|
@@ -160,7 +153,7 @@
|
|
|
160
153
|
{ "name": "autofocus", "type": "boolean" },
|
|
161
154
|
{
|
|
162
155
|
"name": "variant",
|
|
163
|
-
"type": "'negative' | 'primary' | 'secondary' | 'utility' | '
|
|
156
|
+
"type": "'negative' | 'primary' | 'secondary' | 'utility' | 'link' | 'pill'"
|
|
164
157
|
},
|
|
165
158
|
{ "name": "quiet", "type": "boolean" },
|
|
166
159
|
{ "name": "small", "type": "boolean" },
|
|
@@ -464,22 +457,32 @@
|
|
|
464
457
|
"attributes": [
|
|
465
458
|
{
|
|
466
459
|
"name": "auto-focus",
|
|
460
|
+
"description": "Whether the element should receive focus on render.",
|
|
461
|
+
"value": { "type": "boolean" }
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "autofocus",
|
|
467
465
|
"description": "Whether the element should receive focus on render",
|
|
468
466
|
"value": { "type": "boolean" }
|
|
469
467
|
},
|
|
468
|
+
{
|
|
469
|
+
"name": "help-text",
|
|
470
|
+
"description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
|
|
471
|
+
"value": { "type": "string" }
|
|
472
|
+
},
|
|
470
473
|
{
|
|
471
474
|
"name": "invalid",
|
|
472
|
-
"description": "Renders the field in an invalid state.
|
|
475
|
+
"description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
|
|
473
476
|
"value": { "type": "boolean" }
|
|
474
477
|
},
|
|
475
478
|
{
|
|
476
479
|
"name": "always",
|
|
477
|
-
"description": "Whether to always show a hint",
|
|
480
|
+
"description": "Whether to always show a hint.",
|
|
478
481
|
"value": { "type": "boolean" }
|
|
479
482
|
},
|
|
480
483
|
{
|
|
481
484
|
"name": "hint",
|
|
482
|
-
"description": "The content displayed as the help text",
|
|
485
|
+
"description": "The content displayed as the help text.",
|
|
483
486
|
"value": { "type": "string" }
|
|
484
487
|
},
|
|
485
488
|
{
|
|
@@ -502,6 +505,11 @@
|
|
|
502
505
|
"description": "Renders the field in a readonly state.",
|
|
503
506
|
"value": { "type": "boolean" }
|
|
504
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"name": "readonly",
|
|
510
|
+
"description": "Renders the field in a readonly state.",
|
|
511
|
+
"value": { "type": "boolean" }
|
|
512
|
+
},
|
|
505
513
|
{ "name": "name", "value": { "type": "string" } },
|
|
506
514
|
{ "name": "value", "value": { "type": "string" } }
|
|
507
515
|
],
|
|
@@ -510,22 +518,32 @@
|
|
|
510
518
|
"properties": [
|
|
511
519
|
{
|
|
512
520
|
"name": "autoFocus",
|
|
521
|
+
"description": "Whether the element should receive focus on render.",
|
|
522
|
+
"type": "boolean"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "autofocus",
|
|
513
526
|
"description": "Whether the element should receive focus on render",
|
|
514
527
|
"type": "boolean"
|
|
515
528
|
},
|
|
529
|
+
{
|
|
530
|
+
"name": "helpText",
|
|
531
|
+
"description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
516
534
|
{
|
|
517
535
|
"name": "invalid",
|
|
518
|
-
"description": "Renders the field in an invalid state.
|
|
536
|
+
"description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
|
|
519
537
|
"type": "boolean"
|
|
520
538
|
},
|
|
521
539
|
{
|
|
522
540
|
"name": "always",
|
|
523
|
-
"description": "Whether to always show a hint",
|
|
541
|
+
"description": "Whether to always show a hint.",
|
|
524
542
|
"type": "boolean"
|
|
525
543
|
},
|
|
526
544
|
{
|
|
527
545
|
"name": "hint",
|
|
528
|
-
"description": "The content displayed as the help text",
|
|
546
|
+
"description": "The content displayed as the help text.",
|
|
529
547
|
"type": "string"
|
|
530
548
|
},
|
|
531
549
|
{
|
|
@@ -548,6 +566,11 @@
|
|
|
548
566
|
"description": "Renders the field in a readonly state.",
|
|
549
567
|
"type": "boolean"
|
|
550
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"name": "readonly",
|
|
571
|
+
"description": "Renders the field in a readonly state.",
|
|
572
|
+
"type": "boolean"
|
|
573
|
+
},
|
|
551
574
|
{ "name": "name", "type": "string" },
|
|
552
575
|
{ "name": "value", "type": "string" }
|
|
553
576
|
],
|
|
@@ -572,13 +595,15 @@
|
|
|
572
595
|
{ "name": "pattern", "value": { "type": "string" } },
|
|
573
596
|
{ "name": "placeholder", "value": { "type": "string" } },
|
|
574
597
|
{ "name": "read-only", "value": { "type": "boolean" } },
|
|
598
|
+
{ "name": "readonly", "value": { "type": "boolean" } },
|
|
575
599
|
{ "name": "required", "value": { "type": "boolean" } },
|
|
576
600
|
{
|
|
577
601
|
"name": "type",
|
|
578
602
|
"value": { "type": "string", "default": "'text'" }
|
|
579
603
|
},
|
|
580
604
|
{ "name": "value", "value": { "type": "string" } },
|
|
581
|
-
{ "name": "name", "value": { "type": "string" } }
|
|
605
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
606
|
+
{ "name": "step", "value": { "type": "number" } }
|
|
582
607
|
],
|
|
583
608
|
"events": [],
|
|
584
609
|
"js": {
|
|
@@ -596,10 +621,12 @@
|
|
|
596
621
|
{ "name": "pattern", "type": "string" },
|
|
597
622
|
{ "name": "placeholder", "type": "string" },
|
|
598
623
|
{ "name": "readOnly", "type": "boolean" },
|
|
624
|
+
{ "name": "readonly", "type": "boolean" },
|
|
599
625
|
{ "name": "required", "type": "boolean" },
|
|
600
626
|
{ "name": "type", "type": "string" },
|
|
601
627
|
{ "name": "value", "type": "string" },
|
|
602
628
|
{ "name": "name", "type": "string" },
|
|
629
|
+
{ "name": "step", "type": "number" },
|
|
603
630
|
{
|
|
604
631
|
"name": "formatter",
|
|
605
632
|
"description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html",
|
|
@@ -1059,6 +1086,339 @@
|
|
|
1059
1086
|
]
|
|
1060
1087
|
}
|
|
1061
1088
|
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "w-radio",
|
|
1091
|
+
"description": "\n---\n",
|
|
1092
|
+
"doc-url": "",
|
|
1093
|
+
"attributes": [
|
|
1094
|
+
{
|
|
1095
|
+
"name": "form",
|
|
1096
|
+
"description": "The string pointing to a form's id.",
|
|
1097
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "value",
|
|
1101
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1102
|
+
"value": { "type": "string" }
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"name": "appearance",
|
|
1106
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1107
|
+
"value": {
|
|
1108
|
+
"type": "'default' | 'button' | 'clickable'",
|
|
1109
|
+
"default": "'default'"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "size",
|
|
1114
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
1115
|
+
"value": {
|
|
1116
|
+
"type": "'small' | 'medium' | 'large'",
|
|
1117
|
+
"default": "'medium'"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "disabled",
|
|
1122
|
+
"description": "Disables the radio.",
|
|
1123
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1126
|
+
"events": [],
|
|
1127
|
+
"js": {
|
|
1128
|
+
"properties": [
|
|
1129
|
+
{ "name": "checked", "type": "boolean" },
|
|
1130
|
+
{
|
|
1131
|
+
"name": "form",
|
|
1132
|
+
"description": "The string pointing to a form's id.",
|
|
1133
|
+
"type": "string | null"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"name": "value",
|
|
1137
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1138
|
+
"type": "string"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"name": "appearance",
|
|
1142
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1143
|
+
"type": "'default' | 'button' | 'clickable'"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "size",
|
|
1147
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
1148
|
+
"type": "'small' | 'medium' | 'large'"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "disabled",
|
|
1152
|
+
"description": "Disables the radio.",
|
|
1153
|
+
"type": "boolean"
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"events": []
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "w-radio-group",
|
|
1161
|
+
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio group.\n\n### **Slots:**\n - **label** - Alternative to the `label` attribute should you need custom HTML.",
|
|
1162
|
+
"doc-url": "",
|
|
1163
|
+
"attributes": [
|
|
1164
|
+
{
|
|
1165
|
+
"name": "label",
|
|
1166
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1167
|
+
"value": { "type": "string", "default": "''" }
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "hint",
|
|
1171
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
1172
|
+
"value": { "type": "string", "default": "''" }
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"name": "name",
|
|
1176
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
1177
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "disabled",
|
|
1181
|
+
"description": "Disables the radio group and all child radios.",
|
|
1182
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "orientation",
|
|
1186
|
+
"description": "The orientation in which to show radio items.",
|
|
1187
|
+
"value": {
|
|
1188
|
+
"type": "'horizontal' | 'vertical'",
|
|
1189
|
+
"default": "'vertical'"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "value",
|
|
1194
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1195
|
+
"value": { "type": "string | null" }
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "size",
|
|
1199
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
1200
|
+
"value": {
|
|
1201
|
+
"type": "'small' | 'medium' | 'large'",
|
|
1202
|
+
"default": "'medium'"
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "required",
|
|
1207
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
1208
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"name": "with-label",
|
|
1212
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
1213
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "with-hint",
|
|
1217
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
1218
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
"slots": [
|
|
1222
|
+
{
|
|
1223
|
+
"name": "label",
|
|
1224
|
+
"description": "Alternative to the `label` attribute should you need custom HTML."
|
|
1225
|
+
}
|
|
1226
|
+
],
|
|
1227
|
+
"events": [
|
|
1228
|
+
{ "name": "input", "type": "InputEvent" },
|
|
1229
|
+
{ "name": "change", "type": "Event" }
|
|
1230
|
+
],
|
|
1231
|
+
"js": {
|
|
1232
|
+
"properties": [
|
|
1233
|
+
{ "name": "hasRadioButtons", "type": "boolean" },
|
|
1234
|
+
{ "name": "defaultSlot", "type": "HTMLSlotElement" },
|
|
1235
|
+
{
|
|
1236
|
+
"name": "label",
|
|
1237
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1238
|
+
"type": "string"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"name": "hint",
|
|
1242
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
1243
|
+
"type": "string"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "name",
|
|
1247
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
1248
|
+
"type": "string | null"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "disabled",
|
|
1252
|
+
"description": "Disables the radio group and all child radios.",
|
|
1253
|
+
"type": "boolean"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"name": "orientation",
|
|
1257
|
+
"description": "The orientation in which to show radio items.",
|
|
1258
|
+
"type": "'horizontal' | 'vertical'"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"name": "value",
|
|
1262
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data."
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "defaultValue",
|
|
1266
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1267
|
+
"type": "string | null"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "size",
|
|
1271
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
1272
|
+
"type": "'small' | 'medium' | 'large'"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "required",
|
|
1276
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
1277
|
+
"type": "boolean"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "withLabel",
|
|
1281
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
1282
|
+
"type": "boolean"
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "withHint",
|
|
1286
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
1287
|
+
"type": "boolean"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "validationTarget",
|
|
1291
|
+
"description": "We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on\nthe first radio element."
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"events": [
|
|
1295
|
+
{ "name": "input", "type": "InputEvent" },
|
|
1296
|
+
{ "name": "change", "type": "Event" }
|
|
1297
|
+
]
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "w-checkbox",
|
|
1302
|
+
"description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.",
|
|
1303
|
+
"doc-url": "",
|
|
1304
|
+
"attributes": [
|
|
1305
|
+
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
1306
|
+
{
|
|
1307
|
+
"name": "name",
|
|
1308
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
1309
|
+
"value": { "type": "string", "default": "''" }
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "value",
|
|
1313
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
1314
|
+
"value": { "type": "string | null" }
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "size",
|
|
1318
|
+
"description": "The checkbox's size.",
|
|
1319
|
+
"value": {
|
|
1320
|
+
"type": "'small' | 'medium' | 'large'",
|
|
1321
|
+
"default": "'medium'"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "disabled",
|
|
1326
|
+
"description": "Disables the checkbox.",
|
|
1327
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"name": "indeterminate",
|
|
1331
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
1332
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "checked",
|
|
1336
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1337
|
+
"value": { "type": "boolean" }
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "form",
|
|
1341
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1342
|
+
"value": { "type": "null", "default": "null" }
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "required",
|
|
1346
|
+
"description": "Makes the checkbox a required field.",
|
|
1347
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "hint",
|
|
1351
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
1352
|
+
"value": { "type": "string", "default": "''" }
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
"events": [{ "name": "change", "type": "Event" }],
|
|
1356
|
+
"js": {
|
|
1357
|
+
"properties": [
|
|
1358
|
+
{ "name": "input", "type": "HTMLInputElement" },
|
|
1359
|
+
{ "name": "title", "type": "string" },
|
|
1360
|
+
{
|
|
1361
|
+
"name": "name",
|
|
1362
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
1363
|
+
"type": "string"
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"name": "value",
|
|
1367
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
1368
|
+
"type": "string | null"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "size",
|
|
1372
|
+
"description": "The checkbox's size.",
|
|
1373
|
+
"type": "'small' | 'medium' | 'large'"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "disabled",
|
|
1377
|
+
"description": "Disables the checkbox.",
|
|
1378
|
+
"type": "boolean"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "indeterminate",
|
|
1382
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
1383
|
+
"type": "boolean"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "checked",
|
|
1387
|
+
"description": "Draws the checkbox in a checked state.",
|
|
1388
|
+
"type": "boolean"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "defaultChecked",
|
|
1392
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1393
|
+
"type": "boolean"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "form",
|
|
1397
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1398
|
+
"type": "null"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "required",
|
|
1402
|
+
"description": "Makes the checkbox a required field.",
|
|
1403
|
+
"type": "boolean"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"name": "hint",
|
|
1407
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
1408
|
+
"type": "string"
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
"events": [{ "name": "change", "type": "Event" }]
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "w-checkbox-group",
|
|
1416
|
+
"description": "\n---\n",
|
|
1417
|
+
"doc-url": "",
|
|
1418
|
+
"attributes": [],
|
|
1419
|
+
"events": [],
|
|
1420
|
+
"js": { "properties": [], "events": [] }
|
|
1421
|
+
},
|
|
1062
1422
|
{
|
|
1063
1423
|
"name": "w-slider-thumb",
|
|
1064
1424
|
"description": "Component to place inside a `<w-slider>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)\n---\n\n\n### **Events:**\n - **slidervalidity**",
|
|
@@ -1069,7 +1429,11 @@
|
|
|
1069
1429
|
{ "name": "label", "value": { "type": "string" } },
|
|
1070
1430
|
{ "name": "name", "value": { "type": "string" } },
|
|
1071
1431
|
{ "name": "value", "value": { "type": "string" } },
|
|
1072
|
-
{ "name": "disabled", "value": { "type": "boolean" } }
|
|
1432
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
1433
|
+
{
|
|
1434
|
+
"name": "invalid",
|
|
1435
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1436
|
+
}
|
|
1073
1437
|
],
|
|
1074
1438
|
"events": [{ "name": "slidervalidity", "type": "CustomEvent" }],
|
|
1075
1439
|
"js": {
|
|
@@ -1080,6 +1444,12 @@
|
|
|
1080
1444
|
{ "name": "name", "type": "string" },
|
|
1081
1445
|
{ "name": "value", "type": "string" },
|
|
1082
1446
|
{ "name": "disabled", "type": "boolean" },
|
|
1447
|
+
{ "name": "invalid", "type": "boolean" },
|
|
1448
|
+
{
|
|
1449
|
+
"name": "allowValuesOutsideRange",
|
|
1450
|
+
"description": "Set by `<w-slider>`",
|
|
1451
|
+
"type": "boolean"
|
|
1452
|
+
},
|
|
1083
1453
|
{
|
|
1084
1454
|
"name": "markers",
|
|
1085
1455
|
"description": "Set by `<w-slider>`",
|
|
@@ -1113,10 +1483,20 @@
|
|
|
1113
1483
|
{
|
|
1114
1484
|
"name": "formatter",
|
|
1115
1485
|
"description": "JS hook to help you format the numeric value how you want.",
|
|
1116
|
-
"type": "(value: string) => string"
|
|
1486
|
+
"type": "(value: string, type: 'from' | 'to') => string"
|
|
1117
1487
|
},
|
|
1118
1488
|
{ "name": "range", "type": "HTMLInputElement" },
|
|
1119
|
-
{ "name": "textfield", "type": "WarpTextField" }
|
|
1489
|
+
{ "name": "textfield", "type": "WarpTextField" },
|
|
1490
|
+
{ "name": "boundaryValue", "type": "string" },
|
|
1491
|
+
{
|
|
1492
|
+
"name": "textFieldDisplayValue",
|
|
1493
|
+
"description": "Value to display in the textfield (shows boundary when focused on empty value)"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "tooltipDisplayValue",
|
|
1497
|
+
"description": "Value to display in the tooltip",
|
|
1498
|
+
"type": "string | number"
|
|
1499
|
+
}
|
|
1120
1500
|
],
|
|
1121
1501
|
"events": [{ "name": "slidervalidity", "type": "CustomEvent" }]
|
|
1122
1502
|
}
|
|
@@ -1135,6 +1515,15 @@
|
|
|
1135
1515
|
"name": "disabled",
|
|
1136
1516
|
"value": { "type": "boolean", "default": "false" }
|
|
1137
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "allow-values-outside-range",
|
|
1520
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1521
|
+
},
|
|
1522
|
+
{ "name": "error", "value": { "type": "string", "default": "''" } },
|
|
1523
|
+
{
|
|
1524
|
+
"name": "help-text",
|
|
1525
|
+
"value": { "type": "string", "default": "''" }
|
|
1526
|
+
},
|
|
1138
1527
|
{
|
|
1139
1528
|
"name": "invalid",
|
|
1140
1529
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -1155,7 +1544,7 @@
|
|
|
1155
1544
|
{
|
|
1156
1545
|
"name": "suffix",
|
|
1157
1546
|
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
1158
|
-
"value": { "type": "string" }
|
|
1547
|
+
"value": { "type": "string", "default": "''" }
|
|
1159
1548
|
}
|
|
1160
1549
|
],
|
|
1161
1550
|
"slots": [
|
|
@@ -1189,6 +1578,9 @@
|
|
|
1189
1578
|
"type": "string"
|
|
1190
1579
|
},
|
|
1191
1580
|
{ "name": "disabled", "type": "boolean" },
|
|
1581
|
+
{ "name": "allowValuesOutsideRange", "type": "boolean" },
|
|
1582
|
+
{ "name": "error", "type": "string" },
|
|
1583
|
+
{ "name": "helpText", "type": "string" },
|
|
1192
1584
|
{ "name": "invalid", "type": "boolean" },
|
|
1193
1585
|
{
|
|
1194
1586
|
"name": "required",
|
|
@@ -1211,14 +1603,20 @@
|
|
|
1211
1603
|
{
|
|
1212
1604
|
"name": "formatter",
|
|
1213
1605
|
"description": "Function to format the to- and from labels and value in the slider thumb tooltip.",
|
|
1214
|
-
"type": "(value: string) => string"
|
|
1215
|
-
}
|
|
1606
|
+
"type": "(value: string, type: 'to' | 'from') => string"
|
|
1607
|
+
},
|
|
1608
|
+
{ "name": "_invalidMessage", "type": "string" },
|
|
1609
|
+
{ "name": "_hasInternalError", "type": "boolean" },
|
|
1610
|
+
{ "name": "edgeMin" },
|
|
1611
|
+
{ "name": "edgeMax" },
|
|
1612
|
+
{ "name": "componentHasError", "type": "boolean" },
|
|
1613
|
+
{ "name": "errorText", "type": "string" }
|
|
1216
1614
|
],
|
|
1217
1615
|
"events": []
|
|
1218
1616
|
}
|
|
1219
1617
|
},
|
|
1220
1618
|
{
|
|
1221
|
-
"name": "w-
|
|
1619
|
+
"name": "w-step-indicator",
|
|
1222
1620
|
"description": "Steps are used to show progress through a process or to guide users through a multi-step task.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)\n---\n",
|
|
1223
1621
|
"doc-url": "",
|
|
1224
1622
|
"attributes": [
|
|
@@ -1268,8 +1666,10 @@
|
|
|
1268
1666
|
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
1269
1667
|
"doc-url": "",
|
|
1270
1668
|
"attributes": [
|
|
1669
|
+
{ "name": "name", "value": { "type": "string", "default": "''" } },
|
|
1670
|
+
{ "name": "value", "value": { "type": "string", "default": "''" } },
|
|
1271
1671
|
{
|
|
1272
|
-
"name": "
|
|
1672
|
+
"name": "checked",
|
|
1273
1673
|
"value": { "type": "boolean", "default": "false" }
|
|
1274
1674
|
},
|
|
1275
1675
|
{
|
|
@@ -1280,7 +1680,9 @@
|
|
|
1280
1680
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
1281
1681
|
"js": {
|
|
1282
1682
|
"properties": [
|
|
1283
|
-
{ "name": "
|
|
1683
|
+
{ "name": "name", "type": "string" },
|
|
1684
|
+
{ "name": "value", "type": "string" },
|
|
1685
|
+
{ "name": "checked", "type": "boolean" },
|
|
1284
1686
|
{ "name": "disabled", "type": "boolean" }
|
|
1285
1687
|
],
|
|
1286
1688
|
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
@@ -1342,6 +1744,47 @@
|
|
|
1342
1744
|
],
|
|
1343
1745
|
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
1344
1746
|
}
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "w-textarea",
|
|
1750
|
+
"description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)\n---\n",
|
|
1751
|
+
"doc-url": "",
|
|
1752
|
+
"attributes": [
|
|
1753
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
1754
|
+
{ "name": "invalid", "value": { "type": "boolean" } },
|
|
1755
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
1756
|
+
{ "name": "help-text", "value": { "type": "string" } },
|
|
1757
|
+
{ "name": "maximum-rows", "value": { "type": "number" } },
|
|
1758
|
+
{ "name": "minimum-rows", "value": { "type": "number" } },
|
|
1759
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
1760
|
+
{ "name": "placeholder", "value": { "type": "string" } },
|
|
1761
|
+
{ "name": "read-only", "value": { "type": "boolean" } },
|
|
1762
|
+
{ "name": "readonly", "value": { "type": "boolean" } },
|
|
1763
|
+
{ "name": "required", "value": { "type": "boolean" } },
|
|
1764
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
1765
|
+
{ "name": "optional", "value": { "type": "boolean" } }
|
|
1766
|
+
],
|
|
1767
|
+
"events": [],
|
|
1768
|
+
"js": {
|
|
1769
|
+
"properties": [
|
|
1770
|
+
{ "name": "disabled", "type": "boolean" },
|
|
1771
|
+
{ "name": "invalid", "type": "boolean" },
|
|
1772
|
+
{ "name": "label", "type": "string" },
|
|
1773
|
+
{ "name": "helpText", "type": "string" },
|
|
1774
|
+
{ "name": "maxRows", "type": "number" },
|
|
1775
|
+
{ "name": "minRows", "type": "number" },
|
|
1776
|
+
{ "name": "name", "type": "string" },
|
|
1777
|
+
{ "name": "placeholder", "type": "string" },
|
|
1778
|
+
{ "name": "readOnly", "type": "boolean" },
|
|
1779
|
+
{ "name": "readonly", "type": "boolean" },
|
|
1780
|
+
{ "name": "required", "type": "boolean" },
|
|
1781
|
+
{ "name": "value", "type": "string" },
|
|
1782
|
+
{ "name": "optional", "type": "boolean" },
|
|
1783
|
+
{ "name": "minHeight" },
|
|
1784
|
+
{ "name": "maxHeight" }
|
|
1785
|
+
],
|
|
1786
|
+
"events": []
|
|
1787
|
+
}
|
|
1345
1788
|
}
|
|
1346
1789
|
]
|
|
1347
1790
|
},
|