@wix/editor-react-components 1.2637.0 → 1.2638.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
|
@@ -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
|
};
|
|
@@ -1,72 +1,91 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
defaultState: "Choose the default state"
|
|
18
|
-
},
|
|
19
|
-
defaultStateOptions: {
|
|
20
|
-
allClosed: "All items closed",
|
|
21
|
-
firstOpened: "First item opened",
|
|
22
|
-
allOpened: "All items opened"
|
|
23
|
-
},
|
|
24
|
-
displayGroups: {
|
|
25
|
-
accordionItems: "Accordion Items"
|
|
26
|
-
},
|
|
27
|
-
layout: {
|
|
28
|
-
itemsGap: "Space between items"
|
|
29
|
-
}
|
|
1
|
+
const selectors = {
|
|
2
|
+
root: "audioPlayer",
|
|
3
|
+
controls: "controls",
|
|
4
|
+
playButton: "playButton",
|
|
5
|
+
playIcon: "playIcon",
|
|
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"
|
|
30
17
|
};
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
allowMultipleOpen: false,
|
|
35
|
-
titleHtmlTag: "h3"
|
|
18
|
+
const dataDefaults = {
|
|
19
|
+
loop: false,
|
|
20
|
+
volume: 100
|
|
36
21
|
};
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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"
|
|
42
31
|
};
|
|
43
|
-
const CONTAINER_INITIAL_HEIGHT = 240;
|
|
44
32
|
const DesignStates = {
|
|
45
|
-
|
|
33
|
+
controls: {
|
|
46
34
|
hover: {
|
|
47
35
|
displayName: "Hover",
|
|
48
|
-
className: "
|
|
36
|
+
className: "audio-player__controls--hover"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const DisplayNames = {
|
|
41
|
+
root: {
|
|
42
|
+
displayName: "Audio Player",
|
|
43
|
+
cssProperties: {
|
|
44
|
+
color: "Background color"
|
|
49
45
|
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
cssCustomProperties: {
|
|
47
|
+
"content-horizontal-alignment": "Alignment",
|
|
48
|
+
"vertical-spacing": "Vertical spacing",
|
|
49
|
+
"audio-title-gap": "Space between track details"
|
|
53
50
|
}
|
|
54
51
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
controls: {
|
|
53
|
+
displayName: "Playback controls",
|
|
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"
|
|
59
60
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
displayGroups: {
|
|
62
|
+
fillColors: "Fill colors",
|
|
63
|
+
icon: "Icon"
|
|
63
64
|
}
|
|
65
|
+
},
|
|
66
|
+
elements: {
|
|
67
|
+
coverMedia: "Cover art",
|
|
68
|
+
audioTitle: "Audio title",
|
|
69
|
+
artistName: "Artist name",
|
|
70
|
+
progressBar: "Progress bar",
|
|
71
|
+
timeDisplay: "Time display",
|
|
72
|
+
volumeControls: "Volume control"
|
|
73
|
+
},
|
|
74
|
+
data: {
|
|
75
|
+
coverImage: "Image",
|
|
76
|
+
displayMode: "Display mode",
|
|
77
|
+
loop: "Plays in a loop",
|
|
78
|
+
volume: "Volume"
|
|
79
|
+
},
|
|
80
|
+
displayGroups: {
|
|
81
|
+
playbackOptions: "Playback"
|
|
64
82
|
}
|
|
65
83
|
};
|
|
66
84
|
export {
|
|
67
|
-
|
|
85
|
+
ARIA_LABELS as A,
|
|
68
86
|
DesignStates as D,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
87
|
+
DisplayNames as a,
|
|
88
|
+
borderDefaultValue as b,
|
|
89
|
+
dataDefaults as d,
|
|
90
|
+
selectors as s
|
|
72
91
|
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const DISPLAY_NAMES = {
|
|
2
|
+
component: "Accordion",
|
|
3
|
+
elements: {
|
|
4
|
+
accordionItems: "Accordion items",
|
|
5
|
+
itemContent: "Item content",
|
|
6
|
+
itemTitles: "Item titles"
|
|
7
|
+
},
|
|
8
|
+
actions: {
|
|
9
|
+
manageAccordion: "Manage Accordion",
|
|
10
|
+
animatedIcon: "Customize Icon"
|
|
11
|
+
},
|
|
12
|
+
data: {
|
|
13
|
+
items: "Item",
|
|
14
|
+
title: "Title",
|
|
15
|
+
activeItem: "Active Item",
|
|
16
|
+
allowMultipleOpen: "Allow multiple open items",
|
|
17
|
+
defaultState: "Choose the default state"
|
|
18
|
+
},
|
|
19
|
+
defaultStateOptions: {
|
|
20
|
+
allClosed: "All items closed",
|
|
21
|
+
firstOpened: "First item opened",
|
|
22
|
+
allOpened: "All items opened"
|
|
23
|
+
},
|
|
24
|
+
displayGroups: {
|
|
25
|
+
accordionItems: "Accordion Items"
|
|
26
|
+
},
|
|
27
|
+
layout: {
|
|
28
|
+
itemsGap: "Space between items"
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const DEFAULT_PROPS = {
|
|
32
|
+
items: [],
|
|
33
|
+
defaultOpen: "none",
|
|
34
|
+
allowMultipleOpen: false,
|
|
35
|
+
titleHtmlTag: "h3"
|
|
36
|
+
};
|
|
37
|
+
const accordionManifestDefaults = {
|
|
38
|
+
data: { ...DEFAULT_PROPS },
|
|
39
|
+
style: {
|
|
40
|
+
itemsGap: "0px"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const CONTAINER_INITIAL_HEIGHT = 240;
|
|
44
|
+
const DesignStates = {
|
|
45
|
+
accordionItem: {
|
|
46
|
+
hover: {
|
|
47
|
+
displayName: "Hover",
|
|
48
|
+
className: "accordion-component__accordion-item--hover"
|
|
49
|
+
},
|
|
50
|
+
selected: {
|
|
51
|
+
displayName: "Selected",
|
|
52
|
+
className: "accordion-component__accordion-item--selected"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
itemTitle: {
|
|
56
|
+
hover: {
|
|
57
|
+
displayName: "Hover",
|
|
58
|
+
className: "accordion-component__item-title--hover"
|
|
59
|
+
},
|
|
60
|
+
selected: {
|
|
61
|
+
displayName: "Selected",
|
|
62
|
+
className: "accordion-component__item-title--selected"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
CONTAINER_INITIAL_HEIGHT as C,
|
|
68
|
+
DesignStates as D,
|
|
69
|
+
DEFAULT_PROPS as a,
|
|
70
|
+
DISPLAY_NAMES as b,
|
|
71
|
+
accordionManifestDefaults as c
|
|
72
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
const Typography_module = {
|
|
5
|
+
h1: "h1-go2_mI",
|
|
6
|
+
h2: "h2-dAyvwd",
|
|
7
|
+
h3: "h3-LClqyK",
|
|
8
|
+
h4: "h4-pzBHGr",
|
|
9
|
+
h5: "h5-HOx5Wp",
|
|
10
|
+
h6: "h6-zCNm1M",
|
|
11
|
+
p1: "p1-pY02jM",
|
|
12
|
+
p2: "p2-TsZIq5",
|
|
13
|
+
p3: "p3-N6QdAQ"
|
|
14
|
+
};
|
|
15
|
+
const variantToElementTagMap = {
|
|
16
|
+
h1: "h1",
|
|
17
|
+
h2: "h2",
|
|
18
|
+
h3: "h3",
|
|
19
|
+
h4: "h4",
|
|
20
|
+
h5: "h5",
|
|
21
|
+
h6: "h6",
|
|
22
|
+
p1: "p",
|
|
23
|
+
p2: "p",
|
|
24
|
+
p3: "p"
|
|
25
|
+
};
|
|
26
|
+
const Typography = /* @__PURE__ */ React.forwardRef(({ variant = "p2", render: renderProp, className, ...props }, ref) => {
|
|
27
|
+
const variantClass = Typography_module[variant];
|
|
28
|
+
if (renderProp) {
|
|
29
|
+
const { className: renderClassName, ...renderElementProps } = renderProp.props;
|
|
30
|
+
return /* @__PURE__ */ React.cloneElement(renderProp, {
|
|
31
|
+
...renderElementProps,
|
|
32
|
+
...props,
|
|
33
|
+
ref,
|
|
34
|
+
className: clsx(variantClass, renderClassName, className)
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const Tag = variantToElementTagMap[variant];
|
|
38
|
+
return /* @__PURE__ */ jsx(Tag, {
|
|
39
|
+
ref,
|
|
40
|
+
className: clsx(variantClass, className),
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
Typography as T
|
|
46
|
+
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
2
|
import { extensions, app } from "@wix/astro/builders";
|
|
3
|
-
import manifest
|
|
4
|
-
import manifest$
|
|
5
|
-
import manifest$
|
|
6
|
-
import manifest$
|
|
7
|
-
import manifest$
|
|
8
|
-
import manifest$
|
|
9
|
-
import manifest$
|
|
10
|
-
import manifest$
|
|
11
|
-
import manifest$
|
|
12
|
-
import manifest$
|
|
13
|
-
import manifest$
|
|
14
|
-
import manifest$
|
|
15
|
-
import manifest$
|
|
16
|
-
import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/
|
|
17
|
-
import manifest$
|
|
18
|
-
import manifest$
|
|
19
|
-
import manifest$
|
|
3
|
+
import manifest$$ from "./AccordionComponent/manifest.js";
|
|
4
|
+
import manifest$_ from "./AnimatedIcon/manifest.js";
|
|
5
|
+
import manifest$Z from "./AudioPlayer/manifest.js";
|
|
6
|
+
import manifest$Y from "./BoxContainer/manifest.js";
|
|
7
|
+
import manifest$X from "./Breadcrumbs/manifest.js";
|
|
8
|
+
import manifest$W from "./Button/manifest.js";
|
|
9
|
+
import manifest$V from "./Checkbox/manifest.js";
|
|
10
|
+
import manifest$U from "./CheckboxGroup/manifest.js";
|
|
11
|
+
import manifest$T from "./CollapsibleText/manifest.js";
|
|
12
|
+
import manifest$S from "./DatePicker/manifest.js";
|
|
13
|
+
import manifest$R from "./Dropdown/manifest.js";
|
|
14
|
+
import manifest$Q from "./GoogleMap/manifest.js";
|
|
15
|
+
import manifest$P from "./HipaaIcon/manifest.js";
|
|
16
|
+
import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants33.js";
|
|
17
|
+
import manifest$O from "./HeadingTextBlock/manifest.js";
|
|
18
|
+
import manifest$N from "./HTMLComponent/manifest.js";
|
|
19
|
+
import manifest$M from "./Image3/manifest.js";
|
|
20
|
+
import manifest$L from "./ImageReveal/manifest.js";
|
|
20
21
|
import manifest$K from "./ItemSelectionTest/manifest.js";
|
|
21
22
|
import manifest$J from "./LegacyAppWidget/manifest.js";
|
|
22
23
|
import manifest$I from "./LegacyContainer/manifest.js";
|
|
@@ -497,22 +498,23 @@ const videoUploadPanelExtension = extensions.editorReactComponentPanel({
|
|
|
497
498
|
}
|
|
498
499
|
});
|
|
499
500
|
const componentManifests = {
|
|
500
|
-
AccordionComponent: manifest
|
|
501
|
-
AnimatedIcon: manifest$
|
|
502
|
-
AudioPlayer: manifest$
|
|
503
|
-
BoxContainer: manifest$
|
|
504
|
-
Breadcrumbs: manifest$
|
|
505
|
-
Button: manifest$
|
|
506
|
-
Checkbox: manifest$
|
|
507
|
-
CheckboxGroup: manifest$
|
|
508
|
-
CollapsibleText: manifest$
|
|
509
|
-
DatePicker: manifest$
|
|
510
|
-
Dropdown: manifest$
|
|
511
|
-
GoogleMap: manifest$
|
|
512
|
-
HipaaIcon: manifest$
|
|
513
|
-
HeadingTextBlock: manifest$
|
|
514
|
-
HTMLComponent: manifest$
|
|
515
|
-
Image3: manifest$
|
|
501
|
+
AccordionComponent: manifest$$,
|
|
502
|
+
AnimatedIcon: manifest$_,
|
|
503
|
+
AudioPlayer: manifest$Z,
|
|
504
|
+
BoxContainer: manifest$Y,
|
|
505
|
+
Breadcrumbs: manifest$X,
|
|
506
|
+
Button: manifest$W,
|
|
507
|
+
Checkbox: manifest$V,
|
|
508
|
+
CheckboxGroup: manifest$U,
|
|
509
|
+
CollapsibleText: manifest$T,
|
|
510
|
+
DatePicker: manifest$S,
|
|
511
|
+
Dropdown: manifest$R,
|
|
512
|
+
GoogleMap: manifest$Q,
|
|
513
|
+
HipaaIcon: manifest$P,
|
|
514
|
+
HeadingTextBlock: manifest$O,
|
|
515
|
+
HTMLComponent: manifest$N,
|
|
516
|
+
Image3: manifest$M,
|
|
517
|
+
ImageReveal: manifest$L,
|
|
516
518
|
ItemSelectionTest: manifest$K,
|
|
517
519
|
LegacyAppWidget: manifest$J,
|
|
518
520
|
LegacyContainer: manifest$I,
|