@db-ux/wc-core-components 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/db-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/db-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js.map +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +6 -5
- package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/db-navigation-item.entry.cjs.js.map +1 -1
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/db-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/db-select.cjs.entry.js +4 -4
- package/dist/cjs/db-select.cjs.entry.js.map +1 -1
- package/dist/cjs/db-select.entry.cjs.js.map +1 -1
- package/dist/cjs/db-switch.cjs.entry.js +2 -18
- package/dist/cjs/db-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/db-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/db-textarea.cjs.entry.js +3 -3
- package/dist/cjs/db-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/db-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +23 -23
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/input/input.js +28 -28
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/navigation-item/navigation-item.js +7 -6
- package/dist/collection/components/navigation-item/navigation-item.js.map +1 -1
- package/dist/collection/components/radio/radio.js +27 -27
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/select/select.js +24 -24
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/switch/model.js.map +1 -1
- package/dist/collection/components/switch/switch.js +50 -70
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +28 -28
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/shared/model.js.map +1 -1
- package/dist/custom-elements.json +291 -307
- package/dist/db-ux/db-checkbox.entry.esm.js.map +1 -1
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +1 -1
- package/dist/db-ux/db-navigation-item.entry.esm.js.map +1 -1
- package/dist/db-ux/db-radio.entry.esm.js.map +1 -1
- package/dist/db-ux/db-select.entry.esm.js.map +1 -1
- package/dist/db-ux/db-switch.entry.esm.js.map +1 -1
- package/dist/db-ux/db-textarea.entry.esm.js.map +1 -1
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js.map +1 -1
- package/dist/db-ux/{p-51f991c4.entry.js → p-2d389152.entry.js} +2 -2
- package/dist/db-ux/{p-51f991c4.entry.js.map → p-2d389152.entry.js.map} +1 -1
- package/dist/db-ux/p-684d11af.entry.js +2 -0
- package/dist/db-ux/p-684d11af.entry.js.map +1 -0
- package/dist/db-ux/{p-016e21b6.entry.js → p-77e5189c.entry.js} +2 -2
- package/dist/db-ux/{p-016e21b6.entry.js.map → p-77e5189c.entry.js.map} +1 -1
- package/dist/db-ux/{p-2f87bffd.entry.js → p-7ee7a06d.entry.js} +2 -2
- package/dist/db-ux/{p-2f87bffd.entry.js.map → p-7ee7a06d.entry.js.map} +1 -1
- package/dist/db-ux/p-81a85032.entry.js +2 -0
- package/dist/db-ux/{p-a258be18.entry.js.map → p-81a85032.entry.js.map} +1 -1
- package/dist/db-ux/p-90eef6ac.entry.js +2 -0
- package/dist/db-ux/p-90eef6ac.entry.js.map +1 -0
- package/dist/db-ux/{p-518d1a26.entry.js → p-fdb8daba.entry.js} +2 -2
- package/dist/db-ux/{p-518d1a26.entry.js.map → p-fdb8daba.entry.js.map} +1 -1
- package/dist/esm/db-checkbox.entry.js +2 -2
- package/dist/esm/db-checkbox.entry.js.map +1 -1
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +3 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js.map +1 -1
- package/dist/esm/db-navigation-item.entry.js +7 -6
- package/dist/esm/db-navigation-item.entry.js.map +1 -1
- package/dist/esm/db-radio.entry.js +3 -3
- package/dist/esm/db-radio.entry.js.map +1 -1
- package/dist/esm/db-select.entry.js +4 -4
- package/dist/esm/db-select.entry.js.map +1 -1
- package/dist/esm/db-switch.entry.js +3 -19
- package/dist/esm/db-switch.entry.js.map +1 -1
- package/dist/esm/db-textarea.entry.js +3 -3
- package/dist/esm/db-textarea.entry.js.map +1 -1
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/switch/model.d.ts +1 -3
- package/dist/types/components/switch/switch.d.ts +2 -5
- package/dist/types/components/textarea/textarea.d.ts +1 -1
- package/dist/types/shared/model.d.ts +1 -1
- package/dist/vscode.html-custom-data.json +35 -35
- package/dist/web-types.json +71 -72
- package/package.json +4 -4
- package/dist/db-ux/p-11228e58.entry.js +0 -2
- package/dist/db-ux/p-11228e58.entry.js.map +0 -1
- package/dist/db-ux/p-3cd03681.entry.js +0 -2
- package/dist/db-ux/p-3cd03681.entry.js.map +0 -1
- package/dist/db-ux/p-a258be18.entry.js +0 -2
|
@@ -21,11 +21,11 @@ export declare class DBCheckbox {
|
|
|
21
21
|
focus: EventEmitter<Parameters<Required<DBCheckboxProps>["onFocus"]>[number]> | void;
|
|
22
22
|
className: DBCheckboxProps["className"];
|
|
23
23
|
size: DBCheckboxProps["size"];
|
|
24
|
+
showRequiredAsterisk: DBCheckboxProps["showRequiredAsterisk"];
|
|
24
25
|
showLabel: DBCheckboxProps["showLabel"];
|
|
25
26
|
name: DBCheckboxProps["name"];
|
|
26
27
|
disabled: DBCheckboxProps["disabled"];
|
|
27
28
|
value: DBCheckboxProps["value"];
|
|
28
|
-
showRequiredAsterisk: DBCheckboxProps["showRequiredAsterisk"];
|
|
29
29
|
ariaDescribedBy: DBCheckboxProps["ariaDescribedBy"];
|
|
30
30
|
label: DBCheckboxProps["label"];
|
|
31
31
|
messageIcon: DBCheckboxProps["messageIcon"];
|
|
@@ -30,13 +30,13 @@ export declare class DBInput {
|
|
|
30
30
|
showIcon: DBInputProps["showIcon"];
|
|
31
31
|
icon: DBInputProps["icon"];
|
|
32
32
|
iconAfter: DBInputProps["iconAfter"];
|
|
33
|
+
showRequiredAsterisk: DBInputProps["showRequiredAsterisk"];
|
|
33
34
|
label: DBInputProps["label"];
|
|
34
35
|
fieldSizing: DBInputProps["fieldSizing"];
|
|
35
36
|
name: DBInputProps["name"];
|
|
36
37
|
type: DBInputProps["type"];
|
|
37
38
|
placeholder: DBInputProps["placeholder"];
|
|
38
39
|
disabled: DBInputProps["disabled"];
|
|
39
|
-
showRequiredAsterisk: DBInputProps["showRequiredAsterisk"];
|
|
40
40
|
step: DBInputProps["step"];
|
|
41
41
|
maxlength: DBInputProps["maxlength"];
|
|
42
42
|
minlength: DBInputProps["minlength"];
|
|
@@ -27,7 +27,7 @@ export declare class DBNavigationItem {
|
|
|
27
27
|
autoClose: boolean;
|
|
28
28
|
subNavigationId: string;
|
|
29
29
|
navigationItemSafeTriangle: any;
|
|
30
|
-
handleNavigationItemClick(event:
|
|
30
|
+
handleNavigationItemClick(event: any): void;
|
|
31
31
|
handleClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
32
32
|
handleBackClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
33
33
|
/**
|
|
@@ -14,6 +14,7 @@ export declare class DBRadio {
|
|
|
14
14
|
focus: EventEmitter<Parameters<Required<DBRadioProps>["onFocus"]>[number]> | void;
|
|
15
15
|
size: DBRadioProps["size"];
|
|
16
16
|
showLabel: DBRadioProps["showLabel"];
|
|
17
|
+
showRequiredAsterisk: DBRadioProps["showRequiredAsterisk"];
|
|
17
18
|
className: DBRadioProps["className"];
|
|
18
19
|
validation: DBRadioProps["validation"];
|
|
19
20
|
name: DBRadioProps["name"];
|
|
@@ -22,7 +23,6 @@ export declare class DBRadio {
|
|
|
22
23
|
ariaDescribedBy: DBRadioProps["ariaDescribedBy"];
|
|
23
24
|
value: DBRadioProps["value"];
|
|
24
25
|
required: DBRadioProps["required"];
|
|
25
|
-
showRequiredAsterisk: DBRadioProps["showRequiredAsterisk"];
|
|
26
26
|
label: DBRadioProps["label"];
|
|
27
27
|
initialized: boolean;
|
|
28
28
|
_id: any;
|
|
@@ -23,10 +23,10 @@ export declare class DBSelect {
|
|
|
23
23
|
className: DBSelectProps["className"];
|
|
24
24
|
variant: DBSelectProps["variant"];
|
|
25
25
|
showLabel: DBSelectProps["showLabel"];
|
|
26
|
+
showRequiredAsterisk: DBSelectProps["showRequiredAsterisk"];
|
|
26
27
|
icon: DBSelectProps["icon"];
|
|
27
28
|
showIcon: DBSelectProps["showIcon"];
|
|
28
29
|
label: DBSelectProps["label"];
|
|
29
|
-
showRequiredAsterisk: DBSelectProps["showRequiredAsterisk"];
|
|
30
30
|
disabled: DBSelectProps["disabled"];
|
|
31
31
|
name: DBSelectProps["name"];
|
|
32
32
|
size: DBSelectProps["size"];
|
|
@@ -6,7 +6,5 @@ export type DBSwitchDefaultProps = {
|
|
|
6
6
|
visualAid?: boolean | string;
|
|
7
7
|
};
|
|
8
8
|
export type DBSwitchProps = DBSwitchDefaultProps & GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & EmphasisProps & SizeProps & IconProps & IconAfterProps;
|
|
9
|
-
export type DBSwitchDefaultState = {
|
|
10
|
-
_checked?: boolean;
|
|
11
|
-
};
|
|
9
|
+
export type DBSwitchDefaultState = {};
|
|
12
10
|
export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState;
|
|
@@ -8,7 +8,6 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
8
8
|
export declare class DBSwitch {
|
|
9
9
|
private _ref;
|
|
10
10
|
id: DBSwitchProps["id"];
|
|
11
|
-
checked: DBSwitchProps["checked"];
|
|
12
11
|
change: EventEmitter<Parameters<Required<DBSwitchProps>["onChange"]>[number]> | void;
|
|
13
12
|
blur: EventEmitter<Parameters<Required<DBSwitchProps>["onBlur"]>[number]> | void;
|
|
14
13
|
focus: EventEmitter<Parameters<Required<DBSwitchProps>["onFocus"]>[number]> | void;
|
|
@@ -16,7 +15,9 @@ export declare class DBSwitch {
|
|
|
16
15
|
size: DBSwitchProps["size"];
|
|
17
16
|
showLabel: DBSwitchProps["showLabel"];
|
|
18
17
|
emphasis: DBSwitchProps["emphasis"];
|
|
18
|
+
showRequiredAsterisk: DBSwitchProps["showRequiredAsterisk"];
|
|
19
19
|
className: DBSwitchProps["className"];
|
|
20
|
+
checked: DBSwitchProps["checked"];
|
|
20
21
|
value: DBSwitchProps["value"];
|
|
21
22
|
disabled: DBSwitchProps["disabled"];
|
|
22
23
|
describedbyid: DBSwitchProps["describedbyid"];
|
|
@@ -24,12 +25,10 @@ export declare class DBSwitch {
|
|
|
24
25
|
validation: DBSwitchProps["validation"];
|
|
25
26
|
name: DBSwitchProps["name"];
|
|
26
27
|
required: DBSwitchProps["required"];
|
|
27
|
-
showRequiredAsterisk: DBSwitchProps["showRequiredAsterisk"];
|
|
28
28
|
icon: DBSwitchProps["icon"];
|
|
29
29
|
iconAfter: DBSwitchProps["iconAfter"];
|
|
30
30
|
label: DBSwitchProps["label"];
|
|
31
31
|
_id: any;
|
|
32
|
-
_checked: boolean;
|
|
33
32
|
handleChange(event: ChangeEvent<HTMLInputElement>): void;
|
|
34
33
|
handleBlur(event: InteractionEvent<HTMLInputElement>): void;
|
|
35
34
|
handleFocus(event: InteractionEvent<HTMLInputElement>): void;
|
|
@@ -39,8 +38,6 @@ export declare class DBSwitch {
|
|
|
39
38
|
* @param customElementSelector the custom element like `my-component`
|
|
40
39
|
*/
|
|
41
40
|
private enableAttributePassing;
|
|
42
|
-
watch0Fn(): void;
|
|
43
|
-
watch0(): void;
|
|
44
41
|
componentDidLoad(): void;
|
|
45
42
|
render(): any;
|
|
46
43
|
}
|
|
@@ -23,13 +23,13 @@ export declare class DBTextarea {
|
|
|
23
23
|
focus: EventEmitter<Parameters<Required<DBTextareaProps>["onFocus"]>[number]> | void;
|
|
24
24
|
className: DBTextareaProps["className"];
|
|
25
25
|
variant: DBTextareaProps["variant"];
|
|
26
|
+
showRequiredAsterisk: DBTextareaProps["showRequiredAsterisk"];
|
|
26
27
|
showLabel: DBTextareaProps["showLabel"];
|
|
27
28
|
label: DBTextareaProps["label"];
|
|
28
29
|
fieldSizing: DBTextareaProps["fieldSizing"];
|
|
29
30
|
resize: DBTextareaProps["resize"];
|
|
30
31
|
showResizer: DBTextareaProps["showResizer"];
|
|
31
32
|
disabled: DBTextareaProps["disabled"];
|
|
32
|
-
showRequiredAsterisk: DBTextareaProps["showRequiredAsterisk"];
|
|
33
33
|
readOnly: DBTextareaProps["readOnly"];
|
|
34
34
|
readonly: DBTextareaProps["readonly"];
|
|
35
35
|
form: DBTextareaProps["form"];
|
|
@@ -437,6 +437,11 @@
|
|
|
437
437
|
"description": "The size attribute changes the font-size and other related sizes of the component.",
|
|
438
438
|
"values": [{ "name": "small" }, { "name": "medium" }]
|
|
439
439
|
},
|
|
440
|
+
{
|
|
441
|
+
"name": "show-required-asterisk",
|
|
442
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
443
|
+
"values": []
|
|
444
|
+
},
|
|
440
445
|
{
|
|
441
446
|
"name": "show-label",
|
|
442
447
|
"description": "Enables/disables the visibility of the label",
|
|
@@ -457,11 +462,6 @@
|
|
|
457
462
|
"description": "The value property is to receive results from the native form element.",
|
|
458
463
|
"values": []
|
|
459
464
|
},
|
|
460
|
-
{
|
|
461
|
-
"name": "show-required-asterisk",
|
|
462
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
463
|
-
"values": []
|
|
464
|
-
},
|
|
465
465
|
{
|
|
466
466
|
"name": "aria-described-by",
|
|
467
467
|
"description": "Overwrites auto handling for aria-describedby.",
|
|
@@ -700,6 +700,11 @@
|
|
|
700
700
|
"description": "Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.",
|
|
701
701
|
"values": [{ "name": "IconTypes" }]
|
|
702
702
|
},
|
|
703
|
+
{
|
|
704
|
+
"name": "show-required-asterisk",
|
|
705
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
706
|
+
"values": []
|
|
707
|
+
},
|
|
703
708
|
{
|
|
704
709
|
"name": "label",
|
|
705
710
|
"description": "The label attribute specifies the caption of the form element.",
|
|
@@ -747,11 +752,6 @@
|
|
|
747
752
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
748
753
|
"values": []
|
|
749
754
|
},
|
|
750
|
-
{
|
|
751
|
-
"name": "show-required-asterisk",
|
|
752
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
753
|
-
"values": []
|
|
754
|
-
},
|
|
755
755
|
{
|
|
756
756
|
"name": "step",
|
|
757
757
|
"description": "Sets [step value](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step).",
|
|
@@ -1876,6 +1876,11 @@
|
|
|
1876
1876
|
"description": "Enables/disables the visibility of the label",
|
|
1877
1877
|
"values": []
|
|
1878
1878
|
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "show-required-asterisk",
|
|
1881
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
1882
|
+
"values": []
|
|
1883
|
+
},
|
|
1879
1884
|
{
|
|
1880
1885
|
"name": "classname",
|
|
1881
1886
|
"description": "React specific for adding className to the component.",
|
|
@@ -1916,11 +1921,6 @@
|
|
|
1916
1921
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
1917
1922
|
"values": []
|
|
1918
1923
|
},
|
|
1919
|
-
{
|
|
1920
|
-
"name": "show-required-asterisk",
|
|
1921
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
1922
|
-
"values": []
|
|
1923
|
-
},
|
|
1924
1924
|
{
|
|
1925
1925
|
"name": "label",
|
|
1926
1926
|
"description": "The label attribute specifies the caption of the form element.",
|
|
@@ -2029,6 +2029,11 @@
|
|
|
2029
2029
|
"description": "Enables/disables the visibility of the label",
|
|
2030
2030
|
"values": []
|
|
2031
2031
|
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "show-required-asterisk",
|
|
2034
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2035
|
+
"values": []
|
|
2036
|
+
},
|
|
2032
2037
|
{
|
|
2033
2038
|
"name": "icon",
|
|
2034
2039
|
"description": "Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.",
|
|
@@ -2044,11 +2049,6 @@
|
|
|
2044
2049
|
"description": "The label attribute specifies the caption of the form element.",
|
|
2045
2050
|
"values": []
|
|
2046
2051
|
},
|
|
2047
|
-
{
|
|
2048
|
-
"name": "show-required-asterisk",
|
|
2049
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2050
|
-
"values": []
|
|
2051
|
-
},
|
|
2052
2052
|
{
|
|
2053
2053
|
"name": "disabled",
|
|
2054
2054
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
@@ -2224,11 +2224,6 @@
|
|
|
2224
2224
|
"description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
|
|
2225
2225
|
"values": []
|
|
2226
2226
|
},
|
|
2227
|
-
{
|
|
2228
|
-
"name": "checked",
|
|
2229
|
-
"description": "Define the radio or checkbox elements checked state",
|
|
2230
|
-
"values": []
|
|
2231
|
-
},
|
|
2232
2227
|
{
|
|
2233
2228
|
"name": "visual-aid",
|
|
2234
2229
|
"description": "Add additional icons to indicate active/inactive state.",
|
|
@@ -2249,11 +2244,21 @@
|
|
|
2249
2244
|
"description": "The emphasis attribute divides in between a weak or strong importance.",
|
|
2250
2245
|
"values": [{ "name": "weak" }, { "name": "strong" }]
|
|
2251
2246
|
},
|
|
2247
|
+
{
|
|
2248
|
+
"name": "show-required-asterisk",
|
|
2249
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2250
|
+
"values": []
|
|
2251
|
+
},
|
|
2252
2252
|
{
|
|
2253
2253
|
"name": "classname",
|
|
2254
2254
|
"description": "React specific for adding className to the component.",
|
|
2255
2255
|
"values": []
|
|
2256
2256
|
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "checked",
|
|
2259
|
+
"description": "Define the radio or checkbox elements checked state",
|
|
2260
|
+
"values": []
|
|
2261
|
+
},
|
|
2257
2262
|
{
|
|
2258
2263
|
"name": "value",
|
|
2259
2264
|
"description": "The value property is to receive results from the native form element.",
|
|
@@ -2289,11 +2294,6 @@
|
|
|
2289
2294
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
2290
2295
|
"values": []
|
|
2291
2296
|
},
|
|
2292
|
-
{
|
|
2293
|
-
"name": "show-required-asterisk",
|
|
2294
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2295
|
-
"values": []
|
|
2296
|
-
},
|
|
2297
2297
|
{
|
|
2298
2298
|
"name": "icon",
|
|
2299
2299
|
"description": "Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.",
|
|
@@ -2553,6 +2553,11 @@
|
|
|
2553
2553
|
"description": "Change the variant of the label to float or hidden",
|
|
2554
2554
|
"values": [{ "name": "above" }, { "name": "floating" }]
|
|
2555
2555
|
},
|
|
2556
|
+
{
|
|
2557
|
+
"name": "show-required-asterisk",
|
|
2558
|
+
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2559
|
+
"values": []
|
|
2560
|
+
},
|
|
2556
2561
|
{
|
|
2557
2562
|
"name": "show-label",
|
|
2558
2563
|
"description": "Enables/disables the visibility of the label",
|
|
@@ -2588,11 +2593,6 @@
|
|
|
2588
2593
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
2589
2594
|
"values": []
|
|
2590
2595
|
},
|
|
2591
|
-
{
|
|
2592
|
-
"name": "show-required-asterisk",
|
|
2593
|
-
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
2594
|
-
"values": []
|
|
2595
|
-
},
|
|
2596
2596
|
{
|
|
2597
2597
|
"name": "read-only",
|
|
2598
2598
|
"description": "The disabled attribute can be set to keep a user from edit on the form element",
|