@televet/kibble-ui 1.2.2 → 1.2.3-beta.2p81ym7.3

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.
Files changed (30) hide show
  1. package/build/components/Button/button.model.d.ts +5 -0
  2. package/build/components/Button/button.records.d.ts +2 -0
  3. package/build/components/Drawer/drawer.records.d.ts +13 -0
  4. package/build/components/Modal/index.d.ts +2 -0
  5. package/build/components/Modal/modal-section.component.d.ts +7 -0
  6. package/build/components/Modal/modal.component.d.ts +24 -0
  7. package/build/components/Modal/modal.types.d.ts +1 -0
  8. package/build/components/Tooltip/tooltip.model.d.ts +4 -0
  9. package/build/components/Tooltip/tooltip.records.d.ts +9 -0
  10. package/build/components/Typography/Heading/heading.component.d.ts +4 -3
  11. package/build/components/Typography/Heading/heading.records.d.ts +2 -0
  12. package/build/components/Typography/Text/text.component.d.ts +6 -2
  13. package/build/components/Typography/Text/text.records.d.ts +2 -0
  14. package/build/components/Typography/Text/text.types.d.ts +1 -0
  15. package/build/components/Typography/index.d.ts +1 -0
  16. package/build/components/Typography/typography.types.d.ts +1 -0
  17. package/build/hocs/index.d.ts +2 -0
  18. package/build/hocs/withDarkMode.d.ts +2 -0
  19. package/build/hocs/withTheme.d.ts +3 -0
  20. package/build/index.d.ts +1 -0
  21. package/build/index.js +250 -220
  22. package/build/index.js.map +1 -1
  23. package/build/theme/theme.model.d.ts +37 -0
  24. package/build/theme/theme.record.d.ts +2 -0
  25. package/build/theme/theme.types.d.ts +1 -2
  26. package/build/theme/tokens/colors/color.model.d.ts +64 -0
  27. package/build/theme/tokens/colors/color.type.d.ts +9 -0
  28. package/build/theme/tokens/colors/color.types.d.ts +2 -23
  29. package/build/theme/tokens/fontWeights.d.ts +3 -12
  30. package/package.json +2 -2
package/build/index.js CHANGED
@@ -2262,94 +2262,22 @@ function __rest(s, e) {
2262
2262
  return t;
2263
2263
  }
2264
2264
 
2265
- var Heading = function (_a) {
2266
- var children = _a.children, _b = _a.size, size = _b === void 0 ? 'lg' : _b, _c = _a.variant, variant = _c === void 0 ? 'large' : _c, rest = __rest(_a, ["children", "size", "variant"]);
2267
- var components = useTheme().components;
2268
- var sizes = components.Heading.variants[variant].sizes;
2269
- var sizeProps = !sizes ? undefined : sizes[size];
2270
- return (React__default["default"].createElement(react.Heading, __assign({ variant: variant }, sizeProps, rest), children));
2265
+ var withDarkMode = function (children, darkMode) {
2266
+ return darkMode ? React__default["default"].createElement(react.DarkMode, null, children) : React__default["default"].createElement(React__default["default"].Fragment, null, children);
2271
2267
  };
2272
2268
 
2273
- var HeadingConfig = {
2274
- variants: {
2275
- large: {
2276
- sizes: {
2277
- xs: {
2278
- fontSize: '14px',
2279
- lineHeight: '120%',
2280
- },
2281
- sm: {
2282
- fontSize: '16px',
2283
- lineHeight: '120%',
2284
- },
2285
- md: {
2286
- fontSize: '20px',
2287
- lineHeight: '120%',
2288
- },
2289
- lg: {
2290
- fontSize: '30px',
2291
- lineHeight: '133%',
2292
- },
2293
- xl: {
2294
- fontSize: '36px',
2295
- lineHeight: '133%',
2296
- },
2297
- '2xl': {
2298
- fontSize: '48px',
2299
- lineHeight: '120%',
2300
- },
2301
- '3xl': {
2302
- fontSize: '60px',
2303
- lineHeight: '100%',
2304
- },
2305
- '4xl': {
2306
- fontSize: '72px',
2307
- lineHeight: '100%',
2308
- },
2309
- },
2310
- },
2311
- small: {
2312
- sizes: {
2313
- xs: {
2314
- fontSize: '14px',
2315
- lineHeight: '120%',
2316
- },
2317
- sm: {
2318
- fontSize: '16px',
2319
- lineHeight: '120%',
2320
- },
2321
- md: {
2322
- fontSize: '20px',
2323
- lineHeight: '120%',
2324
- },
2325
- lg: {
2326
- fontSize: '24px',
2327
- lineHeight: '133%',
2328
- },
2329
- xl: {
2330
- fontSize: '30px',
2331
- lineHeight: '133%',
2332
- },
2333
- '2xl': {
2334
- fontSize: '36px',
2335
- lineHeight: '120%',
2336
- },
2337
- '3xl': {
2338
- fontSize: '48px',
2339
- lineHeight: '100%',
2340
- },
2341
- '4xl': {
2342
- fontSize: '60px',
2343
- lineHeight: '100%',
2344
- },
2345
- },
2346
- },
2347
- },
2269
+ var withTheme = function (children, theme) {
2270
+ return theme ? React__default["default"].createElement(react.ChakraProvider, { theme: theme }, children) : React__default["default"].createElement(React__default["default"].Fragment, null, children);
2348
2271
  };
2349
2272
 
2350
- var Text = function (_a) {
2351
- var children = _a.children, _b = _a.variant, variant = _b === void 0 ? 'regular' : _b, rest = __rest(_a, ["children", "variant"]);
2352
- return (React__default["default"].createElement(react.Text, __assign({ variant: variant }, rest), children));
2273
+ var Heading = function (_a) {
2274
+ var children = _a.children, _b = _a.size, size = _b === void 0 ? 'lg' : _b, _c = _a.color, color = _c === void 0 ? 'headline' : _c, darkMode = _a.darkMode, rest = __rest(_a, ["children", "size", "color", "darkMode"]);
2275
+ var _d = useTheme(), components = _d.components, colors = _d.colors;
2276
+ var adaptiveColor = useAdaptiveColorMap(colors.text, color);
2277
+ var variant = react.useBreakpointValue({ base: 'small', md: 'large' }) || 'small';
2278
+ var sizes = components.Heading.variants[variant].sizes;
2279
+ var sizeProps = !sizes ? undefined : sizes[size];
2280
+ return withDarkMode(React__default["default"].createElement(react.Heading, __assign({ variant: variant }, sizeProps, { color: adaptiveColor }, rest), children), !!darkMode);
2353
2281
  };
2354
2282
 
2355
2283
  var blur = {
@@ -2510,28 +2438,6 @@ var coreColors = {
2510
2438
  },
2511
2439
  };
2512
2440
  var semanticColors = {
2513
- text: {
2514
- light: {
2515
- default: coreColors.comet[700],
2516
- headline: coreColors.blue[800],
2517
- subtle: coreColors.gray[800],
2518
- link: coreColors.teal[600],
2519
- placeholder: coreColors.blackAlpha[500],
2520
- success: coreColors.green[600],
2521
- warning: coreColors.yellow[600],
2522
- error: coreColors.red[500],
2523
- },
2524
- dark: {
2525
- default: coreColors.white,
2526
- headline: coreColors.white,
2527
- subtle: coreColors.comet[300],
2528
- link: coreColors.teal[400],
2529
- success: coreColors.green[400],
2530
- warning: coreColors.yellow[300],
2531
- error: coreColors.red[300],
2532
- placeholder: coreColors.whiteAlpha[600],
2533
- },
2534
- },
2535
2441
  background: {
2536
2442
  light: coreColors.white,
2537
2443
  grayLight: coreColors.gray[50],
@@ -2609,6 +2515,28 @@ var adaptiveColors = {
2609
2515
  error: coreColors.red[300],
2610
2516
  },
2611
2517
  },
2518
+ text: {
2519
+ light: {
2520
+ default: coreColors.comet[700],
2521
+ headline: coreColors.blue[800],
2522
+ subtle: coreColors.gray[800],
2523
+ link: coreColors.teal[600],
2524
+ success: coreColors.green[600],
2525
+ warning: coreColors.yellow[600],
2526
+ error: coreColors.red[500],
2527
+ placeholder: coreColors.blackAlpha[500],
2528
+ },
2529
+ dark: {
2530
+ default: coreColors.white,
2531
+ headline: coreColors.white,
2532
+ subtle: coreColors.comet[300],
2533
+ link: coreColors.teal[400],
2534
+ success: coreColors.green[400],
2535
+ warning: coreColors.yellow[300],
2536
+ error: coreColors.red[300],
2537
+ placeholder: coreColors.whiteAlpha[600],
2538
+ },
2539
+ },
2612
2540
  };
2613
2541
  var colors = __assign(__assign(__assign({}, coreColors), semanticColors), adaptiveColors);
2614
2542
 
@@ -2732,6 +2660,106 @@ var zIndices = {
2732
2660
  tooltip: 1800,
2733
2661
  };
2734
2662
 
2663
+ var HeadingConfig = {
2664
+ variants: {
2665
+ large: {
2666
+ sizes: {
2667
+ xs: {
2668
+ fontSize: '14px',
2669
+ lineHeight: '120%',
2670
+ fontWeight: fontWeights.semibold,
2671
+ },
2672
+ sm: {
2673
+ fontSize: '16px',
2674
+ lineHeight: '120%',
2675
+ fontWeight: fontWeights.semibold,
2676
+ },
2677
+ md: {
2678
+ fontSize: '20px',
2679
+ lineHeight: '120%',
2680
+ fontWeight: fontWeights.semibold,
2681
+ },
2682
+ lg: {
2683
+ fontSize: '30px',
2684
+ lineHeight: '133%',
2685
+ fontWeight: fontWeights.semibold,
2686
+ },
2687
+ xl: {
2688
+ fontSize: '36px',
2689
+ lineHeight: '133%',
2690
+ fontWeight: fontWeights.semibold,
2691
+ },
2692
+ '2xl': {
2693
+ fontSize: '48px',
2694
+ lineHeight: '120%',
2695
+ fontWeight: fontWeights.semibold,
2696
+ },
2697
+ '3xl': {
2698
+ fontSize: '60px',
2699
+ lineHeight: '100%',
2700
+ fontWeight: fontWeights.semibold,
2701
+ },
2702
+ '4xl': {
2703
+ fontSize: '72px',
2704
+ lineHeight: '100%',
2705
+ fontWeight: fontWeights.semibold,
2706
+ },
2707
+ },
2708
+ },
2709
+ small: {
2710
+ sizes: {
2711
+ xs: {
2712
+ fontSize: '14px',
2713
+ lineHeight: '120%',
2714
+ fontWeight: fontWeights.semibold,
2715
+ },
2716
+ sm: {
2717
+ fontSize: '16px',
2718
+ lineHeight: '120%',
2719
+ fontWeight: fontWeights.semibold,
2720
+ },
2721
+ md: {
2722
+ fontSize: '20px',
2723
+ lineHeight: '120%',
2724
+ fontWeight: fontWeights.semibold,
2725
+ },
2726
+ lg: {
2727
+ fontSize: '24px',
2728
+ lineHeight: '133%',
2729
+ fontWeight: fontWeights.semibold,
2730
+ },
2731
+ xl: {
2732
+ fontSize: '30px',
2733
+ lineHeight: '133%',
2734
+ fontWeight: fontWeights.semibold,
2735
+ },
2736
+ '2xl': {
2737
+ fontSize: '36px',
2738
+ lineHeight: '120%',
2739
+ fontWeight: fontWeights.semibold,
2740
+ },
2741
+ '3xl': {
2742
+ fontSize: '48px',
2743
+ lineHeight: '100%',
2744
+ fontWeight: fontWeights.semibold,
2745
+ },
2746
+ '4xl': {
2747
+ fontSize: '60px',
2748
+ lineHeight: '100%',
2749
+ fontWeight: fontWeights.semibold,
2750
+ },
2751
+ },
2752
+ },
2753
+ },
2754
+ };
2755
+
2756
+ var Text = function (_a) {
2757
+ var children = _a.children, _b = _a.variant, variant = _b === void 0 ? 'regular' : _b, _c = _a.as, as = _c === void 0 ? 'span' : _c, _d = _a.color, color = _d === void 0 ? 'default' : _d, darkMode = _a.darkMode, rest = __rest(_a, ["children", "variant", "as", "color", "darkMode"]);
2758
+ var colors = useTheme().colors;
2759
+ var adaptiveColor = useAdaptiveColorMap(colors.text, color);
2760
+ return withDarkMode(React__default["default"].createElement(react.Text, __assign({ variant: variant, as: as, color: adaptiveColor }, rest), children), !!darkMode);
2761
+ };
2762
+
2735
2763
  var TextConfig = {
2736
2764
  variants: {
2737
2765
  regular: {
@@ -2793,7 +2821,7 @@ var Textarea = function (props) {
2793
2821
  var TextareaConfig = {
2794
2822
  baseStyle: {
2795
2823
  borderRadius: borders['4px'],
2796
- color: semanticColors.text.light.default,
2824
+ color: adaptiveColors.text.light.default,
2797
2825
  },
2798
2826
  variants: {
2799
2827
  outline: {
@@ -2869,8 +2897,8 @@ var toTitleCase = function (s) {
2869
2897
  };
2870
2898
 
2871
2899
  var Button = React.forwardRef(function (props, ref) {
2872
- var components = useTheme().components;
2873
- var _a = components.Button[props.variant || 'primary'], variant = _a.variant, light = _a.light, dark = _a.dark;
2900
+ var _a = useTheme(), components = _a.components, fontWeights = _a.fontWeights;
2901
+ var _b = components.Button[props.variant || 'primary'], variant = _b.variant, light = _b.light, dark = _b.dark;
2874
2902
  var modeColor = props.darkMode ? dark : light;
2875
2903
  var bg = react.useColorModeValue(modeColor.default, dark.default);
2876
2904
  var color = react.useColorModeValue(modeColor.content, dark.content);
@@ -2894,7 +2922,7 @@ var Button = React.forwardRef(function (props, ref) {
2894
2922
  p[position] = ButtonIcon;
2895
2923
  }
2896
2924
  }
2897
- return (React__default["default"].createElement(react.Button, __assign({ ref: ref, _hover: hoverClass, _active: activeClass, whiteSpace: "normal", wordWrap: "break-word", iconSpacing: p.size === 'sm' || p.size === 'xs' ? '4px' : '8px' }, p), props.children));
2925
+ return (React__default["default"].createElement(react.Button, __assign({ fontWeight: fontWeights.semibold, ref: ref, _hover: hoverClass, _active: activeClass, whiteSpace: "normal", wordWrap: "break-word", iconSpacing: p.size === 'sm' || p.size === 'xs' ? '4px' : '8px' }, p), props.children));
2898
2926
  });
2899
2927
  Button.displayName = 'Button';
2900
2928
 
@@ -2902,188 +2930,188 @@ var ButtonVariantConfig = {
2902
2930
  primary: {
2903
2931
  variant: 'solid',
2904
2932
  light: {
2905
- content: semanticColors.text.dark.headline,
2906
- default: coreColors.teal['600'],
2907
- hover: coreColors.teal['700'],
2908
- active: coreColors.teal['800'],
2909
- border: coreColors.transparent,
2933
+ content: colors.text.dark.headline,
2934
+ default: colors.teal['600'],
2935
+ hover: colors.teal['700'],
2936
+ active: colors.teal['800'],
2937
+ border: colors.transparent,
2910
2938
  },
2911
2939
  dark: {
2912
- content: semanticColors.text.light.headline,
2913
- default: coreColors.teal['400'],
2914
- hover: coreColors.teal['300'],
2915
- active: coreColors.teal['100'],
2916
- border: coreColors.transparent,
2940
+ content: colors.text.light.headline,
2941
+ default: colors.teal['400'],
2942
+ hover: colors.teal['300'],
2943
+ active: colors.teal['100'],
2944
+ border: colors.transparent,
2917
2945
  },
2918
2946
  },
2919
2947
  primaryDestructive: {
2920
2948
  variant: 'solid',
2921
2949
  light: {
2922
- content: semanticColors.text.dark.headline,
2923
- default: coreColors.red['500'],
2924
- hover: coreColors.red['600'],
2925
- active: coreColors.red['700'],
2926
- border: coreColors.transparent,
2950
+ content: colors.text.dark.headline,
2951
+ default: colors.red['500'],
2952
+ hover: colors.red['600'],
2953
+ active: colors.red['700'],
2954
+ border: colors.transparent,
2927
2955
  },
2928
2956
  dark: {
2929
- content: semanticColors.text.light.headline,
2930
- default: coreColors.red['200'],
2931
- hover: coreColors.red['100'],
2932
- active: coreColors.red['50'],
2933
- border: coreColors.transparent,
2957
+ content: colors.text.light.headline,
2958
+ default: colors.red['200'],
2959
+ hover: colors.red['100'],
2960
+ active: colors.red['50'],
2961
+ border: colors.transparent,
2934
2962
  },
2935
2963
  },
2936
2964
  secondary: {
2937
2965
  variant: 'outline',
2938
2966
  light: {
2939
- content: semanticColors.text.light.default,
2940
- default: coreColors.transparent,
2941
- hover: coreColors.teal['100'],
2942
- active: coreColors.teal['200'],
2943
- border: semanticColors.border.light.heavy,
2967
+ content: colors.text.light.default,
2968
+ default: colors.transparent,
2969
+ hover: colors.teal['100'],
2970
+ active: colors.teal['200'],
2971
+ border: colors.border.light.heavy,
2944
2972
  },
2945
2973
  dark: {
2946
- content: coreColors.white,
2947
- default: coreColors.transparent,
2948
- hover: coreColors.whiteAlpha['300'],
2949
- active: coreColors.whiteAlpha['400'],
2950
- border: coreColors.white,
2974
+ content: colors.white,
2975
+ default: colors.transparent,
2976
+ hover: colors.whiteAlpha['300'],
2977
+ active: colors.whiteAlpha['400'],
2978
+ border: colors.white,
2951
2979
  },
2952
2980
  },
2953
2981
  secondaryDestructive: {
2954
2982
  variant: 'outline',
2955
2983
  light: {
2956
- content: semanticColors.text.light.error,
2957
- default: coreColors.transparent,
2958
- hover: coreColors.red['50'],
2959
- active: coreColors.red['100'],
2960
- border: semanticColors.border.light.error,
2984
+ content: colors.text.light.error,
2985
+ default: colors.transparent,
2986
+ hover: colors.red['50'],
2987
+ active: colors.red['100'],
2988
+ border: colors.border.light.error,
2961
2989
  },
2962
2990
  dark: {
2963
- content: coreColors.red['300'],
2964
- default: coreColors.transparent,
2965
- hover: coreColors.whiteAlpha['300'],
2966
- active: coreColors.whiteAlpha['400'],
2967
- border: coreColors.red['300'],
2991
+ content: colors.red['300'],
2992
+ default: colors.transparent,
2993
+ hover: colors.whiteAlpha['300'],
2994
+ active: colors.whiteAlpha['400'],
2995
+ border: colors.red['300'],
2968
2996
  },
2969
2997
  },
2970
2998
  secondarySubtle: {
2971
2999
  variant: 'outline',
2972
3000
  light: {
2973
- content: semanticColors.text.light.default,
2974
- default: coreColors.white,
2975
- hover: coreColors.gray['50'],
2976
- active: coreColors.gray['100'],
2977
- border: semanticColors.border.light.default,
3001
+ content: colors.text.light.default,
3002
+ default: colors.white,
3003
+ hover: colors.gray['50'],
3004
+ active: colors.gray['100'],
3005
+ border: colors.border.light.default,
2978
3006
  },
2979
3007
  dark: {
2980
- content: semanticColors.text.dark.default,
2981
- default: coreColors.transparent,
2982
- hover: coreColors.whiteAlpha['300'],
2983
- active: coreColors.whiteAlpha['400'],
2984
- border: semanticColors.text.dark.default,
3008
+ content: colors.text.dark.default,
3009
+ default: colors.transparent,
3010
+ hover: colors.whiteAlpha['300'],
3011
+ active: colors.whiteAlpha['400'],
3012
+ border: colors.text.dark.default,
2985
3013
  },
2986
3014
  },
2987
3015
  secondarySubtleDestructive: {
2988
3016
  variant: 'outline',
2989
3017
  light: {
2990
- content: semanticColors.text.light.error,
2991
- default: coreColors.white,
2992
- hover: coreColors.red['50'],
2993
- active: coreColors.red['100'],
2994
- border: semanticColors.border.light.default,
3018
+ content: colors.text.light.error,
3019
+ default: colors.white,
3020
+ hover: colors.red['50'],
3021
+ active: colors.red['100'],
3022
+ border: colors.border.light.default,
2995
3023
  },
2996
3024
  dark: {
2997
- content: coreColors.red['300'],
2998
- default: coreColors.transparent,
2999
- hover: coreColors.whiteAlpha['300'],
3000
- active: coreColors.whiteAlpha['400'],
3001
- border: coreColors.whiteAlpha['500'],
3025
+ content: colors.red['300'],
3026
+ default: colors.transparent,
3027
+ hover: colors.whiteAlpha['300'],
3028
+ active: colors.whiteAlpha['400'],
3029
+ border: colors.whiteAlpha['500'],
3002
3030
  },
3003
3031
  },
3004
3032
  tertiary: {
3005
3033
  variant: 'solid',
3006
3034
  light: {
3007
- content: semanticColors.text.light.default,
3008
- default: coreColors.gray['100'],
3009
- hover: coreColors.gray['200'],
3010
- active: coreColors.gray['300'],
3011
- border: coreColors.transparent,
3035
+ content: colors.text.light.default,
3036
+ default: colors.gray['100'],
3037
+ hover: colors.gray['200'],
3038
+ active: colors.gray['300'],
3039
+ border: colors.transparent,
3012
3040
  },
3013
3041
  dark: {
3014
- content: semanticColors.text.dark.headline,
3015
- default: coreColors.whiteAlpha[200],
3016
- hover: coreColors.whiteAlpha[300],
3017
- active: coreColors.whiteAlpha[400],
3018
- border: coreColors.transparent,
3042
+ content: colors.text.dark.headline,
3043
+ default: colors.whiteAlpha[200],
3044
+ hover: colors.whiteAlpha[300],
3045
+ active: colors.whiteAlpha[400],
3046
+ border: colors.transparent,
3019
3047
  },
3020
3048
  },
3021
3049
  tertiaryDestructive: {
3022
3050
  variant: 'solid',
3023
3051
  light: {
3024
- content: semanticColors.text.light.error,
3025
- default: coreColors.red['100'],
3026
- hover: coreColors.red['200'],
3027
- active: coreColors.red['300'],
3028
- border: coreColors.transparent,
3052
+ content: colors.text.light.error,
3053
+ default: colors.red['100'],
3054
+ hover: colors.red['200'],
3055
+ active: colors.red['300'],
3056
+ border: colors.transparent,
3029
3057
  },
3030
3058
  dark: {
3031
- content: coreColors.red['300'],
3032
- default: coreColors.whiteAlpha['200'],
3033
- hover: coreColors.whiteAlpha['300'],
3034
- active: coreColors.whiteAlpha['400'],
3035
- border: coreColors.transparent,
3059
+ content: colors.red['300'],
3060
+ default: colors.whiteAlpha['200'],
3061
+ hover: colors.whiteAlpha['300'],
3062
+ active: colors.whiteAlpha['400'],
3063
+ border: colors.transparent,
3036
3064
  },
3037
3065
  },
3038
3066
  ghost: {
3039
3067
  variant: 'ghost',
3040
3068
  light: {
3041
- content: semanticColors.text.light.link,
3042
- default: coreColors.transparent,
3043
- hover: coreColors.teal['100'],
3044
- active: coreColors.teal['200'],
3045
- border: coreColors.transparent,
3069
+ content: colors.text.light.link,
3070
+ default: colors.transparent,
3071
+ hover: colors.teal['100'],
3072
+ active: colors.teal['200'],
3073
+ border: colors.transparent,
3046
3074
  },
3047
3075
  dark: {
3048
- content: coreColors.teal['400'],
3049
- default: coreColors.transparent,
3050
- hover: coreColors.whiteAlpha['300'],
3051
- active: coreColors.whiteAlpha['400'],
3052
- border: coreColors.transparent,
3076
+ content: colors.teal['400'],
3077
+ default: colors.transparent,
3078
+ hover: colors.whiteAlpha['300'],
3079
+ active: colors.whiteAlpha['400'],
3080
+ border: colors.transparent,
3053
3081
  },
3054
3082
  },
3055
3083
  ghostNeutral: {
3056
3084
  variant: 'ghost',
3057
3085
  light: {
3058
- content: semanticColors.text.light.default,
3059
- default: coreColors.transparent,
3060
- hover: coreColors.blackAlpha['100'],
3061
- active: coreColors.blackAlpha['200'],
3062
- border: coreColors.transparent,
3086
+ content: colors.text.light.default,
3087
+ default: colors.transparent,
3088
+ hover: colors.blackAlpha['100'],
3089
+ active: colors.blackAlpha['200'],
3090
+ border: colors.transparent,
3063
3091
  },
3064
3092
  dark: {
3065
- content: semanticColors.text.dark.headline,
3066
- default: coreColors.transparent,
3067
- hover: coreColors.whiteAlpha['300'],
3068
- active: coreColors.whiteAlpha['400'],
3069
- border: coreColors.transparent,
3093
+ content: colors.text.dark.headline,
3094
+ default: colors.transparent,
3095
+ hover: colors.whiteAlpha['300'],
3096
+ active: colors.whiteAlpha['400'],
3097
+ border: colors.transparent,
3070
3098
  },
3071
3099
  },
3072
3100
  ghostDestructive: {
3073
3101
  variant: 'ghost',
3074
3102
  light: {
3075
- content: semanticColors.text.light.error,
3076
- default: coreColors.transparent,
3077
- hover: coreColors.red['100'],
3078
- active: coreColors.red['200'],
3079
- border: coreColors.transparent,
3103
+ content: colors.text.light.error,
3104
+ default: colors.transparent,
3105
+ hover: colors.red['100'],
3106
+ active: colors.red['200'],
3107
+ border: colors.transparent,
3080
3108
  },
3081
3109
  dark: {
3082
- content: coreColors.red['300'],
3083
- default: coreColors.transparent,
3084
- hover: coreColors.whiteAlpha['300'],
3085
- active: coreColors.whiteAlpha['400'],
3086
- border: coreColors.transparent,
3110
+ content: colors.red['300'],
3111
+ default: colors.transparent,
3112
+ hover: colors.whiteAlpha['300'],
3113
+ active: colors.whiteAlpha['400'],
3114
+ border: colors.transparent,
3087
3115
  },
3088
3116
  },
3089
3117
  };
@@ -3229,4 +3257,6 @@ exports.TooltipConfig = TooltipConfig;
3229
3257
  exports.TooltipGlobalStyle = TooltipGlobalStyle;
3230
3258
  exports.theme = theme;
3231
3259
  exports.useTheme = useTheme;
3260
+ exports.withDarkMode = withDarkMode;
3261
+ exports.withTheme = withTheme;
3232
3262
  //# sourceMappingURL=index.js.map