lizaui 11.0.6 → 11.0.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-theme.style.d.ts","sourceRoot":"","sources":["../../../../src/components/select-input/style/select-theme.style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAmD5D,eAAO,MAAM,cAAc,GAAI,MAAM,SAAS,YAAY,EAAE,OAAO,SAAS,OAAO,EAAE,gDAMlF,gBAAgB,KAAG,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"select-theme.style.d.ts","sourceRoot":"","sources":["../../../../src/components/select-input/style/select-theme.style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAmD5D,eAAO,MAAM,cAAc,GAAI,MAAM,SAAS,YAAY,EAAE,OAAO,SAAS,OAAO,EAAE,gDAMlF,gBAAgB,KAAG,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAoGpE,CAAC"}
|
|
@@ -5649,6 +5649,8 @@ const fcSelectStyles = ({
|
|
|
5649
5649
|
}) => {
|
|
5650
5650
|
const colors2 = colorTokens[color];
|
|
5651
5651
|
const invalidColor = "var(--color-danger-default)";
|
|
5652
|
+
const focusColor = isInvalid ? invalidColor : "var(--color-primary-default)";
|
|
5653
|
+
const focusRingColor = `color-mix(in oklab, ${focusColor} 20%, transparent)`;
|
|
5652
5654
|
return {
|
|
5653
5655
|
option: (styles, {
|
|
5654
5656
|
isDisabled,
|
|
@@ -5763,9 +5765,8 @@ const fcSelectStyles = ({
|
|
|
5763
5765
|
borderColor: isInvalid ? invalidColor : "var(--color-default-400)"
|
|
5764
5766
|
},
|
|
5765
5767
|
":has(input:focus-visible)": {
|
|
5766
|
-
borderColor:
|
|
5767
|
-
|
|
5768
|
-
outlineOffset: "2px"
|
|
5768
|
+
borderColor: focusColor,
|
|
5769
|
+
boxShadow: `0 0 0 3px ${focusRingColor}`
|
|
5769
5770
|
}
|
|
5770
5771
|
})
|
|
5771
5772
|
};
|