@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/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@11.3.
|
2
|
+
> @vygruppen/spor-react@11.3.2 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx
|
@@ -10,12 +10,12 @@ CLI Target: node16
|
|
10
10
|
CJS Build start
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
DTS ⚡️ Build success in
|
20
|
-
DTS dist/index.d.ts
|
21
|
-
DTS dist/index.d.mts
|
13
|
+
ESM dist/index.mjs 269.30 KB
|
14
|
+
ESM dist/index.mjs.map 592.11 KB
|
15
|
+
ESM ⚡️ Build success in 2239ms
|
16
|
+
CJS dist/index.js 288.09 KB
|
17
|
+
CJS dist/index.js.map 592.11 KB
|
18
|
+
CJS ⚡️ Build success in 2240ms
|
19
|
+
DTS ⚡️ Build success in 17831ms
|
20
|
+
DTS dist/index.d.ts 342.00 KB
|
21
|
+
DTS dist/index.d.mts 342.00 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 11.3.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- bb11775: Update styling for checkbox
|
8
|
+
|
9
|
+
## 11.3.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- 6ac14ad: Fixed bug where externalId on Heading was ignored
|
14
|
+
|
3
15
|
## 11.3.0
|
4
16
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
@@ -3208,19 +3208,19 @@ declare const theme: {
|
|
3208
3208
|
baseStyle?: ((props: _chakra_ui_react.StyleFunctionProps) => {
|
3209
3209
|
container: {
|
3210
3210
|
_hover: {
|
3211
|
-
"input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
|
3211
|
+
"input:enabled:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
3212
3212
|
borderColor: string;
|
3213
3213
|
backgroundColor: string;
|
3214
3214
|
};
|
3215
|
-
"input:enabled[aria-invalid] + .chakra-checkbox__control": {
|
3215
|
+
"input:enabled[aria-invalid='true'] + .chakra-checkbox__control": {
|
3216
3216
|
backgroundColor: string;
|
3217
3217
|
borderColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3218
3218
|
};
|
3219
|
-
"input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
|
3219
|
+
"input:enabled:checked:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
3220
3220
|
borderColor: string;
|
3221
3221
|
backgroundColor: string;
|
3222
3222
|
};
|
3223
|
-
"input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
|
3223
|
+
"input:enabled:checked[aria-invalid='true'] + .chakra-checkbox__control": {
|
3224
3224
|
borderColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3225
3225
|
backgroundColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3226
3226
|
};
|
package/dist/index.d.ts
CHANGED
@@ -3208,19 +3208,19 @@ declare const theme: {
|
|
3208
3208
|
baseStyle?: ((props: _chakra_ui_react.StyleFunctionProps) => {
|
3209
3209
|
container: {
|
3210
3210
|
_hover: {
|
3211
|
-
"input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
|
3211
|
+
"input:enabled:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
3212
3212
|
borderColor: string;
|
3213
3213
|
backgroundColor: string;
|
3214
3214
|
};
|
3215
|
-
"input:enabled[aria-invalid] + .chakra-checkbox__control": {
|
3215
|
+
"input:enabled[aria-invalid='true'] + .chakra-checkbox__control": {
|
3216
3216
|
backgroundColor: string;
|
3217
3217
|
borderColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3218
3218
|
};
|
3219
|
-
"input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
|
3219
|
+
"input:enabled:checked:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
3220
3220
|
borderColor: string;
|
3221
3221
|
backgroundColor: string;
|
3222
3222
|
};
|
3223
|
-
"input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
|
3223
|
+
"input:enabled:checked[aria-invalid='true'] + .chakra-checkbox__control": {
|
3224
3224
|
borderColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3225
3225
|
backgroundColor: (props: Record<string, any> | _chakra_ui_styled_system.StyleFunctionProps) => string;
|
3226
3226
|
};
|
package/dist/index.js
CHANGED
@@ -2416,7 +2416,7 @@ var Heading2 = ({
|
|
2416
2416
|
id: externalId,
|
2417
2417
|
...props
|
2418
2418
|
}) => {
|
2419
|
-
const id = externalId ?? (autoId && typeof props.children === "string"
|
2419
|
+
const id = externalId ?? (autoId && typeof props.children === "string" ? slugify(props.children) : void 0);
|
2420
2420
|
const color = react.useColorModeValue("text.primary.light", "text.primary.dark");
|
2421
2421
|
return /* @__PURE__ */ React86__namespace.default.createElement(react.Text, { as, textStyle: variant, id, color, ...props });
|
2422
2422
|
};
|
@@ -6005,19 +6005,19 @@ var config9 = helpers6.defineMultiStyleConfig({
|
|
6005
6005
|
baseStyle: (props) => ({
|
6006
6006
|
container: {
|
6007
6007
|
_hover: {
|
6008
|
-
"input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
|
6008
|
+
"input:enabled:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
6009
6009
|
...baseBackground("hover", props),
|
6010
6010
|
borderColor: brandBackground("hover", props).backgroundColor
|
6011
6011
|
},
|
6012
|
-
"input:enabled[aria-invalid] + .chakra-checkbox__control": {
|
6012
|
+
"input:enabled[aria-invalid='true'] + .chakra-checkbox__control": {
|
6013
6013
|
backgroundColor: themeTools.mode("white", "inherit")(props),
|
6014
6014
|
borderColor: themeTools.mode("outline.error.light", "outline.error.dark")
|
6015
6015
|
},
|
6016
|
-
"input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
|
6016
|
+
"input:enabled:checked:not([aria-invalid='true']) + .chakra-checkbox__control": {
|
6017
6017
|
...brandBackground("hover", props),
|
6018
6018
|
borderColor: brandBackground("hover", props).backgroundColor
|
6019
6019
|
},
|
6020
|
-
"input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
|
6020
|
+
"input:enabled:checked[aria-invalid='true'] + .chakra-checkbox__control": {
|
6021
6021
|
borderColor: themeTools.mode("outline.error.light", "outline.error.dark"),
|
6022
6022
|
backgroundColor: themeTools.mode("outline.error.light", "outline.error.dark")
|
6023
6023
|
}
|