@dust-tt/sparkle 0.2.188 → 0.2.190-rc
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/cjs/_index.d.ts +2 -0
- package/dist/cjs/components/DragArea.d.ts +8 -0
- package/dist/cjs/index.js +4275 -4249
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lottie/dragArea.d.ts +1028 -0
- package/dist/cjs/stories/Dragndrop.stories.d.ts +7 -0
- package/dist/esm/_index.d.ts +2 -0
- package/dist/esm/components/DragArea.d.ts +8 -0
- package/dist/esm/index.js +4275 -4250
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lottie/dragArea.d.ts +1028 -0
- package/dist/esm/stories/Dragndrop.stories.d.ts +7 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/_index.ts +3 -0
- package/src/components/Citation.tsx +30 -29
- package/src/components/ContextItem.tsx +6 -6
- package/src/components/DragArea.tsx +52 -0
- package/src/lottie/collapseBar.ts +124 -124
- package/src/lottie/dragArea.ts +3 -0
- package/src/lottie/spinnerColor.ts +337 -337
- package/src/lottie/spinnerColorLG.ts +825 -821
- package/src/lottie/spinnerColorXS.ts +187 -187
- package/src/lottie/spinnerDark.ts +353 -353
- package/src/lottie/spinnerDarkLG.ts +824 -824
- package/src/lottie/spinnerDarkXS.ts +218 -218
- package/src/lottie/spinnerLight.ts +342 -342
- package/src/lottie/spinnerLightLG.ts +797 -797
- package/src/lottie/spinnerLightXS.ts +215 -215
- package/src/lottie/src/dragArea.json +1 -0
- package/src/stories/ContextItem.stories.tsx +20 -0
- package/src/stories/Dragndrop.stories.tsx +20 -0
package/package.json
CHANGED
package/src/_index.ts
CHANGED
|
@@ -103,6 +103,9 @@ export { Avatar };
|
|
|
103
103
|
import Spinner from "./components/Spinner";
|
|
104
104
|
export { Spinner };
|
|
105
105
|
|
|
106
|
+
import DragArea from "./components/DragArea";
|
|
107
|
+
export { DragArea };
|
|
108
|
+
|
|
106
109
|
import CollapseButton from "./components/CollapseButton";
|
|
107
110
|
export { CollapseButton };
|
|
108
111
|
|
|
@@ -126,16 +126,15 @@ export function Citation({
|
|
|
126
126
|
</div>
|
|
127
127
|
)}
|
|
128
128
|
</div>
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
</Tooltip>
|
|
129
|
+
<div
|
|
130
|
+
className={classNames(
|
|
131
|
+
"s-line-clamp-1 s-text-sm s-text-element-800",
|
|
132
|
+
size === "sm" ? "s-font-bold" : "s-font-semibold"
|
|
133
|
+
)}
|
|
134
|
+
>
|
|
135
|
+
{title}
|
|
136
|
+
</div>
|
|
137
|
+
|
|
139
138
|
{description && (
|
|
140
139
|
<div className="s-line-clamp-2 s-text-xs s-font-normal s-text-element-700">
|
|
141
140
|
{description}
|
|
@@ -145,24 +144,26 @@ export function Citation({
|
|
|
145
144
|
);
|
|
146
145
|
|
|
147
146
|
return (
|
|
148
|
-
<
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
147
|
+
<Tooltip label={title} position="above">
|
|
148
|
+
<CardButton
|
|
149
|
+
variant="secondary"
|
|
150
|
+
size="sm"
|
|
151
|
+
className={classNames(
|
|
152
|
+
"s-relative s-flex s-w-48 s-flex-none s-flex-col s-gap-1",
|
|
153
|
+
sizing === "fluid" ? typeSizing[sizing] : typeSizing[sizing][size],
|
|
154
|
+
size === "sm" ? "sm:s-w-64" : "",
|
|
155
|
+
isBlinking ? "s-animate-[bgblink_500ms_3]" : "",
|
|
156
|
+
type === "image" ? "s-min-h-20" : ""
|
|
157
|
+
)}
|
|
158
|
+
{...(href && { href, target: "_blank", rel: "noopener noreferrer" })}
|
|
159
|
+
>
|
|
160
|
+
{isLoading && (
|
|
161
|
+
<div className="s-absolute s-inset-0 s-flex s-items-center s-justify-center">
|
|
162
|
+
<Spinner size="xs" variant="color" />
|
|
163
|
+
</div>
|
|
164
|
+
)}
|
|
165
|
+
<div className={isLoading ? "s-opacity-50" : ""}>{cardContent}</div>
|
|
166
|
+
</CardButton>
|
|
167
|
+
</Tooltip>
|
|
167
168
|
);
|
|
168
169
|
}
|
|
@@ -35,20 +35,20 @@ export function ContextItem({
|
|
|
35
35
|
>
|
|
36
36
|
<div
|
|
37
37
|
className={classNames(
|
|
38
|
-
"s-flex s-flex-row s-items-start s-gap-3 s-px-4 s-py-3",
|
|
38
|
+
"s-flex s-w-full s-flex-row s-items-start s-gap-3 s-px-4 s-py-3",
|
|
39
39
|
onClick
|
|
40
40
|
? "s-cursor-pointer s-transition s-duration-200 hover:s-bg-structure-50 active:s-bg-structure-100"
|
|
41
41
|
: ""
|
|
42
42
|
)}
|
|
43
43
|
onClick={onClick}
|
|
44
44
|
>
|
|
45
|
-
|
|
46
|
-
<div className="s-mb-0.5 s-flex s-grow s-flex-col s-gap-0">
|
|
47
|
-
<div className="s-flex s-grow s-flex-row s-gap-3">
|
|
48
|
-
<div className="s-
|
|
45
|
+
{visual}
|
|
46
|
+
<div className="s-mb-0.5 s-flex s-min-w-0 s-grow s-flex-col s-gap-0">
|
|
47
|
+
<div className="s-flex s-min-w-0 s-grow s-flex-col sm:s-flex-row sm:s-gap-3">
|
|
48
|
+
<div className="s-min-w-0 s-overflow-hidden s-text-ellipsis s-whitespace-nowrap s-text-base s-font-semibold">
|
|
49
49
|
{title}
|
|
50
50
|
</div>
|
|
51
|
-
<div className="s-flex s-items-center s-gap-
|
|
51
|
+
<div className="s-flex s-flex-shrink-0 s-items-center s-gap-3 s-whitespace-nowrap s-pt-0.5 s-text-sm s-text-element-600">
|
|
52
52
|
{subElement}
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import Lottie, { LottieRefCurrentProps } from "lottie-react";
|
|
2
|
+
import React, { useRef } from "react";
|
|
3
|
+
|
|
4
|
+
import { ArrowUpOnSquareIcon, Icon } from "@sparkle/_index";
|
|
5
|
+
import anim from "@sparkle/lottie/dragArea";
|
|
6
|
+
|
|
7
|
+
export interface DragZoneProps {
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
visual?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const DragArea: React.FC<DragZoneProps> = ({
|
|
14
|
+
title = "Drag and drop",
|
|
15
|
+
description = "Drag and drop your files here",
|
|
16
|
+
visual = (
|
|
17
|
+
<Icon visual={ArrowUpOnSquareIcon} size="lg" className="s-text-white" />
|
|
18
|
+
),
|
|
19
|
+
}) => {
|
|
20
|
+
const lottieRef = useRef<LottieRefCurrentProps | null>(null);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<div
|
|
24
|
+
className="s-flex s-h-full s-w-full s-flex-col s-items-center s-justify-center s-gap-0 s-bg-white/80 s-text-element-800"
|
|
25
|
+
onMouseLeave={() => {
|
|
26
|
+
lottieRef.current?.setDirection(-1);
|
|
27
|
+
lottieRef.current?.play();
|
|
28
|
+
}}
|
|
29
|
+
onDrop={() => {
|
|
30
|
+
lottieRef.current?.setDirection(-1);
|
|
31
|
+
lottieRef.current?.play();
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
<div className="s-relative">
|
|
35
|
+
<Lottie
|
|
36
|
+
lottieRef={lottieRef}
|
|
37
|
+
animationData={anim}
|
|
38
|
+
style={{ width: `200px`, height: `200px` }}
|
|
39
|
+
loop={false}
|
|
40
|
+
autoplay
|
|
41
|
+
/>
|
|
42
|
+
<div className="s-absolute" style={{ top: `84px`, left: `84px` }}>
|
|
43
|
+
{visual}
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div className="s-text-xl s-font-bold">{title}</div>
|
|
47
|
+
<div className="s-font-base s-text-base">{description}</div>
|
|
48
|
+
</div>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default DragArea;
|
|
@@ -1,189 +1,189 @@
|
|
|
1
1
|
const animation = {
|
|
2
|
-
v: "5.9.0",
|
|
3
|
-
fr: 60,
|
|
4
|
-
ip: 0,
|
|
5
|
-
op: 25,
|
|
6
|
-
w: 24,
|
|
7
|
-
h: 36,
|
|
8
|
-
nm: "collapseBar",
|
|
9
|
-
ddd: 0,
|
|
10
|
-
assets: [],
|
|
11
|
-
layers: [
|
|
2
|
+
"v": "5.9.0",
|
|
3
|
+
"fr": 60,
|
|
4
|
+
"ip": 0,
|
|
5
|
+
"op": 25,
|
|
6
|
+
"w": 24,
|
|
7
|
+
"h": 36,
|
|
8
|
+
"nm": "collapseBar",
|
|
9
|
+
"ddd": 0,
|
|
10
|
+
"assets": [],
|
|
11
|
+
"layers": [
|
|
12
12
|
{
|
|
13
|
-
ddd: 0,
|
|
14
|
-
ind: 1,
|
|
15
|
-
ty: 4,
|
|
16
|
-
nm: "Calque de forme 1",
|
|
17
|
-
sr: 1,
|
|
18
|
-
ks: {
|
|
19
|
-
o: { a: 0, k: 100, ix: 11 },
|
|
20
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
21
|
-
p: { a: 0, k: [12, 18, 0], ix: 2, l: 2 },
|
|
22
|
-
a: { a: 0, k: [0, 0, 0], ix: 1, l: 2 },
|
|
23
|
-
s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 }
|
|
13
|
+
"ddd": 0,
|
|
14
|
+
"ind": 1,
|
|
15
|
+
"ty": 4,
|
|
16
|
+
"nm": "Calque de forme 1",
|
|
17
|
+
"sr": 1,
|
|
18
|
+
"ks": {
|
|
19
|
+
"o": { "a": 0, "k": 100, "ix": 11 },
|
|
20
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
21
|
+
"p": { "a": 0, "k": [12, 18, 0], "ix": 2, "l": 2 },
|
|
22
|
+
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
|
23
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
24
24
|
},
|
|
25
|
-
ao: 0,
|
|
26
|
-
shapes: [
|
|
25
|
+
"ao": 0,
|
|
26
|
+
"shapes": [
|
|
27
27
|
{
|
|
28
|
-
ty: "gr",
|
|
29
|
-
it: [
|
|
28
|
+
"ty": "gr",
|
|
29
|
+
"it": [
|
|
30
30
|
{
|
|
31
|
-
ind: 0,
|
|
32
|
-
ty: "sh",
|
|
33
|
-
ix: 1,
|
|
34
|
-
ks: {
|
|
35
|
-
a: 1,
|
|
36
|
-
k: [
|
|
31
|
+
"ind": 0,
|
|
32
|
+
"ty": "sh",
|
|
33
|
+
"ix": 1,
|
|
34
|
+
"ks": {
|
|
35
|
+
"a": 1,
|
|
36
|
+
"k": [
|
|
37
37
|
{
|
|
38
|
-
i: { x: 0.833, y: 0.833 },
|
|
39
|
-
o: { x: 0.167, y: 0.167 },
|
|
40
|
-
t: 0,
|
|
41
|
-
s: [
|
|
38
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
39
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
40
|
+
"t": 0,
|
|
41
|
+
"s": [
|
|
42
42
|
{
|
|
43
|
-
i: [
|
|
44
|
-
[0, 0],
|
|
43
|
+
"i": [
|
|
45
44
|
[0, 0],
|
|
46
45
|
[0, 0],
|
|
46
|
+
[0, 0]
|
|
47
47
|
],
|
|
48
|
-
o: [
|
|
49
|
-
[0, 0],
|
|
48
|
+
"o": [
|
|
50
49
|
[0, 0],
|
|
51
50
|
[0, 0],
|
|
51
|
+
[0, 0]
|
|
52
52
|
],
|
|
53
|
-
v: [
|
|
53
|
+
"v": [
|
|
54
54
|
[-10.017, -0.016],
|
|
55
55
|
[0.062, 0.008],
|
|
56
|
-
[9.998, 0.055]
|
|
56
|
+
[9.998, 0.055]
|
|
57
57
|
],
|
|
58
|
-
c: false
|
|
59
|
-
}
|
|
60
|
-
]
|
|
58
|
+
"c": false
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
i: { x: 0.833, y: 0.833 },
|
|
64
|
-
o: { x: 0.167, y: 0.167 },
|
|
65
|
-
t: 1,
|
|
66
|
-
s: [
|
|
63
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
64
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
65
|
+
"t": 1,
|
|
66
|
+
"s": [
|
|
67
67
|
{
|
|
68
|
-
i: [
|
|
69
|
-
[0, 0],
|
|
68
|
+
"i": [
|
|
70
69
|
[0, 0],
|
|
71
70
|
[0, 0],
|
|
71
|
+
[0, 0]
|
|
72
72
|
],
|
|
73
|
-
o: [
|
|
74
|
-
[0, 0],
|
|
73
|
+
"o": [
|
|
75
74
|
[0, 0],
|
|
76
75
|
[0, 0],
|
|
76
|
+
[0, 0]
|
|
77
77
|
],
|
|
78
|
-
v: [
|
|
78
|
+
"v": [
|
|
79
79
|
[-10.025, -3.117],
|
|
80
80
|
[0.062, 2.758],
|
|
81
|
-
[9.99, -3.047]
|
|
81
|
+
[9.99, -3.047]
|
|
82
82
|
],
|
|
83
|
-
c: false
|
|
84
|
-
}
|
|
85
|
-
]
|
|
83
|
+
"c": false
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
i: { x: 0.833, y: 0.833 },
|
|
89
|
-
o: { x: 0.167, y: 0.167 },
|
|
90
|
-
t: 13,
|
|
91
|
-
s: [
|
|
88
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
89
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
90
|
+
"t": 13,
|
|
91
|
+
"s": [
|
|
92
92
|
{
|
|
93
|
-
i: [
|
|
94
|
-
[0, 0],
|
|
93
|
+
"i": [
|
|
95
94
|
[0, 0],
|
|
96
95
|
[0, 0],
|
|
96
|
+
[0, 0]
|
|
97
97
|
],
|
|
98
|
-
o: [
|
|
99
|
-
[0, 0],
|
|
98
|
+
"o": [
|
|
100
99
|
[0, 0],
|
|
101
100
|
[0, 0],
|
|
101
|
+
[0, 0]
|
|
102
102
|
],
|
|
103
|
-
v: [
|
|
103
|
+
"v": [
|
|
104
104
|
[-10.017, -0.016],
|
|
105
105
|
[0.062, 0.008],
|
|
106
|
-
[9.998, 0.055]
|
|
106
|
+
[9.998, 0.055]
|
|
107
107
|
],
|
|
108
|
-
c: false
|
|
109
|
-
}
|
|
110
|
-
]
|
|
108
|
+
"c": false
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
t: 25,
|
|
114
|
-
s: [
|
|
113
|
+
"t": 25,
|
|
114
|
+
"s": [
|
|
115
115
|
{
|
|
116
|
-
i: [
|
|
117
|
-
[0, 0],
|
|
116
|
+
"i": [
|
|
118
117
|
[0, 0],
|
|
119
118
|
[0, 0],
|
|
119
|
+
[0, 0]
|
|
120
120
|
],
|
|
121
|
-
o: [
|
|
122
|
-
[0, 0],
|
|
121
|
+
"o": [
|
|
123
122
|
[0, 0],
|
|
124
123
|
[0, 0],
|
|
124
|
+
[0, 0]
|
|
125
125
|
],
|
|
126
|
-
v: [
|
|
126
|
+
"v": [
|
|
127
127
|
[-10.025, 2.984],
|
|
128
128
|
[0.078, -2.652],
|
|
129
|
-
[9.998, 3.051]
|
|
129
|
+
[9.998, 3.051]
|
|
130
130
|
],
|
|
131
|
-
c: false
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
131
|
+
"c": false
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
135
|
],
|
|
136
|
-
ix: 2
|
|
136
|
+
"ix": 2
|
|
137
137
|
},
|
|
138
|
-
nm: "Tracé 1",
|
|
139
|
-
mn: "ADBE Vector Shape - Group",
|
|
140
|
-
hd: false
|
|
138
|
+
"nm": "Tracé 1",
|
|
139
|
+
"mn": "ADBE Vector Shape - Group",
|
|
140
|
+
"hd": false
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
ty: "st",
|
|
144
|
-
c: {
|
|
145
|
-
a: 0,
|
|
146
|
-
k: [0.886274509804, 0.909803921569, 0.941176470588, 1],
|
|
147
|
-
ix: 3
|
|
143
|
+
"ty": "st",
|
|
144
|
+
"c": {
|
|
145
|
+
"a": 0,
|
|
146
|
+
"k": [0.886274509804, 0.909803921569, 0.941176470588, 1],
|
|
147
|
+
"ix": 3
|
|
148
148
|
},
|
|
149
|
-
o: { a: 0, k: 100, ix: 4 },
|
|
150
|
-
w: { a: 0, k: 6, ix: 5 },
|
|
151
|
-
lc: 2,
|
|
152
|
-
lj: 1,
|
|
153
|
-
ml: 4,
|
|
154
|
-
bm: 0,
|
|
155
|
-
nm: "Contour 1",
|
|
156
|
-
mn: "ADBE Vector Graphic - Stroke",
|
|
157
|
-
hd: false
|
|
149
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
150
|
+
"w": { "a": 0, "k": 6, "ix": 5 },
|
|
151
|
+
"lc": 2,
|
|
152
|
+
"lj": 1,
|
|
153
|
+
"ml": 4,
|
|
154
|
+
"bm": 0,
|
|
155
|
+
"nm": "Contour 1",
|
|
156
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
157
|
+
"hd": false
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
ty: "tr",
|
|
161
|
-
p: { a: 0, k: [0, 0], ix: 2 },
|
|
162
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
163
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
164
|
-
r: { a: 0, k: 90, ix: 6 },
|
|
165
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
166
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
167
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
168
|
-
nm: "Transformer "
|
|
169
|
-
}
|
|
160
|
+
"ty": "tr",
|
|
161
|
+
"p": { "a": 0, "k": [0, 0], "ix": 2 },
|
|
162
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
163
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
164
|
+
"r": { "a": 0, "k": 90, "ix": 6 },
|
|
165
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
166
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
167
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
168
|
+
"nm": "Transformer "
|
|
169
|
+
}
|
|
170
170
|
],
|
|
171
|
-
nm: "Polyétoile 1",
|
|
172
|
-
np: 2,
|
|
173
|
-
cix: 2,
|
|
174
|
-
bm: 0,
|
|
175
|
-
ix: 1,
|
|
176
|
-
mn: "ADBE Vector Group",
|
|
177
|
-
hd: false
|
|
178
|
-
}
|
|
171
|
+
"nm": "Polyétoile 1",
|
|
172
|
+
"np": 2,
|
|
173
|
+
"cix": 2,
|
|
174
|
+
"bm": 0,
|
|
175
|
+
"ix": 1,
|
|
176
|
+
"mn": "ADBE Vector Group",
|
|
177
|
+
"hd": false
|
|
178
|
+
}
|
|
179
179
|
],
|
|
180
|
-
ip: 0,
|
|
181
|
-
op: 90,
|
|
182
|
-
st: 0,
|
|
183
|
-
bm: 0
|
|
184
|
-
}
|
|
180
|
+
"ip": 0,
|
|
181
|
+
"op": 90,
|
|
182
|
+
"st": 0,
|
|
183
|
+
"bm": 0
|
|
184
|
+
}
|
|
185
185
|
],
|
|
186
|
-
markers: []
|
|
186
|
+
"markers": []
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
export default animation;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const animation = {"v":"5.9.0","fr":60,"ip":0,"op":60,"w":320,"h":320,"nm":"dragArea","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"HalfCircle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.134],"y":[0.302]},"t":7,"s":[255.577]},{"t":60,"s":[155.577]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":0.472},"o":{"x":0.333,"y":0},"t":13,"s":[160,160,0],"to":[0,0,0],"ti":[28.266,28.984,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.319,"y":1},"t":29,"s":[121.164,100.484,0],"to":[-28.266,-28.984,0],"ti":[0,0,0]},{"t":60,"s":[62,64.5,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.166,-0.033],[0,-9.389],[9.389,0],[-0.001,8.75]],"o":[[9.389,0],[0,9.389],[0.236,0.059],[0.001,-8.75]],"v":[[0,-17.167],[17,-0.167],[0,16.833],[-0.005,-0.229]],"c":true},"ix":2},"nm":"Tracé 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.972549019608,0.443137254902,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fond 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[6,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.178,0.178],"y":[0.135,0.135]},"t":13,"s":[0,0]},{"t":40,"s":[200,200]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformer "}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":60,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.163],"y":[0.39]},"t":13,"s":[252.738]},{"t":60,"s":[362.738]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":13,"s":[160,160,0],"to":[0,0,0],"ti":[-35.027,16.005,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":29,"s":[227.973,140.505,0],"to":[35.027,-16.005,0],"ti":[0,0,0]},{"t":60,"s":[275.5,72.5,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,50,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[50,50],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.219607844949,0.741176486015,0.972549021244,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.222,0.222],"y":[0.315,0.315]},"t":13,"s":[0,0]},{"i":{"x":[0.833,0.833],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":40,"s":[120,120]},{"t":60,"s":[140,140]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformer "}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":60,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Square","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":13,"s":[160,160,0],"to":[0,0,0],"ti":[-15.191,-19.222,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":32.5,"s":[199.809,184.278,0],"to":[15.191,19.222,0],"ti":[0,0,0]},{"t":56,"s":[221,239,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[56,56],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.658823529412,0.83137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":13,"s":[0,0]},{"t":60,"s":[100,100]}],"ix":3},"r":{"a":1,"k":[{"i":{"x":[0.562],"y":[1]},"o":{"x":[0.216],"y":[0]},"t":13,"s":[0]},{"t":60,"s":[-90]}],"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformer "}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":60,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Triangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.057],"y":[0.118]},"t":13,"s":[205.174]},{"t":60,"s":[465.174]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":13,"s":[160,160,0],"to":[0,0,0],"ti":[23.043,-33.745,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":35,"s":[109.043,194.755,0],"to":[-23.043,33.745,0],"ti":[0,0,0]},{"t":60,"s":[96,269.5,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sr","sy":2,"d":1,"pt":{"a":0,"k":3,"ix":3},"p":{"a":0,"k":[0,0],"ix":4},"r":{"a":0,"k":90,"ix":5},"or":{"a":0,"k":28,"ix":7},"os":{"a":0,"k":0,"ix":9},"ix":1,"nm":"Polystar Path 1","mn":"ADBE Vector Shape - Star","hd":false},{"ty":"fl","c":{"a":0,"k":[0.98431372549,0.749019607843,0.141176470588,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":13,"s":[0,0]},{"t":60,"s":[140,140]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformer "}],"nm":"Polystar 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":60,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Background","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[160,160,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.986,0.986],"y":[0.929,0.929]},"o":{"x":[0.565,0.565],"y":[-0.003,-0.003]},"t":8,"s":[1,1]},{"i":{"x":[0.678,0.678],"y":[1.616,1.616]},"o":{"x":[0.16,0.16],"y":[2.739,2.739]},"t":23,"s":[96,96]},{"t":47,"s":[140,140]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Tracé d'ellipse 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Contour 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.117647058824,0.160784313725,0.23137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fond 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformer "}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":60,"st":0,"bm":0}],"markers":[]};
|
|
2
|
+
|
|
3
|
+
export default animation;
|