@dmsi/wedgekit-react 0.0.293 → 0.0.295
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/chunk-SBRRNFOP.js +33 -0
- package/dist/components/CalendarRange.css +35 -9
- package/dist/components/DateInput.css +35 -9
- package/dist/components/DateRangeInput.css +35 -9
- package/dist/components/LoadingScrim.cjs +9 -89
- package/dist/components/LoadingScrim.js +1 -1
- package/dist/components/PDFViewer.cjs +9 -89
- package/dist/components/PDFViewer.js +1 -1
- package/dist/components/Spinner.cjs +9 -89
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Upload.cjs +9 -89
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.css +35 -9
- package/dist/index.css +35 -9
- package/package.json +1 -1
- package/src/components/Spinner.tsx +9 -81
- package/src/index.css +45 -0
- package/dist/chunk-PLMGI5K5.js +0 -113
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// src/components/Spinner.tsx
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
var Spinner = ({ size = "small", testid }) => {
|
|
4
|
+
const dimension = size === "large" ? 48 : 24;
|
|
5
|
+
return /* @__PURE__ */ jsxs(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
"data-testid": testid,
|
|
9
|
+
width: dimension,
|
|
10
|
+
height: dimension,
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
fill: "#1D1E1E",
|
|
14
|
+
className: "spinner",
|
|
15
|
+
"aria-label": "Loading",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
18
|
+
/* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
19
|
+
/* @__PURE__ */ jsx("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
20
|
+
/* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
21
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
22
|
+
/* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
23
|
+
/* @__PURE__ */ jsx("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
24
|
+
/* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
Spinner.displayName = "Spinner";
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
Spinner
|
|
33
|
+
};
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
--radius-md: 0.375rem;
|
|
54
54
|
--radius-xl: 0.75rem;
|
|
55
55
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
-
--animate-spin: spin 1s linear infinite;
|
|
57
56
|
--default-transition-duration: 150ms;
|
|
58
57
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
59
58
|
--default-font-family: var(--font-sans);
|
|
@@ -950,9 +949,6 @@
|
|
|
950
949
|
.transform {
|
|
951
950
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
952
951
|
}
|
|
953
|
-
.animate-spin {
|
|
954
|
-
animation: var(--animate-spin);
|
|
955
|
-
}
|
|
956
952
|
.\!cursor-default {
|
|
957
953
|
cursor: default !important;
|
|
958
954
|
}
|
|
@@ -4704,6 +4700,41 @@ body {
|
|
|
4704
4700
|
display: none;
|
|
4705
4701
|
}
|
|
4706
4702
|
}
|
|
4703
|
+
.spinner circle {
|
|
4704
|
+
animation: spinner-fade 1s infinite;
|
|
4705
|
+
}
|
|
4706
|
+
@keyframes spinner-fade {
|
|
4707
|
+
from {
|
|
4708
|
+
opacity: 1;
|
|
4709
|
+
}
|
|
4710
|
+
to {
|
|
4711
|
+
opacity: 0;
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
.spinner circle:nth-child(1) {
|
|
4715
|
+
animation-delay: 0s;
|
|
4716
|
+
}
|
|
4717
|
+
.spinner circle:nth-child(2) {
|
|
4718
|
+
animation-delay: -0.875s;
|
|
4719
|
+
}
|
|
4720
|
+
.spinner circle:nth-child(3) {
|
|
4721
|
+
animation-delay: -0.75s;
|
|
4722
|
+
}
|
|
4723
|
+
.spinner circle:nth-child(4) {
|
|
4724
|
+
animation-delay: -0.625s;
|
|
4725
|
+
}
|
|
4726
|
+
.spinner circle:nth-child(5) {
|
|
4727
|
+
animation-delay: -0.5s;
|
|
4728
|
+
}
|
|
4729
|
+
.spinner circle:nth-child(6) {
|
|
4730
|
+
animation-delay: -0.375s;
|
|
4731
|
+
}
|
|
4732
|
+
.spinner circle:nth-child(7) {
|
|
4733
|
+
animation-delay: -0.25s;
|
|
4734
|
+
}
|
|
4735
|
+
.spinner circle:nth-child(8) {
|
|
4736
|
+
animation-delay: -0.125s;
|
|
4737
|
+
}
|
|
4707
4738
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4708
4739
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4709
4740
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -4763,11 +4794,6 @@ body {
|
|
|
4763
4794
|
@property --tw-contain-paint { syntax: "*"; inherits: false; }
|
|
4764
4795
|
@property --tw-contain-style { syntax: "*"; inherits: false; }
|
|
4765
4796
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
4766
|
-
@keyframes spin {
|
|
4767
|
-
to {
|
|
4768
|
-
transform: rotate(360deg);
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
4797
|
@layer properties {
|
|
4772
4798
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4773
4799
|
*,
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
--radius-md: 0.375rem;
|
|
54
54
|
--radius-xl: 0.75rem;
|
|
55
55
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
-
--animate-spin: spin 1s linear infinite;
|
|
57
56
|
--default-transition-duration: 150ms;
|
|
58
57
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
59
58
|
--default-font-family: var(--font-sans);
|
|
@@ -950,9 +949,6 @@
|
|
|
950
949
|
.transform {
|
|
951
950
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
952
951
|
}
|
|
953
|
-
.animate-spin {
|
|
954
|
-
animation: var(--animate-spin);
|
|
955
|
-
}
|
|
956
952
|
.\!cursor-default {
|
|
957
953
|
cursor: default !important;
|
|
958
954
|
}
|
|
@@ -4704,6 +4700,41 @@ body {
|
|
|
4704
4700
|
display: none;
|
|
4705
4701
|
}
|
|
4706
4702
|
}
|
|
4703
|
+
.spinner circle {
|
|
4704
|
+
animation: spinner-fade 1s infinite;
|
|
4705
|
+
}
|
|
4706
|
+
@keyframes spinner-fade {
|
|
4707
|
+
from {
|
|
4708
|
+
opacity: 1;
|
|
4709
|
+
}
|
|
4710
|
+
to {
|
|
4711
|
+
opacity: 0;
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
.spinner circle:nth-child(1) {
|
|
4715
|
+
animation-delay: 0s;
|
|
4716
|
+
}
|
|
4717
|
+
.spinner circle:nth-child(2) {
|
|
4718
|
+
animation-delay: -0.875s;
|
|
4719
|
+
}
|
|
4720
|
+
.spinner circle:nth-child(3) {
|
|
4721
|
+
animation-delay: -0.75s;
|
|
4722
|
+
}
|
|
4723
|
+
.spinner circle:nth-child(4) {
|
|
4724
|
+
animation-delay: -0.625s;
|
|
4725
|
+
}
|
|
4726
|
+
.spinner circle:nth-child(5) {
|
|
4727
|
+
animation-delay: -0.5s;
|
|
4728
|
+
}
|
|
4729
|
+
.spinner circle:nth-child(6) {
|
|
4730
|
+
animation-delay: -0.375s;
|
|
4731
|
+
}
|
|
4732
|
+
.spinner circle:nth-child(7) {
|
|
4733
|
+
animation-delay: -0.25s;
|
|
4734
|
+
}
|
|
4735
|
+
.spinner circle:nth-child(8) {
|
|
4736
|
+
animation-delay: -0.125s;
|
|
4737
|
+
}
|
|
4707
4738
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4708
4739
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4709
4740
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -4763,11 +4794,6 @@ body {
|
|
|
4763
4794
|
@property --tw-contain-paint { syntax: "*"; inherits: false; }
|
|
4764
4795
|
@property --tw-contain-style { syntax: "*"; inherits: false; }
|
|
4765
4796
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
4766
|
-
@keyframes spin {
|
|
4767
|
-
to {
|
|
4768
|
-
transform: rotate(360deg);
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
4797
|
@layer properties {
|
|
4772
4798
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4773
4799
|
*,
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
--radius-md: 0.375rem;
|
|
54
54
|
--radius-xl: 0.75rem;
|
|
55
55
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
-
--animate-spin: spin 1s linear infinite;
|
|
57
56
|
--default-transition-duration: 150ms;
|
|
58
57
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
59
58
|
--default-font-family: var(--font-sans);
|
|
@@ -950,9 +949,6 @@
|
|
|
950
949
|
.transform {
|
|
951
950
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
952
951
|
}
|
|
953
|
-
.animate-spin {
|
|
954
|
-
animation: var(--animate-spin);
|
|
955
|
-
}
|
|
956
952
|
.\!cursor-default {
|
|
957
953
|
cursor: default !important;
|
|
958
954
|
}
|
|
@@ -4704,6 +4700,41 @@ body {
|
|
|
4704
4700
|
display: none;
|
|
4705
4701
|
}
|
|
4706
4702
|
}
|
|
4703
|
+
.spinner circle {
|
|
4704
|
+
animation: spinner-fade 1s infinite;
|
|
4705
|
+
}
|
|
4706
|
+
@keyframes spinner-fade {
|
|
4707
|
+
from {
|
|
4708
|
+
opacity: 1;
|
|
4709
|
+
}
|
|
4710
|
+
to {
|
|
4711
|
+
opacity: 0;
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
.spinner circle:nth-child(1) {
|
|
4715
|
+
animation-delay: 0s;
|
|
4716
|
+
}
|
|
4717
|
+
.spinner circle:nth-child(2) {
|
|
4718
|
+
animation-delay: -0.875s;
|
|
4719
|
+
}
|
|
4720
|
+
.spinner circle:nth-child(3) {
|
|
4721
|
+
animation-delay: -0.75s;
|
|
4722
|
+
}
|
|
4723
|
+
.spinner circle:nth-child(4) {
|
|
4724
|
+
animation-delay: -0.625s;
|
|
4725
|
+
}
|
|
4726
|
+
.spinner circle:nth-child(5) {
|
|
4727
|
+
animation-delay: -0.5s;
|
|
4728
|
+
}
|
|
4729
|
+
.spinner circle:nth-child(6) {
|
|
4730
|
+
animation-delay: -0.375s;
|
|
4731
|
+
}
|
|
4732
|
+
.spinner circle:nth-child(7) {
|
|
4733
|
+
animation-delay: -0.25s;
|
|
4734
|
+
}
|
|
4735
|
+
.spinner circle:nth-child(8) {
|
|
4736
|
+
animation-delay: -0.125s;
|
|
4737
|
+
}
|
|
4707
4738
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4708
4739
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4709
4740
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -4763,11 +4794,6 @@ body {
|
|
|
4763
4794
|
@property --tw-contain-paint { syntax: "*"; inherits: false; }
|
|
4764
4795
|
@property --tw-contain-style { syntax: "*"; inherits: false; }
|
|
4765
4796
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
4766
|
-
@keyframes spin {
|
|
4767
|
-
to {
|
|
4768
|
-
transform: rotate(360deg);
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
4797
|
@layer properties {
|
|
4772
4798
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4773
4799
|
*,
|
|
@@ -48,97 +48,17 @@ var Spinner = ({ size = "small", testid }) => {
|
|
|
48
48
|
viewBox: "0 0 24 24",
|
|
49
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
50
|
fill: "#1D1E1E",
|
|
51
|
-
className: "
|
|
51
|
+
className: "spinner",
|
|
52
52
|
"aria-label": "Loading",
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
repeatCount: "indefinite"
|
|
63
|
-
}
|
|
64
|
-
) }),
|
|
65
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
|
-
"animate",
|
|
67
|
-
{
|
|
68
|
-
attributeName: "opacity",
|
|
69
|
-
begin: "-0.875s",
|
|
70
|
-
dur: "1s",
|
|
71
|
-
from: "1",
|
|
72
|
-
to: "0",
|
|
73
|
-
repeatCount: "indefinite"
|
|
74
|
-
}
|
|
75
|
-
) }),
|
|
76
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
77
|
-
"animate",
|
|
78
|
-
{
|
|
79
|
-
attributeName: "opacity",
|
|
80
|
-
begin: "-0.75s",
|
|
81
|
-
dur: "1s",
|
|
82
|
-
from: "1",
|
|
83
|
-
to: "0",
|
|
84
|
-
repeatCount: "indefinite"
|
|
85
|
-
}
|
|
86
|
-
) }),
|
|
87
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
88
|
-
"animate",
|
|
89
|
-
{
|
|
90
|
-
attributeName: "opacity",
|
|
91
|
-
begin: "-0.625s",
|
|
92
|
-
dur: "1s",
|
|
93
|
-
from: "1",
|
|
94
|
-
to: "0",
|
|
95
|
-
repeatCount: "indefinite"
|
|
96
|
-
}
|
|
97
|
-
) }),
|
|
98
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
99
|
-
"animate",
|
|
100
|
-
{
|
|
101
|
-
attributeName: "opacity",
|
|
102
|
-
begin: "-0.5s",
|
|
103
|
-
dur: "1s",
|
|
104
|
-
from: "1",
|
|
105
|
-
to: "0",
|
|
106
|
-
repeatCount: "indefinite"
|
|
107
|
-
}
|
|
108
|
-
) }),
|
|
109
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
110
|
-
"animate",
|
|
111
|
-
{
|
|
112
|
-
attributeName: "opacity",
|
|
113
|
-
begin: "-0.375s",
|
|
114
|
-
dur: "1s",
|
|
115
|
-
from: "1",
|
|
116
|
-
to: "0",
|
|
117
|
-
repeatCount: "indefinite"
|
|
118
|
-
}
|
|
119
|
-
) }),
|
|
120
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
121
|
-
"animate",
|
|
122
|
-
{
|
|
123
|
-
attributeName: "opacity",
|
|
124
|
-
begin: "-0.25s",
|
|
125
|
-
dur: "1s",
|
|
126
|
-
from: "1",
|
|
127
|
-
to: "0",
|
|
128
|
-
repeatCount: "indefinite"
|
|
129
|
-
}
|
|
130
|
-
) }),
|
|
131
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
132
|
-
"animate",
|
|
133
|
-
{
|
|
134
|
-
attributeName: "opacity",
|
|
135
|
-
begin: "-0.125s",
|
|
136
|
-
dur: "1s",
|
|
137
|
-
from: "1",
|
|
138
|
-
to: "0",
|
|
139
|
-
repeatCount: "indefinite"
|
|
140
|
-
}
|
|
141
|
-
) })
|
|
54
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
55
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
56
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
57
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
58
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
61
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
142
62
|
]
|
|
143
63
|
}
|
|
144
64
|
);
|
|
@@ -1070,97 +1070,17 @@ var Spinner = ({ size = "small", testid }) => {
|
|
|
1070
1070
|
viewBox: "0 0 24 24",
|
|
1071
1071
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1072
1072
|
fill: "#1D1E1E",
|
|
1073
|
-
className: "
|
|
1073
|
+
className: "spinner",
|
|
1074
1074
|
"aria-label": "Loading",
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1"
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
repeatCount: "indefinite"
|
|
1085
|
-
}
|
|
1086
|
-
) }),
|
|
1087
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1088
|
-
"animate",
|
|
1089
|
-
{
|
|
1090
|
-
attributeName: "opacity",
|
|
1091
|
-
begin: "-0.875s",
|
|
1092
|
-
dur: "1s",
|
|
1093
|
-
from: "1",
|
|
1094
|
-
to: "0",
|
|
1095
|
-
repeatCount: "indefinite"
|
|
1096
|
-
}
|
|
1097
|
-
) }),
|
|
1098
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1099
|
-
"animate",
|
|
1100
|
-
{
|
|
1101
|
-
attributeName: "opacity",
|
|
1102
|
-
begin: "-0.75s",
|
|
1103
|
-
dur: "1s",
|
|
1104
|
-
from: "1",
|
|
1105
|
-
to: "0",
|
|
1106
|
-
repeatCount: "indefinite"
|
|
1107
|
-
}
|
|
1108
|
-
) }),
|
|
1109
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1110
|
-
"animate",
|
|
1111
|
-
{
|
|
1112
|
-
attributeName: "opacity",
|
|
1113
|
-
begin: "-0.625s",
|
|
1114
|
-
dur: "1s",
|
|
1115
|
-
from: "1",
|
|
1116
|
-
to: "0",
|
|
1117
|
-
repeatCount: "indefinite"
|
|
1118
|
-
}
|
|
1119
|
-
) }),
|
|
1120
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1121
|
-
"animate",
|
|
1122
|
-
{
|
|
1123
|
-
attributeName: "opacity",
|
|
1124
|
-
begin: "-0.5s",
|
|
1125
|
-
dur: "1s",
|
|
1126
|
-
from: "1",
|
|
1127
|
-
to: "0",
|
|
1128
|
-
repeatCount: "indefinite"
|
|
1129
|
-
}
|
|
1130
|
-
) }),
|
|
1131
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1132
|
-
"animate",
|
|
1133
|
-
{
|
|
1134
|
-
attributeName: "opacity",
|
|
1135
|
-
begin: "-0.375s",
|
|
1136
|
-
dur: "1s",
|
|
1137
|
-
from: "1",
|
|
1138
|
-
to: "0",
|
|
1139
|
-
repeatCount: "indefinite"
|
|
1140
|
-
}
|
|
1141
|
-
) }),
|
|
1142
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1143
|
-
"animate",
|
|
1144
|
-
{
|
|
1145
|
-
attributeName: "opacity",
|
|
1146
|
-
begin: "-0.25s",
|
|
1147
|
-
dur: "1s",
|
|
1148
|
-
from: "1",
|
|
1149
|
-
to: "0",
|
|
1150
|
-
repeatCount: "indefinite"
|
|
1151
|
-
}
|
|
1152
|
-
) }),
|
|
1153
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1154
|
-
"animate",
|
|
1155
|
-
{
|
|
1156
|
-
attributeName: "opacity",
|
|
1157
|
-
begin: "-0.125s",
|
|
1158
|
-
dur: "1s",
|
|
1159
|
-
from: "1",
|
|
1160
|
-
to: "0",
|
|
1161
|
-
repeatCount: "indefinite"
|
|
1162
|
-
}
|
|
1163
|
-
) })
|
|
1076
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
1077
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
1078
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
1080
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
1081
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
1164
1084
|
]
|
|
1165
1085
|
}
|
|
1166
1086
|
);
|
|
@@ -35,97 +35,17 @@ var Spinner = ({ size = "small", testid }) => {
|
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
36
36
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37
37
|
fill: "#1D1E1E",
|
|
38
|
-
className: "
|
|
38
|
+
className: "spinner",
|
|
39
39
|
"aria-label": "Loading",
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
repeatCount: "indefinite"
|
|
50
|
-
}
|
|
51
|
-
) }),
|
|
52
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
-
"animate",
|
|
54
|
-
{
|
|
55
|
-
attributeName: "opacity",
|
|
56
|
-
begin: "-0.875s",
|
|
57
|
-
dur: "1s",
|
|
58
|
-
from: "1",
|
|
59
|
-
to: "0",
|
|
60
|
-
repeatCount: "indefinite"
|
|
61
|
-
}
|
|
62
|
-
) }),
|
|
63
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
64
|
-
"animate",
|
|
65
|
-
{
|
|
66
|
-
attributeName: "opacity",
|
|
67
|
-
begin: "-0.75s",
|
|
68
|
-
dur: "1s",
|
|
69
|
-
from: "1",
|
|
70
|
-
to: "0",
|
|
71
|
-
repeatCount: "indefinite"
|
|
72
|
-
}
|
|
73
|
-
) }),
|
|
74
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
75
|
-
"animate",
|
|
76
|
-
{
|
|
77
|
-
attributeName: "opacity",
|
|
78
|
-
begin: "-0.625s",
|
|
79
|
-
dur: "1s",
|
|
80
|
-
from: "1",
|
|
81
|
-
to: "0",
|
|
82
|
-
repeatCount: "indefinite"
|
|
83
|
-
}
|
|
84
|
-
) }),
|
|
85
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
86
|
-
"animate",
|
|
87
|
-
{
|
|
88
|
-
attributeName: "opacity",
|
|
89
|
-
begin: "-0.5s",
|
|
90
|
-
dur: "1s",
|
|
91
|
-
from: "1",
|
|
92
|
-
to: "0",
|
|
93
|
-
repeatCount: "indefinite"
|
|
94
|
-
}
|
|
95
|
-
) }),
|
|
96
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
97
|
-
"animate",
|
|
98
|
-
{
|
|
99
|
-
attributeName: "opacity",
|
|
100
|
-
begin: "-0.375s",
|
|
101
|
-
dur: "1s",
|
|
102
|
-
from: "1",
|
|
103
|
-
to: "0",
|
|
104
|
-
repeatCount: "indefinite"
|
|
105
|
-
}
|
|
106
|
-
) }),
|
|
107
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
108
|
-
"animate",
|
|
109
|
-
{
|
|
110
|
-
attributeName: "opacity",
|
|
111
|
-
begin: "-0.25s",
|
|
112
|
-
dur: "1s",
|
|
113
|
-
from: "1",
|
|
114
|
-
to: "0",
|
|
115
|
-
repeatCount: "indefinite"
|
|
116
|
-
}
|
|
117
|
-
) }),
|
|
118
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
119
|
-
"animate",
|
|
120
|
-
{
|
|
121
|
-
attributeName: "opacity",
|
|
122
|
-
begin: "-0.125s",
|
|
123
|
-
dur: "1s",
|
|
124
|
-
from: "1",
|
|
125
|
-
to: "0",
|
|
126
|
-
repeatCount: "indefinite"
|
|
127
|
-
}
|
|
128
|
-
) })
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
48
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
129
49
|
]
|
|
130
50
|
}
|
|
131
51
|
);
|
|
@@ -605,97 +605,17 @@ var Spinner = ({ size = "small", testid }) => {
|
|
|
605
605
|
viewBox: "0 0 24 24",
|
|
606
606
|
xmlns: "http://www.w3.org/2000/svg",
|
|
607
607
|
fill: "#1D1E1E",
|
|
608
|
-
className: "
|
|
608
|
+
className: "spinner",
|
|
609
609
|
"aria-label": "Loading",
|
|
610
610
|
children: [
|
|
611
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
repeatCount: "indefinite"
|
|
620
|
-
}
|
|
621
|
-
) }),
|
|
622
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
623
|
-
"animate",
|
|
624
|
-
{
|
|
625
|
-
attributeName: "opacity",
|
|
626
|
-
begin: "-0.875s",
|
|
627
|
-
dur: "1s",
|
|
628
|
-
from: "1",
|
|
629
|
-
to: "0",
|
|
630
|
-
repeatCount: "indefinite"
|
|
631
|
-
}
|
|
632
|
-
) }),
|
|
633
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
634
|
-
"animate",
|
|
635
|
-
{
|
|
636
|
-
attributeName: "opacity",
|
|
637
|
-
begin: "-0.75s",
|
|
638
|
-
dur: "1s",
|
|
639
|
-
from: "1",
|
|
640
|
-
to: "0",
|
|
641
|
-
repeatCount: "indefinite"
|
|
642
|
-
}
|
|
643
|
-
) }),
|
|
644
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
645
|
-
"animate",
|
|
646
|
-
{
|
|
647
|
-
attributeName: "opacity",
|
|
648
|
-
begin: "-0.625s",
|
|
649
|
-
dur: "1s",
|
|
650
|
-
from: "1",
|
|
651
|
-
to: "0",
|
|
652
|
-
repeatCount: "indefinite"
|
|
653
|
-
}
|
|
654
|
-
) }),
|
|
655
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
656
|
-
"animate",
|
|
657
|
-
{
|
|
658
|
-
attributeName: "opacity",
|
|
659
|
-
begin: "-0.5s",
|
|
660
|
-
dur: "1s",
|
|
661
|
-
from: "1",
|
|
662
|
-
to: "0",
|
|
663
|
-
repeatCount: "indefinite"
|
|
664
|
-
}
|
|
665
|
-
) }),
|
|
666
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
667
|
-
"animate",
|
|
668
|
-
{
|
|
669
|
-
attributeName: "opacity",
|
|
670
|
-
begin: "-0.375s",
|
|
671
|
-
dur: "1s",
|
|
672
|
-
from: "1",
|
|
673
|
-
to: "0",
|
|
674
|
-
repeatCount: "indefinite"
|
|
675
|
-
}
|
|
676
|
-
) }),
|
|
677
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
678
|
-
"animate",
|
|
679
|
-
{
|
|
680
|
-
attributeName: "opacity",
|
|
681
|
-
begin: "-0.25s",
|
|
682
|
-
dur: "1s",
|
|
683
|
-
from: "1",
|
|
684
|
-
to: "0",
|
|
685
|
-
repeatCount: "indefinite"
|
|
686
|
-
}
|
|
687
|
-
) }),
|
|
688
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
689
|
-
"animate",
|
|
690
|
-
{
|
|
691
|
-
attributeName: "opacity",
|
|
692
|
-
begin: "-0.125s",
|
|
693
|
-
dur: "1s",
|
|
694
|
-
from: "1",
|
|
695
|
-
to: "0",
|
|
696
|
-
repeatCount: "indefinite"
|
|
697
|
-
}
|
|
698
|
-
) })
|
|
611
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
612
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
613
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
614
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
615
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
616
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
617
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
618
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
699
619
|
]
|
|
700
620
|
}
|
|
701
621
|
);
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
--radius-md: 0.375rem;
|
|
54
54
|
--radius-xl: 0.75rem;
|
|
55
55
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
-
--animate-spin: spin 1s linear infinite;
|
|
57
56
|
--default-transition-duration: 150ms;
|
|
58
57
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
59
58
|
--default-font-family: var(--font-sans);
|
|
@@ -950,9 +949,6 @@
|
|
|
950
949
|
.transform {
|
|
951
950
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
952
951
|
}
|
|
953
|
-
.animate-spin {
|
|
954
|
-
animation: var(--animate-spin);
|
|
955
|
-
}
|
|
956
952
|
.\!cursor-default {
|
|
957
953
|
cursor: default !important;
|
|
958
954
|
}
|
|
@@ -4704,6 +4700,41 @@ body {
|
|
|
4704
4700
|
display: none;
|
|
4705
4701
|
}
|
|
4706
4702
|
}
|
|
4703
|
+
.spinner circle {
|
|
4704
|
+
animation: spinner-fade 1s infinite;
|
|
4705
|
+
}
|
|
4706
|
+
@keyframes spinner-fade {
|
|
4707
|
+
from {
|
|
4708
|
+
opacity: 1;
|
|
4709
|
+
}
|
|
4710
|
+
to {
|
|
4711
|
+
opacity: 0;
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
.spinner circle:nth-child(1) {
|
|
4715
|
+
animation-delay: 0s;
|
|
4716
|
+
}
|
|
4717
|
+
.spinner circle:nth-child(2) {
|
|
4718
|
+
animation-delay: -0.875s;
|
|
4719
|
+
}
|
|
4720
|
+
.spinner circle:nth-child(3) {
|
|
4721
|
+
animation-delay: -0.75s;
|
|
4722
|
+
}
|
|
4723
|
+
.spinner circle:nth-child(4) {
|
|
4724
|
+
animation-delay: -0.625s;
|
|
4725
|
+
}
|
|
4726
|
+
.spinner circle:nth-child(5) {
|
|
4727
|
+
animation-delay: -0.5s;
|
|
4728
|
+
}
|
|
4729
|
+
.spinner circle:nth-child(6) {
|
|
4730
|
+
animation-delay: -0.375s;
|
|
4731
|
+
}
|
|
4732
|
+
.spinner circle:nth-child(7) {
|
|
4733
|
+
animation-delay: -0.25s;
|
|
4734
|
+
}
|
|
4735
|
+
.spinner circle:nth-child(8) {
|
|
4736
|
+
animation-delay: -0.125s;
|
|
4737
|
+
}
|
|
4707
4738
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4708
4739
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4709
4740
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -4763,11 +4794,6 @@ body {
|
|
|
4763
4794
|
@property --tw-contain-paint { syntax: "*"; inherits: false; }
|
|
4764
4795
|
@property --tw-contain-style { syntax: "*"; inherits: false; }
|
|
4765
4796
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
4766
|
-
@keyframes spin {
|
|
4767
|
-
to {
|
|
4768
|
-
transform: rotate(360deg);
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
4797
|
@layer properties {
|
|
4772
4798
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4773
4799
|
*,
|
package/dist/index.css
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
--radius-md: 0.375rem;
|
|
32
32
|
--radius-xl: 0.75rem;
|
|
33
33
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
34
|
-
--animate-spin: spin 1s linear infinite;
|
|
35
34
|
--default-transition-duration: 150ms;
|
|
36
35
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
37
36
|
--default-font-family: var(--font-sans);
|
|
@@ -928,9 +927,6 @@
|
|
|
928
927
|
.transform {
|
|
929
928
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
930
929
|
}
|
|
931
|
-
.animate-spin {
|
|
932
|
-
animation: var(--animate-spin);
|
|
933
|
-
}
|
|
934
930
|
.\!cursor-default {
|
|
935
931
|
cursor: default !important;
|
|
936
932
|
}
|
|
@@ -4682,6 +4678,41 @@ body {
|
|
|
4682
4678
|
display: none;
|
|
4683
4679
|
}
|
|
4684
4680
|
}
|
|
4681
|
+
.spinner circle {
|
|
4682
|
+
animation: spinner-fade 1s infinite;
|
|
4683
|
+
}
|
|
4684
|
+
@keyframes spinner-fade {
|
|
4685
|
+
from {
|
|
4686
|
+
opacity: 1;
|
|
4687
|
+
}
|
|
4688
|
+
to {
|
|
4689
|
+
opacity: 0;
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
.spinner circle:nth-child(1) {
|
|
4693
|
+
animation-delay: 0s;
|
|
4694
|
+
}
|
|
4695
|
+
.spinner circle:nth-child(2) {
|
|
4696
|
+
animation-delay: -0.875s;
|
|
4697
|
+
}
|
|
4698
|
+
.spinner circle:nth-child(3) {
|
|
4699
|
+
animation-delay: -0.75s;
|
|
4700
|
+
}
|
|
4701
|
+
.spinner circle:nth-child(4) {
|
|
4702
|
+
animation-delay: -0.625s;
|
|
4703
|
+
}
|
|
4704
|
+
.spinner circle:nth-child(5) {
|
|
4705
|
+
animation-delay: -0.5s;
|
|
4706
|
+
}
|
|
4707
|
+
.spinner circle:nth-child(6) {
|
|
4708
|
+
animation-delay: -0.375s;
|
|
4709
|
+
}
|
|
4710
|
+
.spinner circle:nth-child(7) {
|
|
4711
|
+
animation-delay: -0.25s;
|
|
4712
|
+
}
|
|
4713
|
+
.spinner circle:nth-child(8) {
|
|
4714
|
+
animation-delay: -0.125s;
|
|
4715
|
+
}
|
|
4685
4716
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4686
4717
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4687
4718
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -4741,11 +4772,6 @@ body {
|
|
|
4741
4772
|
@property --tw-contain-paint { syntax: "*"; inherits: false; }
|
|
4742
4773
|
@property --tw-contain-style { syntax: "*"; inherits: false; }
|
|
4743
4774
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
4744
|
-
@keyframes spin {
|
|
4745
|
-
to {
|
|
4746
|
-
transform: rotate(360deg);
|
|
4747
|
-
}
|
|
4748
|
-
}
|
|
4749
4775
|
@layer properties {
|
|
4750
4776
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4751
4777
|
*,
|
package/package.json
CHANGED
|
@@ -15,89 +15,17 @@ export const Spinner: React.FC<SpinnerProps> = ({ size = "small", testid }) => {
|
|
|
15
15
|
viewBox="0 0 24 24"
|
|
16
16
|
xmlns="http://www.w3.org/2000/svg"
|
|
17
17
|
fill="#1D1E1E"
|
|
18
|
-
className="
|
|
18
|
+
className="spinner"
|
|
19
19
|
aria-label="Loading"
|
|
20
20
|
>
|
|
21
|
-
<circle cx="12" cy="4" r="2" opacity="1"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/>
|
|
30
|
-
</circle>
|
|
31
|
-
<circle cx="17.666" cy="6.334" r="2" opacity="0.125">
|
|
32
|
-
<animate
|
|
33
|
-
attributeName="opacity"
|
|
34
|
-
begin="-0.875s"
|
|
35
|
-
dur="1s"
|
|
36
|
-
from="1"
|
|
37
|
-
to="0"
|
|
38
|
-
repeatCount="indefinite"
|
|
39
|
-
/>
|
|
40
|
-
</circle>
|
|
41
|
-
<circle cx="20" cy="12" r="2" opacity="0.25">
|
|
42
|
-
<animate
|
|
43
|
-
attributeName="opacity"
|
|
44
|
-
begin="-0.75s"
|
|
45
|
-
dur="1s"
|
|
46
|
-
from="1"
|
|
47
|
-
to="0"
|
|
48
|
-
repeatCount="indefinite"
|
|
49
|
-
/>
|
|
50
|
-
</circle>
|
|
51
|
-
<circle cx="17.666" cy="17.666" r="2" opacity="0.375">
|
|
52
|
-
<animate
|
|
53
|
-
attributeName="opacity"
|
|
54
|
-
begin="-0.625s"
|
|
55
|
-
dur="1s"
|
|
56
|
-
from="1"
|
|
57
|
-
to="0"
|
|
58
|
-
repeatCount="indefinite"
|
|
59
|
-
/>
|
|
60
|
-
</circle>
|
|
61
|
-
<circle cx="12" cy="20" r="2" opacity="0.5">
|
|
62
|
-
<animate
|
|
63
|
-
attributeName="opacity"
|
|
64
|
-
begin="-0.5s"
|
|
65
|
-
dur="1s"
|
|
66
|
-
from="1"
|
|
67
|
-
to="0"
|
|
68
|
-
repeatCount="indefinite"
|
|
69
|
-
/>
|
|
70
|
-
</circle>
|
|
71
|
-
<circle cx="6.334" cy="17.666" r="2" opacity="0.625">
|
|
72
|
-
<animate
|
|
73
|
-
attributeName="opacity"
|
|
74
|
-
begin="-0.375s"
|
|
75
|
-
dur="1s"
|
|
76
|
-
from="1"
|
|
77
|
-
to="0"
|
|
78
|
-
repeatCount="indefinite"
|
|
79
|
-
/>
|
|
80
|
-
</circle>
|
|
81
|
-
<circle cx="4" cy="12" r="2" opacity="0.75">
|
|
82
|
-
<animate
|
|
83
|
-
attributeName="opacity"
|
|
84
|
-
begin="-0.25s"
|
|
85
|
-
dur="1s"
|
|
86
|
-
from="1"
|
|
87
|
-
to="0"
|
|
88
|
-
repeatCount="indefinite"
|
|
89
|
-
/>
|
|
90
|
-
</circle>
|
|
91
|
-
<circle cx="6.334" cy="6.334" r="2" opacity="0.875">
|
|
92
|
-
<animate
|
|
93
|
-
attributeName="opacity"
|
|
94
|
-
begin="-0.125s"
|
|
95
|
-
dur="1s"
|
|
96
|
-
from="1"
|
|
97
|
-
to="0"
|
|
98
|
-
repeatCount="indefinite"
|
|
99
|
-
/>
|
|
100
|
-
</circle>
|
|
21
|
+
<circle cx="12" cy="4" r="2" opacity="1" />
|
|
22
|
+
<circle cx="17.666" cy="6.334" r="2" opacity="0.125" />
|
|
23
|
+
<circle cx="20" cy="12" r="2" opacity="0.25" />
|
|
24
|
+
<circle cx="17.666" cy="17.666" r="2" opacity="0.375" />
|
|
25
|
+
<circle cx="12" cy="20" r="2" opacity="0.5" />
|
|
26
|
+
<circle cx="6.334" cy="17.666" r="2" opacity="0.625" />
|
|
27
|
+
<circle cx="4" cy="12" r="2" opacity="0.75" />
|
|
28
|
+
<circle cx="6.334" cy="6.334" r="2" opacity="0.875" />
|
|
101
29
|
</svg>
|
|
102
30
|
);
|
|
103
31
|
};
|
package/src/index.css
CHANGED
|
@@ -720,3 +720,48 @@ body {
|
|
|
720
720
|
display: none;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
|
+
|
|
724
|
+
/* Spinner */
|
|
725
|
+
|
|
726
|
+
.spinner circle {
|
|
727
|
+
/* Apply the animation to all circles within the spinner */
|
|
728
|
+
animation: spinner-fade 1s infinite;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/* Define the fade animation */
|
|
732
|
+
@keyframes spinner-fade {
|
|
733
|
+
from {
|
|
734
|
+
opacity: 1;
|
|
735
|
+
}
|
|
736
|
+
to {
|
|
737
|
+
opacity: 0;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/* Set a negative animation-delay to start each circle's animation
|
|
742
|
+
partway through its cycle. This creates the initial staggered look.
|
|
743
|
+
*/
|
|
744
|
+
.spinner circle:nth-child(1) {
|
|
745
|
+
animation-delay: 0s;
|
|
746
|
+
}
|
|
747
|
+
.spinner circle:nth-child(2) {
|
|
748
|
+
animation-delay: -0.875s;
|
|
749
|
+
}
|
|
750
|
+
.spinner circle:nth-child(3) {
|
|
751
|
+
animation-delay: -0.75s;
|
|
752
|
+
}
|
|
753
|
+
.spinner circle:nth-child(4) {
|
|
754
|
+
animation-delay: -0.625s;
|
|
755
|
+
}
|
|
756
|
+
.spinner circle:nth-child(5) {
|
|
757
|
+
animation-delay: -0.5s;
|
|
758
|
+
}
|
|
759
|
+
.spinner circle:nth-child(6) {
|
|
760
|
+
animation-delay: -0.375s;
|
|
761
|
+
}
|
|
762
|
+
.spinner circle:nth-child(7) {
|
|
763
|
+
animation-delay: -0.25s;
|
|
764
|
+
}
|
|
765
|
+
.spinner circle:nth-child(8) {
|
|
766
|
+
animation-delay: -0.125s;
|
|
767
|
+
}
|
package/dist/chunk-PLMGI5K5.js
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// src/components/Spinner.tsx
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
var Spinner = ({ size = "small", testid }) => {
|
|
4
|
-
const dimension = size === "large" ? 48 : 24;
|
|
5
|
-
return /* @__PURE__ */ jsxs(
|
|
6
|
-
"svg",
|
|
7
|
-
{
|
|
8
|
-
"data-testid": testid,
|
|
9
|
-
width: dimension,
|
|
10
|
-
height: dimension,
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
fill: "#1D1E1E",
|
|
14
|
-
className: "animate-spin",
|
|
15
|
-
"aria-label": "Loading",
|
|
16
|
-
children: [
|
|
17
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "4", r: "2", opacity: "1", children: /* @__PURE__ */ jsx(
|
|
18
|
-
"animate",
|
|
19
|
-
{
|
|
20
|
-
attributeName: "opacity",
|
|
21
|
-
begin: "0s",
|
|
22
|
-
dur: "1s",
|
|
23
|
-
from: "1",
|
|
24
|
-
to: "0",
|
|
25
|
-
repeatCount: "indefinite"
|
|
26
|
-
}
|
|
27
|
-
) }),
|
|
28
|
-
/* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ jsx(
|
|
29
|
-
"animate",
|
|
30
|
-
{
|
|
31
|
-
attributeName: "opacity",
|
|
32
|
-
begin: "-0.875s",
|
|
33
|
-
dur: "1s",
|
|
34
|
-
from: "1",
|
|
35
|
-
to: "0",
|
|
36
|
-
repeatCount: "indefinite"
|
|
37
|
-
}
|
|
38
|
-
) }),
|
|
39
|
-
/* @__PURE__ */ jsx("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ jsx(
|
|
40
|
-
"animate",
|
|
41
|
-
{
|
|
42
|
-
attributeName: "opacity",
|
|
43
|
-
begin: "-0.75s",
|
|
44
|
-
dur: "1s",
|
|
45
|
-
from: "1",
|
|
46
|
-
to: "0",
|
|
47
|
-
repeatCount: "indefinite"
|
|
48
|
-
}
|
|
49
|
-
) }),
|
|
50
|
-
/* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ jsx(
|
|
51
|
-
"animate",
|
|
52
|
-
{
|
|
53
|
-
attributeName: "opacity",
|
|
54
|
-
begin: "-0.625s",
|
|
55
|
-
dur: "1s",
|
|
56
|
-
from: "1",
|
|
57
|
-
to: "0",
|
|
58
|
-
repeatCount: "indefinite"
|
|
59
|
-
}
|
|
60
|
-
) }),
|
|
61
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ jsx(
|
|
62
|
-
"animate",
|
|
63
|
-
{
|
|
64
|
-
attributeName: "opacity",
|
|
65
|
-
begin: "-0.5s",
|
|
66
|
-
dur: "1s",
|
|
67
|
-
from: "1",
|
|
68
|
-
to: "0",
|
|
69
|
-
repeatCount: "indefinite"
|
|
70
|
-
}
|
|
71
|
-
) }),
|
|
72
|
-
/* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ jsx(
|
|
73
|
-
"animate",
|
|
74
|
-
{
|
|
75
|
-
attributeName: "opacity",
|
|
76
|
-
begin: "-0.375s",
|
|
77
|
-
dur: "1s",
|
|
78
|
-
from: "1",
|
|
79
|
-
to: "0",
|
|
80
|
-
repeatCount: "indefinite"
|
|
81
|
-
}
|
|
82
|
-
) }),
|
|
83
|
-
/* @__PURE__ */ jsx("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ jsx(
|
|
84
|
-
"animate",
|
|
85
|
-
{
|
|
86
|
-
attributeName: "opacity",
|
|
87
|
-
begin: "-0.25s",
|
|
88
|
-
dur: "1s",
|
|
89
|
-
from: "1",
|
|
90
|
-
to: "0",
|
|
91
|
-
repeatCount: "indefinite"
|
|
92
|
-
}
|
|
93
|
-
) }),
|
|
94
|
-
/* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ jsx(
|
|
95
|
-
"animate",
|
|
96
|
-
{
|
|
97
|
-
attributeName: "opacity",
|
|
98
|
-
begin: "-0.125s",
|
|
99
|
-
dur: "1s",
|
|
100
|
-
from: "1",
|
|
101
|
-
to: "0",
|
|
102
|
-
repeatCount: "indefinite"
|
|
103
|
-
}
|
|
104
|
-
) })
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
};
|
|
109
|
-
Spinner.displayName = "Spinner";
|
|
110
|
-
|
|
111
|
-
export {
|
|
112
|
-
Spinner
|
|
113
|
-
};
|