@agility/plenum-ui 2.1.24 → 2.1.25
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/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/tailwind.css +12 -2
- package/package.json +1 -1
- package/stories/atoms/loaders/Loader.tsx +8 -8
- package/tailwind.config.js +3 -2
package/dist/tailwind.css
CHANGED
|
@@ -2147,6 +2147,16 @@ select {
|
|
|
2147
2147
|
animation: spin 1s linear infinite;
|
|
2148
2148
|
}
|
|
2149
2149
|
|
|
2150
|
+
@keyframes spin {
|
|
2151
|
+
to {
|
|
2152
|
+
transform: rotate(360deg);
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
.animate-spinSlower {
|
|
2157
|
+
animation: spin 1s linear infinite;
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2150
2160
|
.cursor-default {
|
|
2151
2161
|
cursor: default;
|
|
2152
2162
|
}
|
|
@@ -3260,8 +3270,8 @@ select {
|
|
|
3260
3270
|
border-width: 2px;
|
|
3261
3271
|
}
|
|
3262
3272
|
|
|
3263
|
-
.border-
|
|
3264
|
-
border-width:
|
|
3273
|
+
.border-4 {
|
|
3274
|
+
border-width: 4px;
|
|
3265
3275
|
}
|
|
3266
3276
|
|
|
3267
3277
|
.\!border-l-0 {
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { default as cn } from "classnames"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { default as cn } from "classnames";
|
|
3
3
|
|
|
4
4
|
export interface ILoaderProps {
|
|
5
|
-
className?: string
|
|
5
|
+
className?: string;
|
|
6
6
|
}
|
|
7
7
|
const Loader: React.FC<ILoaderProps> = ({ className }) => {
|
|
8
8
|
return (
|
|
9
9
|
<>
|
|
10
10
|
<i
|
|
11
11
|
className={cn(
|
|
12
|
-
"rounded-full w-16 h-16 inline-block border-
|
|
13
|
-
className ? className : "border-
|
|
12
|
+
"rounded-full w-16 h-16 inline-block border-4 animate-spinSlower m-auto",
|
|
13
|
+
className ? className : "border-gray-200 border-r-violet-800"
|
|
14
14
|
)}
|
|
15
15
|
role="status"
|
|
16
16
|
/>
|
|
17
17
|
</>
|
|
18
|
-
)
|
|
19
|
-
}
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
20
|
|
|
21
|
-
export default Loader
|
|
21
|
+
export default Loader;
|
package/tailwind.config.js
CHANGED
|
@@ -239,7 +239,8 @@ module.exports = {
|
|
|
239
239
|
enter: "fadeInLeft 300ms ease-out",
|
|
240
240
|
exit: "fadeOutLeft 300ms ease-in forwards",
|
|
241
241
|
quickBounce: "quickBounce 200ms ease-out forwards",
|
|
242
|
-
fadeIn: "fadeIn 400ms ease-in-out forwards"
|
|
242
|
+
fadeIn: "fadeIn 400ms ease-in-out forwards",
|
|
243
|
+
spinSlower: "spin 1s linear infinite"
|
|
243
244
|
},
|
|
244
245
|
|
|
245
246
|
keyframes: {
|
|
@@ -290,4 +291,4 @@ module.exports = {
|
|
|
290
291
|
}
|
|
291
292
|
},
|
|
292
293
|
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography"), require("@headlessui/tailwindcss")]
|
|
293
|
-
}
|
|
294
|
+
};
|