@wix/site-ui 1.189.0 → 1.191.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/Toast/index.js +11 -1
- package/package.json +2 -2
package/dist/Toast/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Close } from "@wix/wix-ui-icons-common/on-stage";
|
|
3
2
|
import clsx from "clsx";
|
|
4
3
|
import { useRefWithInit, useRenderElement, esm_formatErrorMessage } from "../8272.js";
|
|
5
4
|
import { Timeout, useTimeout } from "../42.js";
|
|
@@ -1154,6 +1153,17 @@ const Toast_module = {
|
|
|
1154
1153
|
title: "title-ECAZRW",
|
|
1155
1154
|
close: "close-GX8r1b"
|
|
1156
1155
|
};
|
|
1156
|
+
const Close = ({ size, ...props })=>/*#__PURE__*/ jsx("svg", {
|
|
1157
|
+
viewBox: "0 0 24 24",
|
|
1158
|
+
fill: "currentColor",
|
|
1159
|
+
width: size || '24',
|
|
1160
|
+
height: size || '24',
|
|
1161
|
+
...props,
|
|
1162
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
1163
|
+
fillRule: "evenodd",
|
|
1164
|
+
d: "M19.2928932,3.99989322 L20,4.707 L12.7068932,11.9998932 L20,19.2928932 L19.2928932,20 L11.9998932,12.7068932 L4.707,20 L3.99989322,19.2928932 L11.2928932,11.9998932 L3.99989322,4.707 L4.707,3.99989322 L11.9998932,11.2928932 L19.2928932,3.99989322 Z"
|
|
1165
|
+
})
|
|
1166
|
+
});
|
|
1157
1167
|
function getSkinClassName(skin) {
|
|
1158
1168
|
switch(skin){
|
|
1159
1169
|
case 'success':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/site-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.191.0",
|
|
4
4
|
"description": "Pure UI components for the Wix site builder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"registry": "https://registry.npmjs.org/",
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
|
-
"falconPackageHash": "
|
|
97
|
+
"falconPackageHash": "27a4c269e6f6fce4365ecef1aa59be6c13ec3d6eed9384b32b354505"
|
|
98
98
|
}
|