@vygruppen/spor-react 12.24.7 → 12.24.9
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/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +17 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.mjs +17 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/input/NumericStepper.tsx +7 -2
- package/src/theme/slot-recipes/numeric-stepper.ts +11 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.9 build /home/runner/work/spor/spor/packages/spor-react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx, src/icons/index.tsx
|
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mDTS[39m Build start
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs [22m[
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m356.13 KB[39m
|
|
15
15
|
[32mCJS[39m [1mdist/icons/index.cjs [22m[32m381.00 B[39m
|
|
16
16
|
[32mCJS[39m [1mdist/icons/index.cjs.map [22m[32m157.00 B[39m
|
|
17
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m702.12 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 2606ms
|
|
19
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m331.95 KB[39m
|
|
19
20
|
[32mESM[39m [1mdist/icons/index.mjs [22m[32m110.00 B[39m
|
|
20
|
-
[32mESM[39m [1mdist/index.mjs
|
|
21
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m702.12 KB[39m
|
|
21
22
|
[32mESM[39m [1mdist/icons/index.mjs.map [22m[32m157.00 B[39m
|
|
22
|
-
[32mESM[39m
|
|
23
|
-
[
|
|
24
|
-
[32mDTS[39m ⚡️ Build success in 21602ms
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 2609ms
|
|
24
|
+
[32mDTS[39m ⚡️ Build success in 20140ms
|
|
25
25
|
[32mDTS[39m [1mdist/icons/index.d.ts [22m[32m44.00 B[39m
|
|
26
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m147.
|
|
26
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m147.62 KB[39m
|
|
27
27
|
[32mDTS[39m [1mdist/icons/index.d.cts [22m[32m44.00 B[39m
|
|
28
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m147.
|
|
28
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m147.62 KB[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.9 postinstall /home/runner/work/spor/spor/packages/spor-react
|
|
3
3
|
> chakra typegen src/theme/index.ts
|
|
4
4
|
|
|
5
|
-
[dotenv@17.3.1] injecting env (0) from .env -- tip:
|
|
5
|
+
[dotenv@17.3.1] injecting env (0) from .env -- tip: 🛡️ auth for agents: https://vestauth.com
|
|
6
6
|
[90m┌[39m Chakra CLI ⚡️
|
|
7
7
|
[?25l[90m│[39m
|
|
8
8
|
[35m◒[39m Generating conditions types...
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @vygruppen/spor-react
|
|
2
2
|
|
|
3
|
+
## 12.24.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 795555b: Revert radiocard VO fix. Created other issues with voice-over
|
|
8
|
+
|
|
9
|
+
## 12.24.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 65d79ba: add padding to numeric stepper when stepSize is visible
|
|
14
|
+
- e83b70a: improve the support of voiceover for RadioCards
|
|
15
|
+
- @vygruppen/spor-icon-react@4.5.2
|
|
16
|
+
|
|
3
17
|
## 12.24.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -4060,7 +4060,8 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4060
4060
|
focusOnAddButton();
|
|
4061
4061
|
}
|
|
4062
4062
|
},
|
|
4063
|
-
disabled: disabled || value <= minValue
|
|
4063
|
+
disabled: disabled || value <= minValue,
|
|
4064
|
+
withStepLabel: stepSize != 1
|
|
4064
4065
|
}
|
|
4065
4066
|
),
|
|
4066
4067
|
withInput ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4109,7 +4110,8 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4109
4110
|
)
|
|
4110
4111
|
),
|
|
4111
4112
|
onClick: () => onChange(Math.min(value + clampedStepSize, maxValue)),
|
|
4112
|
-
disabled: disabled || value >= maxValue
|
|
4113
|
+
disabled: disabled || value >= maxValue,
|
|
4114
|
+
withStepLabel: stepSize != 1
|
|
4113
4115
|
}
|
|
4114
4116
|
)
|
|
4115
4117
|
]
|
|
@@ -4118,8 +4120,9 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4118
4120
|
});
|
|
4119
4121
|
NumericStepper.displayName = "NumericStepper";
|
|
4120
4122
|
var VerySmallButton = React20__namespace.default.forwardRef((props, ref) => {
|
|
4123
|
+
const { withStepLabel = false, ...rest } = props;
|
|
4121
4124
|
const recipe = react.useSlotRecipe({ key: "numericStepper" });
|
|
4122
|
-
const styles = recipe({
|
|
4125
|
+
const styles = recipe({ withStepLabel });
|
|
4123
4126
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4124
4127
|
IconButton,
|
|
4125
4128
|
{
|
|
@@ -4127,7 +4130,7 @@ var VerySmallButton = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4127
4130
|
size: "xs",
|
|
4128
4131
|
css: styles.button,
|
|
4129
4132
|
ref,
|
|
4130
|
-
...
|
|
4133
|
+
...rest
|
|
4131
4134
|
}
|
|
4132
4135
|
);
|
|
4133
4136
|
});
|
|
@@ -9831,6 +9834,16 @@ var numericStepperRecipe = react.defineSlotRecipe({
|
|
|
9831
9834
|
height: "1.2rem"
|
|
9832
9835
|
}
|
|
9833
9836
|
}
|
|
9837
|
+
},
|
|
9838
|
+
variants: {
|
|
9839
|
+
withStepLabel: {
|
|
9840
|
+
true: {
|
|
9841
|
+
button: {
|
|
9842
|
+
paddingInline: "1 !important"
|
|
9843
|
+
}
|
|
9844
|
+
},
|
|
9845
|
+
false: {}
|
|
9846
|
+
}
|
|
9834
9847
|
}
|
|
9835
9848
|
});
|
|
9836
9849
|
var paginationSlotRecipe = react.defineSlotRecipe({
|