@coopdigital/react 1.22.0 → 1.22.1
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.
|
@@ -27,7 +27,7 @@ const SquircleSvg = ({ size, ...props }) => {
|
|
|
27
27
|
viewBox: "0 0 64 64",
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
children: /* @__PURE__ */ jsx("path", {
|
|
30
|
-
d: "
|
|
30
|
+
d: "M62 47.4a58 58 0 0 0 0-30.8A20 20 0 0 0 49.8 3a53 53 0 0 0-35.8 0 20 20 0 0 0-12 13.5 58 58 0 0 0 0 30.8A20 20 0 0 0 14 61a52 52 0 0 0 35.8 0 20 20 0 0 0 12-13.5",
|
|
31
31
|
vectorEffect: "non-scaling-stroke"
|
|
32
32
|
})
|
|
33
33
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopdigital/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"merge-refs": "^2.0.0",
|
|
111
111
|
"react-day-picker": "^10.0.1"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "095447fa5af6d5bab3223cfd787f4eb668f4e2eb"
|
|
114
114
|
}
|
|
@@ -2,10 +2,6 @@ import type { HTMLAttributes, JSX, Ref, SVGAttributes } from "react"
|
|
|
2
2
|
|
|
3
3
|
import clsx from "clsx"
|
|
4
4
|
|
|
5
|
-
// import { useSlots } from "@/hooks"
|
|
6
|
-
|
|
7
|
-
// import { hasUserBg } from "@/utils"
|
|
8
|
-
|
|
9
5
|
export interface SquircleProps extends HTMLAttributes<HTMLDivElement> {
|
|
10
6
|
/** **(Optional)** Main content inside the component. It can be any valid JSX or string. */
|
|
11
7
|
children?: React.ReactNode
|
|
@@ -51,7 +47,7 @@ const SquircleSvg = ({ size, ...props }: SquircleSvgProps) => {
|
|
|
51
47
|
xmlns="http://www.w3.org/2000/svg"
|
|
52
48
|
>
|
|
53
49
|
<path
|
|
54
|
-
d="
|
|
50
|
+
d="M62 47.4a58 58 0 0 0 0-30.8A20 20 0 0 0 49.8 3a53 53 0 0 0-35.8 0 20 20 0 0 0-12 13.5 58 58 0 0 0 0 30.8A20 20 0 0 0 14 61a52 52 0 0 0 35.8 0 20 20 0 0 0 12-13.5"
|
|
55
51
|
vectorEffect="non-scaling-stroke"
|
|
56
52
|
/>
|
|
57
53
|
</svg>
|