@wix/editor-react-components 1.2637.0 → 1.2639.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 +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +1 -1
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +1 -1
- 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 +1 -1
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/component.js +3 -42
- package/dist/site/components/HeadingTextBlock/css.css +20 -21
- package/dist/site/components/HeadingTextBlock/manifest.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/ImageReveal/ImageReveal.d.ts +4 -0
- package/dist/site/components/ImageReveal/component.d.ts +2 -0
- package/dist/site/components/ImageReveal/component.js +317 -0
- package/dist/site/components/ImageReveal/constants.d.ts +49 -0
- package/dist/site/components/ImageReveal/css.css +364 -0
- package/dist/site/components/ImageReveal/index.d.ts +2 -0
- package/dist/site/components/ImageReveal/index.js +6 -0
- package/dist/site/components/ImageReveal/manifest.d.ts +5 -0
- package/dist/site/components/ImageReveal/manifest.js +330 -0
- package/dist/site/components/ImageReveal/types.d.ts +27 -0
- package/dist/site/components/chunks/constants32.js +49 -24
- package/dist/site/components/chunks/constants33.js +25 -56
- package/dist/site/components/chunks/constants34.js +59 -10
- package/dist/site/components/chunks/constants35.js +10 -206
- package/dist/site/components/chunks/constants36.js +182 -153
- package/dist/site/components/chunks/constants37.js +162 -49
- package/dist/site/components/chunks/constants38.js +51 -102
- package/dist/site/components/chunks/constants39.js +69 -39
- package/dist/site/components/chunks/constants40.js +72 -69
- package/dist/site/components/chunks/constants41.js +73 -77
- package/dist/site/components/chunks/constants42.js +75 -56
- package/dist/site/components/chunks/constants43.js +72 -0
- package/dist/site/components/chunks/index14.js +46 -0
- package/dist/site/components/extensions.js +35 -33
- package/package.json +2 -2
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { C as CSS_PROPERTIES, L as LAYOUT, b as DISPLAY_GROUPS, E as ELEMENTS, N as NativeStateType, D as DATA, A as Archetype } from "../chunks/chunk-ZHYIPFVN.js";
|
|
2
|
+
import { g as getSelector } from "../chunks/manifest.js";
|
|
3
|
+
import { a as DisplayNames, d as defaultValues, m as manifestClasses } from "../chunks/constants32.js";
|
|
4
|
+
const LABEL_CSS_PROPERTIES = {
|
|
5
|
+
font: {
|
|
6
|
+
defaultValue: "var(--wst-paragraph-2-font)"
|
|
7
|
+
},
|
|
8
|
+
lineHeight: {},
|
|
9
|
+
letterSpacing: {
|
|
10
|
+
defaultValue: "0.04em"
|
|
11
|
+
},
|
|
12
|
+
textDecorationLine: {},
|
|
13
|
+
textTransform: {},
|
|
14
|
+
textAlign: {},
|
|
15
|
+
textShadow: {},
|
|
16
|
+
color: {
|
|
17
|
+
defaultValue: "#1e293b"
|
|
18
|
+
},
|
|
19
|
+
background: {
|
|
20
|
+
defaultValue: "#ffb6c1"
|
|
21
|
+
},
|
|
22
|
+
borderStartStartRadius: {
|
|
23
|
+
defaultValue: "0"
|
|
24
|
+
},
|
|
25
|
+
borderStartEndRadius: {
|
|
26
|
+
defaultValue: "20px"
|
|
27
|
+
},
|
|
28
|
+
borderEndStartRadius: {
|
|
29
|
+
defaultValue: "0"
|
|
30
|
+
},
|
|
31
|
+
borderEndEndRadius: {
|
|
32
|
+
defaultValue: "20px"
|
|
33
|
+
},
|
|
34
|
+
width: {
|
|
35
|
+
displayName: "Label Width",
|
|
36
|
+
defaultValue: "36px"
|
|
37
|
+
},
|
|
38
|
+
height: {
|
|
39
|
+
displayName: "Label Height",
|
|
40
|
+
defaultValue: "90px"
|
|
41
|
+
},
|
|
42
|
+
display: {
|
|
43
|
+
display: {
|
|
44
|
+
displayValues: [
|
|
45
|
+
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
46
|
+
CSS_PROPERTIES.DISPLAY_VALUE.flex
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
const manifest = {
|
|
52
|
+
id: "9cd0f834-3ca6-4a0d-9361-510cadb42471",
|
|
53
|
+
type: "wixEditorElements.ImageReveal",
|
|
54
|
+
description: "A before and after image comparison slider with a draggable divider",
|
|
55
|
+
editorElement: {
|
|
56
|
+
selector: getSelector(manifestClasses.root),
|
|
57
|
+
displayName: DisplayNames.root.elementDisplayName,
|
|
58
|
+
archetype: Archetype.Slider,
|
|
59
|
+
data: {
|
|
60
|
+
a11y: {
|
|
61
|
+
dataType: DATA.DATA_TYPE.a11y,
|
|
62
|
+
[DATA.DATA_TYPE.a11y]: {
|
|
63
|
+
attributes: [
|
|
64
|
+
DATA.A11Y_ATTRIBUTES.tabIndex,
|
|
65
|
+
DATA.A11Y_ATTRIBUTES.role,
|
|
66
|
+
DATA.A11Y_ATTRIBUTES.ariaLabel,
|
|
67
|
+
DATA.A11Y_ATTRIBUTES.ariaLabelledby,
|
|
68
|
+
DATA.A11Y_ATTRIBUTES.ariaDescribedby,
|
|
69
|
+
DATA.A11Y_ATTRIBUTES.ariaHidden
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
beforeImage: {
|
|
74
|
+
displayName: DisplayNames.root.data.beforeImage,
|
|
75
|
+
dataType: DATA.DATA_TYPE.image,
|
|
76
|
+
[DATA.DATA_TYPE.image]: {
|
|
77
|
+
category: "IMAGE"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
afterImage: {
|
|
81
|
+
displayName: DisplayNames.root.data.afterImage,
|
|
82
|
+
dataType: DATA.DATA_TYPE.image,
|
|
83
|
+
[DATA.DATA_TYPE.image]: {
|
|
84
|
+
category: "IMAGE"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
beforeLabel: {
|
|
88
|
+
displayName: DisplayNames.root.data.beforeLabel,
|
|
89
|
+
dataType: DATA.DATA_TYPE.text,
|
|
90
|
+
defaultValue: defaultValues.beforeLabel
|
|
91
|
+
},
|
|
92
|
+
afterLabel: {
|
|
93
|
+
displayName: DisplayNames.root.data.afterLabel,
|
|
94
|
+
dataType: DATA.DATA_TYPE.text,
|
|
95
|
+
defaultValue: defaultValues.afterLabel
|
|
96
|
+
},
|
|
97
|
+
labelPosition: {
|
|
98
|
+
displayName: DisplayNames.root.data.labelPosition.displayName,
|
|
99
|
+
dataType: DATA.DATA_TYPE.textEnum,
|
|
100
|
+
[DATA.DATA_TYPE.textEnum]: {
|
|
101
|
+
options: [
|
|
102
|
+
{
|
|
103
|
+
value: "horizontal",
|
|
104
|
+
displayName: DisplayNames.root.data.labelPosition.options.horizontal
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
value: "vertical",
|
|
108
|
+
displayName: DisplayNames.root.data.labelPosition.options.vertical
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
defaultValue: defaultValues.labelPosition
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
elements: {
|
|
116
|
+
imageRevealDivider: {
|
|
117
|
+
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
118
|
+
inlineElement: {
|
|
119
|
+
selector: getSelector(manifestClasses.divider),
|
|
120
|
+
displayName: DisplayNames.root.elements.divider,
|
|
121
|
+
behaviors: {
|
|
122
|
+
removable: true,
|
|
123
|
+
selectable: false
|
|
124
|
+
},
|
|
125
|
+
cssProperties: {
|
|
126
|
+
background: {
|
|
127
|
+
defaultValue: "rgba(255,255,255,0.85)"
|
|
128
|
+
},
|
|
129
|
+
width: {
|
|
130
|
+
displayName: "Line Width",
|
|
131
|
+
defaultValue: "2px"
|
|
132
|
+
},
|
|
133
|
+
display: {
|
|
134
|
+
display: {
|
|
135
|
+
displayValues: [
|
|
136
|
+
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
137
|
+
CSS_PROPERTIES.DISPLAY_VALUE.block
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
imageRevealBtn: {
|
|
145
|
+
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
146
|
+
inlineElement: {
|
|
147
|
+
selector: getSelector(manifestClasses.btn),
|
|
148
|
+
displayName: DisplayNames.root.elements.btn,
|
|
149
|
+
behaviors: {
|
|
150
|
+
removable: true,
|
|
151
|
+
selectable: false
|
|
152
|
+
},
|
|
153
|
+
cssProperties: {
|
|
154
|
+
background: {
|
|
155
|
+
defaultValue: "rgba(255,255,255,1)"
|
|
156
|
+
},
|
|
157
|
+
border: {
|
|
158
|
+
defaultValue: "none"
|
|
159
|
+
},
|
|
160
|
+
padding: {
|
|
161
|
+
defaultValue: "9px"
|
|
162
|
+
},
|
|
163
|
+
borderRadius: {
|
|
164
|
+
defaultValue: "50%"
|
|
165
|
+
},
|
|
166
|
+
boxShadow: {
|
|
167
|
+
defaultValue: "0 4px 12px rgba(0,0,0,0.22)"
|
|
168
|
+
},
|
|
169
|
+
display: {
|
|
170
|
+
display: {
|
|
171
|
+
displayValues: [
|
|
172
|
+
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
173
|
+
CSS_PROPERTIES.DISPLAY_VALUE.flex
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
states: {
|
|
179
|
+
hover: {
|
|
180
|
+
displayName: "Hover",
|
|
181
|
+
className: "image-reveal-btn--hover",
|
|
182
|
+
pseudoClass: NativeStateType.hover
|
|
183
|
+
},
|
|
184
|
+
focus: {
|
|
185
|
+
displayName: "Focus",
|
|
186
|
+
className: "image-reveal-btn--focus",
|
|
187
|
+
pseudoClass: NativeStateType.focus
|
|
188
|
+
},
|
|
189
|
+
disabled: {
|
|
190
|
+
displayName: "Disabled",
|
|
191
|
+
className: "image-reveal-btn--disabled",
|
|
192
|
+
pseudoClass: NativeStateType.disabled,
|
|
193
|
+
props: { buttonsDisabled: true }
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
elements: {
|
|
197
|
+
imageRevealArrowIcon: {
|
|
198
|
+
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
199
|
+
inlineElement: {
|
|
200
|
+
selector: getSelector(manifestClasses.arrowIcon),
|
|
201
|
+
displayName: DisplayNames.root.elements.arrowIcon,
|
|
202
|
+
behaviors: {
|
|
203
|
+
removable: true,
|
|
204
|
+
selectable: false
|
|
205
|
+
},
|
|
206
|
+
cssProperties: {
|
|
207
|
+
color: {
|
|
208
|
+
displayName: "Icon Color",
|
|
209
|
+
defaultValue: "#1e293b"
|
|
210
|
+
},
|
|
211
|
+
display: {
|
|
212
|
+
display: {
|
|
213
|
+
displayValues: [
|
|
214
|
+
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
215
|
+
CSS_PROPERTIES.DISPLAY_VALUE.block
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
displayGroups: {
|
|
221
|
+
iconGroup: {
|
|
222
|
+
displayName: DisplayNames.root.displayGroups.iconGroup,
|
|
223
|
+
groupType: DISPLAY_GROUPS.GROUP_TYPE.cssDataType,
|
|
224
|
+
cssDataType: {
|
|
225
|
+
items: ["icon-size"]
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
cssCustomProperties: {
|
|
230
|
+
"icon-size": {
|
|
231
|
+
displayName: "Icon Size",
|
|
232
|
+
defaultValue: "18px",
|
|
233
|
+
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.length
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
cssCustomProperties: {
|
|
240
|
+
"arrow-spacing": {
|
|
241
|
+
displayName: "Spacing",
|
|
242
|
+
defaultValue: "3px",
|
|
243
|
+
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.length
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
imageRevealLabelBefore: {
|
|
249
|
+
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
250
|
+
inlineElement: {
|
|
251
|
+
selector: getSelector(manifestClasses.labelBefore),
|
|
252
|
+
displayName: DisplayNames.root.elements.labelBefore,
|
|
253
|
+
behaviors: {
|
|
254
|
+
removable: true,
|
|
255
|
+
selectable: false
|
|
256
|
+
},
|
|
257
|
+
cssProperties: LABEL_CSS_PROPERTIES
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
imageRevealLabelAfter: {
|
|
261
|
+
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
262
|
+
inlineElement: {
|
|
263
|
+
selector: getSelector(manifestClasses.labelAfter),
|
|
264
|
+
displayName: DisplayNames.root.elements.labelAfter,
|
|
265
|
+
behaviors: {
|
|
266
|
+
removable: true,
|
|
267
|
+
selectable: false
|
|
268
|
+
},
|
|
269
|
+
cssProperties: LABEL_CSS_PROPERTIES
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
displayGroups: {
|
|
274
|
+
partsOrder: {
|
|
275
|
+
groupType: DISPLAY_GROUPS.GROUP_TYPE.elements,
|
|
276
|
+
elements: {
|
|
277
|
+
items: [
|
|
278
|
+
"imageRevealDivider",
|
|
279
|
+
"imageRevealBtn",
|
|
280
|
+
"imageRevealLabelBefore",
|
|
281
|
+
"imageRevealLabelAfter"
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
textFieldsOrder: {
|
|
286
|
+
groupType: DISPLAY_GROUPS.GROUP_TYPE.data,
|
|
287
|
+
data: {
|
|
288
|
+
items: ["beforeLabel", "afterLabel"]
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
cssProperties: {
|
|
293
|
+
border: { defaultValue: "none" },
|
|
294
|
+
borderRadius: {
|
|
295
|
+
defaultValue: "12px"
|
|
296
|
+
},
|
|
297
|
+
boxShadow: {}
|
|
298
|
+
},
|
|
299
|
+
cssCustomProperties: {},
|
|
300
|
+
layout: {
|
|
301
|
+
resizeDirection: LAYOUT.RESIZE_DIRECTION.horizontalAndVertical,
|
|
302
|
+
contentResizeDirection: LAYOUT.CONTENT_RESIZE_DIRECTION.vertical
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
installation: {
|
|
306
|
+
initialSize: {
|
|
307
|
+
width: {
|
|
308
|
+
sizingType: LAYOUT.SIZING_TYPE.pixels,
|
|
309
|
+
pixels: 500
|
|
310
|
+
},
|
|
311
|
+
height: {
|
|
312
|
+
sizingType: LAYOUT.SIZING_TYPE.pixels,
|
|
313
|
+
pixels: 350
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
resources: {
|
|
318
|
+
client: {
|
|
319
|
+
componentUrl: "./site/components/ImageReveal/component.tsx",
|
|
320
|
+
moduleSpecifier: "@wix/editor-react-components/ImageReveal"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
moduleConfiguration: {
|
|
324
|
+
package: { name: "@wix/editor-react-components", version: "^1.0.0" },
|
|
325
|
+
component: { path: "site/components/ImageReveal" }
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
export {
|
|
329
|
+
manifest as default
|
|
330
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { A11y, Direction, Image } from '@wix/editor-react-types';
|
|
2
|
+
type InlineElementProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
export type ImageRevealProps = {
|
|
6
|
+
id: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
direction?: Direction;
|
|
9
|
+
a11y?: A11y;
|
|
10
|
+
beforeImage?: Image;
|
|
11
|
+
afterImage?: Image;
|
|
12
|
+
beforeLabel?: string;
|
|
13
|
+
afterLabel?: string;
|
|
14
|
+
labelPosition?: 'horizontal' | 'vertical';
|
|
15
|
+
buttonsDisabled?: boolean;
|
|
16
|
+
elementProps?: {
|
|
17
|
+
imageRevealDivider?: InlineElementProps;
|
|
18
|
+
imageRevealBtn?: InlineElementProps;
|
|
19
|
+
imageRevealArrowIcon?: InlineElementProps;
|
|
20
|
+
imageRevealLabelBefore?: InlineElementProps;
|
|
21
|
+
imageRevealLabelAfter?: InlineElementProps;
|
|
22
|
+
};
|
|
23
|
+
wix?: {
|
|
24
|
+
presetsWrapperProps?: Record<string, unknown>;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -1,33 +1,58 @@
|
|
|
1
|
-
const
|
|
1
|
+
const manifestClasses = {
|
|
2
|
+
root: "image-reveal",
|
|
3
|
+
divider: "image-reveal-divider",
|
|
4
|
+
btn: "image-reveal-btn",
|
|
5
|
+
arrowIcon: "image-reveal-arrow-icon",
|
|
6
|
+
labelBefore: "image-reveal-label-before",
|
|
7
|
+
labelAfter: "image-reveal-label-after"
|
|
8
|
+
};
|
|
9
|
+
const defaultValues = {
|
|
10
|
+
beforeLabel: "Before",
|
|
11
|
+
afterLabel: "After",
|
|
12
|
+
labelPosition: "horizontal"
|
|
13
|
+
};
|
|
2
14
|
const DisplayNames = {
|
|
3
15
|
root: {
|
|
4
|
-
elementDisplayName: "
|
|
5
|
-
|
|
6
|
-
|
|
16
|
+
elementDisplayName: "Image Reveal",
|
|
17
|
+
data: {
|
|
18
|
+
beforeImage: "Before Image",
|
|
19
|
+
afterImage: "After Image",
|
|
20
|
+
beforeLabel: "Before Label",
|
|
21
|
+
afterLabel: "After Label",
|
|
22
|
+
labelPosition: {
|
|
23
|
+
displayName: "Label Position",
|
|
24
|
+
options: {
|
|
25
|
+
horizontal: "Horizontal",
|
|
26
|
+
vertical: "Vertical"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
7
29
|
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
30
|
+
elements: {
|
|
31
|
+
divider: "Divider",
|
|
32
|
+
btn: "Buttons",
|
|
33
|
+
arrowIcon: "Arrow",
|
|
34
|
+
labelBefore: "Before Label",
|
|
35
|
+
labelAfter: "After Label"
|
|
36
|
+
},
|
|
37
|
+
displayGroups: {
|
|
38
|
+
iconGroup: "Icon"
|
|
11
39
|
}
|
|
12
40
|
}
|
|
13
41
|
};
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const DefaultTranslations = {
|
|
22
|
-
ariaLabelCompliant: "HIPAA Compliant",
|
|
23
|
-
ariaLabelActivate: "HIPAA Certification",
|
|
24
|
-
activateHeading: "Activate HIPAA",
|
|
25
|
-
activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
|
|
42
|
+
const CHEVRON_PATH = "M15.5 4.5 8 12l7.5 7.5";
|
|
43
|
+
const DEFAULT_SLIDER_POSITION = 50;
|
|
44
|
+
const SLIDER_STEP = 10;
|
|
45
|
+
const ARIA_LABELS = {
|
|
46
|
+
prevButton: "Move slider left",
|
|
47
|
+
nextButton: "Move slider right",
|
|
48
|
+
handle: "Drag to compare before and after"
|
|
26
49
|
};
|
|
27
50
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DisplayNames as
|
|
51
|
+
ARIA_LABELS as A,
|
|
52
|
+
CHEVRON_PATH as C,
|
|
53
|
+
DEFAULT_SLIDER_POSITION as D,
|
|
54
|
+
SLIDER_STEP as S,
|
|
55
|
+
DisplayNames as a,
|
|
56
|
+
defaultValues as d,
|
|
57
|
+
manifestClasses as m
|
|
33
58
|
};
|
|
@@ -1,64 +1,33 @@
|
|
|
1
|
-
const
|
|
2
|
-
horizontal: "horizontal",
|
|
3
|
-
vertical: "vertical"
|
|
4
|
-
};
|
|
5
|
-
const manifestClasses = {
|
|
6
|
-
root: "heading-text-block",
|
|
7
|
-
heading: "heading-text-block-heading",
|
|
8
|
-
title: "heading-text-block-title",
|
|
9
|
-
subtitle: "heading-text-block-subtitle",
|
|
10
|
-
caption: "heading-text-block-caption"
|
|
11
|
-
};
|
|
12
|
-
const defaultValues = {
|
|
13
|
-
headingTag: "h1",
|
|
14
|
-
heading: "",
|
|
15
|
-
title: "",
|
|
16
|
-
subtitle: "",
|
|
17
|
-
caption: "",
|
|
18
|
-
partsRowGap: "12px",
|
|
19
|
-
partsColumnGap: "12px"
|
|
20
|
-
};
|
|
1
|
+
const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
|
|
21
2
|
const DisplayNames = {
|
|
22
3
|
root: {
|
|
23
|
-
elementDisplayName: "
|
|
24
|
-
data: {
|
|
25
|
-
headingTag: {
|
|
26
|
-
displayName: "Heading Tag",
|
|
27
|
-
options: {
|
|
28
|
-
h1: "H1",
|
|
29
|
-
h2: "H2",
|
|
30
|
-
h3: "H3",
|
|
31
|
-
h4: "H4",
|
|
32
|
-
h5: "H5",
|
|
33
|
-
h6: "H6"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
heading: "Heading",
|
|
37
|
-
title: "Title",
|
|
38
|
-
subtitle: "Subtitle",
|
|
39
|
-
caption: "Caption"
|
|
40
|
-
},
|
|
41
|
-
elements: {
|
|
42
|
-
heading: "Heading",
|
|
43
|
-
title: "Title",
|
|
44
|
-
subtitle: "Subtitle",
|
|
45
|
-
caption: "Caption"
|
|
46
|
-
},
|
|
47
|
-
displayGroups: {
|
|
48
|
-
partsSpacing: "Parts Spacing"
|
|
49
|
-
},
|
|
50
|
-
presets: {
|
|
51
|
-
horizontal: "Row",
|
|
52
|
-
vertical: "Stacked"
|
|
53
|
-
},
|
|
4
|
+
elementDisplayName: "HIPAA Certification",
|
|
54
5
|
customActions: {
|
|
55
|
-
|
|
6
|
+
hipaaSettings: "HIPAA Settings"
|
|
7
|
+
},
|
|
8
|
+
cssProperties: {
|
|
9
|
+
color: "Icon Color",
|
|
10
|
+
backgroundColor: "Background Color"
|
|
56
11
|
}
|
|
57
12
|
}
|
|
58
13
|
};
|
|
14
|
+
const TRANSLATIONS_NAMESPACE = "ariaLabels";
|
|
15
|
+
const TranslationKeys = {
|
|
16
|
+
ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
|
|
17
|
+
ariaLabelActivate: "hipaaIcon_aria_label_activate",
|
|
18
|
+
activateHeading: "hipaaIcon_activate_heading",
|
|
19
|
+
activateDescription: "hipaaIcon_activate_description"
|
|
20
|
+
};
|
|
21
|
+
const DefaultTranslations = {
|
|
22
|
+
ariaLabelCompliant: "HIPAA Compliant",
|
|
23
|
+
ariaLabelActivate: "HIPAA Certification",
|
|
24
|
+
activateHeading: "Activate HIPAA",
|
|
25
|
+
activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
|
|
26
|
+
};
|
|
59
27
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
28
|
+
DefaultTranslations as D,
|
|
29
|
+
HIPAA_SETTINGS_PANEL_ID as H,
|
|
30
|
+
TranslationKeys as T,
|
|
31
|
+
TRANSLATIONS_NAMESPACE as a,
|
|
32
|
+
DisplayNames as b
|
|
64
33
|
};
|
|
@@ -1,15 +1,64 @@
|
|
|
1
|
-
const
|
|
1
|
+
const presets = {
|
|
2
|
+
horizontal: "horizontal",
|
|
3
|
+
vertical: "vertical"
|
|
4
|
+
};
|
|
5
|
+
const manifestClasses = {
|
|
6
|
+
root: "heading-text-block",
|
|
7
|
+
heading: "heading-text-block-heading",
|
|
8
|
+
title: "heading-text-block-title",
|
|
9
|
+
subtitle: "heading-text-block-subtitle",
|
|
10
|
+
caption: "heading-text-block-caption"
|
|
11
|
+
};
|
|
12
|
+
const defaultValues = {
|
|
13
|
+
headingTag: "h1",
|
|
14
|
+
heading: "",
|
|
15
|
+
title: "",
|
|
16
|
+
subtitle: "",
|
|
17
|
+
caption: "",
|
|
18
|
+
partsRowGap: "12px",
|
|
19
|
+
partsColumnGap: "12px"
|
|
20
|
+
};
|
|
2
21
|
const DisplayNames = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
root: {
|
|
23
|
+
elementDisplayName: "Heading Text Block",
|
|
24
|
+
data: {
|
|
25
|
+
headingTag: {
|
|
26
|
+
displayName: "Heading Tag",
|
|
27
|
+
options: {
|
|
28
|
+
h1: "H1",
|
|
29
|
+
h2: "H2",
|
|
30
|
+
h3: "H3",
|
|
31
|
+
h4: "H4",
|
|
32
|
+
h5: "H5",
|
|
33
|
+
h6: "H6"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
heading: "Heading",
|
|
37
|
+
title: "Title",
|
|
38
|
+
subtitle: "Subtitle",
|
|
39
|
+
caption: "Caption"
|
|
40
|
+
},
|
|
41
|
+
elements: {
|
|
42
|
+
heading: "Heading",
|
|
43
|
+
title: "Title",
|
|
44
|
+
subtitle: "Subtitle",
|
|
45
|
+
caption: "Caption"
|
|
46
|
+
},
|
|
47
|
+
displayGroups: {
|
|
48
|
+
partsSpacing: "Parts Spacing"
|
|
49
|
+
},
|
|
50
|
+
presets: {
|
|
51
|
+
horizontal: "Row",
|
|
52
|
+
vertical: "Stacked"
|
|
53
|
+
},
|
|
54
|
+
customActions: {
|
|
55
|
+
layout: "Layout"
|
|
56
|
+
}
|
|
10
57
|
}
|
|
11
58
|
};
|
|
12
59
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
60
|
+
DisplayNames as D,
|
|
61
|
+
defaultValues as d,
|
|
62
|
+
manifestClasses as m,
|
|
63
|
+
presets as p
|
|
15
64
|
};
|