@vygruppen/spor-react 11.3.0 → 11.3.2
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/theme/components/checkbox.ts +12 -10
- package/src/typography/Heading.tsx +4 -3
package/dist/index.mjs
CHANGED
@@ -2396,7 +2396,7 @@ var Heading2 = ({
|
|
2396
2396
|
id: externalId,
|
2397
2397
|
...props
|
2398
2398
|
}) => {
|
2399
|
-
const id = externalId ?? (autoId && typeof props.children === "string"
|
2399
|
+
const id = externalId ?? (autoId && typeof props.children === "string" ? slugify(props.children) : void 0);
|
2400
2400
|
const color = useColorModeValue("text.primary.light", "text.primary.dark");
|
2401
2401
|
return /* @__PURE__ */ React86__default.createElement(Text, { as, textStyle: variant, id, color, ...props });
|
2402
2402
|
};
|
@@ -5985,19 +5985,19 @@ var config9 = helpers6.defineMultiStyleConfig({
|
|
5985
5985
|
baseStyle: (props) => ({
|
5986
5986
|
container: {
|
5987
5987
|
_hover: {
|
5988
|
-
"input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
|
5988
|
+
"input:enabled:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
5989
5989
|
...baseBackground("hover", props),
|
5990
5990
|
borderColor: brandBackground("hover", props).backgroundColor
|
5991
5991
|
},
|
5992
|
-
"input:enabled[aria-invalid] + .chakra-checkbox__control": {
|
5992
|
+
"input:enabled[aria-invalid='true'] + .chakra-checkbox__control": {
|
5993
5993
|
backgroundColor: mode("white", "inherit")(props),
|
5994
5994
|
borderColor: mode("outline.error.light", "outline.error.dark")
|
5995
5995
|
},
|
5996
|
-
"input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
|
5996
|
+
"input:enabled:checked:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
5997
5997
|
...brandBackground("hover", props),
|
5998
5998
|
borderColor: brandBackground("hover", props).backgroundColor
|
5999
5999
|
},
|
6000
|
-
"input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
|
6000
|
+
"input:enabled:checked[aria-invalid='true'] + .chakra-checkbox__control": {
|
6001
6001
|
borderColor: mode("outline.error.light", "outline.error.dark"),
|
6002
6002
|
backgroundColor: mode("outline.error.light", "outline.error.dark")
|
6003
6003
|
}
|