@warp-ds/elements 2.5.0-next.1 → 2.5.0-next.2
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 +80 -2535
- package/dist/index.d.ts +51 -1279
- package/dist/packages/icon/icon.d.ts +0 -5
- package/dist/packages/icon/icon.js +24 -98
- package/dist/packages/icon/icon.js.map +7 -0
- package/dist/web-types.json +36 -683
- package/package.json +12 -60
- package/dist/packages/checkbox/checkbox.d.ts +0 -66
- package/dist/packages/checkbox/checkbox.js +0 -2591
- package/dist/packages/checkbox/checkbox.js.map +0 -7
- package/dist/packages/checkbox/checkbox.react.stories.d.ts +0 -12
- package/dist/packages/checkbox/checkbox.react.stories.js +0 -10
- package/dist/packages/checkbox/checkbox.stories.d.ts +0 -12
- package/dist/packages/checkbox/checkbox.stories.js +0 -26
- package/dist/packages/checkbox/react.d.ts +0 -5
- package/dist/packages/checkbox/react.js +0 -15
- package/dist/packages/checkbox/styles.d.ts +0 -0
- package/dist/packages/checkbox/styles.js +0 -0
- package/dist/packages/checkbox-group/checkbox-group.d.ts +0 -10
- package/dist/packages/checkbox-group/checkbox-group.js +0 -7
- package/dist/packages/checkbox-group/checkbox-group.js.map +0 -7
- package/dist/packages/checkbox-group/react.d.ts +0 -2
- package/dist/packages/checkbox-group/react.js +0 -11
- package/dist/packages/dead-toggle/dead-toggle.d.ts +0 -17
- package/dist/packages/dead-toggle/dead-toggle.js +0 -2547
- package/dist/packages/dead-toggle/dead-toggle.js.map +0 -7
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +0 -15
- package/dist/packages/dead-toggle/dead-toggle.react.stories.js +0 -34
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +0 -14
- package/dist/packages/dead-toggle/dead-toggle.stories.js +0 -45
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +0 -1
- package/dist/packages/dead-toggle/dead-toggle.test.js +0 -9
- package/dist/packages/dead-toggle/react.d.ts +0 -2
- package/dist/packages/dead-toggle/react.js +0 -11
- package/dist/packages/pagination/locales/da/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/da/messages.mjs +0 -1
- package/dist/packages/pagination/locales/en/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/en/messages.mjs +0 -1
- package/dist/packages/pagination/locales/fi/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/fi/messages.mjs +0 -1
- package/dist/packages/pagination/locales/nb/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/nb/messages.mjs +0 -1
- package/dist/packages/pagination/locales/sv/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/sv/messages.mjs +0 -1
- package/dist/packages/pagination/pagination.d.ts +0 -32
- package/dist/packages/pagination/pagination.js +0 -2500
- package/dist/packages/pagination/pagination.js.map +0 -7
- package/dist/packages/pagination/pagination.react.stories.d.ts +0 -21
- package/dist/packages/pagination/pagination.react.stories.js +0 -45
- package/dist/packages/pagination/pagination.stories.d.ts +0 -14
- package/dist/packages/pagination/pagination.stories.js +0 -56
- package/dist/packages/pagination/pagination.test.d.ts +0 -1
- package/dist/packages/pagination/pagination.test.js +0 -76
- package/dist/packages/pagination/react.d.ts +0 -5
- package/dist/packages/pagination/react.js +0 -15
- package/dist/packages/pagination/styles.d.ts +0 -1
- package/dist/packages/pagination/styles.js +0 -2
- package/dist/packages/radio/base-element.d.ts +0 -46
- package/dist/packages/radio/base-element.js +0 -100
- package/dist/packages/radio/custom-error-validator.d.ts +0 -6
- package/dist/packages/radio/custom-error-validator.js +0 -22
- package/dist/packages/radio/form-associated-element.d.ts +0 -103
- package/dist/packages/radio/form-associated-element.js +0 -282
- package/dist/packages/radio/host-styles.d.ts +0 -1
- package/dist/packages/radio/host-styles.js +0 -12
- package/dist/packages/radio/invalid.d.ts +0 -8
- package/dist/packages/radio/invalid.js +0 -5
- package/dist/packages/radio/math.d.ts +0 -1
- package/dist/packages/radio/math.js +0 -4
- package/dist/packages/radio/radio-styles.d.ts +0 -0
- package/dist/packages/radio/radio-styles.js +0 -0
- package/dist/packages/radio/radio.d.ts +0 -38
- package/dist/packages/radio/radio.js +0 -2562
- package/dist/packages/radio/radio.js.map +0 -7
- package/dist/packages/radio/radio.react.stories.d.ts +0 -9
- package/dist/packages/radio/radio.react.stories.js +0 -10
- package/dist/packages/radio/radio.stories.d.ts +0 -15
- package/dist/packages/radio/radio.stories.js +0 -61
- package/dist/packages/radio/react.d.ts +0 -2
- package/dist/packages/radio/react.js +0 -11
- package/dist/packages/radio/required-validator.d.ts +0 -11
- package/dist/packages/radio/required-validator.js +0 -34
- package/dist/packages/radio/slot.d.ts +0 -20
- package/dist/packages/radio/slot.js +0 -71
- package/dist/packages/radio/watch.d.ts +0 -26
- package/dist/packages/radio/watch.js +0 -39
- package/dist/packages/radio-group/radio-group-styles.d.ts +0 -1
- package/dist/packages/radio-group/radio-group-styles.js +0 -59
- package/dist/packages/radio-group/radio-group.d.ts +0 -72
- package/dist/packages/radio-group/radio-group.js +0 -2648
- package/dist/packages/radio-group/radio-group.js.map +0 -7
- package/dist/packages/radio-group/react.d.ts +0 -7
- package/dist/packages/radio-group/react.js +0 -17
- package/dist/packages/slider/Slider.d.ts +0 -2
- package/dist/packages/slider/Slider.js +0 -8
- package/dist/packages/slider/index.d.ts +0 -2
- package/dist/packages/slider/index.js +0 -2
- package/dist/packages/slider/locales/da/messages.d.mts +0 -1
- package/dist/packages/slider/locales/da/messages.mjs +0 -1
- package/dist/packages/slider/locales/en/messages.d.mts +0 -1
- package/dist/packages/slider/locales/en/messages.mjs +0 -1
- package/dist/packages/slider/locales/fi/messages.d.mts +0 -1
- package/dist/packages/slider/locales/fi/messages.mjs +0 -1
- package/dist/packages/slider/locales/nb/messages.d.mts +0 -1
- package/dist/packages/slider/locales/nb/messages.mjs +0 -1
- package/dist/packages/slider/locales/sv/messages.d.mts +0 -1
- package/dist/packages/slider/locales/sv/messages.mjs +0 -1
- package/dist/packages/slider/react.d.ts +0 -3
- package/dist/packages/slider/react.js +0 -13
- package/dist/packages/slider/slider.d.ts +0 -55
- package/dist/packages/slider/slider.js +0 -2632
- package/dist/packages/slider/slider.js.map +0 -7
- package/dist/packages/slider/slider.react.stories.d.ts +0 -19
- package/dist/packages/slider/slider.react.stories.js +0 -140
- package/dist/packages/slider/slider.stories.d.ts +0 -22
- package/dist/packages/slider/slider.stories.js +0 -405
- package/dist/packages/slider/slider.test.d.ts +0 -5
- package/dist/packages/slider/slider.test.js +0 -112
- package/dist/packages/slider/styles/w-slider.styles.d.ts +0 -1
- package/dist/packages/slider/styles/w-slider.styles.js +0 -148
- package/dist/packages/slider/styles.d.ts +0 -1
- package/dist/packages/slider/styles.js +0 -2
- package/dist/packages/slider-thumb/SliderThumb.d.ts +0 -2
- package/dist/packages/slider-thumb/SliderThumb.js +0 -8
- package/dist/packages/slider-thumb/oddbird-css-anchor-positioning.d.ts +0 -2
- package/dist/packages/slider-thumb/oddbird-css-anchor-positioning.js +0 -3
- package/dist/packages/slider-thumb/react.d.ts +0 -6
- package/dist/packages/slider-thumb/react.js +0 -15
- package/dist/packages/slider-thumb/slider-thumb.d.ts +0 -63
- package/dist/packages/slider-thumb/slider-thumb.js +0 -2748
- package/dist/packages/slider-thumb/slider-thumb.js.map +0 -7
- package/dist/packages/slider-thumb/styles/w-slider-thumb.styles.d.ts +0 -1
- package/dist/packages/slider-thumb/styles/w-slider-thumb.styles.js +0 -175
- package/dist/packages/step/locales/da/messages.d.mts +0 -1
- package/dist/packages/step/locales/da/messages.mjs +0 -1
- package/dist/packages/step/locales/en/messages.d.mts +0 -1
- package/dist/packages/step/locales/en/messages.mjs +0 -1
- package/dist/packages/step/locales/fi/messages.d.mts +0 -1
- package/dist/packages/step/locales/fi/messages.mjs +0 -1
- package/dist/packages/step/locales/nb/messages.d.mts +0 -1
- package/dist/packages/step/locales/nb/messages.mjs +0 -1
- package/dist/packages/step/locales/sv/messages.d.mts +0 -1
- package/dist/packages/step/locales/sv/messages.mjs +0 -1
- package/dist/packages/step/react.d.ts +0 -2
- package/dist/packages/step/react.js +0 -11
- package/dist/packages/step/step.d.ts +0 -22
- package/dist/packages/step/step.js +0 -2461
- package/dist/packages/step/step.js.map +0 -7
- package/dist/packages/step-indicator/index.d.ts +0 -2
- package/dist/packages/step-indicator/index.js +0 -2
- package/dist/packages/step-indicator/react.d.ts +0 -3
- package/dist/packages/step-indicator/react.js +0 -13
- package/dist/packages/step-indicator/step-indicator.d.ts +0 -14
- package/dist/packages/step-indicator/step-indicator.js +0 -2445
- package/dist/packages/step-indicator/step-indicator.js.map +0 -7
- package/dist/packages/step-indicator/stepindicator.react.stories.d.ts +0 -15
- package/dist/packages/step-indicator/stepindicator.react.stories.js +0 -112
- package/dist/packages/step-indicator/stepindicator.stories.d.ts +0 -13
- package/dist/packages/step-indicator/stepindicator.stories.js +0 -173
- package/dist/packages/step-indicator/styles.d.ts +0 -1
- package/dist/packages/step-indicator/styles.js +0 -2
- package/dist/packages/textarea/locales/da/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/da/messages.mjs +0 -1
- package/dist/packages/textarea/locales/en/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/en/messages.mjs +0 -1
- package/dist/packages/textarea/locales/fi/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/fi/messages.mjs +0 -1
- package/dist/packages/textarea/locales/nb/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/nb/messages.mjs +0 -1
- package/dist/packages/textarea/locales/sv/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/sv/messages.mjs +0 -1
- package/dist/packages/textarea/react.d.ts +0 -11
- package/dist/packages/textarea/react.js +0 -21
- package/dist/packages/textarea/styles.d.ts +0 -1
- package/dist/packages/textarea/styles.js +0 -2
- package/dist/packages/textarea/textarea.d.ts +0 -49
- package/dist/packages/textarea/textarea.js +0 -2475
- package/dist/packages/textarea/textarea.js.map +0 -7
- package/dist/packages/textarea/textarea.react.stories.d.ts +0 -33
- package/dist/packages/textarea/textarea.react.stories.js +0 -41
- package/dist/packages/textarea/textarea.stories.d.ts +0 -19
- package/dist/packages/textarea/textarea.stories.js +0 -85
- package/dist/packages/textarea/textarea.test.d.ts +0 -1
- package/dist/packages/textarea/textarea.test.js +0 -68
- package/dist/packages/toggle-styles.d.ts +0 -1
- package/dist/packages/toggle-styles.js +0 -108
package/dist/index.d.ts
CHANGED
|
@@ -18,21 +18,11 @@ import type { WarpToastContainer } from "./packages/toast-container/toast-contai
|
|
|
18
18
|
import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
19
19
|
import type { WarpSwitch } from "./packages/switch/switch.ts";
|
|
20
20
|
import type { WarpCombobox } from "./packages/combobox/combobox.ts";
|
|
21
|
-
import type { WarpDeadToggle } from "./packages/dead-toggle/dead-toggle.ts";
|
|
22
21
|
import type { WarpPageIndicator } from "./packages/page-indicator/page-indicator.ts";
|
|
23
|
-
import type { WarpPagination } from "./packages/pagination/pagination.ts";
|
|
24
|
-
import type { WRadio } from "./packages/radio/radio.ts";
|
|
25
|
-
import type { WRadioGroup } from "./packages/radio-group/radio-group.ts";
|
|
26
|
-
import type { WCheckbox } from "./packages/checkbox/checkbox.ts";
|
|
27
|
-
import type { WCheckboxGroup } from "./packages/checkbox-group/checkbox-group.ts";
|
|
28
|
-
import type { WarpSliderThumb } from "./packages/slider-thumb/slider-thumb.ts";
|
|
29
|
-
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
30
|
-
import type { WarpStep } from "./packages/step/step.ts";
|
|
31
|
-
import type { WarpStepIndicator } from "./packages/step-indicator/step-indicator.ts";
|
|
32
22
|
import type { WarpTab } from "./packages/tab/tab.ts";
|
|
33
23
|
import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
|
|
34
24
|
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
35
|
-
import type {
|
|
25
|
+
import type { WIcon } from "./packages/icon/icon.ts";
|
|
36
26
|
|
|
37
27
|
/**
|
|
38
28
|
* This type can be used to create scoped tags for your components.
|
|
@@ -1170,37 +1160,6 @@ export type WarpComboboxSolidJsProps = {
|
|
|
1170
1160
|
textContent?: string | number;
|
|
1171
1161
|
};
|
|
1172
1162
|
|
|
1173
|
-
export type WarpDeadToggleProps = {
|
|
1174
|
-
/** */
|
|
1175
|
-
type?: WarpDeadToggle["type"];
|
|
1176
|
-
/** */
|
|
1177
|
-
checked?: WarpDeadToggle["checked"];
|
|
1178
|
-
/** */
|
|
1179
|
-
indeterminate?: WarpDeadToggle["indeterminate"];
|
|
1180
|
-
/** */
|
|
1181
|
-
invalid?: WarpDeadToggle["invalid"];
|
|
1182
|
-
/** */
|
|
1183
|
-
disabled?: WarpDeadToggle["disabled"];
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
export type WarpDeadToggleSolidJsProps = {
|
|
1187
|
-
/** */
|
|
1188
|
-
"prop:type"?: WarpDeadToggle["type"];
|
|
1189
|
-
/** */
|
|
1190
|
-
"prop:checked"?: WarpDeadToggle["checked"];
|
|
1191
|
-
/** */
|
|
1192
|
-
"prop:indeterminate"?: WarpDeadToggle["indeterminate"];
|
|
1193
|
-
/** */
|
|
1194
|
-
"prop:invalid"?: WarpDeadToggle["invalid"];
|
|
1195
|
-
/** */
|
|
1196
|
-
"prop:disabled"?: WarpDeadToggle["disabled"];
|
|
1197
|
-
|
|
1198
|
-
/** Set the innerHTML of the element */
|
|
1199
|
-
innerHTML?: string;
|
|
1200
|
-
/** Set the textContent of the element */
|
|
1201
|
-
textContent?: string | number;
|
|
1202
|
-
};
|
|
1203
|
-
|
|
1204
1163
|
export type WarpPageIndicatorProps = {
|
|
1205
1164
|
/** Currently selected page (1-based index, clamped to valid range) */
|
|
1206
1165
|
"selected-page"?: WarpPageIndicator["selectedPage"];
|
|
@@ -1228,461 +1187,6 @@ export type WarpPageIndicatorSolidJsProps = {
|
|
|
1228
1187
|
textContent?: string | number;
|
|
1229
1188
|
};
|
|
1230
1189
|
|
|
1231
|
-
export type WarpPaginationProps = {
|
|
1232
|
-
/** */
|
|
1233
|
-
"base-url"?: WarpPagination["baseUrl"];
|
|
1234
|
-
/** */
|
|
1235
|
-
baseUrl?: WarpPagination["baseUrl"];
|
|
1236
|
-
/** */
|
|
1237
|
-
pages?: WarpPagination["pages"];
|
|
1238
|
-
/** */
|
|
1239
|
-
"current-page"?: WarpPagination["currentPageNumber"];
|
|
1240
|
-
/** */
|
|
1241
|
-
currentPageNumber?: WarpPagination["currentPageNumber"];
|
|
1242
|
-
/** */
|
|
1243
|
-
"visible-pages"?: WarpPagination["visiblePages"];
|
|
1244
|
-
/** */
|
|
1245
|
-
visiblePages?: WarpPagination["visiblePages"];
|
|
1246
|
-
|
|
1247
|
-
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
1248
|
-
"onpage-click"?: (e: CustomEvent) => void;
|
|
1249
|
-
};
|
|
1250
|
-
|
|
1251
|
-
export type WarpPaginationSolidJsProps = {
|
|
1252
|
-
/** */
|
|
1253
|
-
"attr:base-url"?: WarpPagination["baseUrl"];
|
|
1254
|
-
/** */
|
|
1255
|
-
"prop:baseUrl"?: WarpPagination["baseUrl"];
|
|
1256
|
-
/** */
|
|
1257
|
-
"prop:pages"?: WarpPagination["pages"];
|
|
1258
|
-
/** */
|
|
1259
|
-
"attr:current-page"?: WarpPagination["currentPageNumber"];
|
|
1260
|
-
/** */
|
|
1261
|
-
"prop:currentPageNumber"?: WarpPagination["currentPageNumber"];
|
|
1262
|
-
/** */
|
|
1263
|
-
"attr:visible-pages"?: WarpPagination["visiblePages"];
|
|
1264
|
-
/** */
|
|
1265
|
-
"prop:visiblePages"?: WarpPagination["visiblePages"];
|
|
1266
|
-
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
1267
|
-
"on:page-click"?: (e: CustomEvent) => void;
|
|
1268
|
-
|
|
1269
|
-
/** Set the innerHTML of the element */
|
|
1270
|
-
innerHTML?: string;
|
|
1271
|
-
/** Set the textContent of the element */
|
|
1272
|
-
textContent?: string | number;
|
|
1273
|
-
};
|
|
1274
|
-
|
|
1275
|
-
export type WRadioProps = {
|
|
1276
|
-
/** The string pointing to a form's id. */
|
|
1277
|
-
form?: WRadio["form"];
|
|
1278
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1279
|
-
value?: WRadio["value"];
|
|
1280
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1281
|
-
appearance?: WRadio["appearance"];
|
|
1282
|
-
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1283
|
-
attribute can typically be omitted. */
|
|
1284
|
-
size?: WRadio["size"];
|
|
1285
|
-
/** Disables the radio. */
|
|
1286
|
-
disabled?: WRadio["disabled"];
|
|
1287
|
-
/** */
|
|
1288
|
-
checked?: WRadio["checked"];
|
|
1289
|
-
};
|
|
1290
|
-
|
|
1291
|
-
export type WRadioSolidJsProps = {
|
|
1292
|
-
/** The string pointing to a form's id. */
|
|
1293
|
-
"prop:form"?: WRadio["form"];
|
|
1294
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1295
|
-
"prop:value"?: WRadio["value"];
|
|
1296
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1297
|
-
"prop:appearance"?: WRadio["appearance"];
|
|
1298
|
-
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1299
|
-
attribute can typically be omitted. */
|
|
1300
|
-
"prop:size"?: WRadio["size"];
|
|
1301
|
-
/** Disables the radio. */
|
|
1302
|
-
"prop:disabled"?: WRadio["disabled"];
|
|
1303
|
-
/** */
|
|
1304
|
-
"prop:checked"?: WRadio["checked"];
|
|
1305
|
-
|
|
1306
|
-
/** Set the innerHTML of the element */
|
|
1307
|
-
innerHTML?: string;
|
|
1308
|
-
/** Set the textContent of the element */
|
|
1309
|
-
textContent?: string | number;
|
|
1310
|
-
};
|
|
1311
|
-
|
|
1312
|
-
export type WRadioGroupProps = {
|
|
1313
|
-
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1314
|
-
instead. */
|
|
1315
|
-
label?: WRadioGroup["label"];
|
|
1316
|
-
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1317
|
-
hint?: WRadioGroup["hint"];
|
|
1318
|
-
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
1319
|
-
name?: WRadioGroup["name"];
|
|
1320
|
-
/** Disables the radio group and all child radios. */
|
|
1321
|
-
disabled?: WRadioGroup["disabled"];
|
|
1322
|
-
/** The orientation in which to show radio items. */
|
|
1323
|
-
orientation?: WRadioGroup["orientation"];
|
|
1324
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1325
|
-
value?: WRadioGroup["defaultValue"];
|
|
1326
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1327
|
-
defaultValue?: WRadioGroup["defaultValue"];
|
|
1328
|
-
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
1329
|
-
size?: WRadioGroup["size"];
|
|
1330
|
-
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
1331
|
-
required?: WRadioGroup["required"];
|
|
1332
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1333
|
-
"with-label"?: WRadioGroup["withLabel"];
|
|
1334
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1335
|
-
withLabel?: WRadioGroup["withLabel"];
|
|
1336
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1337
|
-
"with-hint"?: WRadioGroup["withHint"];
|
|
1338
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1339
|
-
withHint?: WRadioGroup["withHint"];
|
|
1340
|
-
/** */
|
|
1341
|
-
hasRadioButtons?: WRadioGroup["hasRadioButtons"];
|
|
1342
|
-
/** */
|
|
1343
|
-
defaultSlot?: WRadioGroup["defaultSlot"];
|
|
1344
|
-
|
|
1345
|
-
/** */
|
|
1346
|
-
oninput?: (e: InputEvent) => void;
|
|
1347
|
-
/** */
|
|
1348
|
-
onchange?: (e: Event) => void;
|
|
1349
|
-
};
|
|
1350
|
-
|
|
1351
|
-
export type WRadioGroupSolidJsProps = {
|
|
1352
|
-
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1353
|
-
instead. */
|
|
1354
|
-
"prop:label"?: WRadioGroup["label"];
|
|
1355
|
-
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1356
|
-
"prop:hint"?: WRadioGroup["hint"];
|
|
1357
|
-
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
1358
|
-
"prop:name"?: WRadioGroup["name"];
|
|
1359
|
-
/** Disables the radio group and all child radios. */
|
|
1360
|
-
"prop:disabled"?: WRadioGroup["disabled"];
|
|
1361
|
-
/** The orientation in which to show radio items. */
|
|
1362
|
-
"prop:orientation"?: WRadioGroup["orientation"];
|
|
1363
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1364
|
-
"attr:value"?: WRadioGroup["defaultValue"];
|
|
1365
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1366
|
-
"prop:defaultValue"?: WRadioGroup["defaultValue"];
|
|
1367
|
-
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
1368
|
-
"prop:size"?: WRadioGroup["size"];
|
|
1369
|
-
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
1370
|
-
"prop:required"?: WRadioGroup["required"];
|
|
1371
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1372
|
-
"bool:with-label"?: WRadioGroup["withLabel"];
|
|
1373
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1374
|
-
"prop:withLabel"?: WRadioGroup["withLabel"];
|
|
1375
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1376
|
-
"bool:with-hint"?: WRadioGroup["withHint"];
|
|
1377
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1378
|
-
"prop:withHint"?: WRadioGroup["withHint"];
|
|
1379
|
-
/** */
|
|
1380
|
-
"prop:hasRadioButtons"?: WRadioGroup["hasRadioButtons"];
|
|
1381
|
-
/** */
|
|
1382
|
-
"prop:defaultSlot"?: WRadioGroup["defaultSlot"];
|
|
1383
|
-
/** */
|
|
1384
|
-
"on:input"?: (e: InputEvent) => void;
|
|
1385
|
-
/** */
|
|
1386
|
-
"on:change"?: (e: Event) => void;
|
|
1387
|
-
|
|
1388
|
-
/** Set the innerHTML of the element */
|
|
1389
|
-
innerHTML?: string;
|
|
1390
|
-
/** Set the textContent of the element */
|
|
1391
|
-
textContent?: string | number;
|
|
1392
|
-
};
|
|
1393
|
-
|
|
1394
|
-
export type WCheckboxProps = {
|
|
1395
|
-
/** */
|
|
1396
|
-
title?: WCheckbox["title"];
|
|
1397
|
-
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
1398
|
-
name?: WCheckbox["name"];
|
|
1399
|
-
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
1400
|
-
value?: WCheckbox["value"];
|
|
1401
|
-
/** The checkbox's size. */
|
|
1402
|
-
size?: WCheckbox["size"];
|
|
1403
|
-
/** Disables the checkbox. */
|
|
1404
|
-
disabled?: WCheckbox["disabled"];
|
|
1405
|
-
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1406
|
-
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
1407
|
-
indeterminate?: WCheckbox["indeterminate"];
|
|
1408
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1409
|
-
checked?: WCheckbox["defaultChecked"];
|
|
1410
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1411
|
-
defaultChecked?: WCheckbox["defaultChecked"];
|
|
1412
|
-
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1413
|
-
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1414
|
-
the same document or shadow root for this to work. */
|
|
1415
|
-
form?: WCheckbox["form"];
|
|
1416
|
-
/** Makes the checkbox a required field. */
|
|
1417
|
-
required?: WCheckbox["required"];
|
|
1418
|
-
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1419
|
-
hint?: WCheckbox["hint"];
|
|
1420
|
-
/** */
|
|
1421
|
-
input?: WCheckbox["input"];
|
|
1422
|
-
|
|
1423
|
-
/** */
|
|
1424
|
-
onchange?: (e: Event) => void;
|
|
1425
|
-
};
|
|
1426
|
-
|
|
1427
|
-
export type WCheckboxSolidJsProps = {
|
|
1428
|
-
/** */
|
|
1429
|
-
"prop:title"?: WCheckbox["title"];
|
|
1430
|
-
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
1431
|
-
"prop:name"?: WCheckbox["name"];
|
|
1432
|
-
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
1433
|
-
"prop:value"?: WCheckbox["value"];
|
|
1434
|
-
/** The checkbox's size. */
|
|
1435
|
-
"prop:size"?: WCheckbox["size"];
|
|
1436
|
-
/** Disables the checkbox. */
|
|
1437
|
-
"prop:disabled"?: WCheckbox["disabled"];
|
|
1438
|
-
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1439
|
-
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
1440
|
-
"prop:indeterminate"?: WCheckbox["indeterminate"];
|
|
1441
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1442
|
-
"bool:checked"?: WCheckbox["defaultChecked"];
|
|
1443
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1444
|
-
"prop:defaultChecked"?: WCheckbox["defaultChecked"];
|
|
1445
|
-
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1446
|
-
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1447
|
-
the same document or shadow root for this to work. */
|
|
1448
|
-
"prop:form"?: WCheckbox["form"];
|
|
1449
|
-
/** Makes the checkbox a required field. */
|
|
1450
|
-
"prop:required"?: WCheckbox["required"];
|
|
1451
|
-
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1452
|
-
"prop:hint"?: WCheckbox["hint"];
|
|
1453
|
-
/** */
|
|
1454
|
-
"prop:input"?: WCheckbox["input"];
|
|
1455
|
-
/** */
|
|
1456
|
-
"on:change"?: (e: Event) => void;
|
|
1457
|
-
|
|
1458
|
-
/** Set the innerHTML of the element */
|
|
1459
|
-
innerHTML?: string;
|
|
1460
|
-
/** Set the textContent of the element */
|
|
1461
|
-
textContent?: string | number;
|
|
1462
|
-
};
|
|
1463
|
-
|
|
1464
|
-
export type WCheckboxGroupProps = {};
|
|
1465
|
-
|
|
1466
|
-
export type WCheckboxGroupSolidJsProps = {
|
|
1467
|
-
/** Set the innerHTML of the element */
|
|
1468
|
-
innerHTML?: string;
|
|
1469
|
-
/** Set the textContent of the element */
|
|
1470
|
-
textContent?: string | number;
|
|
1471
|
-
};
|
|
1472
|
-
|
|
1473
|
-
export type WarpSliderThumbProps = {
|
|
1474
|
-
/** */
|
|
1475
|
-
"aria-label"?: WarpSliderThumb["ariaLabel"];
|
|
1476
|
-
/** */
|
|
1477
|
-
ariaLabel?: WarpSliderThumb["ariaLabel"];
|
|
1478
|
-
/** */
|
|
1479
|
-
"aria-description"?: WarpSliderThumb["ariaDescription"];
|
|
1480
|
-
/** */
|
|
1481
|
-
ariaDescription?: WarpSliderThumb["ariaDescription"];
|
|
1482
|
-
/** */
|
|
1483
|
-
label?: WarpSliderThumb["label"];
|
|
1484
|
-
/** */
|
|
1485
|
-
name?: WarpSliderThumb["name"];
|
|
1486
|
-
/** */
|
|
1487
|
-
value?: WarpSliderThumb["value"];
|
|
1488
|
-
/** */
|
|
1489
|
-
disabled?: WarpSliderThumb["disabled"];
|
|
1490
|
-
/** */
|
|
1491
|
-
invalid?: WarpSliderThumb["invalid"];
|
|
1492
|
-
/** Set by `<w-slider>` */
|
|
1493
|
-
allowValuesOutsideRange?: WarpSliderThumb["allowValuesOutsideRange"];
|
|
1494
|
-
/** Set by `<w-slider>` */
|
|
1495
|
-
markers?: WarpSliderThumb["markers"];
|
|
1496
|
-
/** Set by `<w-slider>` */
|
|
1497
|
-
required?: WarpSliderThumb["required"];
|
|
1498
|
-
/** Set by `<w-slider>` */
|
|
1499
|
-
step?: WarpSliderThumb["step"];
|
|
1500
|
-
/** Set by `<w-slider>` */
|
|
1501
|
-
min?: WarpSliderThumb["min"];
|
|
1502
|
-
/** Set by `<w-slider>` */
|
|
1503
|
-
max?: WarpSliderThumb["max"];
|
|
1504
|
-
/** Set by `<w-slider>` */
|
|
1505
|
-
suffix?: WarpSliderThumb["suffix"];
|
|
1506
|
-
/** JS hook to help you format the numeric value how you want. */
|
|
1507
|
-
formatter?: WarpSliderThumb["formatter"];
|
|
1508
|
-
/** */
|
|
1509
|
-
range?: WarpSliderThumb["range"];
|
|
1510
|
-
/** */
|
|
1511
|
-
textfield?: WarpSliderThumb["textfield"];
|
|
1512
|
-
|
|
1513
|
-
/** */
|
|
1514
|
-
onslidervalidity?: (e: CustomEvent) => void;
|
|
1515
|
-
};
|
|
1516
|
-
|
|
1517
|
-
export type WarpSliderThumbSolidJsProps = {
|
|
1518
|
-
/** */
|
|
1519
|
-
"attr:aria-label"?: WarpSliderThumb["ariaLabel"];
|
|
1520
|
-
/** */
|
|
1521
|
-
"prop:ariaLabel"?: WarpSliderThumb["ariaLabel"];
|
|
1522
|
-
/** */
|
|
1523
|
-
"attr:aria-description"?: WarpSliderThumb["ariaDescription"];
|
|
1524
|
-
/** */
|
|
1525
|
-
"prop:ariaDescription"?: WarpSliderThumb["ariaDescription"];
|
|
1526
|
-
/** */
|
|
1527
|
-
"prop:label"?: WarpSliderThumb["label"];
|
|
1528
|
-
/** */
|
|
1529
|
-
"prop:name"?: WarpSliderThumb["name"];
|
|
1530
|
-
/** */
|
|
1531
|
-
"prop:value"?: WarpSliderThumb["value"];
|
|
1532
|
-
/** */
|
|
1533
|
-
"prop:disabled"?: WarpSliderThumb["disabled"];
|
|
1534
|
-
/** */
|
|
1535
|
-
"prop:invalid"?: WarpSliderThumb["invalid"];
|
|
1536
|
-
/** Set by `<w-slider>` */
|
|
1537
|
-
"prop:allowValuesOutsideRange"?: WarpSliderThumb["allowValuesOutsideRange"];
|
|
1538
|
-
/** Set by `<w-slider>` */
|
|
1539
|
-
"prop:markers"?: WarpSliderThumb["markers"];
|
|
1540
|
-
/** Set by `<w-slider>` */
|
|
1541
|
-
"prop:required"?: WarpSliderThumb["required"];
|
|
1542
|
-
/** Set by `<w-slider>` */
|
|
1543
|
-
"prop:step"?: WarpSliderThumb["step"];
|
|
1544
|
-
/** Set by `<w-slider>` */
|
|
1545
|
-
"prop:min"?: WarpSliderThumb["min"];
|
|
1546
|
-
/** Set by `<w-slider>` */
|
|
1547
|
-
"prop:max"?: WarpSliderThumb["max"];
|
|
1548
|
-
/** Set by `<w-slider>` */
|
|
1549
|
-
"prop:suffix"?: WarpSliderThumb["suffix"];
|
|
1550
|
-
/** JS hook to help you format the numeric value how you want. */
|
|
1551
|
-
"prop:formatter"?: WarpSliderThumb["formatter"];
|
|
1552
|
-
/** */
|
|
1553
|
-
"prop:range"?: WarpSliderThumb["range"];
|
|
1554
|
-
/** */
|
|
1555
|
-
"prop:textfield"?: WarpSliderThumb["textfield"];
|
|
1556
|
-
/** */
|
|
1557
|
-
"on:slidervalidity"?: (e: CustomEvent) => void;
|
|
1558
|
-
|
|
1559
|
-
/** Set the innerHTML of the element */
|
|
1560
|
-
innerHTML?: string;
|
|
1561
|
-
/** Set the textContent of the element */
|
|
1562
|
-
textContent?: string | number;
|
|
1563
|
-
};
|
|
1564
|
-
|
|
1565
|
-
export type WarpSliderProps = {
|
|
1566
|
-
/** The slider fieldset label. Required for proper accessibility.
|
|
1567
|
-
|
|
1568
|
-
If you need to display HTML, use the `label` slot instead. */
|
|
1569
|
-
label?: WarpSlider["label"];
|
|
1570
|
-
/** */
|
|
1571
|
-
disabled?: WarpSlider["disabled"];
|
|
1572
|
-
/** */
|
|
1573
|
-
"allow-values-outside-range"?: WarpSlider["allowValuesOutsideRange"];
|
|
1574
|
-
/** */
|
|
1575
|
-
allowValuesOutsideRange?: WarpSlider["allowValuesOutsideRange"];
|
|
1576
|
-
/** */
|
|
1577
|
-
error?: WarpSlider["error"];
|
|
1578
|
-
/** */
|
|
1579
|
-
"help-text"?: WarpSlider["helpText"];
|
|
1580
|
-
/** */
|
|
1581
|
-
helpText?: WarpSlider["helpText"];
|
|
1582
|
-
/** */
|
|
1583
|
-
invalid?: WarpSlider["invalid"];
|
|
1584
|
-
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
1585
|
-
required?: WarpSlider["required"];
|
|
1586
|
-
/** */
|
|
1587
|
-
min?: WarpSlider["min"];
|
|
1588
|
-
/** */
|
|
1589
|
-
max?: WarpSlider["max"];
|
|
1590
|
-
/** Pass a value similar to step to create visual markers at that interval */
|
|
1591
|
-
markers?: WarpSlider["markers"];
|
|
1592
|
-
/** */
|
|
1593
|
-
step?: WarpSlider["step"];
|
|
1594
|
-
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
1595
|
-
suffix?: WarpSlider["suffix"];
|
|
1596
|
-
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
1597
|
-
formatter?: WarpSlider["formatter"];
|
|
1598
|
-
/** */
|
|
1599
|
-
_invalidMessage?: WarpSlider["_invalidMessage"];
|
|
1600
|
-
/** */
|
|
1601
|
-
_hasInternalError?: WarpSlider["_hasInternalError"];
|
|
1602
|
-
};
|
|
1603
|
-
|
|
1604
|
-
export type WarpSliderSolidJsProps = {
|
|
1605
|
-
/** The slider fieldset label. Required for proper accessibility.
|
|
1606
|
-
|
|
1607
|
-
If you need to display HTML, use the `label` slot instead. */
|
|
1608
|
-
"prop:label"?: WarpSlider["label"];
|
|
1609
|
-
/** */
|
|
1610
|
-
"prop:disabled"?: WarpSlider["disabled"];
|
|
1611
|
-
/** */
|
|
1612
|
-
"bool:allow-values-outside-range"?: WarpSlider["allowValuesOutsideRange"];
|
|
1613
|
-
/** */
|
|
1614
|
-
"prop:allowValuesOutsideRange"?: WarpSlider["allowValuesOutsideRange"];
|
|
1615
|
-
/** */
|
|
1616
|
-
"prop:error"?: WarpSlider["error"];
|
|
1617
|
-
/** */
|
|
1618
|
-
"attr:help-text"?: WarpSlider["helpText"];
|
|
1619
|
-
/** */
|
|
1620
|
-
"prop:helpText"?: WarpSlider["helpText"];
|
|
1621
|
-
/** */
|
|
1622
|
-
"prop:invalid"?: WarpSlider["invalid"];
|
|
1623
|
-
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
1624
|
-
"prop:required"?: WarpSlider["required"];
|
|
1625
|
-
/** */
|
|
1626
|
-
"prop:min"?: WarpSlider["min"];
|
|
1627
|
-
/** */
|
|
1628
|
-
"prop:max"?: WarpSlider["max"];
|
|
1629
|
-
/** Pass a value similar to step to create visual markers at that interval */
|
|
1630
|
-
"prop:markers"?: WarpSlider["markers"];
|
|
1631
|
-
/** */
|
|
1632
|
-
"prop:step"?: WarpSlider["step"];
|
|
1633
|
-
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
1634
|
-
"prop:suffix"?: WarpSlider["suffix"];
|
|
1635
|
-
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
1636
|
-
"prop:formatter"?: WarpSlider["formatter"];
|
|
1637
|
-
/** */
|
|
1638
|
-
"prop:_invalidMessage"?: WarpSlider["_invalidMessage"];
|
|
1639
|
-
/** */
|
|
1640
|
-
"prop:_hasInternalError"?: WarpSlider["_hasInternalError"];
|
|
1641
|
-
|
|
1642
|
-
/** Set the innerHTML of the element */
|
|
1643
|
-
innerHTML?: string;
|
|
1644
|
-
/** Set the textContent of the element */
|
|
1645
|
-
textContent?: string | number;
|
|
1646
|
-
};
|
|
1647
|
-
|
|
1648
|
-
export type WarpStepProps = {
|
|
1649
|
-
/** */
|
|
1650
|
-
active?: WarpStep["active"];
|
|
1651
|
-
/** */
|
|
1652
|
-
completed?: WarpStep["completed"];
|
|
1653
|
-
};
|
|
1654
|
-
|
|
1655
|
-
export type WarpStepSolidJsProps = {
|
|
1656
|
-
/** */
|
|
1657
|
-
"prop:active"?: WarpStep["active"];
|
|
1658
|
-
/** */
|
|
1659
|
-
"prop:completed"?: WarpStep["completed"];
|
|
1660
|
-
|
|
1661
|
-
/** Set the innerHTML of the element */
|
|
1662
|
-
innerHTML?: string;
|
|
1663
|
-
/** Set the textContent of the element */
|
|
1664
|
-
textContent?: string | number;
|
|
1665
|
-
};
|
|
1666
|
-
|
|
1667
|
-
export type WarpStepIndicatorProps = {
|
|
1668
|
-
/** */
|
|
1669
|
-
horizontal?: WarpStepIndicator["horizontal"];
|
|
1670
|
-
/** */
|
|
1671
|
-
right?: WarpStepIndicator["right"];
|
|
1672
|
-
};
|
|
1673
|
-
|
|
1674
|
-
export type WarpStepIndicatorSolidJsProps = {
|
|
1675
|
-
/** */
|
|
1676
|
-
"prop:horizontal"?: WarpStepIndicator["horizontal"];
|
|
1677
|
-
/** */
|
|
1678
|
-
"prop:right"?: WarpStepIndicator["right"];
|
|
1679
|
-
|
|
1680
|
-
/** Set the innerHTML of the element */
|
|
1681
|
-
innerHTML?: string;
|
|
1682
|
-
/** Set the textContent of the element */
|
|
1683
|
-
textContent?: string | number;
|
|
1684
|
-
};
|
|
1685
|
-
|
|
1686
1190
|
export type WarpTabProps = {
|
|
1687
1191
|
/** */
|
|
1688
1192
|
for?: WarpTab["for"];
|
|
@@ -1741,86 +1245,22 @@ export type WarpTabsSolidJsProps = {
|
|
|
1741
1245
|
textContent?: string | number;
|
|
1742
1246
|
};
|
|
1743
1247
|
|
|
1744
|
-
export type
|
|
1745
|
-
/**
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
|
|
1749
|
-
/**
|
|
1750
|
-
|
|
1751
|
-
/** */
|
|
1752
|
-
"help-text"?: WarpTextarea["helpText"];
|
|
1753
|
-
/** */
|
|
1754
|
-
helpText?: WarpTextarea["helpText"];
|
|
1755
|
-
/** */
|
|
1756
|
-
"maximum-rows"?: WarpTextarea["maxRows"];
|
|
1757
|
-
/** */
|
|
1758
|
-
maxRows?: WarpTextarea["maxRows"];
|
|
1759
|
-
/** */
|
|
1760
|
-
"minimum-rows"?: WarpTextarea["minRows"];
|
|
1761
|
-
/** */
|
|
1762
|
-
minRows?: WarpTextarea["minRows"];
|
|
1763
|
-
/** */
|
|
1764
|
-
name?: WarpTextarea["name"];
|
|
1765
|
-
/** */
|
|
1766
|
-
placeholder?: WarpTextarea["placeholder"];
|
|
1767
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1768
|
-
"read-only"?: WarpTextarea["readOnly"];
|
|
1769
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1770
|
-
readOnly?: WarpTextarea["readOnly"];
|
|
1771
|
-
/** */
|
|
1772
|
-
readonly?: WarpTextarea["readonly"];
|
|
1773
|
-
/** */
|
|
1774
|
-
required?: WarpTextarea["required"];
|
|
1775
|
-
/** */
|
|
1776
|
-
value?: WarpTextarea["value"];
|
|
1777
|
-
/** */
|
|
1778
|
-
optional?: WarpTextarea["optional"];
|
|
1779
|
-
/** */
|
|
1780
|
-
minHeight?: WarpTextarea["minHeight"];
|
|
1781
|
-
/** */
|
|
1782
|
-
maxHeight?: WarpTextarea["maxHeight"];
|
|
1248
|
+
export type WIconProps = {
|
|
1249
|
+
/** Icon filename (without .svg) */
|
|
1250
|
+
name?: WIcon["name"];
|
|
1251
|
+
/** Size: small, medium, large or pixel value (e.g. "32px") */
|
|
1252
|
+
size?: WIcon["size"];
|
|
1253
|
+
/** Locale used in CDN URL */
|
|
1254
|
+
locale?: WIcon["locale"];
|
|
1783
1255
|
};
|
|
1784
1256
|
|
|
1785
|
-
export type
|
|
1786
|
-
/**
|
|
1787
|
-
"prop:
|
|
1788
|
-
/**
|
|
1789
|
-
"prop:
|
|
1790
|
-
/**
|
|
1791
|
-
"prop:
|
|
1792
|
-
/** */
|
|
1793
|
-
"attr:help-text"?: WarpTextarea["helpText"];
|
|
1794
|
-
/** */
|
|
1795
|
-
"prop:helpText"?: WarpTextarea["helpText"];
|
|
1796
|
-
/** */
|
|
1797
|
-
"attr:maximum-rows"?: WarpTextarea["maxRows"];
|
|
1798
|
-
/** */
|
|
1799
|
-
"prop:maxRows"?: WarpTextarea["maxRows"];
|
|
1800
|
-
/** */
|
|
1801
|
-
"attr:minimum-rows"?: WarpTextarea["minRows"];
|
|
1802
|
-
/** */
|
|
1803
|
-
"prop:minRows"?: WarpTextarea["minRows"];
|
|
1804
|
-
/** */
|
|
1805
|
-
"prop:name"?: WarpTextarea["name"];
|
|
1806
|
-
/** */
|
|
1807
|
-
"prop:placeholder"?: WarpTextarea["placeholder"];
|
|
1808
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1809
|
-
"bool:read-only"?: WarpTextarea["readOnly"];
|
|
1810
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1811
|
-
"prop:readOnly"?: WarpTextarea["readOnly"];
|
|
1812
|
-
/** */
|
|
1813
|
-
"prop:readonly"?: WarpTextarea["readonly"];
|
|
1814
|
-
/** */
|
|
1815
|
-
"prop:required"?: WarpTextarea["required"];
|
|
1816
|
-
/** */
|
|
1817
|
-
"prop:value"?: WarpTextarea["value"];
|
|
1818
|
-
/** */
|
|
1819
|
-
"prop:optional"?: WarpTextarea["optional"];
|
|
1820
|
-
/** */
|
|
1821
|
-
"prop:minHeight"?: WarpTextarea["minHeight"];
|
|
1822
|
-
/** */
|
|
1823
|
-
"prop:maxHeight"?: WarpTextarea["maxHeight"];
|
|
1257
|
+
export type WIconSolidJsProps = {
|
|
1258
|
+
/** Icon filename (without .svg) */
|
|
1259
|
+
"prop:name"?: WIcon["name"];
|
|
1260
|
+
/** Size: small, medium, large or pixel value (e.g. "32px") */
|
|
1261
|
+
"prop:size"?: WIcon["size"];
|
|
1262
|
+
/** Locale used in CDN URL */
|
|
1263
|
+
"prop:locale"?: WIcon["locale"];
|
|
1824
1264
|
|
|
1825
1265
|
/** Set the innerHTML of the element */
|
|
1826
1266
|
innerHTML?: string;
|
|
@@ -2359,347 +1799,51 @@ export type CustomElements = {
|
|
|
2359
1799
|
/**
|
|
2360
1800
|
* A combobox element for text input with selectable options.
|
|
2361
1801
|
*
|
|
2362
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
2363
|
-
*
|
|
2364
|
-
* ## Attributes & Properties
|
|
2365
|
-
*
|
|
2366
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2367
|
-
*
|
|
2368
|
-
* - `options`: The available options to select from
|
|
2369
|
-
* - `label`: Label above input
|
|
2370
|
-
* - `placeholder`: Input placeholder
|
|
2371
|
-
* - `value`: The input value
|
|
2372
|
-
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
2373
|
-
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
2374
|
-
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
2375
|
-
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
2376
|
-
* - `invalid`: Renders the input field in an invalid state
|
|
2377
|
-
* - `help-text`/`helpText`: The content to display as the help text
|
|
2378
|
-
* - `disabled`: Whether the element is disabled
|
|
2379
|
-
* - `required`: Whether the element is required
|
|
2380
|
-
* - `optional`: Whether to show optional text
|
|
2381
|
-
* - `name`: Name attribute for form submission
|
|
2382
|
-
* - `autocomplete`: Autocomplete attribute for the input field
|
|
2383
|
-
*
|
|
2384
|
-
* ## Methods
|
|
2385
|
-
*
|
|
2386
|
-
* Methods that can be called to access component functionality.
|
|
2387
|
-
*
|
|
2388
|
-
* - `resetFormControl() => void`: undefined
|
|
2389
|
-
*/
|
|
2390
|
-
"w-combobox": Partial<
|
|
2391
|
-
WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents
|
|
2392
|
-
>;
|
|
2393
|
-
|
|
2394
|
-
/**
|
|
2395
|
-
* Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
|
|
2396
|
-
*
|
|
2397
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
|
|
2398
|
-
*
|
|
2399
|
-
* ## Attributes & Properties
|
|
2400
|
-
*
|
|
2401
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2402
|
-
*
|
|
2403
|
-
* - `type`: undefined
|
|
2404
|
-
* - `checked`: undefined
|
|
2405
|
-
* - `indeterminate`: undefined
|
|
2406
|
-
* - `invalid`: undefined
|
|
2407
|
-
* - `disabled`: undefined
|
|
2408
|
-
*/
|
|
2409
|
-
"w-dead-toggle": Partial<
|
|
2410
|
-
WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents
|
|
2411
|
-
>;
|
|
2412
|
-
|
|
2413
|
-
/**
|
|
2414
|
-
* A page indicator component that displays a series of dots representing pages.
|
|
2415
|
-
* One dot is highlighted to indicate the currently selected page.
|
|
2416
|
-
*
|
|
2417
|
-
* ## Attributes & Properties
|
|
2418
|
-
*
|
|
2419
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2420
|
-
*
|
|
2421
|
-
* - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
|
|
2422
|
-
* - `page-count`/`pageCount`: Total number of pages (minimum 1)
|
|
2423
|
-
*/
|
|
2424
|
-
"w-page-indicator": Partial<
|
|
2425
|
-
WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents
|
|
2426
|
-
>;
|
|
2427
|
-
|
|
2428
|
-
/**
|
|
2429
|
-
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
2430
|
-
*
|
|
2431
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
2432
|
-
*
|
|
2433
|
-
* ## Attributes & Properties
|
|
2434
|
-
*
|
|
2435
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2436
|
-
*
|
|
2437
|
-
* - `base-url`/`baseUrl`: undefined
|
|
2438
|
-
* - `pages`: undefined
|
|
2439
|
-
* - `current-page`/`currentPageNumber`: undefined
|
|
2440
|
-
* - `visible-pages`/`visiblePages`: undefined
|
|
2441
|
-
*
|
|
2442
|
-
* ## Events
|
|
2443
|
-
*
|
|
2444
|
-
* Events that will be emitted by the component.
|
|
2445
|
-
*
|
|
2446
|
-
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
2447
|
-
*/
|
|
2448
|
-
"w-pagination": Partial<
|
|
2449
|
-
WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents
|
|
2450
|
-
>;
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
*
|
|
2454
|
-
*
|
|
2455
|
-
* ## Attributes & Properties
|
|
2456
|
-
*
|
|
2457
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2458
|
-
*
|
|
2459
|
-
* - `form`: The string pointing to a form's id.
|
|
2460
|
-
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
2461
|
-
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
2462
|
-
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
2463
|
-
* attribute can typically be omitted.
|
|
2464
|
-
* - `disabled`: Disables the radio.
|
|
2465
|
-
* - `checked`: undefined (property only)
|
|
2466
|
-
*
|
|
2467
|
-
* ## Methods
|
|
2468
|
-
*
|
|
2469
|
-
* Methods that can be called to access component functionality.
|
|
2470
|
-
*
|
|
2471
|
-
* - `setValue() => void`: undefined
|
|
2472
|
-
*/
|
|
2473
|
-
"w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
*
|
|
2477
|
-
*
|
|
2478
|
-
* ## Attributes & Properties
|
|
2479
|
-
*
|
|
2480
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2481
|
-
*
|
|
2482
|
-
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
2483
|
-
* instead.
|
|
2484
|
-
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
2485
|
-
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
2486
|
-
* - `disabled`: Disables the radio group and all child radios.
|
|
2487
|
-
* - `orientation`: The orientation in which to show radio items.
|
|
2488
|
-
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
2489
|
-
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
2490
|
-
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
2491
|
-
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
2492
|
-
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
2493
|
-
* - `hasRadioButtons`: undefined (property only)
|
|
2494
|
-
* - `defaultSlot`: undefined (property only)
|
|
2495
|
-
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
2496
|
-
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
2497
|
-
* the first radio element. (property only) (readonly)
|
|
2498
|
-
*
|
|
2499
|
-
* ## Events
|
|
2500
|
-
*
|
|
2501
|
-
* Events that will be emitted by the component.
|
|
2502
|
-
*
|
|
2503
|
-
* - `input`: undefined
|
|
2504
|
-
* - `change`: undefined
|
|
2505
|
-
*
|
|
2506
|
-
* ## Slots
|
|
2507
|
-
*
|
|
2508
|
-
* Areas where markup can be added to the component.
|
|
2509
|
-
*
|
|
2510
|
-
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
2511
|
-
*
|
|
2512
|
-
* ## Methods
|
|
2513
|
-
*
|
|
2514
|
-
* Methods that can be called to access component functionality.
|
|
2515
|
-
*
|
|
2516
|
-
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
2517
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
2518
|
-
*/
|
|
2519
|
-
"w-radio-group": Partial<
|
|
2520
|
-
WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents
|
|
2521
|
-
>;
|
|
2522
|
-
|
|
2523
|
-
/**
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
2526
|
-
* ## Attributes & Properties
|
|
2527
|
-
*
|
|
2528
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2529
|
-
*
|
|
2530
|
-
* - `title`: undefined
|
|
2531
|
-
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
2532
|
-
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
2533
|
-
* - `size`: The checkbox's size.
|
|
2534
|
-
* - `disabled`: Disables the checkbox.
|
|
2535
|
-
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
2536
|
-
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
2537
|
-
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
2538
|
-
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
2539
|
-
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
2540
|
-
* the same document or shadow root for this to work.
|
|
2541
|
-
* - `required`: Makes the checkbox a required field.
|
|
2542
|
-
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
2543
|
-
* - `input`: undefined (property only)
|
|
2544
|
-
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
2545
|
-
*
|
|
2546
|
-
* ## Events
|
|
2547
|
-
*
|
|
2548
|
-
* Events that will be emitted by the component.
|
|
2549
|
-
*
|
|
2550
|
-
* - `change`: undefined
|
|
2551
|
-
*
|
|
2552
|
-
* ## Methods
|
|
2553
|
-
*
|
|
2554
|
-
* Methods that can be called to access component functionality.
|
|
2555
|
-
*
|
|
2556
|
-
* - `handleDefaultCheckedChange() => void`: undefined
|
|
2557
|
-
* - `handleValueOrCheckedChange() => void`: undefined
|
|
2558
|
-
* - `handleStateChange() => void`: undefined
|
|
2559
|
-
* - `handleDisabledChange() => void`: undefined
|
|
2560
|
-
* - `formResetCallback() => void`: undefined
|
|
2561
|
-
* - `click() => void`: Simulates a click on the checkbox.
|
|
2562
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
2563
|
-
* - `blur() => void`: Removes focus from the checkbox.
|
|
2564
|
-
*/
|
|
2565
|
-
"w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
|
|
2566
|
-
|
|
2567
|
-
/**
|
|
2568
|
-
*
|
|
2569
|
-
*/
|
|
2570
|
-
"w-checkbox-group": Partial<
|
|
2571
|
-
WCheckboxGroupProps & BaseProps<WCheckboxGroup> & BaseEvents
|
|
2572
|
-
>;
|
|
2573
|
-
|
|
2574
|
-
/**
|
|
2575
|
-
* Component to place inside a `<w-slider>`.
|
|
2576
|
-
*
|
|
2577
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
2578
|
-
*
|
|
2579
|
-
* ## Attributes & Properties
|
|
2580
|
-
*
|
|
2581
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2582
|
-
*
|
|
2583
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
2584
|
-
* - `aria-description`/`ariaDescription`: undefined
|
|
2585
|
-
* - `label`: undefined
|
|
2586
|
-
* - `name`: undefined
|
|
2587
|
-
* - `value`: undefined
|
|
2588
|
-
* - `disabled`: undefined
|
|
2589
|
-
* - `invalid`: undefined
|
|
2590
|
-
* - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
|
|
2591
|
-
* - `markers`: Set by `<w-slider>` (property only)
|
|
2592
|
-
* - `required`: Set by `<w-slider>` (property only)
|
|
2593
|
-
* - `step`: Set by `<w-slider>` (property only)
|
|
2594
|
-
* - `min`: Set by `<w-slider>` (property only)
|
|
2595
|
-
* - `max`: Set by `<w-slider>` (property only)
|
|
2596
|
-
* - `suffix`: Set by `<w-slider>` (property only)
|
|
2597
|
-
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
2598
|
-
* - `range`: undefined (property only)
|
|
2599
|
-
* - `textfield`: undefined (property only)
|
|
2600
|
-
* - `boundaryValue`: undefined (property only) (readonly)
|
|
2601
|
-
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
2602
|
-
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
2603
|
-
*
|
|
2604
|
-
* ## Events
|
|
2605
|
-
*
|
|
2606
|
-
* Events that will be emitted by the component.
|
|
2607
|
-
*
|
|
2608
|
-
* - `slidervalidity`: undefined
|
|
2609
|
-
*
|
|
2610
|
-
* ## Methods
|
|
2611
|
-
*
|
|
2612
|
-
* Methods that can be called to access component functionality.
|
|
2613
|
-
*
|
|
2614
|
-
* - `resetFormControl() => void`: undefined
|
|
2615
|
-
* - `updateFieldAfterValidation() => void`: undefined
|
|
2616
|
-
*/
|
|
2617
|
-
"w-slider-thumb": Partial<
|
|
2618
|
-
WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents
|
|
2619
|
-
>;
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
2623
|
-
*
|
|
2624
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
2625
|
-
*
|
|
2626
|
-
* ## Attributes & Properties
|
|
2627
|
-
*
|
|
2628
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2629
|
-
*
|
|
2630
|
-
* - `label`: The slider fieldset label. Required for proper accessibility.
|
|
2631
|
-
*
|
|
2632
|
-
* If you need to display HTML, use the `label` slot instead.
|
|
2633
|
-
* - `disabled`: undefined
|
|
2634
|
-
* - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
|
|
2635
|
-
* - `error`: undefined
|
|
2636
|
-
* - `help-text`/`helpText`: undefined
|
|
2637
|
-
* - `invalid`: undefined
|
|
2638
|
-
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
2639
|
-
* - `min`: undefined
|
|
2640
|
-
* - `max`: undefined
|
|
2641
|
-
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
2642
|
-
* - `step`: undefined
|
|
2643
|
-
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
2644
|
-
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
2645
|
-
* - `_invalidMessage`: undefined (property only)
|
|
2646
|
-
* - `_hasInternalError`: undefined (property only)
|
|
2647
|
-
* - `edgeMin`: undefined (property only) (readonly)
|
|
2648
|
-
* - `edgeMax`: undefined (property only) (readonly)
|
|
2649
|
-
* - `componentHasError`: undefined (property only) (readonly)
|
|
2650
|
-
* - `errorText`: undefined (property only) (readonly)
|
|
2651
|
-
*
|
|
2652
|
-
* ## Slots
|
|
2653
|
-
*
|
|
2654
|
-
* Areas where markup can be added to the component.
|
|
2655
|
-
*
|
|
2656
|
-
* - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
|
|
2657
|
-
* - `label`: Label for the slider or range slider as a whole.
|
|
2658
|
-
* - `description`: Optional description between the label and slider.
|
|
2659
|
-
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
2660
|
-
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
2661
|
-
*/
|
|
2662
|
-
"w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
|
|
2663
|
-
|
|
2664
|
-
/**
|
|
2665
|
-
* Individual step component that shows a single step in a process
|
|
2666
|
-
*
|
|
1802
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
1803
|
+
*
|
|
2667
1804
|
* ## Attributes & Properties
|
|
2668
1805
|
*
|
|
2669
1806
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2670
1807
|
*
|
|
2671
|
-
* - `
|
|
2672
|
-
* - `
|
|
1808
|
+
* - `options`: The available options to select from
|
|
1809
|
+
* - `label`: Label above input
|
|
1810
|
+
* - `placeholder`: Input placeholder
|
|
1811
|
+
* - `value`: The input value
|
|
1812
|
+
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
1813
|
+
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
1814
|
+
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
1815
|
+
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
1816
|
+
* - `invalid`: Renders the input field in an invalid state
|
|
1817
|
+
* - `help-text`/`helpText`: The content to display as the help text
|
|
1818
|
+
* - `disabled`: Whether the element is disabled
|
|
1819
|
+
* - `required`: Whether the element is required
|
|
1820
|
+
* - `optional`: Whether to show optional text
|
|
1821
|
+
* - `name`: Name attribute for form submission
|
|
1822
|
+
* - `autocomplete`: Autocomplete attribute for the input field
|
|
2673
1823
|
*
|
|
2674
1824
|
* ## Methods
|
|
2675
1825
|
*
|
|
2676
1826
|
* Methods that can be called to access component functionality.
|
|
2677
1827
|
*
|
|
2678
|
-
* - `
|
|
2679
|
-
* - `getAriaLabel() => void`: undefined
|
|
1828
|
+
* - `resetFormControl() => void`: undefined
|
|
2680
1829
|
*/
|
|
2681
|
-
"w-
|
|
1830
|
+
"w-combobox": Partial<
|
|
1831
|
+
WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents
|
|
1832
|
+
>;
|
|
2682
1833
|
|
|
2683
1834
|
/**
|
|
2684
|
-
*
|
|
2685
|
-
*
|
|
2686
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
|
|
1835
|
+
* A page indicator component that displays a series of dots representing pages.
|
|
1836
|
+
* One dot is highlighted to indicate the currently selected page.
|
|
2687
1837
|
*
|
|
2688
1838
|
* ## Attributes & Properties
|
|
2689
1839
|
*
|
|
2690
1840
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2691
1841
|
*
|
|
2692
|
-
* - `
|
|
2693
|
-
* - `
|
|
2694
|
-
*
|
|
2695
|
-
* ## Methods
|
|
2696
|
-
*
|
|
2697
|
-
* Methods that can be called to access component functionality.
|
|
2698
|
-
*
|
|
2699
|
-
* - `updateStepsContext() => void`: undefined
|
|
1842
|
+
* - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
|
|
1843
|
+
* - `page-count`/`pageCount`: Total number of pages (minimum 1)
|
|
2700
1844
|
*/
|
|
2701
|
-
"w-
|
|
2702
|
-
|
|
1845
|
+
"w-page-indicator": Partial<
|
|
1846
|
+
WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents
|
|
2703
1847
|
>;
|
|
2704
1848
|
|
|
2705
1849
|
/**
|
|
@@ -2755,40 +1899,17 @@ export type CustomElements = {
|
|
|
2755
1899
|
"w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
|
|
2756
1900
|
|
|
2757
1901
|
/**
|
|
2758
|
-
* A single line text input element.
|
|
2759
1902
|
*
|
|
2760
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
2761
1903
|
*
|
|
2762
1904
|
* ## Attributes & Properties
|
|
2763
1905
|
*
|
|
2764
1906
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2765
1907
|
*
|
|
2766
|
-
* - `
|
|
2767
|
-
* - `
|
|
2768
|
-
* - `
|
|
2769
|
-
* - `help-text`/`helpText`: undefined
|
|
2770
|
-
* - `maximum-rows`/`maxRows`: undefined
|
|
2771
|
-
* - `minimum-rows`/`minRows`: undefined
|
|
2772
|
-
* - `name`: undefined
|
|
2773
|
-
* - `placeholder`: undefined
|
|
2774
|
-
* - `read-only`/`readOnly`: undefined
|
|
2775
|
-
* - `readonly`: undefined
|
|
2776
|
-
* - `required`: undefined
|
|
2777
|
-
* - `value`: undefined
|
|
2778
|
-
* - `optional`: undefined
|
|
2779
|
-
* - `minHeight`: undefined (property only)
|
|
2780
|
-
* - `maxHeight`: undefined (property only)
|
|
2781
|
-
*
|
|
2782
|
-
* ## Methods
|
|
2783
|
-
*
|
|
2784
|
-
* Methods that can be called to access component functionality.
|
|
2785
|
-
*
|
|
2786
|
-
* - `resetFormControl() => void`: undefined
|
|
2787
|
-
* - `handler(e: InputEvent) => void`: undefined
|
|
1908
|
+
* - `name`: Icon filename (without .svg)
|
|
1909
|
+
* - `size`: Size: small, medium, large or pixel value (e.g. "32px")
|
|
1910
|
+
* - `locale`: Locale used in CDN URL
|
|
2788
1911
|
*/
|
|
2789
|
-
"w-
|
|
2790
|
-
WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents
|
|
2791
|
-
>;
|
|
1912
|
+
"w-icon": Partial<WIconProps & BaseProps<WIcon> & BaseEvents>;
|
|
2792
1913
|
};
|
|
2793
1914
|
|
|
2794
1915
|
export type CustomElementsSolidJs = {
|
|
@@ -3412,28 +2533,6 @@ export type CustomElementsSolidJs = {
|
|
|
3412
2533
|
BaseEvents
|
|
3413
2534
|
>;
|
|
3414
2535
|
|
|
3415
|
-
/**
|
|
3416
|
-
* Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
|
|
3417
|
-
*
|
|
3418
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
|
|
3419
|
-
*
|
|
3420
|
-
* ## Attributes & Properties
|
|
3421
|
-
*
|
|
3422
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3423
|
-
*
|
|
3424
|
-
* - `type`: undefined
|
|
3425
|
-
* - `checked`: undefined
|
|
3426
|
-
* - `indeterminate`: undefined
|
|
3427
|
-
* - `invalid`: undefined
|
|
3428
|
-
* - `disabled`: undefined
|
|
3429
|
-
*/
|
|
3430
|
-
"w-dead-toggle": Partial<
|
|
3431
|
-
WarpDeadToggleProps &
|
|
3432
|
-
WarpDeadToggleSolidJsProps &
|
|
3433
|
-
BaseProps<WarpDeadToggle> &
|
|
3434
|
-
BaseEvents
|
|
3435
|
-
>;
|
|
3436
|
-
|
|
3437
2536
|
/**
|
|
3438
2537
|
* A page indicator component that displays a series of dots representing pages.
|
|
3439
2538
|
* One dot is highlighted to indicate the currently selected page.
|
|
@@ -3452,309 +2551,6 @@ export type CustomElementsSolidJs = {
|
|
|
3452
2551
|
BaseEvents
|
|
3453
2552
|
>;
|
|
3454
2553
|
|
|
3455
|
-
/**
|
|
3456
|
-
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
3457
|
-
*
|
|
3458
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
3459
|
-
*
|
|
3460
|
-
* ## Attributes & Properties
|
|
3461
|
-
*
|
|
3462
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3463
|
-
*
|
|
3464
|
-
* - `base-url`/`baseUrl`: undefined
|
|
3465
|
-
* - `pages`: undefined
|
|
3466
|
-
* - `current-page`/`currentPageNumber`: undefined
|
|
3467
|
-
* - `visible-pages`/`visiblePages`: undefined
|
|
3468
|
-
*
|
|
3469
|
-
* ## Events
|
|
3470
|
-
*
|
|
3471
|
-
* Events that will be emitted by the component.
|
|
3472
|
-
*
|
|
3473
|
-
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
3474
|
-
*/
|
|
3475
|
-
"w-pagination": Partial<
|
|
3476
|
-
WarpPaginationProps &
|
|
3477
|
-
WarpPaginationSolidJsProps &
|
|
3478
|
-
BaseProps<WarpPagination> &
|
|
3479
|
-
BaseEvents
|
|
3480
|
-
>;
|
|
3481
|
-
|
|
3482
|
-
/**
|
|
3483
|
-
*
|
|
3484
|
-
*
|
|
3485
|
-
* ## Attributes & Properties
|
|
3486
|
-
*
|
|
3487
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3488
|
-
*
|
|
3489
|
-
* - `form`: The string pointing to a form's id.
|
|
3490
|
-
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
3491
|
-
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
3492
|
-
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
3493
|
-
* attribute can typically be omitted.
|
|
3494
|
-
* - `disabled`: Disables the radio.
|
|
3495
|
-
* - `checked`: undefined (property only)
|
|
3496
|
-
*
|
|
3497
|
-
* ## Methods
|
|
3498
|
-
*
|
|
3499
|
-
* Methods that can be called to access component functionality.
|
|
3500
|
-
*
|
|
3501
|
-
* - `setValue() => void`: undefined
|
|
3502
|
-
*/
|
|
3503
|
-
"w-radio": Partial<
|
|
3504
|
-
WRadioProps & WRadioSolidJsProps & BaseProps<WRadio> & BaseEvents
|
|
3505
|
-
>;
|
|
3506
|
-
|
|
3507
|
-
/**
|
|
3508
|
-
*
|
|
3509
|
-
*
|
|
3510
|
-
* ## Attributes & Properties
|
|
3511
|
-
*
|
|
3512
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3513
|
-
*
|
|
3514
|
-
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
3515
|
-
* instead.
|
|
3516
|
-
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
3517
|
-
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
3518
|
-
* - `disabled`: Disables the radio group and all child radios.
|
|
3519
|
-
* - `orientation`: The orientation in which to show radio items.
|
|
3520
|
-
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
3521
|
-
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
3522
|
-
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
3523
|
-
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
3524
|
-
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
3525
|
-
* - `hasRadioButtons`: undefined (property only)
|
|
3526
|
-
* - `defaultSlot`: undefined (property only)
|
|
3527
|
-
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
3528
|
-
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
3529
|
-
* the first radio element. (property only) (readonly)
|
|
3530
|
-
*
|
|
3531
|
-
* ## Events
|
|
3532
|
-
*
|
|
3533
|
-
* Events that will be emitted by the component.
|
|
3534
|
-
*
|
|
3535
|
-
* - `input`: undefined
|
|
3536
|
-
* - `change`: undefined
|
|
3537
|
-
*
|
|
3538
|
-
* ## Slots
|
|
3539
|
-
*
|
|
3540
|
-
* Areas where markup can be added to the component.
|
|
3541
|
-
*
|
|
3542
|
-
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
3543
|
-
*
|
|
3544
|
-
* ## Methods
|
|
3545
|
-
*
|
|
3546
|
-
* Methods that can be called to access component functionality.
|
|
3547
|
-
*
|
|
3548
|
-
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
3549
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
3550
|
-
*/
|
|
3551
|
-
"w-radio-group": Partial<
|
|
3552
|
-
WRadioGroupProps &
|
|
3553
|
-
WRadioGroupSolidJsProps &
|
|
3554
|
-
BaseProps<WRadioGroup> &
|
|
3555
|
-
BaseEvents
|
|
3556
|
-
>;
|
|
3557
|
-
|
|
3558
|
-
/**
|
|
3559
|
-
*
|
|
3560
|
-
*
|
|
3561
|
-
* ## Attributes & Properties
|
|
3562
|
-
*
|
|
3563
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3564
|
-
*
|
|
3565
|
-
* - `title`: undefined
|
|
3566
|
-
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
3567
|
-
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
3568
|
-
* - `size`: The checkbox's size.
|
|
3569
|
-
* - `disabled`: Disables the checkbox.
|
|
3570
|
-
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
3571
|
-
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
3572
|
-
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
3573
|
-
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
3574
|
-
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
3575
|
-
* the same document or shadow root for this to work.
|
|
3576
|
-
* - `required`: Makes the checkbox a required field.
|
|
3577
|
-
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
3578
|
-
* - `input`: undefined (property only)
|
|
3579
|
-
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
3580
|
-
*
|
|
3581
|
-
* ## Events
|
|
3582
|
-
*
|
|
3583
|
-
* Events that will be emitted by the component.
|
|
3584
|
-
*
|
|
3585
|
-
* - `change`: undefined
|
|
3586
|
-
*
|
|
3587
|
-
* ## Methods
|
|
3588
|
-
*
|
|
3589
|
-
* Methods that can be called to access component functionality.
|
|
3590
|
-
*
|
|
3591
|
-
* - `handleDefaultCheckedChange() => void`: undefined
|
|
3592
|
-
* - `handleValueOrCheckedChange() => void`: undefined
|
|
3593
|
-
* - `handleStateChange() => void`: undefined
|
|
3594
|
-
* - `handleDisabledChange() => void`: undefined
|
|
3595
|
-
* - `formResetCallback() => void`: undefined
|
|
3596
|
-
* - `click() => void`: Simulates a click on the checkbox.
|
|
3597
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
3598
|
-
* - `blur() => void`: Removes focus from the checkbox.
|
|
3599
|
-
*/
|
|
3600
|
-
"w-checkbox": Partial<
|
|
3601
|
-
WCheckboxProps & WCheckboxSolidJsProps & BaseProps<WCheckbox> & BaseEvents
|
|
3602
|
-
>;
|
|
3603
|
-
|
|
3604
|
-
/**
|
|
3605
|
-
*
|
|
3606
|
-
*/
|
|
3607
|
-
"w-checkbox-group": Partial<
|
|
3608
|
-
WCheckboxGroupProps &
|
|
3609
|
-
WCheckboxGroupSolidJsProps &
|
|
3610
|
-
BaseProps<WCheckboxGroup> &
|
|
3611
|
-
BaseEvents
|
|
3612
|
-
>;
|
|
3613
|
-
|
|
3614
|
-
/**
|
|
3615
|
-
* Component to place inside a `<w-slider>`.
|
|
3616
|
-
*
|
|
3617
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
3618
|
-
*
|
|
3619
|
-
* ## Attributes & Properties
|
|
3620
|
-
*
|
|
3621
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3622
|
-
*
|
|
3623
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
3624
|
-
* - `aria-description`/`ariaDescription`: undefined
|
|
3625
|
-
* - `label`: undefined
|
|
3626
|
-
* - `name`: undefined
|
|
3627
|
-
* - `value`: undefined
|
|
3628
|
-
* - `disabled`: undefined
|
|
3629
|
-
* - `invalid`: undefined
|
|
3630
|
-
* - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
|
|
3631
|
-
* - `markers`: Set by `<w-slider>` (property only)
|
|
3632
|
-
* - `required`: Set by `<w-slider>` (property only)
|
|
3633
|
-
* - `step`: Set by `<w-slider>` (property only)
|
|
3634
|
-
* - `min`: Set by `<w-slider>` (property only)
|
|
3635
|
-
* - `max`: Set by `<w-slider>` (property only)
|
|
3636
|
-
* - `suffix`: Set by `<w-slider>` (property only)
|
|
3637
|
-
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
3638
|
-
* - `range`: undefined (property only)
|
|
3639
|
-
* - `textfield`: undefined (property only)
|
|
3640
|
-
* - `boundaryValue`: undefined (property only) (readonly)
|
|
3641
|
-
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
3642
|
-
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
3643
|
-
*
|
|
3644
|
-
* ## Events
|
|
3645
|
-
*
|
|
3646
|
-
* Events that will be emitted by the component.
|
|
3647
|
-
*
|
|
3648
|
-
* - `slidervalidity`: undefined
|
|
3649
|
-
*
|
|
3650
|
-
* ## Methods
|
|
3651
|
-
*
|
|
3652
|
-
* Methods that can be called to access component functionality.
|
|
3653
|
-
*
|
|
3654
|
-
* - `resetFormControl() => void`: undefined
|
|
3655
|
-
* - `updateFieldAfterValidation() => void`: undefined
|
|
3656
|
-
*/
|
|
3657
|
-
"w-slider-thumb": Partial<
|
|
3658
|
-
WarpSliderThumbProps &
|
|
3659
|
-
WarpSliderThumbSolidJsProps &
|
|
3660
|
-
BaseProps<WarpSliderThumb> &
|
|
3661
|
-
BaseEvents
|
|
3662
|
-
>;
|
|
3663
|
-
|
|
3664
|
-
/**
|
|
3665
|
-
* Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
3666
|
-
*
|
|
3667
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
3668
|
-
*
|
|
3669
|
-
* ## Attributes & Properties
|
|
3670
|
-
*
|
|
3671
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3672
|
-
*
|
|
3673
|
-
* - `label`: The slider fieldset label. Required for proper accessibility.
|
|
3674
|
-
*
|
|
3675
|
-
* If you need to display HTML, use the `label` slot instead.
|
|
3676
|
-
* - `disabled`: undefined
|
|
3677
|
-
* - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
|
|
3678
|
-
* - `error`: undefined
|
|
3679
|
-
* - `help-text`/`helpText`: undefined
|
|
3680
|
-
* - `invalid`: undefined
|
|
3681
|
-
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
3682
|
-
* - `min`: undefined
|
|
3683
|
-
* - `max`: undefined
|
|
3684
|
-
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
3685
|
-
* - `step`: undefined
|
|
3686
|
-
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
3687
|
-
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
3688
|
-
* - `_invalidMessage`: undefined (property only)
|
|
3689
|
-
* - `_hasInternalError`: undefined (property only)
|
|
3690
|
-
* - `edgeMin`: undefined (property only) (readonly)
|
|
3691
|
-
* - `edgeMax`: undefined (property only) (readonly)
|
|
3692
|
-
* - `componentHasError`: undefined (property only) (readonly)
|
|
3693
|
-
* - `errorText`: undefined (property only) (readonly)
|
|
3694
|
-
*
|
|
3695
|
-
* ## Slots
|
|
3696
|
-
*
|
|
3697
|
-
* Areas where markup can be added to the component.
|
|
3698
|
-
*
|
|
3699
|
-
* - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
|
|
3700
|
-
* - `label`: Label for the slider or range slider as a whole.
|
|
3701
|
-
* - `description`: Optional description between the label and slider.
|
|
3702
|
-
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
3703
|
-
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
3704
|
-
*/
|
|
3705
|
-
"w-slider": Partial<
|
|
3706
|
-
WarpSliderProps &
|
|
3707
|
-
WarpSliderSolidJsProps &
|
|
3708
|
-
BaseProps<WarpSlider> &
|
|
3709
|
-
BaseEvents
|
|
3710
|
-
>;
|
|
3711
|
-
|
|
3712
|
-
/**
|
|
3713
|
-
* Individual step component that shows a single step in a process
|
|
3714
|
-
*
|
|
3715
|
-
* ## Attributes & Properties
|
|
3716
|
-
*
|
|
3717
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3718
|
-
*
|
|
3719
|
-
* - `active`: undefined
|
|
3720
|
-
* - `completed`: undefined
|
|
3721
|
-
*
|
|
3722
|
-
* ## Methods
|
|
3723
|
-
*
|
|
3724
|
-
* Methods that can be called to access component functionality.
|
|
3725
|
-
*
|
|
3726
|
-
* - `setContext(context: StepsContext) => void`: undefined
|
|
3727
|
-
* - `getAriaLabel() => void`: undefined
|
|
3728
|
-
*/
|
|
3729
|
-
"w-step": Partial<
|
|
3730
|
-
WarpStepProps & WarpStepSolidJsProps & BaseProps<WarpStep> & BaseEvents
|
|
3731
|
-
>;
|
|
3732
|
-
|
|
3733
|
-
/**
|
|
3734
|
-
* Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
3735
|
-
*
|
|
3736
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
|
|
3737
|
-
*
|
|
3738
|
-
* ## Attributes & Properties
|
|
3739
|
-
*
|
|
3740
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3741
|
-
*
|
|
3742
|
-
* - `horizontal`: undefined
|
|
3743
|
-
* - `right`: undefined
|
|
3744
|
-
*
|
|
3745
|
-
* ## Methods
|
|
3746
|
-
*
|
|
3747
|
-
* Methods that can be called to access component functionality.
|
|
3748
|
-
*
|
|
3749
|
-
* - `updateStepsContext() => void`: undefined
|
|
3750
|
-
*/
|
|
3751
|
-
"w-step-indicator": Partial<
|
|
3752
|
-
WarpStepIndicatorProps &
|
|
3753
|
-
WarpStepIndicatorSolidJsProps &
|
|
3754
|
-
BaseProps<WarpStepIndicator> &
|
|
3755
|
-
BaseEvents
|
|
3756
|
-
>;
|
|
3757
|
-
|
|
3758
2554
|
/**
|
|
3759
2555
|
* Individual tab component used within w-tabs container.
|
|
3760
2556
|
*
|
|
@@ -3815,42 +2611,18 @@ export type CustomElementsSolidJs = {
|
|
|
3815
2611
|
>;
|
|
3816
2612
|
|
|
3817
2613
|
/**
|
|
3818
|
-
* A single line text input element.
|
|
3819
2614
|
*
|
|
3820
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
3821
2615
|
*
|
|
3822
2616
|
* ## Attributes & Properties
|
|
3823
2617
|
*
|
|
3824
2618
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3825
2619
|
*
|
|
3826
|
-
* - `
|
|
3827
|
-
* - `
|
|
3828
|
-
* - `
|
|
3829
|
-
* - `help-text`/`helpText`: undefined
|
|
3830
|
-
* - `maximum-rows`/`maxRows`: undefined
|
|
3831
|
-
* - `minimum-rows`/`minRows`: undefined
|
|
3832
|
-
* - `name`: undefined
|
|
3833
|
-
* - `placeholder`: undefined
|
|
3834
|
-
* - `read-only`/`readOnly`: undefined
|
|
3835
|
-
* - `readonly`: undefined
|
|
3836
|
-
* - `required`: undefined
|
|
3837
|
-
* - `value`: undefined
|
|
3838
|
-
* - `optional`: undefined
|
|
3839
|
-
* - `minHeight`: undefined (property only)
|
|
3840
|
-
* - `maxHeight`: undefined (property only)
|
|
3841
|
-
*
|
|
3842
|
-
* ## Methods
|
|
3843
|
-
*
|
|
3844
|
-
* Methods that can be called to access component functionality.
|
|
3845
|
-
*
|
|
3846
|
-
* - `resetFormControl() => void`: undefined
|
|
3847
|
-
* - `handler(e: InputEvent) => void`: undefined
|
|
2620
|
+
* - `name`: Icon filename (without .svg)
|
|
2621
|
+
* - `size`: Size: small, medium, large or pixel value (e.g. "32px")
|
|
2622
|
+
* - `locale`: Locale used in CDN URL
|
|
3848
2623
|
*/
|
|
3849
|
-
"w-
|
|
3850
|
-
|
|
3851
|
-
WarpTextareaSolidJsProps &
|
|
3852
|
-
BaseProps<WarpTextarea> &
|
|
3853
|
-
BaseEvents
|
|
2624
|
+
"w-icon": Partial<
|
|
2625
|
+
WIconProps & WIconSolidJsProps & BaseProps<WIcon> & BaseEvents
|
|
3854
2626
|
>;
|
|
3855
2627
|
};
|
|
3856
2628
|
|