shared-uicomponents-library 1.0.5 → 1.0.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/dist/index.esm.js +24 -24
- package/dist/index.js +24 -24
- package/dist/types/components/Loaders/LoaderAnimation.stories.d.ts +17 -0
- package/package.json +1 -1
- package/src/assets/icons/loaderAnimationMedium.json +6 -6
- package/src/assets/icons/loaderAnimationSmall.json +6 -6
- package/src/components/Loaders/LoaderAnimation.stories.tsx +28 -0
package/dist/index.esm.js
CHANGED
@@ -58665,8 +58665,8 @@ var layers$1 = [
|
|
58665
58665
|
s: {
|
58666
58666
|
a: 0,
|
58667
58667
|
k: [
|
58668
|
-
|
58669
|
-
|
58668
|
+
50,
|
58669
|
+
50,
|
58670
58670
|
100
|
58671
58671
|
],
|
58672
58672
|
ix: 6,
|
@@ -58979,8 +58979,8 @@ var layers$1 = [
|
|
58979
58979
|
s: {
|
58980
58980
|
a: 0,
|
58981
58981
|
k: [
|
58982
|
-
|
58983
|
-
|
58982
|
+
50,
|
58983
|
+
50,
|
58984
58984
|
100
|
58985
58985
|
],
|
58986
58986
|
ix: 6,
|
@@ -59293,8 +59293,8 @@ var layers$1 = [
|
|
59293
59293
|
s: {
|
59294
59294
|
a: 0,
|
59295
59295
|
k: [
|
59296
|
-
|
59297
|
-
|
59296
|
+
50,
|
59297
|
+
50,
|
59298
59298
|
100
|
59299
59299
|
],
|
59300
59300
|
ix: 6,
|
@@ -59607,8 +59607,8 @@ var layers$1 = [
|
|
59607
59607
|
s: {
|
59608
59608
|
a: 0,
|
59609
59609
|
k: [
|
59610
|
-
|
59611
|
-
|
59610
|
+
50,
|
59611
|
+
50,
|
59612
59612
|
100
|
59613
59613
|
],
|
59614
59614
|
ix: 6,
|
@@ -59921,8 +59921,8 @@ var layers$1 = [
|
|
59921
59921
|
s: {
|
59922
59922
|
a: 0,
|
59923
59923
|
k: [
|
59924
|
-
|
59925
|
-
|
59924
|
+
50,
|
59925
|
+
50,
|
59926
59926
|
100
|
59927
59927
|
],
|
59928
59928
|
ix: 6,
|
@@ -60235,8 +60235,8 @@ var layers$1 = [
|
|
60235
60235
|
s: {
|
60236
60236
|
a: 0,
|
60237
60237
|
k: [
|
60238
|
-
|
60239
|
-
|
60238
|
+
50,
|
60239
|
+
50,
|
60240
60240
|
100
|
60241
60241
|
],
|
60242
60242
|
ix: 6,
|
@@ -60580,8 +60580,8 @@ var layers = [
|
|
60580
60580
|
s: {
|
60581
60581
|
a: 0,
|
60582
60582
|
k: [
|
60583
|
-
|
60584
|
-
|
60583
|
+
20,
|
60584
|
+
20,
|
60585
60585
|
100
|
60586
60586
|
],
|
60587
60587
|
ix: 6,
|
@@ -60894,8 +60894,8 @@ var layers = [
|
|
60894
60894
|
s: {
|
60895
60895
|
a: 0,
|
60896
60896
|
k: [
|
60897
|
-
|
60898
|
-
|
60897
|
+
20,
|
60898
|
+
20,
|
60899
60899
|
100
|
60900
60900
|
],
|
60901
60901
|
ix: 6,
|
@@ -61208,8 +61208,8 @@ var layers = [
|
|
61208
61208
|
s: {
|
61209
61209
|
a: 0,
|
61210
61210
|
k: [
|
61211
|
-
|
61212
|
-
|
61211
|
+
20,
|
61212
|
+
20,
|
61213
61213
|
100
|
61214
61214
|
],
|
61215
61215
|
ix: 6,
|
@@ -61522,8 +61522,8 @@ var layers = [
|
|
61522
61522
|
s: {
|
61523
61523
|
a: 0,
|
61524
61524
|
k: [
|
61525
|
-
|
61526
|
-
|
61525
|
+
20,
|
61526
|
+
20,
|
61527
61527
|
100
|
61528
61528
|
],
|
61529
61529
|
ix: 6,
|
@@ -61836,8 +61836,8 @@ var layers = [
|
|
61836
61836
|
s: {
|
61837
61837
|
a: 0,
|
61838
61838
|
k: [
|
61839
|
-
|
61840
|
-
|
61839
|
+
20,
|
61840
|
+
20,
|
61841
61841
|
100
|
61842
61842
|
],
|
61843
61843
|
ix: 6,
|
@@ -62150,8 +62150,8 @@ var layers = [
|
|
62150
62150
|
s: {
|
62151
62151
|
a: 0,
|
62152
62152
|
k: [
|
62153
|
-
|
62154
|
-
|
62153
|
+
20,
|
62154
|
+
20,
|
62155
62155
|
100
|
62156
62156
|
],
|
62157
62157
|
ix: 6,
|
package/dist/index.js
CHANGED
@@ -58692,8 +58692,8 @@ var layers$1 = [
|
|
58692
58692
|
s: {
|
58693
58693
|
a: 0,
|
58694
58694
|
k: [
|
58695
|
-
|
58696
|
-
|
58695
|
+
50,
|
58696
|
+
50,
|
58697
58697
|
100
|
58698
58698
|
],
|
58699
58699
|
ix: 6,
|
@@ -59006,8 +59006,8 @@ var layers$1 = [
|
|
59006
59006
|
s: {
|
59007
59007
|
a: 0,
|
59008
59008
|
k: [
|
59009
|
-
|
59010
|
-
|
59009
|
+
50,
|
59010
|
+
50,
|
59011
59011
|
100
|
59012
59012
|
],
|
59013
59013
|
ix: 6,
|
@@ -59320,8 +59320,8 @@ var layers$1 = [
|
|
59320
59320
|
s: {
|
59321
59321
|
a: 0,
|
59322
59322
|
k: [
|
59323
|
-
|
59324
|
-
|
59323
|
+
50,
|
59324
|
+
50,
|
59325
59325
|
100
|
59326
59326
|
],
|
59327
59327
|
ix: 6,
|
@@ -59634,8 +59634,8 @@ var layers$1 = [
|
|
59634
59634
|
s: {
|
59635
59635
|
a: 0,
|
59636
59636
|
k: [
|
59637
|
-
|
59638
|
-
|
59637
|
+
50,
|
59638
|
+
50,
|
59639
59639
|
100
|
59640
59640
|
],
|
59641
59641
|
ix: 6,
|
@@ -59948,8 +59948,8 @@ var layers$1 = [
|
|
59948
59948
|
s: {
|
59949
59949
|
a: 0,
|
59950
59950
|
k: [
|
59951
|
-
|
59952
|
-
|
59951
|
+
50,
|
59952
|
+
50,
|
59953
59953
|
100
|
59954
59954
|
],
|
59955
59955
|
ix: 6,
|
@@ -60262,8 +60262,8 @@ var layers$1 = [
|
|
60262
60262
|
s: {
|
60263
60263
|
a: 0,
|
60264
60264
|
k: [
|
60265
|
-
|
60266
|
-
|
60265
|
+
50,
|
60266
|
+
50,
|
60267
60267
|
100
|
60268
60268
|
],
|
60269
60269
|
ix: 6,
|
@@ -60607,8 +60607,8 @@ var layers = [
|
|
60607
60607
|
s: {
|
60608
60608
|
a: 0,
|
60609
60609
|
k: [
|
60610
|
-
|
60611
|
-
|
60610
|
+
20,
|
60611
|
+
20,
|
60612
60612
|
100
|
60613
60613
|
],
|
60614
60614
|
ix: 6,
|
@@ -60921,8 +60921,8 @@ var layers = [
|
|
60921
60921
|
s: {
|
60922
60922
|
a: 0,
|
60923
60923
|
k: [
|
60924
|
-
|
60925
|
-
|
60924
|
+
20,
|
60925
|
+
20,
|
60926
60926
|
100
|
60927
60927
|
],
|
60928
60928
|
ix: 6,
|
@@ -61235,8 +61235,8 @@ var layers = [
|
|
61235
61235
|
s: {
|
61236
61236
|
a: 0,
|
61237
61237
|
k: [
|
61238
|
-
|
61239
|
-
|
61238
|
+
20,
|
61239
|
+
20,
|
61240
61240
|
100
|
61241
61241
|
],
|
61242
61242
|
ix: 6,
|
@@ -61549,8 +61549,8 @@ var layers = [
|
|
61549
61549
|
s: {
|
61550
61550
|
a: 0,
|
61551
61551
|
k: [
|
61552
|
-
|
61553
|
-
|
61552
|
+
20,
|
61553
|
+
20,
|
61554
61554
|
100
|
61555
61555
|
],
|
61556
61556
|
ix: 6,
|
@@ -61863,8 +61863,8 @@ var layers = [
|
|
61863
61863
|
s: {
|
61864
61864
|
a: 0,
|
61865
61865
|
k: [
|
61866
|
-
|
61867
|
-
|
61866
|
+
20,
|
61867
|
+
20,
|
61868
61868
|
100
|
61869
61869
|
],
|
61870
61870
|
ix: 6,
|
@@ -62177,8 +62177,8 @@ var layers = [
|
|
62177
62177
|
s: {
|
62178
62178
|
a: 0,
|
62179
62179
|
k: [
|
62180
|
-
|
62181
|
-
|
62180
|
+
20,
|
62181
|
+
20,
|
62182
62182
|
100
|
62183
62183
|
],
|
62184
62184
|
ix: 6,
|
@@ -0,0 +1,17 @@
|
|
1
|
+
declare const meta: {
|
2
|
+
title: string;
|
3
|
+
component: ({ size, }: {
|
4
|
+
size?: "large" | "medium" | "small" | undefined;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
6
|
+
tags: string[];
|
7
|
+
};
|
8
|
+
export default meta;
|
9
|
+
export declare const LoaderAnimationBig: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
10
|
+
size?: "large" | "medium" | "small" | undefined;
|
11
|
+
}>;
|
12
|
+
export declare const LoaderAnimationMedium: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
13
|
+
size?: "large" | "medium" | "small" | undefined;
|
14
|
+
}>;
|
15
|
+
export declare const LoaderAnimationSmall: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
16
|
+
size?: "large" | "medium" | "small" | undefined;
|
17
|
+
}>;
|
package/package.json
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
"l": 2
|
44
44
|
},
|
45
45
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
46
|
-
"s": { "a": 0, "k": [
|
46
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
47
47
|
},
|
48
48
|
"ao": 0,
|
49
49
|
"shapes": [
|
@@ -170,7 +170,7 @@
|
|
170
170
|
"l": 2
|
171
171
|
},
|
172
172
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
173
|
-
"s": { "a": 0, "k": [
|
173
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
174
174
|
},
|
175
175
|
"ao": 0,
|
176
176
|
"shapes": [
|
@@ -297,7 +297,7 @@
|
|
297
297
|
"l": 2
|
298
298
|
},
|
299
299
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
300
|
-
"s": { "a": 0, "k": [
|
300
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
301
301
|
},
|
302
302
|
"ao": 0,
|
303
303
|
"shapes": [
|
@@ -420,7 +420,7 @@
|
|
420
420
|
"l": 2
|
421
421
|
},
|
422
422
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
423
|
-
"s": { "a": 0, "k": [
|
423
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
424
424
|
},
|
425
425
|
"ao": 0,
|
426
426
|
"shapes": [
|
@@ -543,7 +543,7 @@
|
|
543
543
|
"l": 2
|
544
544
|
},
|
545
545
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
546
|
-
"s": { "a": 0, "k": [
|
546
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
547
547
|
},
|
548
548
|
"ao": 0,
|
549
549
|
"shapes": [
|
@@ -670,7 +670,7 @@
|
|
670
670
|
"l": 2
|
671
671
|
},
|
672
672
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
673
|
-
"s": { "a": 0, "k": [
|
673
|
+
"s": { "a": 0, "k": [50, 50, 100], "ix": 6, "l": 2 }
|
674
674
|
},
|
675
675
|
"ao": 0,
|
676
676
|
"shapes": [
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"l": 2
|
44
44
|
},
|
45
45
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
46
|
-
"s": { "a": 0, "k": [
|
46
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
47
47
|
},
|
48
48
|
"ao": 0,
|
49
49
|
"shapes": [
|
@@ -170,7 +170,7 @@
|
|
170
170
|
"l": 2
|
171
171
|
},
|
172
172
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
173
|
-
"s": { "a": 0, "k": [
|
173
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
174
174
|
},
|
175
175
|
"ao": 0,
|
176
176
|
"shapes": [
|
@@ -297,7 +297,7 @@
|
|
297
297
|
"l": 2
|
298
298
|
},
|
299
299
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
300
|
-
"s": { "a": 0, "k": [
|
300
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
301
301
|
},
|
302
302
|
"ao": 0,
|
303
303
|
"shapes": [
|
@@ -420,7 +420,7 @@
|
|
420
420
|
"l": 2
|
421
421
|
},
|
422
422
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
423
|
-
"s": { "a": 0, "k": [
|
423
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
424
424
|
},
|
425
425
|
"ao": 0,
|
426
426
|
"shapes": [
|
@@ -543,7 +543,7 @@
|
|
543
543
|
"l": 2
|
544
544
|
},
|
545
545
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
546
|
-
"s": { "a": 0, "k": [
|
546
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
547
547
|
},
|
548
548
|
"ao": 0,
|
549
549
|
"shapes": [
|
@@ -670,7 +670,7 @@
|
|
670
670
|
"l": 2
|
671
671
|
},
|
672
672
|
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
673
|
-
"s": { "a": 0, "k": [
|
673
|
+
"s": { "a": 0, "k": [20, 20, 100], "ix": 6, "l": 2 }
|
674
674
|
},
|
675
675
|
"ao": 0,
|
676
676
|
"shapes": [
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react';
|
2
|
+
|
3
|
+
import LoaderAnimation from './LoaderAnimation';
|
4
|
+
|
5
|
+
const meta = {
|
6
|
+
title: 'UI/Loader',
|
7
|
+
component: LoaderAnimation,
|
8
|
+
tags: ['autodocs'],
|
9
|
+
} satisfies Meta<typeof LoaderAnimation>;
|
10
|
+
|
11
|
+
export default meta;
|
12
|
+
|
13
|
+
const ButtonTemplate: StoryFn<typeof LoaderAnimation> = (args) => (
|
14
|
+
<LoaderAnimation {...args} />
|
15
|
+
);
|
16
|
+
|
17
|
+
export const LoaderAnimationBig = ButtonTemplate.bind({});
|
18
|
+
LoaderAnimationBig.args = {
|
19
|
+
size: 'large',
|
20
|
+
};
|
21
|
+
export const LoaderAnimationMedium = ButtonTemplate.bind({});
|
22
|
+
LoaderAnimationMedium.args = {
|
23
|
+
size: 'medium',
|
24
|
+
};
|
25
|
+
export const LoaderAnimationSmall = ButtonTemplate.bind({});
|
26
|
+
LoaderAnimationSmall.args = {
|
27
|
+
size: 'small',
|
28
|
+
};
|