@wix/editor-react-components 1.2602.0 → 1.2604.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.
@@ -24,6 +24,7 @@ export declare const defaultTranslations: {
24
24
  readonly editorEmptyStateMessage: "No items found in your list";
25
25
  };
26
26
  export declare const DEFAULT_ITEMS_PER_ROW = 4;
27
+ export declare const BORDER_DEFAULT = "0px solid rgba(0, 0, 0, 1)";
27
28
  export declare const COLUMN_COUNT_CSS_VAR = "--column-count";
28
29
  export declare const LOADING_ITEM_COUNT_CSS_VAR = "--loading-item-count";
29
30
  export declare const COLUMN_COUNT_RANGE: {
@@ -177,6 +177,17 @@
177
177
  white-space: nowrap;
178
178
  border: 0;
179
179
  }.repeater {
180
+ /*
181
+ * A border baseline must exist for the Borders controls to do anything: CSS
182
+ * computes border-*-width to 0px whenever border-*-style is `none`, so a
183
+ * width and colour written by the design panel render nothing on their own.
184
+ * 0px keeps it invisible until the user sets a width (EDIX-34219).
185
+ */
186
+ border-top: 0px solid rgba(0, 0, 0, 1);
187
+ border-bottom: 0px solid rgba(0, 0, 0, 1);
188
+ border-inline-start: 0px solid rgba(0, 0, 0, 1);
189
+ border-inline-end: 0px solid rgba(0, 0, 0, 1);
190
+
180
191
  --repeater-min-size-fallback: 200px;
181
192
  --repeater-column-min-width-fallback: 350px;
182
193
  --background-color: transparent;
@@ -1,6 +1,6 @@
1
1
  import { I as INTERACTIONS, L as LAYOUT, a as ACTIONS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, E as ELEMENTS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-IO6HLVLV.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, F as FunctionalStateKeys, s as semanticClassNames } from "../chunks/constants23.js";
3
+ import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, B as BORDER_DEFAULT, F as FunctionalStateKeys, s as semanticClassNames } from "../chunks/constants23.js";
4
4
  import { F as FunctionRole } from "../chunks/types.impl.js";
5
5
  const manifest = {
6
6
  id: "3f08612b-67ee-4b00-9340-9323e660aa60",
@@ -157,10 +157,10 @@ const manifest = {
157
157
  },
158
158
  cssProperties: {
159
159
  boxShadow: {},
160
- borderTop: {},
161
- borderBottom: {},
162
- borderInlineStart: {},
163
- borderInlineEnd: {},
160
+ borderTop: { defaultValue: BORDER_DEFAULT },
161
+ borderBottom: { defaultValue: BORDER_DEFAULT },
162
+ borderInlineStart: { defaultValue: BORDER_DEFAULT },
163
+ borderInlineEnd: { defaultValue: BORDER_DEFAULT },
164
164
  borderStartStartRadius: {},
165
165
  borderStartEndRadius: {},
166
166
  borderEndStartRadius: {},
@@ -16,6 +16,7 @@ const TestIds = {
16
16
  liveAnnouncer: "repeater-live-announcer"
17
17
  };
18
18
  const DEFAULT_ITEMS_PER_ROW = 4;
19
+ const BORDER_DEFAULT = "0px solid rgba(0, 0, 0, 1)";
19
20
  const COLUMN_COUNT_CSS_VAR = "--column-count";
20
21
  const LOADING_ITEM_COUNT_CSS_VAR = "--loading-item-count";
21
22
  const presets = {
@@ -61,6 +62,7 @@ const DisplayNames = {
61
62
  }
62
63
  };
63
64
  export {
65
+ BORDER_DEFAULT as B,
64
66
  COLUMN_COUNT_CSS_VAR as C,
65
67
  DEFAULT_ITEMS_PER_ROW as D,
66
68
  FunctionalStateKeys as F,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2602.0",
3
+ "version": "1.2604.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -84,7 +84,7 @@
84
84
  "@wix/site-service-business-logger": "^1.0.0",
85
85
  "@wix/site-service-configuration": "^1.0.1",
86
86
  "@wix/site-service-rendering-context": "^1.0.1",
87
- "@wix/site-ui": "1.254.0",
87
+ "@wix/site-ui": "1.255.0",
88
88
  "@wix/video": "^1.106.0",
89
89
  "@wix/viewer-service-consent-policy": "^1.0.101",
90
90
  "@wix/web-bi-logger": "^2.1.29",
@@ -127,7 +127,7 @@
127
127
  "@wix/editor-elements-test-utils": "^1.0.0",
128
128
  "@wix/editor-react-types": "^1.0.78",
129
129
  "@wix/essentials": "^0.1.28",
130
- "@wix/fed-cli-sled": "^1.0.34",
130
+ "@wix/fed-cli-sled": "^1.0.35",
131
131
  "@wix/image": "^1.452.0",
132
132
  "@wix/image-kit": "^1.118.0",
133
133
  "@wix/janet-build": "^1.0.10",
@@ -199,5 +199,5 @@
199
199
  "registry": "https://registry.npmjs.org/",
200
200
  "access": "public"
201
201
  },
202
- "falconPackageHash": "77ac0af5680f2ef6153cf0cb1e8ed326cd572ee3630b26c47aff54c4"
202
+ "falconPackageHash": "a34392467f311d7d0c115112197802d5f73157b05d89535398856e14"
203
203
  }