@wix/editor-react-components 1.2823.0 → 1.2825.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.
|
@@ -4353,7 +4353,7 @@ function DatePicker2(props) {
|
|
|
4353
4353
|
children: helperText2
|
|
4354
4354
|
}
|
|
4355
4355
|
) : null,
|
|
4356
|
-
/* @__PURE__ */ jsx(
|
|
4356
|
+
/* @__PURE__ */ jsx("div", { role: "alert", children: /* @__PURE__ */ jsx(
|
|
4357
4357
|
$ee014567cb39d3f0$export$f551688fc98f2e09,
|
|
4358
4358
|
{
|
|
4359
4359
|
className: clsx(
|
|
@@ -4364,7 +4364,7 @@ function DatePicker2(props) {
|
|
|
4364
4364
|
"data-testid": TestIds.errorMessage,
|
|
4365
4365
|
children: errorMessage2
|
|
4366
4366
|
}
|
|
4367
|
-
),
|
|
4367
|
+
) }),
|
|
4368
4368
|
/* @__PURE__ */ jsx(
|
|
4369
4369
|
DatePickerCalendar,
|
|
4370
4370
|
{
|
|
@@ -139,6 +139,59 @@
|
|
|
139
139
|
.calendarCell__Pjcxr[data-outside-month] {
|
|
140
140
|
display: none;
|
|
141
141
|
}
|
|
142
|
+
|
|
143
|
+
.positioner__38UDd[dir=rtl] .navIcon__LkD1n {
|
|
144
|
+
transform: scaleX(-1);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (forced-colors: active) {
|
|
148
|
+
.group__2UIvk {
|
|
149
|
+
background: ButtonFace !important;
|
|
150
|
+
color: ButtonText;
|
|
151
|
+
outline: 2px solid ButtonText;
|
|
152
|
+
outline-offset: 0;
|
|
153
|
+
}
|
|
154
|
+
.group__2UIvk[data-hovered], .group__2UIvk[data-focus-within] {
|
|
155
|
+
outline: 3px solid Highlight;
|
|
156
|
+
}
|
|
157
|
+
.group__2UIvk[data-disabled] {
|
|
158
|
+
outline: none;
|
|
159
|
+
}
|
|
160
|
+
.group__2UIvk[data-disabled],
|
|
161
|
+
.group__2UIvk[data-disabled] .segment__w-IAO,
|
|
162
|
+
.group__2UIvk[data-disabled] .calendarButton__s-QAb {
|
|
163
|
+
color: GrayText !important;
|
|
164
|
+
}
|
|
165
|
+
.popover__JAzkr {
|
|
166
|
+
background: Canvas !important;
|
|
167
|
+
color: CanvasText;
|
|
168
|
+
outline: 2px solid ButtonText;
|
|
169
|
+
}
|
|
170
|
+
.calendarIcon__CYg1H,
|
|
171
|
+
.navIcon__LkD1n {
|
|
172
|
+
color: currentColor !important;
|
|
173
|
+
}
|
|
174
|
+
.calendarButton__s-QAb[aria-expanded=true], .calendarButton__s-QAb.datePicker__calendar-button--selected {
|
|
175
|
+
outline: 3px solid Highlight;
|
|
176
|
+
outline-offset: 1px;
|
|
177
|
+
}
|
|
178
|
+
.calendarButton__s-QAb[data-focus-visible] {
|
|
179
|
+
outline: 3px dashed Highlight !important;
|
|
180
|
+
outline-offset: 1px !important;
|
|
181
|
+
}
|
|
182
|
+
.navButton__5nJy7[data-focus-visible] {
|
|
183
|
+
outline: 3px solid Highlight !important;
|
|
184
|
+
outline-offset: 1px !important;
|
|
185
|
+
}
|
|
186
|
+
.calendarCell__Pjcxr[data-hovered], .calendarCell__Pjcxr[data-selected] {
|
|
187
|
+
outline: 3px solid Highlight;
|
|
188
|
+
outline-offset: -2px;
|
|
189
|
+
}
|
|
190
|
+
.calendarCell__Pjcxr[data-focus-visible] {
|
|
191
|
+
outline: 3px dashed Highlight !important;
|
|
192
|
+
outline-offset: -2px !important;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
142
195
|
.fallbackDirection__HeRgn:not([dir]) {
|
|
143
196
|
direction: var(--wix-opt-in-direction);
|
|
144
197
|
}
|
|
@@ -151,6 +151,7 @@ function Dropdown({
|
|
|
151
151
|
"aria-haspopup": "listbox",
|
|
152
152
|
"aria-invalid": inErrorState || void 0,
|
|
153
153
|
"aria-label": ariaLabel,
|
|
154
|
+
"aria-readonly": readOnly || void 0,
|
|
154
155
|
className: clsx(
|
|
155
156
|
styles.input,
|
|
156
157
|
editorElementClassNames.input,
|
|
@@ -182,34 +183,43 @@ function Dropdown({
|
|
|
182
183
|
/* @__PURE__ */ jsx(Combobox.Portal, { container: popoverContainer, children: /* @__PURE__ */ jsx(Combobox.Positioner, { className: styles.positioner, sideOffset: 4, children: /* @__PURE__ */ jsx(
|
|
183
184
|
Combobox.Popup,
|
|
184
185
|
{
|
|
186
|
+
role: "presentation",
|
|
185
187
|
className: clsx(
|
|
186
188
|
styles.popup,
|
|
187
189
|
editorElementClassNames.list,
|
|
188
190
|
(_c = elementProps == null ? void 0 : elementProps.list) == null ? void 0 : _c.className
|
|
189
191
|
),
|
|
190
192
|
"data-testid": TestIds.list,
|
|
191
|
-
children: /* @__PURE__ */ jsx(
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
{
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
193
|
+
children: /* @__PURE__ */ jsx(
|
|
194
|
+
Combobox.List,
|
|
195
|
+
{
|
|
196
|
+
"aria-label": label2 ? void 0 : ariaLabel,
|
|
197
|
+
"aria-labelledby": accessibleNameId ?? (label2 ? `${comboboxId}-label` : void 0),
|
|
198
|
+
className: styles.list,
|
|
199
|
+
children: options == null ? void 0 : options.map((option2, index) => {
|
|
200
|
+
var _a2;
|
|
201
|
+
return /* @__PURE__ */ jsx(
|
|
202
|
+
Combobox.Item,
|
|
203
|
+
{
|
|
204
|
+
className: clsx(
|
|
205
|
+
styles.option,
|
|
206
|
+
editorElementClassNames.option,
|
|
207
|
+
(_a2 = elementProps == null ? void 0 : elementProps.option) == null ? void 0 : _a2.className,
|
|
208
|
+
// No native pseudo-class exists for "selected" (see
|
|
209
|
+
// the manifest's `option.states.selected` comment)
|
|
210
|
+
// — applied for real here so the panel's per-state
|
|
211
|
+
// export has a real selector to bind to, not just
|
|
212
|
+
// the editor's own design-preview injection.
|
|
213
|
+
option2 === selectedOption ? DesignStates.option.selected.className : void 0
|
|
214
|
+
),
|
|
215
|
+
value: option2,
|
|
216
|
+
children: /* @__PURE__ */ jsx("span", { className: styles.optionLabel, children: option2.label })
|
|
217
|
+
},
|
|
218
|
+
`option-${index}`
|
|
219
|
+
);
|
|
220
|
+
})
|
|
221
|
+
}
|
|
222
|
+
)
|
|
213
223
|
}
|
|
214
224
|
) }) })
|
|
215
225
|
]
|
|
@@ -238,6 +248,7 @@ function Dropdown({
|
|
|
238
248
|
),
|
|
239
249
|
"data-testid": TestIds.errorMessage,
|
|
240
250
|
id: errorMessageId,
|
|
251
|
+
role: "alert",
|
|
241
252
|
match: true,
|
|
242
253
|
children: errorMessage2
|
|
243
254
|
}
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
height: auto;
|
|
17
17
|
}
|
|
18
|
+
#SITE_CONTAINER.focus-ring-active.keyboard-tabbing-on .root__WnTks .input__pbp9w:focus {
|
|
19
|
+
outline: 2px solid #116dff;
|
|
20
|
+
outline-offset: 1px;
|
|
21
|
+
box-shadow: 0 0 1px 2px #ffffff;
|
|
22
|
+
}
|
|
23
|
+
@media (forced-colors: active) {
|
|
24
|
+
.root__WnTks .input__pbp9w:focus {
|
|
25
|
+
outline: 3px solid Highlight !important;
|
|
26
|
+
outline-offset: 1px !important;
|
|
27
|
+
box-shadow: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
18
30
|
.root__WnTks .input__pbp9w:disabled, .root__WnTks .input__pbp9w.dropdown__input--disabled {
|
|
19
31
|
cursor: not-allowed;
|
|
20
32
|
}
|
|
@@ -24,6 +36,19 @@
|
|
|
24
36
|
gap: 8px;
|
|
25
37
|
cursor: pointer;
|
|
26
38
|
}
|
|
39
|
+
#SITE_CONTAINER.focus-ring-active.keyboard-tabbing-on .root__WnTks .option__QJeiF[data-highlighted] {
|
|
40
|
+
outline: 2px solid #116dff;
|
|
41
|
+
outline-offset: 1px;
|
|
42
|
+
box-shadow: 0 0 1px 2px #ffffff;
|
|
43
|
+
outline-offset: -2px;
|
|
44
|
+
}
|
|
45
|
+
@media (forced-colors: active) {
|
|
46
|
+
.root__WnTks .option__QJeiF[data-highlighted] {
|
|
47
|
+
outline: 3px solid Highlight !important;
|
|
48
|
+
outline-offset: -3px !important;
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
27
52
|
.root__WnTks .option__QJeiF .optionLabel__pBY1S {
|
|
28
53
|
flex: 1;
|
|
29
54
|
min-width: 100px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2825.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -224,5 +224,5 @@
|
|
|
224
224
|
"registry": "https://registry.npmjs.org/",
|
|
225
225
|
"access": "public"
|
|
226
226
|
},
|
|
227
|
-
"falconPackageHash": "
|
|
227
|
+
"falconPackageHash": "89d43d078a63f322e67c53467b2d34413915a8b167dafad00e0bdb70"
|
|
228
228
|
}
|