@vygruppen/spor-react 12.24.12 → 12.24.14
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 +12 -12
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +14 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.mjs +14 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/nudge/Nudge.tsx +11 -2
- package/src/stepper/StepperStep.tsx +2 -5
- package/src/theme/slot-recipes/datepicker.ts +1 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.14 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
|
-
[
|
|
15
|
-
[32mESM[39m [1mdist/icons/index.mjs [22m[32m110.00 B[39m
|
|
16
|
-
[32mESM[39m [1mdist/icons/index.mjs.map [22m[32m157.00 B[39m
|
|
17
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m706.20 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in 2770ms
|
|
19
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m358.99 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m358.95 KB[39m
|
|
20
15
|
[32mCJS[39m [1mdist/icons/index.cjs [22m[32m381.00 B[39m
|
|
21
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m706.20 KB[39m
|
|
22
16
|
[32mCJS[39m [1mdist/icons/index.cjs.map [22m[32m157.00 B[39m
|
|
23
|
-
[32mCJS[39m
|
|
24
|
-
[
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m706.17 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 2590ms
|
|
19
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m334.78 KB[39m
|
|
20
|
+
[32mESM[39m [1mdist/icons/index.mjs [22m[32m110.00 B[39m
|
|
21
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m706.17 KB[39m
|
|
22
|
+
[32mESM[39m [1mdist/icons/index.mjs.map [22m[32m157.00 B[39m
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 2590ms
|
|
24
|
+
[32mDTS[39m ⚡️ Build success in 20304ms
|
|
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.64 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.64 KB[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.24.
|
|
2
|
+
> @vygruppen/spor-react@12.24.14 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: 🔐 prevent committing .env to code: https://dotenvx.com/precommit
|
|
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,18 @@
|
|
|
1
1
|
# @vygruppen/spor-react
|
|
2
2
|
|
|
3
|
+
## 12.24.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a79c7e3: Fix contrast on stepper in darkmode
|
|
8
|
+
|
|
9
|
+
## 12.24.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 36f8706: Avoid passing defaultOpen to controlled Nudge popovers
|
|
14
|
+
- fd6a463: Fix bg color for floating datepicker
|
|
15
|
+
|
|
3
16
|
## 12.24.12
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -5737,12 +5737,21 @@ var logExpirationWarning = () => {
|
|
|
5737
5737
|
}
|
|
5738
5738
|
};
|
|
5739
5739
|
var Nudge = (props) => {
|
|
5740
|
-
const { introducedDate, size = "md", ...rest } = props;
|
|
5740
|
+
const { introducedDate, size = "md", open, ...rest } = props;
|
|
5741
5741
|
if (isNudgeExpired(introducedDate)) {
|
|
5742
5742
|
logExpirationWarning();
|
|
5743
5743
|
return null;
|
|
5744
5744
|
}
|
|
5745
|
-
|
|
5745
|
+
const isControlled = open !== void 0;
|
|
5746
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5747
|
+
Popover2,
|
|
5748
|
+
{
|
|
5749
|
+
defaultOpen: isControlled ? void 0 : true,
|
|
5750
|
+
open,
|
|
5751
|
+
size,
|
|
5752
|
+
...rest
|
|
5753
|
+
}
|
|
5754
|
+
);
|
|
5746
5755
|
};
|
|
5747
5756
|
var NudgeTrigger = React20.forwardRef(({ ...props }, ref) => {
|
|
5748
5757
|
return /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { ...props, ref });
|
|
@@ -6356,11 +6365,8 @@ var StepperStep = ({
|
|
|
6356
6365
|
const state = getState(stepNumber, activeStep);
|
|
6357
6366
|
const recipe = react.useSlotRecipe({ key: "stepper" });
|
|
6358
6367
|
const style = recipe({ variant });
|
|
6359
|
-
const disabledTextColor = "text.
|
|
6360
|
-
const iconColor =
|
|
6361
|
-
_light: "blackAlpha.200",
|
|
6362
|
-
_dark: "whiteAlpha.200"
|
|
6363
|
-
};
|
|
6368
|
+
const disabledTextColor = "text.tertiary";
|
|
6369
|
+
const iconColor = "text.tertiary";
|
|
6364
6370
|
const disabled = state !== "active" && disabledOverride || state === "disabled";
|
|
6365
6371
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { css: style.stepContainer, "data-part": "step-container", children: [
|
|
6366
6372
|
stepNumber > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8585,10 +8591,7 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
|
|
|
8585
8591
|
},
|
|
8586
8592
|
floating: {
|
|
8587
8593
|
wrapper: {
|
|
8588
|
-
|
|
8589
|
-
_light: "bg",
|
|
8590
|
-
_dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
|
|
8591
|
-
},
|
|
8594
|
+
bg: "floating.surface",
|
|
8592
8595
|
outline: "1px solid",
|
|
8593
8596
|
outlineColor: "floating.outline",
|
|
8594
8597
|
boxShadow: "sm",
|