@vygruppen/spor-react 7.0.0 → 7.0.1
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 +8 -0
- package/dist/{CountryCodeSelect-OK6RZ6AY.mjs → CountryCodeSelect-EKQUBVBJ.mjs} +1 -1
- package/dist/{chunk-CYU6YFQK.mjs → chunk-CSCLMQYA.mjs} +19 -15
- package/dist/index.d.mts +26 -6
- package/dist/index.d.ts +26 -6
- package/dist/index.js +18 -14
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/stepper/Stepper.tsx +1 -1
- package/src/stepper/StepperStep.tsx +1 -1
- package/src/theme/components/button.ts +3 -3
- package/src/theme/components/fab.ts +6 -2
- package/src/theme/components/progress-indicator.ts +1 -1
- package/src/theme/components/stepper.ts +6 -6
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@7.0.
|
2
|
+
> @vygruppen/spor-react@7.0.1 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -8,15 +8,15 @@
|
|
8
8
|
[34mCLI[39m Target: node16
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
|
-
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-CYU6YFQK.mjs".
|
12
11
|
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
|
12
|
+
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-CSCLMQYA.mjs".
|
13
13
|
[34mDTS[39m Build start
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m493.23 KB[39m
|
15
|
+
[32mCJS[39m ⚡️ Build success in 2280ms
|
14
16
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.16 KB[39m
|
15
|
-
[32mESM[39m [1mdist/CountryCodeSelect-
|
16
|
-
[32mESM[39m [1mdist/chunk-
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
18
|
-
[
|
19
|
-
[
|
20
|
-
[32mDTS[39m
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m262.80 KB[39m
|
22
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m262.80 KB[39m
|
17
|
+
[32mESM[39m [1mdist/CountryCodeSelect-EKQUBVBJ.mjs [22m[32m1.19 KB[39m
|
18
|
+
[32mESM[39m [1mdist/chunk-CSCLMQYA.mjs [22m[32m386.09 KB[39m
|
19
|
+
[32mESM[39m ⚡️ Build success in 2281ms
|
20
|
+
[32mDTS[39m ⚡️ Build success in 10981ms
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m263.56 KB[39m
|
22
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m263.56 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 7.0.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 1e960e1: Button, FAB: Tweak disabled state
|
8
|
+
- a7590c8: ProgressIndicator: Change colors of inactive dots
|
9
|
+
- 0ccf0c5: Stepper: Change the breakpoint for when the stepper changes from one design to another
|
10
|
+
|
3
11
|
## 7.0.0
|
4
12
|
|
5
13
|
### Major Changes
|
@@ -3417,7 +3417,7 @@ var texts14 = createTexts({
|
|
3417
3417
|
sv: "Telefonnummer"
|
3418
3418
|
}
|
3419
3419
|
});
|
3420
|
-
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-
|
3420
|
+
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-EKQUBVBJ.mjs'));
|
3421
3421
|
var Radio = forwardRef((props, ref) => {
|
3422
3422
|
return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
|
3423
3423
|
});
|
@@ -4310,7 +4310,7 @@ var Stepper = ({
|
|
4310
4310
|
},
|
4311
4311
|
step
|
4312
4312
|
))
|
4313
|
-
)), title && /* @__PURE__ */ React69__default.createElement(Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React69__default.createElement(Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index) => /* @__PURE__ */ React69__default.createElement(StepperStep, { key: index, stepNumber: index + 1, variant }, step))))
|
4313
|
+
)), title && /* @__PURE__ */ React69__default.createElement(Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React69__default.createElement(Flex, { justifyContent: "center", display: ["none", null, "flex"] }, steps.map((step, index) => /* @__PURE__ */ React69__default.createElement(StepperStep, { key: index, stepNumber: index + 1, variant }, step))))
|
4314
4314
|
));
|
4315
4315
|
};
|
4316
4316
|
var texts22 = createTexts({
|
@@ -10095,12 +10095,12 @@ var config6 = defineStyleConfig$1({
|
|
10095
10095
|
_disabled: {
|
10096
10096
|
cursor: "not-allowed",
|
10097
10097
|
boxShadow: "none",
|
10098
|
-
backgroundColor: "
|
10099
|
-
color: "
|
10098
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
10099
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
10100
10100
|
},
|
10101
10101
|
_hover: {
|
10102
10102
|
_disabled: {
|
10103
|
-
background: "
|
10103
|
+
background: mode("blackAlpha.100", "whiteAlpha.100")(props)
|
10104
10104
|
}
|
10105
10105
|
}
|
10106
10106
|
}),
|
@@ -11240,12 +11240,16 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11240
11240
|
position: "fixed",
|
11241
11241
|
...getPositionProps(props),
|
11242
11242
|
_disabled: {
|
11243
|
-
backgroundColor: "whiteAlpha.
|
11244
|
-
color: "
|
11243
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
11244
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11245
11245
|
},
|
11246
11246
|
...focusVisibleStyles(props),
|
11247
11247
|
_hover: {
|
11248
|
-
backgroundColor: "seaMist"
|
11248
|
+
backgroundColor: "seaMist",
|
11249
|
+
_disabled: {
|
11250
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
11251
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11252
|
+
}
|
11249
11253
|
},
|
11250
11254
|
zIndex: "sticky"
|
11251
11255
|
},
|
@@ -12435,7 +12439,7 @@ var config28 = helpers19.defineMultiStyleConfig({
|
|
12435
12439
|
}
|
12436
12440
|
},
|
12437
12441
|
circle: {
|
12438
|
-
fill: mode("blackAlpha.
|
12442
|
+
fill: mode("blackAlpha.200", "whiteAlpha.200")(props)
|
12439
12443
|
}
|
12440
12444
|
}
|
12441
12445
|
}),
|
@@ -12585,24 +12589,24 @@ var parts14 = anatomy$1("stepper").parts(
|
|
12585
12589
|
);
|
12586
12590
|
var helpers22 = createMultiStyleConfigHelpers$1(parts14.keys);
|
12587
12591
|
var config32 = helpers22.defineMultiStyleConfig({
|
12588
|
-
baseStyle:
|
12592
|
+
baseStyle: {
|
12589
12593
|
root: {
|
12590
12594
|
display: "flex",
|
12591
12595
|
alignItems: "center",
|
12592
|
-
justifyContent: ["space-between", "center"],
|
12593
|
-
minHeight: ["48px", "60px"],
|
12596
|
+
justifyContent: ["space-between", null, "center"],
|
12597
|
+
minHeight: ["48px", null, "60px"],
|
12594
12598
|
overflowX: "auto",
|
12595
12599
|
width: "100%"
|
12596
12600
|
},
|
12597
12601
|
container: {
|
12598
|
-
paddingX: [2,
|
12602
|
+
paddingX: [2, null, null, 0],
|
12599
12603
|
maxWidth: "container.lg",
|
12600
12604
|
marginX: "auto",
|
12601
12605
|
width: "100%"
|
12602
12606
|
},
|
12603
12607
|
innerContainer: {
|
12604
12608
|
overflow: "hidden",
|
12605
|
-
display: ["flex", "none"],
|
12609
|
+
display: ["flex", null, "none"],
|
12606
12610
|
alignItems: "center",
|
12607
12611
|
justifyContent: "space-between"
|
12608
12612
|
},
|
@@ -12629,7 +12633,7 @@ var config32 = helpers22.defineMultiStyleConfig({
|
|
12629
12633
|
textStyle: "sm",
|
12630
12634
|
whiteSpace: "nowrap"
|
12631
12635
|
}
|
12632
|
-
}
|
12636
|
+
},
|
12633
12637
|
variants: {
|
12634
12638
|
base: () => ({
|
12635
12639
|
root: {
|
package/dist/index.d.mts
CHANGED
@@ -3312,6 +3312,10 @@ declare const theme: {
|
|
3312
3312
|
container: {
|
3313
3313
|
_hover: {
|
3314
3314
|
backgroundColor: string;
|
3315
|
+
_disabled: {
|
3316
|
+
backgroundColor: string;
|
3317
|
+
color: string;
|
3318
|
+
};
|
3315
3319
|
};
|
3316
3320
|
zIndex: string;
|
3317
3321
|
_focusVisible: {
|
@@ -3340,6 +3344,10 @@ declare const theme: {
|
|
3340
3344
|
} | {
|
3341
3345
|
_hover: {
|
3342
3346
|
backgroundColor: string;
|
3347
|
+
_disabled: {
|
3348
|
+
backgroundColor: string;
|
3349
|
+
color: string;
|
3350
|
+
};
|
3343
3351
|
};
|
3344
3352
|
zIndex: string;
|
3345
3353
|
_focusVisible: {
|
@@ -3372,6 +3380,10 @@ declare const theme: {
|
|
3372
3380
|
} | {
|
3373
3381
|
_hover: {
|
3374
3382
|
backgroundColor: string;
|
3383
|
+
_disabled: {
|
3384
|
+
backgroundColor: string;
|
3385
|
+
color: string;
|
3386
|
+
};
|
3375
3387
|
};
|
3376
3388
|
zIndex: string;
|
3377
3389
|
_focusVisible: {
|
@@ -3404,6 +3416,10 @@ declare const theme: {
|
|
3404
3416
|
} | {
|
3405
3417
|
_hover: {
|
3406
3418
|
backgroundColor: string;
|
3419
|
+
_disabled: {
|
3420
|
+
backgroundColor: string;
|
3421
|
+
color: string;
|
3422
|
+
};
|
3407
3423
|
};
|
3408
3424
|
zIndex: string;
|
3409
3425
|
_focusVisible: {
|
@@ -3436,6 +3452,10 @@ declare const theme: {
|
|
3436
3452
|
} | {
|
3437
3453
|
_hover: {
|
3438
3454
|
backgroundColor: string;
|
3455
|
+
_disabled: {
|
3456
|
+
backgroundColor: string;
|
3457
|
+
color: string;
|
3458
|
+
};
|
3439
3459
|
};
|
3440
3460
|
zIndex: string;
|
3441
3461
|
_focusVisible: {
|
@@ -4693,24 +4713,24 @@ declare const theme: {
|
|
4693
4713
|
} | undefined;
|
4694
4714
|
};
|
4695
4715
|
Stepper: {
|
4696
|
-
baseStyle?:
|
4716
|
+
baseStyle?: {
|
4697
4717
|
root: {
|
4698
4718
|
display: string;
|
4699
4719
|
alignItems: string;
|
4700
|
-
justifyContent: ("center" | "space-between")[];
|
4701
|
-
minHeight: ("48px" | "60px")[];
|
4720
|
+
justifyContent: ("center" | "space-between" | null)[];
|
4721
|
+
minHeight: ("48px" | "60px" | null)[];
|
4702
4722
|
overflowX: string;
|
4703
4723
|
width: string;
|
4704
4724
|
};
|
4705
4725
|
container: {
|
4706
|
-
paddingX: number[];
|
4726
|
+
paddingX: (number | null)[];
|
4707
4727
|
maxWidth: string;
|
4708
4728
|
marginX: string;
|
4709
4729
|
width: string;
|
4710
4730
|
};
|
4711
4731
|
innerContainer: {
|
4712
4732
|
overflow: string;
|
4713
|
-
display: ("flex" | "none")[];
|
4733
|
+
display: ("flex" | "none" | null)[];
|
4714
4734
|
alignItems: string;
|
4715
4735
|
justifyContent: string;
|
4716
4736
|
};
|
@@ -4737,7 +4757,7 @@ declare const theme: {
|
|
4737
4757
|
textStyle: string;
|
4738
4758
|
whiteSpace: string;
|
4739
4759
|
};
|
4740
|
-
}
|
4760
|
+
} | undefined;
|
4741
4761
|
sizes?: {
|
4742
4762
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
4743
4763
|
keys: ("title" | "container" | "closeButton" | "root" | "innerContainer" | "backButton" | "stepCounter" | "stepContainer" | "stepButton" | "stepNumber" | "stepTitle")[];
|
package/dist/index.d.ts
CHANGED
@@ -3312,6 +3312,10 @@ declare const theme: {
|
|
3312
3312
|
container: {
|
3313
3313
|
_hover: {
|
3314
3314
|
backgroundColor: string;
|
3315
|
+
_disabled: {
|
3316
|
+
backgroundColor: string;
|
3317
|
+
color: string;
|
3318
|
+
};
|
3315
3319
|
};
|
3316
3320
|
zIndex: string;
|
3317
3321
|
_focusVisible: {
|
@@ -3340,6 +3344,10 @@ declare const theme: {
|
|
3340
3344
|
} | {
|
3341
3345
|
_hover: {
|
3342
3346
|
backgroundColor: string;
|
3347
|
+
_disabled: {
|
3348
|
+
backgroundColor: string;
|
3349
|
+
color: string;
|
3350
|
+
};
|
3343
3351
|
};
|
3344
3352
|
zIndex: string;
|
3345
3353
|
_focusVisible: {
|
@@ -3372,6 +3380,10 @@ declare const theme: {
|
|
3372
3380
|
} | {
|
3373
3381
|
_hover: {
|
3374
3382
|
backgroundColor: string;
|
3383
|
+
_disabled: {
|
3384
|
+
backgroundColor: string;
|
3385
|
+
color: string;
|
3386
|
+
};
|
3375
3387
|
};
|
3376
3388
|
zIndex: string;
|
3377
3389
|
_focusVisible: {
|
@@ -3404,6 +3416,10 @@ declare const theme: {
|
|
3404
3416
|
} | {
|
3405
3417
|
_hover: {
|
3406
3418
|
backgroundColor: string;
|
3419
|
+
_disabled: {
|
3420
|
+
backgroundColor: string;
|
3421
|
+
color: string;
|
3422
|
+
};
|
3407
3423
|
};
|
3408
3424
|
zIndex: string;
|
3409
3425
|
_focusVisible: {
|
@@ -3436,6 +3452,10 @@ declare const theme: {
|
|
3436
3452
|
} | {
|
3437
3453
|
_hover: {
|
3438
3454
|
backgroundColor: string;
|
3455
|
+
_disabled: {
|
3456
|
+
backgroundColor: string;
|
3457
|
+
color: string;
|
3458
|
+
};
|
3439
3459
|
};
|
3440
3460
|
zIndex: string;
|
3441
3461
|
_focusVisible: {
|
@@ -4693,24 +4713,24 @@ declare const theme: {
|
|
4693
4713
|
} | undefined;
|
4694
4714
|
};
|
4695
4715
|
Stepper: {
|
4696
|
-
baseStyle?:
|
4716
|
+
baseStyle?: {
|
4697
4717
|
root: {
|
4698
4718
|
display: string;
|
4699
4719
|
alignItems: string;
|
4700
|
-
justifyContent: ("center" | "space-between")[];
|
4701
|
-
minHeight: ("48px" | "60px")[];
|
4720
|
+
justifyContent: ("center" | "space-between" | null)[];
|
4721
|
+
minHeight: ("48px" | "60px" | null)[];
|
4702
4722
|
overflowX: string;
|
4703
4723
|
width: string;
|
4704
4724
|
};
|
4705
4725
|
container: {
|
4706
|
-
paddingX: number[];
|
4726
|
+
paddingX: (number | null)[];
|
4707
4727
|
maxWidth: string;
|
4708
4728
|
marginX: string;
|
4709
4729
|
width: string;
|
4710
4730
|
};
|
4711
4731
|
innerContainer: {
|
4712
4732
|
overflow: string;
|
4713
|
-
display: ("flex" | "none")[];
|
4733
|
+
display: ("flex" | "none" | null)[];
|
4714
4734
|
alignItems: string;
|
4715
4735
|
justifyContent: string;
|
4716
4736
|
};
|
@@ -4737,7 +4757,7 @@ declare const theme: {
|
|
4737
4757
|
textStyle: string;
|
4738
4758
|
whiteSpace: string;
|
4739
4759
|
};
|
4740
|
-
}
|
4760
|
+
} | undefined;
|
4741
4761
|
sizes?: {
|
4742
4762
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
4743
4763
|
keys: ("title" | "container" | "closeButton" | "root" | "innerContainer" | "backButton" | "stepCounter" | "stepContainer" | "stepButton" | "stepNumber" | "stepTitle")[];
|
package/dist/index.js
CHANGED
@@ -5182,7 +5182,7 @@ var init_Stepper = __esm({
|
|
5182
5182
|
},
|
5183
5183
|
step
|
5184
5184
|
))
|
5185
|
-
)), title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index) => /* @__PURE__ */ React69__namespace.default.createElement(exports.StepperStep, { key: index, stepNumber: index + 1, variant }, step))))
|
5185
|
+
)), title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", null, "flex"] }, steps.map((step, index) => /* @__PURE__ */ React69__namespace.default.createElement(exports.StepperStep, { key: index, stepNumber: index + 1, variant }, step))))
|
5186
5186
|
));
|
5187
5187
|
};
|
5188
5188
|
texts23 = createTexts({
|
@@ -11536,12 +11536,12 @@ var init_button2 = __esm({
|
|
11536
11536
|
_disabled: {
|
11537
11537
|
cursor: "not-allowed",
|
11538
11538
|
boxShadow: "none",
|
11539
|
-
backgroundColor: "
|
11540
|
-
color: "
|
11539
|
+
backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props),
|
11540
|
+
color: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11541
11541
|
},
|
11542
11542
|
_hover: {
|
11543
11543
|
_disabled: {
|
11544
|
-
background: "
|
11544
|
+
background: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props)
|
11545
11545
|
}
|
11546
11546
|
}
|
11547
11547
|
}),
|
@@ -12754,12 +12754,16 @@ var init_fab = __esm({
|
|
12754
12754
|
position: "fixed",
|
12755
12755
|
...getPositionProps(props),
|
12756
12756
|
_disabled: {
|
12757
|
-
backgroundColor: "whiteAlpha.
|
12758
|
-
color: "
|
12757
|
+
backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props),
|
12758
|
+
color: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
|
12759
12759
|
},
|
12760
12760
|
...focusVisibleStyles(props),
|
12761
12761
|
_hover: {
|
12762
|
-
backgroundColor: "seaMist"
|
12762
|
+
backgroundColor: "seaMist",
|
12763
|
+
_disabled: {
|
12764
|
+
backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props),
|
12765
|
+
color: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
|
12766
|
+
}
|
12763
12767
|
},
|
12764
12768
|
zIndex: "sticky"
|
12765
12769
|
},
|
@@ -14048,7 +14052,7 @@ var init_progress_indicator2 = __esm({
|
|
14048
14052
|
}
|
14049
14053
|
},
|
14050
14054
|
circle: {
|
14051
|
-
fill: themeTools.mode("blackAlpha.
|
14055
|
+
fill: themeTools.mode("blackAlpha.200", "whiteAlpha.200")(props)
|
14052
14056
|
}
|
14053
14057
|
}
|
14054
14058
|
}),
|
@@ -14236,24 +14240,24 @@ var init_stepper2 = __esm({
|
|
14236
14240
|
);
|
14237
14241
|
helpers22 = react.createMultiStyleConfigHelpers(parts14.keys);
|
14238
14242
|
config32 = helpers22.defineMultiStyleConfig({
|
14239
|
-
baseStyle:
|
14243
|
+
baseStyle: {
|
14240
14244
|
root: {
|
14241
14245
|
display: "flex",
|
14242
14246
|
alignItems: "center",
|
14243
|
-
justifyContent: ["space-between", "center"],
|
14244
|
-
minHeight: ["48px", "60px"],
|
14247
|
+
justifyContent: ["space-between", null, "center"],
|
14248
|
+
minHeight: ["48px", null, "60px"],
|
14245
14249
|
overflowX: "auto",
|
14246
14250
|
width: "100%"
|
14247
14251
|
},
|
14248
14252
|
container: {
|
14249
|
-
paddingX: [2,
|
14253
|
+
paddingX: [2, null, null, 0],
|
14250
14254
|
maxWidth: "container.lg",
|
14251
14255
|
marginX: "auto",
|
14252
14256
|
width: "100%"
|
14253
14257
|
},
|
14254
14258
|
innerContainer: {
|
14255
14259
|
overflow: "hidden",
|
14256
|
-
display: ["flex", "none"],
|
14260
|
+
display: ["flex", null, "none"],
|
14257
14261
|
alignItems: "center",
|
14258
14262
|
justifyContent: "space-between"
|
14259
14263
|
},
|
@@ -14280,7 +14284,7 @@ var init_stepper2 = __esm({
|
|
14280
14284
|
textStyle: "sm",
|
14281
14285
|
whiteSpace: "nowrap"
|
14282
14286
|
}
|
14283
|
-
}
|
14287
|
+
},
|
14284
14288
|
variants: {
|
14285
14289
|
base: () => ({
|
14286
14290
|
root: {
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardPopover, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-
|
1
|
+
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardPopover, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-CSCLMQYA.mjs';
|
package/package.json
CHANGED
package/src/stepper/Stepper.tsx
CHANGED
@@ -90,7 +90,7 @@ export const Stepper = ({
|
|
90
90
|
</Box>
|
91
91
|
)}
|
92
92
|
</Box>
|
93
|
-
<Flex justifyContent="center" display={["none", "flex"]}>
|
93
|
+
<Flex justifyContent="center" display={["none", null, "flex"]}>
|
94
94
|
{steps.map((step, index) => (
|
95
95
|
<StepperStep key={index} stepNumber={index + 1} variant={variant}>
|
96
96
|
{step}
|
@@ -24,12 +24,12 @@ const config = defineStyleConfig({
|
|
24
24
|
_disabled: {
|
25
25
|
cursor: "not-allowed",
|
26
26
|
boxShadow: "none",
|
27
|
-
backgroundColor: "
|
28
|
-
color: "
|
27
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
28
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props),
|
29
29
|
},
|
30
30
|
_hover: {
|
31
31
|
_disabled: {
|
32
|
-
background: "
|
32
|
+
background: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
33
33
|
},
|
34
34
|
},
|
35
35
|
}),
|
@@ -23,12 +23,16 @@ const config = helpers.defineMultiStyleConfig({
|
|
23
23
|
position: "fixed",
|
24
24
|
...getPositionProps(props),
|
25
25
|
_disabled: {
|
26
|
-
backgroundColor: "whiteAlpha.
|
27
|
-
color: "
|
26
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
27
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props),
|
28
28
|
},
|
29
29
|
...focusVisibleStyles(props),
|
30
30
|
_hover: {
|
31
31
|
backgroundColor: "seaMist",
|
32
|
+
_disabled: {
|
33
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
34
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props),
|
35
|
+
},
|
32
36
|
},
|
33
37
|
zIndex: "sticky",
|
34
38
|
},
|
@@ -18,24 +18,24 @@ const parts = anatomy("stepper").parts(
|
|
18
18
|
const helpers = createMultiStyleConfigHelpers(parts.keys);
|
19
19
|
|
20
20
|
const config = helpers.defineMultiStyleConfig({
|
21
|
-
baseStyle:
|
21
|
+
baseStyle: {
|
22
22
|
root: {
|
23
23
|
display: "flex",
|
24
24
|
alignItems: "center",
|
25
|
-
justifyContent: ["space-between", "center"],
|
26
|
-
minHeight: ["48px", "60px"],
|
25
|
+
justifyContent: ["space-between", null, "center"],
|
26
|
+
minHeight: ["48px", null, "60px"],
|
27
27
|
overflowX: "auto",
|
28
28
|
width: "100%",
|
29
29
|
},
|
30
30
|
container: {
|
31
|
-
paddingX: [2,
|
31
|
+
paddingX: [2, null, null, 0],
|
32
32
|
maxWidth: "container.lg",
|
33
33
|
marginX: "auto",
|
34
34
|
width: "100%",
|
35
35
|
},
|
36
36
|
innerContainer: {
|
37
37
|
overflow: "hidden",
|
38
|
-
display: ["flex", "none"],
|
38
|
+
display: ["flex", null, "none"],
|
39
39
|
alignItems: "center",
|
40
40
|
justifyContent: "space-between",
|
41
41
|
},
|
@@ -62,7 +62,7 @@ const config = helpers.defineMultiStyleConfig({
|
|
62
62
|
textStyle: "sm",
|
63
63
|
whiteSpace: "nowrap",
|
64
64
|
},
|
65
|
-
}
|
65
|
+
},
|
66
66
|
variants: {
|
67
67
|
base: () => ({
|
68
68
|
root: {
|