@umbraco-ui/uui 1.10.1 → 1.11.0
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/custom-elements.json +284 -216
- package/dist/uui.min.js +60 -58
- package/dist/uui.min.js.map +1 -1
- package/package.json +84 -84
- package/vscode-html-custom-data.json +130 -105
|
@@ -209,11 +209,11 @@
|
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"name": "uui-button",
|
|
212
|
-
"description": "Events:\n\n * `click` - fires when the element is clicked\n\nSlots:\n\n * ` ` {} - for default content\n\n * `label` {} - for label content\n\n * `extra` {} - for extra\n\nAttributes:\n\n * `type` {
|
|
212
|
+
"description": "Events:\n\n * `click` - fires when the element is clicked\n\nSlots:\n\n * ` ` {} - for default content\n\n * `label` {} - for label content\n\n * `extra` {} - for extra\n\nAttributes:\n\n * `type` {\"submit\" | \"button\" | \"reset\"} - Specifies the type of button\n\n * `disabled` {boolean} - Disables the button, changes the looks of it and prevents if from emitting the click event\n\n * `look` {\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"} - Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.\n\n * `color` {\"default\" | \"positive\" | \"warning\" | \"danger\"} - Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.\n\n * `compact` {boolean} - Makes the left and right padding of the button narrower.\n\n * `state` {undefined |'waiting' | 'success' | 'failed'} - Sets the state of the button. With waiting state a loader will show, the success state and fail states display icons. State is reset do default automatically after 3 seconds.\n\n * `href` {string} - Set an href, this will turns the button into a anchor tag.\n\n * `target` {string} - Set an anchor tag target, only used when using href.\n\n * `rel` {string} - Set the rel attribute for an anchor tag, only used when using href.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - label to be used for aria-label and potentially as visual label for some components\n\n * `popovertarget` {string} - Set a popovertarget.\n\nProperties:\n\n * `type` {\"submit\" | \"button\" | \"reset\"} - Specifies the type of button\n\n * `disabled` {boolean} - Disables the button, changes the looks of it and prevents if from emitting the click event\n\n * `look` {\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"} - Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.\n\n * `color` {\"default\" | \"positive\" | \"warning\" | \"danger\"} - Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.\n\n * `compact` {boolean} - Makes the left and right padding of the button narrower.\n\n * `state` {undefined |'waiting' | 'success' | 'failed'} - Sets the state of the button. With waiting state a loader will show, the success state and fail states display icons. State is reset do default automatically after 3 seconds.\n\n * `href` {string} - Set an href, this will turns the button into a anchor tag.\n\n * `target` {string} - Set an anchor tag target, only used when using href.\n\n * `rel` {string} - Set the rel attribute for an anchor tag, only used when using href.\n\n * `_button` {`HTMLInputElement`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - \n\n * `popoverContainerElement` {string} - Set a popovertarget.\n\n * `_togglePopover` - ",
|
|
213
213
|
"attributes": [
|
|
214
214
|
{
|
|
215
215
|
"name": "type",
|
|
216
|
-
"description": "`type` {
|
|
216
|
+
"description": "`type` {\"submit\" | \"button\" | \"reset\"} - Specifies the type of button\n\nProperty: type\n\nDefault: \"button\"",
|
|
217
217
|
"values": [
|
|
218
218
|
{
|
|
219
219
|
"name": "submit"
|
|
@@ -333,11 +333,6 @@
|
|
|
333
333
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
334
334
|
"values": []
|
|
335
335
|
},
|
|
336
|
-
{
|
|
337
|
-
"name": "pristine",
|
|
338
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
339
|
-
"valueSet": "v"
|
|
340
|
-
},
|
|
341
336
|
{
|
|
342
337
|
"name": "required",
|
|
343
338
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -356,6 +351,11 @@
|
|
|
356
351
|
"name": "error-message",
|
|
357
352
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
358
353
|
},
|
|
354
|
+
{
|
|
355
|
+
"name": "pristine",
|
|
356
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
357
|
+
"valueSet": "v"
|
|
358
|
+
},
|
|
359
359
|
{
|
|
360
360
|
"name": "label",
|
|
361
361
|
"description": "`label` {string} - label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|
|
@@ -687,7 +687,7 @@
|
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
689
|
"name": "uui-card",
|
|
690
|
-
"description": "
|
|
690
|
+
"description": "Card is a Component that provides the basics for a Card component. This can be extended in code to match a certain need.\n\nEvents:\n\n * `open` - fires when the card title is clicked.\n\n * `selected` - fires when the media card is selected\n\n * `deselected` - fires when the media card is deselected\n\nSlots:\n\n * ` ` {} - Default content.\n\nAttributes:\n\n * `disabled` {boolean} - Set to true to prevent opening of this item.\nThis does not prevent selection, selection is controlled by property 'selectable'\n\n * `error` {boolean} - Set to true to highlight there is an error with this item.\n\n * `href` {string} - Set an href, this will turns the name of the card into an anchor tag.\n\n * `target` {string} - Set an anchor tag target, only used when using href.\n\n * `rel` {string} - Set the rel attribute for an anchor tag, only used when using href.\n\n * `select-only` {`boolean`} - Enforce selection interaction and prevent all other interactions, set this when the UI is turned into Selection-Mode.\n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\nProperties:\n\n * `disabled` {boolean} - Set to true to prevent opening of this item.\nThis does not prevent selection, selection is controlled by property 'selectable'\n\n * `error` {boolean} - Set to true to highlight there is an error with this item.\n\n * `href` {string} - Set an href, this will turns the name of the card into an anchor tag.\n\n * `target` {string} - Set an anchor tag target, only used when using href.\n\n * `rel` {string} - Set the rel attribute for an anchor tag, only used when using href.\n\n * `styles` {`CSSResult[]`} - \n\n * `_selectOnly` {`boolean`} - \n\n * `selectOnly` {`boolean`} - Enforce selection interaction and prevent all other interactions, set this when the UI is turned into Selection-Mode.\n\n * `_selectable` {`boolean`} - \n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `deselectable` {`boolean`} - \n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\n * `selectableTarget` {`EventTarget`} - \n\n * `handleSelectKeydown` - ",
|
|
691
691
|
"attributes": [
|
|
692
692
|
{
|
|
693
693
|
"name": "disabled",
|
|
@@ -769,7 +769,7 @@
|
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
771
|
"name": "uui-checkbox",
|
|
772
|
-
"description": "Umbraco checkbox, toggles between checked and uncheck\n\nEvents:\n\n * `change` - fires when the element is begin checked by a user action\n\nAttributes:\n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `
|
|
772
|
+
"description": "Umbraco checkbox, toggles between checked and uncheck\n\nEvents:\n\n * `change` - fires when the element is begin checked by a user action\n\nAttributes:\n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `_value` {`string`} - \n\n * `labelPosition` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `_checked` {`boolean`} - \n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `_input` {`HTMLInputElement`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `inputRole` {`\"checkbox\" | \"switch\"`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
773
773
|
"attributes": [
|
|
774
774
|
{
|
|
775
775
|
"name": "label-position",
|
|
@@ -817,11 +817,6 @@
|
|
|
817
817
|
"name": "value",
|
|
818
818
|
"description": "`value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\nProperty: value\n\nDefault: ''"
|
|
819
819
|
},
|
|
820
|
-
{
|
|
821
|
-
"name": "pristine",
|
|
822
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
823
|
-
"valueSet": "v"
|
|
824
|
-
},
|
|
825
820
|
{
|
|
826
821
|
"name": "required",
|
|
827
822
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -840,6 +835,11 @@
|
|
|
840
835
|
"name": "error-message",
|
|
841
836
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
842
837
|
},
|
|
838
|
+
{
|
|
839
|
+
"name": "pristine",
|
|
840
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
841
|
+
"valueSet": "v"
|
|
842
|
+
},
|
|
843
843
|
{
|
|
844
844
|
"name": "label",
|
|
845
845
|
"description": "`label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|
|
@@ -852,8 +852,18 @@
|
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
"name": "uui-color-area",
|
|
855
|
-
"description": "Attributes:\n\n * `hue` {`number`} - The current hue.\n\n * `saturation` {`number`} - The current saturation.\n\n * `lightness` {`number`} - The current lightness.\n\n * `brightness` {`number`} - The current brightness.\n\n * `alpha` {`number`} - The current alpha.\n\n * `value` {`string`} - The current value.\n\n * `
|
|
855
|
+
"description": "Attributes:\n\n * `disabled` {boolean} - Sets the color area to disabled.\n\n * `readonly` {boolean} - Sets the color area to readonly mode.\n\n * `hue` {`number`} - The current hue.\n\n * `saturation` {`number`} - The current saturation.\n\n * `lightness` {`number`} - The current lightness.\n\n * `brightness` {`number`} - The current brightness.\n\n * `alpha` {`number`} - The current alpha.\n\n * `value` {`string`} - The current value.\n\nProperties:\n\n * `isDraggingGridHandle` {`boolean`} - \n\n * `disabled` {boolean} - Sets the color area to disabled.\n\n * `readonly` {boolean} - Sets the color area to readonly mode.\n\n * `hue` {`number`} - The current hue.\n\n * `saturation` {`number`} - The current saturation.\n\n * `lightness` {`number`} - The current lightness.\n\n * `brightness` {`number`} - The current brightness.\n\n * `alpha` {`number`} - The current alpha.\n\n * `_value` {`string`} - \n\n * `value` {`string`} - The current value.\n\n * `styles` {`CSSResult[]`} - ",
|
|
856
856
|
"attributes": [
|
|
857
|
+
{
|
|
858
|
+
"name": "disabled",
|
|
859
|
+
"description": "`disabled` {boolean} - Sets the color area to disabled.\n\nProperty: disabled\n\nDefault: false",
|
|
860
|
+
"valueSet": "v"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "readonly",
|
|
864
|
+
"description": "`readonly` {boolean} - Sets the color area to readonly mode.\n\nProperty: readonly\n\nDefault: false",
|
|
865
|
+
"valueSet": "v"
|
|
866
|
+
},
|
|
857
867
|
{
|
|
858
868
|
"name": "hue",
|
|
859
869
|
"description": "`hue` {`number`} - The current hue.\n\nProperty: hue\n\nDefault: 0"
|
|
@@ -877,17 +887,12 @@
|
|
|
877
887
|
{
|
|
878
888
|
"name": "value",
|
|
879
889
|
"description": "`value` {`string`} - The current value.\n\nProperty: value"
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"name": "disabled",
|
|
883
|
-
"description": "`disabled` {`boolean`} - Disables the color area.\n\nProperty: disabled\n\nDefault: false",
|
|
884
|
-
"valueSet": "v"
|
|
885
890
|
}
|
|
886
891
|
]
|
|
887
892
|
},
|
|
888
893
|
{
|
|
889
894
|
"name": "uui-color-picker",
|
|
890
|
-
"description": "Events:\n\n * `change` - Fired when the color changes\n\nAttributes:\n\n * `value` {string} - The current color.\n\n * `format` {UUIColorPickerFormat} - The format to use for the display value. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA\nrespectively. The color picker will always accept user input in any format (including CSS color names) and convert\nit to the desired format.\n\n * `name` {string} - The input's name attribute.\n\n * `size` {UUIColorPickerSize} - Determines the size of the color picker's trigger. This has no effect on inline color pickers.\n\n * `no-format-toggle` {boolean} - Removes the format toggle.\n\n * `inline` {boolean} - Renders the color picker inline rather than inside a dropdown.\n\n * `disabled` {boolean} -
|
|
895
|
+
"description": "Events:\n\n * `change` - Fired when the color changes\n\nAttributes:\n\n * `value` {string} - The current color.\n\n * `format` {UUIColorPickerFormat} - The format to use for the display value. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA\nrespectively. The color picker will always accept user input in any format (including CSS color names) and convert\nit to the desired format.\n\n * `name` {string} - The input's name attribute.\n\n * `size` {UUIColorPickerSize} - Determines the size of the color picker's trigger. This has no effect on inline color pickers.\n\n * `no-format-toggle` {boolean} - Removes the format toggle.\n\n * `inline` {boolean} - Renders the color picker inline rather than inside a dropdown.\n\n * `disabled` {boolean} - Sets the color picker to disabled.\n\n * `opacity` {boolean} - Whether to show the opacity slider.\n\n * `readonly` {boolean} - Sets the color picker to readonly mode.\n\n * `uppercase` {boolean} - By default, the value will be set in lowercase. Set this to true to set it in uppercase instead.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `_input` {`UUIInputElement`} - \n\n * `_previewButton` {`HTMLButtonElement`} - \n\n * `_swatches` {`UUIColorSwatchesElement`} - \n\n * `_value` {`string`} - \n\n * `inputValue` {`string`} - \n\n * `hue` {`number`} - \n\n * `saturation` {`number`} - \n\n * `lightness` {`number`} - \n\n * `alpha` {`number`} - \n\n * `_colord` {`Colord`} - \n\n * `value` {string} - The current color.\n\n * `format` {UUIColorPickerFormat} - The format to use for the display value. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA\nrespectively. The color picker will always accept user input in any format (including CSS color names) and convert\nit to the desired format.\n\n * `name` {string} - The input's name attribute.\n\n * `size` {UUIColorPickerSize} - Determines the size of the color picker's trigger. This has no effect on inline color pickers.\n\n * `noFormatToggle` {boolean} - Removes the format toggle.\n\n * `inline` {boolean} - Renders the color picker inline rather than inside a dropdown.\n\n * `disabled` {boolean} - Sets the color picker to disabled.\n\n * `opacity` {boolean} - Whether to show the opacity slider.\n\n * `readonly` {boolean} - Sets the color picker to readonly mode.\n\n * `uppercase` {boolean} - By default, the value will be set in lowercase. Set this to true to set it in uppercase instead.\n\n * `swatches` {`string[]`} - An array of predefined color swatches to display. Can include any format the color picker can parse, including\nHEX(A), RGB(A), HSL(A), HSV(A), and CSS color names.\n\n * `styles` {`CSSResult[]`} - \n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
891
896
|
"attributes": [
|
|
892
897
|
{
|
|
893
898
|
"name": "value",
|
|
@@ -942,7 +947,7 @@
|
|
|
942
947
|
},
|
|
943
948
|
{
|
|
944
949
|
"name": "disabled",
|
|
945
|
-
"description": "`disabled` {boolean} -
|
|
950
|
+
"description": "`disabled` {boolean} - Sets the color picker to disabled.\n\nProperty: disabled\n\nDefault: false",
|
|
946
951
|
"valueSet": "v"
|
|
947
952
|
},
|
|
948
953
|
{
|
|
@@ -950,6 +955,11 @@
|
|
|
950
955
|
"description": "`opacity` {boolean} - Whether to show the opacity slider.\n\nProperty: opacity\n\nDefault: false",
|
|
951
956
|
"valueSet": "v"
|
|
952
957
|
},
|
|
958
|
+
{
|
|
959
|
+
"name": "readonly",
|
|
960
|
+
"description": "`readonly` {boolean} - Sets the color picker to readonly mode.\n\nProperty: readonly\n\nDefault: false",
|
|
961
|
+
"valueSet": "v"
|
|
962
|
+
},
|
|
953
963
|
{
|
|
954
964
|
"name": "uppercase",
|
|
955
965
|
"description": "`uppercase` {boolean} - By default, the value will be set in lowercase. Set this to true to set it in uppercase instead.\n\nProperty: uppercase\n\nDefault: false",
|
|
@@ -967,7 +977,7 @@
|
|
|
967
977
|
},
|
|
968
978
|
{
|
|
969
979
|
"name": "uui-color-slider",
|
|
970
|
-
"description": "Events:\n\n * `change` - Fires when the value of the slider changes.\n\nAttributes:\n\n * `type` {UUIColorSliderType} - The type of the slider.\n\n * `color` {string} - The color value.\n\n * `min` {number} - This is a minimum value of the slider.\n\n * `max` {number} - This is a maximum value of the slider.\n\n * `precision` {number} - The minimum increment value allowed by the slider.\n\n * `vertical` {boolean} - Draws the slider in a vertical orientation.\n\n * `value` {number} - The current value of the slider.\n\n * `disabled` {boolean} -
|
|
980
|
+
"description": "Events:\n\n * `change` - Fires when the value of the slider changes.\n\nAttributes:\n\n * `type` {UUIColorSliderType} - The type of the slider.\n\n * `color` {string} - The color value.\n\n * `min` {number} - This is a minimum value of the slider.\n\n * `max` {number} - This is a maximum value of the slider.\n\n * `precision` {number} - The minimum increment value allowed by the slider.\n\n * `vertical` {boolean} - Draws the slider in a vertical orientation.\n\n * `value` {number} - The current value of the slider.\n\n * `readonly` {boolean} - Sets the color slider to readonly mode.\n\n * `disabled` {boolean} - Sets the color slider to disabled.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `type` {UUIColorSliderType} - The type of the slider.\n\n * `color` {string} - The color value.\n\n * `min` {number} - This is a minimum value of the slider.\n\n * `max` {number} - This is a maximum value of the slider.\n\n * `precision` {number} - The minimum increment value allowed by the slider.\n\n * `vertical` {boolean} - Draws the slider in a vertical orientation.\n\n * `value` {number} - The current value of the slider.\n\n * `readonly` {boolean} - Sets the color slider to readonly mode.\n\n * `disabled` {boolean} - Sets the color slider to disabled.\n\n * `container` {`HTMLElement`} - \n\n * `handle` {`HTMLElement`} - \n\n * `cssPropCurrentValue` {`number`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
971
981
|
"attributes": [
|
|
972
982
|
{
|
|
973
983
|
"name": "type",
|
|
@@ -1006,9 +1016,14 @@
|
|
|
1006
1016
|
"name": "value",
|
|
1007
1017
|
"description": "`value` {number} - The current value of the slider.\n\nProperty: value\n\nDefault: 0"
|
|
1008
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "readonly",
|
|
1021
|
+
"description": "`readonly` {boolean} - Sets the color slider to readonly mode.\n\nProperty: readonly\n\nDefault: false",
|
|
1022
|
+
"valueSet": "v"
|
|
1023
|
+
},
|
|
1009
1024
|
{
|
|
1010
1025
|
"name": "disabled",
|
|
1011
|
-
"description": "`disabled` {boolean} -
|
|
1026
|
+
"description": "`disabled` {boolean} - Sets the color slider to disabled.\n\nProperty: disabled\n\nDefault: false",
|
|
1012
1027
|
"valueSet": "v"
|
|
1013
1028
|
},
|
|
1014
1029
|
{
|
|
@@ -1023,7 +1038,7 @@
|
|
|
1023
1038
|
},
|
|
1024
1039
|
{
|
|
1025
1040
|
"name": "uui-color-swatch",
|
|
1026
|
-
"description": "Color swatch, can have label and be selectable.\n\nEvents:\n\n * `selected` - fires when the media card is selected\n\n * `deselected` - fires when the media card is deselected\n\nSlots:\n\n * `label` {} - Default slot for the label.\n\nAttributes:\n\n * `value` {`string`} - Value of the swatch. This will become the color value if color is left undefined, see the property `color` for more details.\n\n * `color` {`string | undefined`} - Color of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.\n\n * `disabled` {
|
|
1041
|
+
"description": "Color swatch, can have label and be selectable, disabled or readonly.\n\nEvents:\n\n * `selected` - fires when the media card is selected\n\n * `deselected` - fires when the media card is deselected\n\nSlots:\n\n * `label` {} - Default slot for the label.\n\nAttributes:\n\n * `value` {`string`} - Value of the swatch. This will become the color value if color is left undefined, see the property `color` for more details.\n\n * `color` {`string | undefined`} - Color of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.\n\n * `disabled` {boolean} - Sets the swatch to disabled.\n\n * `readonly` {boolean} - Sets the swatch to readonly mode.\n\n * `show-label` {`boolean`} - When true shows element label below the color checkbox\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\n * `active` {boolean} - Set this boolean to true for then the related composition is sorted.\n\nProperties:\n\n * `value` {`string`} - Value of the swatch. This will become the color value if color is left undefined, see the property `color` for more details.\n\n * `_value` {`string | undefined`} - \n\n * `color` {`string | undefined`} - Color of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.\n\n * `_color` {`string | undefined`} - \n\n * `disabled` {boolean} - Sets the swatch to disabled.\n\n * `readonly` {boolean} - Sets the swatch to readonly mode.\n\n * `showLabel` {`boolean`} - When true shows element label below the color checkbox\n\n * `styles` {`CSSResult[]`} - \n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - \n\n * `_selectable` {`boolean`} - \n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `deselectable` {`boolean`} - \n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\n * `selectableTarget` {`EventTarget`} - \n\n * `handleSelectKeydown` - \n\n * `active` {boolean} - Set this boolean to true for then the related composition is sorted.",
|
|
1027
1042
|
"attributes": [
|
|
1028
1043
|
{
|
|
1029
1044
|
"name": "value",
|
|
@@ -1036,7 +1051,12 @@
|
|
|
1036
1051
|
},
|
|
1037
1052
|
{
|
|
1038
1053
|
"name": "disabled",
|
|
1039
|
-
"description": "`disabled` {
|
|
1054
|
+
"description": "`disabled` {boolean} - Sets the swatch to disabled.\n\nProperty: disabled\n\nDefault: false",
|
|
1055
|
+
"valueSet": "v"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "readonly",
|
|
1059
|
+
"description": "`readonly` {boolean} - Sets the swatch to readonly mode.\n\nProperty: readonly\n\nDefault: false",
|
|
1040
1060
|
"valueSet": "v"
|
|
1041
1061
|
},
|
|
1042
1062
|
{
|
|
@@ -1075,7 +1095,7 @@
|
|
|
1075
1095
|
},
|
|
1076
1096
|
{
|
|
1077
1097
|
"name": "uui-color-swatches",
|
|
1078
|
-
"description": "Put uui-
|
|
1098
|
+
"description": "Put uui-color-swatch elements inside this element to create a color swatch selector.\n\nEvents:\n\n * `change` - Fires when a color swatch is selected.\n\nSlots:\n\n * ` ` {} - Default slot for content.\n\nAttributes:\n\n * `value` {`string`} - Value of selected option.\n\n * `disabled` {boolean} - Sets the swatches to disabled.\n\n * `readonly` {boolean} - Sets the swatches to readonly mode.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `value` {`string`} - Value of selected option.\n\n * `disabled` {boolean} - Sets the swatches to disabled.\n\n * `readonly` {boolean} - Sets the swatches to readonly mode.\n\n * `_swatches` {`UUIColorSwatchElement[]`} - \n\n * `__activeElement` {`UUIColorSwatchElement | undefined`} - \n\n * `_activeElement` {`UUIColorSwatchElement | undefined`} - \n\n * `_selectedElement` {`UUIColorSwatchElement | undefined`} - \n\n * `_onSelected` - \n\n * `_onDeselected` - \n\n * `styles` {`CSSResult[]`} - \n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
1079
1099
|
"attributes": [
|
|
1080
1100
|
{
|
|
1081
1101
|
"name": "value",
|
|
@@ -1083,7 +1103,12 @@
|
|
|
1083
1103
|
},
|
|
1084
1104
|
{
|
|
1085
1105
|
"name": "disabled",
|
|
1086
|
-
"description": "`disabled` {boolean} -
|
|
1106
|
+
"description": "`disabled` {boolean} - Sets the swatches to disabled.\n\nProperty: disabled\n\nDefault: false",
|
|
1107
|
+
"valueSet": "v"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "readonly",
|
|
1111
|
+
"description": "`readonly` {boolean} - Sets the swatches to readonly mode.\n\nProperty: readonly\n\nDefault: false",
|
|
1087
1112
|
"valueSet": "v"
|
|
1088
1113
|
},
|
|
1089
1114
|
{
|
|
@@ -1098,19 +1123,19 @@
|
|
|
1098
1123
|
},
|
|
1099
1124
|
{
|
|
1100
1125
|
"name": "uui-combobox-list-option",
|
|
1101
|
-
"description": "Events:\n\n * `selected` - fires when the media card is selected\n\n * `deselected` - fires when the media card is deselected\n\nSlots:\n\n * ` ` {} - For option content\n\nAttributes:\n\n * `value` {
|
|
1126
|
+
"description": "Events:\n\n * `selected` - fires when the media card is selected\n\n * `deselected` - fires when the media card is deselected\n\nSlots:\n\n * ` ` {} - For option content\n\nAttributes:\n\n * `value` {string} - Value of the option.\n\n * `display-value` {string} - A readable value.\n\n * `disabled` {boolean} - Determines if the options is disabled. If true the option can't be selected\n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\n * `active` {boolean} - Set this boolean to true for then the related composition is sorted.\n\nProperties:\n\n * `_value` {`string | undefined`} - \n\n * `_disabled` {`boolean`} - \n\n * `_displayValue` {`string`} - \n\n * `value` {string} - Value of the option.\n\n * `displayValue` {string} - A readable value.\n\n * `disabled` {boolean} - Determines if the options is disabled. If true the option can't be selected\n\n * `styles` {`CSSResult[]`} - \n\n * `_selectable` {`boolean`} - \n\n * `selectable` {`boolean`} - Enable the ability to select this element.\n\n * `deselectable` {`boolean`} - \n\n * `selected` {`boolean`} - Attribute applied when the element is selected.\n\n * `selectableTarget` {`EventTarget`} - \n\n * `handleSelectKeydown` - \n\n * `active` {boolean} - Set this boolean to true for then the related composition is sorted.",
|
|
1102
1127
|
"attributes": [
|
|
1103
1128
|
{
|
|
1104
1129
|
"name": "value",
|
|
1105
|
-
"description": "`value` {
|
|
1130
|
+
"description": "`value` {string} - Value of the option.\n\nProperty: value\n\nDefault: \"\""
|
|
1106
1131
|
},
|
|
1107
1132
|
{
|
|
1108
1133
|
"name": "display-value",
|
|
1109
|
-
"description": "`display-value` {
|
|
1134
|
+
"description": "`display-value` {string} - A readable value.\n\nProperty: displayValue\n\nDefault: \"\""
|
|
1110
1135
|
},
|
|
1111
1136
|
{
|
|
1112
1137
|
"name": "disabled",
|
|
1113
|
-
"description": "`disabled` {
|
|
1138
|
+
"description": "`disabled` {boolean} - Determines if the options is disabled. If true the option can't be selected\n\nProperty: disabled\n\nDefault: false",
|
|
1114
1139
|
"valueSet": "v"
|
|
1115
1140
|
},
|
|
1116
1141
|
{
|
|
@@ -1140,20 +1165,20 @@
|
|
|
1140
1165
|
},
|
|
1141
1166
|
{
|
|
1142
1167
|
"name": "uui-combobox-list",
|
|
1143
|
-
"description": "Events:\n\n * `change` - fires when selection is changed\n\nSlots:\n\n * ` ` {} - for uui-combobox-list-options\n\nAttributes:\n\n * `value` {
|
|
1168
|
+
"description": "Events:\n\n * `change` - fires when selection is changed\n\nSlots:\n\n * ` ` {} - for uui-combobox-list-options\n\nAttributes:\n\n * `value` {FormDataEntryValue | FormData} - Value of selected option.\n\n * `displayValue` {string} - A readable value to display to show the selected value.\n\n * `for` {HTMLElement} - provide another element of which keyboard navigation\n\nProperties:\n\n * `value` {FormDataEntryValue | FormData} - Value of selected option.\n\n * `displayValue` {string} - A readable value to display to show the selected value.\n\n * `_for` {`HTMLElement | undefined`} - \n\n * `for` {HTMLElement} - provide another element of which keyboard navigation\n\n * `_options` {`UUIComboboxListOptionElement[]`} - \n\n * `_activeOptions` {`UUIComboboxListOptionElement[]`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_activeElementValue` {`string | null`} - \n\n * `_selectedElement` {`UUIComboboxListOptionElement | undefined`} - \n\n * `_onSlotChange` - \n\n * `_onSelected` - \n\n * `_onDeselected` - \n\n * `_getActiveIndex` {`number`} - \n\n * `_getActiveElement` {`UUIComboboxListOptionElement | null | undefined`} - \n\n * `_moveIndex` - \n\n * `_onKeyDown` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
1144
1169
|
"attributes": [
|
|
1145
1170
|
{
|
|
1146
1171
|
"name": "value",
|
|
1147
|
-
"description": "`value` {
|
|
1172
|
+
"description": "`value` {FormDataEntryValue | FormData} - Value of selected option.\n\nProperty: value\n\nDefault: \"\"",
|
|
1148
1173
|
"values": []
|
|
1149
1174
|
},
|
|
1150
1175
|
{
|
|
1151
1176
|
"name": "displayValue",
|
|
1152
|
-
"description": "`displayValue` {
|
|
1177
|
+
"description": "`displayValue` {string} - A readable value to display to show the selected value.\n\nProperty: displayValue\n\nDefault: \"\""
|
|
1153
1178
|
},
|
|
1154
1179
|
{
|
|
1155
1180
|
"name": "for",
|
|
1156
|
-
"description": "`for` {
|
|
1181
|
+
"description": "`for` {HTMLElement} - provide another element of which keyboard navigation\n\nProperty: for\n\nDefault: this",
|
|
1157
1182
|
"values": []
|
|
1158
1183
|
},
|
|
1159
1184
|
{
|
|
@@ -1164,20 +1189,20 @@
|
|
|
1164
1189
|
},
|
|
1165
1190
|
{
|
|
1166
1191
|
"name": "uui-combobox",
|
|
1167
|
-
"description": "Events:\n\n * `input` - fires when search input is changed\n\n * `change` - fires when selection is changed\n\nSlots:\n\n * ` ` {} - for uui-combobox-list-options\n\n * `input-prepend` {} - prepend for the uui-input\n\n * `input-append` {} - append for the uui-input\n\nAttributes:\n\n * `search` {
|
|
1192
|
+
"description": "Events:\n\n * `input` - fires when search input is changed\n\n * `change` - fires when selection is changed\n\nSlots:\n\n * ` ` {} - for uui-combobox-list-options\n\n * `input-prepend` {} - prepend for the uui-input\n\n * `input-append` {} - append for the uui-input\n\nAttributes:\n\n * `search` {string} - The search input.\n\n * `open` {boolean} - Specifies if the popover should be open.\n\n * `closeLabel` {string} - Specifies the button label for the close button in mobile mode\n\n * `disabled` {boolean} - Disables the uui-combobox.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `search` {string} - The search input.\n\n * `open` {boolean} - Specifies if the popover should be open.\n\n * `closeLabel` {string} - Specifies the button label for the close button in mobile mode\n\n * `disabled` {boolean} - Disables the uui-combobox.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `_input` {`HTMLInputElement`} - \n\n * `_comboboxPopoverElement` {`UUIPopoverContainerElement | undefined`} - \n\n * `_comboboxListElements` {`UUIComboboxListElement[] | undefined`} - \n\n * `_displayValue` {`string`} - \n\n * `_search` {`string`} - \n\n * `_isPhone` {`boolean`} - \n\n * `_isOpen` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
1168
1193
|
"attributes": [
|
|
1169
1194
|
{
|
|
1170
1195
|
"name": "search",
|
|
1171
|
-
"description": "`search` {
|
|
1196
|
+
"description": "`search` {string} - The search input.\n\nProperty: search\n\nDefault: \"\""
|
|
1172
1197
|
},
|
|
1173
1198
|
{
|
|
1174
1199
|
"name": "open",
|
|
1175
|
-
"description": "`open` {
|
|
1200
|
+
"description": "`open` {boolean} - Specifies if the popover should be open.\n\nProperty: open\n\nDefault: false",
|
|
1176
1201
|
"valueSet": "v"
|
|
1177
1202
|
},
|
|
1178
1203
|
{
|
|
1179
1204
|
"name": "closeLabel",
|
|
1180
|
-
"description": "`closeLabel` {
|
|
1205
|
+
"description": "`closeLabel` {string} - Specifies the button label for the close button in mobile mode\n\nProperty: closeLabel\n\nDefault: \"Close\""
|
|
1181
1206
|
},
|
|
1182
1207
|
{
|
|
1183
1208
|
"name": "disabled",
|
|
@@ -1198,11 +1223,6 @@
|
|
|
1198
1223
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
1199
1224
|
"values": []
|
|
1200
1225
|
},
|
|
1201
|
-
{
|
|
1202
|
-
"name": "pristine",
|
|
1203
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1204
|
-
"valueSet": "v"
|
|
1205
|
-
},
|
|
1206
1226
|
{
|
|
1207
1227
|
"name": "required",
|
|
1208
1228
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -1221,6 +1241,11 @@
|
|
|
1221
1241
|
"name": "error-message",
|
|
1222
1242
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
1223
1243
|
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "pristine",
|
|
1246
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1247
|
+
"valueSet": "v"
|
|
1248
|
+
},
|
|
1224
1249
|
{
|
|
1225
1250
|
"name": "oninput",
|
|
1226
1251
|
"description": "`input` - fires when search input is changed"
|
|
@@ -1374,7 +1399,7 @@
|
|
|
1374
1399
|
},
|
|
1375
1400
|
{
|
|
1376
1401
|
"name": "uui-input-file",
|
|
1377
|
-
"description": "Attributes:\n\n * `accept` {string} - Accepted filetypes. Will allow all types if empty.\n\n * `multiple` {boolean} - Allows for multiple files to be selected.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `
|
|
1402
|
+
"description": "Attributes:\n\n * `accept` {string} - Accepted filetypes. Will allow all types if empty.\n\n * `multiple` {boolean} - Allows for multiple files to be selected.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `_dropzone` {`UUIFileDropzoneElement`} - \n\n * `_dropZone` {`UUIFileDropzoneElement | undefined`} - \n\n * `accept` {string} - Accepted filetypes. Will allow all types if empty.\n\n * `multiple` {boolean} - Allows for multiple files to be selected.\n\n * `_files` {`File[]`} - \n\n * `_updateFileWrappers` - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
1378
1403
|
"attributes": [
|
|
1379
1404
|
{
|
|
1380
1405
|
"name": "accept",
|
|
@@ -1394,11 +1419,6 @@
|
|
|
1394
1419
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
1395
1420
|
"values": []
|
|
1396
1421
|
},
|
|
1397
|
-
{
|
|
1398
|
-
"name": "pristine",
|
|
1399
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1400
|
-
"valueSet": "v"
|
|
1401
|
-
},
|
|
1402
1422
|
{
|
|
1403
1423
|
"name": "required",
|
|
1404
1424
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -1416,12 +1436,17 @@
|
|
|
1416
1436
|
{
|
|
1417
1437
|
"name": "error-message",
|
|
1418
1438
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "pristine",
|
|
1442
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1443
|
+
"valueSet": "v"
|
|
1419
1444
|
}
|
|
1420
1445
|
]
|
|
1421
1446
|
},
|
|
1422
1447
|
{
|
|
1423
1448
|
"name": "uui-input-lock",
|
|
1424
|
-
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `locked` {boolean} - Determine the inputs locked state.\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `
|
|
1449
|
+
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `locked` {boolean} - Determine the inputs locked state.\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `locked` {boolean} - Determine the inputs locked state.\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlengthMessage` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlengthMessage` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `autoWidth` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `_input` {`HTMLInputElement`} - \n\n * `_type` {`InputType`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
1425
1450
|
"attributes": [
|
|
1426
1451
|
{
|
|
1427
1452
|
"name": "locked",
|
|
@@ -1552,11 +1577,6 @@
|
|
|
1552
1577
|
"name": "value",
|
|
1553
1578
|
"description": "`value` {string} - get/set the value of the input\n\nProperty: value\n\nDefault: ''"
|
|
1554
1579
|
},
|
|
1555
|
-
{
|
|
1556
|
-
"name": "pristine",
|
|
1557
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1558
|
-
"valueSet": "v"
|
|
1559
|
-
},
|
|
1560
1580
|
{
|
|
1561
1581
|
"name": "required",
|
|
1562
1582
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -1575,6 +1595,11 @@
|
|
|
1575
1595
|
"name": "error-message",
|
|
1576
1596
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
1577
1597
|
},
|
|
1598
|
+
{
|
|
1599
|
+
"name": "pristine",
|
|
1600
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1601
|
+
"valueSet": "v"
|
|
1602
|
+
},
|
|
1578
1603
|
{
|
|
1579
1604
|
"name": "label",
|
|
1580
1605
|
"description": "`label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|
|
@@ -1595,7 +1620,7 @@
|
|
|
1595
1620
|
},
|
|
1596
1621
|
{
|
|
1597
1622
|
"name": "uui-input-password",
|
|
1598
|
-
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `
|
|
1623
|
+
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `passwordType` {`InputType`} - \n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlengthMessage` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlengthMessage` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `autoWidth` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `_input` {`HTMLInputElement`} - \n\n * `_type` {`InputType`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
1599
1624
|
"attributes": [
|
|
1600
1625
|
{
|
|
1601
1626
|
"name": "min",
|
|
@@ -1721,11 +1746,6 @@
|
|
|
1721
1746
|
"name": "value",
|
|
1722
1747
|
"description": "`value` {string} - get/set the value of the input\n\nProperty: value\n\nDefault: ''"
|
|
1723
1748
|
},
|
|
1724
|
-
{
|
|
1725
|
-
"name": "pristine",
|
|
1726
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1727
|
-
"valueSet": "v"
|
|
1728
|
-
},
|
|
1729
1749
|
{
|
|
1730
1750
|
"name": "required",
|
|
1731
1751
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -1744,6 +1764,11 @@
|
|
|
1744
1764
|
"name": "error-message",
|
|
1745
1765
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
1746
1766
|
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "pristine",
|
|
1769
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1770
|
+
"valueSet": "v"
|
|
1771
|
+
},
|
|
1747
1772
|
{
|
|
1748
1773
|
"name": "label",
|
|
1749
1774
|
"description": "`label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|
|
@@ -1764,7 +1789,7 @@
|
|
|
1764
1789
|
},
|
|
1765
1790
|
{
|
|
1766
1791
|
"name": "uui-input",
|
|
1767
|
-
"description": "Custom element wrapping the native input element.This is a formAssociated element, meaning it can participate in a native HTMLForm. A name:value pair will be submitted.\n\nEvents:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `
|
|
1792
|
+
"description": "Custom element wrapping the native input element.This is a formAssociated element, meaning it can participate in a native HTMLForm. A name:value pair will be submitted.\n\nEvents:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nSlots:\n\n * `prepend` {} - for components to render to the left of the input.\n\n * `append` {} - for components to render to the right of the input.\n\nAttributes:\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlength-message` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlength-message` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `auto-width` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `min` {number | string} - Sets the min value of the input.\nExamples: the first date the user may pick in date and datetime-local, or the min numeric value the user can pick in a number input.\n\n * `minlength` {number} - Sets the minimum length of the value of the input.\n\n * `minlengthMessage` {`string`} - Minlength validation message.\n\n * `max` {number | string} - Sets the max value of the input.\nExamples: the last date the user may pick in date and datetime-local, or the max numeric value the user can pick in a number input.\n\n * `maxlength` {number} - Sets the maximum length of the value of the input.\n\n * `maxlengthMessage` {`string`} - Maxlength validation message.\n\n * `step` {number} - Specifies the interval between legal numbers of the input\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `placeholder` {string} - Defines the input placeholder.\n\n * `autocomplete` {string} - Defines the input autocomplete.\n\n * `autoWidth` {boolean} - Sets the input width to fit the value or placeholder if empty\n\n * `type` {'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'} - This property specifies the type of input that will be rendered.\n\n * `pattern` {string} - Validates the input based on the Regex pattern\n\n * `inputMode` {string} - The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.\n\n * `_input` {`HTMLInputElement`} - \n\n * `_type` {`InputType`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `spellcheck` {boolean} - get/set native spellcheck attribute\n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - get/set the name of the input\n\n * `value` {string} - get/set the value of the input\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
1768
1793
|
"attributes": [
|
|
1769
1794
|
{
|
|
1770
1795
|
"name": "min",
|
|
@@ -1890,11 +1915,6 @@
|
|
|
1890
1915
|
"name": "value",
|
|
1891
1916
|
"description": "`value` {string} - get/set the value of the input\n\nProperty: value\n\nDefault: ''"
|
|
1892
1917
|
},
|
|
1893
|
-
{
|
|
1894
|
-
"name": "pristine",
|
|
1895
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1896
|
-
"valueSet": "v"
|
|
1897
|
-
},
|
|
1898
1918
|
{
|
|
1899
1919
|
"name": "required",
|
|
1900
1920
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -1913,6 +1933,11 @@
|
|
|
1913
1933
|
"name": "error-message",
|
|
1914
1934
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
1915
1935
|
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "pristine",
|
|
1938
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
1939
|
+
"valueSet": "v"
|
|
1940
|
+
},
|
|
1916
1941
|
{
|
|
1917
1942
|
"name": "label",
|
|
1918
1943
|
"description": "`label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|
|
@@ -2376,7 +2401,7 @@
|
|
|
2376
2401
|
},
|
|
2377
2402
|
{
|
|
2378
2403
|
"name": "uui-radio-group",
|
|
2379
|
-
"description": "Slots:\n\n * ` ` {} - slot for `<uui-radio>` elements or custom elements that extend from `UUIRadioElement`\n\nAttributes:\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `
|
|
2404
|
+
"description": "Slots:\n\n * ` ` {} - slot for `<uui-radio>` elements or custom elements that extend from `UUIRadioElement`\n\nAttributes:\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
2380
2405
|
"attributes": [
|
|
2381
2406
|
{
|
|
2382
2407
|
"name": "disabled",
|
|
@@ -2397,11 +2422,6 @@
|
|
|
2397
2422
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
2398
2423
|
"values": []
|
|
2399
2424
|
},
|
|
2400
|
-
{
|
|
2401
|
-
"name": "pristine",
|
|
2402
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
2403
|
-
"valueSet": "v"
|
|
2404
|
-
},
|
|
2405
2425
|
{
|
|
2406
2426
|
"name": "required",
|
|
2407
2427
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -2419,6 +2439,11 @@
|
|
|
2419
2439
|
{
|
|
2420
2440
|
"name": "error-message",
|
|
2421
2441
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "pristine",
|
|
2445
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
2446
|
+
"valueSet": "v"
|
|
2422
2447
|
}
|
|
2423
2448
|
]
|
|
2424
2449
|
},
|
|
@@ -2461,7 +2486,7 @@
|
|
|
2461
2486
|
},
|
|
2462
2487
|
{
|
|
2463
2488
|
"name": "uui-range-slider",
|
|
2464
|
-
"description": "Events:\n\n * `input` {} - on input\n\n * `change` {} - on change\n\nAttributes:\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label. Adds \"low-end value\" and \"high-end value\" endings for the two values.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `min` {number} - Sets the minimum allowed value.\n\n * `max` {number} - Sets the maximum allowed value.\n\n * `hide-step-values` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `min-gap` {number} - Minimum value gap between the the two picked values. Cannot be lower than the step value and cannot be higher than the maximum gap\n\n * `max-gap` {number} - Maximum value gap between the the two picked values. Cannot be lower than the minimum gap.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-range-slider. Split the two values with comma, for example 10,50 sets the values to 10 and 50.\n\n * `
|
|
2489
|
+
"description": "Events:\n\n * `input` {} - on input\n\n * `change` {} - on change\n\nAttributes:\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label. Adds \"low-end value\" and \"high-end value\" endings for the two values.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `min` {number} - Sets the minimum allowed value.\n\n * `max` {number} - Sets the maximum allowed value.\n\n * `hide-step-values` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `min-gap` {number} - Minimum value gap between the the two picked values. Cannot be lower than the step value and cannot be higher than the maximum gap\n\n * `max-gap` {number} - Maximum value gap between the the two picked values. Cannot be lower than the minimum gap.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-range-slider. Split the two values with comma, for example 10,50 sets the values to 10 and 50.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label. Adds \"low-end value\" and \"high-end value\" endings for the two values.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `min` {number} - Sets the minimum allowed value.\n\n * `_min` {`number`} - \n\n * `max` {number} - Sets the maximum allowed value.\n\n * `_max` {`number`} - \n\n * `hideStepValues` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `_step` {`number`} - \n\n * `minGap` {number} - Minimum value gap between the the two picked values. Cannot be lower than the step value and cannot be higher than the maximum gap\n\n * `_minGap` {`number | undefined`} - \n\n * `maxGap` {number} - Maximum value gap between the the two picked values. Cannot be lower than the minimum gap.\n\n * `_maxGap` {`number | undefined`} - \n\n * `_currentFocus` {`HTMLInputElement | undefined`} - \n\n * `_movement` {`boolean`} - \n\n * `startPoint` {`{ mouse: number; low: number; high: number; }`} - \n\n * `_lowInputValue` {`number`} - \n\n * `_highInputValue` {`number`} - \n\n * `_trackWidth` {`number`} - \n\n * `_lowValuePercentStart` {`number`} - \n\n * `_highValuePercentEnd` {`number`} - \n\n * `_outerTrack` {`HTMLElement`} - Elements\n\n * `_inputLow` {`HTMLInputElement`} - \n\n * `_inputHigh` {`HTMLInputElement`} - \n\n * `_innerColor` {`HTMLElement`} - \n\n * `_innerColorThumb` {`HTMLElement`} - \n\n * `_onKeypress` - Events\n\n * `_onTouchStart` - Touch Event\n\n * `_onTouchMove` - \n\n * `_onTouchEnd` - \n\n * `_onMouseDown` - Mouse Event\n\n * `_onMouseMove` - \n\n * `_onMouseUp` - \n\n * `styles` {`CSSResult[]`} - Style\n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-range-slider. Split the two values with comma, for example 10,50 sets the values to 10 and 50.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
2465
2490
|
"attributes": [
|
|
2466
2491
|
{
|
|
2467
2492
|
"name": "label",
|
|
@@ -2513,11 +2538,6 @@
|
|
|
2513
2538
|
"description": "`value` {string} - This is a value property of the uui-range-slider. Split the two values with comma, for example 10,50 sets the values to 10 and 50.\n\nProperty: value\n\nDefault: 0,0",
|
|
2514
2539
|
"values": []
|
|
2515
2540
|
},
|
|
2516
|
-
{
|
|
2517
|
-
"name": "pristine",
|
|
2518
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
2519
|
-
"valueSet": "v"
|
|
2520
|
-
},
|
|
2521
2541
|
{
|
|
2522
2542
|
"name": "required",
|
|
2523
2543
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -2536,6 +2556,11 @@
|
|
|
2536
2556
|
"name": "error-message",
|
|
2537
2557
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
2538
2558
|
},
|
|
2559
|
+
{
|
|
2560
|
+
"name": "pristine",
|
|
2561
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
2562
|
+
"valueSet": "v"
|
|
2563
|
+
},
|
|
2539
2564
|
{
|
|
2540
2565
|
"name": "oninput",
|
|
2541
2566
|
"description": "`input` {} - on input"
|
|
@@ -3264,7 +3289,7 @@
|
|
|
3264
3289
|
},
|
|
3265
3290
|
{
|
|
3266
3291
|
"name": "uui-select",
|
|
3267
|
-
"description": "Custom element wrapping the native select element. Pass an array of options to it.\nThis is a formAssociated element, meaning it can participate in a native HTMLForm. A name:value pair will be submitted.\n\nEvents:\n\n * `change` {} - when the user changes value\n\nAttributes:\n\n * `label` {string} - Text with which component should be labeled\n\n * `placeholder` {string} - Defines the select's placeholder.\n\n * `disabled` {boolean} - Disables the select.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `disabledGroups` {`string`} - An array of options to be rendered by the element. Put the names of the groups you wanna disable, separated by a coma: `disabledGroups='fruits, vegetables'`. It's not case sensitive\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `
|
|
3292
|
+
"description": "Custom element wrapping the native select element. Pass an array of options to it.\nThis is a formAssociated element, meaning it can participate in a native HTMLForm. A name:value pair will be submitted.\n\nEvents:\n\n * `change` {} - when the user changes value\n\nAttributes:\n\n * `label` {string} - Text with which component should be labeled\n\n * `placeholder` {string} - Defines the select's placeholder.\n\n * `disabled` {boolean} - Disables the select.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `disabledGroups` {`string`} - An array of options to be rendered by the element. Put the names of the groups you wanna disable, separated by a coma: `disabledGroups='fruits, vegetables'`. It's not case sensitive\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {boolean} - Set to true if the component should have an error state.Property is reflected to the corresponding attribute.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `label` {string} - Text with which component should be labeled\n\n * `placeholder` {string} - Defines the select's placeholder.\n\n * `disabled` {boolean} - Disables the select.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `options` {`Option[]`} - An array of options to be rendered by the element. If you want the element The option interface has up to 5 properties:\n`interface Option {\nname: string;\nvalue: string;\ngroup?: string;\nselected?: boolean;\ndisabled?: boolean;\n}`\n\n * `_groups` {`string[]`} - \n\n * `disabledGroups` {`string`} - An array of options to be rendered by the element. Put the names of the groups you wanna disable, separated by a coma: `disabledGroups='fruits, vegetables'`. It's not case sensitive\n\n * `_disabledGroups` {`string[]`} - \n\n * `_values` {`string[]`} - \n\n * `_input` {`HTMLSelectElement`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {boolean} - Set to true if the component should have an error state.Property is reflected to the corresponding attribute.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
3268
3293
|
"attributes": [
|
|
3269
3294
|
{
|
|
3270
3295
|
"name": "label",
|
|
@@ -3297,11 +3322,6 @@
|
|
|
3297
3322
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
3298
3323
|
"values": []
|
|
3299
3324
|
},
|
|
3300
|
-
{
|
|
3301
|
-
"name": "pristine",
|
|
3302
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3303
|
-
"valueSet": "v"
|
|
3304
|
-
},
|
|
3305
3325
|
{
|
|
3306
3326
|
"name": "required",
|
|
3307
3327
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -3320,6 +3340,11 @@
|
|
|
3320
3340
|
"name": "error-message",
|
|
3321
3341
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
3322
3342
|
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "pristine",
|
|
3345
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3346
|
+
"valueSet": "v"
|
|
3347
|
+
},
|
|
3323
3348
|
{
|
|
3324
3349
|
"name": "onchange",
|
|
3325
3350
|
"description": "`change` {} - when the user changes value"
|
|
@@ -3328,7 +3353,7 @@
|
|
|
3328
3353
|
},
|
|
3329
3354
|
{
|
|
3330
3355
|
"name": "uui-slider",
|
|
3331
|
-
"description": "Events:\n\n * `input` {} - on input\n\nAttributes:\n\n * `hide-step-values` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `hide-value-label` {boolean} - Hides the value label on the thumb.\n\n * `min` {number} - This is a minimum value of the input.\n\n * `max` {number} - This is a maximum value of the input.\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-slider.\n\n * `
|
|
3356
|
+
"description": "Events:\n\n * `input` {} - on input\n\nAttributes:\n\n * `hide-step-values` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `hide-value-label` {boolean} - Hides the value label on the thumb.\n\n * `min` {number} - This is a minimum value of the input.\n\n * `max` {number} - This is a maximum value of the input.\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-slider.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `hideStepValues` {boolean} - Hides the numbers representing the value of each steps. Dots will still be visible\n\n * `hideValueLabel` {boolean} - Hides the value label on the thumb.\n\n * `min` {number} - This is a minimum value of the input.\n\n * `max` {number} - This is a maximum value of the input.\n\n * `step` {number} - This reflects the behavior of a native input step attribute.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `_input` {`HTMLInputElement`} - \n\n * `_track` {`HTMLElement`} - \n\n * `_stepWidth` {`number`} - \n\n * `onWindowResize` - \n\n * `_steps` {`number[]`} - \n\n * `_sliderPosition` {`string`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - This is a value property of the uui-slider.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
3332
3357
|
"attributes": [
|
|
3333
3358
|
{
|
|
3334
3359
|
"name": "hide-step-values",
|
|
@@ -3375,11 +3400,6 @@
|
|
|
3375
3400
|
"description": "`value` {string} - This is a value property of the uui-slider.\n\nProperty: value\n\nDefault: ''",
|
|
3376
3401
|
"values": []
|
|
3377
3402
|
},
|
|
3378
|
-
{
|
|
3379
|
-
"name": "pristine",
|
|
3380
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3381
|
-
"valueSet": "v"
|
|
3382
|
-
},
|
|
3383
3403
|
{
|
|
3384
3404
|
"name": "required",
|
|
3385
3405
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -3398,6 +3418,11 @@
|
|
|
3398
3418
|
"name": "error-message",
|
|
3399
3419
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
3400
3420
|
},
|
|
3421
|
+
{
|
|
3422
|
+
"name": "pristine",
|
|
3423
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3424
|
+
"valueSet": "v"
|
|
3425
|
+
},
|
|
3401
3426
|
{
|
|
3402
3427
|
"name": "oninput",
|
|
3403
3428
|
"description": "`input` {} - on input"
|
|
@@ -3779,7 +3804,7 @@
|
|
|
3779
3804
|
},
|
|
3780
3805
|
{
|
|
3781
3806
|
"name": "uui-textarea",
|
|
3782
|
-
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nAttributes:\n\n * `placeholder` {string} - Defines the textarea placeholder.\n\n * `disabled` {boolean} - Disables the textarea.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `minlength` {number} - This is a minimum value of the input.\n\n * `minlength-message` {boolean} - Minlength validation message.\n\n * `maxlength` {number} - This is a maximum value of the input.\n\n * `maxlength-message` {boolean} - Maxlength validation message.\n\n * `auto-height` {boolean} - Enables automatic height adjustment. The height will be confined within the min and max height if defined.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `rows` {number} - Sets the number of rows of the textarea\n\n * `cols` {number} - Sets the number of cols of the textarea\n\n * `wrap` {'soft' | 'hard'} - Indicates how the control should wrap the value for form submission. If this attribute is not specified, soft is its default value.\n\n * `name` {string} - This is a name property of the `<uui-textarea>` component. It reflects the behaviour of the native `<textarea>` element and its name attribute.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `
|
|
3807
|
+
"description": "Events:\n\n * `change` {} - on change\n\n * `input` {} - on input\n\n * `keyup` {} - on keyup\n\nAttributes:\n\n * `placeholder` {string} - Defines the textarea placeholder.\n\n * `disabled` {boolean} - Disables the textarea.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `minlength` {number} - This is a minimum value of the input.\n\n * `minlength-message` {boolean} - Minlength validation message.\n\n * `maxlength` {number} - This is a maximum value of the input.\n\n * `maxlength-message` {boolean} - Maxlength validation message.\n\n * `auto-height` {boolean} - Enables automatic height adjustment. The height will be confined within the min and max height if defined.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `rows` {number} - Sets the number of rows of the textarea\n\n * `cols` {number} - Sets the number of cols of the textarea\n\n * `wrap` {'soft' | 'hard'} - Indicates how the control should wrap the value for form submission. If this attribute is not specified, soft is its default value.\n\n * `name` {string} - This is a name property of the `<uui-textarea>` component. It reflects the behaviour of the native `<textarea>` element and its name attribute.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {boolean} - Set to true if the component should have an error state. Property is reflected to the corresponding attribute.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperties:\n\n * `placeholder` {string} - Defines the textarea placeholder.\n\n * `disabled` {boolean} - Disables the textarea.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `minlength` {number} - This is a minimum value of the input.\n\n * `minlengthMessage` {boolean} - Minlength validation message.\n\n * `maxlength` {number} - This is a maximum value of the input.\n\n * `maxlengthMessage` {boolean} - Maxlength validation message.\n\n * `_textarea` {`HTMLInputElement`} - \n\n * `autoHeight` {boolean} - Enables automatic height adjustment. The height will be confined within the min and max height if defined.\n\n * `label` {string} - Label to be used for aria-label and eventually as visual label\n\n * `rows` {number} - Sets the number of rows of the textarea\n\n * `cols` {number} - Sets the number of cols of the textarea\n\n * `wrap` {'soft' | 'hard'} - Indicates how the control should wrap the value for form submission. If this attribute is not specified, soft is its default value.\n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the `<uui-textarea>` component. It reflects the behaviour of the native `<textarea>` element and its name attribute.\n\n * `value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {boolean} - Set to true if the component should have an error state. Property is reflected to the corresponding attribute.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
3783
3808
|
"attributes": [
|
|
3784
3809
|
{
|
|
3785
3810
|
"name": "placeholder",
|
|
@@ -3853,11 +3878,6 @@
|
|
|
3853
3878
|
"description": "`value` {string} - Value of this form control.\nIf you dont want the setFormValue to be called on the ElementInternals, then prevent calling this method, by not calling super.value = newValue in your implementation of the value setter method.\n\nProperty: value\n\nDefault: ''",
|
|
3854
3879
|
"values": []
|
|
3855
3880
|
},
|
|
3856
|
-
{
|
|
3857
|
-
"name": "pristine",
|
|
3858
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3859
|
-
"valueSet": "v"
|
|
3860
|
-
},
|
|
3861
3881
|
{
|
|
3862
3882
|
"name": "required",
|
|
3863
3883
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -3876,6 +3896,11 @@
|
|
|
3876
3896
|
"name": "error-message",
|
|
3877
3897
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
3878
3898
|
},
|
|
3899
|
+
{
|
|
3900
|
+
"name": "pristine",
|
|
3901
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
3902
|
+
"valueSet": "v"
|
|
3903
|
+
},
|
|
3879
3904
|
{
|
|
3880
3905
|
"name": "onchange",
|
|
3881
3906
|
"description": "`change` {} - on change"
|
|
@@ -3976,7 +4001,7 @@
|
|
|
3976
4001
|
},
|
|
3977
4002
|
{
|
|
3978
4003
|
"name": "uui-toggle",
|
|
3979
|
-
"description": "Umbraco Toggle-switch, toggles between off/on. Technically a checkbox.\n\nEvents:\n\n * `change-` {} - fires when the element is begin checked by a user action\n\n * `change` {} - on change\n\nAttributes:\n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `
|
|
4004
|
+
"description": "Umbraco Toggle-switch, toggles between off/on. Technically a checkbox.\n\nEvents:\n\n * `change-` {} - fires when the element is begin checked by a user action\n\n * `change` {} - on change\n\nAttributes:\n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `required-message` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `error-message` {`string`} - Custom error message.\n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperties:\n\n * `_value` {`string`} - \n\n * `labelPosition` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `_checked` {`boolean`} - \n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `indeterminate` {boolean} - Indeterminate state for the input.\n\n * `disabled` {boolean} - Disables the input.\n\n * `readonly` {boolean} - Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.\n\n * `_input` {`HTMLInputElement`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `inputRole` {`\"checkbox\" | \"switch\"`} - \n\n * `formAssociated` {boolean} - This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/\n\n * `name` {string} - This is a name property of the component.\n\n * `value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `_pristine` {`boolean`} - \n\n * `required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\n * `requiredMessage` {`string`} - Required validation message.\n\n * `error` {`boolean`} - Apply custom error on this input.\n\n * `errorMessage` {`string`} - Custom error message.\n\n * `_customValidityObject` {`UUIFormControlValidatorConfig | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `_internals` {`ElementInternals`} - \n\n * `pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\n * `label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\n * `_labelSlotHasContent` {`boolean`} - ",
|
|
3980
4005
|
"attributes": [
|
|
3981
4006
|
{
|
|
3982
4007
|
"name": "label-position",
|
|
@@ -4024,11 +4049,6 @@
|
|
|
4024
4049
|
"name": "value",
|
|
4025
4050
|
"description": "`value` {string} - intentional overwrite of FormControlMixins value getter and setter method.\n\nProperty: value\n\nDefault: ''"
|
|
4026
4051
|
},
|
|
4027
|
-
{
|
|
4028
|
-
"name": "pristine",
|
|
4029
|
-
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
4030
|
-
"valueSet": "v"
|
|
4031
|
-
},
|
|
4032
4052
|
{
|
|
4033
4053
|
"name": "required",
|
|
4034
4054
|
"description": "`required` {`boolean`} - Apply validation rule for requiring a value of this form control.\n\nProperty: required\n\nDefault: false",
|
|
@@ -4047,6 +4067,11 @@
|
|
|
4047
4067
|
"name": "error-message",
|
|
4048
4068
|
"description": "`error-message` {`string`} - Custom error message.\n\nProperty: errorMessage\n\nDefault: This field is invalid"
|
|
4049
4069
|
},
|
|
4070
|
+
{
|
|
4071
|
+
"name": "pristine",
|
|
4072
|
+
"description": "`pristine` {boolean} - Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.\n\nProperty: pristine\n\nDefault: true",
|
|
4073
|
+
"valueSet": "v"
|
|
4074
|
+
},
|
|
4050
4075
|
{
|
|
4051
4076
|
"name": "label",
|
|
4052
4077
|
"description": "`label` {string} - Label to be used for aria-label and potentially as visual label for some components\n\nProperty: label"
|