@trafilea/afrodita-components 6.5.5 → 6.5.6
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/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -6338,7 +6338,7 @@ var OneColorSelector = function (_a) {
|
|
|
6338
6338
|
var color = _a.color, selected = _a.selected, testId = _a.testId, noStock = _a.noStock, _b = _a.showCross, showCross = _b === void 0 ? false : _b;
|
|
6339
6339
|
var theme = useTheme();
|
|
6340
6340
|
var outerBorder = selected ? theme.colors.shades['550'].color : 'none';
|
|
6341
|
-
return (jsxs$1("svg", __assign$1({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-testid": testId, style: { opacity: noStock ? (showCross ? 1 : 0.4) : 1 } }, { children: [jsx$1("circle", { cx: "16", cy: "16", r: "12", fill: color, stroke: "#9E9E9E", strokeWidth: "0.5" }, void 0), jsx$1("circle", { cx: "16", cy: "16", r: "15.5", stroke: outerBorder }, void 0), showCross && noStock && (jsxs$1(Fragment$2, { children: [jsx$1("line", { x1: "
|
|
6341
|
+
return (jsxs$1("svg", __assign$1({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-testid": testId, style: { opacity: noStock ? (showCross ? 1 : 0.4) : 1 } }, { children: [jsx$1("circle", { cx: "16", cy: "16", r: "12", fill: color, stroke: "#9E9E9E", strokeWidth: "0.5" }, void 0), jsx$1("circle", { cx: "16", cy: "16", r: "15.5", stroke: outerBorder }, void 0), showCross && noStock && (jsxs$1(Fragment$2, { children: [jsx$1("line", { x1: "10", y1: "10", x2: "22", y2: "22", stroke: "#9E9E9E", strokeWidth: "1" }, void 0), jsx$1("line", { x1: "10", y1: "22", x2: "22", y2: "10", stroke: "#9E9E9E", strokeWidth: "1" }, void 0)] }, void 0))] }), void 0));
|
|
6342
6342
|
};
|
|
6343
6343
|
|
|
6344
6344
|
var ThreeColorSelector = function (_a) {
|
package/build/index.js
CHANGED
|
@@ -6364,7 +6364,7 @@ var OneColorSelector = function (_a) {
|
|
|
6364
6364
|
var color = _a.color, selected = _a.selected, testId = _a.testId, noStock = _a.noStock, _b = _a.showCross, showCross = _b === void 0 ? false : _b;
|
|
6365
6365
|
var theme = useTheme();
|
|
6366
6366
|
var outerBorder = selected ? theme.colors.shades['550'].color : 'none';
|
|
6367
|
-
return (jsxRuntime.jsxs("svg", __assign$1({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-testid": testId, style: { opacity: noStock ? (showCross ? 1 : 0.4) : 1 } }, { children: [jsxRuntime.jsx("circle", { cx: "16", cy: "16", r: "12", fill: color, stroke: "#9E9E9E", strokeWidth: "0.5" }, void 0), jsxRuntime.jsx("circle", { cx: "16", cy: "16", r: "15.5", stroke: outerBorder }, void 0), showCross && noStock && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("line", { x1: "
|
|
6367
|
+
return (jsxRuntime.jsxs("svg", __assign$1({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", "data-testid": testId, style: { opacity: noStock ? (showCross ? 1 : 0.4) : 1 } }, { children: [jsxRuntime.jsx("circle", { cx: "16", cy: "16", r: "12", fill: color, stroke: "#9E9E9E", strokeWidth: "0.5" }, void 0), jsxRuntime.jsx("circle", { cx: "16", cy: "16", r: "15.5", stroke: outerBorder }, void 0), showCross && noStock && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("line", { x1: "10", y1: "10", x2: "22", y2: "22", stroke: "#9E9E9E", strokeWidth: "1" }, void 0), jsxRuntime.jsx("line", { x1: "10", y1: "22", x2: "22", y2: "10", stroke: "#9E9E9E", strokeWidth: "1" }, void 0)] }, void 0))] }), void 0));
|
|
6368
6368
|
};
|
|
6369
6369
|
|
|
6370
6370
|
var ThreeColorSelector = function (_a) {
|
package/package.json
CHANGED