@vygruppen/spor-react 12.8.8 → 12.8.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 +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/input/Field.tsx +2 -0
- package/src/input/Input.tsx +1 -0
- package/src/input/NativeSelect.tsx +1 -0
- package/src/input/NumericStepper.tsx +1 -1
- package/src/input/Select.tsx +1 -0
- package/src/input/Switch.tsx +1 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.8.
|
2
|
+
> @vygruppen/spor-react@12.8.9 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -11,17 +11,17 @@ CLI Cleaning output folder
|
|
11
11
|
ESM Build start
|
12
12
|
CJS Build start
|
13
13
|
DTS Build start
|
14
|
-
|
15
|
-
ESM dist/icons/index.mjs 110.00 B
|
16
|
-
ESM dist/index.mjs.map 628.65 KB
|
17
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
18
|
-
ESM ⚡️ Build success in 2969ms
|
19
|
-
CJS dist/index.cjs 314.45 KB
|
14
|
+
CJS dist/index.cjs 314.57 KB
|
20
15
|
CJS dist/icons/index.cjs 381.00 B
|
21
|
-
CJS dist/index.cjs.map 628.65 KB
|
22
16
|
CJS dist/icons/index.cjs.map 157.00 B
|
23
|
-
CJS
|
24
|
-
|
17
|
+
CJS dist/index.cjs.map 628.88 KB
|
18
|
+
CJS ⚡️ Build success in 2988ms
|
19
|
+
ESM dist/index.mjs 293.69 KB
|
20
|
+
ESM dist/icons/index.mjs 110.00 B
|
21
|
+
ESM dist/index.mjs.map 628.88 KB
|
22
|
+
ESM dist/icons/index.mjs.map 157.00 B
|
23
|
+
ESM ⚡️ Build success in 2990ms
|
24
|
+
DTS ⚡️ Build success in 29591ms
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
26
26
|
DTS dist/index.d.ts 156.34 KB
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
@@ -1397,6 +1397,7 @@ var Field3 = React27__namespace.forwardRef(
|
|
1397
1397
|
readOnly,
|
1398
1398
|
required,
|
1399
1399
|
direction,
|
1400
|
+
id,
|
1400
1401
|
...rest
|
1401
1402
|
} = props;
|
1402
1403
|
const recipe = react.useSlotRecipe({ key: "field" });
|
@@ -1411,6 +1412,7 @@ var Field3 = React27__namespace.forwardRef(
|
|
1411
1412
|
required,
|
1412
1413
|
css: styles.root,
|
1413
1414
|
direction,
|
1415
|
+
id,
|
1414
1416
|
children: [
|
1415
1417
|
label && !floatingLabel && /* @__PURE__ */ jsxRuntime.jsxs(Label, { children: [
|
1416
1418
|
label,
|
@@ -2833,6 +2835,7 @@ var Input = React27.forwardRef(
|
|
2833
2835
|
helperText,
|
2834
2836
|
required,
|
2835
2837
|
errorText,
|
2838
|
+
id: props.id,
|
2836
2839
|
label: (
|
2837
2840
|
// Render startElement invisibly to align label text with input content when an icon is present
|
2838
2841
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { children: [
|
@@ -2995,6 +2998,7 @@ var NativeSelect = React27__namespace.forwardRef(function NativeSelect2(props, r
|
|
2995
2998
|
required,
|
2996
2999
|
helperText,
|
2997
3000
|
errorText,
|
3001
|
+
id: rest.id,
|
2998
3002
|
floatingLabel: true,
|
2999
3003
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
3000
3004
|
react.NativeSelect.Root,
|
@@ -3049,7 +3053,7 @@ var NumericStepper = React27__namespace.default.forwardRef((props, ref) => {
|
|
3049
3053
|
var _a5;
|
3050
3054
|
(_a5 = addButtonRef.current) == null ? void 0 : _a5.focus();
|
3051
3055
|
};
|
3052
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Field3, { css: styles.root, width: "auto", ...rest, ref, children: [
|
3056
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Field3, { css: styles.root, width: "auto", ...rest, id: idProp, ref, children: [
|
3053
3057
|
/* @__PURE__ */ jsxRuntime.jsx(
|
3054
3058
|
VerySmallButton,
|
3055
3059
|
{
|
@@ -3511,6 +3515,7 @@ var Select = React27__namespace.forwardRef(
|
|
3511
3515
|
invalid,
|
3512
3516
|
helperText,
|
3513
3517
|
required: props.required,
|
3518
|
+
id: rest.id,
|
3514
3519
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
3515
3520
|
react.Select.Root,
|
3516
3521
|
{
|
@@ -3636,6 +3641,7 @@ var Switch = React27.forwardRef(
|
|
3636
3641
|
errorText,
|
3637
3642
|
helperText,
|
3638
3643
|
required: props.required,
|
3644
|
+
id: rest.id,
|
3639
3645
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
3640
3646
|
react.Switch.Root,
|
3641
3647
|
{
|