@wix/editor-react-components 1.2620.0 → 1.2622.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/dist/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +2 -2
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +2 -2
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +2 -2
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/DatePicker/component.js +1 -1
- package/dist/site/components/DatePicker/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +2 -2
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- package/dist/site/components/Logo/component.js +1 -1
- package/dist/site/components/Logo/manifest.js +1 -1
- package/dist/site/components/Logo/sdk.js +1 -1
- package/dist/site/components/Lottie/component.js +1 -1
- package/dist/site/components/Lottie/manifest.js +1 -1
- package/dist/site/components/MarkdownBlock/MarkdownBlock.d.ts +4 -0
- package/dist/site/components/MarkdownBlock/component.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/component.js +12486 -0
- package/dist/site/components/MarkdownBlock/constants.d.ts +33 -0
- package/dist/site/components/MarkdownBlock/css.css +347 -0
- package/dist/site/components/MarkdownBlock/index.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/index.js +6 -0
- package/dist/site/components/MarkdownBlock/manifest.d.ts +5 -0
- package/dist/site/components/MarkdownBlock/manifest.js +105 -0
- package/dist/site/components/MarkdownBlock/markdownComponents.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/types.d.ts +9 -0
- package/dist/site/components/Menu/component.js +1 -1
- package/dist/site/components/RadioButtons/component.js +1 -1
- package/dist/site/components/Repeater/component.js +1 -3
- package/dist/site/components/Repeater/constants.d.ts +1 -0
- package/dist/site/components/Repeater/css.css +4 -3
- package/dist/site/components/Repeater/manifest.js +15 -0
- package/dist/site/components/Repeater/panels/format/translations/consts.d.ts +1 -0
- package/dist/site/components/ShareButtons/component.js +1 -1
- package/dist/site/components/TextBox/component.js +1 -1
- package/dist/site/components/chunks/constants28.js +62 -78
- package/dist/site/components/chunks/constants29.js +85 -15
- package/dist/site/components/chunks/constants30.js +11 -42
- package/dist/site/components/chunks/constants31.js +44 -23
- package/dist/site/components/chunks/constants32.js +28 -10
- package/dist/site/components/chunks/constants33.js +10 -206
- package/dist/site/components/chunks/constants34.js +182 -153
- package/dist/site/components/chunks/constants35.js +162 -49
- package/dist/site/components/chunks/constants36.js +51 -102
- package/dist/site/components/chunks/constants37.js +69 -39
- package/dist/site/components/chunks/constants38.js +72 -69
- package/dist/site/components/chunks/constants39.js +73 -77
- package/dist/site/components/chunks/constants40.js +75 -56
- package/dist/site/components/chunks/constants41.js +72 -0
- package/dist/site/components/chunks/index11.js +233 -31185
- package/dist/site/components/chunks/index12.js +31191 -3
- package/dist/site/components/chunks/index13.js +5 -0
- package/dist/site/components/chunks/index4.js +18 -255
- package/dist/site/components/extensions.js +49 -47
- package/package.json +4 -3
|
@@ -1,120 +1,69 @@
|
|
|
1
|
+
const manifestClasses = {
|
|
2
|
+
root: "collapsible-text",
|
|
3
|
+
text: "text",
|
|
4
|
+
expandControl: "expand-control"
|
|
5
|
+
};
|
|
1
6
|
const DisplayNames = {
|
|
2
7
|
root: {
|
|
3
|
-
elementDisplayName: "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
optionValue: "Value",
|
|
8
|
-
optionChecked: "Checked by default",
|
|
9
|
-
optionDisabled: "Disabled",
|
|
10
|
-
value: "Selected values",
|
|
11
|
-
label: "Label",
|
|
12
|
-
tooltip: "Tooltip",
|
|
13
|
-
displayLabel: "Show label",
|
|
14
|
-
required: "Required",
|
|
15
|
-
readOnly: "Read only",
|
|
16
|
-
disabled: "Disabled",
|
|
17
|
-
selectAll: "Select all",
|
|
18
|
-
selectAllLabel: "Select all label"
|
|
19
|
-
},
|
|
20
|
-
cssCustomProperties: {
|
|
21
|
-
checkboxesSpacing: "Space between checkboxes",
|
|
22
|
-
labelSpacing: "Space between field and field title",
|
|
23
|
-
checkboxTextSpacing: "Space between checkbox and text",
|
|
24
|
-
alignment: "Alignment",
|
|
25
|
-
labelAlignment: "Label alignment"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
indicator: {
|
|
29
|
-
elementDisplayName: "Indicator",
|
|
30
|
-
cssCustomProperties: {
|
|
31
|
-
checkedBackgroundColor: "Checked background color",
|
|
32
|
-
uncheckedBackgroundColor: "Unchecked background color",
|
|
33
|
-
checkedBorderColor: "Checked border color",
|
|
34
|
-
uncheckedBorderColor: "Unchecked border color",
|
|
35
|
-
borderWidth: "Border width",
|
|
36
|
-
checkMarkColor: "Checkmark color",
|
|
37
|
-
size: "Checkbox size"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
optionLabel: {
|
|
41
|
-
elementDisplayName: "Option label"
|
|
42
|
-
},
|
|
43
|
-
groupLabel: {
|
|
44
|
-
elementDisplayName: "Group label"
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
const DesignStates = {
|
|
48
|
-
indicator: {
|
|
49
|
-
hover: {
|
|
50
|
-
displayName: "Hover",
|
|
51
|
-
className: "checkbox-group__indicator--hover"
|
|
8
|
+
elementDisplayName: "Collapsible Text",
|
|
9
|
+
actions: {
|
|
10
|
+
settings: "Settings",
|
|
11
|
+
design: "Design"
|
|
52
12
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
13
|
+
data: {
|
|
14
|
+
expandMode: {
|
|
15
|
+
displayName: "Choose what the button does",
|
|
16
|
+
options: {
|
|
17
|
+
button: "Expands",
|
|
18
|
+
link: "Links"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
text: "Text",
|
|
22
|
+
readMoreText: "Expand button text",
|
|
23
|
+
readLessText: "Collapse button text",
|
|
24
|
+
linkText: "Link text"
|
|
56
25
|
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
26
|
+
elements: {
|
|
27
|
+
text: "Text",
|
|
28
|
+
button: "Button"
|
|
60
29
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
30
|
+
cssCustomProperties: {
|
|
31
|
+
maxLines: "Lines displayed",
|
|
32
|
+
expandControlSpacing: "Space between text and button",
|
|
33
|
+
paragraphAlign: "Paragraph Alignment",
|
|
34
|
+
textColor: "Text color",
|
|
35
|
+
textFont: "Font",
|
|
36
|
+
textLineHeight: "Line spacing",
|
|
37
|
+
textTextDecoration: "Text Decoration",
|
|
38
|
+
textTextTransform: "Case"
|
|
64
39
|
}
|
|
65
40
|
}
|
|
66
41
|
};
|
|
67
|
-
const defaultOptions = [
|
|
68
|
-
{ value: "option-1", label: "Option 1", checked: false, disabled: false },
|
|
69
|
-
{ value: "option-2", label: "Option 2", checked: false, disabled: false },
|
|
70
|
-
{ value: "option-3", label: "Option 3", checked: false, disabled: false }
|
|
71
|
-
];
|
|
72
42
|
const defaultValues = {
|
|
73
|
-
|
|
74
|
-
tooltip: "",
|
|
75
|
-
displayLabel: true,
|
|
76
|
-
selectAllLabel: "Select all",
|
|
77
|
-
required: false,
|
|
78
|
-
readOnly: false,
|
|
79
|
-
disabled: false,
|
|
80
|
-
selectAll: false
|
|
43
|
+
expandMode: "button"
|
|
81
44
|
};
|
|
82
|
-
|
|
45
|
+
var ExpandModeValues = /* @__PURE__ */ ((ExpandModeValues2) => {
|
|
46
|
+
ExpandModeValues2["Link"] = "link";
|
|
47
|
+
ExpandModeValues2["Expand"] = "button";
|
|
48
|
+
return ExpandModeValues2;
|
|
49
|
+
})(ExpandModeValues || {});
|
|
83
50
|
const TestIds = {
|
|
84
|
-
root: "
|
|
85
|
-
|
|
86
|
-
legend: "checkbox-group-legend",
|
|
87
|
-
requiredIndicator: "checkbox-group-required-indicator",
|
|
88
|
-
selectAll: "checkbox-group-select-all",
|
|
89
|
-
option: "checkbox-group-option",
|
|
90
|
-
control: "checkbox-group-control",
|
|
91
|
-
indicator: "checkbox-group-indicator",
|
|
92
|
-
optionLabel: "checkbox-group-option-label",
|
|
93
|
-
tooltipButton: "checkbox-group-tooltip-button",
|
|
94
|
-
errorMessage: "checkbox-group-error-message"
|
|
95
|
-
};
|
|
96
|
-
const selectors = {
|
|
97
|
-
root: "checkbox-group",
|
|
98
|
-
indicator: "checkbox-group__indicator",
|
|
99
|
-
label: "checkbox-group__label",
|
|
100
|
-
groupLabel: "checkbox-group__group-label"
|
|
51
|
+
root: "collapsible-text-root",
|
|
52
|
+
textWrapper: "collapsible-text-text-wrapper"
|
|
101
53
|
};
|
|
54
|
+
const FALLBACK_LINE_HEIGHT = 22.4;
|
|
55
|
+
const LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE = 1;
|
|
102
56
|
const semanticClassNames = {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
control: "checkbox-group__control",
|
|
106
|
-
indicator: "checkbox-group__indicator",
|
|
107
|
-
label: "checkbox-group__label",
|
|
108
|
-
requiredIndicator: "checkbox-group__required-indicator",
|
|
109
|
-
errorMessage: "checkbox-group__error-message"
|
|
57
|
+
root: "collapsible-text",
|
|
58
|
+
text: "collapsible-text__text"
|
|
110
59
|
};
|
|
111
60
|
export {
|
|
112
|
-
|
|
61
|
+
DisplayNames as D,
|
|
62
|
+
ExpandModeValues as E,
|
|
63
|
+
FALLBACK_LINE_HEIGHT as F,
|
|
64
|
+
LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE as L,
|
|
113
65
|
TestIds as T,
|
|
114
|
-
VALUE_MISSING_MESSAGE as V,
|
|
115
|
-
defaultOptions as a,
|
|
116
|
-
semanticClassNames as b,
|
|
117
|
-
DisplayNames as c,
|
|
118
66
|
defaultValues as d,
|
|
119
|
-
|
|
67
|
+
manifestClasses as m,
|
|
68
|
+
semanticClassNames as s
|
|
120
69
|
};
|
|
@@ -1,90 +1,120 @@
|
|
|
1
1
|
const DisplayNames = {
|
|
2
2
|
root: {
|
|
3
|
-
elementDisplayName: "Checkbox",
|
|
3
|
+
elementDisplayName: "Checkbox Group",
|
|
4
4
|
data: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
options: "Options",
|
|
6
|
+
optionLabel: "Label",
|
|
7
|
+
optionValue: "Value",
|
|
8
|
+
optionChecked: "Checked by default",
|
|
9
|
+
optionDisabled: "Disabled",
|
|
10
|
+
value: "Selected values",
|
|
11
|
+
label: "Label",
|
|
12
|
+
tooltip: "Tooltip",
|
|
13
|
+
displayLabel: "Show label",
|
|
7
14
|
required: "Required",
|
|
8
15
|
readOnly: "Read only",
|
|
9
16
|
disabled: "Disabled",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
tooltip: "Tooltip"
|
|
17
|
+
selectAll: "Select all",
|
|
18
|
+
selectAllLabel: "Select all label"
|
|
13
19
|
},
|
|
14
20
|
cssCustomProperties: {
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
checkboxesSpacing: "Space between checkboxes",
|
|
22
|
+
labelSpacing: "Space between field and field title",
|
|
23
|
+
checkboxTextSpacing: "Space between checkbox and text",
|
|
24
|
+
alignment: "Alignment",
|
|
25
|
+
labelAlignment: "Label alignment"
|
|
17
26
|
}
|
|
18
27
|
},
|
|
19
28
|
indicator: {
|
|
20
29
|
elementDisplayName: "Indicator",
|
|
21
30
|
cssCustomProperties: {
|
|
22
|
-
uncheckedBackgroundColor: "Unchecked background color",
|
|
23
|
-
uncheckedBorderColor: "Unchecked border color",
|
|
24
31
|
checkedBackgroundColor: "Checked background color",
|
|
32
|
+
uncheckedBackgroundColor: "Unchecked background color",
|
|
25
33
|
checkedBorderColor: "Checked border color",
|
|
34
|
+
uncheckedBorderColor: "Unchecked border color",
|
|
26
35
|
borderWidth: "Border width",
|
|
27
|
-
|
|
36
|
+
checkMarkColor: "Checkmark color",
|
|
28
37
|
size: "Checkbox size"
|
|
29
38
|
}
|
|
30
39
|
},
|
|
31
|
-
|
|
32
|
-
elementDisplayName: "
|
|
40
|
+
optionLabel: {
|
|
41
|
+
elementDisplayName: "Option label"
|
|
42
|
+
},
|
|
43
|
+
groupLabel: {
|
|
44
|
+
elementDisplayName: "Group label"
|
|
33
45
|
}
|
|
34
46
|
};
|
|
35
47
|
const DesignStates = {
|
|
36
48
|
indicator: {
|
|
37
|
-
hover: {
|
|
38
|
-
|
|
49
|
+
hover: {
|
|
50
|
+
displayName: "Hover",
|
|
51
|
+
className: "checkbox-group__indicator--hover"
|
|
52
|
+
},
|
|
53
|
+
focus: {
|
|
54
|
+
displayName: "Focus",
|
|
55
|
+
className: "checkbox-group__indicator--focus"
|
|
56
|
+
},
|
|
39
57
|
disabled: {
|
|
40
58
|
displayName: "Disabled",
|
|
41
|
-
className: "
|
|
59
|
+
className: "checkbox-group__indicator--disabled"
|
|
42
60
|
},
|
|
43
61
|
invalid: {
|
|
44
62
|
displayName: "Invalid",
|
|
45
|
-
className: "
|
|
63
|
+
className: "checkbox-group__indicator--invalid"
|
|
46
64
|
}
|
|
47
65
|
}
|
|
48
66
|
};
|
|
67
|
+
const defaultOptions = [
|
|
68
|
+
{ value: "option-1", label: "Option 1", checked: false, disabled: false },
|
|
69
|
+
{ value: "option-2", label: "Option 2", checked: false, disabled: false },
|
|
70
|
+
{ value: "option-3", label: "Option 3", checked: false, disabled: false }
|
|
71
|
+
];
|
|
49
72
|
const defaultValues = {
|
|
50
73
|
label: "Label",
|
|
51
|
-
|
|
52
|
-
|
|
74
|
+
tooltip: "",
|
|
75
|
+
displayLabel: true,
|
|
76
|
+
selectAllLabel: "Select all",
|
|
53
77
|
required: false,
|
|
54
78
|
readOnly: false,
|
|
55
79
|
disabled: false,
|
|
56
|
-
|
|
57
|
-
tooltip: ""
|
|
80
|
+
selectAll: false
|
|
58
81
|
};
|
|
59
82
|
const VALUE_MISSING_MESSAGE = "This field is required";
|
|
60
83
|
const TestIds = {
|
|
61
|
-
root: "checkbox-root",
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
84
|
+
root: "checkbox-group-root",
|
|
85
|
+
group: "checkbox-group-group",
|
|
86
|
+
legend: "checkbox-group-legend",
|
|
87
|
+
requiredIndicator: "checkbox-group-required-indicator",
|
|
88
|
+
selectAll: "checkbox-group-select-all",
|
|
89
|
+
option: "checkbox-group-option",
|
|
90
|
+
control: "checkbox-group-control",
|
|
91
|
+
indicator: "checkbox-group-indicator",
|
|
92
|
+
optionLabel: "checkbox-group-option-label",
|
|
93
|
+
tooltipButton: "checkbox-group-tooltip-button",
|
|
94
|
+
errorMessage: "checkbox-group-error-message"
|
|
68
95
|
};
|
|
69
96
|
const selectors = {
|
|
70
|
-
root: "checkbox",
|
|
71
|
-
indicator: "
|
|
72
|
-
label: "
|
|
97
|
+
root: "checkbox-group",
|
|
98
|
+
indicator: "checkbox-group__indicator",
|
|
99
|
+
label: "checkbox-group__label",
|
|
100
|
+
groupLabel: "checkbox-group__group-label"
|
|
73
101
|
};
|
|
74
102
|
const semanticClassNames = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
103
|
+
groupLabel: "checkbox-group__group-label",
|
|
104
|
+
option: "checkbox-group__option",
|
|
105
|
+
control: "checkbox-group__control",
|
|
106
|
+
indicator: "checkbox-group__indicator",
|
|
107
|
+
label: "checkbox-group__label",
|
|
108
|
+
requiredIndicator: "checkbox-group__required-indicator",
|
|
109
|
+
errorMessage: "checkbox-group__error-message"
|
|
81
110
|
};
|
|
82
111
|
export {
|
|
83
112
|
DesignStates as D,
|
|
84
113
|
TestIds as T,
|
|
85
114
|
VALUE_MISSING_MESSAGE as V,
|
|
86
|
-
|
|
87
|
-
|
|
115
|
+
defaultOptions as a,
|
|
116
|
+
semanticClassNames as b,
|
|
117
|
+
DisplayNames as c,
|
|
88
118
|
defaultValues as d,
|
|
89
119
|
selectors as s
|
|
90
120
|
};
|
|
@@ -1,87 +1,90 @@
|
|
|
1
|
-
const semanticClassNames = {
|
|
2
|
-
root: "breadcrumbs",
|
|
3
|
-
itemLabel: "breadcrumbs-item-label",
|
|
4
|
-
separator: "breadcrumbs-separator",
|
|
5
|
-
animatedHomeIcon: "animated-icon"
|
|
6
|
-
};
|
|
7
1
|
const DisplayNames = {
|
|
8
2
|
root: {
|
|
9
|
-
elementDisplayName: "
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
elementDisplayName: "Checkbox",
|
|
4
|
+
data: {
|
|
5
|
+
checked: "Checked",
|
|
6
|
+
defaultChecked: "Checked by default",
|
|
7
|
+
required: "Required",
|
|
8
|
+
readOnly: "Read only",
|
|
9
|
+
disabled: "Disabled",
|
|
10
|
+
indeterminate: "Indeterminate",
|
|
11
|
+
label: "Label",
|
|
12
|
+
tooltip: "Tooltip"
|
|
13
|
+
},
|
|
14
|
+
cssCustomProperties: {
|
|
15
|
+
gap: "Spacing",
|
|
16
|
+
alignment: "Alignment"
|
|
12
17
|
}
|
|
13
18
|
},
|
|
14
|
-
|
|
15
|
-
elementDisplayName: "
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
indicator: {
|
|
20
|
+
elementDisplayName: "Indicator",
|
|
21
|
+
cssCustomProperties: {
|
|
22
|
+
uncheckedBackgroundColor: "Unchecked background color",
|
|
23
|
+
uncheckedBorderColor: "Unchecked border color",
|
|
24
|
+
checkedBackgroundColor: "Checked background color",
|
|
25
|
+
checkedBorderColor: "Checked border color",
|
|
26
|
+
borderWidth: "Border width",
|
|
27
|
+
checkmarkColor: "Checkmark color",
|
|
28
|
+
size: "Checkbox size"
|
|
29
|
+
}
|
|
22
30
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
displayHomepageAs: "Display homepage as",
|
|
26
|
-
horizontalSpacing: "Space between items",
|
|
27
|
-
verticalSpacing: "Space between rows",
|
|
28
|
-
alignment: "Alignment",
|
|
29
|
-
separatorOptions: {
|
|
30
|
-
slash: "Forward slash",
|
|
31
|
-
arrow: "Arrow"
|
|
32
|
-
},
|
|
33
|
-
homepageModeOptions: {
|
|
34
|
-
text: "Text",
|
|
35
|
-
icon: "Icon"
|
|
36
|
-
},
|
|
37
|
-
defaultState: "Default state",
|
|
38
|
-
defaultStateOptions: {
|
|
39
|
-
fullTrail: "Full trail",
|
|
40
|
-
hideHomepage: "Hide homepage",
|
|
41
|
-
hideCurrentPage: "Hide current page"
|
|
42
|
-
},
|
|
43
|
-
overflowItems: "Overflow items",
|
|
44
|
-
overflowItemsOptions: {
|
|
45
|
-
wrap: "Wrap",
|
|
46
|
-
collapse: "Collapse (with ellipses)"
|
|
47
|
-
},
|
|
48
|
-
beforeEllipsis: "Items before ellipses",
|
|
49
|
-
afterEllipsis: "Items after ellipses"
|
|
31
|
+
label: {
|
|
32
|
+
elementDisplayName: "Label"
|
|
50
33
|
}
|
|
51
34
|
};
|
|
52
35
|
const DesignStates = {
|
|
53
|
-
|
|
54
|
-
hover: { displayName: "Hover", className: "
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
36
|
+
indicator: {
|
|
37
|
+
hover: { displayName: "Hover", className: "checkbox__indicator--hover" },
|
|
38
|
+
focus: { displayName: "Focus", className: "checkbox__indicator--focus" },
|
|
39
|
+
disabled: {
|
|
40
|
+
displayName: "Disabled",
|
|
41
|
+
className: "checkbox__indicator--disabled"
|
|
42
|
+
},
|
|
43
|
+
invalid: {
|
|
44
|
+
displayName: "Invalid",
|
|
45
|
+
className: "checkbox__indicator--invalid"
|
|
58
46
|
}
|
|
59
47
|
}
|
|
60
48
|
};
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
const defaultValues = {
|
|
50
|
+
label: "Label",
|
|
51
|
+
checked: false,
|
|
52
|
+
defaultChecked: false,
|
|
53
|
+
required: false,
|
|
54
|
+
readOnly: false,
|
|
55
|
+
disabled: false,
|
|
56
|
+
indeterminate: false,
|
|
57
|
+
tooltip: ""
|
|
65
58
|
};
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
const VALUE_MISSING_MESSAGE = "This field is required";
|
|
60
|
+
const TestIds = {
|
|
61
|
+
root: "checkbox-root",
|
|
62
|
+
control: "checkbox-control",
|
|
63
|
+
indicator: "checkbox-indicator",
|
|
64
|
+
label: "checkbox-label",
|
|
65
|
+
requiredIndicator: "checkbox-required-indicator",
|
|
66
|
+
tooltipButton: "checkbox-tooltip-button",
|
|
67
|
+
errorMessage: "checkbox-error-message"
|
|
69
68
|
};
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
const selectors = {
|
|
70
|
+
root: "checkbox",
|
|
71
|
+
indicator: "checkbox__indicator",
|
|
72
|
+
label: "checkbox__label"
|
|
73
73
|
};
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
const semanticClassNames = {
|
|
75
|
+
root: "checkbox",
|
|
76
|
+
control: "checkbox__control",
|
|
77
|
+
indicator: "checkbox__indicator",
|
|
78
|
+
label: "checkbox__label",
|
|
79
|
+
requiredIndicator: "checkbox__required-indicator",
|
|
80
|
+
errorMessage: "checkbox__error-message"
|
|
78
81
|
};
|
|
79
82
|
export {
|
|
80
83
|
DesignStates as D,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
TestIds as T,
|
|
85
|
+
VALUE_MISSING_MESSAGE as V,
|
|
86
|
+
semanticClassNames as a,
|
|
87
|
+
DisplayNames as b,
|
|
88
|
+
defaultValues as d,
|
|
89
|
+
selectors as s
|
|
87
90
|
};
|
|
@@ -1,91 +1,87 @@
|
|
|
1
|
-
const
|
|
2
|
-
root: "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
progressBar: "progressBar",
|
|
7
|
-
progressTrack: "progressTrack",
|
|
8
|
-
volumeControls: "volumeControls",
|
|
9
|
-
muteButton: "muteButton",
|
|
10
|
-
volumeSlider: "volumeSlider",
|
|
11
|
-
volumeTrack: "volumeTrack",
|
|
12
|
-
timeDisplay: "timeDisplay",
|
|
13
|
-
audioTitle: "audioTitle",
|
|
14
|
-
title: "title",
|
|
15
|
-
artistName: "artistName",
|
|
16
|
-
coverMedia: "coverMedia"
|
|
17
|
-
};
|
|
18
|
-
const dataDefaults = {
|
|
19
|
-
loop: false,
|
|
20
|
-
volume: 100
|
|
21
|
-
};
|
|
22
|
-
const borderDefaultValue = "0px none rgba(0, 0, 0, 1)";
|
|
23
|
-
const ARIA_LABELS = {
|
|
24
|
-
playButton: "Play",
|
|
25
|
-
pauseButton: "Pause",
|
|
26
|
-
muteButton: "Mute",
|
|
27
|
-
unmuteButton: "Unmute",
|
|
28
|
-
progressBar: "Seek",
|
|
29
|
-
volumeSlider: "Volume",
|
|
30
|
-
volumeControls: "Volume controls"
|
|
31
|
-
};
|
|
32
|
-
const DesignStates = {
|
|
33
|
-
controls: {
|
|
34
|
-
hover: {
|
|
35
|
-
displayName: "Hover",
|
|
36
|
-
className: "audio-player__controls--hover"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
const semanticClassNames = {
|
|
2
|
+
root: "breadcrumbs",
|
|
3
|
+
itemLabel: "breadcrumbs-item-label",
|
|
4
|
+
separator: "breadcrumbs-separator",
|
|
5
|
+
animatedHomeIcon: "animated-icon"
|
|
39
6
|
};
|
|
40
7
|
const DisplayNames = {
|
|
41
8
|
root: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
cssCustomProperties: {
|
|
47
|
-
"content-horizontal-alignment": "Alignment",
|
|
48
|
-
"vertical-spacing": "Vertical spacing",
|
|
49
|
-
"audio-title-gap": "Space between track details"
|
|
9
|
+
elementDisplayName: "Breadcrumbs",
|
|
10
|
+
customActions: {
|
|
11
|
+
replaceHomeIcon: "Customize Icon"
|
|
50
12
|
}
|
|
51
13
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
cssCustomProperties: {
|
|
55
|
-
"progress-fill-color": "Progress bar color",
|
|
56
|
-
"volume-control-color": "Volume control color",
|
|
57
|
-
"time-display-color": "Time display",
|
|
58
|
-
"play-icon-color": "Play icon color",
|
|
59
|
-
"play-icon-size": "Play icon size"
|
|
60
|
-
},
|
|
61
|
-
displayGroups: {
|
|
62
|
-
fillColors: "Fill colors",
|
|
63
|
-
icon: "Icon"
|
|
64
|
-
}
|
|
14
|
+
item: {
|
|
15
|
+
elementDisplayName: "Items"
|
|
65
16
|
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
audioTitle: "Audio title",
|
|
69
|
-
artistName: "Artist name",
|
|
70
|
-
progressBar: "Progress bar",
|
|
71
|
-
timeDisplay: "Time display",
|
|
72
|
-
volumeControls: "Volume control"
|
|
17
|
+
separator: {
|
|
18
|
+
elementDisplayName: "Separators"
|
|
73
19
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
displayMode: "Display mode",
|
|
77
|
-
loop: "Plays in a loop",
|
|
78
|
-
volume: "Volume"
|
|
20
|
+
homeIcon: {
|
|
21
|
+
elementDisplayName: "Home"
|
|
79
22
|
},
|
|
80
|
-
|
|
81
|
-
|
|
23
|
+
data: {
|
|
24
|
+
separator: "Separator",
|
|
25
|
+
displayHomepageAs: "Display homepage as",
|
|
26
|
+
horizontalSpacing: "Space between items",
|
|
27
|
+
verticalSpacing: "Space between rows",
|
|
28
|
+
alignment: "Alignment",
|
|
29
|
+
separatorOptions: {
|
|
30
|
+
slash: "Forward slash",
|
|
31
|
+
arrow: "Arrow"
|
|
32
|
+
},
|
|
33
|
+
homepageModeOptions: {
|
|
34
|
+
text: "Text",
|
|
35
|
+
icon: "Icon"
|
|
36
|
+
},
|
|
37
|
+
defaultState: "Default state",
|
|
38
|
+
defaultStateOptions: {
|
|
39
|
+
fullTrail: "Full trail",
|
|
40
|
+
hideHomepage: "Hide homepage",
|
|
41
|
+
hideCurrentPage: "Hide current page"
|
|
42
|
+
},
|
|
43
|
+
overflowItems: "Overflow items",
|
|
44
|
+
overflowItemsOptions: {
|
|
45
|
+
wrap: "Wrap",
|
|
46
|
+
collapse: "Collapse (with ellipses)"
|
|
47
|
+
},
|
|
48
|
+
beforeEllipsis: "Items before ellipses",
|
|
49
|
+
afterEllipsis: "Items after ellipses"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const DesignStates = {
|
|
53
|
+
item: {
|
|
54
|
+
hover: { displayName: "Hover", className: "breadcrumbs__item--hover" },
|
|
55
|
+
selected: {
|
|
56
|
+
displayName: "Selected",
|
|
57
|
+
className: "breadcrumbs__item--selected"
|
|
58
|
+
}
|
|
82
59
|
}
|
|
83
60
|
};
|
|
61
|
+
const componentMetadata = {
|
|
62
|
+
id: "992fd74f-46fe-4cc3-b803-d70f75a11fbc",
|
|
63
|
+
type: "wixEditorElements.Breadcrumbs",
|
|
64
|
+
description: "A navigation component that displays the user's location within a site's hierarchy as a trail of links, allowing navigation back to any ancestor page."
|
|
65
|
+
};
|
|
66
|
+
const separatorValues = {
|
|
67
|
+
slash: "slash",
|
|
68
|
+
arrow: "arrow"
|
|
69
|
+
};
|
|
70
|
+
const homepageModeValues = {
|
|
71
|
+
text: "text",
|
|
72
|
+
icon: "icon"
|
|
73
|
+
};
|
|
74
|
+
const defaultStateValues = {
|
|
75
|
+
fullTrail: "fullTrail",
|
|
76
|
+
hideHomepage: "hideHomepage",
|
|
77
|
+
hideCurrentPage: "hideCurrentPage"
|
|
78
|
+
};
|
|
84
79
|
export {
|
|
85
|
-
ARIA_LABELS as A,
|
|
86
80
|
DesignStates as D,
|
|
87
81
|
DisplayNames as a,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
separatorValues as b,
|
|
83
|
+
componentMetadata as c,
|
|
84
|
+
defaultStateValues as d,
|
|
85
|
+
homepageModeValues as h,
|
|
86
|
+
semanticClassNames as s
|
|
91
87
|
};
|