@wix/editor-react-components 1.2326.0 → 1.2328.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.
@@ -8,7 +8,7 @@ import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
8
8
  import { a as requireEq, d as requireIsFunction, r as requireIsObject, e as requireIsLength, c as require_isIndex, b as requireIsArrayLike } from "../chunks/isArrayLike.js";
9
9
  import { c as require_root, r as require_Symbol, a as require_baseGetTag, b as requireIsObjectLike, d as require_freeGlobal } from "../chunks/isObjectLike.js";
10
10
  import { r as requireIsArray } from "../chunks/isArray.js";
11
- import { D as DEFAULT_PROPS } from "../chunks/constants37.js";
11
+ import { D as DEFAULT_PROPS } from "../chunks/constants38.js";
12
12
  import { d as directionStyles } from "../chunks/direction.module.js";
13
13
  var _overArg;
14
14
  var hasRequired_overArg;
@@ -1,5 +1,5 @@
1
1
  import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, a as ACTIONS, E as ELEMENTS, N as NativeStateType, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { a as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/constants37.js";
2
+ import { a as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/constants38.js";
3
3
  import { m as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
4
4
  import { w as withSpec } from "../chunks/manifest.js";
5
5
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -7,7 +7,7 @@ import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
7
  import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
9
  import Image3 from "../Image3/component.js";
10
- import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/constants36.js";
10
+ import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/constants37.js";
11
11
  import { c as commonjsGlobal } from "../chunks/_commonjsHelpers.js";
12
12
  import { g as $cbf007e418543821$export$b0d6fa1ab32e3295, h as $cbf007e418543821$export$16a4697467175487, a as $1dfb119a85e764e5$export$cc77c4ff7e8673c5, c as $240e9101ba2842f5$export$7d15b64cf5a3a4c4, i as $240e9101ba2842f5$export$cb6e0bb50bc19463, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../chunks/Button.js";
13
13
  import { b as $64fa3d84918910a7$export$29f1550f4b0d4415, d as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, f as $64fa3d84918910a7$export$4d86445c2cf5e3, g as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, h as $64fa3d84918910a7$export$2881499e37b75b9a, c as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../chunks/filterDOMProps.js";
@@ -1,6 +1,6 @@
1
1
  import { b as DISPLAY_GROUPS, N as NativeStateType, C as CSS_PROPERTIES, E as ELEMENTS, D as DATA, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
3
- import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/constants36.js";
3
+ import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/constants37.js";
4
4
  import manifest$1 from "../Image3/manifest.js";
5
5
  import { w as withSpec } from "../chunks/manifest.js";
6
6
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -6,7 +6,7 @@ import { $ as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "../chunks/useLoc
6
6
  import { createPortal } from "react-dom";
7
7
  import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
- import { s as semanticClassNames } from "../chunks/constants35.js";
9
+ import { s as semanticClassNames } from "../chunks/constants36.js";
10
10
  import { A as AnimatedIcon } from "../chunks/AnimatedIcon.js";
11
11
  import { useService } from "@wix/services-manager-react";
12
12
  import { d as defineService } from "../chunks/index7.js";
@@ -1,7 +1,7 @@
1
1
  import { L as LAYOUT, a as ACTIONS, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, E as ELEMENTS, N as NativeStateType, D as DATA, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
3
3
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
4
- import { D as DesignStates, a as DisplayNames, h as homepageModeValues, d as defaultStateValues, b as separatorValues, c as componentMetadata, s as semanticClassNames } from "../chunks/constants35.js";
4
+ import { D as DesignStates, a as DisplayNames, h as homepageModeValues, d as defaultStateValues, b as separatorValues, c as componentMetadata, s as semanticClassNames } from "../chunks/constants36.js";
5
5
  import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
6
6
  const manifest = {
7
7
  id: componentMetadata.id,
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { CheckboxGroupProps } from './CheckboxGroup.types';
3
+ export default function CheckboxGroupComponent(props: CheckboxGroupProps): React.JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { A11y, Direction } from '@wix/editor-react-types';
2
+ import { SdkFunctionFocusableProps } from '../../../utils/functions/sdkFunctionCallbackProps';
3
+ import { CheckboxGroupOption } from './constants';
4
+ export type { CheckboxGroupOption } from './constants';
5
+ export type CheckboxGroupProps = SdkFunctionFocusableProps & {
6
+ id: string;
7
+ className: string;
8
+ options: Array<CheckboxGroupOption>;
9
+ value?: Array<string>;
10
+ onChange?: (value: Array<string>) => void;
11
+ label: string;
12
+ tooltip?: string;
13
+ displayLabel?: boolean;
14
+ selectAll?: boolean;
15
+ selectAllLabel?: string;
16
+ required?: boolean;
17
+ readOnly?: boolean;
18
+ disabled?: boolean;
19
+ direction?: Direction;
20
+ a11y?: Pick<A11y, 'ariaLabel'>;
21
+ wix?: {
22
+ presetsWrapperProps?: Record<string, unknown>;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ import { default as CheckboxGroup } from './CheckboxGroup';
2
+ export default CheckboxGroup;
@@ -0,0 +1,269 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { c as clsx } from "../chunks/clsx.js";
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";
5
+ import { useService } from "@wix/services-manager-react";
6
+ import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
+ import { f as formatClassNames } from "../chunks/classNames.js";
8
+ import { a as getDataAttributes } from "../chunks/dataUtils.js";
9
+ import { d as directionStyles } from "../chunks/direction.module.js";
10
+ import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
11
+ import { d as defaultValues, a as defaultOptions, s as selectors, T as TestIds, b as semanticClassNames } from "../chunks/constants35.js";
12
+ 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
+ const root = "root__raraS";
33
+ const fieldset = "fieldset__pDERL";
34
+ const labelRow = "labelRow__CTw2X";
35
+ const groupLabel = "groupLabel__gW0O8";
36
+ const tooltipButton = "tooltipButton__9ySi3";
37
+ const tooltip = "tooltip__xXd2k";
38
+ const group = "group__5et8j";
39
+ const option = "option__mUn-C";
40
+ const control = "control__MMIkR";
41
+ const indicator = "indicator__mDg93";
42
+ const checkmark = "checkmark__YItvi";
43
+ const label = "label__aznPH";
44
+ const styles = {
45
+ root,
46
+ fieldset,
47
+ labelRow,
48
+ groupLabel,
49
+ tooltipButton,
50
+ tooltip,
51
+ group,
52
+ option,
53
+ control,
54
+ indicator,
55
+ checkmark,
56
+ label
57
+ };
58
+ const noop = () => {
59
+ };
60
+ const CheckmarkIcon = () => /* @__PURE__ */ jsx(
61
+ "svg",
62
+ {
63
+ className: styles.checkmark,
64
+ viewBox: "0 0 16 16",
65
+ "aria-hidden": "true",
66
+ focusable: "false",
67
+ children: /* @__PURE__ */ jsx("path", { d: "M6.667 11.333 3.333 8l1.18-1.18 2.154 2.146 4.82-4.819 1.18 1.187z" })
68
+ }
69
+ );
70
+ function CheckboxGroupComponent(props) {
71
+ const environmentService = useService(EnvironmentDefinition);
72
+ const {
73
+ id,
74
+ className = "",
75
+ label: label2 = defaultValues.label,
76
+ tooltip: tooltip2 = defaultValues.tooltip,
77
+ displayLabel = defaultValues.displayLabel,
78
+ selectAll = defaultValues.selectAll,
79
+ selectAllLabel = defaultValues.selectAllLabel,
80
+ required = defaultValues.required,
81
+ readOnly = defaultValues.readOnly,
82
+ disabled = defaultValues.disabled,
83
+ value,
84
+ direction,
85
+ a11y,
86
+ onChange = noop,
87
+ onFocus = noop,
88
+ onBlur = noop,
89
+ wix
90
+ } = props;
91
+ const sourceOptions = Array.isArray(props.options) && props.options.length ? props.options : defaultOptions;
92
+ const options = sourceOptions.filter((option2) => !!option2).map((option2) => ({
93
+ ...option2,
94
+ value: typeof option2.value === "string" && option2.value !== "" ? option2.value : option2.label
95
+ })).filter((option2) => typeof option2.value === "string" && option2.value !== "");
96
+ const allValues = options.map((option2) => option2.value);
97
+ const keepKnownOptions = (values) => values.filter((optionValue) => allValues.includes(optionValue));
98
+ const defaultChecked = options.filter((option2) => option2.checked).map((option2) => option2.value);
99
+ const valueProps = value !== void 0 ? { value: keepKnownOptions(value) } : { defaultValue: keepKnownOptions(defaultChecked) };
100
+ const handleValueChange = (next) => {
101
+ onChange(next);
102
+ };
103
+ const hasLegend = displayLabel && !!label2;
104
+ const showLabelRow = hasLegend || !!tooltip2;
105
+ const ariaLabel = !hasLegend ? (a11y == null ? void 0 : a11y.ariaLabel) || void 0 : void 0;
106
+ const presetsWrapperProps = (wix == null ? void 0 : wix.presetsWrapperProps) || {};
107
+ const rootClassName = clsx(
108
+ className,
109
+ styles.root,
110
+ selectors.root,
111
+ !direction && directionStyles.fallbackDirection
112
+ );
113
+ const renderCheckbox = (key, {
114
+ name,
115
+ parent,
116
+ optionDisabled
117
+ }) => /* @__PURE__ */ jsx(
118
+ Checkbox.Root,
119
+ {
120
+ name,
121
+ parent,
122
+ readOnly,
123
+ disabled: disabled || !!optionDisabled,
124
+ className: clsx(
125
+ styles.control,
126
+ formatClassNames(semanticClassNames.control)
127
+ ),
128
+ "data-testid": TestIds.control,
129
+ children: /* @__PURE__ */ jsx(
130
+ Checkbox.Indicator,
131
+ {
132
+ keepMounted: true,
133
+ className: clsx(
134
+ styles.indicator,
135
+ selectors.indicator,
136
+ formatClassNames(semanticClassNames.indicator)
137
+ ),
138
+ "data-testid": TestIds.indicator,
139
+ children: /* @__PURE__ */ jsx(CheckmarkIcon, {})
140
+ }
141
+ )
142
+ },
143
+ key
144
+ );
145
+ return /* @__PURE__ */ jsx("div", { className: presetWrapperStyles.presetWrapper, ...presetsWrapperProps, children: /* @__PURE__ */ jsx(
146
+ "div",
147
+ {
148
+ id,
149
+ ...getDataAttributes(props),
150
+ className: rootClassName,
151
+ dir: direction,
152
+ lang: environmentService.language,
153
+ "data-testid": TestIds.root,
154
+ children: /* @__PURE__ */ jsxs(Fieldset.Root, { className: styles.fieldset, children: [
155
+ showLabelRow && /* @__PURE__ */ jsxs("div", { className: styles.labelRow, children: [
156
+ hasLegend && /* @__PURE__ */ jsxs(
157
+ Fieldset.Legend,
158
+ {
159
+ className: clsx(
160
+ styles.groupLabel,
161
+ selectors.groupLabel,
162
+ formatClassNames(semanticClassNames.groupLabel)
163
+ ),
164
+ "data-testid": TestIds.legend,
165
+ children: [
166
+ label2,
167
+ required && /* @__PURE__ */ jsx(
168
+ RequiredIndicator,
169
+ {
170
+ className: formatClassNames(
171
+ semanticClassNames.requiredIndicator
172
+ ),
173
+ "data-testid": TestIds.requiredIndicator
174
+ }
175
+ )
176
+ ]
177
+ }
178
+ ),
179
+ tooltip2 && /* @__PURE__ */ jsx(Tooltip.Provider, { delay: 0, children: /* @__PURE__ */ jsxs(Tooltip.Root, { children: [
180
+ /* @__PURE__ */ jsx(
181
+ Tooltip.Trigger,
182
+ {
183
+ type: "button",
184
+ className: styles.tooltipButton,
185
+ "data-testid": TestIds.tooltipButton,
186
+ "aria-label": tooltip2,
187
+ children: /* @__PURE__ */ jsx(InfoCircleSmall_default, { "aria-hidden": "true" })
188
+ }
189
+ ),
190
+ /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, { sideOffset: 6, children: /* @__PURE__ */ jsx(Tooltip.Popup, { className: styles.tooltip, children: tooltip2 }) }) })
191
+ ] }) })
192
+ ] }),
193
+ /* @__PURE__ */ jsxs(
194
+ CheckboxGroup_CheckboxGroup_CheckboxGroup,
195
+ {
196
+ ...valueProps,
197
+ onValueChange: handleValueChange,
198
+ allValues,
199
+ disabled,
200
+ "aria-required": required || void 0,
201
+ "aria-label": ariaLabel,
202
+ className: styles.group,
203
+ "data-testid": TestIds.group,
204
+ onFocus,
205
+ onBlur,
206
+ children: [
207
+ selectAll && /* @__PURE__ */ jsxs(
208
+ "label",
209
+ {
210
+ className: clsx(
211
+ styles.option,
212
+ formatClassNames(semanticClassNames.option)
213
+ ),
214
+ "data-testid": TestIds.selectAll,
215
+ children: [
216
+ renderCheckbox("__select-all__", { parent: true }),
217
+ selectAllLabel && /* @__PURE__ */ jsx(
218
+ "span",
219
+ {
220
+ className: clsx(
221
+ styles.label,
222
+ selectors.label,
223
+ formatClassNames(semanticClassNames.label)
224
+ ),
225
+ children: selectAllLabel
226
+ }
227
+ )
228
+ ]
229
+ }
230
+ ),
231
+ options.map((option2, index) => /* @__PURE__ */ jsxs(
232
+ "label",
233
+ {
234
+ className: clsx(
235
+ styles.option,
236
+ formatClassNames(semanticClassNames.option)
237
+ ),
238
+ "data-testid": TestIds.option,
239
+ children: [
240
+ renderCheckbox(option2.value, {
241
+ name: option2.value,
242
+ optionDisabled: option2.disabled
243
+ }),
244
+ option2.label && /* @__PURE__ */ jsx(
245
+ "span",
246
+ {
247
+ className: clsx(
248
+ styles.label,
249
+ selectors.label,
250
+ formatClassNames(semanticClassNames.label)
251
+ ),
252
+ "data-testid": TestIds.optionLabel,
253
+ children: option2.label
254
+ }
255
+ )
256
+ ]
257
+ },
258
+ option2.value || index
259
+ ))
260
+ ]
261
+ }
262
+ )
263
+ ] })
264
+ }
265
+ ) });
266
+ }
267
+ export {
268
+ CheckboxGroupComponent as default
269
+ };
@@ -0,0 +1,4 @@
1
+ import { ResolveManifestOverrides } from '../../../utils/ResolveManifestOverrides';
2
+ import { default as CheckboxGroup } from './CheckboxGroup';
3
+ export default CheckboxGroup;
4
+ export declare const resolveManifestOverrides: ResolveManifestOverrides;
@@ -0,0 +1,112 @@
1
+ export declare const DisplayNames: {
2
+ root: {
3
+ elementDisplayName: string;
4
+ data: {
5
+ options: string;
6
+ option: string;
7
+ optionLabel: string;
8
+ optionValue: string;
9
+ optionChecked: string;
10
+ optionDisabled: string;
11
+ value: string;
12
+ label: string;
13
+ tooltip: string;
14
+ displayLabel: string;
15
+ required: string;
16
+ readOnly: string;
17
+ disabled: string;
18
+ selectAll: string;
19
+ selectAllLabel: string;
20
+ };
21
+ cssCustomProperties: {
22
+ checkboxesSpacing: string;
23
+ labelSpacing: string;
24
+ checkboxTextSpacing: string;
25
+ alignment: string;
26
+ labelAlignment: string;
27
+ };
28
+ };
29
+ indicator: {
30
+ elementDisplayName: string;
31
+ cssCustomProperties: {
32
+ backgroundColor: string;
33
+ borderColor: string;
34
+ borderWidth: string;
35
+ checkMarkColor: string;
36
+ size: string;
37
+ };
38
+ displayGroups: {
39
+ borderGroup: string;
40
+ };
41
+ };
42
+ optionLabel: {
43
+ elementDisplayName: string;
44
+ };
45
+ groupLabel: {
46
+ elementDisplayName: string;
47
+ };
48
+ };
49
+ export declare const DesignStates: {
50
+ readonly indicator: {
51
+ readonly hover: {
52
+ readonly displayName: "Hover";
53
+ readonly className: "checkbox-group__indicator--hover";
54
+ };
55
+ readonly focus: {
56
+ readonly displayName: "Focus";
57
+ readonly className: "checkbox-group__indicator--focus";
58
+ };
59
+ readonly disabled: {
60
+ readonly displayName: "Disabled";
61
+ readonly className: "checkbox-group__indicator--disabled";
62
+ };
63
+ readonly invalid: {
64
+ readonly displayName: "Invalid";
65
+ readonly className: "checkbox-group__indicator--invalid";
66
+ };
67
+ };
68
+ };
69
+ export type CheckboxGroupOption = {
70
+ value: string;
71
+ label: string;
72
+ checked?: boolean;
73
+ disabled?: boolean;
74
+ };
75
+ export declare const defaultOptions: ReadonlyArray<CheckboxGroupOption>;
76
+ export declare const defaultValues: {
77
+ readonly label: "Label";
78
+ readonly tooltip: "";
79
+ readonly displayLabel: true;
80
+ readonly selectAllLabel: "Select all";
81
+ readonly required: false;
82
+ readonly readOnly: false;
83
+ readonly disabled: false;
84
+ readonly selectAll: false;
85
+ };
86
+ export declare const TestIds: {
87
+ readonly root: "checkbox-group-root";
88
+ readonly group: "checkbox-group-group";
89
+ readonly legend: "checkbox-group-legend";
90
+ readonly requiredIndicator: "checkbox-group-required-indicator";
91
+ readonly selectAll: "checkbox-group-select-all";
92
+ readonly option: "checkbox-group-option";
93
+ readonly control: "checkbox-group-control";
94
+ readonly indicator: "checkbox-group-indicator";
95
+ readonly optionLabel: "checkbox-group-option-label";
96
+ readonly tooltipButton: "checkbox-group-tooltip-button";
97
+ };
98
+ export declare const selectors: {
99
+ readonly root: "checkbox-group";
100
+ readonly indicator: "checkbox-group__indicator";
101
+ readonly label: "checkbox-group__label";
102
+ readonly groupLabel: "checkbox-group__group-label";
103
+ };
104
+ export declare const semanticClassNames: {
105
+ readonly root: "checkbox-group";
106
+ readonly groupLabel: "checkbox-group__group-label";
107
+ readonly option: "checkbox-group__option";
108
+ readonly control: "checkbox-group__control";
109
+ readonly indicator: "checkbox-group__indicator";
110
+ readonly label: "checkbox-group__label";
111
+ readonly requiredIndicator: "checkbox-group__required-indicator";
112
+ };
@@ -0,0 +1,212 @@
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 {
9
+ box-sizing: border-box;
10
+ display: inline-flex;
11
+ max-width: 100%;
12
+ }
13
+
14
+ .fieldset__pDERL {
15
+ display: flex;
16
+ flex-direction: column;
17
+ row-gap: var(--labelSpacing, 16px);
18
+ width: 100%;
19
+ margin: 0;
20
+ padding: 0;
21
+ border: none;
22
+ }
23
+
24
+ .labelRow__CTw2X {
25
+ display: inline-flex;
26
+ align-items: center;
27
+ align-self: var(--labelAlignment, flex-start);
28
+ gap: 6px;
29
+ max-width: 100%;
30
+ }
31
+
32
+ .groupLabel__gW0O8 {
33
+ margin: 0;
34
+ padding: 0;
35
+ }
36
+
37
+ .fieldset__pDERL .groupLabel__gW0O8 {
38
+ width: fit-content;
39
+ max-width: 100%;
40
+ }
41
+
42
+ .tooltipButton__9ySi3 {
43
+ flex: none;
44
+ box-sizing: border-box;
45
+ display: inline-flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ width: 16px;
49
+ height: 16px;
50
+ margin: 0;
51
+ padding: 0;
52
+ border: none;
53
+ background: transparent;
54
+ color: inherit;
55
+ cursor: pointer;
56
+ opacity: 0.65;
57
+ }
58
+ .tooltipButton__9ySi3:hover, .tooltipButton__9ySi3:focus-visible {
59
+ opacity: 1;
60
+ }
61
+ .tooltipButton__9ySi3:focus-visible {
62
+ outline: none;
63
+ border-radius: 50%;
64
+ box-shadow: 0 0 0 2px #116dff;
65
+ }
66
+ .tooltipButton__9ySi3 svg {
67
+ width: 16px;
68
+ height: 16px;
69
+ }
70
+
71
+ .tooltip__xXd2k {
72
+ max-width: 220px;
73
+ padding: 6px 10px;
74
+ font: var(--wst-paragraph-2-font, normal normal normal 12px/1.4em madefor-text, sans-serif);
75
+ color: var(--wst-primary-background-color, #fff);
76
+ background: var(--wst-paragraph-2-color, #2b2b2b);
77
+ border-radius: 6px;
78
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
79
+ }
80
+
81
+ .group__5et8j {
82
+ display: flex;
83
+ flex-direction: column;
84
+ align-items: var(--alignment, flex-start);
85
+ row-gap: var(--checkboxesSpacing, 6px);
86
+ margin: 0;
87
+ padding: 0;
88
+ border: none;
89
+ }
90
+
91
+ .option__mUn-C {
92
+ display: inline-flex;
93
+ align-items: center;
94
+ column-gap: var(--checkboxTextSpacing, 13px);
95
+ }
96
+
97
+ .control__MMIkR {
98
+ display: inline-flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+ box-sizing: border-box;
102
+ margin: 0;
103
+ padding: 0;
104
+ border: none;
105
+ background: none;
106
+ cursor: pointer;
107
+ }
108
+ .control__MMIkR:hover, .control__MMIkR:focus-within {
109
+ outline: none;
110
+ }
111
+ .control__MMIkR[data-disabled] {
112
+ cursor: default;
113
+ pointer-events: none;
114
+ }
115
+
116
+ .control__MMIkR:focus-visible .indicator__mDg93,
117
+ .control__MMIkR:has(:focus-visible) .indicator__mDg93,
118
+ .indicator__mDg93.checkbox-group__indicator--focus {
119
+ outline: 2px solid #116dff;
120
+ outline-offset: 2px;
121
+ }
122
+
123
+ .indicator__mDg93 {
124
+ box-sizing: content-box;
125
+ position: relative;
126
+ display: inline-flex;
127
+ align-items: center;
128
+ justify-content: center;
129
+ flex-shrink: 0;
130
+ width: var(--checkboxSize, 16px);
131
+ height: var(--checkboxSize, 16px);
132
+ border-style: solid;
133
+ border-color: var(--indicator-border);
134
+ border-width: var(--borderWidth, 1px);
135
+ background-color: var(--indicator-bg);
136
+ transition: background-color 0.2s linear, border-color 0.2s linear;
137
+ --indicator-bg: var(--backgroundColor, #fff);
138
+ --indicator-border: var(
139
+ --borderColor,
140
+ color-mix(in srgb, #000 60%, transparent)
141
+ );
142
+ }
143
+
144
+ .control__MMIkR:hover .indicator__mDg93,
145
+ .control__MMIkR:focus-within .indicator__mDg93,
146
+ .indicator__mDg93.checkbox-group__indicator--hover {
147
+ --indicator-border: var(--borderColor, #000);
148
+ }
149
+
150
+ .control__MMIkR[data-checked] .indicator__mDg93,
151
+ .control__MMIkR[data-indeterminate] .indicator__mDg93 {
152
+ --indicator-bg: var(--backgroundColor, #116dff);
153
+ --indicator-border: var(--borderColor, var(--backgroundColor, #116dff));
154
+ }
155
+
156
+ .control__MMIkR[data-disabled] .indicator__mDg93,
157
+ .indicator__mDg93.checkbox-group__indicator--disabled {
158
+ opacity: 0.55;
159
+ }
160
+
161
+ .control__MMIkR[data-invalid] .indicator__mDg93,
162
+ .indicator__mDg93.checkbox-group__indicator--invalid {
163
+ --indicator-border: var(--borderColor, #e62214);
164
+ }
165
+
166
+ .checkmark__YItvi {
167
+ width: 70%;
168
+ height: 70%;
169
+ }
170
+ .checkmark__YItvi path {
171
+ fill: transparent;
172
+ transition: fill 0.2s linear;
173
+ }
174
+
175
+ .control__MMIkR[data-checked] .checkmark__YItvi path {
176
+ fill: var(--checkmarkColor, #fff);
177
+ }
178
+
179
+ .control__MMIkR[data-indeterminate] .checkmark__YItvi {
180
+ display: none;
181
+ }
182
+
183
+ .control__MMIkR[data-indeterminate] .indicator__mDg93::after {
184
+ content: "";
185
+ position: absolute;
186
+ top: 50%;
187
+ left: 50%;
188
+ transform: translate(-50%, -50%);
189
+ width: 60%;
190
+ height: 2px;
191
+ border-radius: 1px;
192
+ background: var(--checkmarkColor, #fff);
193
+ }
194
+
195
+ .label__aznPH {
196
+ cursor: pointer;
197
+ margin-bottom: 0;
198
+ }.checkbox-group {
199
+ --checkboxesSpacing: 6px;
200
+ --labelSpacing: 16px;
201
+ --checkboxTextSpacing: 13px;
202
+ }
203
+
204
+ .checkbox-group__indicator {
205
+ border-radius: 2px;
206
+ }
207
+ .fallbackDirection__HeRgn:not([dir]) {
208
+ direction: var(--wix-opt-in-direction);
209
+ }
210
+ .presetWrapper__J1yzj {
211
+ display: contents;
212
+ }