@wix/editor-react-components 1.2824.0 → 1.2826.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
  }
@@ -214,7 +214,6 @@ const TextInput = (props) => {
214
214
  onValueChange = noop,
215
215
  onKeyDown,
216
216
  onKeyUp,
217
- onKeyPress,
218
217
  onInput,
219
218
  onFocus,
220
219
  onBlur,
@@ -282,7 +281,6 @@ const TextInput = (props) => {
282
281
  id: `input_${id}`,
283
282
  onKeyDown,
284
283
  onKeyUp,
285
- onKeyPress,
286
284
  onInput,
287
285
  onFocus,
288
286
  onBlur,
@@ -10,8 +10,8 @@ const designState = (s, pseudoClass) => ({
10
10
  ...pseudoClass ? { pseudoClass } : {}
11
11
  });
12
12
  const manifest = {
13
- id: "3485a1f6-1d51-4e67-92b9-b07603e4e296",
14
- type: "wixEditorElements.TextInput__DEV__v4",
13
+ id: "e3e0d455-78c0-490d-a068-d85be8857e30",
14
+ type: "wixEditorElements.TextInput__DEV__v5",
15
15
  description: "TextInput",
16
16
  installation: {
17
17
  presets: { small: "baseTextInput", large: "baseTextInput" },
@@ -275,7 +275,6 @@ const manifest = {
275
275
  "onValueChange",
276
276
  "onInput",
277
277
  "onKeyDown",
278
- "onKeyPress",
279
278
  "onKeyUp",
280
279
  "onFocus",
281
280
  "onBlur"
@@ -354,13 +353,6 @@ const manifest = {
354
353
  parameters: [{ domEvent: DomEventType.KEYBOARD }]
355
354
  }
356
355
  },
357
- onKeyPress: {
358
- displayName: "On Key Press",
359
- dataType: DATA.DATA_TYPE.function,
360
- [DATA.DATA_TYPE.function]: {
361
- parameters: [{ domEvent: DomEventType.KEYBOARD }]
362
- }
363
- },
364
356
  onValueChange: {
365
357
  displayName: "On Value Change",
366
358
  dataType: DATA.DATA_TYPE.function,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2824.0",
3
+ "version": "1.2826.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": "1e9f51e8b04cffec2d8f8959875c554c6642b2498dc04bf7d0e363f5"
227
+ "falconPackageHash": "0248cbed2f85338c766f94fa0179063f81930a934c3180b44843b91d"
228
228
  }