@cfx-dev/ui-components 2.1.19 → 2.1.21

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.
@@ -1 +1 @@
1
- ._skeleton_49zbt_1{display:inline-block;background-color:rgba(var(--color-bg-light),1);border-radius:var(--border-radius-xsmall);animation:_shimmer_49zbt_1 1.5s infinite linear}@keyframes _shimmer_49zbt_1{0%{opacity:0}50%{opacity:100%}to{opacity:0}}
1
+ ._skeleton_fx7ao_1{display:inline-block;position:relative;overflow:hidden;background-color:rgba(var(--color-bg-light),1);border-radius:var(--border-radius-xsmall)}._skeleton_fx7ao_1:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,#9ea4bd00 0,#9ea4bd33 20%,#9ea4bd80 60%,#9ea4bd00);animation:_shimmer_fx7ao_1 3.5s infinite;content:""}@keyframes _shimmer_fx7ao_1{to{transform:translate(100%)}}
@@ -0,0 +1,16 @@
1
+ import o from "./components/Icons/cfx-icons-big/Like.js";
2
+ import r from "./components/Icons/cfx-icons-big/Subscriptions.js";
3
+ import i from "./components/Icons/cfx-icons-big/Upload.js";
4
+ import t from "./components/Icons/cfx-icons-big/Warning.js";
5
+ import e from "./components/Icons/cfx-icons-big/Confirm.js";
6
+ const l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ __proto__: null,
8
+ Confirm: e,
9
+ Like: o,
10
+ Subscriptions: r,
11
+ Upload: i,
12
+ Warni: t
13
+ }, Symbol.toStringTag, { value: "Module" }));
14
+ export {
15
+ l as I
16
+ };
@@ -47,6 +47,7 @@ import "../Icons/cfx-icons-big/Like.js";
47
47
  import "../Icons/cfx-icons-big/Subscriptions.js";
48
48
  import "../Icons/cfx-icons-big/Upload.js";
49
49
  import "../Icons/cfx-icons-big/Warning.js";
50
+ import "../Icons/cfx-icons-big/Confirm.js";
50
51
  import { clsx as R } from "../../utils/clsx.js";
51
52
  import { getColor as q } from "../../utils/color.js";
52
53
  import '../../assets/Checkbox.css';function X(e, t) {
@@ -108,7 +109,7 @@ function G(e) {
108
109
  let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning;
109
110
  return n ? e.ref : (t = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
110
111
  }
111
- var x = "Checkbox", [J, tt] = j(x), [Q, V] = J(x), M = a.forwardRef(
112
+ var x = "Checkbox", [J, nt] = j(x), [Q, V] = J(x), M = a.forwardRef(
112
113
  (e, t) => {
113
114
  const {
114
115
  __scopeCheckbox: n,
@@ -248,7 +249,7 @@ function re(e) {
248
249
  ), i = q(e);
249
250
  return /* @__PURE__ */ f(Z, { ...r, id: t, style: { color: i }, className: p, children: /* @__PURE__ */ f(ee, { className: R(g.indicator, s), children: /* @__PURE__ */ f($, {}) }) });
250
251
  }
251
- const nt = L.memo(re);
252
+ const ot = L.memo(re);
252
253
  export {
253
- nt as default
254
+ ot as default
254
255
  };
@@ -5,15 +5,16 @@ import "../Icons/cfx-icons-big/Like.js";
5
5
  import "../Icons/cfx-icons-big/Subscriptions.js";
6
6
  import "../Icons/cfx-icons-big/Upload.js";
7
7
  import "../Icons/cfx-icons-big/Warning.js";
8
+ import "../Icons/cfx-icons-big/Confirm.js";
8
9
  import { getTextOpacity as h } from "../Text/Text.js";
9
10
  import { ui as t } from "../ui.js";
10
11
  import { clsx as y } from "../../utils/clsx.js";
11
12
  import { getColor as z } from "../../utils/color.js";
12
13
  import '../../assets/Icon.css';const S = "_root_sqbzn_1", _ = {
13
14
  root: S
14
- }, k = l.forwardRef(function(r, e) {
15
+ }, A = l.forwardRef(function(r, i) {
15
16
  const {
16
- as: i = "div",
17
+ as: e = "div",
17
18
  size: o = "normal",
18
19
  opacity: m,
19
20
  className: c,
@@ -29,8 +30,8 @@ import '../../assets/Icon.css';const S = "_root_sqbzn_1", _ = {
29
30
  width: t.fontSize(o),
30
31
  height: t.fontSize(o)
31
32
  }, f = d[s];
32
- return /* @__PURE__ */ n(i, { ref: e, style: p, className: y(_.root, c), children: /* @__PURE__ */ n(f, { style: a }) });
33
+ return /* @__PURE__ */ n(e, { ref: i, style: p, className: y(_.root, c), children: /* @__PURE__ */ n(f, { style: a }) });
33
34
  });
34
35
  export {
35
- k as Icon
36
+ A as Icon
36
37
  };
@@ -40,7 +40,7 @@ import "../Icons/cfx-icons/Users.js";
40
40
  import "../Icons/cfx-icons/Visibility.js";
41
41
  import "../Icons/cfx-icons/VisibilityOff.js";
42
42
  import "../Icons/cfx-icons/Warning.js";
43
- import { I as f } from "../../cfxIconsBig-CNY8zL27.js";
43
+ import { I as f } from "../../cfxIconsBig-BLJjMT-Y.js";
44
44
  import { getTextOpacity as g } from "../Text/Text.js";
45
45
  import { clsx as z } from "../../utils/clsx.js";
46
46
  import { getColor as y } from "../../utils/color.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { I as s } from "../../cfxIcons-BlbKR-zU.js";
3
- import { I as c } from "../../cfxIconsBig-CNY8zL27.js";
3
+ import { I as c } from "../../cfxIconsBig-BLJjMT-Y.js";
4
4
  function d() {
5
5
  const l = Object.entries(s).map(([i, t]) => ({
6
6
  name: i,
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function Confirm(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof Confirm>;
5
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
+ import e from "react";
3
+ function n(o) {
4
+ return /* @__PURE__ */ t(
5
+ "svg",
6
+ {
7
+ ...o,
8
+ viewBox: "0 0 64 64",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: [
12
+ /* @__PURE__ */ r(
13
+ "circle",
14
+ {
15
+ cx: "32",
16
+ cy: "32",
17
+ r: "22.75",
18
+ stroke: "currentColor",
19
+ strokeWidth: "2.5"
20
+ }
21
+ ),
22
+ /* @__PURE__ */ r(
23
+ "path",
24
+ {
25
+ d: "M44 24L27.2003 41L20 33.7139",
26
+ stroke: "currentColor",
27
+ strokeWidth: "2.5",
28
+ strokeLinecap: "round",
29
+ strokeLinejoin: "round"
30
+ }
31
+ )
32
+ ]
33
+ }
34
+ );
35
+ }
36
+ const c = e.memo(n);
37
+ export {
38
+ c as default
39
+ };
@@ -2,3 +2,4 @@ export { default as Like } from './cfx-icons-big/Like';
2
2
  export { default as Subscriptions } from './cfx-icons-big/Subscriptions';
3
3
  export { default as Upload } from './cfx-icons-big/Upload';
4
4
  export { default as Warni } from './cfx-icons-big/Warning';
5
+ export { default as Confirm } from './cfx-icons-big/Confirm';
@@ -1,10 +1,12 @@
1
- import { default as r } from "./cfx-icons-big/Like.js";
2
- import { default as t } from "./cfx-icons-big/Subscriptions.js";
1
+ import { default as a } from "./cfx-icons-big/Like.js";
2
+ import { default as f } from "./cfx-icons-big/Subscriptions.js";
3
3
  import { default as p } from "./cfx-icons-big/Upload.js";
4
4
  import { default as d } from "./cfx-icons-big/Warning.js";
5
+ import { default as m } from "./cfx-icons-big/Confirm.js";
5
6
  export {
6
- r as Like,
7
- t as Subscriptions,
7
+ m as Confirm,
8
+ a as Like,
9
+ f as Subscriptions,
8
10
  p as Upload,
9
11
  d as Warni
10
12
  };
@@ -1,5 +1,5 @@
1
1
  import { I as s } from "../../cfxIcons-BlbKR-zU.js";
2
- import { I as a } from "../../cfxIconsBig-CNY8zL27.js";
2
+ import { I as a } from "../../cfxIconsBig-BLJjMT-Y.js";
3
3
  export {
4
4
  s as Icons,
5
5
  a as IconsBig
@@ -1,11 +1,11 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import n from "react";
3
3
  import { TextSizeEnum as l } from "../Text/Text.types.js";
4
- import '../../assets/Skeleton.css';const r = "_skeleton_49zbt_1", i = "_shimmer_49zbt_1", f = {
4
+ import '../../assets/Skeleton.css';const r = "_skeleton_fx7ao_1", i = "_shimmer_fx7ao_1", f = {
5
5
  skeleton: r,
6
6
  shimmer: i
7
7
  };
8
- function _({
8
+ function a({
9
9
  width: o = "100%",
10
10
  height: e = "20px",
11
11
  borderRadius: s = "4px"
@@ -23,7 +23,7 @@ function _({
23
23
  }
24
24
  );
25
25
  }
26
- const p = n.memo(_);
26
+ const k = n.memo(a);
27
27
  export {
28
- p as default
28
+ k as default
29
29
  };
package/dist/main.js CHANGED
@@ -32,7 +32,7 @@ import { Dot as vo } from "./components/Dot/Dot.js";
32
32
  import { FLYOUT_OUTLET_ID as Uo, Flyout as zo } from "./components/Flyout/Flyout.js";
33
33
  import { Logos as No } from "./components/Logos/index.js";
34
34
  import { I as wo } from "./cfxIcons-BlbKR-zU.js";
35
- import { I as Yo } from "./cfxIconsBig-CNY8zL27.js";
35
+ import { I as Yo } from "./cfxIconsBig-BLJjMT-Y.js";
36
36
  import { Icon as Mo } from "./components/Icon/Icon.js";
37
37
  import { IconBig as jo } from "./components/IconBig/IconBig.js";
38
38
  import { Indicator as Jo } from "./components/Indicator/Indicator.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "2.1.19",
4
+ "version": "2.1.21",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",
@@ -1,14 +0,0 @@
1
- import o from "./components/Icons/cfx-icons-big/Like.js";
2
- import r from "./components/Icons/cfx-icons-big/Subscriptions.js";
3
- import t from "./components/Icons/cfx-icons-big/Upload.js";
4
- import e from "./components/Icons/cfx-icons-big/Warning.js";
5
- const a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6
- __proto__: null,
7
- Like: o,
8
- Subscriptions: r,
9
- Upload: t,
10
- Warni: e
11
- }, Symbol.toStringTag, { value: "Module" }));
12
- export {
13
- a as I
14
- };