@wix/editor-react-components 1.2327.0 → 1.2329.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 (26) 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/AudioPlayer/component.js +1 -1
  4. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  5. package/dist/site/components/Breadcrumbs/component.js +1 -1
  6. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  7. package/dist/site/components/Checkbox/Checkbox.d.ts +3 -0
  8. package/dist/site/components/Checkbox/Checkbox.types.d.ts +20 -0
  9. package/dist/site/components/Checkbox/component.d.ts +2 -0
  10. package/dist/site/components/Checkbox/component.js +166 -0
  11. package/dist/site/components/Checkbox/component.preview.d.ts +4 -0
  12. package/dist/site/components/Checkbox/constants.d.ts +85 -0
  13. package/dist/site/components/Checkbox/css.css +183 -0
  14. package/dist/site/components/Checkbox/index.d.ts +2 -0
  15. package/dist/site/components/Checkbox/index.js +6 -0
  16. package/dist/site/components/Checkbox/manifest.d.ts +5 -0
  17. package/dist/site/components/Checkbox/manifest.js +209 -0
  18. package/dist/site/components/CheckboxGroup/component.js +2 -20
  19. package/dist/site/components/CheckboxGroup/css.css +9 -8
  20. package/dist/site/components/chunks/RequiredIndicator.js +25 -0
  21. package/dist/site/components/chunks/constants36.js +69 -69
  22. package/dist/site/components/chunks/constants37.js +73 -77
  23. package/dist/site/components/chunks/constants38.js +76 -57
  24. package/dist/site/components/chunks/constants39.js +72 -0
  25. package/dist/site/components/extensions.js +57 -52
  26. package/package.json +2 -2
@@ -0,0 +1,209 @@
1
+ import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
+ import { D as DesignStates, b as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants36.js";
3
+ import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
+ import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
+ import { m as manifestFocusable, a as manifestChangeable } from "../chunks/manifestSdkMixins.js";
6
+ const manifest = {
7
+ id: "fcdba628-aba7-4d3d-9eac-deeef69fe3fe",
8
+ type: "wixEditorElements.Checkbox__DEV__v3",
9
+ description: "A single checkbox input with label",
10
+ installation: {
11
+ initialSize: {
12
+ width: {
13
+ sizingType: LAYOUT.SIZING_TYPE.pixels,
14
+ pixels: 142
15
+ },
16
+ height: {
17
+ sizingType: LAYOUT.SIZING_TYPE.content
18
+ }
19
+ }
20
+ },
21
+ editorElement: {
22
+ selector: getSelector(selectors.root),
23
+ displayName: DisplayNames.root.elementDisplayName,
24
+ archetype: Archetype.Checkbox,
25
+ layout: {
26
+ resizeDirection: LAYOUT.RESIZE_DIRECTION.horizontalAndVertical,
27
+ contentResizeDirection: LAYOUT.CONTENT_RESIZE_DIRECTION.horizontalAndVertical,
28
+ disableStretching: true,
29
+ disablePositioning: false
30
+ },
31
+ data: {
32
+ label: {
33
+ dataType: DATA.DATA_TYPE.text,
34
+ displayName: DisplayNames.root.data.label,
35
+ defaultValue: defaultValues.label
36
+ },
37
+ tooltip: {
38
+ dataType: DATA.DATA_TYPE.text,
39
+ displayName: DisplayNames.root.data.tooltip,
40
+ defaultValue: defaultValues.tooltip
41
+ },
42
+ checked: {
43
+ dataType: DATA.DATA_TYPE.booleanValue,
44
+ displayName: DisplayNames.root.data.checked,
45
+ defaultValue: defaultValues.checked
46
+ },
47
+ defaultChecked: {
48
+ dataType: DATA.DATA_TYPE.booleanValue,
49
+ displayName: DisplayNames.root.data.defaultChecked,
50
+ defaultValue: defaultValues.defaultChecked
51
+ },
52
+ required: {
53
+ dataType: DATA.DATA_TYPE.booleanValue,
54
+ displayName: DisplayNames.root.data.required,
55
+ defaultValue: defaultValues.required
56
+ },
57
+ readOnly: {
58
+ dataType: DATA.DATA_TYPE.booleanValue,
59
+ displayName: DisplayNames.root.data.readOnly,
60
+ defaultValue: defaultValues.readOnly
61
+ },
62
+ disabled: {
63
+ dataType: DATA.DATA_TYPE.booleanValue,
64
+ displayName: DisplayNames.root.data.disabled,
65
+ defaultValue: defaultValues.disabled
66
+ },
67
+ indeterminate: {
68
+ dataType: DATA.DATA_TYPE.booleanValue,
69
+ displayName: DisplayNames.root.data.indeterminate,
70
+ defaultValue: defaultValues.indeterminate
71
+ },
72
+ a11y: {
73
+ dataType: DATA.DATA_TYPE.a11y,
74
+ [DATA.DATA_TYPE.a11y]: {
75
+ attributes: [DATA.A11Y_ATTRIBUTES.ariaLabel]
76
+ }
77
+ },
78
+ direction: {
79
+ dataType: DATA.DATA_TYPE.direction
80
+ },
81
+ ...manifestChangeable(),
82
+ ...manifestFocusable()
83
+ },
84
+ cssCustomProperties: {
85
+ gap: {
86
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.columnGap,
87
+ displayName: DisplayNames.root.cssCustomProperties.gap,
88
+ defaultValue: "8px"
89
+ },
90
+ alignment: {
91
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.justifyContent,
92
+ displayName: DisplayNames.root.cssCustomProperties.alignment
93
+ }
94
+ },
95
+ elements: {
96
+ indicator: {
97
+ elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
98
+ inlineElement: {
99
+ displayName: DisplayNames.indicator.elementDisplayName,
100
+ selector: getSelector(selectors.indicator),
101
+ behaviors: {
102
+ selectable: false,
103
+ removable: false
104
+ },
105
+ cssProperties: {
106
+ borderRadius: {
107
+ defaultValue: "2px"
108
+ },
109
+ boxShadow: {}
110
+ },
111
+ cssCustomProperties: {
112
+ backgroundColor: {
113
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.backgroundColor,
114
+ displayName: DisplayNames.indicator.cssCustomProperties.backgroundColor
115
+ },
116
+ borderColor: {
117
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderColor,
118
+ displayName: DisplayNames.indicator.cssCustomProperties.borderColor
119
+ },
120
+ borderWidth: {
121
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderWidth,
122
+ displayName: DisplayNames.indicator.cssCustomProperties.borderWidth,
123
+ defaultValue: "1px"
124
+ },
125
+ checkmarkColor: {
126
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.fill,
127
+ displayName: DisplayNames.indicator.cssCustomProperties.checkmarkColor
128
+ },
129
+ checkboxSize: {
130
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.width,
131
+ displayName: DisplayNames.indicator.cssCustomProperties.size,
132
+ defaultValue: "16px"
133
+ }
134
+ },
135
+ displayGroups: {
136
+ borderGroup: {
137
+ displayName: DisplayNames.indicator.displayGroups.borderGroup,
138
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.border,
139
+ border: {
140
+ color: "borderColor",
141
+ width: "borderWidth"
142
+ }
143
+ }
144
+ },
145
+ states: {
146
+ hover: withSpec({
147
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
148
+ displayName: DesignStates.indicator.hover.displayName,
149
+ className: DesignStates.indicator.hover.className,
150
+ pseudoClass: NativeStateType.hover
151
+ }),
152
+ focus: withSpec({
153
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
154
+ displayName: DesignStates.indicator.focus.displayName,
155
+ className: DesignStates.indicator.focus.className,
156
+ pseudoClass: NativeStateType.focus
157
+ }),
158
+ disabled: withSpec({
159
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
160
+ displayName: DesignStates.indicator.disabled.displayName,
161
+ className: DesignStates.indicator.disabled.className,
162
+ pseudoClass: NativeStateType.disabled,
163
+ props: { disabled: true }
164
+ }),
165
+ invalid: withSpec({
166
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
167
+ displayName: DesignStates.indicator.invalid.displayName,
168
+ className: DesignStates.indicator.invalid.className,
169
+ pseudoClass: NativeStateType.invalid
170
+ })
171
+ }
172
+ }
173
+ },
174
+ label: {
175
+ elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
176
+ inlineElement: {
177
+ displayName: DisplayNames.label.elementDisplayName,
178
+ selector: getSelector(selectors.label),
179
+ behaviors: {
180
+ selectable: false,
181
+ removable: false
182
+ },
183
+ cssProperties: {
184
+ color: {},
185
+ font: {}
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ resources: {
192
+ client: {
193
+ componentUrl: "./site/components/Checkbox/component.tsx",
194
+ dependencies: {
195
+ serviceDependencies: ["@wix/viewer-service-environment"]
196
+ }
197
+ },
198
+ editor: {
199
+ componentUrl: "./site/components/Checkbox/component.preview.tsx"
200
+ }
201
+ },
202
+ moduleConfiguration: {
203
+ package: { name: "@wix/editor-react-components", version: "^1.0.0" },
204
+ component: { path: "site/components/Checkbox" }
205
+ }
206
+ };
207
+ export {
208
+ manifest as default
209
+ };
@@ -1,34 +1,16 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { a as Fieldset, T as Tooltip, b as CheckboxGroup_CheckboxGroup_CheckboxGroup, c as Checkbox } from "../chunks/index10.js";
4
- import * as React from "react";
4
+ import "react";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
7
  import { f as formatClassNames } from "../chunks/classNames.js";
8
8
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
9
+ import { R as RequiredIndicator } from "../chunks/RequiredIndicator.js";
9
10
  import { d as directionStyles } from "../chunks/direction.module.js";
10
11
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
11
12
  import { d as defaultValues, a as defaultOptions, s as selectors, T as TestIds, b as semanticClassNames } from "../chunks/constants35.js";
12
13
  import { I as InfoCircleSmall_default } from "../chunks/InfoCircleSmall.js";
13
- const Asterisk = ({ size, ...props }) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 7 7", fill: "currentColor", width: size || "7", height: size || "7", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M1.809 7 1 6.397 2.74 3.94 0 3.026l.31-.974L3 2.948V0h1v2.976l2.69-.924.31.975-2.719.934L6 6.397 5.19 7 3.503 4.609 1.809 7Z" }));
14
- Asterisk.displayName = "Asterisk";
15
- var Asterisk_default = Asterisk;
16
- const requiredIndicator = "requiredIndicator__j5mIH";
17
- const styles$1 = {
18
- requiredIndicator
19
- };
20
- const RequiredIndicator = ({
21
- className,
22
- "data-testid": dataTestId
23
- }) => /* @__PURE__ */ jsx(
24
- Asterisk_default,
25
- {
26
- className: clsx(styles$1.requiredIndicator, className),
27
- "data-testid": dataTestId,
28
- "aria-hidden": "true",
29
- focusable: "false"
30
- }
31
- );
32
14
  const root = "root__raraS";
33
15
  const fieldset = "fieldset__pDERL";
34
16
  const labelRow = "labelRow__CTw2X";
@@ -1,11 +1,4 @@
1
- .requiredIndicator__j5mIH {
2
- display: inline-block;
3
- width: 0.7em;
4
- height: 0.7em;
5
- margin-inline-start: 0.4em;
6
- vertical-align: baseline;
7
- color: inherit;
8
- }.root__raraS {
1
+ .root__raraS {
9
2
  box-sizing: border-box;
10
3
  display: inline-flex;
11
4
  max-width: 100%;
@@ -204,6 +197,14 @@
204
197
  .checkbox-group__indicator {
205
198
  border-radius: 2px;
206
199
  }
200
+ .requiredIndicator__j5mIH {
201
+ display: inline-block;
202
+ width: 0.7em;
203
+ height: 0.7em;
204
+ margin-inline-start: 0.4em;
205
+ vertical-align: baseline;
206
+ color: inherit;
207
+ }
207
208
  .fallbackDirection__HeRgn:not([dir]) {
208
209
  direction: var(--wix-opt-in-direction);
209
210
  }
@@ -0,0 +1,25 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { c as clsx } from "./clsx.js";
3
+ import * as React from "react";
4
+ const Asterisk = ({ size, ...props }) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 7 7", fill: "currentColor", width: size || "7", height: size || "7", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M1.809 7 1 6.397 2.74 3.94 0 3.026l.31-.974L3 2.948V0h1v2.976l2.69-.924.31.975-2.719.934L6 6.397 5.19 7 3.503 4.609 1.809 7Z" }));
5
+ Asterisk.displayName = "Asterisk";
6
+ var Asterisk_default = Asterisk;
7
+ const requiredIndicator = "requiredIndicator__j5mIH";
8
+ const styles = {
9
+ requiredIndicator
10
+ };
11
+ const RequiredIndicator = ({
12
+ className,
13
+ "data-testid": dataTestId
14
+ }) => /* @__PURE__ */ jsx(
15
+ Asterisk_default,
16
+ {
17
+ className: clsx(styles.requiredIndicator, className),
18
+ "data-testid": dataTestId,
19
+ "aria-hidden": "true",
20
+ focusable: "false"
21
+ }
22
+ );
23
+ export {
24
+ RequiredIndicator as R
25
+ };
@@ -1,87 +1,87 @@
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: "Breadcrumbs",
10
- customActions: {
11
- replaceHomeIcon: "Customize Icon"
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
- item: {
15
- elementDisplayName: "Items"
16
- },
17
- separator: {
18
- elementDisplayName: "Separators"
19
- },
20
- homeIcon: {
21
- elementDisplayName: "Home"
22
- },
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"
19
+ indicator: {
20
+ elementDisplayName: "Indicator",
21
+ cssCustomProperties: {
22
+ backgroundColor: "Background color",
23
+ borderColor: "Border color",
24
+ borderWidth: "Border width",
25
+ checkmarkColor: "Checkmark color",
26
+ size: "Checkbox size"
36
27
  },
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"
28
+ displayGroups: {
29
+ borderGroup: "Border"
30
+ }
31
+ },
32
+ label: {
33
+ elementDisplayName: "Label"
50
34
  }
51
35
  };
52
36
  const DesignStates = {
53
- item: {
54
- hover: { displayName: "Hover", className: "breadcrumbs__item--hover" },
55
- selected: {
56
- displayName: "Selected",
57
- className: "breadcrumbs__item--selected"
37
+ indicator: {
38
+ hover: { displayName: "Hover", className: "checkbox__indicator--hover" },
39
+ focus: { displayName: "Focus", className: "checkbox__indicator--focus" },
40
+ disabled: {
41
+ displayName: "Disabled",
42
+ className: "checkbox__indicator--disabled"
43
+ },
44
+ invalid: {
45
+ displayName: "Invalid",
46
+ className: "checkbox__indicator--invalid"
58
47
  }
59
48
  }
60
49
  };
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."
50
+ const defaultValues = {
51
+ label: "Label",
52
+ checked: false,
53
+ defaultChecked: false,
54
+ required: false,
55
+ readOnly: false,
56
+ disabled: false,
57
+ indeterminate: false,
58
+ tooltip: ""
65
59
  };
66
- const separatorValues = {
67
- slash: "slash",
68
- arrow: "arrow"
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"
69
67
  };
70
- const homepageModeValues = {
71
- text: "text",
72
- icon: "icon"
68
+ const selectors = {
69
+ root: "checkbox",
70
+ indicator: "checkbox__indicator",
71
+ label: "checkbox__label"
73
72
  };
74
- const defaultStateValues = {
75
- fullTrail: "fullTrail",
76
- hideHomepage: "hideHomepage",
77
- hideCurrentPage: "hideCurrentPage"
73
+ const semanticClassNames = {
74
+ root: "checkbox",
75
+ control: "checkbox__control",
76
+ indicator: "checkbox__indicator",
77
+ label: "checkbox__label",
78
+ requiredIndicator: "checkbox__required-indicator"
78
79
  };
79
80
  export {
80
81
  DesignStates as D,
81
- DisplayNames as a,
82
- separatorValues as b,
83
- componentMetadata as c,
84
- defaultStateValues as d,
85
- homepageModeValues as h,
86
- semanticClassNames as s
82
+ TestIds as T,
83
+ semanticClassNames as a,
84
+ DisplayNames as b,
85
+ defaultValues as d,
86
+ selectors as s
87
87
  };
@@ -1,91 +1,87 @@
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"
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
- displayName: "Audio Player",
43
- cssProperties: {
44
- color: "Background color"
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
- 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"
60
- },
61
- displayGroups: {
62
- fillColors: "Fill colors",
63
- icon: "Icon"
64
- }
14
+ item: {
15
+ elementDisplayName: "Items"
65
16
  },
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"
17
+ separator: {
18
+ elementDisplayName: "Separators"
73
19
  },
74
- data: {
75
- coverImage: "Image",
76
- displayMode: "Display mode",
77
- loop: "Plays in a loop",
78
- volume: "Volume"
20
+ homeIcon: {
21
+ elementDisplayName: "Home"
79
22
  },
80
- displayGroups: {
81
- playbackOptions: "Playback"
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
- borderDefaultValue as b,
89
- dataDefaults as d,
90
- selectors as s
82
+ separatorValues as b,
83
+ componentMetadata as c,
84
+ defaultStateValues as d,
85
+ homepageModeValues as h,
86
+ semanticClassNames as s
91
87
  };