@particle-network/ui-shared 0.4.1-beta.1 → 0.4.1-beta.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.
package/dist/color.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export type UXComponentColor = 'foreground' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'alert' | 'bullish' | 'bearish';
1
2
  export type UXForegroundColor = 'default' | 'white' | 'foreground' | 'secondary' | 'tertiary' | 'primary' | 'success' | 'danger' | 'alert' | 'warning' | 'bullish' | 'bearish';
2
3
  export type UXBackgroundColor = 'bg-pure' | 'bg-default' | 'bg-300' | 'bg-200' | 'bg-400' | 'divider' | 'transparent' | 'overlay';
3
4
  export type UXColor = UXForegroundColor | UXBackgroundColor;
@@ -8,7 +9,7 @@ export interface DynamicColors {
8
9
  }
9
10
  export type ThemeColors = Record<UXColor, string>;
10
11
  export declare const colorMap: Record<'dark' | 'light', Record<UXColor, string>>;
11
- export declare const foregroundColorList: UXForegroundColor[];
12
+ export declare const foregroundColorList: readonly ["foreground", "secondary", "tertiary", "primary", "success", "danger", "warning", "alert", "bullish", "bearish"];
12
13
  export declare const backgroundColorList: UXBackgroundColor[];
13
14
  export declare const uxColorList: UXColor[];
14
15
  export declare const colorToClassName: Record<UXColor, string>;
package/dist/color.js CHANGED
@@ -45,14 +45,14 @@ const colorMap = {
45
45
  }
46
46
  };
47
47
  const foregroundColorList = [
48
- 'default',
48
+ 'foreground',
49
49
  'secondary',
50
50
  'tertiary',
51
51
  'primary',
52
52
  'success',
53
53
  'danger',
54
- 'alert',
55
54
  'warning',
55
+ 'alert',
56
56
  'bullish',
57
57
  'bearish'
58
58
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-shared",
3
- "version": "0.4.1-beta.1",
3
+ "version": "0.4.1-beta.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "react-native": "./dist/index.js",