@wix/react-component-schema 1.9.0 → 1.11.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/index.d.ts CHANGED
@@ -4320,6 +4320,24 @@ export declare const TextVariableNames: {
4320
4320
  readonly 'wst-paragraph-1-font': "wst-paragraph-1-font";
4321
4321
  readonly 'wst-paragraph-2-font': "wst-paragraph-2-font";
4322
4322
  readonly 'wst-paragraph-3-font': "wst-paragraph-3-font";
4323
+ readonly 'wst-heading-1-letter-spacing': "wst-heading-1-letter-spacing";
4324
+ readonly 'wst-heading-2-letter-spacing': "wst-heading-2-letter-spacing";
4325
+ readonly 'wst-heading-3-letter-spacing': "wst-heading-3-letter-spacing";
4326
+ readonly 'wst-heading-4-letter-spacing': "wst-heading-4-letter-spacing";
4327
+ readonly 'wst-heading-5-letter-spacing': "wst-heading-5-letter-spacing";
4328
+ readonly 'wst-heading-6-letter-spacing': "wst-heading-6-letter-spacing";
4329
+ readonly 'wst-paragraph-1-letter-spacing': "wst-paragraph-1-letter-spacing";
4330
+ readonly 'wst-paragraph-2-letter-spacing': "wst-paragraph-2-letter-spacing";
4331
+ readonly 'wst-paragraph-3-letter-spacing': "wst-paragraph-3-letter-spacing";
4332
+ readonly 'wst-heading-1-text-decoration': "wst-heading-1-text-decoration";
4333
+ readonly 'wst-heading-2-text-decoration': "wst-heading-2-text-decoration";
4334
+ readonly 'wst-heading-3-text-decoration': "wst-heading-3-text-decoration";
4335
+ readonly 'wst-heading-4-text-decoration': "wst-heading-4-text-decoration";
4336
+ readonly 'wst-heading-5-text-decoration': "wst-heading-5-text-decoration";
4337
+ readonly 'wst-heading-6-text-decoration': "wst-heading-6-text-decoration";
4338
+ readonly 'wst-paragraph-1-text-decoration': "wst-paragraph-1-text-decoration";
4339
+ readonly 'wst-paragraph-2-text-decoration': "wst-paragraph-2-text-decoration";
4340
+ readonly 'wst-paragraph-3-text-decoration': "wst-paragraph-3-text-decoration";
4323
4341
  readonly 'wst-heading-1-color': "wst-heading-1-color";
4324
4342
  readonly 'wst-heading-2-color': "wst-heading-2-color";
4325
4343
  readonly 'wst-heading-3-color': "wst-heading-3-color";
@@ -4591,6 +4609,24 @@ export declare const WixThemeVariableNames: {
4591
4609
  'wst-paragraph-1-font': "wst-paragraph-1-font";
4592
4610
  'wst-paragraph-2-font': "wst-paragraph-2-font";
4593
4611
  'wst-paragraph-3-font': "wst-paragraph-3-font";
4612
+ 'wst-heading-1-letter-spacing': "wst-heading-1-letter-spacing";
4613
+ 'wst-heading-2-letter-spacing': "wst-heading-2-letter-spacing";
4614
+ 'wst-heading-3-letter-spacing': "wst-heading-3-letter-spacing";
4615
+ 'wst-heading-4-letter-spacing': "wst-heading-4-letter-spacing";
4616
+ 'wst-heading-5-letter-spacing': "wst-heading-5-letter-spacing";
4617
+ 'wst-heading-6-letter-spacing': "wst-heading-6-letter-spacing";
4618
+ 'wst-paragraph-1-letter-spacing': "wst-paragraph-1-letter-spacing";
4619
+ 'wst-paragraph-2-letter-spacing': "wst-paragraph-2-letter-spacing";
4620
+ 'wst-paragraph-3-letter-spacing': "wst-paragraph-3-letter-spacing";
4621
+ 'wst-heading-1-text-decoration': "wst-heading-1-text-decoration";
4622
+ 'wst-heading-2-text-decoration': "wst-heading-2-text-decoration";
4623
+ 'wst-heading-3-text-decoration': "wst-heading-3-text-decoration";
4624
+ 'wst-heading-4-text-decoration': "wst-heading-4-text-decoration";
4625
+ 'wst-heading-5-text-decoration': "wst-heading-5-text-decoration";
4626
+ 'wst-heading-6-text-decoration': "wst-heading-6-text-decoration";
4627
+ 'wst-paragraph-1-text-decoration': "wst-paragraph-1-text-decoration";
4628
+ 'wst-paragraph-2-text-decoration': "wst-paragraph-2-text-decoration";
4629
+ 'wst-paragraph-3-text-decoration': "wst-paragraph-3-text-decoration";
4594
4630
  'wst-heading-1-color': "wst-heading-1-color";
4595
4631
  'wst-heading-2-color': "wst-heading-2-color";
4596
4632
  'wst-heading-3-color': "wst-heading-3-color";
package/dist/index.js CHANGED
@@ -776,7 +776,25 @@ const TextVariableNames = {
776
776
  "wst-heading-6-font": "wst-heading-6-font",
777
777
  "wst-paragraph-1-font": "wst-paragraph-1-font",
778
778
  "wst-paragraph-2-font": "wst-paragraph-2-font",
779
- "wst-paragraph-3-font": "wst-paragraph-3-font"
779
+ "wst-paragraph-3-font": "wst-paragraph-3-font",
780
+ "wst-heading-1-letter-spacing": "wst-heading-1-letter-spacing",
781
+ "wst-heading-2-letter-spacing": "wst-heading-2-letter-spacing",
782
+ "wst-heading-3-letter-spacing": "wst-heading-3-letter-spacing",
783
+ "wst-heading-4-letter-spacing": "wst-heading-4-letter-spacing",
784
+ "wst-heading-5-letter-spacing": "wst-heading-5-letter-spacing",
785
+ "wst-heading-6-letter-spacing": "wst-heading-6-letter-spacing",
786
+ "wst-paragraph-1-letter-spacing": "wst-paragraph-1-letter-spacing",
787
+ "wst-paragraph-2-letter-spacing": "wst-paragraph-2-letter-spacing",
788
+ "wst-paragraph-3-letter-spacing": "wst-paragraph-3-letter-spacing",
789
+ "wst-heading-1-text-decoration": "wst-heading-1-text-decoration",
790
+ "wst-heading-2-text-decoration": "wst-heading-2-text-decoration",
791
+ "wst-heading-3-text-decoration": "wst-heading-3-text-decoration",
792
+ "wst-heading-4-text-decoration": "wst-heading-4-text-decoration",
793
+ "wst-heading-5-text-decoration": "wst-heading-5-text-decoration",
794
+ "wst-heading-6-text-decoration": "wst-heading-6-text-decoration",
795
+ "wst-paragraph-1-text-decoration": "wst-paragraph-1-text-decoration",
796
+ "wst-paragraph-2-text-decoration": "wst-paragraph-2-text-decoration",
797
+ "wst-paragraph-3-text-decoration": "wst-paragraph-3-text-decoration"
780
798
  };
781
799
  const WixThemeVariableNames = {
782
800
  ...ColorVariableNames,
@@ -37,6 +37,24 @@
37
37
  @value wst-paragraph-1-font: --wst-paragraph-1-font;
38
38
  @value wst-paragraph-2-font: --wst-paragraph-2-font;
39
39
  @value wst-paragraph-3-font: --wst-paragraph-3-font;
40
+ @value wst-heading-1-letter-spacing: --wst-heading-1-letter-spacing;
41
+ @value wst-heading-2-letter-spacing: --wst-heading-2-letter-spacing;
42
+ @value wst-heading-3-letter-spacing: --wst-heading-3-letter-spacing;
43
+ @value wst-heading-4-letter-spacing: --wst-heading-4-letter-spacing;
44
+ @value wst-heading-5-letter-spacing: --wst-heading-5-letter-spacing;
45
+ @value wst-heading-6-letter-spacing: --wst-heading-6-letter-spacing;
46
+ @value wst-paragraph-1-letter-spacing: --wst-paragraph-1-letter-spacing;
47
+ @value wst-paragraph-2-letter-spacing: --wst-paragraph-2-letter-spacing;
48
+ @value wst-paragraph-3-letter-spacing: --wst-paragraph-3-letter-spacing;
49
+ @value wst-heading-1-text-decoration: --wst-heading-1-text-decoration;
50
+ @value wst-heading-2-text-decoration: --wst-heading-2-text-decoration;
51
+ @value wst-heading-3-text-decoration: --wst-heading-3-text-decoration;
52
+ @value wst-heading-4-text-decoration: --wst-heading-4-text-decoration;
53
+ @value wst-heading-5-text-decoration: --wst-heading-5-text-decoration;
54
+ @value wst-heading-6-text-decoration: --wst-heading-6-text-decoration;
55
+ @value wst-paragraph-1-text-decoration: --wst-paragraph-1-text-decoration;
56
+ @value wst-paragraph-2-text-decoration: --wst-paragraph-2-text-decoration;
57
+ @value wst-paragraph-3-text-decoration: --wst-paragraph-3-text-decoration;
40
58
  @value wst-button-primary-background-color: --wst-button-primary-background-color;
41
59
  @value wst-button-primary-border-left-color: --wst-button-primary-border-left-color;
42
60
  @value wst-button-primary-border-right-color: --wst-button-primary-border-right-color;
@@ -37,6 +37,24 @@ $wst-heading-6-font: var(--wst-heading-6-font);
37
37
  $wst-paragraph-1-font: var(--wst-paragraph-1-font);
38
38
  $wst-paragraph-2-font: var(--wst-paragraph-2-font);
39
39
  $wst-paragraph-3-font: var(--wst-paragraph-3-font);
40
+ $wst-heading-1-letter-spacing: var(--wst-heading-1-letter-spacing);
41
+ $wst-heading-2-letter-spacing: var(--wst-heading-2-letter-spacing);
42
+ $wst-heading-3-letter-spacing: var(--wst-heading-3-letter-spacing);
43
+ $wst-heading-4-letter-spacing: var(--wst-heading-4-letter-spacing);
44
+ $wst-heading-5-letter-spacing: var(--wst-heading-5-letter-spacing);
45
+ $wst-heading-6-letter-spacing: var(--wst-heading-6-letter-spacing);
46
+ $wst-paragraph-1-letter-spacing: var(--wst-paragraph-1-letter-spacing);
47
+ $wst-paragraph-2-letter-spacing: var(--wst-paragraph-2-letter-spacing);
48
+ $wst-paragraph-3-letter-spacing: var(--wst-paragraph-3-letter-spacing);
49
+ $wst-heading-1-text-decoration: var(--wst-heading-1-text-decoration);
50
+ $wst-heading-2-text-decoration: var(--wst-heading-2-text-decoration);
51
+ $wst-heading-3-text-decoration: var(--wst-heading-3-text-decoration);
52
+ $wst-heading-4-text-decoration: var(--wst-heading-4-text-decoration);
53
+ $wst-heading-5-text-decoration: var(--wst-heading-5-text-decoration);
54
+ $wst-heading-6-text-decoration: var(--wst-heading-6-text-decoration);
55
+ $wst-paragraph-1-text-decoration: var(--wst-paragraph-1-text-decoration);
56
+ $wst-paragraph-2-text-decoration: var(--wst-paragraph-2-text-decoration);
57
+ $wst-paragraph-3-text-decoration: var(--wst-paragraph-3-text-decoration);
40
58
  $wst-button-primary-background-color: var(--wst-button-primary-background-color);
41
59
  $wst-button-primary-border-left-color: var(--wst-button-primary-border-left-color);
42
60
  $wst-button-primary-border-right-color: var(--wst-button-primary-border-right-color);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org/",
5
5
  "access": "public"
6
6
  },
7
- "version": "1.9.0",
7
+ "version": "1.11.0",
8
8
  "description": "Schema constants and types for EditorReactComponent extension",
9
9
  "type": "module",
10
10
  "main": "dist/index.js",
@@ -12,7 +12,8 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "import": "./dist/index.js",
15
- "types": "./dist/index.d.ts"
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
16
17
  },
17
18
  "./editor-react-types": {
18
19
  "types": "./dist/editor-react-types.d.ts"
@@ -36,7 +37,7 @@
36
37
  "@wix/ambassador-devcenter-components-overrides-v1-components-override": "^1.0.408",
37
38
  "@wix/component-protocol": "1.250.0",
38
39
  "@wix/editor-react-types": "^1.0.20",
39
- "@wix/wix-site-theme-variables": "^1.26.0",
40
+ "@wix/wix-site-theme-variables": "^1.27.0",
40
41
  "vite": "^7.3.2",
41
42
  "vite-plugin-dts": "^4.5.4",
42
43
  "vitest": "^4.0.17"
@@ -57,5 +58,5 @@
57
58
  ]
58
59
  }
59
60
  },
60
- "falconPackageHash": "d53f358c58c6baba72b2c14decb8d86e8e9597603c0d984c959ed425"
61
+ "falconPackageHash": "e2e4c85b4b07cae62d3f977032bd0fdda1f2685f19267705531fd9d5"
61
62
  }
@@ -4735,6 +4735,24 @@ export declare const TextVariableNames: {
4735
4735
  readonly 'wst-paragraph-1-font': "wst-paragraph-1-font";
4736
4736
  readonly 'wst-paragraph-2-font': "wst-paragraph-2-font";
4737
4737
  readonly 'wst-paragraph-3-font': "wst-paragraph-3-font";
4738
+ readonly 'wst-heading-1-letter-spacing': "wst-heading-1-letter-spacing";
4739
+ readonly 'wst-heading-2-letter-spacing': "wst-heading-2-letter-spacing";
4740
+ readonly 'wst-heading-3-letter-spacing': "wst-heading-3-letter-spacing";
4741
+ readonly 'wst-heading-4-letter-spacing': "wst-heading-4-letter-spacing";
4742
+ readonly 'wst-heading-5-letter-spacing': "wst-heading-5-letter-spacing";
4743
+ readonly 'wst-heading-6-letter-spacing': "wst-heading-6-letter-spacing";
4744
+ readonly 'wst-paragraph-1-letter-spacing': "wst-paragraph-1-letter-spacing";
4745
+ readonly 'wst-paragraph-2-letter-spacing': "wst-paragraph-2-letter-spacing";
4746
+ readonly 'wst-paragraph-3-letter-spacing': "wst-paragraph-3-letter-spacing";
4747
+ readonly 'wst-heading-1-text-decoration': "wst-heading-1-text-decoration";
4748
+ readonly 'wst-heading-2-text-decoration': "wst-heading-2-text-decoration";
4749
+ readonly 'wst-heading-3-text-decoration': "wst-heading-3-text-decoration";
4750
+ readonly 'wst-heading-4-text-decoration': "wst-heading-4-text-decoration";
4751
+ readonly 'wst-heading-5-text-decoration': "wst-heading-5-text-decoration";
4752
+ readonly 'wst-heading-6-text-decoration': "wst-heading-6-text-decoration";
4753
+ readonly 'wst-paragraph-1-text-decoration': "wst-paragraph-1-text-decoration";
4754
+ readonly 'wst-paragraph-2-text-decoration': "wst-paragraph-2-text-decoration";
4755
+ readonly 'wst-paragraph-3-text-decoration': "wst-paragraph-3-text-decoration";
4738
4756
  readonly 'wst-heading-1-color': "wst-heading-1-color";
4739
4757
  readonly 'wst-heading-2-color': "wst-heading-2-color";
4740
4758
  readonly 'wst-heading-3-color': "wst-heading-3-color";
@@ -5006,6 +5024,24 @@ export declare const WixThemeVariableNames: {
5006
5024
  'wst-paragraph-1-font': "wst-paragraph-1-font";
5007
5025
  'wst-paragraph-2-font': "wst-paragraph-2-font";
5008
5026
  'wst-paragraph-3-font': "wst-paragraph-3-font";
5027
+ 'wst-heading-1-letter-spacing': "wst-heading-1-letter-spacing";
5028
+ 'wst-heading-2-letter-spacing': "wst-heading-2-letter-spacing";
5029
+ 'wst-heading-3-letter-spacing': "wst-heading-3-letter-spacing";
5030
+ 'wst-heading-4-letter-spacing': "wst-heading-4-letter-spacing";
5031
+ 'wst-heading-5-letter-spacing': "wst-heading-5-letter-spacing";
5032
+ 'wst-heading-6-letter-spacing': "wst-heading-6-letter-spacing";
5033
+ 'wst-paragraph-1-letter-spacing': "wst-paragraph-1-letter-spacing";
5034
+ 'wst-paragraph-2-letter-spacing': "wst-paragraph-2-letter-spacing";
5035
+ 'wst-paragraph-3-letter-spacing': "wst-paragraph-3-letter-spacing";
5036
+ 'wst-heading-1-text-decoration': "wst-heading-1-text-decoration";
5037
+ 'wst-heading-2-text-decoration': "wst-heading-2-text-decoration";
5038
+ 'wst-heading-3-text-decoration': "wst-heading-3-text-decoration";
5039
+ 'wst-heading-4-text-decoration': "wst-heading-4-text-decoration";
5040
+ 'wst-heading-5-text-decoration': "wst-heading-5-text-decoration";
5041
+ 'wst-heading-6-text-decoration': "wst-heading-6-text-decoration";
5042
+ 'wst-paragraph-1-text-decoration': "wst-paragraph-1-text-decoration";
5043
+ 'wst-paragraph-2-text-decoration': "wst-paragraph-2-text-decoration";
5044
+ 'wst-paragraph-3-text-decoration': "wst-paragraph-3-text-decoration";
5009
5045
  'wst-heading-1-color': "wst-heading-1-color";
5010
5046
  'wst-heading-2-color': "wst-heading-2-color";
5011
5047
  'wst-heading-3-color': "wst-heading-3-color";
@@ -5837,7 +5873,25 @@ const TextVariableNames = {
5837
5873
  "wst-heading-6-font": "wst-heading-6-font",
5838
5874
  "wst-paragraph-1-font": "wst-paragraph-1-font",
5839
5875
  "wst-paragraph-2-font": "wst-paragraph-2-font",
5840
- "wst-paragraph-3-font": "wst-paragraph-3-font"
5876
+ "wst-paragraph-3-font": "wst-paragraph-3-font",
5877
+ "wst-heading-1-letter-spacing": "wst-heading-1-letter-spacing",
5878
+ "wst-heading-2-letter-spacing": "wst-heading-2-letter-spacing",
5879
+ "wst-heading-3-letter-spacing": "wst-heading-3-letter-spacing",
5880
+ "wst-heading-4-letter-spacing": "wst-heading-4-letter-spacing",
5881
+ "wst-heading-5-letter-spacing": "wst-heading-5-letter-spacing",
5882
+ "wst-heading-6-letter-spacing": "wst-heading-6-letter-spacing",
5883
+ "wst-paragraph-1-letter-spacing": "wst-paragraph-1-letter-spacing",
5884
+ "wst-paragraph-2-letter-spacing": "wst-paragraph-2-letter-spacing",
5885
+ "wst-paragraph-3-letter-spacing": "wst-paragraph-3-letter-spacing",
5886
+ "wst-heading-1-text-decoration": "wst-heading-1-text-decoration",
5887
+ "wst-heading-2-text-decoration": "wst-heading-2-text-decoration",
5888
+ "wst-heading-3-text-decoration": "wst-heading-3-text-decoration",
5889
+ "wst-heading-4-text-decoration": "wst-heading-4-text-decoration",
5890
+ "wst-heading-5-text-decoration": "wst-heading-5-text-decoration",
5891
+ "wst-heading-6-text-decoration": "wst-heading-6-text-decoration",
5892
+ "wst-paragraph-1-text-decoration": "wst-paragraph-1-text-decoration",
5893
+ "wst-paragraph-2-text-decoration": "wst-paragraph-2-text-decoration",
5894
+ "wst-paragraph-3-text-decoration": "wst-paragraph-3-text-decoration"
5841
5895
  };
5842
5896
  const WixThemeVariableNames = {
5843
5897
  ...ColorVariableNames,
@@ -5918,6 +5972,24 @@ exports[`react-component-schema dist > dist/theme-variables.module.css matches s
5918
5972
  @value wst-paragraph-1-font: --wst-paragraph-1-font;
5919
5973
  @value wst-paragraph-2-font: --wst-paragraph-2-font;
5920
5974
  @value wst-paragraph-3-font: --wst-paragraph-3-font;
5975
+ @value wst-heading-1-letter-spacing: --wst-heading-1-letter-spacing;
5976
+ @value wst-heading-2-letter-spacing: --wst-heading-2-letter-spacing;
5977
+ @value wst-heading-3-letter-spacing: --wst-heading-3-letter-spacing;
5978
+ @value wst-heading-4-letter-spacing: --wst-heading-4-letter-spacing;
5979
+ @value wst-heading-5-letter-spacing: --wst-heading-5-letter-spacing;
5980
+ @value wst-heading-6-letter-spacing: --wst-heading-6-letter-spacing;
5981
+ @value wst-paragraph-1-letter-spacing: --wst-paragraph-1-letter-spacing;
5982
+ @value wst-paragraph-2-letter-spacing: --wst-paragraph-2-letter-spacing;
5983
+ @value wst-paragraph-3-letter-spacing: --wst-paragraph-3-letter-spacing;
5984
+ @value wst-heading-1-text-decoration: --wst-heading-1-text-decoration;
5985
+ @value wst-heading-2-text-decoration: --wst-heading-2-text-decoration;
5986
+ @value wst-heading-3-text-decoration: --wst-heading-3-text-decoration;
5987
+ @value wst-heading-4-text-decoration: --wst-heading-4-text-decoration;
5988
+ @value wst-heading-5-text-decoration: --wst-heading-5-text-decoration;
5989
+ @value wst-heading-6-text-decoration: --wst-heading-6-text-decoration;
5990
+ @value wst-paragraph-1-text-decoration: --wst-paragraph-1-text-decoration;
5991
+ @value wst-paragraph-2-text-decoration: --wst-paragraph-2-text-decoration;
5992
+ @value wst-paragraph-3-text-decoration: --wst-paragraph-3-text-decoration;
5921
5993
  @value wst-button-primary-background-color: --wst-button-primary-background-color;
5922
5994
  @value wst-button-primary-border-left-color: --wst-button-primary-border-left-color;
5923
5995
  @value wst-button-primary-border-right-color: --wst-button-primary-border-right-color;
@@ -6121,6 +6193,24 @@ $wst-heading-6-font: var(--wst-heading-6-font);
6121
6193
  $wst-paragraph-1-font: var(--wst-paragraph-1-font);
6122
6194
  $wst-paragraph-2-font: var(--wst-paragraph-2-font);
6123
6195
  $wst-paragraph-3-font: var(--wst-paragraph-3-font);
6196
+ $wst-heading-1-letter-spacing: var(--wst-heading-1-letter-spacing);
6197
+ $wst-heading-2-letter-spacing: var(--wst-heading-2-letter-spacing);
6198
+ $wst-heading-3-letter-spacing: var(--wst-heading-3-letter-spacing);
6199
+ $wst-heading-4-letter-spacing: var(--wst-heading-4-letter-spacing);
6200
+ $wst-heading-5-letter-spacing: var(--wst-heading-5-letter-spacing);
6201
+ $wst-heading-6-letter-spacing: var(--wst-heading-6-letter-spacing);
6202
+ $wst-paragraph-1-letter-spacing: var(--wst-paragraph-1-letter-spacing);
6203
+ $wst-paragraph-2-letter-spacing: var(--wst-paragraph-2-letter-spacing);
6204
+ $wst-paragraph-3-letter-spacing: var(--wst-paragraph-3-letter-spacing);
6205
+ $wst-heading-1-text-decoration: var(--wst-heading-1-text-decoration);
6206
+ $wst-heading-2-text-decoration: var(--wst-heading-2-text-decoration);
6207
+ $wst-heading-3-text-decoration: var(--wst-heading-3-text-decoration);
6208
+ $wst-heading-4-text-decoration: var(--wst-heading-4-text-decoration);
6209
+ $wst-heading-5-text-decoration: var(--wst-heading-5-text-decoration);
6210
+ $wst-heading-6-text-decoration: var(--wst-heading-6-text-decoration);
6211
+ $wst-paragraph-1-text-decoration: var(--wst-paragraph-1-text-decoration);
6212
+ $wst-paragraph-2-text-decoration: var(--wst-paragraph-2-text-decoration);
6213
+ $wst-paragraph-3-text-decoration: var(--wst-paragraph-3-text-decoration);
6124
6214
  $wst-button-primary-background-color: var(--wst-button-primary-background-color);
6125
6215
  $wst-button-primary-border-left-color: var(--wst-button-primary-border-left-color);
6126
6216
  $wst-button-primary-border-right-color: var(--wst-button-primary-border-right-color);
@@ -0,0 +1,12 @@
1
+ import { createRequire } from 'node:module'
2
+ import { describe, expect, it } from 'vitest'
3
+
4
+ describe('react-component-schema package exports', () => {
5
+ // CommonJS builds of consumers (e.g. @wix/form-fields/manifest) require this package by name.
6
+ it('can be required from CommonJS', () => {
7
+ const requireFromPackage = createRequire(import.meta.url)
8
+ const schema = requireFromPackage('@wix/react-component-schema')
9
+
10
+ expect(schema.ELEMENTS.ELEMENT_TYPE.inlineElement).toBe('inlineElement')
11
+ })
12
+ })