@corto-ai/gds-angular 2.1.4 → 2.1.5-test.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.
- package/README.md +5 -5
- package/assets/css/acctivity.css +72 -0
- package/assets/css/acctivity.css.map +1 -1
- package/assets/css/all.css +72 -0
- package/assets/css/all.css.map +1 -1
- package/assets/css/corto.css +72 -0
- package/assets/css/corto.css.map +1 -1
- package/assets/css/lawy.css +72 -0
- package/assets/css/lawy.css.map +1 -1
- package/assets/css/leap.css +72 -0
- package/assets/css/leap.css.map +1 -1
- package/assets/scss/mixins/_animated-border.scss +44 -0
- package/assets/scss/utilities/_scroll.scss +4 -0
- package/assets/svg/line/line-document-one-page-sparkle.svg +3 -0
- package/fesm2022/corto-ai-gds-angular.mjs +424 -132
- package/fesm2022/corto-ai-gds-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/corto-ai-gds-angular.d.ts +75 -30
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Paints an animated gradient in the element's own border ring.
|
|
2
|
+
//
|
|
3
|
+
// The gradient covers the whole border box and is then masked down to the border area alone, so it
|
|
4
|
+
// never sits behind the element's background or content. That leaves the element free to carry
|
|
5
|
+
// whatever background it likes including the translucent hover states GDS ships, which would
|
|
6
|
+
// otherwise show the gradient straight through the fill.
|
|
7
|
+
@mixin animatedGradientBorder($width: 1px, $duration: 3s) {
|
|
8
|
+
position: relative;
|
|
9
|
+
border: $width solid transparent;
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
content: '';
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset: -$width;
|
|
15
|
+
padding: $width;
|
|
16
|
+
border-radius: inherit;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
225deg,
|
|
20
|
+
var(--gds-palette-border-dark) 0%,
|
|
21
|
+
var(--gds-accent-500) 25.96%,
|
|
22
|
+
var(--gds-brand-400) 38.46%,
|
|
23
|
+
var(--gds-brand-500) 49.52%,
|
|
24
|
+
var(--gds-palette-border-dark) 93.75%
|
|
25
|
+
);
|
|
26
|
+
background-size: 300% 300%;
|
|
27
|
+
animation: gdsChaseBorder $duration infinite linear;
|
|
28
|
+
|
|
29
|
+
mask:
|
|
30
|
+
linear-gradient(#000 0 0) content-box,
|
|
31
|
+
linear-gradient(#000 0 0);
|
|
32
|
+
mask-composite: exclude;
|
|
33
|
+
|
|
34
|
+
@keyframes gdsChaseBorder {
|
|
35
|
+
0%,
|
|
36
|
+
100% {
|
|
37
|
+
background-position: 0% 50%;
|
|
38
|
+
}
|
|
39
|
+
50% {
|
|
40
|
+
background-position: 100% 50%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10.8777 0.282251L11.226 1.35305C11.3343 1.67859 11.5171 1.97441 11.7599 2.21699C12.0026 2.45957 12.2987 2.64223 12.6245 2.75044L13.6961 3.09845L13.7175 3.10381C13.8001 3.13292 13.8716 3.18692 13.9222 3.25836C13.9728 3.3298 14 3.41516 14 3.50268C14 3.5902 13.9728 3.67556 13.9222 3.747C13.8716 3.81844 13.8001 3.87244 13.7175 3.90155L12.6459 4.24956C12.3201 4.35778 12.0241 4.54044 11.7813 4.78302C11.5385 5.0256 11.3558 5.32141 11.2475 5.64696L10.8992 6.71775C10.87 6.80029 10.816 6.87175 10.7445 6.92231C10.673 6.97286 10.5876 7.00001 10.5 7.00001C10.4124 7.00001 10.327 6.97286 10.2555 6.92231C10.2484 6.91732 10.2416 6.91213 10.2349 6.90675C10.1736 6.85755 10.1271 6.79215 10.1008 6.71775L9.75255 5.64696C9.73383 5.59014 9.71284 5.53422 9.68966 5.47932C9.57963 5.21872 9.42023 4.98116 9.21968 4.77999C9.18154 4.74173 9.14208 4.70496 9.10139 4.66973C8.88302 4.48064 8.62919 4.33588 8.35408 4.24421L7.28247 3.8962C7.19987 3.86708 7.12835 3.81308 7.07776 3.74164C7.02717 3.6702 7 3.58484 7 3.49733C7 3.40981 7.02717 3.32445 7.07776 3.25301C7.12835 3.18157 7.19987 3.12757 7.28247 3.09845L8.35408 2.75044C8.67591 2.63941 8.96768 2.45549 9.20656 2.21307C9.44544 1.97065 9.62497 1.67631 9.73111 1.35305L10.0794 0.282251C10.1085 0.19972 10.1626 0.128252 10.2341 0.0776997C10.3056 0.0271473 10.391 0 10.4786 0C10.5662 0 10.6516 0.0271473 10.7231 0.0776997C10.7946 0.128252 10.8486 0.19972 10.8777 0.282251ZM15.7829 8.21319L15.0175 7.96461C14.7848 7.88731 14.5733 7.75684 14.3999 7.58357C14.2265 7.4103 14.0959 7.199 14.0186 6.96647L13.7698 6.20161C13.749 6.14266 13.7104 6.09161 13.6593 6.05551C13.6083 6.0194 13.5473 6.00001 13.4847 6.00001C13.4221 6.00001 13.3611 6.0194 13.31 6.05551C13.259 6.09161 13.2204 6.14266 13.1996 6.20161L12.9508 6.96647C12.875 7.19737 12.7467 7.40762 12.5761 7.58077C12.4055 7.75392 12.1971 7.8853 11.9672 7.96461L11.2018 8.21319C11.1428 8.23398 11.0917 8.27255 11.0555 8.32358C11.0194 8.37461 11 8.43558 11 8.4981C11 8.56061 11.0194 8.62158 11.0555 8.67261C11.0917 8.72364 11.1428 8.76221 11.2018 8.78301L11.9672 9.03158C12.2003 9.10926 12.412 9.24032 12.5855 9.41428C12.7589 9.58824 12.8893 9.80031 12.9661 10.0335L13.2149 10.7984C13.2357 10.8574 13.2743 10.9084 13.3254 10.9445C13.3764 10.9806 13.4374 11 13.5 11C13.5626 11 13.6236 10.9806 13.6746 10.9445C13.7257 10.9084 13.7643 10.8574 13.7851 10.7984L14.0339 10.0335C14.1113 9.80101 14.2418 9.58972 14.4152 9.41645C14.5886 9.24317 14.8001 9.11271 15.0328 9.03541L15.7982 8.78683C15.8572 8.76603 15.9083 8.72746 15.9445 8.67643C15.9806 8.62541 16 8.56443 16 8.50192C16 8.43941 15.9806 8.37844 15.9445 8.32741C15.9083 8.27638 15.8572 8.23781 15.7982 8.21701L15.7829 8.21319ZM13 11.9009C12.9147 11.8659 12.833 11.8221 12.7561 11.7696C12.5359 11.6094 12.3758 11.399 12.2757 11.1486L12.0155 10.3473C12.0106 10.3343 12.0055 10.3213 12 10.3084V13C12 13.5523 11.5523 14 11 14H5C4.44772 14 4 13.5523 4 13V3C4 2.44772 4.44772 2 5 2H7.42985L8.04186 1.80334C8.202 1.75326 8.36215 1.64308 8.49227 1.51287C8.62238 1.38266 8.72248 1.22239 8.78253 1.0421L8.79629 1H5C3.89543 1 3 1.89543 3 3V13C3 14.1046 3.89543 15 5 15H11C12.1046 15 13 14.1046 13 13V11.9009ZM9.58988 8.49194C9.82312 8.44961 10 8.24546 10 8C10 7.72386 9.77614 7.5 9.5 7.5H6.5L6.41012 7.50806C6.17688 7.55039 6 7.75454 6 8C6 8.27614 6.22386 8.5 6.5 8.5H9.5L9.58988 8.49194ZM10 11.4919C10 11.7374 9.82312 11.9416 9.58988 11.9839L9.5 11.9919H6.5C6.22386 11.9919 6 11.7681 6 11.4919C6 11.2465 6.17688 11.0423 6.41012 11L6.5 10.9919H9.5C9.77614 10.9919 10 11.2158 10 11.4919Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|