@wix/editor-react-components 1.2337.0 → 1.2339.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.
@@ -21,7 +21,6 @@
21
21
  .item__dXORc {
22
22
  box-sizing: border-box;
23
23
  min-height: 10px;
24
- background-color: rgba(240, 240, 240, 0.5);
25
24
  flex: 0 var(--item-flex-shrink, 1) var(--item-flex-basis);
26
25
  scroll-snap-align: var(--item-scroll-snap-align, none);
27
26
  }
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ type ColorGridProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const ColorGrid: React.FC<ColorGridProps>;
6
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { Translations } from './translations/consts';
2
- import { PresetConfigKey, PresetScope } from './patterns.types';
2
+ import { PATTERN_SCOPE_VALUES, PresetConfigKey, PresetScope } from './patterns.types';
3
+ import { SVGProps, JSX } from 'react';
3
4
  export { MAX_PATTERNS, PatternConfig } from './patterns.config';
4
5
  export declare const PATTERN_RANGES: {
5
6
  readonly rotation: {
@@ -39,20 +40,11 @@ export declare const dataHooks: {
39
40
  readonly rotationPatternInput: "patterns-rotation-pattern-input";
40
41
  readonly offsetPatternInput: "patterns-offset-pattern-input";
41
42
  };
42
- export declare const scopeOptions: readonly [{
43
- readonly scope: "none";
44
- readonly dataHook: "patterns-scope-none";
45
- readonly titleKey: "scopeNoTwist";
46
- readonly image: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
- }, {
48
- readonly scope: "character";
49
- readonly dataHook: "patterns-scope-character";
50
- readonly titleKey: "scopeLetter";
51
- readonly image: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
- }, {
53
- readonly scope: "word";
54
- readonly dataHook: "patterns-scope-word";
55
- readonly titleKey: "scopeWord";
56
- readonly image: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
- }];
43
+ type ScopeOption = {
44
+ scope: (typeof PATTERN_SCOPE_VALUES)[keyof typeof PATTERN_SCOPE_VALUES];
45
+ dataHook: string;
46
+ titleKey: keyof Translations;
47
+ image: string | ((props: SVGProps<SVGSVGElement>) => JSX.Element);
48
+ };
49
+ export declare const scopeOptions: Array<ScopeOption>;
58
50
  export declare const PRESET_TRANSLATION_KEYS: Record<PresetConfigKey, keyof Translations>;
@@ -464,7 +464,7 @@ const transparentVideoPanelExtension = extensions.editorReactComponentPanel({
464
464
  },
465
465
  contentType: "code",
466
466
  size: {
467
- height: 150,
467
+ height: 360,
468
468
  width: "UNKNOWN_WIDTH"
469
469
  }
470
470
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2337.0",
3
+ "version": "1.2339.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -77,6 +77,7 @@
77
77
  "@vimeo/player": "^2.20.1",
78
78
  "@vis.gl/react-google-maps": "^1.5.2",
79
79
  "@wix/ambassador-devcenter-v1-component-type-data": "^1.0.436",
80
+ "@wix/design-system-illustrations": "^2.19.0",
80
81
  "@wix/sdk": "^1.21.13",
81
82
  "@wix/services-manager-react": "^0.1.27",
82
83
  "@wix/site-ui": "1.156.0",
@@ -198,5 +199,5 @@
198
199
  "registry": "https://registry.npmjs.org/",
199
200
  "access": "public"
200
201
  },
201
- "falconPackageHash": "08b420bae2f408829dda57d988ab0e6a56b80192ef7bb4973564e652"
202
+ "falconPackageHash": "844d40c6ec574a4bc5fdfd089054f2e7a6785695757b3974bf6a8733"
202
203
  }