@momentum-design/components 0.120.31 → 0.120.33
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/browser/index.js +227 -367
- package/dist/browser/index.js.map +2 -2
- package/dist/components/checkbox/checkbox.component.d.ts +2 -0
- package/dist/components/checkbox/checkbox.component.js +3 -0
- package/dist/components/checkbox/checkbox.styles.js +14 -52
- package/dist/components/combobox/combobox.component.d.ts +1 -0
- package/dist/components/combobox/combobox.component.js +1 -0
- package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +1 -0
- package/dist/components/formfieldgroup/formfieldgroup.component.js +1 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +1 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +1 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +8 -4
- package/dist/components/input/input.component.d.ts +1 -0
- package/dist/components/input/input.component.js +1 -0
- package/dist/components/password/password.component.d.ts +1 -0
- package/dist/components/password/password.component.js +1 -0
- package/dist/components/progressbar/progressbar.component.d.ts +1 -0
- package/dist/components/progressbar/progressbar.component.js +1 -0
- package/dist/components/radio/radio.component.d.ts +5 -8
- package/dist/components/radio/radio.component.js +6 -8
- package/dist/components/radio/radio.styles.js +16 -74
- package/dist/components/searchfield/searchfield.component.d.ts +1 -0
- package/dist/components/searchfield/searchfield.component.js +1 -0
- package/dist/components/select/select.component.d.ts +1 -0
- package/dist/components/select/select.component.js +1 -0
- package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +4 -9
- package/dist/components/staticcheckbox/staticcheckbox.component.js +4 -9
- package/dist/components/staticcheckbox/staticcheckbox.styles.js +54 -56
- package/dist/components/staticradio/staticradio.component.d.ts +5 -12
- package/dist/components/staticradio/staticradio.component.js +5 -12
- package/dist/components/staticradio/staticradio.styles.js +65 -58
- package/dist/components/statictoggle/statictoggle.component.d.ts +7 -15
- package/dist/components/statictoggle/statictoggle.component.js +7 -15
- package/dist/components/statictoggle/statictoggle.styles.js +55 -64
- package/dist/components/textarea/textarea.component.d.ts +1 -0
- package/dist/components/textarea/textarea.component.js +1 -0
- package/dist/components/toggle/toggle.component.d.ts +8 -11
- package/dist/components/toggle/toggle.component.js +10 -13
- package/dist/components/toggle/toggle.styles.js +12 -58
- package/dist/custom-elements.json +1099 -1083
- package/dist/react/checkbox/index.d.ts +2 -0
- package/dist/react/checkbox/index.js +2 -0
- package/dist/react/combobox/index.d.ts +1 -0
- package/dist/react/combobox/index.js +1 -0
- package/dist/react/formfieldgroup/index.d.ts +1 -0
- package/dist/react/formfieldgroup/index.js +1 -0
- package/dist/react/formfieldwrapper/index.d.ts +1 -0
- package/dist/react/formfieldwrapper/index.js +1 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/input/index.d.ts +1 -0
- package/dist/react/input/index.js +1 -0
- package/dist/react/password/index.d.ts +1 -0
- package/dist/react/password/index.js +1 -0
- package/dist/react/progressbar/index.d.ts +1 -0
- package/dist/react/progressbar/index.js +1 -0
- package/dist/react/radio/index.d.ts +5 -8
- package/dist/react/radio/index.js +5 -8
- package/dist/react/searchfield/index.d.ts +1 -0
- package/dist/react/searchfield/index.js +1 -0
- package/dist/react/select/index.d.ts +1 -0
- package/dist/react/select/index.js +1 -0
- package/dist/react/staticcheckbox/index.d.ts +4 -9
- package/dist/react/staticcheckbox/index.js +4 -9
- package/dist/react/staticradio/index.d.ts +5 -12
- package/dist/react/staticradio/index.js +5 -12
- package/dist/react/statictoggle/index.d.ts +7 -15
- package/dist/react/statictoggle/index.js +7 -15
- package/dist/react/textarea/index.d.ts +1 -0
- package/dist/react/textarea/index.js +1 -0
- package/dist/react/toggle/index.d.ts +8 -11
- package/dist/react/toggle/index.js +8 -11
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ import type { Events } from '../../components/checkbox/checkbox.types';
|
|
|
33
33
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
34
34
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
35
35
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
36
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
36
37
|
*
|
|
37
38
|
* @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
|
|
38
39
|
* @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.
|
|
@@ -49,6 +50,7 @@ import type { Events } from '../../components/checkbox/checkbox.types';
|
|
|
49
50
|
* @csspart help-text-container - The container for the helper/validation icon and text elements.
|
|
50
51
|
* @csspart checkbox-input - The native checkbox input element.
|
|
51
52
|
* @csspart text-container - The container for the label and helper text elements.
|
|
53
|
+
* @csspart static-checkbox - The static checkbox element.
|
|
52
54
|
*/
|
|
53
55
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
|
54
56
|
onChange: EventName<Events["onChangeEvent"]>;
|
|
@@ -34,6 +34,7 @@ import { TAG_NAME } from '../../components/checkbox/checkbox.constants';
|
|
|
34
34
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
35
35
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
36
36
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
37
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
37
38
|
*
|
|
38
39
|
* @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
|
|
39
40
|
* @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.
|
|
@@ -50,6 +51,7 @@ import { TAG_NAME } from '../../components/checkbox/checkbox.constants';
|
|
|
50
51
|
* @csspart help-text-container - The container for the helper/validation icon and text elements.
|
|
51
52
|
* @csspart checkbox-input - The native checkbox input element.
|
|
52
53
|
* @csspart text-container - The container for the label and helper text elements.
|
|
54
|
+
* @csspart static-checkbox - The static checkbox element.
|
|
53
55
|
*/
|
|
54
56
|
const reactWrapper = createComponent({
|
|
55
57
|
tagName: TAG_NAME,
|
|
@@ -58,6 +58,7 @@ import type { Events } from '../../components/combobox/combobox.types';
|
|
|
58
58
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
59
59
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
60
60
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
61
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
61
62
|
*
|
|
62
63
|
* @csspart label - The label element.
|
|
63
64
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -59,6 +59,7 @@ import { TAG_NAME } from '../../components/combobox/combobox.constants';
|
|
|
59
59
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
60
60
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
61
61
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
62
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
62
63
|
*
|
|
63
64
|
* @csspart label - The label element.
|
|
64
65
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -47,6 +47,7 @@ import Component from '../../components/formfieldgroup';
|
|
|
47
47
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
48
48
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
49
49
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
50
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
50
51
|
*/
|
|
51
52
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
|
52
53
|
export default reactWrapper;
|
|
@@ -50,6 +50,7 @@ import { TAG_NAME } from '../../components/formfieldgroup/formfieldgroup.constan
|
|
|
50
50
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
51
51
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
52
52
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
53
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
53
54
|
*/
|
|
54
55
|
const reactWrapper = createComponent({
|
|
55
56
|
tagName: TAG_NAME,
|
|
@@ -33,6 +33,7 @@ import Component from '../../components/formfieldwrapper';
|
|
|
33
33
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
34
34
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
35
35
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
36
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
36
37
|
*/
|
|
37
38
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
|
38
39
|
export default reactWrapper;
|
|
@@ -36,6 +36,7 @@ import { TAG_NAME } from '../../components/formfieldwrapper/formfieldwrapper.con
|
|
|
36
36
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
37
37
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
38
38
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
39
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
39
40
|
*/
|
|
40
41
|
const reactWrapper = createComponent({
|
|
41
42
|
tagName: TAG_NAME,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export { default as Avatar } from './avatar';
|
|
|
9
9
|
export { default as AvatarButton } from './avatarbutton';
|
|
10
10
|
export { default as Badge } from './badge';
|
|
11
11
|
export { default as Banner } from './banner';
|
|
12
|
+
export { default as Brandvisual } from './brandvisual';
|
|
12
13
|
export { default as Bullet } from './bullet';
|
|
13
14
|
export { default as Button } from './button';
|
|
14
|
-
export { default as Brandvisual } from './brandvisual';
|
|
15
15
|
export { default as ButtonGroup } from './buttongroup';
|
|
16
16
|
export { default as ButtonLink } from './buttonlink';
|
|
17
17
|
export { default as Buttonsimple } from './buttonsimple';
|
|
18
|
-
export { default as Card } from './card';
|
|
19
18
|
export { default as CardButton } from './cardbutton';
|
|
19
|
+
export { default as Card } from './card';
|
|
20
20
|
export { default as CardCheckbox } from './cardcheckbox';
|
|
21
21
|
export { default as CardRadio } from './cardradio';
|
|
22
22
|
export { default as Checkbox } from './checkbox';
|
|
@@ -81,7 +81,7 @@ export { default as Textarea } from './textarea';
|
|
|
81
81
|
export { default as ThemeProvider } from './themeprovider';
|
|
82
82
|
export { default as Toast } from './toast';
|
|
83
83
|
export { default as Toggle } from './toggle';
|
|
84
|
-
export { default as Tooltip } from './tooltip';
|
|
85
84
|
export { default as ToggleTip } from './toggletip';
|
|
85
|
+
export { default as Tooltip } from './tooltip';
|
|
86
86
|
export { default as Typewriter } from './typewriter';
|
|
87
87
|
export { default as VirtualizedList } from './virtualizedlist';
|
package/dist/react/index.js
CHANGED
|
@@ -9,14 +9,14 @@ export { default as Avatar } from './avatar';
|
|
|
9
9
|
export { default as AvatarButton } from './avatarbutton';
|
|
10
10
|
export { default as Badge } from './badge';
|
|
11
11
|
export { default as Banner } from './banner';
|
|
12
|
+
export { default as Brandvisual } from './brandvisual';
|
|
12
13
|
export { default as Bullet } from './bullet';
|
|
13
14
|
export { default as Button } from './button';
|
|
14
|
-
export { default as Brandvisual } from './brandvisual';
|
|
15
15
|
export { default as ButtonGroup } from './buttongroup';
|
|
16
16
|
export { default as ButtonLink } from './buttonlink';
|
|
17
17
|
export { default as Buttonsimple } from './buttonsimple';
|
|
18
|
-
export { default as Card } from './card';
|
|
19
18
|
export { default as CardButton } from './cardbutton';
|
|
19
|
+
export { default as Card } from './card';
|
|
20
20
|
export { default as CardCheckbox } from './cardcheckbox';
|
|
21
21
|
export { default as CardRadio } from './cardradio';
|
|
22
22
|
export { default as Checkbox } from './checkbox';
|
|
@@ -81,7 +81,7 @@ export { default as Textarea } from './textarea';
|
|
|
81
81
|
export { default as ThemeProvider } from './themeprovider';
|
|
82
82
|
export { default as Toast } from './toast';
|
|
83
83
|
export { default as Toggle } from './toggle';
|
|
84
|
-
export { default as Tooltip } from './tooltip';
|
|
85
84
|
export { default as ToggleTip } from './toggletip';
|
|
85
|
+
export { default as Tooltip } from './tooltip';
|
|
86
86
|
export { default as Typewriter } from './typewriter';
|
|
87
87
|
export { default as VirtualizedList } from './virtualizedlist';
|
|
@@ -43,6 +43,7 @@ import type { Events } from '../../components/input/input.types';
|
|
|
43
43
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
44
44
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
45
45
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
46
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
46
47
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
47
48
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
48
49
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -44,6 +44,7 @@ import { TAG_NAME } from '../../components/input/input.constants';
|
|
|
44
44
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
45
45
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
46
46
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
47
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
47
48
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
48
49
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
49
50
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -51,6 +51,7 @@ import type { Events as EventsInherited } from '../../components/input/input.typ
|
|
|
51
51
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
52
52
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
53
53
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
54
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
54
55
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
55
56
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
56
57
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -52,6 +52,7 @@ import { TAG_NAME } from '../../components/password/password.constants';
|
|
|
52
52
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
53
53
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
54
54
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
55
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
55
56
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
56
57
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
57
58
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -30,6 +30,7 @@ import Component from '../../components/progressbar';
|
|
|
30
30
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
31
31
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
32
32
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
33
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
33
34
|
* @cssproperty --mdc-progressbar-background-color - Background color of the remaining progressbar portion.
|
|
34
35
|
* @cssproperty --mdc-progressbar-progress-background-color - Background color of the elapsed progressbar portion.
|
|
35
36
|
* @cssproperty --mdc-progressbar-height - The height of the progressbar.
|
|
@@ -33,6 +33,7 @@ import { TAG_NAME } from '../../components/progressbar/progressbar.constants';
|
|
|
33
33
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
34
34
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
35
35
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
36
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
36
37
|
* @cssproperty --mdc-progressbar-background-color - Background color of the remaining progressbar portion.
|
|
37
38
|
* @cssproperty --mdc-progressbar-progress-background-color - Background color of the elapsed progressbar portion.
|
|
38
39
|
* @cssproperty --mdc-progressbar-height - The height of the progressbar.
|
|
@@ -18,14 +18,11 @@ import type { Events } from '../../components/radio/radio.types';
|
|
|
18
18
|
* @event change - (React: onChange) Event that gets dispatched when the radio state changes.
|
|
19
19
|
* @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.
|
|
20
20
|
*
|
|
21
|
-
* @cssproperty --mdc-radio-
|
|
22
|
-
* @cssproperty --mdc-radio-
|
|
23
|
-
* @cssproperty --mdc-radio-
|
|
24
|
-
* @cssproperty --mdc-radio-
|
|
25
|
-
* @cssproperty --mdc-radio-
|
|
26
|
-
* @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled
|
|
27
|
-
* @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled
|
|
28
|
-
* @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled
|
|
21
|
+
* @cssproperty --mdc-radio-inner-circle-size - size of the inner circle
|
|
22
|
+
* @cssproperty --mdc-radio-outer-circle-size - size of the outer circle
|
|
23
|
+
* @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle
|
|
24
|
+
* @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle
|
|
25
|
+
* @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle
|
|
29
26
|
*
|
|
30
27
|
* @csspart label - The label element.
|
|
31
28
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -19,14 +19,11 @@ import { TAG_NAME } from '../../components/radio/radio.constants';
|
|
|
19
19
|
* @event change - (React: onChange) Event that gets dispatched when the radio state changes.
|
|
20
20
|
* @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.
|
|
21
21
|
*
|
|
22
|
-
* @cssproperty --mdc-radio-
|
|
23
|
-
* @cssproperty --mdc-radio-
|
|
24
|
-
* @cssproperty --mdc-radio-
|
|
25
|
-
* @cssproperty --mdc-radio-
|
|
26
|
-
* @cssproperty --mdc-radio-
|
|
27
|
-
* @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled
|
|
28
|
-
* @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled
|
|
29
|
-
* @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled
|
|
22
|
+
* @cssproperty --mdc-radio-inner-circle-size - size of the inner circle
|
|
23
|
+
* @cssproperty --mdc-radio-outer-circle-size - size of the outer circle
|
|
24
|
+
* @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle
|
|
25
|
+
* @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle
|
|
26
|
+
* @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle
|
|
30
27
|
*
|
|
31
28
|
* @csspart label - The label element.
|
|
32
29
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -34,6 +34,7 @@ import type { Events as EventsInherited } from '../../components/input/input.typ
|
|
|
34
34
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
35
35
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
36
36
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
37
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
37
38
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
38
39
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
39
40
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -35,6 +35,7 @@ import { TAG_NAME } from '../../components/searchfield/searchfield.constants';
|
|
|
35
35
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
36
36
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
37
37
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
38
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
38
39
|
* @cssproperty --mdc-input-text-color - Text color for the input field
|
|
39
40
|
* @cssproperty --mdc-input-border-color - Border color for the input container
|
|
40
41
|
* @cssproperty --mdc-input-background-color - Background color for the input field
|
|
@@ -52,6 +52,7 @@ import type { Events } from '../../components/select/select.types';
|
|
|
52
52
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
53
53
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
54
54
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
55
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
55
56
|
* @cssproperty --mdc-select-background-color - The background color of the combobox of select.
|
|
56
57
|
* @cssproperty --mdc-select-text-color - The text color of the select.
|
|
57
58
|
* @cssproperty --mdc-select-border-color - The border color of the select.
|
|
@@ -53,6 +53,7 @@ import { TAG_NAME } from '../../components/select/select.constants';
|
|
|
53
53
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
54
54
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
55
55
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
56
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
56
57
|
* @cssproperty --mdc-select-background-color - The background color of the combobox of select.
|
|
57
58
|
* @cssproperty --mdc-select-text-color - The text color of the select.
|
|
58
59
|
* @cssproperty --mdc-select-border-color - The border color of the select.
|
|
@@ -10,15 +10,10 @@ import Component from '../../components/staticcheckbox';
|
|
|
10
10
|
*
|
|
11
11
|
* @dependency mdc-icon
|
|
12
12
|
*
|
|
13
|
-
* @cssproperty --mdc-
|
|
14
|
-
* @cssproperty --mdc-
|
|
15
|
-
* @cssproperty --mdc-
|
|
16
|
-
* @cssproperty --mdc-checkbox-
|
|
17
|
-
* @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.
|
|
18
|
-
* @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.
|
|
19
|
-
* @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.
|
|
20
|
-
* @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.
|
|
21
|
-
* @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.
|
|
13
|
+
* @cssproperty --mdc-checkbox-border-color - Controls the border color of the checkbox.
|
|
14
|
+
* @cssproperty --mdc-checkbox-background-color - Controls the background color of the checkbox.
|
|
15
|
+
* @cssproperty --mdc-checkbox-icon-color - Controls the icon color of the checkbox.
|
|
16
|
+
* @cssproperty --mdc-checkbox-size - Controls the size of the checkbox.
|
|
22
17
|
*
|
|
23
18
|
* @csspart icon-container - The container for the checkbox icon.
|
|
24
19
|
* @csspart checkbox-icon - The checkbox icon.
|
|
@@ -13,15 +13,10 @@ import { TAG_NAME } from '../../components/staticcheckbox/staticcheckbox.constan
|
|
|
13
13
|
*
|
|
14
14
|
* @dependency mdc-icon
|
|
15
15
|
*
|
|
16
|
-
* @cssproperty --mdc-
|
|
17
|
-
* @cssproperty --mdc-
|
|
18
|
-
* @cssproperty --mdc-
|
|
19
|
-
* @cssproperty --mdc-checkbox-
|
|
20
|
-
* @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.
|
|
21
|
-
* @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.
|
|
22
|
-
* @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.
|
|
23
|
-
* @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.
|
|
24
|
-
* @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.
|
|
16
|
+
* @cssproperty --mdc-checkbox-border-color - Controls the border color of the checkbox.
|
|
17
|
+
* @cssproperty --mdc-checkbox-background-color - Controls the background color of the checkbox.
|
|
18
|
+
* @cssproperty --mdc-checkbox-icon-color - Controls the icon color of the checkbox.
|
|
19
|
+
* @cssproperty --mdc-checkbox-size - Controls the size of the checkbox.
|
|
25
20
|
*
|
|
26
21
|
* @csspart icon-container - The container for the checkbox icon.
|
|
27
22
|
* @csspart checkbox-icon - The checkbox icon.
|
|
@@ -7,18 +7,11 @@ import Component from '../../components/staticradio';
|
|
|
7
7
|
*
|
|
8
8
|
* @tagname mdc-staticradio
|
|
9
9
|
*
|
|
10
|
-
* @cssproperty --mdc-
|
|
11
|
-
* @cssproperty --mdc-
|
|
12
|
-
* @cssproperty --mdc-
|
|
13
|
-
* @cssproperty --mdc-
|
|
14
|
-
* @cssproperty --mdc-
|
|
15
|
-
* @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled
|
|
16
|
-
* @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive
|
|
17
|
-
* @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when
|
|
18
|
-
* inactive and disabled
|
|
19
|
-
* @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active
|
|
20
|
-
* @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button
|
|
21
|
-
* when active and disabled
|
|
10
|
+
* @cssproperty --mdc-radio-inner-circle-size - size of the inner circle
|
|
11
|
+
* @cssproperty --mdc-radio-outer-circle-size - size of the outer circle
|
|
12
|
+
* @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle
|
|
13
|
+
* @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle
|
|
14
|
+
* @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle
|
|
22
15
|
*
|
|
23
16
|
* @csspart radio-icon - The radio icon.
|
|
24
17
|
*
|
|
@@ -10,18 +10,11 @@ import { TAG_NAME } from '../../components/staticradio/staticradio.constants';
|
|
|
10
10
|
*
|
|
11
11
|
* @tagname mdc-staticradio
|
|
12
12
|
*
|
|
13
|
-
* @cssproperty --mdc-
|
|
14
|
-
* @cssproperty --mdc-
|
|
15
|
-
* @cssproperty --mdc-
|
|
16
|
-
* @cssproperty --mdc-
|
|
17
|
-
* @cssproperty --mdc-
|
|
18
|
-
* @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled
|
|
19
|
-
* @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive
|
|
20
|
-
* @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when
|
|
21
|
-
* inactive and disabled
|
|
22
|
-
* @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active
|
|
23
|
-
* @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button
|
|
24
|
-
* when active and disabled
|
|
13
|
+
* @cssproperty --mdc-radio-inner-circle-size - size of the inner circle
|
|
14
|
+
* @cssproperty --mdc-radio-outer-circle-size - size of the outer circle
|
|
15
|
+
* @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle
|
|
16
|
+
* @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle
|
|
17
|
+
* @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle
|
|
25
18
|
*
|
|
26
19
|
* @csspart radio-icon - The radio icon.
|
|
27
20
|
*
|
|
@@ -10,21 +10,13 @@ import Component from '../../components/statictoggle';
|
|
|
10
10
|
*
|
|
11
11
|
* @slot default - This is a default/unnamed slot
|
|
12
12
|
*
|
|
13
|
-
* @cssproperty --mdc-
|
|
14
|
-
* @cssproperty --mdc-
|
|
15
|
-
* @cssproperty --mdc-
|
|
16
|
-
* @cssproperty --mdc-
|
|
17
|
-
* @cssproperty --mdc-
|
|
18
|
-
* @cssproperty --mdc-
|
|
19
|
-
* @cssproperty --mdc-
|
|
20
|
-
* @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state
|
|
21
|
-
* @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state
|
|
22
|
-
* @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state
|
|
23
|
-
* @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state
|
|
24
|
-
* @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state
|
|
25
|
-
* @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state
|
|
26
|
-
* @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state
|
|
27
|
-
* @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state
|
|
13
|
+
* @cssproperty --mdc-toggle-width - The width of the toggle
|
|
14
|
+
* @cssproperty --mdc-toggle-height - The height of the toggle
|
|
15
|
+
* @cssproperty --mdc-toggle-border-radius - The border radius of the toggle
|
|
16
|
+
* @cssproperty --mdc-toggle-border-color - The border color of the toggle
|
|
17
|
+
* @cssproperty --mdc-toggle-background-color - The background color of the toggle
|
|
18
|
+
* @cssproperty --mdc-toggle-icon-color - The icon color of the toggle
|
|
19
|
+
* @cssproperty --mdc-toggle-icon-background-color - The icon background color of the toggle
|
|
28
20
|
*
|
|
29
21
|
* @csspart slider - The slider part of the toggle
|
|
30
22
|
* @csspart toggle-icon - The icon part of the toggle
|
|
@@ -13,21 +13,13 @@ import { TAG_NAME } from '../../components/statictoggle/statictoggle.constants';
|
|
|
13
13
|
*
|
|
14
14
|
* @slot default - This is a default/unnamed slot
|
|
15
15
|
*
|
|
16
|
-
* @cssproperty --mdc-
|
|
17
|
-
* @cssproperty --mdc-
|
|
18
|
-
* @cssproperty --mdc-
|
|
19
|
-
* @cssproperty --mdc-
|
|
20
|
-
* @cssproperty --mdc-
|
|
21
|
-
* @cssproperty --mdc-
|
|
22
|
-
* @cssproperty --mdc-
|
|
23
|
-
* @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state
|
|
24
|
-
* @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state
|
|
25
|
-
* @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state
|
|
26
|
-
* @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state
|
|
27
|
-
* @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state
|
|
28
|
-
* @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state
|
|
29
|
-
* @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state
|
|
30
|
-
* @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state
|
|
16
|
+
* @cssproperty --mdc-toggle-width - The width of the toggle
|
|
17
|
+
* @cssproperty --mdc-toggle-height - The height of the toggle
|
|
18
|
+
* @cssproperty --mdc-toggle-border-radius - The border radius of the toggle
|
|
19
|
+
* @cssproperty --mdc-toggle-border-color - The border color of the toggle
|
|
20
|
+
* @cssproperty --mdc-toggle-background-color - The background color of the toggle
|
|
21
|
+
* @cssproperty --mdc-toggle-icon-color - The icon color of the toggle
|
|
22
|
+
* @cssproperty --mdc-toggle-icon-background-color - The icon background color of the toggle
|
|
31
23
|
*
|
|
32
24
|
* @csspart slider - The slider part of the toggle
|
|
33
25
|
* @csspart toggle-icon - The icon part of the toggle
|
|
@@ -57,6 +57,7 @@ import type { Events } from '../../components/textarea/textarea.types';
|
|
|
57
57
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
58
58
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
59
59
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
60
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
60
61
|
* @cssproperty --mdc-textarea-text-color - Text color for the textarea field
|
|
61
62
|
* @cssproperty --mdc-textarea-background-color - Background color for the textarea field
|
|
62
63
|
* @cssproperty --mdc-textarea-border-color - Border color for the textarea field
|
|
@@ -58,6 +58,7 @@ import { TAG_NAME } from '../../components/textarea/textarea.constants';
|
|
|
58
58
|
* @cssproperty --mdc-help-text-font-weight - Font weight for the help text.
|
|
59
59
|
* @cssproperty --mdc-help-text-line-height - Line height for the help text.
|
|
60
60
|
* @cssproperty --mdc-help-text-color - Color for the help text.
|
|
61
|
+
* @cssproperty --mdc-required-indicator-color - Color for the required indicator text.
|
|
61
62
|
* @cssproperty --mdc-textarea-text-color - Text color for the textarea field
|
|
62
63
|
* @cssproperty --mdc-textarea-background-color - Background color for the textarea field
|
|
63
64
|
* @cssproperty --mdc-textarea-border-color - Border color for the textarea field
|
|
@@ -22,16 +22,13 @@ import type { Events } from '../../components/toggle/toggle.types';
|
|
|
22
22
|
* @event change - (React: onChange) Event that gets dispatched when the toggle state changes.
|
|
23
23
|
* @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.
|
|
24
24
|
*
|
|
25
|
-
* @cssproperty --mdc-toggle-width -
|
|
26
|
-
* @cssproperty --mdc-toggle-height -
|
|
27
|
-
* @cssproperty --mdc-toggle-
|
|
28
|
-
* @cssproperty --mdc-toggle-
|
|
29
|
-
* @cssproperty --mdc-toggle-
|
|
30
|
-
* @cssproperty --mdc-toggle-
|
|
31
|
-
* @cssproperty --mdc-toggle-
|
|
32
|
-
* @cssproperty --mdc-toggle-active-pressed-color - Background color of the active toggle in pressed state
|
|
33
|
-
* @cssproperty --mdc-toggle-inactive-hover-color - Background color of the inactive toggle in hover state
|
|
34
|
-
* @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state
|
|
25
|
+
* @cssproperty --mdc-toggle-width - The width of the toggle
|
|
26
|
+
* @cssproperty --mdc-toggle-height - The height of the toggle
|
|
27
|
+
* @cssproperty --mdc-toggle-border-radius - The border radius of the toggle
|
|
28
|
+
* @cssproperty --mdc-toggle-border-color - The border color of the toggle
|
|
29
|
+
* @cssproperty --mdc-toggle-background-color - The background color of the toggle
|
|
30
|
+
* @cssproperty --mdc-toggle-icon-color - The icon color of the toggle
|
|
31
|
+
* @cssproperty --mdc-toggle-icon-background-color - The icon background color of the toggle
|
|
35
32
|
*
|
|
36
33
|
* @csspart label - The label element.
|
|
37
34
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -41,7 +38,7 @@ import type { Events } from '../../components/toggle/toggle.types';
|
|
|
41
38
|
* @csspart help-text - The helper/validation text element.
|
|
42
39
|
* @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.
|
|
43
40
|
* @csspart help-text-container - The container for the helper/validation icon and text elements.
|
|
44
|
-
* @csspart
|
|
41
|
+
* @csspart static-toggle - The static-toggle element that wraps the toggle input.
|
|
45
42
|
* @csspart toggle-input - The native checkbox input element styled as a toggle switch.
|
|
46
43
|
*/
|
|
47
44
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
|
@@ -23,16 +23,13 @@ import { TAG_NAME } from '../../components/toggle/toggle.constants';
|
|
|
23
23
|
* @event change - (React: onChange) Event that gets dispatched when the toggle state changes.
|
|
24
24
|
* @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.
|
|
25
25
|
*
|
|
26
|
-
* @cssproperty --mdc-toggle-width -
|
|
27
|
-
* @cssproperty --mdc-toggle-height -
|
|
28
|
-
* @cssproperty --mdc-toggle-
|
|
29
|
-
* @cssproperty --mdc-toggle-
|
|
30
|
-
* @cssproperty --mdc-toggle-
|
|
31
|
-
* @cssproperty --mdc-toggle-
|
|
32
|
-
* @cssproperty --mdc-toggle-
|
|
33
|
-
* @cssproperty --mdc-toggle-active-pressed-color - Background color of the active toggle in pressed state
|
|
34
|
-
* @cssproperty --mdc-toggle-inactive-hover-color - Background color of the inactive toggle in hover state
|
|
35
|
-
* @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state
|
|
26
|
+
* @cssproperty --mdc-toggle-width - The width of the toggle
|
|
27
|
+
* @cssproperty --mdc-toggle-height - The height of the toggle
|
|
28
|
+
* @cssproperty --mdc-toggle-border-radius - The border radius of the toggle
|
|
29
|
+
* @cssproperty --mdc-toggle-border-color - The border color of the toggle
|
|
30
|
+
* @cssproperty --mdc-toggle-background-color - The background color of the toggle
|
|
31
|
+
* @cssproperty --mdc-toggle-icon-color - The icon color of the toggle
|
|
32
|
+
* @cssproperty --mdc-toggle-icon-background-color - The icon background color of the toggle
|
|
36
33
|
*
|
|
37
34
|
* @csspart label - The label element.
|
|
38
35
|
* @csspart label-text - The container for the label and required indicator elements.
|
|
@@ -42,7 +39,7 @@ import { TAG_NAME } from '../../components/toggle/toggle.constants';
|
|
|
42
39
|
* @csspart help-text - The helper/validation text element.
|
|
43
40
|
* @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.
|
|
44
41
|
* @csspart help-text-container - The container for the helper/validation icon and text elements.
|
|
45
|
-
* @csspart
|
|
42
|
+
* @csspart static-toggle - The static-toggle element that wraps the toggle input.
|
|
46
43
|
* @csspart toggle-input - The native checkbox input element styled as a toggle switch.
|
|
47
44
|
*/
|
|
48
45
|
const reactWrapper = createComponent({
|