@vygruppen/spor-react 6.2.3 → 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 +22 -0
- package/dist/{CountryCodeSelect-QZYP3GSD.mjs → CountryCodeSelect-EKQUBVBJ.mjs} +1 -1
- package/dist/{chunk-YFZOYRGT.mjs → chunk-CSCLMQYA.mjs} +183 -654
- package/dist/index.d.mts +502 -496
- package/dist/index.d.ts +502 -496
- package/dist/index.js +212 -685
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/button/Button.tsx +4 -4
- package/src/input/NumericStepper.tsx +0 -4
- package/src/stepper/Stepper.tsx +1 -1
- package/src/stepper/StepperStep.tsx +1 -1
- package/src/theme/components/accordion.ts +4 -15
- package/src/theme/components/breadcrumb.ts +2 -14
- package/src/theme/components/button.ts +8 -58
- package/src/theme/components/card-select.ts +11 -26
- package/src/theme/components/card.ts +2 -18
- package/src/theme/components/checkbox.ts +4 -12
- package/src/theme/components/choice-chip.ts +2 -11
- package/src/theme/components/close-button.ts +2 -14
- package/src/theme/components/code.ts +1 -1
- package/src/theme/components/datepicker.ts +14 -65
- package/src/theme/components/drawer.ts +7 -7
- package/src/theme/components/fab.ts +12 -65
- package/src/theme/components/form-label.ts +1 -1
- package/src/theme/components/form.ts +1 -1
- package/src/theme/components/info-select.ts +5 -35
- package/src/theme/components/info-tag.ts +1 -1
- package/src/theme/components/input.ts +9 -31
- package/src/theme/components/link.ts +5 -29
- package/src/theme/components/listbox.ts +3 -5
- package/src/theme/components/media-controller-button.ts +5 -46
- package/src/theme/components/modal.ts +7 -7
- package/src/theme/components/popover.ts +7 -15
- package/src/theme/components/progress-indicator.ts +2 -6
- package/src/theme/components/radio.ts +5 -11
- package/src/theme/components/select.ts +2 -2
- package/src/theme/components/stepper.ts +11 -11
- package/src/theme/components/switch.ts +5 -73
- package/src/theme/components/table.ts +18 -18
- package/src/theme/components/tabs.ts +11 -14
- package/src/theme/components/travel-tag.ts +2 -15
- package/src/theme/utils/focus-util.ts +10 -0
- package/tsconfig.json +2 -2
- package/src/theme/utils/focus-utils.ts +0 -16
@@ -1210,19 +1210,19 @@ var Button = forwardRef((props, ref) => {
|
|
1210
1210
|
/* @__PURE__ */ React69__default.createElement(
|
1211
1211
|
Flex,
|
1212
1212
|
{
|
1213
|
-
|
1213
|
+
gap: 1,
|
1214
1214
|
flex: 1,
|
1215
1215
|
alignItems: "center",
|
1216
|
-
|
1216
|
+
justifyContent: rightIcon ? "space-between" : "center",
|
1217
1217
|
visibility: isLoading ? "hidden" : "visible",
|
1218
1218
|
"aria-hidden": isLoading
|
1219
1219
|
},
|
1220
|
-
/* @__PURE__ */ React69__default.createElement(Flex, {
|
1220
|
+
/* @__PURE__ */ React69__default.createElement(Flex, { gap: 1 }, leftIcon, /* @__PURE__ */ React69__default.createElement(
|
1221
1221
|
Box,
|
1222
1222
|
{
|
1223
1223
|
visibility: isLoading ? "hidden" : "visible",
|
1224
1224
|
whiteSpace: "normal",
|
1225
|
-
textAlign: "
|
1225
|
+
textAlign: "center"
|
1226
1226
|
},
|
1227
1227
|
children
|
1228
1228
|
)),
|
@@ -3218,9 +3218,6 @@ var VerySmallButton = (props) => {
|
|
3218
3218
|
size: "xs",
|
3219
3219
|
minWidth: "24px",
|
3220
3220
|
minHeight: "24px",
|
3221
|
-
_focusVisible: {
|
3222
|
-
boxShadow: "inset 0 0 0 2px var(--spor-colors-pine), inset 0 0 0 3px white"
|
3223
|
-
},
|
3224
3221
|
...props
|
3225
3222
|
}
|
3226
3223
|
);
|
@@ -3420,7 +3417,7 @@ var texts14 = createTexts({
|
|
3420
3417
|
sv: "Telefonnummer"
|
3421
3418
|
}
|
3422
3419
|
});
|
3423
|
-
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-
|
3420
|
+
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-EKQUBVBJ.mjs'));
|
3424
3421
|
var Radio = forwardRef((props, ref) => {
|
3425
3422
|
return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
|
3426
3423
|
});
|
@@ -4313,7 +4310,7 @@ var Stepper = ({
|
|
4313
4310
|
},
|
4314
4311
|
step
|
4315
4312
|
))
|
4316
|
-
)), 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))))
|
4317
4314
|
));
|
4318
4315
|
};
|
4319
4316
|
var texts22 = createTexts({
|
@@ -9747,13 +9744,16 @@ var styles2 = {
|
|
9747
9744
|
}
|
9748
9745
|
})
|
9749
9746
|
};
|
9750
|
-
|
9751
|
-
|
9752
|
-
|
9753
|
-
|
9754
|
-
|
9755
|
-
|
9747
|
+
var focusVisibleStyles = (props) => ({
|
9748
|
+
_focusVisible: {
|
9749
|
+
outlineWidth: "2px",
|
9750
|
+
outlineColor: mode("greenHaze", "azure")(props),
|
9751
|
+
outlineStyle: "solid",
|
9752
|
+
outlineOffset: "1px"
|
9753
|
+
}
|
9756
9754
|
});
|
9755
|
+
|
9756
|
+
// src/theme/components/accordion.ts
|
9757
9757
|
var helpers = createMultiStyleConfigHelpers(accordionAnatomy.keys);
|
9758
9758
|
var config3 = helpers.defineMultiStyleConfig({
|
9759
9759
|
baseStyle: (props) => ({
|
@@ -9766,25 +9766,14 @@ var config3 = helpers.defineMultiStyleConfig({
|
|
9766
9766
|
transitionDuration: "normal",
|
9767
9767
|
border: "none",
|
9768
9768
|
borderRadius: "sm",
|
9769
|
+
borderColor: "osloGrey",
|
9769
9770
|
display: "flex",
|
9770
9771
|
justifyContent: "space-between",
|
9771
9772
|
color: mode("darkGrey", "white")(props),
|
9772
9773
|
textAlign: "left",
|
9773
9774
|
fontFamily: "body",
|
9774
9775
|
fontWeight: "bold",
|
9775
|
-
...
|
9776
|
-
notFocus: {
|
9777
|
-
boxShadow: getBoxShadowString({
|
9778
|
-
borderColor: "osloGrey"
|
9779
|
-
})
|
9780
|
-
},
|
9781
|
-
focus: {
|
9782
|
-
boxShadow: getBoxShadowString({
|
9783
|
-
borderColor: mode("greenHaze", "azure")(props),
|
9784
|
-
borderWidth: 2
|
9785
|
-
})
|
9786
|
-
}
|
9787
|
-
}),
|
9776
|
+
...focusVisibleStyles(props),
|
9788
9777
|
_disabled: {
|
9789
9778
|
opacity: 0.4,
|
9790
9779
|
cursor: "not-allowed"
|
@@ -10060,7 +10049,6 @@ var baseStyleLink2 = defineStyle((props) => ({
|
|
10060
10049
|
transitionProperty: "common",
|
10061
10050
|
transitionDuration: "fast",
|
10062
10051
|
transitionTimingFunction: "ease-out",
|
10063
|
-
outline: "none",
|
10064
10052
|
color: "inherit",
|
10065
10053
|
textDecoration: "none",
|
10066
10054
|
textStyle: "xs",
|
@@ -10071,17 +10059,7 @@ var baseStyleLink2 = defineStyle((props) => ({
|
|
10071
10059
|
_hover: {
|
10072
10060
|
backgroundColor: mode("seaMist", "pine")(props)
|
10073
10061
|
},
|
10074
|
-
...
|
10075
|
-
focus: {
|
10076
|
-
boxShadow: getBoxShadowString({
|
10077
|
-
borderColor: mode("greenHaze", "azure")(props),
|
10078
|
-
borderWidth: 2
|
10079
|
-
})
|
10080
|
-
},
|
10081
|
-
notFocus: {
|
10082
|
-
boxShadow: "none"
|
10083
|
-
}
|
10084
|
-
}),
|
10062
|
+
...focusVisibleStyles(props),
|
10085
10063
|
_active: {
|
10086
10064
|
backgroundColor: mode("mint", "whiteAlpha.200")(props)
|
10087
10065
|
}
|
@@ -10098,11 +10076,12 @@ var breadcrumb_default = defineMultiStyleConfig27({
|
|
10098
10076
|
baseStyle: baseStyle43
|
10099
10077
|
});
|
10100
10078
|
var config6 = defineStyleConfig$1({
|
10101
|
-
baseStyle: {
|
10079
|
+
baseStyle: (props) => ({
|
10102
10080
|
border: 0,
|
10103
10081
|
borderRadius: "xl",
|
10104
10082
|
display: "flex",
|
10105
10083
|
alignItems: "center",
|
10084
|
+
justifyContent: "center",
|
10106
10085
|
transitionProperty: "common",
|
10107
10086
|
transitionDuration: "normal",
|
10108
10087
|
textWrap: "wrap",
|
@@ -10112,33 +10091,25 @@ var config6 = defineStyleConfig$1({
|
|
10112
10091
|
boxShadow: 0,
|
10113
10092
|
outline: 0
|
10114
10093
|
},
|
10094
|
+
...focusVisibleStyles(props),
|
10115
10095
|
_disabled: {
|
10116
10096
|
cursor: "not-allowed",
|
10117
10097
|
boxShadow: "none",
|
10118
|
-
backgroundColor: "
|
10119
|
-
color: "
|
10098
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
10099
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
10120
10100
|
},
|
10121
10101
|
_hover: {
|
10122
10102
|
_disabled: {
|
10123
|
-
background: "
|
10103
|
+
background: mode("blackAlpha.100", "whiteAlpha.100")(props)
|
10124
10104
|
}
|
10125
10105
|
}
|
10126
|
-
},
|
10106
|
+
}),
|
10127
10107
|
variants: {
|
10128
10108
|
primary: (props) => ({
|
10129
10109
|
// FIXME: Update to use a global defined background color for darkMode whenever it is available.
|
10130
10110
|
// hardcoded background color as alpha-"hack" below is not feasible for dark mode with solid background color
|
10131
10111
|
backgroundColor: mode("pine", "coralGreen")(props),
|
10132
10112
|
color: mode("white", "darkTeal")(props),
|
10133
|
-
_focusVisible: {
|
10134
|
-
boxShadow: `inset 0 0 0 2px ${mode(
|
10135
|
-
colors.greenHaze,
|
10136
|
-
colors.azure
|
10137
|
-
)(props)}, inset 0 0 0 4px ${mode(
|
10138
|
-
colors.white,
|
10139
|
-
colors.darkGrey
|
10140
|
-
)(props)}`
|
10141
|
-
},
|
10142
10113
|
_hover: {
|
10143
10114
|
backgroundColor: mode("darkTeal", "blueGreen")(props)
|
10144
10115
|
},
|
@@ -10154,24 +10125,6 @@ var config6 = defineStyleConfig$1({
|
|
10154
10125
|
_hover: {
|
10155
10126
|
backgroundColor: mode("coralGreen", "greenHaze")(props)
|
10156
10127
|
},
|
10157
|
-
_focusVisible: {
|
10158
|
-
boxShadow: `inset 0 0 0 2px ${mode(
|
10159
|
-
colors.greenHaze,
|
10160
|
-
colors.primaryGreen
|
10161
|
-
)(props)}, inset 0 0 0 4px ${mode(
|
10162
|
-
colors.white,
|
10163
|
-
colors.darkTeal
|
10164
|
-
)(props)}`,
|
10165
|
-
_hover: {
|
10166
|
-
boxShadow: `inset 0 0 0 2px ${mode(
|
10167
|
-
colors.greenHaze,
|
10168
|
-
colors.azure
|
10169
|
-
)(props)}, inset 0 0 0 4px ${mode(
|
10170
|
-
colors.white,
|
10171
|
-
colors.blackAlpha[500]
|
10172
|
-
)(props)}`
|
10173
|
-
}
|
10174
|
-
},
|
10175
10128
|
_active: {
|
10176
10129
|
backgroundColor: mode("mint", "darkTeal")(props),
|
10177
10130
|
boxShadow: `inset 0 0 0 2px ${mode(
|
@@ -10199,12 +10152,6 @@ var config6 = defineStyleConfig$1({
|
|
10199
10152
|
colors.blackAlpha[400],
|
10200
10153
|
colors.whiteAlpha[400]
|
10201
10154
|
)(props)}`,
|
10202
|
-
_focusVisible: {
|
10203
|
-
boxShadow: getBoxShadowString({
|
10204
|
-
borderWidth: 2,
|
10205
|
-
borderColor: "azure"
|
10206
|
-
})
|
10207
|
-
},
|
10208
10155
|
_hover: {
|
10209
10156
|
boxShadow: `inset 0 0 0 2px currentColor`
|
10210
10157
|
},
|
@@ -10219,12 +10166,6 @@ var config6 = defineStyleConfig$1({
|
|
10219
10166
|
ghost: (props) => ({
|
10220
10167
|
backgroundColor: "transparent",
|
10221
10168
|
color: mode("darkGrey", "white")(props),
|
10222
|
-
_focusVisible: {
|
10223
|
-
boxShadow: getBoxShadowString({
|
10224
|
-
borderColor: mode("greenHaze", "azure")(props),
|
10225
|
-
borderWidth: 2
|
10226
|
-
})
|
10227
|
-
},
|
10228
10169
|
_hover: {
|
10229
10170
|
backgroundColor: mode("seaMist", "whiteAlpha.200")(props),
|
10230
10171
|
_disabled: {
|
@@ -10251,20 +10192,6 @@ var config6 = defineStyleConfig$1({
|
|
10251
10192
|
baseShadow: "md",
|
10252
10193
|
borderWidth: 2
|
10253
10194
|
})
|
10254
|
-
},
|
10255
|
-
_focusVisible: {
|
10256
|
-
boxShadow: getBoxShadowString({
|
10257
|
-
borderColor: mode("greenHaze", "azure")(props),
|
10258
|
-
borderWidth: 2,
|
10259
|
-
baseShadow: "sm"
|
10260
|
-
}),
|
10261
|
-
_hover: {
|
10262
|
-
boxShadow: getBoxShadowString({
|
10263
|
-
borderColor: mode("greenHaze", "azure")(props),
|
10264
|
-
borderWidth: 2,
|
10265
|
-
baseShadow: "md"
|
10266
|
-
})
|
10267
|
-
}
|
10268
10195
|
}
|
10269
10196
|
})
|
10270
10197
|
},
|
@@ -10315,16 +10242,8 @@ var config7 = defineStyleConfig$1({
|
|
10315
10242
|
"button&, a&, label&, &.is-clickable": {
|
10316
10243
|
...getColorSchemeClickableProps(props),
|
10317
10244
|
_hover: getColorSchemeHoverProps(props),
|
10245
|
+
...focusVisibleStyles(props),
|
10318
10246
|
_active: getColorSchemeActiveProps(props),
|
10319
|
-
_focusVisible: {
|
10320
|
-
boxShadow: getBoxShadowString({
|
10321
|
-
borderColor: mode("greenHaze", "azure")(props),
|
10322
|
-
borderWidth: 2,
|
10323
|
-
isInset: false
|
10324
|
-
}),
|
10325
|
-
outline: "none",
|
10326
|
-
_active: getColorSchemeActiveProps(props)
|
10327
|
-
},
|
10328
10247
|
_disabled: {
|
10329
10248
|
backgroundColor: "platinum",
|
10330
10249
|
boxShadow: getBoxShadowString({
|
@@ -10380,16 +10299,14 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
10380
10299
|
return {
|
10381
10300
|
boxShadow: getBoxShadowString({
|
10382
10301
|
baseShadow,
|
10383
|
-
borderColor: "silver"
|
10384
|
-
isInset: false
|
10302
|
+
borderColor: "silver"
|
10385
10303
|
})
|
10386
10304
|
};
|
10387
10305
|
case "grey":
|
10388
10306
|
return {
|
10389
10307
|
boxShadow: getBoxShadowString({
|
10390
10308
|
baseShadow,
|
10391
|
-
borderColor: "steel"
|
10392
|
-
isInset: false
|
10309
|
+
borderColor: "steel"
|
10393
10310
|
})
|
10394
10311
|
};
|
10395
10312
|
default:
|
@@ -10397,8 +10314,7 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
10397
10314
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum",
|
10398
10315
|
boxShadow: getBoxShadowString({
|
10399
10316
|
baseShadow,
|
10400
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
|
10401
|
-
isInset: false
|
10317
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
|
10402
10318
|
})
|
10403
10319
|
};
|
10404
10320
|
}
|
@@ -10413,16 +10329,14 @@ var getColorSchemeHoverProps = (props) => {
|
|
10413
10329
|
backgroundColor: mode("white", "whiteAlpha.200")(props),
|
10414
10330
|
boxShadow: getBoxShadowString({
|
10415
10331
|
baseShadow,
|
10416
|
-
borderColor: colors.steel
|
10417
|
-
isInset: false
|
10332
|
+
borderColor: colors.steel
|
10418
10333
|
})
|
10419
10334
|
};
|
10420
10335
|
case "grey":
|
10421
10336
|
return {
|
10422
10337
|
boxShadow: getBoxShadowString({
|
10423
10338
|
baseShadow,
|
10424
|
-
borderColor: colors.osloGrey
|
10425
|
-
isInset: false
|
10339
|
+
borderColor: colors.osloGrey
|
10426
10340
|
})
|
10427
10341
|
};
|
10428
10342
|
default:
|
@@ -10430,8 +10344,7 @@ var getColorSchemeHoverProps = (props) => {
|
|
10430
10344
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
|
10431
10345
|
boxShadow: getBoxShadowString({
|
10432
10346
|
baseShadow,
|
10433
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
|
10434
|
-
isInset: false
|
10347
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
|
10435
10348
|
})
|
10436
10349
|
};
|
10437
10350
|
}
|
@@ -10446,8 +10359,7 @@ var getColorSchemeActiveProps = (props) => {
|
|
10446
10359
|
backgroundColor: mode("mint", "teal")(props),
|
10447
10360
|
boxShadow: getBoxShadowString({
|
10448
10361
|
baseShadow,
|
10449
|
-
borderColor: colors.silver
|
10450
|
-
isInset: false
|
10362
|
+
borderColor: colors.silver
|
10451
10363
|
})
|
10452
10364
|
};
|
10453
10365
|
case "grey":
|
@@ -10455,8 +10367,7 @@ var getColorSchemeActiveProps = (props) => {
|
|
10455
10367
|
backgroundColor: "white",
|
10456
10368
|
boxShadow: getBoxShadowString({
|
10457
10369
|
baseShadow,
|
10458
|
-
borderColor: colors.steel
|
10459
|
-
isInset: false
|
10370
|
+
borderColor: colors.steel
|
10460
10371
|
})
|
10461
10372
|
};
|
10462
10373
|
default:
|
@@ -10464,8 +10375,7 @@ var getColorSchemeActiveProps = (props) => {
|
|
10464
10375
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
|
10465
10376
|
boxShadow: getBoxShadowString({
|
10466
10377
|
baseShadow,
|
10467
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
|
10468
|
-
isInset: false
|
10378
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
|
10469
10379
|
})
|
10470
10380
|
};
|
10471
10381
|
}
|
@@ -10564,16 +10474,7 @@ var config8 = helpers3.defineMultiStyleConfig({
|
|
10564
10474
|
appearance: "none",
|
10565
10475
|
display: "flex",
|
10566
10476
|
alignItems: "center",
|
10567
|
-
...
|
10568
|
-
notFocus: {},
|
10569
|
-
focus: {
|
10570
|
-
boxShadow: getBoxShadowString({
|
10571
|
-
borderColor: "greenHaze",
|
10572
|
-
borderWidth: 3
|
10573
|
-
}),
|
10574
|
-
outline: "none"
|
10575
|
-
}
|
10576
|
-
})
|
10477
|
+
...focusVisibleStyles(props)
|
10577
10478
|
},
|
10578
10479
|
card: {
|
10579
10480
|
borderRadius: "sm",
|
@@ -10589,20 +10490,10 @@ var config8 = helpers3.defineMultiStyleConfig({
|
|
10589
10490
|
boxShadow: getBoxShadowString({
|
10590
10491
|
borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
10591
10492
|
}),
|
10592
|
-
...focusVisible({
|
10593
|
-
notFocus: { boxShadow: "none" },
|
10594
|
-
focus: {
|
10595
|
-
boxShadow: getBoxShadowString({
|
10596
|
-
borderColor: "greenHaze",
|
10597
|
-
borderWidth: 3
|
10598
|
-
}),
|
10599
|
-
outline: "none"
|
10600
|
-
}
|
10601
|
-
}),
|
10602
10493
|
_hover: {
|
10603
10494
|
boxShadow: getBoxShadowString({
|
10604
10495
|
borderColor: mode("darkGrey", "white")(props),
|
10605
|
-
borderWidth:
|
10496
|
+
borderWidth: 2
|
10606
10497
|
})
|
10607
10498
|
},
|
10608
10499
|
_active: {
|
@@ -10644,13 +10535,17 @@ var config8 = helpers3.defineMultiStyleConfig({
|
|
10644
10535
|
floating: (props) => ({
|
10645
10536
|
trigger: {
|
10646
10537
|
...floatingBackground("default", props),
|
10647
|
-
boxShadow:
|
10538
|
+
boxShadow: getBoxShadowString({
|
10539
|
+
borderColor: mode("silver", "whiteAlpha.400")(props),
|
10540
|
+
borderWidth: 1,
|
10541
|
+
baseShadow: "sm"
|
10542
|
+
}),
|
10648
10543
|
transition: "all .1s ease-out",
|
10649
10544
|
_hover: {
|
10650
10545
|
...floatingBackground("hover", props),
|
10651
10546
|
boxShadow: getBoxShadowString({
|
10652
10547
|
borderColor: mode("silver", "whiteAlpha.400")(props),
|
10653
|
-
borderWidth:
|
10548
|
+
borderWidth: 2,
|
10654
10549
|
baseShadow: "sm"
|
10655
10550
|
})
|
10656
10551
|
},
|
@@ -10711,7 +10606,7 @@ var config8 = helpers3.defineMultiStyleConfig({
|
|
10711
10606
|
var card_select_default = config8;
|
10712
10607
|
var helpers4 = createMultiStyleConfigHelpers$1(checkboxAnatomy.keys);
|
10713
10608
|
var config9 = helpers4.defineMultiStyleConfig({
|
10714
|
-
baseStyle: {
|
10609
|
+
baseStyle: (props) => ({
|
10715
10610
|
container: {
|
10716
10611
|
_hover: {
|
10717
10612
|
"input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
|
@@ -10753,10 +10648,7 @@ var config9 = helpers4.defineMultiStyleConfig({
|
|
10753
10648
|
backgroundColor: "primaryGreen",
|
10754
10649
|
borderColor: "primaryGreen",
|
10755
10650
|
color: "white",
|
10756
|
-
|
10757
|
-
backgroundColor: "primaryGreen",
|
10758
|
-
borderColor: "azure"
|
10759
|
-
},
|
10651
|
+
...focusVisibleStyles(props),
|
10760
10652
|
_disabled: {
|
10761
10653
|
backgroundColor: "lightGrey",
|
10762
10654
|
borderColor: "steel",
|
@@ -10771,10 +10663,6 @@ var config9 = helpers4.defineMultiStyleConfig({
|
|
10771
10663
|
backgroundColor: "lightGrey",
|
10772
10664
|
borderColor: "steel"
|
10773
10665
|
},
|
10774
|
-
_focus: {
|
10775
|
-
backgroundColor: "white",
|
10776
|
-
borderColor: "azure"
|
10777
|
-
},
|
10778
10666
|
_invalid: {
|
10779
10667
|
backgroundColor: "white",
|
10780
10668
|
borderColor: "brightRed"
|
@@ -10784,7 +10672,7 @@ var config9 = helpers4.defineMultiStyleConfig({
|
|
10784
10672
|
userSelect: "none",
|
10785
10673
|
_disabled: { opacity: 0.4 }
|
10786
10674
|
}
|
10787
|
-
}
|
10675
|
+
})
|
10788
10676
|
});
|
10789
10677
|
var checkbox_default = config9;
|
10790
10678
|
var parts3 = anatomy$1("choice-chip").parts("container", "icon", "label");
|
@@ -10804,15 +10692,7 @@ var config10 = helpers5.defineMultiStyleConfig({
|
|
10804
10692
|
background: "pine",
|
10805
10693
|
boxShadow: getBoxShadowString({ borderColor: "celadon" })
|
10806
10694
|
},
|
10807
|
-
"input:focus-visible + &":
|
10808
|
-
boxShadow: `inset 0 0 0 2px ${mode(
|
10809
|
-
colors.greenHaze,
|
10810
|
-
colors.azure
|
10811
|
-
)(props)}, inset 0 0 0 4px ${mode(
|
10812
|
-
colors.white,
|
10813
|
-
colors.darkGrey
|
10814
|
-
)(props)}`
|
10815
|
-
},
|
10695
|
+
"input:focus-visible + &": focusVisibleStyles(props)._focusVisible,
|
10816
10696
|
"@media (hover:hover)": {
|
10817
10697
|
_hover: {
|
10818
10698
|
color: mode("darkTeal", "white")(props),
|
@@ -10881,18 +10761,7 @@ var config11 = defineStyleConfig$1({
|
|
10881
10761
|
backgroundColor: "transparent",
|
10882
10762
|
color: mode("darkGrey", "white")(props),
|
10883
10763
|
fontWeight: "normal",
|
10884
|
-
...
|
10885
|
-
focus: {
|
10886
|
-
outline: "none",
|
10887
|
-
boxShadow: getBoxShadowString({
|
10888
|
-
borderColor: mode("greenHaze", "azure")(props)
|
10889
|
-
}),
|
10890
|
-
outlineOffset: "2px"
|
10891
|
-
},
|
10892
|
-
notFocus: {
|
10893
|
-
boxShadow: "none"
|
10894
|
-
}
|
10895
|
-
}),
|
10764
|
+
...focusVisibleStyles(props),
|
10896
10765
|
_hover: {
|
10897
10766
|
backgroundColor: mode("seaMist", "whiteAlpha.100")(props),
|
10898
10767
|
_disabled: {
|
@@ -10928,7 +10797,7 @@ var config12 = defineStyleConfig$1({
|
|
10928
10797
|
fontFamily: "monospace",
|
10929
10798
|
fontSize: ["mobile.xs", "desktop.xs"],
|
10930
10799
|
borderRadius: "xs",
|
10931
|
-
|
10800
|
+
paddingX: 1
|
10932
10801
|
},
|
10933
10802
|
variants: variants13,
|
10934
10803
|
defaultProps: defaultProps2
|
@@ -10967,6 +10836,9 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
10967
10836
|
},
|
10968
10837
|
_disabled: {
|
10969
10838
|
pointerEvents: "none"
|
10839
|
+
},
|
10840
|
+
_focusWithin: {
|
10841
|
+
...focusVisibleStyles(props)._focusVisible
|
10970
10842
|
}
|
10971
10843
|
},
|
10972
10844
|
inputLabel: {
|
@@ -10983,7 +10855,10 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
10983
10855
|
},
|
10984
10856
|
calendarTriggerButton: {
|
10985
10857
|
backgroundColor: mode("white", "night")(props),
|
10986
|
-
boxShadow:
|
10858
|
+
boxShadow: getBoxShadowString({
|
10859
|
+
borderColor: mode("darkGrey", "white")(props),
|
10860
|
+
borderWidth: 1
|
10861
|
+
}),
|
10987
10862
|
width: 8,
|
10988
10863
|
display: "flex",
|
10989
10864
|
alignItems: "center",
|
@@ -11003,21 +10878,7 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11003
10878
|
_active: {
|
11004
10879
|
backgroundColor: mode("mint", "whiteAlpha.200")(props)
|
11005
10880
|
},
|
11006
|
-
...
|
11007
|
-
focus: {
|
11008
|
-
outline: "none",
|
11009
|
-
boxShadow: getBoxShadowString({
|
11010
|
-
borderColor: mode("greenHaze", "azure")(props),
|
11011
|
-
borderWidth: 2
|
11012
|
-
})
|
11013
|
-
},
|
11014
|
-
notFocus: {
|
11015
|
-
boxShadow: getBoxShadowString({
|
11016
|
-
borderColor: mode("darkGrey", "white")(props),
|
11017
|
-
borderWidth: 1
|
11018
|
-
})
|
11019
|
-
}
|
11020
|
-
}),
|
10881
|
+
...focusVisibleStyles(props),
|
11021
10882
|
_invalid: {
|
11022
10883
|
boxShadow: getBoxShadowString({
|
11023
10884
|
borderColor: "brightRed",
|
@@ -11057,27 +10918,11 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11057
10918
|
_hover: {
|
11058
10919
|
backgroundColor: mode("seaMist", "pine")(props)
|
11059
10920
|
},
|
11060
|
-
|
11061
|
-
|
11062
|
-
|
11063
|
-
|
11064
|
-
|
11065
|
-
borderColor: mode("greenHaze", "azure")(props)
|
11066
|
-
})
|
11067
|
-
},
|
11068
|
-
notFocus: {
|
11069
|
-
boxShadow: "none",
|
11070
|
-
_hover: {
|
11071
|
-
boxShadow: getBoxShadowString({
|
11072
|
-
borderWidth: 2,
|
11073
|
-
borderColor: "osloGrey"
|
11074
|
-
})
|
11075
|
-
},
|
11076
|
-
_active: {
|
11077
|
-
color: mode("darkGrey", "white")(props)
|
11078
|
-
}
|
11079
|
-
}
|
11080
|
-
}),
|
10921
|
+
_focusVisible: {
|
10922
|
+
outlineColor: "greenHaze",
|
10923
|
+
outlineWidth: 2,
|
10924
|
+
outlineStyle: "solid"
|
10925
|
+
},
|
11081
10926
|
_active: {
|
11082
10927
|
backgroundColor: "seaMist",
|
11083
10928
|
boxShadow: "none",
|
@@ -11101,14 +10946,7 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11101
10946
|
boxShadow: getBoxShadowString({
|
11102
10947
|
borderWidth: 1,
|
11103
10948
|
borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11104
|
-
})
|
11105
|
-
_focus: {
|
11106
|
-
outline: "none",
|
11107
|
-
boxShadow: getBoxShadowString({
|
11108
|
-
borderWidth: 2,
|
11109
|
-
borderColor: mode("greenHaze", "azure")(props)
|
11110
|
-
})
|
11111
|
-
}
|
10949
|
+
})
|
11112
10950
|
},
|
11113
10951
|
"&[data-unavailable]": {
|
11114
10952
|
pointerEvents: "none",
|
@@ -11128,12 +10966,6 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11128
10966
|
borderWidth: 2
|
11129
10967
|
})
|
11130
10968
|
},
|
11131
|
-
_focusWithin: {
|
11132
|
-
boxShadow: getBoxShadowString({
|
11133
|
-
borderColor: mode("greenHaze", "azure")(props),
|
11134
|
-
borderWidth: 2
|
11135
|
-
})
|
11136
|
-
},
|
11137
10969
|
_invalid: {
|
11138
10970
|
boxShadow: getBoxShadowString({
|
11139
10971
|
borderColor: "brightRed",
|
@@ -11187,13 +11019,6 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11187
11019
|
baseShadow: "sm"
|
11188
11020
|
})
|
11189
11021
|
},
|
11190
|
-
_focusWithin: {
|
11191
|
-
boxShadow: getBoxShadowString({
|
11192
|
-
borderColor: mode("greenHaze", "azure")(props),
|
11193
|
-
borderWidth: 2,
|
11194
|
-
baseShadow: "sm"
|
11195
|
-
})
|
11196
|
-
},
|
11197
11022
|
_invalid: {
|
11198
11023
|
boxShadow: getBoxShadowString({
|
11199
11024
|
borderColor: "brightRed",
|
@@ -11240,12 +11065,6 @@ var config13 = helpers6.defineMultiStyleConfig({
|
|
11240
11065
|
borderWidth: 2
|
11241
11066
|
})
|
11242
11067
|
},
|
11243
|
-
_focusWithin: {
|
11244
|
-
boxShadow: getBoxShadowString({
|
11245
|
-
borderColor: mode("greenHaze", "azure")(props),
|
11246
|
-
borderWidth: 2
|
11247
|
-
})
|
11248
|
-
},
|
11249
11068
|
_invalid: {
|
11250
11069
|
boxShadow: getBoxShadowString({
|
11251
11070
|
borderColor: "brightRed",
|
@@ -11343,9 +11162,9 @@ var config14 = helpers7.defineMultiStyleConfig({
|
|
11343
11162
|
boxShadow: "md"
|
11344
11163
|
},
|
11345
11164
|
header: {
|
11346
|
-
|
11347
|
-
|
11348
|
-
|
11165
|
+
paddingX: 3,
|
11166
|
+
paddingTop: 6,
|
11167
|
+
paddingBottom: 2,
|
11349
11168
|
fontWeight: "bold",
|
11350
11169
|
fontFamily: "body"
|
11351
11170
|
},
|
@@ -11356,14 +11175,14 @@ var config14 = helpers7.defineMultiStyleConfig({
|
|
11356
11175
|
zIndex: "modal"
|
11357
11176
|
},
|
11358
11177
|
body: {
|
11359
|
-
|
11360
|
-
|
11178
|
+
paddingX: 3,
|
11179
|
+
paddingBottom: 6,
|
11361
11180
|
flex: 1,
|
11362
11181
|
overflow: props.scrollBehavior === "inside" ? "auto" : void 0
|
11363
11182
|
},
|
11364
11183
|
footer: {
|
11365
|
-
|
11366
|
-
|
11184
|
+
paddingX: 3,
|
11185
|
+
paddingBottom: 3
|
11367
11186
|
}
|
11368
11187
|
}),
|
11369
11188
|
sizes: {
|
@@ -11408,9 +11227,9 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11408
11227
|
container: {
|
11409
11228
|
display: "flex",
|
11410
11229
|
alignItems: "center",
|
11411
|
-
|
11412
|
-
|
11413
|
-
|
11230
|
+
paddingY: 2,
|
11231
|
+
paddingLeft: 2,
|
11232
|
+
paddingRight: props.isTextVisible ? 3 : 2,
|
11414
11233
|
cursor: "pointer",
|
11415
11234
|
overflowX: "hidden",
|
11416
11235
|
whiteSpace: "nowrap",
|
@@ -11421,28 +11240,21 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11421
11240
|
position: "fixed",
|
11422
11241
|
...getPositionProps(props),
|
11423
11242
|
_disabled: {
|
11424
|
-
backgroundColor: "whiteAlpha.
|
11425
|
-
color: "
|
11243
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
11244
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11426
11245
|
},
|
11427
|
-
...
|
11428
|
-
focus: {
|
11429
|
-
boxShadow: getBoxShadowString({
|
11430
|
-
borderColor: "greenHaze",
|
11431
|
-
borderWidth: 2,
|
11432
|
-
baseShadow: "md"
|
11433
|
-
})
|
11434
|
-
},
|
11435
|
-
notFocus: {
|
11436
|
-
boxShadow: "md"
|
11437
|
-
}
|
11438
|
-
}),
|
11246
|
+
...focusVisibleStyles(props),
|
11439
11247
|
_hover: {
|
11440
|
-
backgroundColor: "seaMist"
|
11248
|
+
backgroundColor: "seaMist",
|
11249
|
+
_disabled: {
|
11250
|
+
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
11251
|
+
color: mode("blackAlpha.400", "whiteAlpha.400")(props)
|
11252
|
+
}
|
11441
11253
|
},
|
11442
11254
|
zIndex: "sticky"
|
11443
11255
|
},
|
11444
11256
|
icon: {
|
11445
|
-
|
11257
|
+
marginRight: props.isTextVisible ? 1 : 0
|
11446
11258
|
},
|
11447
11259
|
text: {
|
11448
11260
|
display: "flex",
|
@@ -11460,16 +11272,7 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11460
11272
|
_active: { backgroundColor: "pine" },
|
11461
11273
|
_hover: {
|
11462
11274
|
backgroundColor: "night"
|
11463
|
-
}
|
11464
|
-
...focusVisible({
|
11465
|
-
focus: {
|
11466
|
-
boxShadow: `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
|
11467
|
-
outline: "none"
|
11468
|
-
},
|
11469
|
-
notFocus: {
|
11470
|
-
boxShadow: "md"
|
11471
|
-
}
|
11472
|
-
})
|
11275
|
+
}
|
11473
11276
|
}
|
11474
11277
|
}),
|
11475
11278
|
light: {
|
@@ -11493,19 +11296,7 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11493
11296
|
_active: { backgroundColor: mode("pine", "white")(props) },
|
11494
11297
|
_hover: {
|
11495
11298
|
backgroundColor: mode("night", "seaMist")(props)
|
11496
|
-
}
|
11497
|
-
...focusVisible({
|
11498
|
-
focus: {
|
11499
|
-
boxShadow: mode(
|
11500
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
|
11501
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.darkTeal}`
|
11502
|
-
)(props),
|
11503
|
-
outline: "none"
|
11504
|
-
},
|
11505
|
-
notFocus: {
|
11506
|
-
boxShadow: "md"
|
11507
|
-
}
|
11508
|
-
})
|
11299
|
+
}
|
11509
11300
|
}
|
11510
11301
|
}),
|
11511
11302
|
base: (props) => ({
|
@@ -11523,19 +11314,7 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11523
11314
|
`inset 0 0 0 2px ${props.theme.colors.white}`
|
11524
11315
|
)(props),
|
11525
11316
|
color: mode("darkGrey", "white")(props)
|
11526
|
-
}
|
11527
|
-
...focusVisible({
|
11528
|
-
focus: {
|
11529
|
-
boxShadow: mode(
|
11530
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.white}, inset 0 0 0 6px ${props.theme.colors.darkGrey}`,
|
11531
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.brightRed}, inset 0 0 0 6px ${props.theme.colors.white}`
|
11532
|
-
)(props),
|
11533
|
-
outline: "none"
|
11534
|
-
},
|
11535
|
-
notFocus: {
|
11536
|
-
boxShadow: "md"
|
11537
|
-
}
|
11538
|
-
})
|
11317
|
+
}
|
11539
11318
|
}
|
11540
11319
|
}),
|
11541
11320
|
accent: (props) => ({
|
@@ -11549,19 +11328,7 @@ var config15 = helpers8.defineMultiStyleConfig({
|
|
11549
11328
|
_hover: {
|
11550
11329
|
backgroundColor: mode("coralGreen", "whiteAlpha.200")(props),
|
11551
11330
|
color: mode("darkTeal", "white")(props)
|
11552
|
-
}
|
11553
|
-
...focusVisible({
|
11554
|
-
focus: {
|
11555
|
-
boxShadow: mode(
|
11556
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.azure}`,
|
11557
|
-
`${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.pine}, inset 0 0 0 6px ${props.theme.colors.azure}`
|
11558
|
-
)(props),
|
11559
|
-
outline: "none"
|
11560
|
-
},
|
11561
|
-
notFocus: {
|
11562
|
-
boxShadow: "md"
|
11563
|
-
}
|
11564
|
-
})
|
11331
|
+
}
|
11565
11332
|
}
|
11566
11333
|
})
|
11567
11334
|
},
|
@@ -11596,7 +11363,7 @@ var config16 = helpers9.defineMultiStyleConfig({
|
|
11596
11363
|
color: mode("brightRed", "lightRed")(props)
|
11597
11364
|
},
|
11598
11365
|
helperText: {
|
11599
|
-
|
11366
|
+
marginTop: 2,
|
11600
11367
|
color: mode("dimGrey", "whiteAlpha.600")(props),
|
11601
11368
|
lineHeight: "normal",
|
11602
11369
|
fontSize: "sm"
|
@@ -11608,7 +11375,7 @@ var config17 = defineStyleConfig$1({
|
|
11608
11375
|
baseStyle: {
|
11609
11376
|
fontSize: "mobile.sm",
|
11610
11377
|
marginEnd: 3,
|
11611
|
-
|
11378
|
+
marginBottom: 2,
|
11612
11379
|
transitionProperty: "common",
|
11613
11380
|
transitionDuration: "normal",
|
11614
11381
|
opacity: 1,
|
@@ -11618,20 +11385,6 @@ var config17 = defineStyleConfig$1({
|
|
11618
11385
|
}
|
11619
11386
|
});
|
11620
11387
|
var form_label_default = config17;
|
11621
|
-
|
11622
|
-
// src/theme/utils/sr-utils.ts
|
11623
|
-
var srOnly2 = {
|
11624
|
-
border: "0 !important",
|
11625
|
-
clip: "rect(1px, 1px, 1px, 1px) !important",
|
11626
|
-
clipPath: "inset(50%) !important",
|
11627
|
-
height: "1px !important",
|
11628
|
-
margin: "-1px !important",
|
11629
|
-
overflow: "hidden !important",
|
11630
|
-
padding: "0 !important",
|
11631
|
-
position: "absolute !important",
|
11632
|
-
width: "1px !important",
|
11633
|
-
whiteSpace: "nowrap !important"
|
11634
|
-
};
|
11635
11388
|
function baseBorder(state2, props) {
|
11636
11389
|
switch (state2) {
|
11637
11390
|
case "hover":
|
@@ -11706,6 +11459,20 @@ function floatingBorder(state2, props) {
|
|
11706
11459
|
}
|
11707
11460
|
}
|
11708
11461
|
|
11462
|
+
// src/theme/utils/sr-utils.ts
|
11463
|
+
var srOnly2 = {
|
11464
|
+
border: "0 !important",
|
11465
|
+
clip: "rect(1px, 1px, 1px, 1px) !important",
|
11466
|
+
clipPath: "inset(50%) !important",
|
11467
|
+
height: "1px !important",
|
11468
|
+
margin: "-1px !important",
|
11469
|
+
overflow: "hidden !important",
|
11470
|
+
padding: "0 !important",
|
11471
|
+
position: "absolute !important",
|
11472
|
+
width: "1px !important",
|
11473
|
+
whiteSpace: "nowrap !important"
|
11474
|
+
};
|
11475
|
+
|
11709
11476
|
// src/theme/components/info-select.ts
|
11710
11477
|
var parts6 = anatomy("InfoSelect").parts(
|
11711
11478
|
"container",
|
@@ -11735,15 +11502,7 @@ var config18 = helpers10.defineMultiStyleConfig({
|
|
11735
11502
|
_hover: {
|
11736
11503
|
...baseBorder("hover", props)
|
11737
11504
|
},
|
11738
|
-
...
|
11739
|
-
focus: {
|
11740
|
-
...baseBorder("focus", props),
|
11741
|
-
outline: "none"
|
11742
|
-
},
|
11743
|
-
notFocus: {
|
11744
|
-
...baseBorder("default", props)
|
11745
|
-
}
|
11746
|
-
}),
|
11505
|
+
...focusVisibleStyles(props),
|
11747
11506
|
_disabled: {
|
11748
11507
|
color: "whiteAlpha.400",
|
11749
11508
|
...baseBackground("disabled", props),
|
@@ -11751,31 +11510,19 @@ var config18 = helpers10.defineMultiStyleConfig({
|
|
11751
11510
|
_focus: { ...baseBorder("disabled", props) }
|
11752
11511
|
},
|
11753
11512
|
_active: {
|
11754
|
-
...baseBackground("active", props)
|
11755
|
-
...baseBorder("focus", props)
|
11756
|
-
},
|
11757
|
-
_expanded: {
|
11758
|
-
...baseBorder("focus", props)
|
11513
|
+
...baseBackground("active", props)
|
11759
11514
|
},
|
11760
11515
|
_invalid: {
|
11761
11516
|
...baseBorder("invalid", props),
|
11762
11517
|
_hover: {
|
11763
11518
|
...baseBorder("hover", props)
|
11764
|
-
}
|
11765
|
-
...focusVisible({
|
11766
|
-
focus: {
|
11767
|
-
...baseBorder("focus", props)
|
11768
|
-
},
|
11769
|
-
notFocus: {
|
11770
|
-
...baseBorder("invalid", props)
|
11771
|
-
}
|
11772
|
-
})
|
11519
|
+
}
|
11773
11520
|
}
|
11774
11521
|
},
|
11775
11522
|
arrowIcon: {}
|
11776
11523
|
}),
|
11777
11524
|
variants: {
|
11778
|
-
base: (
|
11525
|
+
base: () => ({}),
|
11779
11526
|
floating: (props) => ({
|
11780
11527
|
button: {
|
11781
11528
|
...floatingBackground("default", props),
|
@@ -11784,15 +11531,6 @@ var config18 = helpers10.defineMultiStyleConfig({
|
|
11784
11531
|
...floatingBorder("hover", props),
|
11785
11532
|
...floatingBackground("hover", props)
|
11786
11533
|
},
|
11787
|
-
...focusVisible({
|
11788
|
-
focus: {
|
11789
|
-
...floatingBorder("focus", props),
|
11790
|
-
outline: "none"
|
11791
|
-
},
|
11792
|
-
notFocus: {
|
11793
|
-
...floatingBorder("default", props)
|
11794
|
-
}
|
11795
|
-
}),
|
11796
11534
|
_active: {
|
11797
11535
|
...floatingBorder("active", props),
|
11798
11536
|
...floatingBackground("active", props)
|
@@ -11836,20 +11574,7 @@ var config19 = helpers11.defineMultiStyleConfig({
|
|
11836
11574
|
baseShadow: "sm"
|
11837
11575
|
})
|
11838
11576
|
},
|
11839
|
-
...
|
11840
|
-
focus: {
|
11841
|
-
outline: "none",
|
11842
|
-
borderColor: "transparent",
|
11843
|
-
boxShadow: getBoxShadowString({
|
11844
|
-
borderWidth: 2,
|
11845
|
-
borderColor: "darkGrey"
|
11846
|
-
})
|
11847
|
-
},
|
11848
|
-
notFocus: {
|
11849
|
-
boxShadow: "none",
|
11850
|
-
borderColor: getDeviationBorderColor(props)
|
11851
|
-
}
|
11852
|
-
}),
|
11577
|
+
...focusVisibleStyles(props),
|
11853
11578
|
_active: {
|
11854
11579
|
opacity: 0.5,
|
11855
11580
|
boxShadow: "none"
|
@@ -12137,7 +11862,7 @@ var config21 = helpers13.defineMultiStyleConfig({
|
|
12137
11862
|
transitionProperty: "common",
|
12138
11863
|
transitionDuration: "fast",
|
12139
11864
|
position: "relative",
|
12140
|
-
|
11865
|
+
paddingX: 3,
|
12141
11866
|
height: "54px",
|
12142
11867
|
fontSize: "mobile.md",
|
12143
11868
|
boxShadow: getBoxShadowString({
|
@@ -12155,19 +11880,10 @@ var config21 = helpers13.defineMultiStyleConfig({
|
|
12155
11880
|
borderWidth: 2
|
12156
11881
|
})
|
12157
11882
|
},
|
12158
|
-
|
12159
|
-
|
12160
|
-
|
12161
|
-
|
12162
|
-
borderWidth: 2
|
12163
|
-
})
|
12164
|
-
},
|
12165
|
-
notFocus: {
|
12166
|
-
boxShadow: getBoxShadowString({
|
12167
|
-
borderColor: mode("darkGrey", "white")(props)
|
12168
|
-
})
|
12169
|
-
}
|
12170
|
-
}),
|
11883
|
+
_focusVisible: {
|
11884
|
+
...focusVisibleStyles(props)._focusVisible,
|
11885
|
+
outlineOffset: -2
|
11886
|
+
},
|
12171
11887
|
_disabled: {
|
12172
11888
|
backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
|
12173
11889
|
boxShadow: getBoxShadowString({
|
@@ -12185,21 +11901,7 @@ var config21 = helpers13.defineMultiStyleConfig({
|
|
12185
11901
|
borderColor: mode("darkGrey", "white")(props),
|
12186
11902
|
borderWidth: 2
|
12187
11903
|
})
|
12188
|
-
}
|
12189
|
-
...focusVisible({
|
12190
|
-
focus: {
|
12191
|
-
boxShadow: getBoxShadowString({
|
12192
|
-
borderColor: mode("greenHaze", "azure")(props),
|
12193
|
-
borderWidth: 2
|
12194
|
-
})
|
12195
|
-
},
|
12196
|
-
notFocus: {
|
12197
|
-
boxShadow: getBoxShadowString({
|
12198
|
-
borderColor: "brightRed",
|
12199
|
-
borderWidth: 2
|
12200
|
-
})
|
12201
|
-
}
|
12202
|
-
})
|
11904
|
+
}
|
12203
11905
|
},
|
12204
11906
|
" + label": {
|
12205
11907
|
fontSize: ["mobile.sm", "desktop.sm"],
|
@@ -12207,13 +11909,13 @@ var config21 = helpers13.defineMultiStyleConfig({
|
|
12207
11909
|
left: props.paddingLeft || props.pl || 3,
|
12208
11910
|
zIndex: 2,
|
12209
11911
|
position: "absolute",
|
12210
|
-
|
11912
|
+
marginY: 2,
|
12211
11913
|
transition: ".1s ease-out",
|
12212
11914
|
transformOrigin: "top left",
|
12213
11915
|
cursor: "text"
|
12214
11916
|
},
|
12215
11917
|
"&:not(:placeholder-shown)": {
|
12216
|
-
|
11918
|
+
paddingTop: "16px",
|
12217
11919
|
"& + label": {
|
12218
11920
|
transform: "scale(0.825) translateY(-10px)"
|
12219
11921
|
}
|
@@ -12351,7 +12053,7 @@ var config22 = helpers14.defineMultiStyleConfig({
|
|
12351
12053
|
});
|
12352
12054
|
var line_icon_default = config22;
|
12353
12055
|
var config23 = defineStyleConfig$1({
|
12354
|
-
baseStyle: {
|
12056
|
+
baseStyle: (props) => ({
|
12355
12057
|
transitionProperty: "common",
|
12356
12058
|
transitionDuration: "fast",
|
12357
12059
|
transitionTimingFunction: "ease-out",
|
@@ -12372,6 +12074,7 @@ var config23 = defineStyleConfig$1({
|
|
12372
12074
|
outline: "none",
|
12373
12075
|
borderRadius: "xs"
|
12374
12076
|
},
|
12077
|
+
...focusVisibleStyles(props),
|
12375
12078
|
svg: {
|
12376
12079
|
display: "inline-block",
|
12377
12080
|
width: "1.125em",
|
@@ -12379,25 +12082,10 @@ var config23 = defineStyleConfig$1({
|
|
12379
12082
|
position: "relative",
|
12380
12083
|
bottom: "-0.2em"
|
12381
12084
|
}
|
12382
|
-
},
|
12085
|
+
}),
|
12383
12086
|
variants: {
|
12384
12087
|
primary: (props) => ({
|
12385
12088
|
color: mode("pine", "coralGreen")(props),
|
12386
|
-
...focusVisible({
|
12387
|
-
focus: {
|
12388
|
-
backgroundColor: mode("pine", "white")(props),
|
12389
|
-
color: mode("white", "pine")(props),
|
12390
|
-
boxShadow: getBoxShadowString({
|
12391
|
-
borderWidth: 2,
|
12392
|
-
isInset: false
|
12393
|
-
})
|
12394
|
-
},
|
12395
|
-
notFocus: {
|
12396
|
-
color: "pine",
|
12397
|
-
backgroundColor: "transparent",
|
12398
|
-
boxShadow: "none"
|
12399
|
-
}
|
12400
|
-
}),
|
12401
12089
|
_hover: {
|
12402
12090
|
color: mode("darkTeal", "white")(props),
|
12403
12091
|
backgroundColor: mode("coralGreen", "whiteAlpha.200")(props)
|
@@ -12409,16 +12097,6 @@ var config23 = defineStyleConfig$1({
|
|
12409
12097
|
}),
|
12410
12098
|
secondary: (props) => ({
|
12411
12099
|
color: mode("darkGrey", "white")(props),
|
12412
|
-
...focusVisible({
|
12413
|
-
focus: {
|
12414
|
-
backgroundColor: mode("darkGrey", "white")(props),
|
12415
|
-
color: mode("white", "darkTeal")(props)
|
12416
|
-
},
|
12417
|
-
notFocus: {
|
12418
|
-
boxShadow: "none",
|
12419
|
-
backgroundColor: "transparent"
|
12420
|
-
}
|
12421
|
-
}),
|
12422
12100
|
_hover: {
|
12423
12101
|
backgroundColor: mode("blackAlpha.100", "whiteAlpha.200")(props),
|
12424
12102
|
color: mode("darkGrey", "white")(props)
|
@@ -12487,12 +12165,10 @@ var config24 = helpers15.defineMultiStyleConfig({
|
|
12487
12165
|
_active: {
|
12488
12166
|
...ghostBackground("active", props)
|
12489
12167
|
},
|
12490
|
-
_focus: {
|
12491
|
-
...ghostBackground("focus", props)
|
12492
|
-
},
|
12493
12168
|
_hover: {
|
12494
12169
|
...ghostBackground("hover", props)
|
12495
12170
|
},
|
12171
|
+
...focusVisibleStyles(props),
|
12496
12172
|
_selected: {
|
12497
12173
|
...ghostBackground("selected", props)
|
12498
12174
|
}
|
@@ -12511,7 +12187,7 @@ var listbox_default = config24;
|
|
12511
12187
|
var parts11 = anatomy$1("media-controller-button").parts("container", "icon");
|
12512
12188
|
var helpers16 = createMultiStyleConfigHelpers$1(parts11.keys);
|
12513
12189
|
var config25 = helpers16.defineMultiStyleConfig({
|
12514
|
-
baseStyle: {
|
12190
|
+
baseStyle: (props) => ({
|
12515
12191
|
container: {
|
12516
12192
|
fontSize: 30,
|
12517
12193
|
transitionProperty: "common",
|
@@ -12524,7 +12200,8 @@ var config25 = helpers16.defineMultiStyleConfig({
|
|
12524
12200
|
display: "flex",
|
12525
12201
|
padding: 1,
|
12526
12202
|
alignSelf: "center",
|
12527
|
-
color: "primaryGreen"
|
12203
|
+
color: "primaryGreen",
|
12204
|
+
...focusVisibleStyles(props)
|
12528
12205
|
},
|
12529
12206
|
icon: {
|
12530
12207
|
flex: "0 0 auto",
|
@@ -12532,7 +12209,7 @@ var config25 = helpers16.defineMultiStyleConfig({
|
|
12532
12209
|
width: "1em",
|
12533
12210
|
height: "1em"
|
12534
12211
|
}
|
12535
|
-
},
|
12212
|
+
}),
|
12536
12213
|
variants: {
|
12537
12214
|
play: {
|
12538
12215
|
container: {
|
@@ -12543,34 +12220,6 @@ var config25 = helpers16.defineMultiStyleConfig({
|
|
12543
12220
|
_active: {
|
12544
12221
|
color: "greenHaze"
|
12545
12222
|
},
|
12546
|
-
...focusVisible({
|
12547
|
-
focus: {
|
12548
|
-
position: "relative",
|
12549
|
-
outline: "none",
|
12550
|
-
_after: {
|
12551
|
-
content: '""',
|
12552
|
-
display: "block",
|
12553
|
-
zIndex: 2,
|
12554
|
-
margin: 0.5,
|
12555
|
-
borderRadius: "round",
|
12556
|
-
borderWidth: 2,
|
12557
|
-
borderColor: "white",
|
12558
|
-
borderStyle: "solid",
|
12559
|
-
pointerEvents: "none",
|
12560
|
-
position: "absolute",
|
12561
|
-
top: 0,
|
12562
|
-
right: 0,
|
12563
|
-
bottom: 0,
|
12564
|
-
left: 0,
|
12565
|
-
outline: "none"
|
12566
|
-
}
|
12567
|
-
},
|
12568
|
-
notFocus: {
|
12569
|
-
_after: {
|
12570
|
-
display: "none"
|
12571
|
-
}
|
12572
|
-
}
|
12573
|
-
}),
|
12574
12223
|
_disabled: {
|
12575
12224
|
color: "silver",
|
12576
12225
|
_hover: {
|
@@ -12584,18 +12233,6 @@ var config25 = helpers16.defineMultiStyleConfig({
|
|
12584
12233
|
},
|
12585
12234
|
jumpSkip: {
|
12586
12235
|
container: {
|
12587
|
-
...focusVisible({
|
12588
|
-
focus: {
|
12589
|
-
boxShadow: getBoxShadowString({
|
12590
|
-
borderColor: "greenHaze",
|
12591
|
-
borderWidth: 2
|
12592
|
-
}),
|
12593
|
-
outline: "none"
|
12594
|
-
},
|
12595
|
-
notFocus: {
|
12596
|
-
boxShadow: "none"
|
12597
|
-
}
|
12598
|
-
}),
|
12599
12236
|
_hover: {
|
12600
12237
|
backgroundColor: "seaMist"
|
12601
12238
|
},
|
@@ -12657,9 +12294,9 @@ var config26 = helpers17.defineMultiStyleConfig({
|
|
12657
12294
|
boxShadow: "md"
|
12658
12295
|
},
|
12659
12296
|
header: {
|
12660
|
-
|
12661
|
-
|
12662
|
-
|
12297
|
+
paddingX: 5,
|
12298
|
+
paddingTop: 6,
|
12299
|
+
paddingBottom: 2,
|
12663
12300
|
fontWeight: "bold",
|
12664
12301
|
fontFamily: "body"
|
12665
12302
|
},
|
@@ -12670,14 +12307,14 @@ var config26 = helpers17.defineMultiStyleConfig({
|
|
12670
12307
|
insetEnd: 3
|
12671
12308
|
},
|
12672
12309
|
body: {
|
12673
|
-
|
12674
|
-
|
12310
|
+
paddingX: 5,
|
12311
|
+
paddingBottom: 6,
|
12675
12312
|
flex: 1,
|
12676
12313
|
overflow: props.scrollBehavior === "inside" ? "auto" : void 0
|
12677
12314
|
},
|
12678
12315
|
footer: {
|
12679
|
-
|
12680
|
-
|
12316
|
+
paddingX: 3,
|
12317
|
+
paddingBottom: 3
|
12681
12318
|
}
|
12682
12319
|
}),
|
12683
12320
|
sizes: {
|
@@ -12731,7 +12368,7 @@ var config27 = helpers18.defineMultiStyleConfig({
|
|
12731
12368
|
[$arrowShadowColor2.variable]: `colors.blackAlpha.300`,
|
12732
12369
|
color: "white",
|
12733
12370
|
borderRadius: "sm",
|
12734
|
-
|
12371
|
+
padding: 1.5,
|
12735
12372
|
zIndex: "inherit",
|
12736
12373
|
maxWidth: "20em",
|
12737
12374
|
_focus: {
|
@@ -12748,14 +12385,7 @@ var config27 = helpers18.defineMultiStyleConfig({
|
|
12748
12385
|
position: "absolute",
|
12749
12386
|
color: "white",
|
12750
12387
|
hover: "whiteAlpha.100",
|
12751
|
-
...
|
12752
|
-
focus: {
|
12753
|
-
boxShadow: getBoxShadowString({ borderColor: "azure" })
|
12754
|
-
},
|
12755
|
-
notFocus: {
|
12756
|
-
boxShadow: "none"
|
12757
|
-
}
|
12758
|
-
}),
|
12388
|
+
...focusVisibleStyles(props),
|
12759
12389
|
_active: {
|
12760
12390
|
backgroundColor: "whiteAlpha.200"
|
12761
12391
|
},
|
@@ -12770,14 +12400,14 @@ var config27 = helpers18.defineMultiStyleConfig({
|
|
12770
12400
|
sizes: {
|
12771
12401
|
sm: {
|
12772
12402
|
content: {
|
12773
|
-
|
12774
|
-
|
12403
|
+
paddingX: 1.5,
|
12404
|
+
paddingY: 1
|
12775
12405
|
}
|
12776
12406
|
},
|
12777
12407
|
lg: {
|
12778
12408
|
content: {
|
12779
|
-
|
12780
|
-
|
12409
|
+
paddingX: 3,
|
12410
|
+
paddingY: 2
|
12781
12411
|
}
|
12782
12412
|
}
|
12783
12413
|
}
|
@@ -12809,13 +12439,10 @@ var config28 = helpers19.defineMultiStyleConfig({
|
|
12809
12439
|
}
|
12810
12440
|
},
|
12811
12441
|
circle: {
|
12812
|
-
fill: mode("blackAlpha.
|
12442
|
+
fill: mode("blackAlpha.200", "whiteAlpha.200")(props)
|
12813
12443
|
}
|
12814
12444
|
}
|
12815
12445
|
}),
|
12816
|
-
variants: {
|
12817
|
-
base: (props) => ({})
|
12818
|
-
},
|
12819
12446
|
defaultProps: {
|
12820
12447
|
variant: "base"
|
12821
12448
|
}
|
@@ -12823,7 +12450,7 @@ var config28 = helpers19.defineMultiStyleConfig({
|
|
12823
12450
|
var progress_indicator_default = config28;
|
12824
12451
|
var helpers20 = createMultiStyleConfigHelpers$1(radioAnatomy.keys);
|
12825
12452
|
var config29 = helpers20.defineMultiStyleConfig({
|
12826
|
-
baseStyle: {
|
12453
|
+
baseStyle: (props) => ({
|
12827
12454
|
container: {
|
12828
12455
|
_hover: {
|
12829
12456
|
"input:enabled + .chakra-radio__control": {
|
@@ -12846,10 +12473,7 @@ var config29 = helpers20.defineMultiStyleConfig({
|
|
12846
12473
|
border: "2px solid",
|
12847
12474
|
borderColor: "primaryGreen",
|
12848
12475
|
borderRadius: "50%",
|
12849
|
-
|
12850
|
-
backgroundColor: "seaMist",
|
12851
|
-
borderColor: "azure"
|
12852
|
-
},
|
12476
|
+
...focusVisibleStyles(props),
|
12853
12477
|
_disabled: {
|
12854
12478
|
backgroundColor: "lightGrey",
|
12855
12479
|
borderColor: "steel"
|
@@ -12866,17 +12490,13 @@ var config29 = helpers20.defineMultiStyleConfig({
|
|
12866
12490
|
borderRadius: "50%",
|
12867
12491
|
background: "currentColor"
|
12868
12492
|
},
|
12869
|
-
_focus: {
|
12870
|
-
backgroundColor: "white",
|
12871
|
-
color: "azure"
|
12872
|
-
},
|
12873
12493
|
_disabled: {
|
12874
12494
|
backgroundColor: "lightGrey",
|
12875
12495
|
borderColor: "steel"
|
12876
12496
|
}
|
12877
12497
|
}
|
12878
12498
|
}
|
12879
|
-
}
|
12499
|
+
})
|
12880
12500
|
});
|
12881
12501
|
var radio_default = config29;
|
12882
12502
|
var parts13 = selectAnatomy.extend("root");
|
@@ -12893,7 +12513,7 @@ var config30 = helpers21.defineMultiStyleConfig({
|
|
12893
12513
|
left: 3,
|
12894
12514
|
zIndex: 2,
|
12895
12515
|
position: "absolute",
|
12896
|
-
|
12516
|
+
marginY: 2,
|
12897
12517
|
transformOrigin: "top left",
|
12898
12518
|
transform: [
|
12899
12519
|
"scale(0.825) translateY(-12px)",
|
@@ -12969,30 +12589,30 @@ var parts14 = anatomy$1("stepper").parts(
|
|
12969
12589
|
);
|
12970
12590
|
var helpers22 = createMultiStyleConfigHelpers$1(parts14.keys);
|
12971
12591
|
var config32 = helpers22.defineMultiStyleConfig({
|
12972
|
-
baseStyle:
|
12592
|
+
baseStyle: {
|
12973
12593
|
root: {
|
12974
12594
|
display: "flex",
|
12975
12595
|
alignItems: "center",
|
12976
|
-
justifyContent: ["space-between", "center"],
|
12977
|
-
minHeight: ["48px", "60px"],
|
12596
|
+
justifyContent: ["space-between", null, "center"],
|
12597
|
+
minHeight: ["48px", null, "60px"],
|
12978
12598
|
overflowX: "auto",
|
12979
12599
|
width: "100%"
|
12980
12600
|
},
|
12981
12601
|
container: {
|
12982
|
-
|
12602
|
+
paddingX: [2, null, null, 0],
|
12983
12603
|
maxWidth: "container.lg",
|
12984
|
-
|
12604
|
+
marginX: "auto",
|
12985
12605
|
width: "100%"
|
12986
12606
|
},
|
12987
12607
|
innerContainer: {
|
12988
12608
|
overflow: "hidden",
|
12989
|
-
display: ["flex", "none"],
|
12609
|
+
display: ["flex", null, "none"],
|
12990
12610
|
alignItems: "center",
|
12991
12611
|
justifyContent: "space-between"
|
12992
12612
|
},
|
12993
12613
|
backButton: {
|
12994
12614
|
borderRadius: "xs",
|
12995
|
-
|
12615
|
+
paddingX: 0,
|
12996
12616
|
width: "auto",
|
12997
12617
|
minWidth: "auto"
|
12998
12618
|
},
|
@@ -13002,7 +12622,7 @@ var config32 = helpers22.defineMultiStyleConfig({
|
|
13002
12622
|
WebkitLineClamp: 2,
|
13003
12623
|
display: "-webkit-box",
|
13004
12624
|
WebkitBoxOrient: "vertical",
|
13005
|
-
|
12625
|
+
marginLeft: 2,
|
13006
12626
|
textAlign: "right"
|
13007
12627
|
},
|
13008
12628
|
stepContainer: {
|
@@ -13013,9 +12633,9 @@ var config32 = helpers22.defineMultiStyleConfig({
|
|
13013
12633
|
textStyle: "sm",
|
13014
12634
|
whiteSpace: "nowrap"
|
13015
12635
|
}
|
13016
|
-
}
|
12636
|
+
},
|
13017
12637
|
variants: {
|
13018
|
-
base: (
|
12638
|
+
base: () => ({
|
13019
12639
|
root: {
|
13020
12640
|
backgroundColor: "transparent"
|
13021
12641
|
}
|
@@ -13076,37 +12696,7 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13076
12696
|
borderColor: colors.whiteAlpha[400]
|
13077
12697
|
})
|
13078
12698
|
)({ colorMode }),
|
13079
|
-
...
|
13080
|
-
focus: {
|
13081
|
-
boxShadow: mode(
|
13082
|
-
getBoxShadowString([
|
13083
|
-
{
|
13084
|
-
borderColor: "white",
|
13085
|
-
borderWidth: 2,
|
13086
|
-
isInset: false
|
13087
|
-
},
|
13088
|
-
{
|
13089
|
-
borderColor: "primaryGreen",
|
13090
|
-
borderWidth: 4,
|
13091
|
-
isInset: false
|
13092
|
-
}
|
13093
|
-
]),
|
13094
|
-
getBoxShadowString({
|
13095
|
-
borderColor: "coralGreen",
|
13096
|
-
borderWidth: 2,
|
13097
|
-
isInset: false
|
13098
|
-
})
|
13099
|
-
)({ colorMode })
|
13100
|
-
},
|
13101
|
-
notFocus: {
|
13102
|
-
boxShadow: mode(
|
13103
|
-
"none",
|
13104
|
-
getBoxShadowString({
|
13105
|
-
borderColor: colors.whiteAlpha[400]
|
13106
|
-
})
|
13107
|
-
)({ colorMode })
|
13108
|
-
}
|
13109
|
-
}),
|
12699
|
+
...focusVisibleStyles({ colorMode }),
|
13110
12700
|
_hover: {
|
13111
12701
|
backgroundColor: "steel",
|
13112
12702
|
boxShadow: mode(
|
@@ -13116,35 +12706,6 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13116
12706
|
},
|
13117
12707
|
_checked: {
|
13118
12708
|
backgroundColor: mode("darkTeal", "celadon")({ colorMode }),
|
13119
|
-
...focusVisible({
|
13120
|
-
focus: {
|
13121
|
-
boxShadow: mode(
|
13122
|
-
getBoxShadowString([
|
13123
|
-
{
|
13124
|
-
borderColor: "white",
|
13125
|
-
borderWidth: 2,
|
13126
|
-
isInset: false
|
13127
|
-
},
|
13128
|
-
{
|
13129
|
-
borderColor: "primaryGreen",
|
13130
|
-
borderWidth: 4,
|
13131
|
-
isInset: false
|
13132
|
-
}
|
13133
|
-
]),
|
13134
|
-
getBoxShadowString({
|
13135
|
-
borderWidth: 2,
|
13136
|
-
borderColor: "coralGreen",
|
13137
|
-
isInset: false
|
13138
|
-
})
|
13139
|
-
)({ colorMode })
|
13140
|
-
},
|
13141
|
-
notFocus: {
|
13142
|
-
boxShadow: mode(
|
13143
|
-
"none",
|
13144
|
-
getBoxShadowString({ borderColor: colors.white })
|
13145
|
-
)({ colorMode })
|
13146
|
-
}
|
13147
|
-
}),
|
13148
12709
|
_hover: {
|
13149
12710
|
backgroundColor: mode("pine", "river")({ colorMode }),
|
13150
12711
|
boxShadow: mode(
|
@@ -13181,10 +12742,6 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13181
12742
|
boxShadow: getBoxShadowString({
|
13182
12743
|
borderColor: colors.blackAlpha["400"]
|
13183
12744
|
}),
|
13184
|
-
_focus: {
|
13185
|
-
backgroundColor: "platinum",
|
13186
|
-
boxShadow: `0 0 0 2px ${colors.greenHaze}`
|
13187
|
-
},
|
13188
12745
|
_hover: {
|
13189
12746
|
backgroundColor: "white"
|
13190
12747
|
},
|
@@ -13192,10 +12749,6 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13192
12749
|
backgroundColor: "white",
|
13193
12750
|
_hover: {
|
13194
12751
|
backgroundColor: "mint"
|
13195
|
-
},
|
13196
|
-
_focus: {
|
13197
|
-
backgroundColor: "white",
|
13198
|
-
boxShadow: `0 0 0 4px ${colors.greenHaze}, 0 0 0 2px ${colors.white}`
|
13199
12752
|
}
|
13200
12753
|
}
|
13201
12754
|
},
|
@@ -13215,7 +12768,7 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13215
12768
|
},
|
13216
12769
|
track: {
|
13217
12770
|
borderRadius: "24px",
|
13218
|
-
|
12771
|
+
padding: "2px"
|
13219
12772
|
}
|
13220
12773
|
},
|
13221
12774
|
md: {
|
@@ -13225,7 +12778,7 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13225
12778
|
},
|
13226
12779
|
track: {
|
13227
12780
|
borderRadius: "30px",
|
13228
|
-
|
12781
|
+
padding: "3px"
|
13229
12782
|
}
|
13230
12783
|
},
|
13231
12784
|
lg: {
|
@@ -13235,7 +12788,7 @@ var config33 = helpers23.defineMultiStyleConfig({
|
|
13235
12788
|
},
|
13236
12789
|
track: {
|
13237
12790
|
borderRadius: "36px",
|
13238
|
-
|
12791
|
+
padding: "3px"
|
13239
12792
|
}
|
13240
12793
|
}
|
13241
12794
|
},
|
@@ -13345,16 +12898,16 @@ var config34 = helpers24.defineMultiStyleConfig({
|
|
13345
12898
|
fontSize: ["mobile.xs", "desktop.xs"]
|
13346
12899
|
},
|
13347
12900
|
th: {
|
13348
|
-
|
13349
|
-
|
12901
|
+
paddingX: 3,
|
12902
|
+
paddingY: 1.5
|
13350
12903
|
},
|
13351
12904
|
td: {
|
13352
|
-
|
13353
|
-
|
12905
|
+
paddingX: 3,
|
12906
|
+
paddingY: 1.5
|
13354
12907
|
},
|
13355
12908
|
caption: {
|
13356
|
-
|
13357
|
-
|
12909
|
+
paddingX: 3,
|
12910
|
+
paddingY: 1.5
|
13358
12911
|
}
|
13359
12912
|
},
|
13360
12913
|
md: {
|
@@ -13362,16 +12915,16 @@ var config34 = helpers24.defineMultiStyleConfig({
|
|
13362
12915
|
fontSize: ["mobile.sm", "desktop.sm"]
|
13363
12916
|
},
|
13364
12917
|
th: {
|
13365
|
-
|
13366
|
-
|
12918
|
+
paddingX: 3,
|
12919
|
+
paddingY: 1.5
|
13367
12920
|
},
|
13368
12921
|
td: {
|
13369
|
-
|
13370
|
-
|
12922
|
+
paddingX: 3,
|
12923
|
+
paddingY: 1.5
|
13371
12924
|
},
|
13372
12925
|
caption: {
|
13373
|
-
|
13374
|
-
|
12926
|
+
paddingX: 3,
|
12927
|
+
paddingY: 1.5
|
13375
12928
|
}
|
13376
12929
|
},
|
13377
12930
|
lg: {
|
@@ -13379,16 +12932,16 @@ var config34 = helpers24.defineMultiStyleConfig({
|
|
13379
12932
|
fontSize: ["mobile.sm", "desktop.sm"]
|
13380
12933
|
},
|
13381
12934
|
th: {
|
13382
|
-
|
13383
|
-
|
12935
|
+
paddingX: 3,
|
12936
|
+
paddingY: "15px"
|
13384
12937
|
},
|
13385
12938
|
td: {
|
13386
|
-
|
13387
|
-
|
12939
|
+
paddingX: 3,
|
12940
|
+
paddingY: "15px"
|
13388
12941
|
},
|
13389
12942
|
caption: {
|
13390
|
-
|
13391
|
-
|
12943
|
+
paddingX: 3,
|
12944
|
+
paddingY: "15px"
|
13392
12945
|
}
|
13393
12946
|
}
|
13394
12947
|
},
|
@@ -13428,11 +12981,7 @@ var config35 = helpers25.defineMultiStyleConfig({
|
|
13428
12981
|
pointerEvents: "none",
|
13429
12982
|
...getTabColorSchemeSelectedProps(props)
|
13430
12983
|
},
|
13431
|
-
|
13432
|
-
":focus:not(:focus-visible)": {
|
13433
|
-
boxShadow: "none"
|
13434
|
-
},
|
13435
|
-
_focusVisible: getTabColorSchemeFocusProps(props),
|
12984
|
+
...focusVisibleStyles(props),
|
13436
12985
|
_hover: getTabColorSchemeHoverProps(props),
|
13437
12986
|
_active: getTabColorSchemeActiveProps(props),
|
13438
12987
|
_disabled: getTabColorSchemeDisabledProps(props)
|
@@ -13461,40 +13010,40 @@ var config35 = helpers25.defineMultiStyleConfig({
|
|
13461
13010
|
sm: {
|
13462
13011
|
tablist: {
|
13463
13012
|
height: "30px",
|
13464
|
-
|
13013
|
+
padding: "2px"
|
13465
13014
|
},
|
13466
13015
|
tab: {
|
13467
|
-
|
13468
|
-
|
13016
|
+
paddingX: 2,
|
13017
|
+
paddingY: 0
|
13469
13018
|
}
|
13470
13019
|
},
|
13471
13020
|
md: {
|
13472
13021
|
tablist: {
|
13473
13022
|
height: "36px",
|
13474
|
-
|
13023
|
+
padding: 0.5
|
13475
13024
|
},
|
13476
13025
|
tab: {
|
13477
|
-
|
13026
|
+
paddingX: 2
|
13478
13027
|
}
|
13479
13028
|
},
|
13480
13029
|
lg: {
|
13481
13030
|
tablist: {
|
13482
13031
|
height: "42px",
|
13483
|
-
|
13032
|
+
padding: 0.5
|
13484
13033
|
},
|
13485
13034
|
tab: {
|
13486
13035
|
fontWeight: "bold",
|
13487
|
-
|
13036
|
+
paddingX: 2
|
13488
13037
|
}
|
13489
13038
|
},
|
13490
13039
|
xl: {
|
13491
13040
|
tablist: {
|
13492
13041
|
height: "54px",
|
13493
|
-
|
13042
|
+
padding: "4px"
|
13494
13043
|
},
|
13495
13044
|
tab: {
|
13496
13045
|
fontWeight: "bold",
|
13497
|
-
|
13046
|
+
paddingX: 3
|
13498
13047
|
}
|
13499
13048
|
}
|
13500
13049
|
},
|
@@ -13599,26 +13148,6 @@ var getTabColorSchemeSelectedProps = (props) => {
|
|
13599
13148
|
};
|
13600
13149
|
}
|
13601
13150
|
};
|
13602
|
-
var getTabColorSchemeFocusProps = (props) => {
|
13603
|
-
switch (props.colorScheme) {
|
13604
|
-
case "dark":
|
13605
|
-
return {
|
13606
|
-
boxShadow: `inset 0 0 0 2px ${props.theme.colors.white}`
|
13607
|
-
};
|
13608
|
-
case "base":
|
13609
|
-
return {
|
13610
|
-
boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
|
13611
|
-
};
|
13612
|
-
case "accent":
|
13613
|
-
return {
|
13614
|
-
boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
|
13615
|
-
};
|
13616
|
-
default:
|
13617
|
-
return {
|
13618
|
-
boxShadow: `inset 0 0 0 2px ${props.theme.colors.greenHaze}`
|
13619
|
-
};
|
13620
|
-
}
|
13621
|
-
};
|
13622
13151
|
var getTabColorSchemeHoverProps = (props) => {
|
13623
13152
|
switch (props.colorScheme) {
|
13624
13153
|
case "dark":
|