@vygruppen/spor-react 4.0.1 → 4.0.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@4.0.1 build
2
+ > @vygruppen/spor-react@4.0.2 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,15 +8,15 @@
8
8
  CLI Target: node16
9
9
  CJS Build start
10
10
  ESM Build start
11
- DTS Build start
12
11
  "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-3SY4N6MP.mjs".
14
- CJS dist/index.js 550.61 KB
15
- CJS ⚡️ Build success in 3780ms
12
+ DTS Build start
13
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-MGJQOEU2.mjs".
14
+ CJS dist/index.js 552.34 KB
15
+ CJS ⚡️ Build success in 2656ms
16
16
  ESM dist/index.mjs 2.10 KB
17
- ESM dist/CountryCodeSelect-HCQZVKWU.mjs 1.19 KB
18
- ESM dist/chunk-3SY4N6MP.mjs 439.68 KB
19
- ESM ⚡️ Build success in 3781ms
20
- DTS ⚡️ Build success in 18223ms
21
- DTS dist/index.d.ts 264.40 KB
22
- DTS dist/index.d.mts 264.40 KB
17
+ ESM dist/CountryCodeSelect-WSPQNU6B.mjs 1.19 KB
18
+ ESM dist/chunk-MGJQOEU2.mjs 441.05 KB
19
+ ESM ⚡️ Build success in 2657ms
20
+ DTS ⚡️ Build success in 13491ms
21
+ DTS dist/index.d.ts 265.34 KB
22
+ DTS dist/index.d.mts 265.34 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 4.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f59ee68: InfoSelect: Added dark mode
8
+ - 573f649a: Input, PasswordInput, SearchInput, InfoSelect, NativeSelect: Tweak disabled state styling.
9
+ - d9c2de51: docs: update links
10
+ - 0cc70e7e: Fix some issues with the styling of lists"
11
+
3
12
  ## 4.0.1
4
13
 
5
14
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-3SY4N6MP.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-MGJQOEU2.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -5022,7 +5022,8 @@ var PasswordInput = forwardRef(
5022
5022
  type: "button",
5023
5023
  onClick: onToggle,
5024
5024
  borderRadius: "sm",
5025
- marginRight: 1
5025
+ marginRight: 1,
5026
+ isDisabled: props.disabled || props.isDisabled
5026
5027
  },
5027
5028
  isShowingPassword ? t2(texts13.hidePassword) : t2(texts13.showPassword)
5028
5029
  )));
@@ -5110,7 +5111,7 @@ var texts14 = createTexts({
5110
5111
  sv: "Telefonnummer"
5111
5112
  }
5112
5113
  });
5113
- var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-HCQZVKWU.mjs'));
5114
+ var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-WSPQNU6B.mjs'));
5114
5115
  var Radio = forwardRef((props, ref) => {
5115
5116
  return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
5116
5117
  });
@@ -12910,6 +12911,71 @@ var srOnly2 = {
12910
12911
  width: "1px !important",
12911
12912
  whiteSpace: "nowrap !important"
12912
12913
  };
12914
+ function baseBorder(state2, props) {
12915
+ switch (state2) {
12916
+ case "hover":
12917
+ return {
12918
+ boxShadow: getBoxShadowString({
12919
+ borderColor: mode("darkGrey", "white")(props),
12920
+ borderWidth: 2
12921
+ })
12922
+ };
12923
+ case "focus": {
12924
+ return {
12925
+ boxShadow: getBoxShadowString({
12926
+ borderColor: mode("greenHaze", "azure")(props),
12927
+ borderWidth: 2
12928
+ })
12929
+ };
12930
+ }
12931
+ case "disabled": {
12932
+ return {
12933
+ boxShadow: getBoxShadowString({
12934
+ borderColor: mode("platinum", "whiteAlpha.400")(props)
12935
+ })
12936
+ };
12937
+ }
12938
+ case "selected":
12939
+ return {
12940
+ boxShadow: getBoxShadowString({
12941
+ borderColor: mode("greenHaze", "azure")(props)
12942
+ })
12943
+ };
12944
+ case "invalid": {
12945
+ return {
12946
+ boxShadow: getBoxShadowString({
12947
+ borderColor: "brightRed",
12948
+ borderWidth: 2
12949
+ })
12950
+ };
12951
+ }
12952
+ case "default":
12953
+ default:
12954
+ return {
12955
+ boxShadow: getBoxShadowString({
12956
+ borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
12957
+ })
12958
+ };
12959
+ }
12960
+ }
12961
+ function baseBackground(state2, props) {
12962
+ switch (state2) {
12963
+ case "active":
12964
+ return {
12965
+ backgroundColor: mode("mint", "whiteAlpha.100")(props)
12966
+ };
12967
+ case "selected":
12968
+ return {
12969
+ backgroundColor: "pine"
12970
+ };
12971
+ case "disabled":
12972
+ return {
12973
+ backgroundColor: mode("silver", "whiteAlpha.100")(props)
12974
+ };
12975
+ default:
12976
+ return {};
12977
+ }
12978
+ }
12913
12979
 
12914
12980
  // src/theme/components/info-select.ts
12915
12981
  var parts6 = anatomy("InfoSelect").parts(
@@ -12936,57 +13002,44 @@ var config18 = helpers10.defineMultiStyleConfig({
12936
13002
  justifyContent: "space-between",
12937
13003
  alignItems: "center",
12938
13004
  fontSize: "mobile.md",
12939
- boxShadow: getBoxShadowString({
12940
- borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
12941
- }),
13005
+ ...baseBorder("default", props),
12942
13006
  _hover: {
12943
- boxShadow: getBoxShadowString({
12944
- borderColor: mode("darkGrey", "whiteAlpha.600")(props),
12945
- borderWidth: 2
12946
- })
13007
+ ...baseBorder("hover", props)
12947
13008
  },
12948
13009
  ...focusVisible({
12949
13010
  focus: {
12950
- boxShadow: getBoxShadowString({
12951
- borderColor: "greenHaze",
12952
- borderWidth: 2
12953
- }),
13011
+ ...baseBorder("focus", props),
12954
13012
  outline: "none"
12955
13013
  },
12956
13014
  notFocus: {
12957
- boxShadow: getBoxShadowString({
12958
- borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
12959
- })
13015
+ ...baseBorder("default", props)
12960
13016
  }
12961
13017
  }),
12962
13018
  _disabled: {
12963
- boxShadow: getBoxShadowString({ borderColor: "platinum" }),
12964
- _hover: { boxShadow: getBoxShadowString({ borderColor: "platinum" }) },
12965
- _focus: { boxShadow: getBoxShadowString({ borderColor: "platinum" }) }
13019
+ color: "whiteAlpha.400",
13020
+ ...baseBackground("disabled", props),
13021
+ _hover: { ...baseBorder("disabled", props) },
13022
+ _focus: { ...baseBorder("disabled", props) }
13023
+ },
13024
+ _active: {
13025
+ ...baseBackground("active", props),
13026
+ ...baseBorder("focus", props)
13027
+ },
13028
+ _expanded: {
13029
+ ...baseBackground("active", props),
13030
+ ...baseBorder("focus", props)
12966
13031
  },
12967
13032
  _invalid: {
12968
- boxShadow: getBoxShadowString({
12969
- borderColor: "brightRed",
12970
- borderWidth: 2
12971
- }),
13033
+ ...baseBorder("invalid", props),
12972
13034
  _hover: {
12973
- boxShadow: getBoxShadowString({
12974
- borderColor: "darkGrey",
12975
- borderWidth: 2
12976
- })
13035
+ ...baseBorder("hover", props)
12977
13036
  },
12978
13037
  ...focusVisible({
12979
13038
  focus: {
12980
- boxShadow: getBoxShadowString({
12981
- borderColor: "greenHaze",
12982
- borderWidth: 2
12983
- })
13039
+ ...baseBorder("focus", props)
12984
13040
  },
12985
13041
  notFocus: {
12986
- boxShadow: getBoxShadowString({
12987
- borderColor: "brightRed",
12988
- borderWidth: 2
12989
- })
13042
+ ...baseBorder("invalid", props)
12990
13043
  }
12991
13044
  })
12992
13045
  }
@@ -13348,13 +13401,15 @@ var config21 = helpers13.defineMultiStyleConfig({
13348
13401
  })
13349
13402
  },
13350
13403
  notFocus: {
13351
- boxShadow: getBoxShadowString({ borderColor: "darkGrey" })
13404
+ boxShadow: getBoxShadowString({ borderColor: mode("darkGrey", "white")(props) })
13352
13405
  }
13353
13406
  }),
13354
13407
  _disabled: {
13355
- boxShadow: getBoxShadowString({ borderColor: "platinum" }),
13356
- _hover: { boxShadow: getBoxShadowString({ borderColor: "platinum" }) },
13357
- _focus: { boxShadow: getBoxShadowString({ borderColor: "platinum" }) }
13408
+ backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
13409
+ boxShadow: getBoxShadowString({
13410
+ borderColor: mode("blackAlpha.200", "whiteAlpha.200")(props)
13411
+ }),
13412
+ cursor: "not-allowed"
13358
13413
  },
13359
13414
  _invalid: {
13360
13415
  boxShadow: getBoxShadowString({
@@ -13363,7 +13418,7 @@ var config21 = helpers13.defineMultiStyleConfig({
13363
13418
  }),
13364
13419
  _hover: {
13365
13420
  boxShadow: getBoxShadowString({
13366
- borderColor: "darkGrey",
13421
+ borderColor: mode("darkGrey", "white")(props),
13367
13422
  borderWidth: 2
13368
13423
  })
13369
13424
  },
@@ -13402,6 +13457,11 @@ var config21 = helpers13.defineMultiStyleConfig({
13402
13457
  },
13403
13458
  element: {
13404
13459
  height: "100%"
13460
+ },
13461
+ group: {
13462
+ ":has(:disabled)": {
13463
+ color: mode("blackAlpha.400", "whiteAlpha.400")(props)
13464
+ }
13405
13465
  }
13406
13466
  })
13407
13467
  });
@@ -13608,14 +13668,18 @@ var link_default = config23;
13608
13668
 
13609
13669
  // src/theme/components/list.ts
13610
13670
  var { defineMultiStyleConfig: defineMultiStyleConfig28, definePartsStyle: definePartsStyle28 } = createMultiStyleConfigHelpers(listAnatomy.keys);
13611
- var baseStyleIcon8 = defineStyle({
13612
- marginEnd: "2",
13613
- display: "inline",
13614
- verticalAlign: "text-bottom",
13615
- fontFamily: "body"
13616
- });
13617
13671
  var baseStyle45 = definePartsStyle28({
13618
- icon: baseStyleIcon8
13672
+ container: {
13673
+ fontSize: ["mobile.sm", "desktop.sm"]
13674
+ },
13675
+ item: {
13676
+ fontFamily: "body"
13677
+ },
13678
+ icon: {
13679
+ marginEnd: "2",
13680
+ display: "inline",
13681
+ verticalAlign: "text-bottom"
13682
+ }
13619
13683
  });
13620
13684
  var list_default = defineMultiStyleConfig28({
13621
13685
  baseStyle: baseStyle45
@@ -13630,7 +13694,11 @@ var helpers15 = createMultiStyleConfigHelpers$1(parts10.keys);
13630
13694
  var config24 = helpers15.defineMultiStyleConfig({
13631
13695
  baseStyle: (props) => ({
13632
13696
  container: {
13633
- background: mode("white", "darkGrey")(props),
13697
+ // avoiding extra div by blending a transparent color into darkGrey for dark mode
13698
+ backgroundColor: mode(
13699
+ "mint",
13700
+ `color-mix(in srgb, ${colors.darkGrey}, ${colors.white} 10%)`
13701
+ )(props),
13634
13702
  boxShadow: "sm",
13635
13703
  overflowY: "auto",
13636
13704
  maxHeight: "50vh",
@@ -13647,20 +13715,20 @@ var config24 = helpers15.defineMultiStyleConfig({
13647
13715
  color: mode("darkGrey", "white")(props),
13648
13716
  cursor: "pointer",
13649
13717
  _hover: {
13650
- backgroundColor: mode("seaMist", "darkTeal")(props),
13718
+ backgroundColor: mode("seaMist", "pine")(props),
13651
13719
  outline: "none"
13652
13720
  },
13653
13721
  _active: {
13654
- backgroundColor: mode("mint", "darkTeal")(props),
13722
+ backgroundColor: mode("mint", "pine")(props),
13655
13723
  outline: "none"
13656
13724
  },
13657
13725
  _focus: {
13658
13726
  outline: "none",
13659
- backgroundColor: mode("seaMist", "darkTeal")(props)
13727
+ backgroundColor: mode("seaMist", "pine")(props)
13660
13728
  },
13661
13729
  _selected: {
13662
- backgroundColor: mode("pine", "pine")(props),
13663
- color: mode("white", "white")(props)
13730
+ ...baseBackground("selected", props),
13731
+ color: "white"
13664
13732
  }
13665
13733
  },
13666
13734
  label: {},
@@ -14046,7 +14114,7 @@ var config29 = helpers20.defineMultiStyleConfig({
14046
14114
  strokeLinecap: "round",
14047
14115
  fontSize: "1.125rem",
14048
14116
  _disabled: {
14049
- opacity: 0.5
14117
+ color: mode("blackAlpha.400", "whiteAlpha.400")(props)
14050
14118
  }
14051
14119
  }
14052
14120
  })
package/dist/index.d.mts CHANGED
@@ -294,7 +294,7 @@ type ButtonProps = Exclude<ButtonProps$1, "colorScheme" | "loadingText" | "size"
294
294
  * </Button>
295
295
  * ```
296
296
  *
297
- * @see https://spor.vy.no/komponenter/button
297
+ * @see https://spor.vy.no/components/button
298
298
  */
299
299
  declare const Button: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", ButtonProps>;
300
300
 
@@ -524,7 +524,7 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & {
524
524
  *
525
525
  * Note that the TimePicker uses the `Time` class to represent the time. This is a class that is part of the `@internationalized/date` package.
526
526
  *
527
- * @see https://spor.vy.no/komponenter/timepicker
527
+ * @see https://spor.vy.no/komponents/timepicker
528
528
  */
529
529
  declare const TimePicker: ({ label: externalLabel, value, defaultValue, onChange, minuteInterval, isDisabled: isDisabledExternally, name, ...boxProps }: TimePickerProps) => React__default.JSX.Element;
530
530
 
@@ -676,7 +676,7 @@ type CardSelectProps = BoxProps & {
676
676
  * </CardSelect>
677
677
  * ```
678
678
  *
679
- * @see https://spor.vy.no/komponenter/card-select
679
+ * @see https://spor.vy.no/components/card-select
680
680
  */
681
681
  declare const CardSelect: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", CardSelectProps>;
682
682
 
@@ -831,7 +831,7 @@ type FormErrorMessageProps = BoxProps & {
831
831
  * </FormControl>
832
832
  * ```
833
833
  *
834
- * @see https://spor.vy.no/komponenter/skjemaelementer
834
+ * @see https://spor.vy.no/components/form-control
835
835
  */
836
836
  declare const FormErrorMessage: ({ children, ...boxProps }: FormErrorMessageProps) => React__default.JSX.Element | null;
837
837
 
@@ -969,7 +969,7 @@ type InfoSelectProps<T extends object> = {
969
969
  * </InfoSelect>
970
970
  * ```
971
971
  *
972
- * @see https://spor.vy.no/komponenter/info-select
972
+ * @see https://spor.vy.no/components/info-select
973
973
  */
974
974
  declare function InfoSelect<T extends object>({ placeholder, width, height, onChange, value, isLabelSrOnly, defaultValue, ...props }: InfoSelectProps<T>): React__default.JSX.Element;
975
975
 
@@ -1343,7 +1343,7 @@ type InfoTagProps = TagProps;
1343
1343
  * />
1344
1344
  * ```
1345
1345
  *
1346
- * @see https://spor.vy.no/komponenter/linjetags
1346
+ * @see https://spor.vy.no/components/line-tags
1347
1347
  */
1348
1348
  declare const InfoTag: ({ variant, size, title, description, }: InfoTagProps) => React__default.JSX.Element;
1349
1349
 
@@ -1366,7 +1366,7 @@ type LineIconProps = BoxProps & {
1366
1366
  * <LineIcon variant="subway" size="lg" />
1367
1367
  * ```
1368
1368
  *
1369
- * @see https://spor.vy.no/komponenter/linjetags
1369
+ * @see https://spor.vy.no/components/line-tags
1370
1370
  */
1371
1371
  declare const LineIcon: ({ variant, size, sx, ...rest }: LineIconProps) => React__default.JSX.Element | null;
1372
1372
 
@@ -1409,7 +1409,7 @@ type TravelTagProps = TagProps & BoxProps & {
1409
1409
  * />
1410
1410
  * ```
1411
1411
  *
1412
- * @see https://spor.vy.no/komponenter/linjetags
1412
+ * @see https://spor.vy.no/components/line-tags
1413
1413
  */
1414
1414
  declare const TravelTag: _chakra_ui_system_dist_system_types.ComponentWithAs<As, TravelTagProps>;
1415
1415
 
@@ -3527,26 +3527,54 @@ declare const theme: {
3527
3527
  };
3528
3528
  button: {
3529
3529
  _disabled: {
3530
- boxShadow: string;
3531
3530
  _hover: {
3532
3531
  boxShadow: string;
3533
3532
  };
3534
3533
  _focus: {
3535
3534
  boxShadow: string;
3536
3535
  };
3536
+ backgroundColor: string;
3537
+ color: string;
3538
+ } | {
3539
+ _hover: {
3540
+ boxShadow: string;
3541
+ };
3542
+ _focus: {
3543
+ boxShadow: string;
3544
+ };
3545
+ backgroundColor?: undefined;
3546
+ color: string;
3547
+ };
3548
+ _active: {
3549
+ boxShadow: string;
3550
+ backgroundColor: string;
3551
+ } | {
3552
+ boxShadow: string;
3553
+ backgroundColor?: undefined;
3554
+ };
3555
+ _expanded: {
3556
+ boxShadow: string;
3557
+ backgroundColor: string;
3558
+ } | {
3559
+ boxShadow: string;
3560
+ backgroundColor?: undefined;
3537
3561
  };
3538
3562
  _invalid: {
3539
3563
  _focus: _chakra_ui_styled_system.SystemStyleObject;
3540
3564
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
3541
3565
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
3542
- boxShadow: string;
3543
3566
  _hover: {
3544
3567
  boxShadow: string;
3545
3568
  };
3569
+ boxShadow: string;
3546
3570
  };
3547
3571
  _focus: _chakra_ui_styled_system.SystemStyleObject;
3548
3572
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
3549
3573
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
3574
+ _hover: {
3575
+ boxShadow: string;
3576
+ };
3577
+ boxShadow: string;
3550
3578
  appearance: string;
3551
3579
  borderTopRadius: string;
3552
3580
  borderBottomRadius: string | number;
@@ -3556,10 +3584,6 @@ declare const theme: {
3556
3584
  justifyContent: string;
3557
3585
  alignItems: string;
3558
3586
  fontSize: string;
3559
- boxShadow: string;
3560
- _hover: {
3561
- boxShadow: string;
3562
- };
3563
3587
  };
3564
3588
  arrowIcon: {};
3565
3589
  }) | undefined;
@@ -3716,13 +3740,9 @@ declare const theme: {
3716
3740
  baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
3717
3741
  field: {
3718
3742
  _disabled: {
3743
+ backgroundColor: string;
3719
3744
  boxShadow: string;
3720
- _hover: {
3721
- boxShadow: string;
3722
- };
3723
- _focus: {
3724
- boxShadow: string;
3725
- };
3745
+ cursor: string;
3726
3746
  };
3727
3747
  _invalid: {
3728
3748
  _focus: _chakra_ui_styled_system.SystemStyleObject;
@@ -3777,6 +3797,11 @@ declare const theme: {
3777
3797
  element: {
3778
3798
  height: string;
3779
3799
  };
3800
+ group: {
3801
+ ":has(:disabled)": {
3802
+ color: string;
3803
+ };
3804
+ };
3780
3805
  }) | undefined;
3781
3806
  sizes?: {
3782
3807
  [key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
@@ -3981,11 +4006,16 @@ declare const theme: {
3981
4006
  };
3982
4007
  List: {
3983
4008
  baseStyle?: {
4009
+ container: {
4010
+ fontSize: ("mobile.sm" | "desktop.sm")[];
4011
+ };
4012
+ item: {
4013
+ fontFamily: string;
4014
+ };
3984
4015
  icon: {
3985
4016
  marginEnd: string;
3986
4017
  display: string;
3987
4018
  verticalAlign: string;
3988
- fontFamily: string;
3989
4019
  };
3990
4020
  } | undefined;
3991
4021
  sizes?: {
@@ -4008,7 +4038,7 @@ declare const theme: {
4008
4038
  ListBox: {
4009
4039
  baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
4010
4040
  container: {
4011
- background: string;
4041
+ backgroundColor: string;
4012
4042
  boxShadow: string;
4013
4043
  overflowY: string;
4014
4044
  maxHeight: string;
@@ -4037,8 +4067,11 @@ declare const theme: {
4037
4067
  backgroundColor: string;
4038
4068
  };
4039
4069
  _selected: {
4070
+ color: string;
4040
4071
  backgroundColor: string;
4072
+ } | {
4041
4073
  color: string;
4074
+ backgroundColor?: undefined;
4042
4075
  };
4043
4076
  };
4044
4077
  label: {};
@@ -4400,13 +4433,9 @@ declare const theme: {
4400
4433
  background: string;
4401
4434
  };
4402
4435
  _disabled: {
4436
+ backgroundColor: string;
4403
4437
  boxShadow: string;
4404
- _hover: {
4405
- boxShadow: string;
4406
- };
4407
- _focus: {
4408
- boxShadow: string;
4409
- };
4438
+ cursor: string;
4410
4439
  };
4411
4440
  _invalid: {
4412
4441
  _focus: _chakra_ui_styled_system.SystemStyleObject;
@@ -4466,7 +4495,7 @@ declare const theme: {
4466
4495
  strokeLinecap: string;
4467
4496
  fontSize: string;
4468
4497
  _disabled: {
4469
- opacity: number;
4498
+ color: string;
4470
4499
  };
4471
4500
  };
4472
4501
  }) | undefined;
@@ -5217,13 +5246,9 @@ declare const theme: {
5217
5246
  };
5218
5247
  };
5219
5248
  _disabled: {
5249
+ backgroundColor: string;
5220
5250
  boxShadow: string;
5221
- _hover: {
5222
- boxShadow: string;
5223
- };
5224
- _focus: {
5225
- boxShadow: string;
5226
- };
5251
+ cursor: string;
5227
5252
  };
5228
5253
  _invalid: {
5229
5254
  _focus: _chakra_ui_styled_system.SystemStyleObject;