@wix/editor-react-components 1.2762.0 → 1.2763.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.
Files changed (161) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/component.js +1 -1
  5. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  6. package/dist/site/components/BoxContainer/component.js +3 -3
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/component.js +3 -3
  9. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  10. package/dist/site/components/Button/manifest.js +1 -1
  11. package/dist/site/components/Checkbox/component.js +1 -1
  12. package/dist/site/components/Checkbox/manifest.js +1 -1
  13. package/dist/site/components/CheckboxGroup/component.js +1 -1
  14. package/dist/site/components/CheckboxGroup/manifest.js +1 -1
  15. package/dist/site/components/CollapsibleText/component.js +2 -2
  16. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  17. package/dist/site/components/DatePicker/component.js +2 -2
  18. package/dist/site/components/DatePicker/manifest.js +1 -1
  19. package/dist/site/components/Dropdown/component.js +2 -2
  20. package/dist/site/components/Dropdown/manifest.js +1 -1
  21. package/dist/site/components/GoogleMap/component.js +3 -3
  22. package/dist/site/components/HTMLComponent/component.js +2 -2
  23. package/dist/site/components/HeadingTextBlock/component.js +1 -1
  24. package/dist/site/components/HeadingTextBlock/manifest.js +1 -1
  25. package/dist/site/components/HipaaIcon/component.js +2 -2
  26. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  27. package/dist/site/components/Image3/component.js +2 -2
  28. package/dist/site/components/ImageReveal/component.js +2 -2
  29. package/dist/site/components/ImageReveal/manifest.js +1 -1
  30. package/dist/site/components/Line/component.js +1 -1
  31. package/dist/site/components/LinkBar/component.js +2 -2
  32. package/dist/site/components/LinkBar/manifest.js +1 -1
  33. package/dist/site/components/Logo/component.js +1 -1
  34. package/dist/site/components/Logo/manifest.js +1 -1
  35. package/dist/site/components/Logo/sdk.js +1 -1
  36. package/dist/site/components/Lottie/component.js +3 -3
  37. package/dist/site/components/Lottie/manifest.js +1 -1
  38. package/dist/site/components/MarkdownBlock/component.js +2 -2
  39. package/dist/site/components/MarkdownBlock/manifest.js +1 -1
  40. package/dist/site/components/Menu/component.js +3 -3
  41. package/dist/site/components/Menu/manifest.js +1 -1
  42. package/dist/site/components/MultiStateBox/component.js +1 -1
  43. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  44. package/dist/site/components/ProgressBar/component.js +1 -1
  45. package/dist/site/components/ProgressBar/manifest.js +1 -1
  46. package/dist/site/components/ProgressBar/sdk.js +1 -1
  47. package/dist/site/components/RadioButtons/component.js +1 -1
  48. package/dist/site/components/RadioButtons/manifest.js +1 -1
  49. package/dist/site/components/Repeater/component.js +2 -2
  50. package/dist/site/components/Repeater/manifest.js +1 -1
  51. package/dist/site/components/ShareButtons/component.js +2 -2
  52. package/dist/site/components/ShareButtons/manifest.js +1 -1
  53. package/dist/site/components/Slideshow/component.js +1 -1
  54. package/dist/site/components/Tabs/component.js +1 -1
  55. package/dist/site/components/Tabs/manifest.js +1 -1
  56. package/dist/site/components/TextBox/component.js +1 -1
  57. package/dist/site/components/TextBox/manifest.js +1 -1
  58. package/dist/site/components/TextEffects3d/component.js +1 -1
  59. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  60. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  61. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  62. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  63. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  64. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  65. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  66. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  67. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  68. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  69. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  70. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  71. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  72. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  73. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  74. package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
  75. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  76. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  77. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  78. package/dist/site/components/TextEffectsShook/component.js +1 -1
  79. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  80. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  81. package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
  82. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  83. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  84. package/dist/site/components/TextInput/component.js +2 -2
  85. package/dist/site/components/TextInput/manifest.js +1 -1
  86. package/dist/site/components/TextMarquee/component.js +1 -1
  87. package/dist/site/components/TimePicker/component.js +2 -2
  88. package/dist/site/components/TimePicker/manifest.js +1 -1
  89. package/dist/site/components/TransparentVideo/component.js +2 -2
  90. package/dist/site/components/VideoScrub/VideoScrub.types.d.ts +28 -0
  91. package/dist/site/components/VideoScrub/component.js +295 -29
  92. package/dist/site/components/VideoScrub/constants.d.ts +5 -0
  93. package/dist/site/components/VideoScrub/css.css +21 -1
  94. package/dist/site/components/VideoScrub/hooks/useTimeframes.d.ts +23 -0
  95. package/dist/site/components/VideoScrub/manifest.js +102 -6
  96. package/dist/site/components/VideoScrub/timeframes/index.d.ts +1 -1
  97. package/dist/site/components/VideoScrub/timeframes/types.d.ts +1 -1
  98. package/dist/site/components/VideoScrub/timeframes/useActiveTimeframeIndex.d.ts +2 -0
  99. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  100. package/dist/site/components/chunks/Button.js +2 -2
  101. package/dist/site/components/chunks/Image.js +1 -1
  102. package/dist/site/components/chunks/Link.js +1 -1
  103. package/dist/site/components/chunks/Patterns.js +1 -1
  104. package/dist/site/components/chunks/ResponsiveBox.js +1 -1
  105. package/dist/site/components/chunks/TextEffectsShared.js +2 -2
  106. package/dist/site/components/chunks/a11y.js +4 -4
  107. package/dist/site/components/chunks/constants10.js +20 -65
  108. package/dist/site/components/chunks/constants11.js +12 -14
  109. package/dist/site/components/chunks/constants12.js +9 -9
  110. package/dist/site/components/chunks/constants13.js +8 -10
  111. package/dist/site/components/chunks/constants14.js +13 -9
  112. package/dist/site/components/chunks/constants15.js +17 -14
  113. package/dist/site/components/chunks/constants16.js +12 -17
  114. package/dist/site/components/chunks/constants17.js +13 -11
  115. package/dist/site/components/chunks/constants18.js +96 -21
  116. package/dist/site/components/chunks/constants19.js +50 -92
  117. package/dist/site/components/chunks/constants2.js +128 -34
  118. package/dist/site/components/chunks/constants20.js +50 -54
  119. package/dist/site/components/chunks/constants21.js +52 -49
  120. package/dist/site/components/chunks/constants22.js +310 -43
  121. package/dist/site/components/chunks/constants23.js +65 -310
  122. package/dist/site/components/chunks/constants24.js +99 -70
  123. package/dist/site/components/chunks/constants25.js +30 -101
  124. package/dist/site/components/chunks/constants26.js +17 -35
  125. package/dist/site/components/chunks/constants27.js +447 -16
  126. package/dist/site/components/chunks/constants28.js +29 -441
  127. package/dist/site/components/chunks/constants29.js +78 -26
  128. package/dist/site/components/chunks/constants3.js +84 -118
  129. package/dist/site/components/chunks/constants30.js +15 -85
  130. package/dist/site/components/chunks/constants31.js +42 -11
  131. package/dist/site/components/chunks/constants32.js +45 -41
  132. package/dist/site/components/chunks/constants33.js +24 -49
  133. package/dist/site/components/chunks/constants34.js +56 -25
  134. package/dist/site/components/chunks/constants35.js +13 -58
  135. package/dist/site/components/chunks/constants36.js +206 -14
  136. package/dist/site/components/chunks/constants37.js +153 -182
  137. package/dist/site/components/chunks/constants38.js +49 -162
  138. package/dist/site/components/chunks/constants39.js +102 -51
  139. package/dist/site/components/chunks/constants4.js +13 -88
  140. package/dist/site/components/chunks/constants40.js +39 -69
  141. package/dist/site/components/chunks/constants41.js +79 -72
  142. package/dist/site/components/chunks/constants42.js +77 -83
  143. package/dist/site/components/chunks/constants43.js +56 -75
  144. package/dist/site/components/chunks/constants5.js +19 -10
  145. package/dist/site/components/chunks/constants6.js +14 -14
  146. package/dist/site/components/chunks/constants7.js +10 -11
  147. package/dist/site/components/chunks/constants8.js +14 -14
  148. package/dist/site/components/chunks/constants9.js +65 -22
  149. package/dist/site/components/chunks/customElementInit.js +1 -1
  150. package/dist/site/components/chunks/index4.js +3 -2133
  151. package/dist/site/components/chunks/index5.js +2080 -1414
  152. package/dist/site/components/chunks/index6.js +1467 -3
  153. package/dist/site/components/chunks/manifestBase.js +1 -1
  154. package/dist/site/components/chunks/parseHtml.js +1 -1
  155. package/dist/site/components/chunks/parseSvg.js +1 -1
  156. package/dist/site/components/chunks/types.js +61 -0
  157. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  158. package/dist/site/components/chunks/utils2.js +1 -1
  159. package/dist/site/components/extensions.js +1 -1
  160. package/package.json +2 -2
  161. package/dist/site/components/chunks/constants44.js +0 -72
@@ -1,182 +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: "Date Picker",
8
+ elementDisplayName: "Collapsible Text",
9
+ actions: {
10
+ settings: "Settings",
11
+ design: "Design"
12
+ },
4
13
  data: {
5
- value: "Selected date",
6
- endValue: "Selected end date",
7
- defaultValue: "Default date",
8
- defaultEndValue: "Default end date",
9
- onEndChange: "On End Change",
10
- selectionMode: {
11
- displayName: "Selection",
12
- options: {
13
- single: "Single date",
14
- range: "Date range"
15
- }
16
- },
17
- granularity: {
18
- displayName: "Time precision",
14
+ expandMode: {
15
+ displayName: "Choose what the button does",
19
16
  options: {
20
- day: "Date only",
21
- hour: "Date and hour",
22
- minute: "Date and time"
17
+ button: "Expands",
18
+ link: "Links"
23
19
  }
24
20
  },
25
- tooltip: "Tooltip",
26
- label: "Label",
27
- description: "Helper text",
28
- minDate: "Earliest date",
29
- maxDate: "Latest date",
30
- unavailableDates: "Unavailable dates",
31
- unavailableFrom: "From",
32
- unavailableTo: "To",
33
- allowPastDates: "Allow past dates",
34
- allowFutureDates: "Allow future dates",
35
- required: "Required",
36
- readOnly: "Read only",
37
- disabled: "Disabled",
38
- clearable: "Show clear button"
39
- },
40
- designStates: {
41
- hover: "Hover",
42
- focus: "Focus",
43
- disabled: "Disabled",
44
- selected: "Selected"
21
+ text: "Text",
22
+ readMoreText: "Expand button text",
23
+ readLessText: "Collapse button text",
24
+ linkText: "Link text"
45
25
  },
46
26
  elements: {
47
- label: "Label",
48
- description: "Helper text",
49
- dateInput: "Date input",
50
- calendarButton: "Calendar button",
51
- popover: "Popover",
52
- calendar: "Calendar",
53
- calendarDay: "Calendar day",
54
- today: "Today"
55
- }
56
- }
57
- };
58
- const defaultValues = {
59
- selectionMode: "single",
60
- granularity: "day",
61
- tooltip: "",
62
- label: "",
63
- description: "",
64
- allowPastDates: true,
65
- allowFutureDates: true,
66
- required: false,
67
- readOnly: false,
68
- disabled: false,
69
- clearable: false
70
- };
71
- var SelectionModeValues = /* @__PURE__ */ ((SelectionModeValues2) => {
72
- SelectionModeValues2["Single"] = "single";
73
- SelectionModeValues2["Range"] = "range";
74
- return SelectionModeValues2;
75
- })(SelectionModeValues || {});
76
- var GranularityValues = /* @__PURE__ */ ((GranularityValues2) => {
77
- GranularityValues2["Day"] = "day";
78
- GranularityValues2["Hour"] = "hour";
79
- GranularityValues2["Minute"] = "minute";
80
- return GranularityValues2;
81
- })(GranularityValues || {});
82
- const DesignStates = {
83
- root: {
84
- hover: {
85
- displayName: DisplayNames.root.designStates.hover,
86
- className: "datePicker--hover"
87
- },
88
- focus: {
89
- displayName: DisplayNames.root.designStates.focus,
90
- className: "datePicker--focus"
91
- },
92
- disabled: {
93
- displayName: DisplayNames.root.designStates.disabled,
94
- className: "datePicker--disabled"
95
- }
96
- },
97
- dateInput: {
98
- hover: {
99
- displayName: DisplayNames.root.designStates.hover,
100
- className: "datePicker__group--hover"
101
- },
102
- focus: {
103
- displayName: DisplayNames.root.designStates.focus,
104
- className: "datePicker__group--focus"
27
+ text: "Text",
28
+ button: "Button"
105
29
  },
106
- disabled: {
107
- displayName: DisplayNames.root.designStates.disabled,
108
- className: "datePicker__group--disabled"
109
- }
110
- },
111
- calendarButton: {
112
- hover: {
113
- displayName: DisplayNames.root.designStates.hover,
114
- className: "datePicker__calendar-button--hover"
115
- },
116
- selected: {
117
- displayName: DisplayNames.root.designStates.selected,
118
- className: "datePicker__calendar-button--selected"
119
- }
120
- },
121
- calendarDay: {
122
- hover: {
123
- displayName: DisplayNames.root.designStates.hover,
124
- className: "datePicker__day--hover"
125
- },
126
- selected: {
127
- displayName: DisplayNames.root.designStates.selected,
128
- className: "datePicker__day--selected"
129
- },
130
- disabled: {
131
- displayName: DisplayNames.root.designStates.disabled,
132
- className: "datePicker__day--disabled"
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"
133
39
  }
134
40
  }
135
41
  };
136
- const PREVIEW_CALENDAR_OPEN = "previewCalendarOpen";
137
- const EMPTY_VALUE = "";
138
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
139
- const AriaLabels = {
140
- root: { key: "datePicker_aria_label", default: "Date picker" },
141
- clear: { key: "datePicker_clear_button", default: "Clear" },
142
- openCalendar: { key: "datePicker_open_calendar", default: "Open calendar" }
42
+ const defaultValues = {
43
+ expandMode: "button"
143
44
  };
45
+ var ExpandModeValues = /* @__PURE__ */ ((ExpandModeValues2) => {
46
+ ExpandModeValues2["Link"] = "link";
47
+ ExpandModeValues2["Expand"] = "button";
48
+ return ExpandModeValues2;
49
+ })(ExpandModeValues || {});
144
50
  const TestIds = {
145
- root: "datepicker-root",
146
- group: "datepicker-group",
147
- field: "datepicker-field",
148
- endField: "datepicker-end-field",
149
- calendarButton: "datepicker-calendar-button",
150
- clearButton: "datepicker-clear-button",
151
- calendar: "datepicker-calendar",
152
- tooltipButton: "datepicker-tooltip-button",
153
- errorMessage: "datepicker-error-message",
154
- requiredIndicator: "datepicker-required-indicator"
51
+ root: "collapsible-text-root",
52
+ textWrapper: "collapsible-text-text-wrapper"
155
53
  };
156
- const selectors = {
157
- root: "datePicker",
158
- label: "datePicker__label",
159
- description: "datePicker__description",
160
- requiredIndicator: "datePicker__required-indicator",
161
- group: "datePicker__group",
162
- calendarButton: "datePicker__calendar-button",
163
- popover: "datePicker__popover",
164
- calendar: "datePicker__calendar",
165
- day: "datePicker__day",
166
- errorMessage: "datePicker__error-message"
54
+ const FALLBACK_LINE_HEIGHT = 22.4;
55
+ const LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE = 1;
56
+ const semanticClassNames = {
57
+ root: "collapsible-text",
58
+ text: "collapsible-text__text"
167
59
  };
168
- const VALUE_MISSING_MESSAGE = "This field is required";
169
60
  export {
170
- ARIA_LABEL_NAMESPACE as A,
171
- DesignStates as D,
172
- EMPTY_VALUE as E,
173
- GranularityValues as G,
174
- PREVIEW_CALENDAR_OPEN as P,
175
- SelectionModeValues as S,
61
+ DisplayNames as D,
62
+ ExpandModeValues as E,
63
+ FALLBACK_LINE_HEIGHT as F,
64
+ LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE as L,
176
65
  TestIds as T,
177
- VALUE_MISSING_MESSAGE as V,
178
- AriaLabels as a,
179
- DisplayNames as b,
180
66
  defaultValues as d,
181
- selectors as s
67
+ manifestClasses as m,
68
+ semanticClassNames as s
182
69
  };
@@ -1,69 +1,120 @@
1
- const manifestClasses = {
2
- root: "collapsible-text",
3
- text: "text",
4
- expandControl: "expand-control"
5
- };
6
1
  const DisplayNames = {
7
2
  root: {
8
- elementDisplayName: "Collapsible Text",
9
- actions: {
10
- settings: "Settings",
11
- design: "Design"
12
- },
3
+ elementDisplayName: "Checkbox Group",
13
4
  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"
25
- },
26
- elements: {
27
- text: "Text",
28
- button: "Button"
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",
14
+ required: "Required",
15
+ readOnly: "Read only",
16
+ disabled: "Disabled",
17
+ selectAll: "Select all",
18
+ selectAllLabel: "Select all label"
29
19
  },
30
20
  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"
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"
52
+ },
53
+ focus: {
54
+ displayName: "Focus",
55
+ className: "checkbox-group__indicator--focus"
56
+ },
57
+ disabled: {
58
+ displayName: "Disabled",
59
+ className: "checkbox-group__indicator--disabled"
60
+ },
61
+ invalid: {
62
+ displayName: "Invalid",
63
+ className: "checkbox-group__indicator--invalid"
39
64
  }
40
65
  }
41
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
+ ];
42
72
  const defaultValues = {
43
- expandMode: "button"
73
+ label: "Label",
74
+ tooltip: "",
75
+ displayLabel: true,
76
+ selectAllLabel: "Select all",
77
+ required: false,
78
+ readOnly: false,
79
+ disabled: false,
80
+ selectAll: false
44
81
  };
45
- var ExpandModeValues = /* @__PURE__ */ ((ExpandModeValues2) => {
46
- ExpandModeValues2["Link"] = "link";
47
- ExpandModeValues2["Expand"] = "button";
48
- return ExpandModeValues2;
49
- })(ExpandModeValues || {});
82
+ const VALUE_MISSING_MESSAGE = "This field is required";
50
83
  const TestIds = {
51
- root: "collapsible-text-root",
52
- textWrapper: "collapsible-text-text-wrapper"
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"
95
+ };
96
+ const selectors = {
97
+ root: "checkbox-group",
98
+ indicator: "checkbox-group__indicator",
99
+ label: "checkbox-group__label",
100
+ groupLabel: "checkbox-group__group-label"
53
101
  };
54
- const FALLBACK_LINE_HEIGHT = 22.4;
55
- const LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE = 1;
56
102
  const semanticClassNames = {
57
- root: "collapsible-text",
58
- text: "collapsible-text__text"
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"
59
110
  };
60
111
  export {
61
- DisplayNames as D,
62
- ExpandModeValues as E,
63
- FALLBACK_LINE_HEIGHT as F,
64
- LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE as L,
112
+ DesignStates as D,
65
113
  TestIds as T,
114
+ VALUE_MISSING_MESSAGE as V,
115
+ defaultOptions as a,
116
+ semanticClassNames as b,
117
+ DisplayNames as c,
66
118
  defaultValues as d,
67
- manifestClasses as m,
68
- semanticClassNames as s
119
+ selectors as s
69
120
  };
@@ -1,97 +1,22 @@
1
- const selectors = {
2
- root: "textInput",
3
- label: "textInput__label",
4
- input: "textInput__input",
5
- prefix: "textInput__prefix",
6
- helperText: "textInput__helper",
7
- requiredIndicator: "textInput__required-indicator"
8
- };
1
+ import { S as SharedDisplayNames } from "./constants9.js";
9
2
  const TestIds = {
10
- requiredIndicator: "text-input-required-indicator",
11
- tooltipButton: "text-input-tooltip-button"
12
- };
13
- const VALUE_MISSING_MESSAGE = "This field is required";
14
- const DesignStates = {
15
- input: {
16
- hover: { displayName: "Hover", className: "textInput__input--hover" },
17
- focus: { displayName: "Focus", className: "textInput__input--focus" },
18
- error: { displayName: "Error", className: "textInput__input--error" },
19
- disabled: {
20
- displayName: "Disabled",
21
- className: "textInput__input--disabled"
22
- }
3
+ viewer: {
4
+ container: "TextEffectsStriped-container",
5
+ text: "TextEffectsStriped-text"
23
6
  }
24
7
  };
25
8
  const DisplayNames = {
26
- root: {
27
- elementDisplayName: "TextInput",
28
- elements: {
29
- label: "Label",
30
- input: "Input",
31
- prefix: "Prefix",
32
- helperText: "Helper text"
33
- }
34
- },
9
+ ...SharedDisplayNames,
35
10
  cssCustomProperties: {
36
- helperFont: "Helper text font",
37
- helperColor: "Helper text color",
38
- textColor: "Text color",
39
- placeholderTextColor: "Placeholder text color",
40
- requiredTextColor: "Required text color",
41
- prefixFont: "Prefix font",
42
- labelFont: "Label font",
43
- labelTextColor: "Label text color",
44
- labelMarginBottom: "Label bottom margin",
45
- labelPaddingInlineStart: "Label left padding",
46
- labelPaddingInlineEnd: "Label right padding",
47
- labelAlign: "Label alignment",
48
- inputAlign: "Input alignment"
49
- },
50
- data: {
51
- value: "Value",
52
- defaultValue: "Default value",
53
- isDisabled: "Disabled",
54
- name: "Name",
55
- minLength: "Minimum length",
56
- autocompleteToken: "Autocomplete type",
57
- numberSpinnerHidden: "Hide number spinner",
58
- labelDirection: "Label direction",
59
- inputDirection: "Input direction",
60
- inputType: "Input type",
61
- maxLength: "Maximum length",
62
- min: "Minimum value",
63
- max: "Maximum value",
64
- pattern: "Pattern validation",
65
- phoneFormat: "Phone format",
66
- label: "Label text",
67
- placeholder: "Placeholder text",
68
- tooltip: "Tooltip",
69
- description: "Helper text",
70
- autoComplete: "Autocomplete",
71
- readOnly: "Read only",
72
- required: "Required",
73
- errorMessageType: "Error message format",
74
- prefix: "Prefix",
75
- step: "Step"
76
- },
77
- options: {
78
- text: "Text",
79
- number: "Number",
80
- email: "Email",
81
- url: "URL",
82
- tel: "Phone number",
83
- password: "Password",
84
- center: "Center",
85
- start: "Left",
86
- end: "Right",
87
- inline: "Inline",
88
- tooltip: "Tooltip"
11
+ stripeAngle: "Angle",
12
+ stripeSize: "Size",
13
+ innerAnimationSpeed: "Speed",
14
+ disableInnerAnimation: "Animation",
15
+ textEffectsColor1: "Color 1",
16
+ textEffectsColor2: "Color 2"
89
17
  }
90
18
  };
91
19
  export {
92
- DesignStates as D,
93
- TestIds as T,
94
- VALUE_MISSING_MESSAGE as V,
95
- DisplayNames as a,
96
- selectors as s
20
+ DisplayNames as D,
21
+ TestIds as T
97
22
  };
@@ -1,120 +1,90 @@
1
1
  const DisplayNames = {
2
2
  root: {
3
- elementDisplayName: "Checkbox Group",
3
+ elementDisplayName: "Checkbox",
4
4
  data: {
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",
5
+ checked: "Checked",
6
+ defaultChecked: "Checked by default",
14
7
  required: "Required",
15
8
  readOnly: "Read only",
16
9
  disabled: "Disabled",
17
- selectAll: "Select all",
18
- selectAllLabel: "Select all label"
10
+ indeterminate: "Indeterminate",
11
+ label: "Label",
12
+ tooltip: "Tooltip"
19
13
  },
20
14
  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"
15
+ gap: "Spacing",
16
+ alignment: "Alignment"
26
17
  }
27
18
  },
28
19
  indicator: {
29
20
  elementDisplayName: "Indicator",
30
21
  cssCustomProperties: {
31
- checkedBackgroundColor: "Checked background color",
32
22
  uncheckedBackgroundColor: "Unchecked background color",
33
- checkedBorderColor: "Checked border color",
34
23
  uncheckedBorderColor: "Unchecked border color",
24
+ checkedBackgroundColor: "Checked background color",
25
+ checkedBorderColor: "Checked border color",
35
26
  borderWidth: "Border width",
36
- checkMarkColor: "Checkmark color",
27
+ checkmarkColor: "Checkmark color",
37
28
  size: "Checkbox size"
38
29
  }
39
30
  },
40
- optionLabel: {
41
- elementDisplayName: "Option label"
42
- },
43
- groupLabel: {
44
- elementDisplayName: "Group label"
31
+ label: {
32
+ elementDisplayName: "Label"
45
33
  }
46
34
  };
47
35
  const DesignStates = {
48
36
  indicator: {
49
- hover: {
50
- displayName: "Hover",
51
- className: "checkbox-group__indicator--hover"
52
- },
53
- focus: {
54
- displayName: "Focus",
55
- className: "checkbox-group__indicator--focus"
56
- },
37
+ hover: { displayName: "Hover", className: "checkbox__indicator--hover" },
38
+ focus: { displayName: "Focus", className: "checkbox__indicator--focus" },
57
39
  disabled: {
58
40
  displayName: "Disabled",
59
- className: "checkbox-group__indicator--disabled"
41
+ className: "checkbox__indicator--disabled"
60
42
  },
61
43
  invalid: {
62
44
  displayName: "Invalid",
63
- className: "checkbox-group__indicator--invalid"
45
+ className: "checkbox__indicator--invalid"
64
46
  }
65
47
  }
66
48
  };
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
49
  const defaultValues = {
73
50
  label: "Label",
74
- tooltip: "",
75
- displayLabel: true,
76
- selectAllLabel: "Select all",
51
+ checked: false,
52
+ defaultChecked: false,
77
53
  required: false,
78
54
  readOnly: false,
79
55
  disabled: false,
80
- selectAll: false
56
+ indeterminate: false,
57
+ tooltip: ""
81
58
  };
82
59
  const VALUE_MISSING_MESSAGE = "This field is required";
83
60
  const TestIds = {
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"
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"
95
68
  };
96
69
  const selectors = {
97
- root: "checkbox-group",
98
- indicator: "checkbox-group__indicator",
99
- label: "checkbox-group__label",
100
- groupLabel: "checkbox-group__group-label"
70
+ root: "checkbox",
71
+ indicator: "checkbox__indicator",
72
+ label: "checkbox__label"
101
73
  };
102
74
  const semanticClassNames = {
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"
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"
110
81
  };
111
82
  export {
112
83
  DesignStates as D,
113
84
  TestIds as T,
114
85
  VALUE_MISSING_MESSAGE as V,
115
- defaultOptions as a,
116
- semanticClassNames as b,
117
- DisplayNames as c,
86
+ semanticClassNames as a,
87
+ DisplayNames as b,
118
88
  defaultValues as d,
119
89
  selectors as s
120
90
  };