@vygruppen/spor-react 12.24.6 → 12.24.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.
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +9 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +9 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/datepicker/CalendarTriggerButton.tsx +1 -1
- package/src/datepicker/DateTimeSegment.tsx +1 -1
- package/src/input/Autocomplete.tsx +4 -9
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.7 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[32m355.
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m355.85 KB[39m
|
|
15
15
|
[32mCJS[39m [1mdist/icons/index.cjs [22m[32m381.00 B[39m
|
|
16
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m701.87 KB[39m
|
|
17
16
|
[32mCJS[39m [1mdist/icons/index.cjs.map [22m[32m157.00 B[39m
|
|
18
|
-
[32mCJS[39m
|
|
19
|
-
[
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m701.54 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 2891ms
|
|
20
19
|
[32mESM[39m [1mdist/icons/index.mjs [22m[32m110.00 B[39m
|
|
21
|
-
[32mESM[39m [1mdist/index.mjs
|
|
20
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m331.68 KB[39m
|
|
22
21
|
[32mESM[39m [1mdist/icons/index.mjs.map [22m[32m157.00 B[39m
|
|
23
|
-
[32mESM[39m
|
|
24
|
-
[
|
|
22
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m701.54 KB[39m
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 2892ms
|
|
24
|
+
[32mDTS[39m ⚡️ Build success in 21602ms
|
|
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.47 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.47 KB[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.7 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: ⚙️ specify custom .env file path with { path: '/custom/path/.env' }
|
|
6
6
|
[90m┌[39m Chakra CLI ⚡️
|
|
7
7
|
[?25l[90m│[39m
|
|
8
8
|
[35m◒[39m Generating conditions types...
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2312,7 +2312,7 @@ var CalendarTriggerButton = React20.forwardRef(({ variant, disabled, onPress: _,
|
|
|
2312
2312
|
key: "datePicker"
|
|
2313
2313
|
});
|
|
2314
2314
|
const styles = recipe({ variant });
|
|
2315
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.PopoverAnchor, { ...buttonProps, ref, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2315
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.PopoverAnchor, { ...buttonProps, ref, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2316
2316
|
IconButton,
|
|
2317
2317
|
{
|
|
2318
2318
|
icon: /* @__PURE__ */ jsxRuntime.jsx(spor_icon_react_star.CalendarOutline24Icon, {}),
|
|
@@ -2361,7 +2361,7 @@ var DateTimeSegment = React20.forwardRef(
|
|
|
2361
2361
|
borderRadius: "xs",
|
|
2362
2362
|
fontSize: ["mobile.sm", "desktop.sm"],
|
|
2363
2363
|
css: styles.dateTimeSegment,
|
|
2364
|
-
"aria-
|
|
2364
|
+
"aria-label": ariaDescription,
|
|
2365
2365
|
"aria-labelledby": ariaLabel,
|
|
2366
2366
|
children: isPaddable(segment.type) ? segment.text.padStart(2, "0") : segment.text
|
|
2367
2367
|
}
|
|
@@ -3326,6 +3326,7 @@ var Autocomplete = ({
|
|
|
3326
3326
|
loading,
|
|
3327
3327
|
disabled,
|
|
3328
3328
|
emptyLabel,
|
|
3329
|
+
onFocus,
|
|
3329
3330
|
openOnClick = true,
|
|
3330
3331
|
openOnFocus = true,
|
|
3331
3332
|
...rest
|
|
@@ -3381,7 +3382,8 @@ var Autocomplete = ({
|
|
|
3381
3382
|
helperText,
|
|
3382
3383
|
errorText,
|
|
3383
3384
|
required,
|
|
3384
|
-
onFocus: () => {
|
|
3385
|
+
onFocus: (event) => {
|
|
3386
|
+
onFocus == null ? void 0 : onFocus(event);
|
|
3385
3387
|
if (openOnFocus)
|
|
3386
3388
|
combobox.setOpen(true);
|
|
3387
3389
|
}
|
|
@@ -3389,20 +3391,10 @@ var Autocomplete = ({
|
|
|
3389
3391
|
) }),
|
|
3390
3392
|
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts14.clearValue), children: /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { size: "xs" }) }) })
|
|
3391
3393
|
] }),
|
|
3392
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Positioner, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3393
|
-
react.Combobox.
|
|
3394
|
-
{
|
|
3395
|
-
|
|
3396
|
-
if (!event.currentTarget.contains(event.relatedTarget)) {
|
|
3397
|
-
combobox.setOpen(false);
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
children: [
|
|
3401
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Empty, { children: !loading && (emptyLabel ?? t(texts14.noItemsFound)) }),
|
|
3402
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(ColorSpinner, { width: "1.5rem", p: "2" }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: filteredChildren })
|
|
3403
|
-
]
|
|
3404
|
-
}
|
|
3405
|
-
) })
|
|
3394
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Positioner, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.Combobox.Content, { children: [
|
|
3395
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Empty, { children: !loading && (emptyLabel ?? t(texts14.noItemsFound)) }),
|
|
3396
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(ColorSpinner, { width: "1.5rem", p: "2" }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: filteredChildren })
|
|
3397
|
+
] }) })
|
|
3406
3398
|
] });
|
|
3407
3399
|
};
|
|
3408
3400
|
var AutocompleteItemGroup = react.Combobox.ItemGroup;
|