@vector-business-services/cristal-ds-web 0.13.0 → 0.13.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/dist/index.cjs +87 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +21 -27
- package/dist/index.css.map +1 -1
- package/dist/index.js +87 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
background-color: var(--cr-color-fill-neutral-container);
|
|
255
255
|
box-shadow: inset 0 0 0 var(--cr-stroke-x-small) var(--cr-color-stroke-neutral-base), var(--cr-elevation-gray-bottom-3);
|
|
256
256
|
}
|
|
257
|
-
.cr-autocomplete__panel[
|
|
257
|
+
.cr-autocomplete__panel[data-cr-lado=acima] {
|
|
258
258
|
margin-top: calc(-1 * var(--cr-spacing-spacing-3));
|
|
259
259
|
}
|
|
260
260
|
.cr-autocomplete__panel > :first-child {
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
.cr-checkbox__icon {
|
|
666
666
|
flex-shrink: 0;
|
|
667
667
|
}
|
|
668
|
-
.cr-checkbox__box
|
|
668
|
+
.cr-checkbox__control--checked .cr-checkbox__box,
|
|
669
669
|
.cr-checkbox--indeterminate .cr-checkbox__box {
|
|
670
670
|
border-color: var(--cr-color-fill-brand-base);
|
|
671
671
|
background-color: var(--cr-color-fill-brand-base);
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
.cr-checkbox:not(.cr-checkbox--disabled):hover .cr-checkbox__box {
|
|
681
681
|
border-color: var(--cr-color-stroke-neutral-bold-hover);
|
|
682
682
|
}
|
|
683
|
-
.cr-checkbox:not(.cr-checkbox--disabled):hover .cr-checkbox__box
|
|
683
|
+
.cr-checkbox:not(.cr-checkbox--disabled):hover .cr-checkbox__control--checked .cr-checkbox__box,
|
|
684
684
|
.cr-checkbox--indeterminate:not(.cr-checkbox--disabled):hover .cr-checkbox__box {
|
|
685
685
|
border-color: var(--cr-color-fill-brand-base-hover);
|
|
686
686
|
background-color: var(--cr-color-fill-brand-base-hover);
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
.cr-checkbox--disabled .cr-checkbox__box {
|
|
696
696
|
border-color: var(--cr-color-stroke-disabled-base);
|
|
697
697
|
}
|
|
698
|
-
.cr-checkbox--disabled .cr-checkbox__box
|
|
698
|
+
.cr-checkbox--disabled .cr-checkbox__control--checked .cr-checkbox__box,
|
|
699
699
|
.cr-checkbox--disabled.cr-checkbox--indeterminate .cr-checkbox__box {
|
|
700
700
|
border-color: var(--cr-color-fill-disabled-base);
|
|
701
701
|
background-color: var(--cr-color-fill-disabled-base);
|
|
@@ -1243,11 +1243,9 @@
|
|
|
1243
1243
|
}
|
|
1244
1244
|
.cr-menu--popup {
|
|
1245
1245
|
position: absolute;
|
|
1246
|
-
}
|
|
1247
|
-
.cr-menu--popup[style*="transform-origin: center top"] {
|
|
1248
1246
|
margin-top: var(--cr-spacing-spacing-3);
|
|
1249
1247
|
}
|
|
1250
|
-
.cr-menu--popup[
|
|
1248
|
+
.cr-menu--popup[data-cr-lado=acima] {
|
|
1251
1249
|
margin-top: calc(var(--cr-spacing-spacing-3) * -1);
|
|
1252
1250
|
}
|
|
1253
1251
|
.cr-menu__list {
|
|
@@ -1332,11 +1330,11 @@
|
|
|
1332
1330
|
.cr-menu__item--selected .cr-menu__icon {
|
|
1333
1331
|
color: var(--cr-color-icon-brand-base);
|
|
1334
1332
|
}
|
|
1335
|
-
.cr-menu__item[
|
|
1333
|
+
.cr-menu__item[aria-disabled=true] .cr-menu__action {
|
|
1336
1334
|
color: var(--cr-color-text-disabled-base);
|
|
1337
1335
|
cursor: not-allowed;
|
|
1338
1336
|
}
|
|
1339
|
-
.cr-menu__item[
|
|
1337
|
+
.cr-menu__item[aria-disabled=true]:hover .cr-menu__action {
|
|
1340
1338
|
background-color: var(--cr-color-fill-neutral-container);
|
|
1341
1339
|
}
|
|
1342
1340
|
.cr-menu__loading {
|
|
@@ -1721,11 +1719,9 @@
|
|
|
1721
1719
|
.cr-menu-principal--popup {
|
|
1722
1720
|
position: absolute;
|
|
1723
1721
|
max-height: min(672px, calc(100dvh - var(--cr-menu-principal-topo, 0px) - var(--cr-spacing-spacing-3) - var(--cr-padding-padding-8)));
|
|
1724
|
-
}
|
|
1725
|
-
.cr-menu-principal--popup[style*="transform-origin: center top"] {
|
|
1726
1722
|
margin-top: var(--cr-spacing-spacing-3);
|
|
1727
1723
|
}
|
|
1728
|
-
.cr-menu-principal--popup[
|
|
1724
|
+
.cr-menu-principal--popup[data-cr-lado=acima] {
|
|
1729
1725
|
margin-top: calc(var(--cr-spacing-spacing-3) * -1);
|
|
1730
1726
|
}
|
|
1731
1727
|
.cr-menu-principal__list {
|
|
@@ -2325,11 +2321,11 @@
|
|
|
2325
2321
|
color: var(--cr-color-icon-inverse-base);
|
|
2326
2322
|
font-size: 16px;
|
|
2327
2323
|
}
|
|
2328
|
-
.cr-multiselect__item:hover .cr-multiselect__checkbox
|
|
2329
|
-
.cr-multiselect__select-all:hover .cr-multiselect__checkbox
|
|
2324
|
+
.cr-multiselect__item:hover .cr-multiselect__checkbox:not(:has(.cr-multiselect__checkbox-input:checked)) .cr-multiselect__checkbox-box,
|
|
2325
|
+
.cr-multiselect__select-all:hover .cr-multiselect__checkbox:not(:has(.cr-multiselect__checkbox-input:checked)) .cr-multiselect__checkbox-box {
|
|
2330
2326
|
border-color: var(--cr-color-stroke-neutral-bolder);
|
|
2331
2327
|
}
|
|
2332
|
-
.cr-multiselect__checkbox-
|
|
2328
|
+
.cr-multiselect__checkbox:has(.cr-multiselect__checkbox-input:checked) .cr-multiselect__checkbox-box {
|
|
2333
2329
|
border-color: var(--cr-color-fill-brand-base);
|
|
2334
2330
|
background-color: var(--cr-color-fill-brand-base);
|
|
2335
2331
|
}
|
|
@@ -2575,11 +2571,9 @@
|
|
|
2575
2571
|
font-weight: var(--cr-typography-body-small-14-regular-font-weight);
|
|
2576
2572
|
line-height: var(--cr-typography-body-small-14-regular-line-height);
|
|
2577
2573
|
letter-spacing: var(--cr-typography-body-small-14-regular-letter-spacing);
|
|
2578
|
-
}
|
|
2579
|
-
.cr-select__panel[style*="transform-origin: center top"] {
|
|
2580
2574
|
margin-top: var(--cr-spacing-spacing-3);
|
|
2581
2575
|
}
|
|
2582
|
-
.cr-select__panel[
|
|
2576
|
+
.cr-select__panel[data-cr-lado=acima] {
|
|
2583
2577
|
margin-top: calc(var(--cr-spacing-spacing-3) * -1);
|
|
2584
2578
|
}
|
|
2585
2579
|
.cr-select__wrapper {
|
|
@@ -2632,10 +2626,10 @@
|
|
|
2632
2626
|
cursor: default;
|
|
2633
2627
|
}
|
|
2634
2628
|
.cr-select__item:hover,
|
|
2635
|
-
.cr-select__item
|
|
2629
|
+
.cr-select__item--focused {
|
|
2636
2630
|
background-color: var(--cr-color-fill-neutral-container-hover);
|
|
2637
2631
|
}
|
|
2638
|
-
.cr-select__item
|
|
2632
|
+
.cr-select__item--selected {
|
|
2639
2633
|
background-color: var(--cr-color-fill-selected-subtlest);
|
|
2640
2634
|
color: var(--cr-color-text-brand-base);
|
|
2641
2635
|
}
|
|
@@ -2767,14 +2761,14 @@
|
|
|
2767
2761
|
.cr-radio__icon {
|
|
2768
2762
|
display: none;
|
|
2769
2763
|
}
|
|
2770
|
-
.cr-radio__control
|
|
2764
|
+
.cr-radio__control--checked .cr-radio__box {
|
|
2771
2765
|
border-width: 8px;
|
|
2772
2766
|
border-color: var(--cr-color-stroke-brand-base);
|
|
2773
2767
|
}
|
|
2774
2768
|
.cr-radio:not(.cr-radio--disabled):hover .cr-radio__box {
|
|
2775
2769
|
border-color: var(--cr-color-stroke-neutral-bold-hover);
|
|
2776
2770
|
}
|
|
2777
|
-
.cr-radio:not(.cr-radio--disabled):hover .cr-radio__control
|
|
2771
|
+
.cr-radio:not(.cr-radio--disabled):hover .cr-radio__control--checked .cr-radio__box {
|
|
2778
2772
|
border-color: var(--cr-color-stroke-brand-base-hover);
|
|
2779
2773
|
}
|
|
2780
2774
|
.cr-radio__input:focus-visible + .cr-radio__box {
|
|
@@ -2785,7 +2779,7 @@
|
|
|
2785
2779
|
cursor: not-allowed;
|
|
2786
2780
|
}
|
|
2787
2781
|
.cr-radio--disabled .cr-radio__box,
|
|
2788
|
-
.cr-radio--disabled .cr-radio__control
|
|
2782
|
+
.cr-radio--disabled .cr-radio__control--checked .cr-radio__box {
|
|
2789
2783
|
border-color: var(--cr-color-stroke-disabled-base);
|
|
2790
2784
|
}
|
|
2791
2785
|
.cr-radio__label {
|
|
@@ -2997,16 +2991,16 @@ body.p-scrollpanel-grabbed {
|
|
|
2997
2991
|
transition: transform 150ms ease;
|
|
2998
2992
|
content: "";
|
|
2999
2993
|
}
|
|
3000
|
-
.cr-switch__control
|
|
2994
|
+
.cr-switch__control--checked .cr-switch__track {
|
|
3001
2995
|
background-color: var(--cr-color-fill-brand-base);
|
|
3002
2996
|
}
|
|
3003
|
-
.cr-switch__control
|
|
2997
|
+
.cr-switch__control--checked .cr-switch__track::before {
|
|
3004
2998
|
transform: translateX(calc(var(--cr-switch-width) - var(--cr-switch-thumb) - var(--cr-switch-inset) * 2));
|
|
3005
2999
|
}
|
|
3006
3000
|
.cr-switch:not(.cr-switch--disabled):hover .cr-switch__track {
|
|
3007
3001
|
background-color: var(--cr-color-fill-neutral-subtle-hover);
|
|
3008
3002
|
}
|
|
3009
|
-
.cr-switch:not(.cr-switch--disabled):hover .cr-switch__control
|
|
3003
|
+
.cr-switch:not(.cr-switch--disabled):hover .cr-switch__control--checked .cr-switch__track {
|
|
3010
3004
|
background-color: var(--cr-color-fill-brand-base-hover);
|
|
3011
3005
|
}
|
|
3012
3006
|
.cr-switch__input:focus-visible + .cr-switch__track {
|
|
@@ -3016,7 +3010,7 @@ body.p-scrollpanel-grabbed {
|
|
|
3016
3010
|
cursor: not-allowed;
|
|
3017
3011
|
}
|
|
3018
3012
|
.cr-switch--disabled .cr-switch__track,
|
|
3019
|
-
.cr-switch--disabled .cr-switch__control
|
|
3013
|
+
.cr-switch--disabled .cr-switch__control--checked .cr-switch__track {
|
|
3020
3014
|
background-color: var(--cr-color-fill-disabled-base);
|
|
3021
3015
|
}
|
|
3022
3016
|
.cr-switch--disabled .cr-switch__track::before {
|