@wix/editor-react-components 1.2633.0 → 1.2634.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/HeadingTextBlock.d.ts +4 -0
- package/dist/site/components/HeadingTextBlock/component.d.ts +2 -0
- package/dist/site/components/HeadingTextBlock/component.js +142 -0
- package/dist/site/components/HeadingTextBlock/constants.d.ts +58 -0
- package/dist/site/components/HeadingTextBlock/css.css +71 -0
- package/dist/site/components/HeadingTextBlock/index.d.ts +2 -0
- package/dist/site/components/HeadingTextBlock/index.js +6 -0
- package/dist/site/components/HeadingTextBlock/manifest.d.ts +5 -0
- package/dist/site/components/HeadingTextBlock/manifest.js +251 -0
- package/dist/site/components/HeadingTextBlock/panels/orientation/constants.d.ts +4 -0
- package/dist/site/components/HeadingTextBlock/panels/orientation/extension.d.ts +4 -0
- package/dist/site/components/HeadingTextBlock/panels/orientation/panel.d.ts +3 -0
- package/dist/site/components/HeadingTextBlock/panels/orientation/test-utils.d.ts +5 -0
- package/dist/site/components/HeadingTextBlock/panels/orientation/translations/consts.d.ts +6 -0
- package/dist/site/components/HeadingTextBlock/types.d.ts +29 -0
- package/dist/site/components/chunks/constants33.js +59 -10
- package/dist/site/components/chunks/constants34.js +10 -206
- package/dist/site/components/chunks/constants35.js +182 -153
- package/dist/site/components/chunks/constants36.js +162 -49
- package/dist/site/components/chunks/constants37.js +51 -102
- package/dist/site/components/chunks/constants38.js +69 -39
- package/dist/site/components/chunks/constants39.js +72 -69
- package/dist/site/components/chunks/constants40.js +73 -77
- package/dist/site/components/chunks/constants41.js +75 -56
- package/dist/site/components/chunks/constants42.js +72 -0
- package/dist/site/components/extensions.js +41 -26
- package/package.json +2 -2
|
@@ -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
|
+
};
|
|
@@ -1,19 +1,20 @@
|
|
|
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$
|
|
3
|
+
import manifest$_ from "./AccordionComponent/manifest.js";
|
|
4
|
+
import manifest$Z from "./AnimatedIcon/manifest.js";
|
|
5
|
+
import manifest$Y from "./AudioPlayer/manifest.js";
|
|
6
|
+
import manifest$X from "./BoxContainer/manifest.js";
|
|
7
|
+
import manifest$W from "./Breadcrumbs/manifest.js";
|
|
8
|
+
import manifest$V from "./Button/manifest.js";
|
|
9
|
+
import manifest$U from "./Checkbox/manifest.js";
|
|
10
|
+
import manifest$T from "./CheckboxGroup/manifest.js";
|
|
11
|
+
import manifest$S from "./CollapsibleText/manifest.js";
|
|
12
|
+
import manifest$R from "./DatePicker/manifest.js";
|
|
13
|
+
import manifest$Q from "./Dropdown/manifest.js";
|
|
14
|
+
import manifest$P from "./GoogleMap/manifest.js";
|
|
15
|
+
import manifest$O from "./HipaaIcon/manifest.js";
|
|
16
16
|
import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants32.js";
|
|
17
|
+
import manifest$N from "./HeadingTextBlock/manifest.js";
|
|
17
18
|
import manifest$M from "./HTMLComponent/manifest.js";
|
|
18
19
|
import manifest$L from "./Image3/manifest.js";
|
|
19
20
|
import manifest$K from "./ItemSelectionTest/manifest.js";
|
|
@@ -99,6 +100,18 @@ const hipaaIconSettingsPanelExtension = extensions.editorReactComponentPanel({
|
|
|
99
100
|
width: "UNKNOWN_WIDTH"
|
|
100
101
|
}
|
|
101
102
|
});
|
|
103
|
+
const headingTextBlockOrientationPanelExtension = extensions.editorReactComponentPanel({
|
|
104
|
+
id: "2a2f4252-217b-413a-8717-a1d0e1cc2470",
|
|
105
|
+
displayName: "Layout",
|
|
106
|
+
code: {
|
|
107
|
+
bundleUrl: "./site/components/HeadingTextBlock/panels/orientation/panel.tsx"
|
|
108
|
+
},
|
|
109
|
+
contentType: "code",
|
|
110
|
+
size: {
|
|
111
|
+
height: 150,
|
|
112
|
+
width: "UNKNOWN_WIDTH"
|
|
113
|
+
}
|
|
114
|
+
});
|
|
102
115
|
const htmlComponentPanelExtension = extensions.editorReactComponentPanel({
|
|
103
116
|
id: "6992d0aa-0dbb-4053-985b-6f243d931e0d",
|
|
104
117
|
displayName: "HTML Settings",
|
|
@@ -484,19 +497,20 @@ const videoUploadPanelExtension = extensions.editorReactComponentPanel({
|
|
|
484
497
|
}
|
|
485
498
|
});
|
|
486
499
|
const componentManifests = {
|
|
487
|
-
AccordionComponent: manifest$
|
|
488
|
-
AnimatedIcon: manifest$
|
|
489
|
-
AudioPlayer: manifest$
|
|
490
|
-
BoxContainer: manifest$
|
|
491
|
-
Breadcrumbs: manifest$
|
|
492
|
-
Button: manifest$
|
|
493
|
-
Checkbox: manifest$
|
|
494
|
-
CheckboxGroup: manifest$
|
|
495
|
-
CollapsibleText: manifest$
|
|
496
|
-
DatePicker: manifest$
|
|
497
|
-
Dropdown: manifest$
|
|
498
|
-
GoogleMap: manifest$
|
|
499
|
-
HipaaIcon: manifest$
|
|
500
|
+
AccordionComponent: manifest$_,
|
|
501
|
+
AnimatedIcon: manifest$Z,
|
|
502
|
+
AudioPlayer: manifest$Y,
|
|
503
|
+
BoxContainer: manifest$X,
|
|
504
|
+
Breadcrumbs: manifest$W,
|
|
505
|
+
Button: manifest$V,
|
|
506
|
+
Checkbox: manifest$U,
|
|
507
|
+
CheckboxGroup: manifest$T,
|
|
508
|
+
CollapsibleText: manifest$S,
|
|
509
|
+
DatePicker: manifest$R,
|
|
510
|
+
Dropdown: manifest$Q,
|
|
511
|
+
GoogleMap: manifest$P,
|
|
512
|
+
HipaaIcon: manifest$O,
|
|
513
|
+
HeadingTextBlock: manifest$N,
|
|
500
514
|
HTMLComponent: manifest$M,
|
|
501
515
|
Image3: manifest$L,
|
|
502
516
|
ItemSelectionTest: manifest$K,
|
|
@@ -551,6 +565,7 @@ const panelExtensions = {
|
|
|
551
565
|
animatedIconPanelExtension,
|
|
552
566
|
googleMapManageLocationsPanelExtension,
|
|
553
567
|
hipaaIconSettingsPanelExtension,
|
|
568
|
+
headingTextBlockOrientationPanelExtension,
|
|
554
569
|
htmlComponentPanelExtension,
|
|
555
570
|
maskPanelExtension,
|
|
556
571
|
lineFormatPanelExtension,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2634.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -199,5 +199,5 @@
|
|
|
199
199
|
"registry": "https://registry.npmjs.org/",
|
|
200
200
|
"access": "public"
|
|
201
201
|
},
|
|
202
|
-
"falconPackageHash": "
|
|
202
|
+
"falconPackageHash": "3e595c1608c9e980d6525a8536739a68f750caf722372a7f42446104"
|
|
203
203
|
}
|