@wix/editor-react-components 1.2328.0 → 1.2330.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/Breadcrumbs/component.js +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/site/components/Checkbox/Checkbox.types.d.ts +20 -0
- package/dist/site/components/Checkbox/component.d.ts +2 -0
- package/dist/site/components/Checkbox/component.js +166 -0
- package/dist/site/components/Checkbox/component.preview.d.ts +4 -0
- package/dist/site/components/Checkbox/constants.d.ts +85 -0
- package/dist/site/components/Checkbox/css.css +183 -0
- package/dist/site/components/Checkbox/index.d.ts +2 -0
- package/dist/site/components/Checkbox/index.js +6 -0
- package/dist/site/components/Checkbox/manifest.d.ts +5 -0
- package/dist/site/components/Checkbox/manifest.js +209 -0
- package/dist/site/components/CheckboxGroup/component.js +2 -20
- package/dist/site/components/CheckboxGroup/css.css +9 -8
- package/dist/site/components/chunks/RequiredIndicator.js +25 -0
- package/dist/site/components/chunks/constants36.js +69 -69
- package/dist/site/components/chunks/constants37.js +73 -77
- package/dist/site/components/chunks/constants38.js +76 -57
- package/dist/site/components/chunks/constants39.js +72 -0
- package/dist/site/components/extensions.js +57 -52
- package/package.json +3 -3
|
@@ -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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
85
|
+
ARIA_LABELS as A,
|
|
86
|
+
DesignStates as D,
|
|
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
|
+
DEFAULT_PROPS as D,
|
|
69
|
+
DesignStates as a,
|
|
70
|
+
DISPLAY_NAMES as b,
|
|
71
|
+
accordionManifestDefaults as c
|
|
72
|
+
};
|
|
@@ -5,59 +5,60 @@ import manifest$2 from "./AudioPlayer/manifest.js";
|
|
|
5
5
|
import manifest$3 from "./BoxContainer/manifest.js";
|
|
6
6
|
import manifest$4 from "./Breadcrumbs/manifest.js";
|
|
7
7
|
import manifest$5 from "./Button/manifest.js";
|
|
8
|
-
import manifest$6 from "./
|
|
9
|
-
import manifest$7 from "./
|
|
10
|
-
import manifest$8 from "./
|
|
11
|
-
import manifest$9 from "./
|
|
12
|
-
import manifest$a from "./
|
|
13
|
-
import manifest$b from "./
|
|
8
|
+
import manifest$6 from "./Checkbox/manifest.js";
|
|
9
|
+
import manifest$7 from "./CheckboxGroup/manifest.js";
|
|
10
|
+
import manifest$8 from "./CollapsibleText/manifest.js";
|
|
11
|
+
import manifest$9 from "./DatePicker/manifest.js";
|
|
12
|
+
import manifest$a from "./Dropdown/manifest.js";
|
|
13
|
+
import manifest$b from "./GoogleMap/manifest.js";
|
|
14
|
+
import manifest$c from "./HipaaIcon/manifest.js";
|
|
14
15
|
import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants30.js";
|
|
15
|
-
import manifest$
|
|
16
|
-
import manifest$
|
|
17
|
-
import manifest$
|
|
18
|
-
import manifest$
|
|
19
|
-
import manifest$
|
|
20
|
-
import manifest$
|
|
21
|
-
import manifest$
|
|
22
|
-
import manifest$
|
|
23
|
-
import manifest$
|
|
24
|
-
import manifest$
|
|
25
|
-
import manifest$
|
|
26
|
-
import manifest$
|
|
27
|
-
import manifest$
|
|
28
|
-
import manifest$
|
|
29
|
-
import manifest$
|
|
30
|
-
import manifest$
|
|
31
|
-
import manifest$
|
|
32
|
-
import manifest$
|
|
33
|
-
import manifest$
|
|
34
|
-
import manifest$
|
|
35
|
-
import manifest$
|
|
36
|
-
import manifest$
|
|
37
|
-
import manifest$
|
|
38
|
-
import manifest$
|
|
39
|
-
import manifest$
|
|
40
|
-
import manifest$
|
|
41
|
-
import manifest$
|
|
42
|
-
import manifest$
|
|
43
|
-
import manifest$
|
|
44
|
-
import manifest$
|
|
45
|
-
import manifest$
|
|
46
|
-
import manifest$
|
|
47
|
-
import manifest$
|
|
48
|
-
import manifest$
|
|
49
|
-
import manifest$
|
|
50
|
-
import manifest$
|
|
51
|
-
import manifest$
|
|
52
|
-
import manifest$
|
|
53
|
-
import manifest$
|
|
54
|
-
import manifest$
|
|
55
|
-
import manifest$
|
|
56
|
-
import manifest$
|
|
57
|
-
import manifest$
|
|
58
|
-
import manifest$
|
|
59
|
-
import manifest$
|
|
60
|
-
import manifest$
|
|
16
|
+
import manifest$d from "./HTMLComponent/manifest.js";
|
|
17
|
+
import manifest$e from "./Image3/manifest.js";
|
|
18
|
+
import manifest$f from "./LegacyAppWidget/manifest.js";
|
|
19
|
+
import manifest$g from "./LegacyContainer/manifest.js";
|
|
20
|
+
import manifest$h from "./LegacyMultiStateBox/manifest.js";
|
|
21
|
+
import manifest$i from "./Line/manifest.js";
|
|
22
|
+
import manifest$j from "./LinkBar/manifest.js";
|
|
23
|
+
import manifest$k from "./Lottie/manifest.js";
|
|
24
|
+
import manifest$l from "./Logo/manifest.js";
|
|
25
|
+
import manifest$m from "./Menu/manifest.js";
|
|
26
|
+
import manifest$n from "./MultiStateBox/manifest.js";
|
|
27
|
+
import manifest$o from "./ProgressBar/manifest.js";
|
|
28
|
+
import manifest$p from "./Repeater/manifest.js";
|
|
29
|
+
import manifest$q from "./ShareButtons/manifest.js";
|
|
30
|
+
import manifest$r from "./SiteLogo/manifest.js";
|
|
31
|
+
import manifest$s from "./SlotsPlaceholder/manifest.js";
|
|
32
|
+
import manifest$t from "./Slideshow/manifest.js";
|
|
33
|
+
import manifest$u from "./SocialPlayerFacebook/manifest.js";
|
|
34
|
+
import manifest$v from "./SocialPlayerInstagram/manifest.js";
|
|
35
|
+
import manifest$w from "./SocialPlayerSnapchat/manifest.js";
|
|
36
|
+
import manifest$x from "./SocialPlayerTikTok/manifest.js";
|
|
37
|
+
import manifest$y from "./SocialPlayerVimeo/manifest.js";
|
|
38
|
+
import manifest$z from "./SocialPlayerYoutube/manifest.js";
|
|
39
|
+
import manifest$A from "./SvgImage/manifest.js";
|
|
40
|
+
import manifest$B from "./Tabs/manifest.js";
|
|
41
|
+
import manifest$C from "./TestComp/manifest.js";
|
|
42
|
+
import manifest$D from "./TextBox/manifest.js";
|
|
43
|
+
import manifest$E from "./TextEffects3d/manifest.js";
|
|
44
|
+
import manifest$F from "./TextEffectsBauhaus/manifest.js";
|
|
45
|
+
import manifest$G from "./TextEffectsGlass/manifest.js";
|
|
46
|
+
import manifest$H from "./TextEffectsGlitch/manifest.js";
|
|
47
|
+
import manifest$I from "./TextEffectsLetterPress/manifest.js";
|
|
48
|
+
import manifest$J from "./TextEffectsMatrix/manifest.js";
|
|
49
|
+
import manifest$K from "./TextEffectsNeonSign/manifest.js";
|
|
50
|
+
import manifest$L from "./TextEffectsNoisy/manifest.js";
|
|
51
|
+
import manifest$M from "./TextEffectsOutlineOut/manifest.js";
|
|
52
|
+
import manifest$N from "./TextEffectsRetro/manifest.js";
|
|
53
|
+
import manifest$O from "./TextEffectsShook/manifest.js";
|
|
54
|
+
import manifest$P from "./TextEffectsSticker/manifest.js";
|
|
55
|
+
import manifest$Q from "./TextEffectsStriped/manifest.js";
|
|
56
|
+
import manifest$R from "./TextInput/manifest.js";
|
|
57
|
+
import manifest$S from "./TextMarquee/manifest.js";
|
|
58
|
+
import manifest$T from "./TimePicker/manifest.js";
|
|
59
|
+
import manifest$U from "./TransparentVideo/manifest.js";
|
|
60
|
+
import manifest$V from "./VideoUpload/manifest.js";
|
|
61
|
+
import manifest$W from "./WRichText/manifest.js";
|
|
61
62
|
const animatedIconPanelExtension = extensions.editorReactComponentPanel({
|
|
62
63
|
id: "d8d9ddca-d5e4-453a-bd36-7deb8b302d26",
|
|
63
64
|
displayName: "Animated Icon",
|
|
@@ -710,6 +711,10 @@ const appConfig = app().use(
|
|
|
710
711
|
extensions.editorReactComponent(
|
|
711
712
|
manifest$V
|
|
712
713
|
)
|
|
714
|
+
).use(
|
|
715
|
+
extensions.editorReactComponent(
|
|
716
|
+
manifest$W
|
|
717
|
+
)
|
|
713
718
|
);
|
|
714
719
|
appConfig.use(animatedIconPanelExtension).use(googleMapManageLocationsPanelExtension).use(hipaaIconSettingsPanelExtension).use(htmlComponentPanelExtension).use(maskPanelExtension).use(lineFormatPanelExtension).use(linkBarOrientationPanelExtension).use(logoCustomizePanelExtension).use(menuFormatPanelExtension).use(repeaterFormatPanelExtension).use(shareButtonsFormatPanelExtension).use(shareButtonsManagePanelExtension).use(siteLogoCustomizePanelExtension).use(socialPlayerFacebookSettingsPanelExtension).use(socialPlayerInstagramSettingsPanelExtension).use(socialPlayerSnapchatSettingsPanelExtension).use(socialPlayerTikTokSettingsPanelExtension).use(socialPlayerVimeoSettingsPanelExtension).use(socialPlayerYoutubeSettingsPanelExtension).use(svgImageSvgColorsPanelExtension).use(textEffectsTextTwistPanelExtension).use(textEffectsBauhausPatternsPanelExtension).use(textEffectsGlassPatternsPanelExtension).use(textEffectsGlitchPatternsPanelExtension).use(textEffectsLetterPressPatternsPanelExtension).use(textEffectsMatrixPatternsPanelExtension).use(textEffectsNeonSignPatternsPanelExtension).use(textEffectsNoisyPatternsPanelExtension).use(textEffectsOutlineOutPatternsPanelExtension).use(textEffectsRetroPatternsPanelExtension).use(textEffectsShookPatternsPanelExtension).use(textEffectsStickerPatternsPanelExtension).use(textMarqueePanelExtension).use(transparentVideoPanelExtension).use(videoUploadPanelExtension);
|
|
715
720
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2330.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@wix/ambassador-devcenter-v1-component-type-data": "^1.0.436",
|
|
79
79
|
"@wix/sdk": "^1.21.13",
|
|
80
80
|
"@wix/services-manager-react": "^0.1.27",
|
|
81
|
-
"@wix/site-ui": "1.
|
|
81
|
+
"@wix/site-ui": "1.155.0",
|
|
82
82
|
"@wix/video": "^1.85.0",
|
|
83
83
|
"@wix/viewer-service-consent-policy": "^1.0.100",
|
|
84
84
|
"@wix/web-bi-logger": "^2.1.26",
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
"registry": "https://registry.npmjs.org/",
|
|
198
198
|
"access": "public"
|
|
199
199
|
},
|
|
200
|
-
"falconPackageHash": "
|
|
200
|
+
"falconPackageHash": "b489940c16a72f772c508a71aa8d6f8b54151fc805cc3aad4e516cdc"
|
|
201
201
|
}
|