@vector-business-services/cristal-ds-web 0.14.0 → 0.16.0
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.cjs +225 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +130 -43
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +49 -23
- package/dist/index.d.ts +49 -23
- package/dist/index.js +227 -94
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -84,11 +84,30 @@
|
|
|
84
84
|
color: var(--cr-color-icon-neutral-base);
|
|
85
85
|
font-size: 16px;
|
|
86
86
|
}
|
|
87
|
-
.cr-accordion__region {
|
|
88
|
-
padding-bottom: var(--cr-padding-padding-7);
|
|
89
|
-
}
|
|
90
87
|
.cr-accordion__content {
|
|
91
|
-
padding: var(--cr-padding-padding-7);
|
|
88
|
+
padding: var(--cr-padding-padding-7) var(--cr-padding-padding-7) calc(var(--cr-padding-padding-7) * 2);
|
|
89
|
+
}
|
|
90
|
+
.cr-accordion__region--entrar {
|
|
91
|
+
max-height: 0;
|
|
92
|
+
}
|
|
93
|
+
.cr-accordion__region--entrando {
|
|
94
|
+
max-height: 1000px;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
transition: max-height 1s ease-in-out;
|
|
97
|
+
}
|
|
98
|
+
.cr-accordion__region--sair {
|
|
99
|
+
max-height: 1000px;
|
|
100
|
+
}
|
|
101
|
+
.cr-accordion__region--saindo {
|
|
102
|
+
max-height: 0;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
|
|
105
|
+
}
|
|
106
|
+
@media (prefers-reduced-motion: reduce) {
|
|
107
|
+
.cr-accordion__region--entrando,
|
|
108
|
+
.cr-accordion__region--saindo {
|
|
109
|
+
transition: none;
|
|
110
|
+
}
|
|
92
111
|
}
|
|
93
112
|
@container (max-width: 767px) {
|
|
94
113
|
.cr-accordion__action {
|
|
@@ -96,7 +115,7 @@
|
|
|
96
115
|
padding-left: var(--cr-padding-padding-6);
|
|
97
116
|
}
|
|
98
117
|
.cr-accordion__content {
|
|
99
|
-
padding: var(--cr-padding-padding-6);
|
|
118
|
+
padding: var(--cr-padding-padding-6) var(--cr-padding-padding-6) calc(var(--cr-padding-padding-6) + var(--cr-padding-padding-7));
|
|
100
119
|
}
|
|
101
120
|
}
|
|
102
121
|
|
|
@@ -289,6 +308,55 @@
|
|
|
289
308
|
color: var(--cr-color-text-brand-base);
|
|
290
309
|
}
|
|
291
310
|
|
|
311
|
+
/* src/components/comum.css */
|
|
312
|
+
.cr-so-leitor {
|
|
313
|
+
position: absolute;
|
|
314
|
+
width: 1px;
|
|
315
|
+
height: 1px;
|
|
316
|
+
overflow: hidden;
|
|
317
|
+
clip-path: inset(50%);
|
|
318
|
+
white-space: nowrap;
|
|
319
|
+
}
|
|
320
|
+
.cr-rolagem-fina::-webkit-scrollbar {
|
|
321
|
+
width: 8px;
|
|
322
|
+
height: 8px;
|
|
323
|
+
}
|
|
324
|
+
.cr-rolagem-fina::-webkit-scrollbar-thumb {
|
|
325
|
+
border-radius: var(--cr-radius-full);
|
|
326
|
+
background-color: var(--cr-color-fill-neutral-subtle);
|
|
327
|
+
}
|
|
328
|
+
.cr-rolagem-fina::-webkit-scrollbar-thumb:hover {
|
|
329
|
+
background-color: var(--cr-color-fill-neutral-subtle-hover);
|
|
330
|
+
}
|
|
331
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
332
|
+
.cr-rolagem-fina {
|
|
333
|
+
scrollbar-width: thin;
|
|
334
|
+
scrollbar-color: var(--cr-color-fill-neutral-subtle) transparent;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
.cr-popup--entrar {
|
|
338
|
+
opacity: 0;
|
|
339
|
+
transform: scaleY(0.8);
|
|
340
|
+
}
|
|
341
|
+
.cr-popup--entrando {
|
|
342
|
+
opacity: 1;
|
|
343
|
+
transform: scaleY(1);
|
|
344
|
+
transition: transform 120ms cubic-bezier(0, 0, 0.2, 1), opacity 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
345
|
+
}
|
|
346
|
+
.cr-popup--entrou {
|
|
347
|
+
transform: none;
|
|
348
|
+
}
|
|
349
|
+
.cr-popup--saindo {
|
|
350
|
+
opacity: 0;
|
|
351
|
+
transition: opacity 100ms linear;
|
|
352
|
+
}
|
|
353
|
+
@media (prefers-reduced-motion: reduce) {
|
|
354
|
+
.cr-popup--entrando,
|
|
355
|
+
.cr-popup--saindo {
|
|
356
|
+
transition: none;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
292
360
|
/* src/components/AutoComplete/AutoComplete.css */
|
|
293
361
|
.cr-autocomplete__root {
|
|
294
362
|
display: flex;
|
|
@@ -529,33 +597,6 @@
|
|
|
529
597
|
overflow-wrap: break-word;
|
|
530
598
|
}
|
|
531
599
|
|
|
532
|
-
/* src/components/comum.css */
|
|
533
|
-
.cr-so-leitor {
|
|
534
|
-
position: absolute;
|
|
535
|
-
width: 1px;
|
|
536
|
-
height: 1px;
|
|
537
|
-
overflow: hidden;
|
|
538
|
-
clip-path: inset(50%);
|
|
539
|
-
white-space: nowrap;
|
|
540
|
-
}
|
|
541
|
-
.cr-rolagem-fina::-webkit-scrollbar {
|
|
542
|
-
width: 8px;
|
|
543
|
-
height: 8px;
|
|
544
|
-
}
|
|
545
|
-
.cr-rolagem-fina::-webkit-scrollbar-thumb {
|
|
546
|
-
border-radius: var(--cr-radius-full);
|
|
547
|
-
background-color: var(--cr-color-fill-neutral-subtle);
|
|
548
|
-
}
|
|
549
|
-
.cr-rolagem-fina::-webkit-scrollbar-thumb:hover {
|
|
550
|
-
background-color: var(--cr-color-fill-neutral-subtle-hover);
|
|
551
|
-
}
|
|
552
|
-
@supports not selector(::-webkit-scrollbar) {
|
|
553
|
-
.cr-rolagem-fina {
|
|
554
|
-
scrollbar-width: thin;
|
|
555
|
-
scrollbar-color: var(--cr-color-fill-neutral-subtle) transparent;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
600
|
/* src/components/Chart/Chart.css */
|
|
560
601
|
.cr-chart {
|
|
561
602
|
display: flex;
|
|
@@ -1083,10 +1124,10 @@
|
|
|
1083
1124
|
}
|
|
1084
1125
|
.cr-drawer--enter-active {
|
|
1085
1126
|
transform: none;
|
|
1086
|
-
transition: transform 300ms ease
|
|
1127
|
+
transition: transform 300ms ease;
|
|
1087
1128
|
}
|
|
1088
1129
|
.cr-drawer--exit-active {
|
|
1089
|
-
transition: transform 300ms ease
|
|
1130
|
+
transition: transform 300ms ease;
|
|
1090
1131
|
}
|
|
1091
1132
|
@media (prefers-reduced-motion: reduce) {
|
|
1092
1133
|
.cr-drawer__mask:has(> .cr-drawer--enter),
|
|
@@ -1884,6 +1925,44 @@
|
|
|
1884
1925
|
background-color: color-mix(in srgb, var(--cr-color-fill-neutral-boldest) calc(var(--cr-opacity-opacity-5) * 100%), transparent);
|
|
1885
1926
|
backdrop-filter: blur(5px);
|
|
1886
1927
|
}
|
|
1928
|
+
.cr-modal__mask:has(> .cr-modal--entrar) {
|
|
1929
|
+
animation: cr-modal-overlay 150ms forwards;
|
|
1930
|
+
}
|
|
1931
|
+
.cr-modal__mask:has(> .cr-modal--saindo) {
|
|
1932
|
+
animation: cr-modal-overlay 150ms reverse forwards;
|
|
1933
|
+
}
|
|
1934
|
+
@keyframes cr-modal-overlay {
|
|
1935
|
+
from {
|
|
1936
|
+
background-color: transparent;
|
|
1937
|
+
backdrop-filter: blur(0);
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
.cr-modal--entrar,
|
|
1941
|
+
.cr-modal--saindo {
|
|
1942
|
+
opacity: 0;
|
|
1943
|
+
transform: scale(0.7);
|
|
1944
|
+
}
|
|
1945
|
+
.cr-modal--entrando {
|
|
1946
|
+
opacity: 1;
|
|
1947
|
+
transform: scale(1);
|
|
1948
|
+
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
|
1949
|
+
}
|
|
1950
|
+
.cr-modal--entrou {
|
|
1951
|
+
transform: none;
|
|
1952
|
+
}
|
|
1953
|
+
.cr-modal--saindo {
|
|
1954
|
+
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1955
|
+
}
|
|
1956
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1957
|
+
.cr-modal__mask:has(> .cr-modal--entrar),
|
|
1958
|
+
.cr-modal__mask:has(> .cr-modal--saindo) {
|
|
1959
|
+
animation: none;
|
|
1960
|
+
}
|
|
1961
|
+
.cr-modal--entrando,
|
|
1962
|
+
.cr-modal--saindo {
|
|
1963
|
+
transition: none;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1887
1966
|
.cr-modal {
|
|
1888
1967
|
display: flex;
|
|
1889
1968
|
flex-direction: column;
|
|
@@ -2919,17 +2998,13 @@ body.p-scrollpanel-grabbed {
|
|
|
2919
2998
|
}
|
|
2920
2999
|
|
|
2921
3000
|
/* src/components/Toast/Toast.css */
|
|
2922
|
-
.cr-toast > div {
|
|
2923
|
-
display: flex;
|
|
2924
|
-
flex-direction: column;
|
|
2925
|
-
gap: var(--cr-spacing-spacing-4);
|
|
2926
|
-
}
|
|
2927
3001
|
.cr-toast__message {
|
|
2928
3002
|
box-sizing: border-box;
|
|
2929
3003
|
width: 340px;
|
|
2930
3004
|
max-width: 100%;
|
|
2931
3005
|
padding: var(--cr-padding-padding-6);
|
|
2932
3006
|
border-radius: var(--cr-radius-medium);
|
|
3007
|
+
margin-bottom: var(--cr-spacing-spacing-4);
|
|
2933
3008
|
box-shadow: var(--cr-elevation-gray-bottom-5);
|
|
2934
3009
|
color: var(--cr-color-text-neutral-base);
|
|
2935
3010
|
--cr-toast-close-color: var(--cr-color-icon-neutral-base);
|
|
@@ -3015,16 +3090,28 @@ body.p-scrollpanel-grabbed {
|
|
|
3015
3090
|
}
|
|
3016
3091
|
.cr-toast__message--enter {
|
|
3017
3092
|
opacity: 0;
|
|
3018
|
-
transform: translateY(
|
|
3093
|
+
transform: translateY(50%);
|
|
3019
3094
|
}
|
|
3020
3095
|
.cr-toast__message--enter-active {
|
|
3021
3096
|
opacity: 1;
|
|
3022
|
-
transform:
|
|
3023
|
-
transition:
|
|
3097
|
+
transform: translateY(0);
|
|
3098
|
+
transition: transform 0.3s, opacity 0.3s;
|
|
3099
|
+
}
|
|
3100
|
+
.cr-toast__message--exit {
|
|
3101
|
+
max-height: 1000px;
|
|
3024
3102
|
}
|
|
3025
3103
|
.cr-toast__message--exit-active {
|
|
3104
|
+
max-height: 0;
|
|
3105
|
+
margin-bottom: 0;
|
|
3106
|
+
padding-top: 0;
|
|
3107
|
+
padding-bottom: 0;
|
|
3108
|
+
overflow: hidden;
|
|
3026
3109
|
opacity: 0;
|
|
3027
|
-
transition:
|
|
3110
|
+
transition:
|
|
3111
|
+
max-height 0.45s cubic-bezier(0, 1, 0, 1),
|
|
3112
|
+
padding 0.45s cubic-bezier(0, 1, 0, 1),
|
|
3113
|
+
opacity 0.3s,
|
|
3114
|
+
margin-bottom 0.3s;
|
|
3028
3115
|
}
|
|
3029
3116
|
@media (prefers-reduced-motion: reduce) {
|
|
3030
3117
|
.cr-toast__message--enter-active,
|