@wix/editor-react-components 1.2279.0 → 1.2280.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.
- package/dist/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/constants.d.ts +3 -3
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AnimatedIcon/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Button/hooks/useButtonA11y.d.ts +9 -9
- package/dist/site/components/Button/hooks/useButtonEventHandlers.d.ts +2 -2
- package/dist/site/components/Button/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +1 -1
- package/dist/site/components/Dropdown/dropdownUtils.d.ts +3 -3
- package/dist/site/components/Dropdown/hooks/useDropdownQuery.d.ts +1 -1
- package/dist/site/components/Dropdown/hooks/useDropdownSelection.d.ts +1 -1
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/GoogleMap/components/GoogleMapReact.d.ts +21 -51
- package/dist/site/components/GoogleMap/components/GoogleMapReactInteractiveMap.d.ts +20 -20
- package/dist/site/components/GoogleMap/hooks/useGoogleMapProps.d.ts +1 -1
- package/dist/site/components/GoogleMap/panels/ManageLocations/hooks/useLocationForm.d.ts +1 -1
- package/dist/site/components/GoogleMap/utils/sdkMethods.d.ts +2 -2
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HTMLComponent/components/HTMLComponent.d.ts +6 -6
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/LegacyMultiStateBox/hooks/useMSBStates.d.ts +4 -4
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- package/dist/site/components/Logo/component.js +1 -1
- package/dist/site/components/Logo/manifest.js +1 -1
- package/dist/site/components/Logo/panels/customizeLogo/components/LogoBackgroundRemovalButton.d.ts +2 -2
- package/dist/site/components/Logo/panels/customizeLogo/handlers.d.ts +1 -1
- package/dist/site/components/Logo/panels/customizeLogo/utils.d.ts +1 -1
- package/dist/site/components/Logo/sdk.js +1 -1
- package/dist/site/components/Lottie/component.js +1 -1
- package/dist/site/components/Lottie/manifest.js +1 -1
- package/dist/site/components/Menu/component.js +1 -1
- package/dist/site/components/Menu/components/MenuContent/MenuItem/utils.d.ts +1 -1
- package/dist/site/components/Menu/components/MenuContent/Scroll/utils.d.ts +1 -1
- package/dist/site/components/Menu/manifest.js +1 -1
- package/dist/site/components/Menu/manifestConfigs/dropdownConfig.d.ts +3 -1
- package/dist/site/components/Menu/panels/format/options.d.ts +4 -4
- package/dist/site/components/Menu/sdkUtils/menuUtils.d.ts +4 -4
- package/dist/site/components/Menu/utils.d.ts +2 -2
- package/dist/site/components/MultiStateBox/component.js +1 -1
- package/dist/site/components/MultiStateBox/manifest.js +1 -1
- package/dist/site/components/ProgressBar/component.js +1 -1
- package/dist/site/components/ProgressBar/manifest.js +1 -1
- package/dist/site/components/ProgressBar/sdk.js +1 -1
- package/dist/site/components/Repeater/component.js +1 -1
- package/dist/site/components/Repeater/hooks/useItemsPerRow.d.ts +0 -1
- package/dist/site/components/Repeater/hooks/useLoadMoreObserver.d.ts +0 -1
- package/dist/site/components/Repeater/manifest.js +1 -1
- package/dist/site/components/ShareButtons/component.js +1 -1
- package/dist/site/components/ShareButtons/constants.d.ts +1 -1
- package/dist/site/components/ShareButtons/manifest.js +1 -1
- package/dist/site/components/ShareButtons/utils.d.ts +9 -9
- package/dist/site/components/SocialPlayerVimeo/components/hooks/useVimeoPlayer.d.ts +8 -9
- package/dist/site/components/SocialPlayerYoutube/components/hooks/useYoutubeIframe.d.ts +0 -1
- package/dist/site/components/SocialPlayerYoutube/components/utils/getIframeUrl.d.ts +1 -1
- package/dist/site/components/SvgImage/utils.d.ts +1 -1
- package/dist/site/components/Tabs/component.js +1 -1
- package/dist/site/components/Tabs/manifest.js +1 -1
- package/dist/site/components/Tabs/utils/scrollTabs.d.ts +1 -1
- package/dist/site/components/TextEffects3d/component.js +1 -1
- package/dist/site/components/TextEffects3d/manifest.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlass/component.js +1 -1
- package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlitch/component.js +1 -1
- package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
- package/dist/site/components/TextEffectsMatrix/component.js +1 -1
- package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
- package/dist/site/components/TextEffectsNoisy/component.js +1 -1
- package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
- package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
- package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
- package/dist/site/components/TextEffectsRetro/component.js +1 -1
- package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
- package/dist/site/components/TextEffectsShared/components/stringParser/parsers/word-parsing-phases/word-directionality.d.ts +1 -1
- package/dist/site/components/TextEffectsShook/component.js +1 -1
- package/dist/site/components/TextEffectsShook/manifest.js +1 -1
- package/dist/site/components/TextEffectsSticker/component.js +1 -1
- package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
- package/dist/site/components/TextEffectsStriped/component.js +1 -1
- package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
- package/dist/site/components/TextInput/component.js +4 -3
- package/dist/site/components/TextInput/constants.d.ts +3 -0
- package/dist/site/components/TextInput/css.css +18 -18
- package/dist/site/components/TextInput/manifest.js +3 -51
- package/dist/site/components/TextInput/utils.d.ts +2 -2
- package/dist/site/components/TransparentVideo/kampos/transparent-video.d.ts +1 -1
- package/dist/site/components/VideoUpload/VideoUpload.utils.d.ts +1 -1
- package/dist/site/components/VideoUpload/components/hooks/useVideoPlayer.d.ts +1 -1
- package/dist/site/components/VideoUpload/components/hooks/useVolume.d.ts +1 -1
- package/dist/site/components/WRichText/components/providers/usePopupLinkEvents/index.d.ts +0 -1
- package/dist/site/components/WRichText/utils/decodeHtmlEntities.d.ts +0 -1
- package/dist/site/components/chunks/AnimatedIcon.js +1 -1
- package/dist/site/components/chunks/Button.js +1 -1
- package/dist/site/components/chunks/Patterns.js +1 -1
- package/dist/site/components/chunks/TextEffectsShared.js +1 -1
- package/dist/site/components/chunks/constants10.js +9 -9
- package/dist/site/components/chunks/constants11.js +10 -8
- package/dist/site/components/chunks/constants12.js +9 -13
- package/dist/site/components/chunks/constants13.js +14 -17
- package/dist/site/components/chunks/constants14.js +17 -12
- package/dist/site/components/chunks/constants15.js +11 -13
- package/dist/site/components/chunks/constants16.js +23 -19
- package/dist/site/components/chunks/constants17.js +15 -50
- package/dist/site/components/chunks/constants18.js +43 -45
- package/dist/site/components/chunks/constants19.js +48 -297
- package/dist/site/components/chunks/constants2.js +49 -14
- package/dist/site/components/chunks/constants20.js +299 -41
- package/dist/site/components/chunks/constants21.js +44 -29
- package/dist/site/components/chunks/constants22.js +32 -17
- package/dist/site/components/chunks/constants23.js +16 -402
- package/dist/site/components/chunks/constants24.js +393 -73
- package/dist/site/components/chunks/constants25.js +80 -15
- package/dist/site/components/chunks/constants26.js +11 -42
- package/dist/site/components/chunks/constants27.js +44 -23
- package/dist/site/components/chunks/constants28.js +28 -10
- package/dist/site/components/chunks/constants29.js +10 -132
- package/dist/site/components/chunks/constants3.js +10 -19
- package/dist/site/components/chunks/constants30.js +114 -46
- package/dist/site/components/chunks/constants31.js +53 -71
- package/dist/site/components/chunks/constants32.js +73 -77
- package/dist/site/components/chunks/constants33.js +76 -57
- package/dist/site/components/chunks/constants34.js +72 -0
- package/dist/site/components/chunks/constants4.js +14 -14
- package/dist/site/components/chunks/constants5.js +11 -10
- package/dist/site/components/chunks/constants6.js +14 -14
- package/dist/site/components/chunks/constants7.js +22 -65
- package/dist/site/components/chunks/constants8.js +65 -20
- package/dist/site/components/chunks/constants9.js +14 -12
- package/dist/site/components/chunks/manifestBase.js +1 -1
- package/dist/site/components/chunks/utils.js +1 -1
- package/dist/site/components/extensions.js +1 -1
- package/package.json +2 -2
|
@@ -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/
|
|
11
|
+
import { D as DEFAULT_PROPS } from "../chunks/constants34.js";
|
|
12
12
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
13
13
|
var _overArg;
|
|
14
14
|
var hasRequired_overArg;
|
|
@@ -38,9 +38,9 @@ export declare const DEFAULT_PROPS: {
|
|
|
38
38
|
};
|
|
39
39
|
export declare const accordionManifestDefaults: {
|
|
40
40
|
readonly data: {
|
|
41
|
-
readonly items: NonNullable<AccordionContainerProps[
|
|
42
|
-
readonly defaultOpen: NonNullable<AccordionContainerProps[
|
|
43
|
-
readonly allowMultipleOpen: NonNullable<AccordionContainerProps[
|
|
41
|
+
readonly items: NonNullable<AccordionContainerProps["items"]>;
|
|
42
|
+
readonly defaultOpen: NonNullable<AccordionContainerProps["defaultOpen"]>;
|
|
43
|
+
readonly allowMultipleOpen: NonNullable<AccordionContainerProps["allowMultipleOpen"]>;
|
|
44
44
|
readonly titleHtmlTag: string;
|
|
45
45
|
};
|
|
46
46
|
readonly style: {
|
|
@@ -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/
|
|
2
|
+
import { a as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/constants34.js";
|
|
3
3
|
import { m as manifestFocusable, a as manifestMouseHover, b 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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, N as NativeStateType, C as CSS_PROPERTIES, D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
|
|
2
|
-
import { c as DesignStates, d as DisplayNames, D as DEFAULT_ANIMATION_DURATION } from "../chunks/
|
|
2
|
+
import { c as DesignStates, d as DisplayNames, D as DEFAULT_ANIMATION_DURATION } from "../chunks/constants19.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
5
|
const displayConfig = {
|
|
@@ -15,7 +15,7 @@ import { E as EnvironmentDefinition } from "../chunks/index2.js";
|
|
|
15
15
|
import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
|
|
16
16
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
17
17
|
import Image3 from "../Image3/component.js";
|
|
18
|
-
import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/
|
|
18
|
+
import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/constants33.js";
|
|
19
19
|
import { c as commonjsGlobal } from "../chunks/_commonjsHelpers.js";
|
|
20
20
|
import { $ as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, a as $f39a9eba43920ace$export$86427a43e3e48ebb, b as $64fa3d84918910a7$export$29f1550f4b0d4415, c as $64fa3d84918910a7$export$4d86445c2cf5e3, g as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, h as $64fa3d84918910a7$export$2881499e37b75b9a, d as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../chunks/filterDOMProps.js";
|
|
21
21
|
import { o as $2add3ce32c6007eb$export$fedb369cb70207f1, p as $d447af545b77c9f1$export$b204af158042fbac, q as $081cb5757e08788e$export$24490316f764c430, r as $d447af545b77c9f1$export$f21a1ffae260145a, s as $48a7d519b337145d$export$4eaf04e54aa8eed6, a as $fe16bffc7a557bf0$export$7f54fc3180508a52, t as $a92dc41f639950be$export$c2b7abe5d61ec696, u as $a92dc41f639950be$export$525bc4921d56d4a, v as $23f2114a1b82827e$export$4282f70798064fe0, c as $23f2114a1b82827e$export$e58f029f0fbfdb29, w as $b5c62b033c25b96d$export$29bf1b5f2c56cf63, x as $a92dc41f639950be$export$cabe61c495ee3649, y as $1969ac565cfec8d0$export$de79e2c695e052f3, z as $b5c62b033c25b96d$export$60278871457622de, f as $bbaa08b3cd72f041$export$9d1611c77c2fe928, A as $b7115c395c64f7b5$export$4debdb1a3f0fa79e, B as $caaf0dd3060ed57c$export$95185d699e05d4d7, C as $a4e76a5424781910$export$e08e3b67e392101e, D as $2add3ce32c6007eb$export$9ac100e40613ea10, h as $d1116acdf220c2da$export$4c014de7c8940b4c, E as $2c9edc598a03d523$export$420e68273165f4ec, d as $0beb20c9744a2065$export$8467354a121f1b9f, b as $8f5a2122b0992be3$export$8397ddfc504fdb9a, F as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, i as $3274bf1495747a7b$export$5add1d006293d136, k as $0c4a58759813079a$export$4e328f61c538687f, j as $e969f22b6713ca4a$export$ae780daf29e6d456, G as $390e54f620492c70$export$f680877a34711e37, g as $3e6197669829fe11$export$40bfa8c7b0832715, l as $01b77f81d0f07f68$export$75b6ee27786ba447, H as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../chunks/Group.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 { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
3
|
-
import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/
|
|
3
|
+
import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/constants33.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";
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
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
|
-
import { A as ARIA_LABEL_NAMESPACE } from "../chunks/
|
|
5
|
+
import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants29.js";
|
|
6
6
|
const root = "root__eLvEL";
|
|
7
7
|
const styles = {
|
|
8
8
|
root
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ACTIONS, I as INTERACTIONS, D as DATA, c as ContainerType, A as Archetype, L as LAYOUT } from "../chunks/chunk-JPMZBG44.js";
|
|
2
|
-
import { D as DisplayNames } from "../chunks/
|
|
2
|
+
import { D as DisplayNames } from "../chunks/constants29.js";
|
|
3
3
|
const manifest = {
|
|
4
4
|
id: "1f0108be-06bb-4a81-9c55-a1cbd223926c",
|
|
5
5
|
type: "wixEditorElements.BoxContainer",
|
|
@@ -6,7 +6,7 @@ import { $ as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "../chunks/I18nPr
|
|
|
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/
|
|
9
|
+
import { s as semanticClassNames } from "../chunks/constants32.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/
|
|
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/constants32.js";
|
|
5
5
|
import { a as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const manifest = {
|
|
7
7
|
id: componentMetadata.id,
|
|
@@ -8,19 +8,19 @@ type UseButtonA11yParams = {
|
|
|
8
8
|
export declare function useButtonA11y({ propsA11y, ariaAttributes, label, }: UseButtonA11yParams): {
|
|
9
9
|
tabIndex: 0 | -1 | undefined;
|
|
10
10
|
screenReader: {
|
|
11
|
-
prefix?: string | null
|
|
12
|
-
suffix?: string | null
|
|
11
|
+
prefix?: string | null;
|
|
12
|
+
suffix?: string | null;
|
|
13
13
|
hasHint?: boolean | undefined;
|
|
14
14
|
} | undefined;
|
|
15
15
|
lang: string | undefined;
|
|
16
16
|
role: import('../../../../types/vendored/editor-elements-types-a11y').A11yRoles | undefined;
|
|
17
17
|
"aria-activedescendant"?: string | undefined;
|
|
18
18
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
19
|
-
"aria-autocomplete"?: "
|
|
19
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
20
20
|
"aria-braillelabel"?: string | undefined;
|
|
21
21
|
"aria-brailleroledescription"?: string | undefined;
|
|
22
22
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
23
|
-
"aria-checked"?: boolean | "false" | "
|
|
23
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
24
24
|
"aria-colcount"?: number | undefined;
|
|
25
25
|
"aria-colindex"?: number | undefined;
|
|
26
26
|
"aria-colindextext"?: string | undefined;
|
|
@@ -31,19 +31,19 @@ export declare function useButtonA11y({ propsA11y, ariaAttributes, label, }: Use
|
|
|
31
31
|
"aria-description"?: string | undefined;
|
|
32
32
|
"aria-details"?: string | undefined;
|
|
33
33
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
34
|
-
"aria-dropeffect"?: "
|
|
34
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
35
35
|
"aria-errormessage"?: string | undefined;
|
|
36
36
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
37
37
|
"aria-flowto"?: string | undefined;
|
|
38
38
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
39
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "
|
|
39
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
40
40
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
41
41
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
42
42
|
"aria-keyshortcuts"?: string | undefined;
|
|
43
43
|
"aria-label"?: string | undefined;
|
|
44
44
|
"aria-labelledby"?: string | undefined;
|
|
45
45
|
"aria-level"?: number | undefined;
|
|
46
|
-
"aria-live"?: "
|
|
46
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
47
47
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
48
48
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
49
49
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
@@ -51,9 +51,9 @@ export declare function useButtonA11y({ propsA11y, ariaAttributes, label, }: Use
|
|
|
51
51
|
"aria-owns"?: string | undefined;
|
|
52
52
|
"aria-placeholder"?: string | undefined;
|
|
53
53
|
"aria-posinset"?: number | undefined;
|
|
54
|
-
"aria-pressed"?: boolean | "false" | "
|
|
54
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
55
55
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
56
|
-
"aria-relevant"?: "additions" | "additions
|
|
56
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
57
57
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
58
58
|
"aria-roledescription"?: string | undefined;
|
|
59
59
|
"aria-rowcount"?: number | undefined;
|
|
@@ -21,8 +21,8 @@ export declare function useButtonEventHandlers({ isDisabled, link, propsOnClick,
|
|
|
21
21
|
onMouseLeave: React.MouseEventHandler;
|
|
22
22
|
onKeyDown: React.KeyboardEventHandler<HTMLElement>;
|
|
23
23
|
onDoubleClick: React.MouseEventHandler<Element> | undefined;
|
|
24
|
-
onFocus: ((event: React.FocusEvent
|
|
25
|
-
onBlur: ((event: React.FocusEvent
|
|
24
|
+
onFocus: ((event: React.FocusEvent) => void) | undefined;
|
|
25
|
+
onBlur: ((event: React.FocusEvent) => void) | undefined;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ACTIONS, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, I as INTERACTIONS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
|
|
2
|
-
import { D as DesignStates, b as DisplayNames } from "../chunks/
|
|
2
|
+
import { D as DesignStates, b as DisplayNames } from "../chunks/constants18.js";
|
|
3
3
|
import { m as manifestFocusable, a as manifestMouseHover, b 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";
|
|
@@ -9,7 +9,7 @@ import { e as getTabIndexAttribute } from "../chunks/a11y.js";
|
|
|
9
9
|
import { a as getDataAttributes } from "../chunks/dataUtils.js";
|
|
10
10
|
import { u as useResizeObserver } from "../chunks/useResizeObserver.js";
|
|
11
11
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
12
|
-
import { L as LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE, F as FALLBACK_LINE_HEIGHT, m as manifestClasses, E as ExpandModeValues, T as TestIds, s as semanticClassNames } from "../chunks/
|
|
12
|
+
import { L as LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE, F as FALLBACK_LINE_HEIGHT, m as manifestClasses, E as ExpandModeValues, T as TestIds, s as semanticClassNames } from "../chunks/constants31.js";
|
|
13
13
|
import { B as Button } from "../chunks/Button.js";
|
|
14
14
|
const root = "root__kOEn9";
|
|
15
15
|
const text = "text__rjuUh";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, E as ELEMENTS, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
|
|
2
|
-
import { D as DisplayNames, d as defaultValues, m as manifestClasses } from "../chunks/
|
|
2
|
+
import { D as DisplayNames, d as defaultValues, m as manifestClasses } from "../chunks/constants31.js";
|
|
3
3
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { a as manifestMouseHover, b as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
const manifest = {
|
|
@@ -13,7 +13,7 @@ import { f as formatClassNames } from "../chunks/classNames.js";
|
|
|
13
13
|
import { a as getDataAttributes } from "../chunks/dataUtils.js";
|
|
14
14
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
15
15
|
import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
|
|
16
|
-
import { A as ALL_VALUE, T as TestIds, s as semanticClassNames, d as defaultValues, a as TriggerModeValues, b as ARIA_LABEL_NAMESPACE, c as AriaLabels, e as selectors$5 } from "../chunks/
|
|
16
|
+
import { A as ALL_VALUE, T as TestIds, s as semanticClassNames, d as defaultValues, a as TriggerModeValues, b as ARIA_LABEL_NAMESPACE, c as AriaLabels, e as selectors$5 } from "../chunks/constants30.js";
|
|
17
17
|
import { u as useResizeObserver } from "../chunks/useResizeObserver.js";
|
|
18
18
|
import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
|
|
19
19
|
import { r as requireIsSymbol, a as require_baseSlice } from "../chunks/_baseSlice.js";
|
|
@@ -18,7 +18,7 @@ export declare const createFilterItem: (params: {
|
|
|
18
18
|
isMultiple: boolean;
|
|
19
19
|
inline: boolean;
|
|
20
20
|
}) => (item: DropdownItem, typed: string) => boolean;
|
|
21
|
-
export declare const emitChange: (onChange: NonNullable<DropdownProps[
|
|
21
|
+
export declare const emitChange: (onChange: NonNullable<DropdownProps["onChange"]>, value: string | Array<{
|
|
22
22
|
value: string;
|
|
23
|
-
}
|
|
24
|
-
export declare const emitInput: (onInput: NonNullable<DropdownProps[
|
|
23
|
+
}>) => void;
|
|
24
|
+
export declare const emitInput: (onInput: NonNullable<DropdownProps["onInput"]>, value: string) => void;
|
|
@@ -5,7 +5,7 @@ export declare const useDropdownQuery: (params: {
|
|
|
5
5
|
isMultiple: boolean;
|
|
6
6
|
selectedKey: string | null;
|
|
7
7
|
selectedOptionLabel: string;
|
|
8
|
-
onInput: NonNullable<DropdownProps[
|
|
8
|
+
onInput: NonNullable<DropdownProps["onInput"]>;
|
|
9
9
|
}) => {
|
|
10
10
|
inputValue: string;
|
|
11
11
|
handleInputValueChange: (next: string) => void;
|
|
@@ -5,7 +5,7 @@ export declare const useDropdownSelection: (params: {
|
|
|
5
5
|
selectedValues: Array<string>;
|
|
6
6
|
isMultiple: boolean;
|
|
7
7
|
isApplyMode: boolean;
|
|
8
|
-
onChange: NonNullable<DropdownProps[
|
|
8
|
+
onChange: NonNullable<DropdownProps["onChange"]>;
|
|
9
9
|
}) => {
|
|
10
10
|
selectedKeys: string[];
|
|
11
11
|
selectedItems: DropdownItem[];
|
|
@@ -1,5 +1,5 @@
|
|
|
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/
|
|
2
|
+
import { D as DesignStates, f as DisplayNames, d as defaultValues, e as selectors } from "../chunks/constants30.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
5
|
import { m as manifestFocusable, d as manifestInputable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
@@ -1,66 +1,36 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IGoogleMapsImperativeActions } from '../GoogleMap.types';
|
|
3
3
|
declare const GoogleMapReact: React.ForwardRefExoticComponent<{
|
|
4
|
-
onUpdateCenter?: (
|
|
4
|
+
onUpdateCenter?: (center: {
|
|
5
5
|
latitude: number;
|
|
6
6
|
longitude: number;
|
|
7
|
-
}) => void
|
|
8
|
-
onUpdateZoom?: (
|
|
7
|
+
}) => void;
|
|
8
|
+
onUpdateZoom?: (event: {
|
|
9
9
|
zoom: number;
|
|
10
|
-
}) => void
|
|
11
|
-
onMarkerClicked?: (
|
|
12
|
-
onMapClicked?: (
|
|
13
|
-
onMapMount?: (
|
|
10
|
+
}) => void;
|
|
11
|
+
onMarkerClicked?: (event: any) => void;
|
|
12
|
+
onMapClicked?: (event: any) => void;
|
|
13
|
+
onMapMount?: () => void;
|
|
14
14
|
} & {
|
|
15
15
|
id: string;
|
|
16
|
-
className?: string
|
|
17
|
-
skin?: import('../GoogleMap.types').GoogleMapSkin
|
|
18
|
-
customClassNames?: string
|
|
16
|
+
className?: string;
|
|
17
|
+
skin?: import('../GoogleMap.types').GoogleMapSkin;
|
|
18
|
+
customClassNames?: Array<string>;
|
|
19
19
|
translations: import('../GoogleMap.types').GoogleMapTranslations;
|
|
20
|
-
lang?: string
|
|
21
|
-
language?: string
|
|
22
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement
|
|
23
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement
|
|
20
|
+
lang?: string;
|
|
21
|
+
language?: string;
|
|
22
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
23
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
24
24
|
mapData: import('../GoogleMap.types').GoogleMapMapData;
|
|
25
|
-
isConsentPolicyActive?: boolean
|
|
26
|
-
isMobile?: boolean
|
|
25
|
+
isConsentPolicyActive?: boolean;
|
|
26
|
+
isMobile?: boolean;
|
|
27
27
|
consentPolicy?: {
|
|
28
28
|
policy: Record<string, boolean | undefined>;
|
|
29
|
-
}
|
|
30
|
-
openSettingModal?: (
|
|
31
|
-
hasRequiredConsent?: boolean
|
|
32
|
-
componentConsentPolicy?: Record<string, boolean
|
|
29
|
+
};
|
|
30
|
+
openSettingModal?: () => void;
|
|
31
|
+
hasRequiredConsent?: boolean;
|
|
32
|
+
componentConsentPolicy?: Record<string, boolean>;
|
|
33
33
|
} & {
|
|
34
|
-
MapContent: React.ComponentType<
|
|
35
|
-
onUpdateCenter?: ((center: {
|
|
36
|
-
latitude: number;
|
|
37
|
-
longitude: number;
|
|
38
|
-
}) => void) | undefined;
|
|
39
|
-
onUpdateZoom?: ((event: {
|
|
40
|
-
zoom: number;
|
|
41
|
-
}) => void) | undefined;
|
|
42
|
-
onMarkerClicked?: ((event: any) => void) | undefined;
|
|
43
|
-
onMapClicked?: ((event: any) => void) | undefined;
|
|
44
|
-
onMapMount?: (() => void) | undefined;
|
|
45
|
-
} & {
|
|
46
|
-
id: string;
|
|
47
|
-
className?: string | undefined;
|
|
48
|
-
skin?: import('../GoogleMap.types').GoogleMapSkin | undefined;
|
|
49
|
-
customClassNames?: string[] | undefined;
|
|
50
|
-
translations: import('../GoogleMap.types').GoogleMapTranslations;
|
|
51
|
-
lang?: string | undefined;
|
|
52
|
-
language?: string | undefined;
|
|
53
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
54
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
55
|
-
mapData: import('../GoogleMap.types').GoogleMapMapData;
|
|
56
|
-
isConsentPolicyActive?: boolean | undefined;
|
|
57
|
-
isMobile?: boolean | undefined;
|
|
58
|
-
consentPolicy?: {
|
|
59
|
-
policy: Record<string, boolean | undefined>;
|
|
60
|
-
} | undefined;
|
|
61
|
-
openSettingModal?: (() => void) | undefined;
|
|
62
|
-
hasRequiredConsent?: boolean | undefined;
|
|
63
|
-
componentConsentPolicy?: Record<string, boolean> | undefined;
|
|
64
|
-
} & React.RefAttributes<IGoogleMapsImperativeActions>>;
|
|
34
|
+
MapContent: React.ComponentType<import('../GoogleMap.types').GoogleMapBaseProps & React.RefAttributes<IGoogleMapsImperativeActions>>;
|
|
65
35
|
} & React.RefAttributes<IGoogleMapsImperativeActions>>;
|
|
66
36
|
export default GoogleMapReact;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IGoogleMapsImperativeActions } from '../GoogleMap.types';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
|
-
onUpdateCenter?: (
|
|
4
|
+
onUpdateCenter?: (center: {
|
|
5
5
|
latitude: number;
|
|
6
6
|
longitude: number;
|
|
7
|
-
}) => void
|
|
8
|
-
onUpdateZoom?: (
|
|
7
|
+
}) => void;
|
|
8
|
+
onUpdateZoom?: (event: {
|
|
9
9
|
zoom: number;
|
|
10
|
-
}) => void
|
|
11
|
-
onMarkerClicked?: (
|
|
12
|
-
onMapClicked?: (
|
|
13
|
-
onMapMount?: (
|
|
10
|
+
}) => void;
|
|
11
|
+
onMarkerClicked?: (event: any) => void;
|
|
12
|
+
onMapClicked?: (event: any) => void;
|
|
13
|
+
onMapMount?: () => void;
|
|
14
14
|
} & {
|
|
15
15
|
id: string;
|
|
16
|
-
className?: string
|
|
17
|
-
skin?: import('../GoogleMap.types').GoogleMapSkin
|
|
18
|
-
customClassNames?: string
|
|
16
|
+
className?: string;
|
|
17
|
+
skin?: import('../GoogleMap.types').GoogleMapSkin;
|
|
18
|
+
customClassNames?: Array<string>;
|
|
19
19
|
translations: import('../GoogleMap.types').GoogleMapTranslations;
|
|
20
|
-
lang?: string
|
|
21
|
-
language?: string
|
|
22
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement
|
|
23
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement
|
|
20
|
+
lang?: string;
|
|
21
|
+
language?: string;
|
|
22
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
23
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
24
24
|
mapData: import('../GoogleMap.types').GoogleMapMapData;
|
|
25
|
-
isConsentPolicyActive?: boolean
|
|
26
|
-
isMobile?: boolean
|
|
25
|
+
isConsentPolicyActive?: boolean;
|
|
26
|
+
isMobile?: boolean;
|
|
27
27
|
consentPolicy?: {
|
|
28
28
|
policy: Record<string, boolean | undefined>;
|
|
29
|
-
}
|
|
30
|
-
openSettingModal?: (
|
|
31
|
-
hasRequiredConsent?: boolean
|
|
32
|
-
componentConsentPolicy?: Record<string, boolean
|
|
29
|
+
};
|
|
30
|
+
openSettingModal?: () => void;
|
|
31
|
+
hasRequiredConsent?: boolean;
|
|
32
|
+
componentConsentPolicy?: Record<string, boolean>;
|
|
33
33
|
} & React.RefAttributes<IGoogleMapsImperativeActions>>>;
|
|
34
34
|
export default _default;
|
|
@@ -7,7 +7,7 @@ declare const useGoogleMapProps: (props: GoogleMapSettingsProps & {
|
|
|
7
7
|
id: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
}) => {
|
|
10
|
-
componentProps: Omit<GoogleMapPropsWithConsent,
|
|
10
|
+
componentProps: Omit<GoogleMapPropsWithConsent, "mapData">;
|
|
11
11
|
mapData: GoogleMapMapData;
|
|
12
12
|
};
|
|
13
13
|
export default useGoogleMapProps;
|
|
@@ -17,7 +17,7 @@ export declare function useLocationForm({ translations }: UseLocationFormProps):
|
|
|
17
17
|
setLinkTitle: (value: string) => void;
|
|
18
18
|
setDescription: (value: string) => void;
|
|
19
19
|
setAddress: (value: string) => void;
|
|
20
|
-
handleAddressSubmit: (source?:
|
|
20
|
+
handleAddressSubmit: (source?: "enter" | "blur") => Promise<boolean>;
|
|
21
21
|
handleAddressBlur: () => Promise<void>;
|
|
22
22
|
saveLocation: (override?: Partial<Location>) => Promise<void>;
|
|
23
23
|
selectLink: () => Promise<void>;
|
|
@@ -18,8 +18,8 @@ export declare const createSdkMethods: (mapRef: React.RefObject<google.maps.Map>
|
|
|
18
18
|
}[]>;
|
|
19
19
|
setMarkerIcon: (_updateData: {
|
|
20
20
|
coordinates: {
|
|
21
|
-
latitude: MapMarkerInterface[
|
|
22
|
-
longitude: MapMarkerInterface[
|
|
21
|
+
latitude: MapMarkerInterface["latitude"];
|
|
22
|
+
longitude: MapMarkerInterface["longitude"];
|
|
23
23
|
};
|
|
24
24
|
iconOptions: any;
|
|
25
25
|
locations: Array<MapMarkerInterface>;
|
|
@@ -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/
|
|
12
|
+
import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants29.js";
|
|
13
13
|
const isBrowser = () => typeof window !== "undefined";
|
|
14
14
|
function useIFrame({
|
|
15
15
|
reducer = () => ({}),
|
|
@@ -2,13 +2,13 @@ import { IHtmlComponentImperativeActions } from '../HTMLComponent.types';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const HTMLComponent: React.ForwardRefExoticComponent<{
|
|
4
4
|
id: string;
|
|
5
|
-
className?: string
|
|
5
|
+
className?: string;
|
|
6
6
|
url: string;
|
|
7
|
-
allow?: string
|
|
8
|
-
scrolling?: "
|
|
9
|
-
title?: string
|
|
10
|
-
sandbox?: string
|
|
11
|
-
isConsentPolicyActive?: boolean
|
|
7
|
+
allow?: string;
|
|
8
|
+
scrolling?: "yes" | "no" | "auto";
|
|
9
|
+
title?: string;
|
|
10
|
+
sandbox?: string;
|
|
11
|
+
isConsentPolicyActive?: boolean;
|
|
12
12
|
} & Partial<import('../HTMLComponent.types').IHtmlComponentSDKActions> & Partial<import('../HTMLComponent.types').IElementPropsSDKActions> & import('../HTMLComponent.types').A11yInteractions & {
|
|
13
13
|
translations: {
|
|
14
14
|
title: string;
|
|
@@ -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/
|
|
6
|
+
import { T as TranslationKeys, D as DefaultTranslations, a as TRANSLATIONS_NAMESPACE } from "../chunks/constants28.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/
|
|
2
|
+
import { b as DisplayNames, H as HIPAA_SETTINGS_PANEL_ID } from "../chunks/constants28.js";
|
|
3
3
|
const manifest = {
|
|
4
4
|
id: "c82c4153-edcc-4b6f-8c99-8d021e3bf5ab",
|
|
5
5
|
type: "wixEditorElements.HipaaIcon",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DefaultContainerProps } from '../../../../types/vendored/editor-elements-types-thunderbolt';
|
|
3
3
|
export declare const useMSBStates: ({ children, getStateId, selectedStateId, onChange, shouldRenderAllTabs, wrap, }: {
|
|
4
|
-
children: React.ReactNode | DefaultContainerProps[
|
|
4
|
+
children: React.ReactNode | DefaultContainerProps["children"];
|
|
5
5
|
getStateId: (state: React.ReactElement) => string;
|
|
6
6
|
selectedStateId: string;
|
|
7
|
-
onChange?: (
|
|
8
|
-
shouldRenderAllTabs?: boolean
|
|
9
|
-
wrap?: (
|
|
7
|
+
onChange?: (event: React.ChangeEvent) => void;
|
|
8
|
+
shouldRenderAllTabs?: boolean;
|
|
9
|
+
wrap?: (tabElement: any) => React.ReactNode;
|
|
10
10
|
}) => (string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined)[];
|
|
@@ -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/
|
|
9
|
+
import { A as ARIA_LABEL_NAMESPACE, a as ARIA_LABEL_KEY, b as ARIA_LABEL_DEFAULT } from "../chunks/constants27.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,5 +1,5 @@
|
|
|
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/
|
|
2
|
+
import { D as DesignStates, p as presets, c as DisplayNames } from "../chunks/constants27.js";
|
|
3
3
|
import { a 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";
|
|
@@ -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/
|
|
4
|
+
import { d as defaultLogoUrl, D as DEFAULT_LOGO_SIZE } from "../chunks/constants26.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/
|
|
2
|
+
import { a as DisplayNames } from "../chunks/constants26.js";
|
|
3
3
|
const manifest = {
|
|
4
4
|
id: "4190f51c-3836-49f6-8114-96219c165b30",
|
|
5
5
|
type: "wixEditorElements.Logo",
|
package/dist/site/components/Logo/panels/customizeLogo/components/LogoBackgroundRemovalButton.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { Translations } from '../translations/consts';
|
|
|
3
3
|
export declare const LogoBackgroundRemovalButton: ({ translations, onRemoveBackgroundClicked, disabled, isSupportedForBackgroundRemoval, }: {
|
|
4
4
|
translations: Translations;
|
|
5
5
|
onRemoveBackgroundClicked: () => void;
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
isSupportedForBackgroundRemoval?: boolean
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isSupportedForBackgroundRemoval?: boolean;
|
|
8
8
|
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { LogoImageData } from './types';
|
|
3
|
-
export declare const createLogoHandlers: (setLogoImage: (image: LogoImageData | undefined) => void, setDisableBackgroundRemoval: (disableBackgroundRemoval: boolean) => void, setIsLoadingLogoPreview: (isLoadingLogoPreview: boolean) => void, setIsLoadingBackgroundRemoval: (isLoadingBackgroundRemoval: boolean) => void, setIsPreviewingBackgroundRemoval: (isPreviewingBackgroundRemoval: boolean) => void, setBackgroundRemovalPreviewImage: (image: LogoImageData | undefined) => void, backgroundRemovalPreviewImage: LogoImageData | undefined, setBackgroundRemovalError: (backgroundRemovalError: boolean) => void, setAddImageToSiteFileError: (addImageToSiteFileError: boolean) => void, setIsLoadingAddToSite: (isLoadingAddToSite: boolean) => void, getSiteColors: () => Promise<Record<string, string>>, setIsLoadingPanel: (isLoadingPanel: boolean) => void, setHasEmptyState?: (
|
|
3
|
+
export declare const createLogoHandlers: (setLogoImage: (image: LogoImageData | undefined) => void, setDisableBackgroundRemoval: (disableBackgroundRemoval: boolean) => void, setIsLoadingLogoPreview: (isLoadingLogoPreview: boolean) => void, setIsLoadingBackgroundRemoval: (isLoadingBackgroundRemoval: boolean) => void, setIsPreviewingBackgroundRemoval: (isPreviewingBackgroundRemoval: boolean) => void, setBackgroundRemovalPreviewImage: (image: LogoImageData | undefined) => void, backgroundRemovalPreviewImage: LogoImageData | undefined, setBackgroundRemovalError: (backgroundRemovalError: boolean) => void, setAddImageToSiteFileError: (addImageToSiteFileError: boolean) => void, setIsLoadingAddToSite: (isLoadingAddToSite: boolean) => void, getSiteColors: () => Promise<Record<string, string>>, setIsLoadingPanel: (isLoadingPanel: boolean) => void, setHasEmptyState?: (hasEmptyState: boolean) => void, businessInfoImage?: LogoImageData, abortControllerRef?: React.MutableRefObject<AbortController | null>) => {
|
|
4
4
|
handleRemoveBackgroundClicked: (currentLogoImage: LogoImageData | undefined) => Promise<void>;
|
|
5
5
|
handleOpenOnBoardingFlowModal: () => Promise<void>;
|
|
6
6
|
handleOpenLogoEditor: (logoId?: string, brandId?: string) => Promise<void>;
|
|
@@ -69,7 +69,7 @@ export declare function removeBackgroundFromImage(currentLogoUrl: string): Promi
|
|
|
69
69
|
export declare function importFileToMyLogosFolder(fileUrl: string, options?: {
|
|
70
70
|
skipIfFileAlreadyExists: boolean;
|
|
71
71
|
}): Promise<(files.ImportFileResponse & {
|
|
72
|
-
__validationErrorsType?: files.ImportFileValidationErrors
|
|
72
|
+
__validationErrorsType?: files.ImportFileValidationErrors;
|
|
73
73
|
}) | undefined>;
|
|
74
74
|
export declare function importFileToMyLogosFolderAndWaitUntilReady(fileUrl: string, signal?: AbortSignal): Promise<{
|
|
75
75
|
url: string | undefined;
|
|
@@ -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/
|
|
7
|
+
import { D as DEFAULT_LOGO_SIZE } from "../chunks/constants26.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/
|
|
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";
|
|
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,6 +1,6 @@
|
|
|
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/
|
|
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
4
|
import { m as manifestFocusable, a as manifestMouseHover, b as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
const manifest = {
|
|
6
6
|
id: "13165477-8205-4050-b078-424a1479159e",
|