@veniceswap/uikit 0.63.1 → 0.64.0

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/dist/index.cjs.js CHANGED
@@ -2685,6 +2685,11 @@ var shadows = {
2685
2685
  inset: "inset 0px 2px 2px -1px rgba(74, 74, 104, 0.1)",
2686
2686
  tooltip: "0px 0px 2px rgba(0, 0, 0, 0.2), 0px 4px 12px -8px rgba(14, 14, 44, 0.1)",
2687
2687
  };
2688
+ var devicesQueries = {
2689
+ mobile: "@media screen and (max-width: " + breakpointMap.sm + "px)",
2690
+ tablet: "@media screen and (min-width: " + breakpointMap.sm + "px) and (max-width: " + breakpointMap.xl + "px)",
2691
+ desktop: "@media screen and (min-width: " + breakpointMap.xl + "px)",
2692
+ };
2688
2693
  var spacing = [0, 4, 8, 16, 24, 32, 48, 64];
2689
2694
  var radii = {
2690
2695
  small: "4px",
@@ -2704,6 +2709,7 @@ var base = {
2704
2709
  shadows: shadows,
2705
2710
  radii: radii,
2706
2711
  zIndices: zIndices,
2712
+ devicesQueries: devicesQueries
2707
2713
  };
2708
2714
 
2709
2715
  var light$6 = {
@@ -2773,7 +2779,7 @@ var dark$1 = {
2773
2779
  };
2774
2780
 
2775
2781
  var light = {
2776
- background: darkColors.backgroundAlt,
2782
+ background: darkColors.backgroundDisabled,
2777
2783
  text: darkColors.text,
2778
2784
  boxShadow: shadows.tooltip,
2779
2785
  };
package/dist/index.esm.js CHANGED
@@ -2651,6 +2651,11 @@ var shadows = {
2651
2651
  inset: "inset 0px 2px 2px -1px rgba(74, 74, 104, 0.1)",
2652
2652
  tooltip: "0px 0px 2px rgba(0, 0, 0, 0.2), 0px 4px 12px -8px rgba(14, 14, 44, 0.1)",
2653
2653
  };
2654
+ var devicesQueries = {
2655
+ mobile: "@media screen and (max-width: " + breakpointMap.sm + "px)",
2656
+ tablet: "@media screen and (min-width: " + breakpointMap.sm + "px) and (max-width: " + breakpointMap.xl + "px)",
2657
+ desktop: "@media screen and (min-width: " + breakpointMap.xl + "px)",
2658
+ };
2654
2659
  var spacing = [0, 4, 8, 16, 24, 32, 48, 64];
2655
2660
  var radii = {
2656
2661
  small: "4px",
@@ -2670,6 +2675,7 @@ var base = {
2670
2675
  shadows: shadows,
2671
2676
  radii: radii,
2672
2677
  zIndices: zIndices,
2678
+ devicesQueries: devicesQueries
2673
2679
  };
2674
2680
 
2675
2681
  var light$6 = {
@@ -2739,7 +2745,7 @@ var dark$1 = {
2739
2745
  };
2740
2746
 
2741
2747
  var light = {
2742
- background: darkColors.backgroundAlt,
2748
+ background: darkColors.backgroundDisabled,
2743
2749
  text: darkColors.text,
2744
2750
  boxShadow: shadows.tooltip,
2745
2751
  };
@@ -11,6 +11,11 @@ export declare const shadows: {
11
11
  inset: string;
12
12
  tooltip: string;
13
13
  };
14
+ export declare const devicesQueries: {
15
+ mobile: string;
16
+ tablet: string;
17
+ desktop: string;
18
+ };
14
19
  declare const _default: {
15
20
  siteWidth: number;
16
21
  breakpoints: Breakpoints;
@@ -35,5 +40,10 @@ declare const _default: {
35
40
  dropdown: number;
36
41
  modal: number;
37
42
  };
43
+ devicesQueries: {
44
+ mobile: string;
45
+ tablet: string;
46
+ desktop: string;
47
+ };
38
48
  };
39
49
  export default _default;
@@ -6,7 +6,7 @@ import { ToggleTheme } from "../components/Toggle/theme";
6
6
  import { TooltipTheme } from "../components/Tooltip/types";
7
7
  import { NavThemeType } from "../widgets/Menu/theme";
8
8
  import { ModalTheme } from "../widgets/Modal/types";
9
- import { Breakpoints, Colors, MediaQueries, Radii, Shadows, Spacing, ZIndices } from "./types";
9
+ import { Breakpoints, Colors, MediaQueries, Radii, Shadows, Spacing, ZIndices, DevicesQueries } from "./types";
10
10
  export interface PancakeTheme {
11
11
  siteWidth: number;
12
12
  isDark: boolean;
@@ -25,6 +25,7 @@ export interface PancakeTheme {
25
25
  shadows: Shadows;
26
26
  radii: Radii;
27
27
  zIndices: ZIndices;
28
+ devicesQueries: DevicesQueries;
28
29
  }
29
30
  export { darkColors, lightColors } from "./colors";
30
31
  export { default as dark } from "./dark";
@@ -68,3 +68,8 @@ export declare type ZIndices = {
68
68
  dropdown: number;
69
69
  modal: number;
70
70
  };
71
+ export declare type DevicesQueries = {
72
+ mobile: string;
73
+ tablet: string;
74
+ desktop: string;
75
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veniceswap/uikit",
3
- "version": "0.63.1",
3
+ "version": "0.64.0",
4
4
  "description": "Set of UI components for pancake projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "82617bd8bb2972726fd68da296d71c34268f4490"
56
+ "gitHead": "a0fff748ebd9d5527c08bc771c7bb9f7ecdfb6c0"
57
57
  }