@vygruppen/spor-react 3.7.6 → 3.7.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/CHANGELOG.md +16 -0
- package/dist/{CountryCodeSelect-IV4VKD4A.mjs → CountryCodeSelect-IAYKP6P5.mjs} +1 -1
- package/dist/{chunk-LQEO65MM.mjs → chunk-QJI3YQWW.mjs} +227 -57
- package/dist/index.d.mts +173 -26
- package/dist/index.d.ts +173 -26
- package/dist/index.js +305 -135
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/button/Button.tsx +7 -1
- package/src/button/FloatingActionButton.tsx +10 -1
- package/src/tab/Tabs.tsx +11 -1
- package/src/theme/components/button.ts +18 -16
- package/src/theme/components/card.ts +18 -10
- package/src/theme/components/fab.ts +76 -1
- package/src/theme/components/info-tag.ts +16 -1
- package/src/theme/components/line-icon.ts +5 -4
- package/src/theme/components/link.ts +14 -36
- package/src/theme/components/tabs.ts +82 -1
- package/src/theme/components/travel-tag.ts +6 -4
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@3.7.
|
2
|
+
> @vygruppen/spor-react@3.7.7 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -9,14 +9,14 @@
|
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
11
|
[34mDTS[39m Build start
|
12
|
+
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-QJI3YQWW.mjs".
|
12
13
|
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/index.js".
|
13
|
-
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-LQEO65MM.mjs".
|
14
|
-
[32mCJS[39m [1mdist/index.js [22m[32m539.15 KB[39m
|
15
|
-
[32mCJS[39m ⚡️ Build success in 4394ms
|
16
14
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.09 KB[39m
|
17
|
-
[32mESM[39m [1mdist/CountryCodeSelect-
|
18
|
-
[32mESM[39m [1mdist/chunk-
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
20
|
-
[
|
21
|
-
[
|
22
|
-
[32mDTS[39m
|
15
|
+
[32mESM[39m [1mdist/CountryCodeSelect-IAYKP6P5.mjs [22m[32m1.19 KB[39m
|
16
|
+
[32mESM[39m [1mdist/chunk-QJI3YQWW.mjs [22m[32m436.49 KB[39m
|
17
|
+
[32mESM[39m ⚡️ Build success in 5119ms
|
18
|
+
[32mCJS[39m [1mdist/index.js [22m[32m546.52 KB[39m
|
19
|
+
[32mCJS[39m ⚡️ Build success in 5119ms
|
20
|
+
[32mDTS[39m ⚡️ Build success in 20713ms
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m262.65 KB[39m
|
22
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m262.65 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 3.7.7
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 2ffdd3b7: Tabs: changed from default to base
|
8
|
+
- d12c315d: travelTag: add support for dark mode
|
9
|
+
- b6884fa6: Tabs: Update variants and design for tabs
|
10
|
+
- fb6605c6: Card: Add dark mode support
|
11
|
+
- 4c078f92: Design tokens: Change the color for lokalbuss
|
12
|
+
InfoTag: Add dark mode support
|
13
|
+
- eaf12b4b: Link: Add dark mode support
|
14
|
+
- e103af4b: Button: Make buttons break on several lines if there isn't space
|
15
|
+
- bc846dd5: Fab:Add dark mode support
|
16
|
+
- Updated dependencies [4c078f92]
|
17
|
+
- @vygruppen/spor-design-tokens@3.2.1
|
18
|
+
|
3
19
|
## 3.7.6
|
4
20
|
|
5
21
|
### Patch Changes
|
@@ -1203,7 +1203,15 @@ var Button = forwardRef((props, ref) => {
|
|
1203
1203
|
}
|
1204
1204
|
)
|
1205
1205
|
),
|
1206
|
-
/* @__PURE__ */ React50__default.createElement(
|
1206
|
+
/* @__PURE__ */ React50__default.createElement(
|
1207
|
+
Box,
|
1208
|
+
{
|
1209
|
+
visibility: isLoading ? "hidden" : "visible",
|
1210
|
+
whiteSpace: "normal",
|
1211
|
+
textAlign: "left"
|
1212
|
+
},
|
1213
|
+
children
|
1214
|
+
)
|
1207
1215
|
);
|
1208
1216
|
});
|
1209
1217
|
function getLoaderWidth(size2) {
|
@@ -5090,7 +5098,7 @@ var texts14 = createTexts({
|
|
5090
5098
|
sv: "Telefonnummer"
|
5091
5099
|
}
|
5092
5100
|
});
|
5093
|
-
var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-
|
5101
|
+
var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-IAYKP6P5.mjs'));
|
5094
5102
|
var Radio = forwardRef((props, ref) => {
|
5095
5103
|
return /* @__PURE__ */ React50__default.createElement(Radio$1, { ...props, ref });
|
5096
5104
|
});
|
@@ -11413,7 +11421,9 @@ var config6 = defineStyleConfig$1({
|
|
11413
11421
|
fontWeight: "bold",
|
11414
11422
|
transitionProperty: "common",
|
11415
11423
|
transitionDuration: "normal",
|
11416
|
-
|
11424
|
+
textWrap: "wrap",
|
11425
|
+
paddingX: 3,
|
11426
|
+
paddingY: 1,
|
11417
11427
|
_focus: {
|
11418
11428
|
boxShadow: 0,
|
11419
11429
|
outline: 0
|
@@ -11662,7 +11672,7 @@ var config6 = defineStyleConfig$1({
|
|
11662
11672
|
minHeight: 5,
|
11663
11673
|
minWidth: 5,
|
11664
11674
|
fontSize: "16px",
|
11665
|
-
|
11675
|
+
paddingX: 2
|
11666
11676
|
}
|
11667
11677
|
},
|
11668
11678
|
defaultProps: {
|
@@ -11689,7 +11699,7 @@ var config7 = defineStyleConfig$1({
|
|
11689
11699
|
...focusVisible({
|
11690
11700
|
focus: {
|
11691
11701
|
boxShadow: getBoxShadowString({
|
11692
|
-
borderColor: "greenHaze",
|
11702
|
+
borderColor: mode("greenHaze", "azure")(props),
|
11693
11703
|
borderWidth: 2,
|
11694
11704
|
isInset: false
|
11695
11705
|
}),
|
@@ -11714,12 +11724,19 @@ var config7 = defineStyleConfig$1({
|
|
11714
11724
|
})
|
11715
11725
|
});
|
11716
11726
|
var card_default = config7;
|
11717
|
-
|
11727
|
+
var getColorSchemeBaseProps = (props) => {
|
11718
11728
|
var _a6;
|
11729
|
+
const { colorScheme, size: size2 } = props;
|
11730
|
+
const baseShadow = size2 === "lg" ? "md" : "sm";
|
11719
11731
|
switch (colorScheme) {
|
11720
11732
|
case "white":
|
11721
11733
|
return {
|
11722
|
-
backgroundColor: "white"
|
11734
|
+
backgroundColor: mode("white", "whiteAlpha.100")(props),
|
11735
|
+
boxShadow: getBoxShadowString({
|
11736
|
+
baseShadow,
|
11737
|
+
borderColor: "silver",
|
11738
|
+
isInset: false
|
11739
|
+
})
|
11723
11740
|
};
|
11724
11741
|
case "grey":
|
11725
11742
|
return {
|
@@ -11735,7 +11752,7 @@ function getColorSchemeBaseProps({ colorScheme }) {
|
|
11735
11752
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum"
|
11736
11753
|
};
|
11737
11754
|
}
|
11738
|
-
}
|
11755
|
+
};
|
11739
11756
|
function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
11740
11757
|
var _a6, _b5;
|
11741
11758
|
const baseShadow = size2 === "lg" ? "md" : "sm";
|
@@ -11767,12 +11784,14 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
11767
11784
|
};
|
11768
11785
|
}
|
11769
11786
|
}
|
11770
|
-
|
11787
|
+
var getColorSchemeHoverProps = (props) => {
|
11771
11788
|
var _a6, _b5;
|
11789
|
+
const { colorScheme, size: size2 } = props;
|
11772
11790
|
const baseShadow = size2 === "lg" ? "lg" : "md";
|
11773
11791
|
switch (colorScheme) {
|
11774
11792
|
case "white":
|
11775
11793
|
return {
|
11794
|
+
backgroundColor: mode("white", "whiteAlpha.200")(props),
|
11776
11795
|
boxShadow: getBoxShadowString({
|
11777
11796
|
baseShadow,
|
11778
11797
|
borderColor: colors.steel,
|
@@ -11797,14 +11816,15 @@ function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
|
|
11797
11816
|
})
|
11798
11817
|
};
|
11799
11818
|
}
|
11800
|
-
}
|
11801
|
-
|
11819
|
+
};
|
11820
|
+
var getColorSchemeActiveProps = (props) => {
|
11802
11821
|
var _a6, _b5;
|
11822
|
+
const { colorScheme, size: size2 } = props;
|
11803
11823
|
const baseShadow = size2 === "lg" ? "sm" : "none";
|
11804
11824
|
switch (colorScheme) {
|
11805
11825
|
case "white":
|
11806
11826
|
return {
|
11807
|
-
backgroundColor: "mint",
|
11827
|
+
backgroundColor: mode("mint", "teal")(props),
|
11808
11828
|
boxShadow: getBoxShadowString({
|
11809
11829
|
baseShadow,
|
11810
11830
|
borderColor: colors.silver,
|
@@ -11830,7 +11850,7 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
11830
11850
|
})
|
11831
11851
|
};
|
11832
11852
|
}
|
11833
|
-
}
|
11853
|
+
};
|
11834
11854
|
var parts2 = anatomy("card-select").parts("trigger", "card");
|
11835
11855
|
var helpers3 = createMultiStyleConfigHelpers(parts2.keys);
|
11836
11856
|
var config8 = helpers3.defineMultiStyleConfig({
|
@@ -12620,7 +12640,82 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
12620
12640
|
color: "darkTeal",
|
12621
12641
|
_active: { color: "darkTeal", backgroundColor: "lightGrey" }
|
12622
12642
|
}
|
12623
|
-
}
|
12643
|
+
},
|
12644
|
+
brand: (props) => ({
|
12645
|
+
container: {
|
12646
|
+
backgroundColor: mode("darkTeal", "mint")(props),
|
12647
|
+
color: mode("white", "darkTeal")(props),
|
12648
|
+
_active: { backgroundColor: mode("pine", "white")(props) },
|
12649
|
+
_hover: {
|
12650
|
+
backgroundColor: mode("night", "seaMist")(props)
|
12651
|
+
},
|
12652
|
+
...focusVisible({
|
12653
|
+
focus: {
|
12654
|
+
boxShadow: mode(
|
12655
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
|
12656
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.darkTeal}`
|
12657
|
+
)(props),
|
12658
|
+
outline: "none"
|
12659
|
+
},
|
12660
|
+
notFocus: {
|
12661
|
+
boxShadow: "md"
|
12662
|
+
}
|
12663
|
+
})
|
12664
|
+
}
|
12665
|
+
}),
|
12666
|
+
base: (props) => ({
|
12667
|
+
container: {
|
12668
|
+
backgroundColor: mode("white", "whiteAlpha.100")(props),
|
12669
|
+
color: mode("darkGrey", "white")(props),
|
12670
|
+
_active: {
|
12671
|
+
backgroundColor: mode("mint", "whiteAlpha.100")(props),
|
12672
|
+
color: mode("darkGrey", "white")(props)
|
12673
|
+
},
|
12674
|
+
_hover: {
|
12675
|
+
backgroundColor: mode("white", "transparent")(props),
|
12676
|
+
boxShadow: mode(`inset 0 0 0 2px ${props.theme.colors.darkGrey}`, `inset 0 0 0 2px ${props.theme.colors.white}`)(props),
|
12677
|
+
color: mode("darkGrey", "white")(props)
|
12678
|
+
},
|
12679
|
+
...focusVisible({
|
12680
|
+
focus: {
|
12681
|
+
boxShadow: mode(
|
12682
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.white}, inset 0 0 0 6px ${props.theme.colors.darkGrey}`,
|
12683
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.brightRed}, inset 0 0 0 6px ${props.theme.colors.white}`
|
12684
|
+
)(props),
|
12685
|
+
outline: "none"
|
12686
|
+
},
|
12687
|
+
notFocus: {
|
12688
|
+
boxShadow: "md"
|
12689
|
+
}
|
12690
|
+
})
|
12691
|
+
}
|
12692
|
+
}),
|
12693
|
+
accent: (props) => ({
|
12694
|
+
container: {
|
12695
|
+
backgroundColor: mode("mint", "pine")(props),
|
12696
|
+
color: mode("darkTeal", "white")(props),
|
12697
|
+
_active: {
|
12698
|
+
backgroundColor: mode("seaMist", "whiteAlpha.100")(props),
|
12699
|
+
color: mode("darkTeal", "white")(props)
|
12700
|
+
},
|
12701
|
+
_hover: {
|
12702
|
+
backgroundColor: mode("coralGreen", "whiteAlpha.200")(props),
|
12703
|
+
color: mode("darkTeal", "white")(props)
|
12704
|
+
},
|
12705
|
+
...focusVisible({
|
12706
|
+
focus: {
|
12707
|
+
boxShadow: mode(
|
12708
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.azure}`,
|
12709
|
+
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.pine}, inset 0 0 0 6px ${props.theme.colors.azure}`
|
12710
|
+
)(props),
|
12711
|
+
outline: "none"
|
12712
|
+
},
|
12713
|
+
notFocus: {
|
12714
|
+
boxShadow: "md"
|
12715
|
+
}
|
12716
|
+
})
|
12717
|
+
}
|
12718
|
+
})
|
12624
12719
|
},
|
12625
12720
|
defaultProps: {
|
12626
12721
|
variant: "dark"
|
@@ -12906,9 +13001,9 @@ var config19 = helpers11.defineMultiStyleConfig({
|
|
12906
13001
|
backgroundColor: "linjetag.altTransportLight"
|
12907
13002
|
}
|
12908
13003
|
},
|
12909
|
-
walk: {
|
13004
|
+
walk: (props) => ({
|
12910
13005
|
container: {
|
12911
|
-
backgroundColor: "white",
|
13006
|
+
backgroundColor: mode("white", "transparent")(props),
|
12912
13007
|
_disabled: {
|
12913
13008
|
backgroundColor: "white"
|
12914
13009
|
}
|
@@ -12917,6 +13012,7 @@ var config19 = helpers11.defineMultiStyleConfig({
|
|
12917
13012
|
border: "none",
|
12918
13013
|
position: "relative",
|
12919
13014
|
left: -1,
|
13015
|
+
backgroundColor: mode("white", "transparent")(props),
|
12920
13016
|
"[aria-disabled=true] &": {
|
12921
13017
|
backgroundColor: "transparent",
|
12922
13018
|
color: "osloGrey"
|
@@ -12932,12 +13028,13 @@ var config19 = helpers11.defineMultiStyleConfig({
|
|
12932
13028
|
},
|
12933
13029
|
title: {
|
12934
13030
|
fontSize: "mobile.xs",
|
12935
|
-
fontWeight: "normal"
|
13031
|
+
fontWeight: "normal",
|
13032
|
+
color: mode("black", "white")(props)
|
12936
13033
|
},
|
12937
13034
|
description: {
|
12938
13035
|
display: "none"
|
12939
13036
|
}
|
12940
|
-
}
|
13037
|
+
})
|
12941
13038
|
},
|
12942
13039
|
sizes: {
|
12943
13040
|
sm: {
|
@@ -13044,6 +13141,9 @@ var config20 = helpers12.defineMultiStyleConfig({
|
|
13044
13141
|
iconContainer: {
|
13045
13142
|
...travel_tag_default.baseStyle(props).iconContainer,
|
13046
13143
|
padding: 1
|
13144
|
+
},
|
13145
|
+
textContainer: {
|
13146
|
+
color: mode("darkGrey", "white")(props)
|
13047
13147
|
}
|
13048
13148
|
}),
|
13049
13149
|
sizes: {
|
@@ -13069,6 +13169,17 @@ var config20 = helpers12.defineMultiStyleConfig({
|
|
13069
13169
|
},
|
13070
13170
|
defaultProps: {
|
13071
13171
|
size: "md"
|
13172
|
+
},
|
13173
|
+
variants: {
|
13174
|
+
"walk": (props) => ({
|
13175
|
+
iconContainer: {
|
13176
|
+
backgroundColor: mode("white", "transparent")(props),
|
13177
|
+
boxShadow: mode(
|
13178
|
+
`${props.theme.shadows.md}, inset 0 0 0 2px ${props.theme.colors.black[200]}`,
|
13179
|
+
`${props.theme.shadows.md}, inset 0 0 0 2px ${props.theme.colors.whiteAlpha[400]}`
|
13180
|
+
)(props)
|
13181
|
+
}
|
13182
|
+
})
|
13072
13183
|
}
|
13073
13184
|
});
|
13074
13185
|
var info_tag_default = config20;
|
@@ -13244,7 +13355,7 @@ var config22 = helpers14.defineMultiStyleConfig({
|
|
13244
13355
|
}
|
13245
13356
|
}
|
13246
13357
|
},
|
13247
|
-
walk: {
|
13358
|
+
walk: (props) => ({
|
13248
13359
|
iconContainer: {
|
13249
13360
|
backgroundColor: "white",
|
13250
13361
|
borderWidth: 1,
|
@@ -13252,12 +13363,12 @@ var config22 = helpers14.defineMultiStyleConfig({
|
|
13252
13363
|
borderColor: "blackAlpha.200"
|
13253
13364
|
},
|
13254
13365
|
icon: {
|
13255
|
-
color: "darkGrey",
|
13366
|
+
color: mode("darkGrey", "white")(props),
|
13256
13367
|
"[aria-disabled=true] &": {
|
13257
13368
|
color: "osloGrey"
|
13258
13369
|
}
|
13259
13370
|
}
|
13260
|
-
}
|
13371
|
+
})
|
13261
13372
|
},
|
13262
13373
|
sizes: {
|
13263
13374
|
sm: {
|
@@ -13295,7 +13406,7 @@ var config23 = defineStyleConfig$1({
|
|
13295
13406
|
backgroundPosition: "0 100%",
|
13296
13407
|
backgroundRepeat: "no-repeat",
|
13297
13408
|
borderRadius: "none",
|
13298
|
-
|
13409
|
+
padding: "2px",
|
13299
13410
|
color: "inherit",
|
13300
13411
|
display: "inline",
|
13301
13412
|
position: "relative",
|
@@ -13316,12 +13427,12 @@ var config23 = defineStyleConfig$1({
|
|
13316
13427
|
},
|
13317
13428
|
variants: {
|
13318
13429
|
primary: (props) => ({
|
13319
|
-
color: mode("pine", "
|
13430
|
+
color: mode("pine", "coralGreen")(props),
|
13320
13431
|
...focusVisible({
|
13321
13432
|
focus: {
|
13322
|
-
backgroundColor: "
|
13433
|
+
backgroundColor: mode("pine", "white")(props),
|
13434
|
+
color: mode("white", "pine")(props),
|
13323
13435
|
boxShadow: getBoxShadowString({
|
13324
|
-
borderColor: "azure",
|
13325
13436
|
borderWidth: 2,
|
13326
13437
|
isInset: false
|
13327
13438
|
})
|
@@ -13333,34 +13444,20 @@ var config23 = defineStyleConfig$1({
|
|
13333
13444
|
}
|
13334
13445
|
}),
|
13335
13446
|
_hover: {
|
13336
|
-
color: "white",
|
13337
|
-
backgroundColor: "
|
13338
|
-
boxShadow: getBoxShadowString({
|
13339
|
-
borderColor: "pine",
|
13340
|
-
borderWidth: 2,
|
13341
|
-
isInset: false
|
13342
|
-
})
|
13447
|
+
color: mode("darkTeal", "white")(props),
|
13448
|
+
backgroundColor: mode("coralGreen", "whiteAlpha.200")(props)
|
13343
13449
|
},
|
13344
13450
|
_active: {
|
13345
|
-
color: "white",
|
13346
|
-
backgroundColor: "
|
13347
|
-
boxShadow: getBoxShadowString({
|
13348
|
-
borderColor: "azure",
|
13349
|
-
borderWidth: 2,
|
13350
|
-
isInset: false
|
13351
|
-
})
|
13451
|
+
color: mode("pine", "white")(props),
|
13452
|
+
backgroundColor: mode("mint", "whiteAlpha.100")(props)
|
13352
13453
|
}
|
13353
13454
|
}),
|
13354
13455
|
secondary: (props) => ({
|
13355
13456
|
color: mode("darkGrey", "white")(props),
|
13356
13457
|
...focusVisible({
|
13357
13458
|
focus: {
|
13358
|
-
backgroundColor: "
|
13359
|
-
|
13360
|
-
borderColor: "azure",
|
13361
|
-
borderWidth: 2,
|
13362
|
-
isInset: false
|
13363
|
-
})
|
13459
|
+
backgroundColor: mode("darkGrey", "white")(props),
|
13460
|
+
color: mode("white", "darkTeal")(props)
|
13364
13461
|
},
|
13365
13462
|
notFocus: {
|
13366
13463
|
boxShadow: "none",
|
@@ -13368,20 +13465,12 @@ var config23 = defineStyleConfig$1({
|
|
13368
13465
|
}
|
13369
13466
|
}),
|
13370
13467
|
_hover: {
|
13371
|
-
backgroundColor: mode("
|
13372
|
-
|
13373
|
-
borderColor: mode("seaMist", "pine")(props),
|
13374
|
-
borderWidth: 2,
|
13375
|
-
isInset: false
|
13376
|
-
})
|
13468
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.200")(props),
|
13469
|
+
color: mode("darkGrey", "white")(props)
|
13377
13470
|
},
|
13378
13471
|
_active: {
|
13379
|
-
backgroundColor: mode("mint", "whiteAlpha.
|
13380
|
-
|
13381
|
-
borderColor: mode("mint", "whiteAlpha.200")(props),
|
13382
|
-
borderWidth: 2,
|
13383
|
-
isInset: false
|
13384
|
-
})
|
13472
|
+
backgroundColor: mode("mint", "whiteAlpha.100")(props),
|
13473
|
+
color: mode("darkGrey", "white")(props)
|
13385
13474
|
}
|
13386
13475
|
}),
|
13387
13476
|
/**
|
@@ -14602,6 +14691,14 @@ var getTabColorSchemeProps = (props) => {
|
|
14602
14691
|
return {
|
14603
14692
|
color: "darkGrey"
|
14604
14693
|
};
|
14694
|
+
case "base":
|
14695
|
+
return {
|
14696
|
+
color: mode("darkGrey", "white")(props)
|
14697
|
+
};
|
14698
|
+
case "accent":
|
14699
|
+
return {
|
14700
|
+
color: mode("darkTeal", "white")(props)
|
14701
|
+
};
|
14605
14702
|
default:
|
14606
14703
|
return {};
|
14607
14704
|
}
|
@@ -14630,6 +14727,32 @@ var getTabColorSchemeSelectedProps = (props) => {
|
|
14630
14727
|
color: "darkTeal"
|
14631
14728
|
}
|
14632
14729
|
};
|
14730
|
+
case "base":
|
14731
|
+
return {
|
14732
|
+
backgroundColor: "pine",
|
14733
|
+
color: "white",
|
14734
|
+
_hover: {
|
14735
|
+
backgroundColor: "darkTeal",
|
14736
|
+
color: "white"
|
14737
|
+
},
|
14738
|
+
_active: {
|
14739
|
+
backgroundColor: "darkTeal",
|
14740
|
+
color: "white"
|
14741
|
+
}
|
14742
|
+
};
|
14743
|
+
case "accent":
|
14744
|
+
return {
|
14745
|
+
backgroundColor: "pine",
|
14746
|
+
color: "white",
|
14747
|
+
_hover: {
|
14748
|
+
backgroundColor: "darkTeal",
|
14749
|
+
color: "white"
|
14750
|
+
},
|
14751
|
+
_active: {
|
14752
|
+
backgroundColor: "darkTeal",
|
14753
|
+
color: "white"
|
14754
|
+
}
|
14755
|
+
};
|
14633
14756
|
default:
|
14634
14757
|
return {
|
14635
14758
|
backgroundColor: "darkTeal",
|
@@ -14651,6 +14774,14 @@ var getTabColorSchemeFocusProps = (props) => {
|
|
14651
14774
|
return {
|
14652
14775
|
boxShadow: `inset 0 0 0 2px ${props.theme.colors.white}`
|
14653
14776
|
};
|
14777
|
+
case "base":
|
14778
|
+
return {
|
14779
|
+
boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
|
14780
|
+
};
|
14781
|
+
case "accent":
|
14782
|
+
return {
|
14783
|
+
boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
|
14784
|
+
};
|
14654
14785
|
default:
|
14655
14786
|
return {
|
14656
14787
|
boxShadow: `inset 0 0 0 2px ${props.theme.colors.greenHaze}`
|
@@ -14675,6 +14806,16 @@ var getTabColorSchemeHoverProps = (props) => {
|
|
14675
14806
|
return {
|
14676
14807
|
backgroundColor: "silver"
|
14677
14808
|
};
|
14809
|
+
case "base":
|
14810
|
+
return {
|
14811
|
+
boxShadow: mode(`inset 0 0 0 2px ${props.theme.colors.darkGrey}`, `inset 0 0 0 2px ${props.theme.colors.white}`)(props),
|
14812
|
+
color: mode("darkGrey", "white")(props)
|
14813
|
+
};
|
14814
|
+
case "accent":
|
14815
|
+
return {
|
14816
|
+
backgroundColor: mode("seaMist", "whiteAlpha.200")(props),
|
14817
|
+
color: mode("darkTeal", "white")(props)
|
14818
|
+
};
|
14678
14819
|
default:
|
14679
14820
|
return {};
|
14680
14821
|
}
|
@@ -14701,6 +14842,16 @@ var getTabColorSchemeActiveProps = (props) => {
|
|
14701
14842
|
backgroundColor: "lightGrey",
|
14702
14843
|
color: "darkGrey"
|
14703
14844
|
};
|
14845
|
+
case "base":
|
14846
|
+
return {
|
14847
|
+
backgroundColor: mode("mint", "whiteAlpha.100")(props),
|
14848
|
+
color: mode("darkGrey", "white")(props)
|
14849
|
+
};
|
14850
|
+
case "accent":
|
14851
|
+
return {
|
14852
|
+
backgroundColor: mode("seaMist", "whiteAlpha.100")(props),
|
14853
|
+
color: mode("darkTeal", "white")(props)
|
14854
|
+
};
|
14704
14855
|
default:
|
14705
14856
|
return {};
|
14706
14857
|
}
|
@@ -14723,6 +14874,14 @@ var getTabColorSchemeDisabledProps = (props) => {
|
|
14723
14874
|
return {
|
14724
14875
|
color: "steel"
|
14725
14876
|
};
|
14877
|
+
case "base":
|
14878
|
+
return {
|
14879
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
14880
|
+
};
|
14881
|
+
case "accent":
|
14882
|
+
return {
|
14883
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
14884
|
+
};
|
14726
14885
|
default:
|
14727
14886
|
return {};
|
14728
14887
|
}
|
@@ -14744,6 +14903,17 @@ var getTablistColorSchemeProps = (props) => {
|
|
14744
14903
|
backgroundColor: "platinum",
|
14745
14904
|
color: "darkGrey"
|
14746
14905
|
};
|
14906
|
+
case "base":
|
14907
|
+
return {
|
14908
|
+
backgroundColor: mode("white", "transparent")(props),
|
14909
|
+
color: "darkGrey",
|
14910
|
+
boxShadow: mode(`inset 0 0 0 1px ${props.theme.colors.blackAlpha["400"]}`, `inset 0 0 0 1px ${props.theme.colors.whiteAlpha["400"]}`)(props)
|
14911
|
+
};
|
14912
|
+
case "accent":
|
14913
|
+
return {
|
14914
|
+
backgroundColor: mode("mint", "whiteAlpha.100")(props),
|
14915
|
+
color: "darkTeal"
|
14916
|
+
};
|
14747
14917
|
default:
|
14748
14918
|
return {};
|
14749
14919
|
}
|