@wix/editor-react-components 1.2280.0 → 1.2282.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 (84) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifest.js +2 -2
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/component.js +1 -1
  5. package/dist/site/components/AudioPlayer/manifest.js +2 -2
  6. package/dist/site/components/BoxContainer/component.js +1 -1
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/component.js +2 -2
  9. package/dist/site/components/Breadcrumbs/manifest.js +2 -2
  10. package/dist/site/components/Button/manifest.js +5 -3
  11. package/dist/site/components/CollapsibleText/component.js +1 -1
  12. package/dist/site/components/CollapsibleText/manifest.js +4 -3
  13. package/dist/site/components/Dropdown/component.js +28 -30348
  14. package/dist/site/components/Dropdown/manifest.js +2 -2
  15. package/dist/site/components/GoogleMap/manifest.js +1 -1
  16. package/dist/site/components/HTMLComponent/component.js +1 -1
  17. package/dist/site/components/HTMLComponent/manifest.js +1 -1
  18. package/dist/site/components/HipaaIcon/component.js +1 -1
  19. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  20. package/dist/site/components/Image3/manifest.js +3 -1
  21. package/dist/site/components/Line/manifest.js +3 -1
  22. package/dist/site/components/LinkBar/component.js +1 -1
  23. package/dist/site/components/LinkBar/manifest.js +2 -2
  24. package/dist/site/components/Logo/component.js +1 -1
  25. package/dist/site/components/Logo/manifest.js +1 -1
  26. package/dist/site/components/Logo/sdk.js +1 -1
  27. package/dist/site/components/Lottie/component.js +1 -1
  28. package/dist/site/components/Lottie/manifest.js +2 -2
  29. package/dist/site/components/Menu/component.js +2 -2
  30. package/dist/site/components/Menu/manifest.js +2 -2
  31. package/dist/site/components/MultiStateBox/component.js +1 -1
  32. package/dist/site/components/MultiStateBox/manifest.js +2 -2
  33. package/dist/site/components/ProgressBar/component.js +1 -1
  34. package/dist/site/components/ProgressBar/manifest.js +1 -1
  35. package/dist/site/components/ProgressBar/sdk.js +1 -1
  36. package/dist/site/components/Repeater/component.js +1 -1
  37. package/dist/site/components/Repeater/manifest.js +1 -1
  38. package/dist/site/components/ShareButtons/component.js +2 -2
  39. package/dist/site/components/ShareButtons/manifest.js +2 -2
  40. package/dist/site/components/SiteLogo/panels/customizeLogo/bi.d.ts +1 -0
  41. package/dist/site/components/Slideshow/manifest.js +1 -1
  42. package/dist/site/components/SvgImage/manifest.js +3 -1
  43. package/dist/site/components/Tabs/component.js +1 -1
  44. package/dist/site/components/Tabs/manifest.js +2 -2
  45. package/dist/site/components/TestComp/manifest.js +1 -1
  46. package/dist/site/components/TextBox/TextBox.d.ts +3 -0
  47. package/dist/site/components/TextBox/TextBox.types.d.ts +20 -0
  48. package/dist/site/components/TextBox/component.d.ts +2 -0
  49. package/dist/site/components/TextBox/component.js +146 -0
  50. package/dist/site/components/TextBox/component.preview.d.ts +4 -0
  51. package/dist/site/components/TextBox/constants.d.ts +79 -0
  52. package/dist/site/components/TextBox/css.css +137 -0
  53. package/dist/site/components/TextBox/index.d.ts +2 -0
  54. package/dist/site/components/TextBox/index.js +6 -0
  55. package/dist/site/components/TextBox/manifest.d.ts +5 -0
  56. package/dist/site/components/TextBox/manifest.js +219 -0
  57. package/dist/site/components/WRichText/manifest.js +3 -1
  58. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  59. package/dist/site/components/chunks/Button.js +1 -1
  60. package/dist/site/components/chunks/constants17.js +67 -17
  61. package/dist/site/components/chunks/constants18.js +15 -50
  62. package/dist/site/components/chunks/constants19.js +43 -45
  63. package/dist/site/components/chunks/constants20.js +48 -297
  64. package/dist/site/components/chunks/constants21.js +299 -41
  65. package/dist/site/components/chunks/constants22.js +44 -29
  66. package/dist/site/components/chunks/constants23.js +32 -17
  67. package/dist/site/components/chunks/constants24.js +16 -402
  68. package/dist/site/components/chunks/constants25.js +393 -73
  69. package/dist/site/components/chunks/constants26.js +80 -15
  70. package/dist/site/components/chunks/constants27.js +11 -42
  71. package/dist/site/components/chunks/constants28.js +44 -23
  72. package/dist/site/components/chunks/constants29.js +28 -10
  73. package/dist/site/components/chunks/constants30.js +10 -132
  74. package/dist/site/components/chunks/constants31.js +114 -46
  75. package/dist/site/components/chunks/constants32.js +53 -71
  76. package/dist/site/components/chunks/constants33.js +73 -77
  77. package/dist/site/components/chunks/constants34.js +76 -57
  78. package/dist/site/components/chunks/constants35.js +72 -0
  79. package/dist/site/components/chunks/index10.js +30414 -3
  80. package/dist/site/components/chunks/index11.js +5 -0
  81. package/dist/site/components/chunks/manifestSdkMixins.js +3 -3
  82. package/dist/site/components/chunks/utils.js +1 -1
  83. package/dist/site/components/extensions.js +24 -19
  84. package/package.json +3 -2
@@ -1,8 +1,8 @@
1
1
  import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, N as NativeStateType, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { D as DesignStates, f as DisplayNames, d as defaultValues, e as selectors } from "../chunks/constants30.js";
2
+ import { D as DesignStates, f as DisplayNames, d as defaultValues, e as selectors } from "../chunks/constants31.js";
3
3
  import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
- import { m as manifestFocusable, d as manifestInputable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
5
+ import { m as manifestFocusable, d as manifestInputable, a as manifestChangeable } from "../chunks/manifestSdkMixins.js";
6
6
  const manifest = {
7
7
  id: "f49b3649-fff3-42b4-8e18-a3cd2b23c2eb",
8
8
  type: "wixEditorElements.Dropdown__DEV__v3",
@@ -1,6 +1,6 @@
1
1
  import { b as DISPLAY_GROUPS, D as DATA, M as MEDIA, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { h as DisplayNames, i as MAP_STYLE_KEYS, j as defaultValues, a as MAX_ZOOM, M as MIN_ZOOM } from "../chunks/consts.js";
3
- import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
3
+ import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
4
4
  const manifest = {
5
5
  id: "bf8a38af-5784-47d5-92d3-3627a6a60bc6",
6
6
  type: "wixEditorElements.GoogleMap",
@@ -9,7 +9,7 @@ import { useService } from "@wix/services-manager-react";
9
9
  import { d as defineStaticService } from "../chunks/staticService.js";
10
10
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
11
11
  import { T as TranslationsDefinition } from "../chunks/index5.js";
12
- import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants29.js";
12
+ import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants30.js";
13
13
  const isBrowser = () => typeof window !== "undefined";
14
14
  function useIFrame({
15
15
  reducer = () => ({}),
@@ -1,6 +1,6 @@
1
1
  var _a, _b;
2
2
  import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
3
- import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
3
+ import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
4
4
  const DisplayNames = {
5
5
  root: {
6
6
  elementDisplayName: "HTML Element",
@@ -3,7 +3,7 @@ import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
4
  import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { d as defineService } from "../chunks/index7.js";
6
- import { T as TranslationKeys, D as DefaultTranslations, a as TRANSLATIONS_NAMESPACE } from "../chunks/constants28.js";
6
+ import { T as TranslationKeys, D as DefaultTranslations, a as TRANSLATIONS_NAMESPACE } from "../chunks/constants29.js";
7
7
  const RendererConfigurationDefinition = defineService("@wix/viewer-service-renderer-configuration");
8
8
  const hipaaIcon = "hipaaIcon__VA3L3";
9
9
  const compliant = "compliant__1NZWT";
@@ -1,5 +1,5 @@
1
1
  import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { b as DisplayNames, H as HIPAA_SETTINGS_PANEL_ID } from "../chunks/constants28.js";
2
+ import { b as DisplayNames, H as HIPAA_SETTINGS_PANEL_ID } from "../chunks/constants29.js";
3
3
  const manifest = {
4
4
  id: "c82c4153-edcc-4b6f-8c99-8d021e3bf5ab",
5
5
  type: "wixEditorElements.HipaaIcon",
@@ -175,7 +175,9 @@ const manifest = {
175
175
  INTERACTIONS.TRIGGER_TYPE.pageVisible,
176
176
  INTERACTIONS.TRIGGER_TYPE.animationEnd,
177
177
  INTERACTIONS.TRIGGER_TYPE.pointerMove,
178
- INTERACTIONS.TRIGGER_TYPE.viewProgress
178
+ INTERACTIONS.TRIGGER_TYPE.viewProgress,
179
+ INTERACTIONS.TRIGGER_TYPE.click,
180
+ INTERACTIONS.TRIGGER_TYPE.hover
179
181
  ],
180
182
  effectGroups: [INTERACTIONS.EFFECT_GROUP.background]
181
183
  },
@@ -696,7 +696,9 @@ const manifest = {
696
696
  INTERACTIONS.TRIGGER_TYPE.pageVisible,
697
697
  INTERACTIONS.TRIGGER_TYPE.animationEnd,
698
698
  INTERACTIONS.TRIGGER_TYPE.viewProgress,
699
- INTERACTIONS.TRIGGER_TYPE.pointerMove
699
+ INTERACTIONS.TRIGGER_TYPE.pointerMove,
700
+ INTERACTIONS.TRIGGER_TYPE.click,
701
+ INTERACTIONS.TRIGGER_TYPE.hover
700
702
  ],
701
703
  effectGroups: [INTERACTIONS.EFFECT_GROUP.UNKNOWN_EFFECT_GROUP]
702
704
  },
@@ -6,7 +6,7 @@ import { a as getDataAttributes } from "../chunks/dataUtils.js";
6
6
  import { p as parseSvg } from "../chunks/parseSvg.js";
7
7
  import { c as clsx } from "../chunks/clsx.js";
8
8
  import { L as Link } from "../chunks/Link.js";
9
- import { A as ARIA_LABEL_NAMESPACE, a as ARIA_LABEL_KEY, b as ARIA_LABEL_DEFAULT } from "../chunks/constants27.js";
9
+ import { A as ARIA_LABEL_NAMESPACE, a as ARIA_LABEL_KEY, b as ARIA_LABEL_DEFAULT } from "../chunks/constants28.js";
10
10
  import { d as directionStyles } from "../chunks/direction.module.js";
11
11
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
12
12
  const root = "root__yd5w0";
@@ -1,6 +1,6 @@
1
1
  import { a as ACTIONS, D as DATA, M as MEDIA, N as NativeStateType, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { D as DesignStates, p as presets, c as DisplayNames } from "../chunks/constants27.js";
3
- import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
2
+ import { D as DesignStates, p as presets, c as DisplayNames } from "../chunks/constants28.js";
3
+ import { b as manifestMouseHover } 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";
6
6
  const manifest = {
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
4
- import { d as defaultLogoUrl, D as DEFAULT_LOGO_SIZE } from "../chunks/constants26.js";
4
+ import { d as defaultLogoUrl, D as DEFAULT_LOGO_SIZE } from "../chunks/constants27.js";
5
5
  import { I as Image$1 } from "../chunks/Image.js";
6
6
  import { L as Link } from "../chunks/Link.js";
7
7
  const logo = "logo__Y9w6a";
@@ -1,5 +1,5 @@
1
1
  import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { a as DisplayNames } from "../chunks/constants26.js";
2
+ import { a as DisplayNames } from "../chunks/constants27.js";
3
3
  const manifest = {
4
4
  id: "4190f51c-3836-49f6-8114-96219c165b30",
5
5
  type: "wixEditorElements.Logo",
@@ -4,7 +4,7 @@ import { i as isNil } from "../chunks/assert.js";
4
4
  import { r as reportError } from "../chunks/reporters.js";
5
5
  import { p as parseMediaSrc, c as createMediaSrc } from "../chunks/mediaSrcHandler.js";
6
6
  import { c as composeSDKFactories } from "../chunks/composeSDKFactories.js";
7
- import { D as DEFAULT_LOGO_SIZE } from "../chunks/constants26.js";
7
+ import { D as DEFAULT_LOGO_SIZE } from "../chunks/constants27.js";
8
8
  const createLogoSdk = (api) => {
9
9
  const { props, setProps } = api;
10
10
  return {
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { c as clsx } from "../chunks/clsx.js";
6
6
  import { d as directionStyles } from "../chunks/direction.module.js";
7
7
  import { B as Button } from "../chunks/Button.js";
8
- import { s as semanticSelectors, r as rootDataDefaults, d as displayPropertyToObserve, a as ariaLabels, t as testIds, p as pauseIconSvg, b as playIconSvg, c as showButtonOnHoverDefaults } from "../chunks/constants25.js";
8
+ import { s as semanticSelectors, r as rootDataDefaults, d as displayPropertyToObserve, a as ariaLabels, t as testIds, p as pauseIconSvg, b as playIconSvg, c as showButtonOnHoverDefaults } from "../chunks/constants26.js";
9
9
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
10
10
  import React__default, { useEffect, useState, useRef, useMemo } from "react";
11
11
  import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
@@ -1,7 +1,7 @@
1
1
  import { b as DISPLAY_GROUPS, E as ELEMENTS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
- import { e as speedConstraints, f as playButtonDefaults, D as DisplayNames, r as rootDataDefaults, c as showButtonOnHoverDefaults, g as borderDefaultValue, i as initialSize, s as semanticSelectors } from "../chunks/constants25.js";
4
- import { m as manifestFocusable, a as manifestMouseHover, b as manifestClickable } from "../chunks/manifestSdkMixins.js";
3
+ import { e as speedConstraints, f as playButtonDefaults, D as DisplayNames, r as rootDataDefaults, c as showButtonOnHoverDefaults, g as borderDefaultValue, i as initialSize, s as semanticSelectors } from "../chunks/constants26.js";
4
+ import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable } from "../chunks/manifestSdkMixins.js";
5
5
  const manifest = {
6
6
  id: "13165477-8205-4050-b078-424a1479159e",
7
7
  type: "wixEditorElements.Lottie",
@@ -1,10 +1,10 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { U as UrlDefinition } from "../chunks/index10.js";
4
+ import { U as UrlDefinition } from "../chunks/index11.js";
5
5
  import { d as defineService } from "../chunks/index7.js";
6
6
  import { T as TranslationsDefinition } from "../chunks/index5.js";
7
- import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, u as useAnimationState, c as ARIA_LABEL_NAMESPACE, t as translationsKeys } from "../chunks/constants24.js";
7
+ import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, u as useAnimationState, c as ARIA_LABEL_NAMESPACE, t as translationsKeys } from "../chunks/constants25.js";
8
8
  import React__default, { createContext, useContext, useMemo, useState, useCallback, useRef, useEffect, useLayoutEffect } from "react";
9
9
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
10
10
  import { g as getItemDepthSelector, r as rootItemDepthLevel, s as subItemDepthLevel, a as subSubItemDepthLevel } from "../chunks/utils2.js";
@@ -1,8 +1,8 @@
1
1
  import { E as ELEMENTS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, N as NativeStateType, a as ACTIONS, D as DATA, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { e as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as states, p as presets } from "../chunks/constants24.js";
2
+ import { e as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as states, p as presets } from "../chunks/constants25.js";
3
3
  import { w as withSpec } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
- import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
5
+ import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
6
6
  const dropdownItemConfig = {
7
7
  elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
8
8
  [ELEMENTS.ELEMENT_TYPE.inlineElement]: {
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { s as selectors } from "../chunks/constants23.js";
4
+ import { s as selectors } from "../chunks/constants24.js";
5
5
  const root = "root__zTlgX";
6
6
  const state = "state__BCzGt";
7
7
  const styles = {
@@ -1,6 +1,6 @@
1
1
  import { b as DISPLAY_GROUPS, a as ACTIONS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { D as DESCRIPTIONS, a as DISPLAY_NAMES, s as selectors } from "../chunks/constants23.js";
3
- import { m as manifestFocusable, a as manifestMouseHover, b as manifestClickable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
2
+ import { D as DESCRIPTIONS, a as DISPLAY_NAMES, s as selectors } from "../chunks/constants24.js";
3
+ import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable, a as manifestChangeable } from "../chunks/manifestSdkMixins.js";
4
4
  import { g as getSelector } from "../chunks/manifest.js";
5
5
  const manifest = {
6
6
  id: "32d6f6fe-72ef-4490-82aa-d3b13cce6ef1",
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
4
  import { g as getAccessibilityAttributesSpread, r as removeAriaPrefix } from "../chunks/a11y.js";
5
- import { F as FULL_PROGRESS, N as NO_PROGRESS, T as TestIDs } from "../chunks/constants22.js";
5
+ import { F as FULL_PROGRESS, N as NO_PROGRESS, T as TestIDs } from "../chunks/constants23.js";
6
6
  import { d as directionStyles } from "../chunks/direction.module.js";
7
7
  import { g as getProgressValue } from "../chunks/utils.js";
8
8
  const progressbar = "progressbar__A8aSK";
@@ -1,5 +1,5 @@
1
1
  import { C as CSS_PROPERTIES, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { D as DisplayNames } from "../chunks/constants22.js";
2
+ import { D as DisplayNames } from "../chunks/constants23.js";
3
3
  const manifest = {
4
4
  id: "241afef1-74bd-4a10-843f-ac4928c25822",
5
5
  type: "wixEditorElements.ProgressBar",
@@ -1,6 +1,6 @@
1
1
  import { c as createA11ySdk } from "../chunks/a11ySdk.js";
2
2
  import { c as composeSDKFactories } from "../chunks/composeSDKFactories.js";
3
- import { F as FULL_PROGRESS, N as NO_PROGRESS } from "../chunks/constants22.js";
3
+ import { F as FULL_PROGRESS, N as NO_PROGRESS } from "../chunks/constants23.js";
4
4
  import { g as getProgressValue } from "../chunks/utils.js";
5
5
  const PROGRESS_BAR_SDK_TYPE = "$w.ProgressBar";
6
6
  const createProgressBarSdk = (api) => {
@@ -3,7 +3,7 @@ import { c as clsx } from "../chunks/clsx.js";
3
3
  import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
4
4
  import { d as directionStyles } from "../chunks/direction.module.js";
5
5
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
6
- import { D as DEFAULT_ITEMS_PER_ROW, C as COLUMN_COUNT_CSS_VAR, T as TestIds, s as semanticClassNames } from "../chunks/constants21.js";
6
+ import { D as DEFAULT_ITEMS_PER_ROW, C as COLUMN_COUNT_CSS_VAR, T as TestIds, s as semanticClassNames } from "../chunks/constants22.js";
7
7
  import React__default, { useState, useRef, useEffect, useCallback, forwardRef } from "react";
8
8
  const useAsyncLoadMore = (onLoadMore, itemsLength) => {
9
9
  const [isLoading, setIsLoading] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { I as INTERACTIONS, L as LAYOUT, a as ACTIONS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
- import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, s as semanticClassNames } from "../chunks/constants21.js";
3
+ import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, s as semanticClassNames } from "../chunks/constants22.js";
4
4
  const manifest = {
5
5
  id: "6a949e82-a1e4-4804-a692-95604c30941d",
6
6
  type: "wixEditorElements.Repeater__DEV__v4",
@@ -2,11 +2,11 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useState, useEffect, useRef, useMemo, createElement } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
4
  import { T as TranslationsDefinition } from "../chunks/index5.js";
5
- import { U as UrlDefinition } from "../chunks/index10.js";
5
+ import { U as UrlDefinition } from "../chunks/index11.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
7
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
- import { v as valueToPlatformId, C as COPY_CONFIRMATION_TIMEOUT, p as platformIds, H as HAS_CUSTOM_FOCUS_CLASSNAME, T as TOOLTIP_SUCCESS_TEXT, a as TOOLTIP_FAILED_TEXT, l as linkCopiedFailedTranslationKey, b as linkCopiedTranslationKey, s as sharerData, t as translationKeys, P as PagesToShare, D as DefaultValues, n as noButtonsErrorMessage, d as dataHooks, c as defaultRootAriaLabel, e as TestIds, f as TranslationKeys, g as shareUrlPrefixes } from "../chunks/constants20.js";
9
+ import { v as valueToPlatformId, C as COPY_CONFIRMATION_TIMEOUT, p as platformIds, H as HAS_CUSTOM_FOCUS_CLASSNAME, T as TOOLTIP_SUCCESS_TEXT, a as TOOLTIP_FAILED_TEXT, l as linkCopiedFailedTranslationKey, b as linkCopiedTranslationKey, s as sharerData, t as translationKeys, P as PagesToShare, D as DefaultValues, n as noButtonsErrorMessage, d as dataHooks, c as defaultRootAriaLabel, e as TestIds, f as TranslationKeys, g as shareUrlPrefixes } from "../chunks/constants21.js";
10
10
  import { r as removeAriaPrefix } from "../chunks/a11y.js";
11
11
  import { p as parseSvg } from "../chunks/parseSvg.js";
12
12
  const BASE_MEDIA_URL = "https://static.wixstatic.com/shapes";
@@ -1,6 +1,6 @@
1
1
  import { C as CSS_PROPERTIES, E as ELEMENTS, a as ACTIONS, D as DATA, N as NativeStateType, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { h as DesignStates, i as DisplayNames, j as DisplayConfig, D as DefaultValues, I as IconPositionOptions, k as PageToShareOptions, m as DefaultButtons, B as ButtonWidthOptions } from "../chunks/constants20.js";
3
- import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
2
+ import { h as DesignStates, i as DisplayNames, j as DisplayConfig, D as DefaultValues, I as IconPositionOptions, k as PageToShareOptions, m as DefaultButtons, B as ButtonWidthOptions } from "../chunks/constants21.js";
3
+ import { b as manifestMouseHover } 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";
6
6
  const presets = {
@@ -10,4 +10,5 @@ export declare const SITE_LOGO_CONTROL_IDS: {
10
10
  readonly color: "color";
11
11
  readonly revert: "revert";
12
12
  readonly opacity: "opacity";
13
+ readonly customize_logo: "customize_logo";
13
14
  };
@@ -1,7 +1,7 @@
1
1
  import { E as ELEMENTS, C as CSS_PROPERTIES, D as DATA, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
3
  import { D as DisplayNames, a as semanticClassNames, b as slideshowCssCustomPropertiesDefaults, c as slideshowCssPropertiesDefaults, s as slideshowDataDefaults } from "../chunks/Slideshow.semanticClassNames.js";
4
- import { a as manifestMouseHover, b as manifestClickable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
4
+ import { b as manifestMouseHover, c as manifestClickable, a as manifestChangeable } from "../chunks/manifestSdkMixins.js";
5
5
  const navigationButtons = {
6
6
  elementType: ELEMENTS.ELEMENT_TYPE.refElement,
7
7
  refElement: {
@@ -206,7 +206,9 @@ const manifest = {
206
206
  INTERACTIONS.TRIGGER_TYPE.pageVisible,
207
207
  INTERACTIONS.TRIGGER_TYPE.animationEnd,
208
208
  INTERACTIONS.TRIGGER_TYPE.pointerMove,
209
- INTERACTIONS.TRIGGER_TYPE.viewProgress
209
+ INTERACTIONS.TRIGGER_TYPE.viewProgress,
210
+ INTERACTIONS.TRIGGER_TYPE.click,
211
+ INTERACTIONS.TRIGGER_TYPE.hover
210
212
  ]
211
213
  },
212
214
  helpArticle: {
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect, useCallback, useMemo, useRef, useLayoutEffect } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { O as OVERFLOW_BEHAVIOR, c as classes } from "../chunks/constants17.js";
4
+ import { O as OVERFLOW_BEHAVIOR, c as classes } from "../chunks/constants18.js";
5
5
  import { d as debounce } from "../chunks/performanceUtils.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
7
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
@@ -1,6 +1,6 @@
1
1
  import { a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, E as ELEMENTS, N as NativeStateType, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { c as classes, D as DesignStates } from "../chunks/constants17.js";
3
- import { m as manifestFocusable, a as manifestMouseHover, b as manifestClickable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
2
+ import { D as DesignStates, c as classes } from "../chunks/constants18.js";
3
+ import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable, a as manifestChangeable } 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";
6
6
  const manifest = {
@@ -1,5 +1,5 @@
1
1
  import { L as LAYOUT, N as NativeStateType, D as DATA, E as ELEMENTS, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
- import { m as manifestFocusable, a as manifestMouseHover, b as manifestClickable } from "../chunks/manifestSdkMixins.js";
2
+ import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable } from "../chunks/manifestSdkMixins.js";
3
3
  const DesignStates = {
4
4
  testCompCard: {
5
5
  hover: { displayName: "Hover", className: "test-comp-card--hover" },
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { TextBoxProps } from './TextBox.types';
3
+ export default function TextBoxComponent(props: TextBoxProps): React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { A11y, Direction } from '@wix/editor-react-types';
2
+ import { SdkFunctionChangeableProps, SdkFunctionFocusableProps } from '../../../utils/functions/sdkFunctionCallbackProps';
3
+ export type TextBoxProps = SdkFunctionChangeableProps & SdkFunctionFocusableProps & {
4
+ id: string;
5
+ className: string;
6
+ value?: string;
7
+ label: string;
8
+ tooltip?: string;
9
+ placeholder?: string;
10
+ required?: boolean;
11
+ readOnly?: boolean;
12
+ disabled?: boolean;
13
+ minLength?: number | null;
14
+ maxLength?: number | null;
15
+ direction?: Direction;
16
+ a11y?: A11y;
17
+ wix?: {
18
+ presetsWrapperProps?: Record<string, unknown>;
19
+ };
20
+ };
@@ -0,0 +1,2 @@
1
+ import { default as TextBox } from './TextBox';
2
+ export default TextBox;
@@ -0,0 +1,146 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { useState } from "react";
4
+ import { c as clsx } from "../chunks/clsx.js";
5
+ import { F as Field, T as Tooltip, I as Input_Input_Input } from "../chunks/index10.js";
6
+ import { useService } from "@wix/services-manager-react";
7
+ import { E as EnvironmentDefinition } from "../chunks/index2.js";
8
+ import { f as formatClassNames } from "../chunks/classNames.js";
9
+ import { a as getDataAttributes } from "../chunks/dataUtils.js";
10
+ import { d as directionStyles } from "../chunks/direction.module.js";
11
+ import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
12
+ import { d as defaultValues, s as selectors, T as TestIds, a as semanticClassNames } from "../chunks/constants17.js";
13
+ const InfoCircleSmall = ({ size, ...props }) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: size || "18", height: size || "18", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M9,16 C5.13400675,16 2,12.8659932 2,9 C2,5.13400675 5.13400675,2 9,2 C12.8659932,2 16,5.13400675 16,9 C16,12.8659932 12.8659932,16 9,16 Z M9,15 C12.3137085,15 15,12.3137085 15,9 C15,5.6862915 12.3137085,3 9,3 C5.6862915,3 3,5.6862915 3,9 C3,12.3137085 5.6862915,15 9,15 Z M8,8 L10,8 L10,12 L11,13 L7,13 L8,12 L8,8.85714286 L7,8.85714286 L8,8 Z M9,5 C9.55228475,5 10,5.44771525 10,6 C10,6.55228475 9.55228475,7 9,7 C8.44771525,7 8,6.55228475 8,6 C8,5.44771525 8.44771525,5 9,5 Z" }));
14
+ InfoCircleSmall.displayName = "InfoCircleSmall";
15
+ var InfoCircleSmall_default = InfoCircleSmall;
16
+ const root = "root__dlp5n";
17
+ const field = "field__i7dfL";
18
+ const labelRow = "labelRow__qwrwd";
19
+ const label = "label__GIRwe";
20
+ const tooltipButton = "tooltipButton__tOobd";
21
+ const tooltip = "tooltip__6OlB9";
22
+ const input = "input__JG8Be";
23
+ const styles = {
24
+ root,
25
+ field,
26
+ labelRow,
27
+ label,
28
+ tooltipButton,
29
+ tooltip,
30
+ input
31
+ };
32
+ const noop = () => {
33
+ };
34
+ const emitChange = (onChange, value) => {
35
+ onChange({
36
+ target: { value },
37
+ type: "change"
38
+ });
39
+ };
40
+ function TextBoxComponent(props) {
41
+ const environmentService = useService(EnvironmentDefinition);
42
+ const {
43
+ id,
44
+ className = "",
45
+ label: label2 = defaultValues.label,
46
+ tooltip: tooltip2 = defaultValues.tooltip,
47
+ placeholder = defaultValues.placeholder,
48
+ required = defaultValues.required,
49
+ readOnly = defaultValues.readOnly,
50
+ disabled = defaultValues.disabled,
51
+ minLength,
52
+ maxLength,
53
+ direction,
54
+ a11y,
55
+ onChange = noop,
56
+ onFocus = noop,
57
+ onBlur = noop,
58
+ wix
59
+ } = props;
60
+ const incomingValue = props.value ?? defaultValues.value;
61
+ const [value, setValue] = useState(incomingValue);
62
+ const [prevValue, setPrevValue] = useState(incomingValue);
63
+ if (prevValue !== incomingValue) {
64
+ setPrevValue(incomingValue);
65
+ setValue(incomingValue);
66
+ }
67
+ const handleValueChange = (next) => {
68
+ setValue(next);
69
+ emitChange(onChange, next);
70
+ };
71
+ const hasLabel = !!label2;
72
+ const hasTooltip = !!tooltip2;
73
+ const ariaLabel = !hasLabel ? (a11y == null ? void 0 : a11y.ariaLabel) || void 0 : void 0;
74
+ const presetsWrapperProps = (wix == null ? void 0 : wix.presetsWrapperProps) || {};
75
+ const rootClassName = clsx(
76
+ className,
77
+ styles.root,
78
+ selectors.root,
79
+ !direction && directionStyles.fallbackDirection
80
+ );
81
+ return /* @__PURE__ */ jsx("div", { className: presetWrapperStyles.presetWrapper, ...presetsWrapperProps, children: /* @__PURE__ */ jsx(
82
+ "div",
83
+ {
84
+ id,
85
+ ...getDataAttributes(props),
86
+ className: rootClassName,
87
+ dir: direction,
88
+ lang: environmentService.language,
89
+ "data-testid": TestIds.root,
90
+ children: /* @__PURE__ */ jsxs(Field.Root, { className: styles.field, disabled, children: [
91
+ (hasLabel || hasTooltip) && /* @__PURE__ */ jsxs("div", { className: styles.labelRow, children: [
92
+ hasLabel && /* @__PURE__ */ jsx(
93
+ Field.Label,
94
+ {
95
+ className: clsx(
96
+ styles.label,
97
+ selectors.label,
98
+ formatClassNames(semanticClassNames.label)
99
+ ),
100
+ "data-testid": TestIds.label,
101
+ children: label2
102
+ }
103
+ ),
104
+ hasTooltip && /* @__PURE__ */ jsx(Tooltip.Provider, { delay: 0, children: /* @__PURE__ */ jsxs(Tooltip.Root, { children: [
105
+ /* @__PURE__ */ jsx(
106
+ Tooltip.Trigger,
107
+ {
108
+ type: "button",
109
+ className: styles.tooltipButton,
110
+ "data-testid": TestIds.tooltipButton,
111
+ "aria-label": tooltip2,
112
+ children: /* @__PURE__ */ jsx(InfoCircleSmall_default, { "aria-hidden": "true" })
113
+ }
114
+ ),
115
+ /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, { sideOffset: 6, children: /* @__PURE__ */ jsx(Tooltip.Popup, { className: styles.tooltip, children: tooltip2 }) }) })
116
+ ] }) })
117
+ ] }),
118
+ /* @__PURE__ */ jsx(
119
+ Input_Input_Input,
120
+ {
121
+ render: /* @__PURE__ */ jsx("textarea", {}),
122
+ className: clsx(
123
+ styles.input,
124
+ selectors.input,
125
+ formatClassNames(semanticClassNames.input)
126
+ ),
127
+ value,
128
+ onValueChange: handleValueChange,
129
+ readOnly,
130
+ required,
131
+ placeholder,
132
+ minLength: minLength ?? void 0,
133
+ maxLength: maxLength ?? void 0,
134
+ "aria-label": ariaLabel,
135
+ "data-testid": TestIds.input,
136
+ onFocus,
137
+ onBlur
138
+ }
139
+ )
140
+ ] })
141
+ }
142
+ ) });
143
+ }
144
+ export {
145
+ TextBoxComponent as default
146
+ };
@@ -0,0 +1,4 @@
1
+ import { ResolveManifestOverrides } from '../../../utils/ResolveManifestOverrides';
2
+ import { default as TextBox } from './TextBox';
3
+ export default TextBox;
4
+ export declare const resolveManifestOverrides: ResolveManifestOverrides;
@@ -0,0 +1,79 @@
1
+ export declare const DisplayNames: {
2
+ root: {
3
+ elementDisplayName: string;
4
+ data: {
5
+ value: string;
6
+ label: string;
7
+ tooltip: string;
8
+ placeholder: string;
9
+ required: string;
10
+ readOnly: string;
11
+ disabled: string;
12
+ minLength: string;
13
+ maxLength: string;
14
+ };
15
+ cssCustomProperties: {
16
+ gap: string;
17
+ labelAlignment: string;
18
+ };
19
+ };
20
+ input: {
21
+ elementDisplayName: string;
22
+ cssCustomProperties: {
23
+ placeholderTextColor: string;
24
+ borderColor: string;
25
+ borderWidth: string;
26
+ };
27
+ displayGroups: {
28
+ borderGroup: string;
29
+ };
30
+ };
31
+ label: {
32
+ elementDisplayName: string;
33
+ };
34
+ };
35
+ export declare const DesignStates: {
36
+ readonly root: {
37
+ readonly hover: {
38
+ readonly displayName: "Hover";
39
+ readonly className: "textbox--hover";
40
+ };
41
+ readonly focus: {
42
+ readonly displayName: "Focus";
43
+ readonly className: "textbox--focus";
44
+ };
45
+ readonly disabled: {
46
+ readonly displayName: "Disabled";
47
+ readonly className: "textbox--disabled";
48
+ };
49
+ readonly invalid: {
50
+ readonly displayName: "Error";
51
+ readonly className: "textbox--invalid";
52
+ };
53
+ };
54
+ };
55
+ export declare const defaultValues: {
56
+ readonly value: "";
57
+ readonly label: "Label";
58
+ readonly tooltip: "";
59
+ readonly placeholder: "Enter your text here...";
60
+ readonly required: false;
61
+ readonly readOnly: false;
62
+ readonly disabled: false;
63
+ };
64
+ export declare const TestIds: {
65
+ readonly root: "textbox-root";
66
+ readonly input: "textbox-input";
67
+ readonly label: "textbox-label";
68
+ readonly tooltipButton: "textbox-tooltip-button";
69
+ };
70
+ export declare const selectors: {
71
+ readonly root: "textbox";
72
+ readonly input: "textbox__input";
73
+ readonly label: "textbox__label";
74
+ };
75
+ export declare const semanticClassNames: {
76
+ readonly root: "textbox";
77
+ readonly input: "textbox__input";
78
+ readonly label: "textbox__label";
79
+ };