@brightlayer-ui/colors 4.0.0-alpha.2 → 4.0.0-alpha.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.
package/README.md CHANGED
@@ -87,3 +87,14 @@ import BrandingColors, {lightGray} from '@brightlayer-ui/colors/branding';
87
87
  <div style={{background: BrandingColors.lightGray}}/>
88
88
  <div style={{background: lightGray}}/>
89
89
  ```
90
+
91
+ ## Migration from v3 to v4
92
+
93
+ In version 4.0.0, we have updated the UI colors and branding colors palette.
94
+
95
+ We have deprecated `@brightlayer-ui/colors-branding` and `@brightlayer-ui/types` packages, as they will be part of the `@brightlayer-ui/colors` package.
96
+ The branding colors palette and individual branding colors now can be imported from `@brightlayer-ui/colors/branding`.
97
+
98
+ ```
99
+ import BrandingColors, {lightGray} from '@brightlayer-ui/colors/branding';
100
+ ```
@@ -29,4 +29,4 @@ declare enum BrandingColors {
29
29
  }
30
30
  export declare const chartColors: BrandingColors[];
31
31
  export declare const lightGray: BrandingColors, gray: BrandingColors, darkGray: BrandingColors, sky: BrandingColors, eatonBlue: BrandingColors, navy: BrandingColors, ash: BrandingColors, teal: BrandingColors, pine: BrandingColors, sage: BrandingColors, citrus: BrandingColors, emerald: BrandingColors, butter: BrandingColors, goldenrod: BrandingColors, toad: BrandingColors, trophy: BrandingColors, sunset: BrandingColors, rust: BrandingColors, crimson: BrandingColors, wine: BrandingColors;
32
- export {};
32
+ export default BrandingColors;
@@ -44,3 +44,4 @@ exports.chartColors = [
44
44
  BrandingColors.sky,
45
45
  ];
46
46
  exports.lightGray = BrandingColors.lightGray, exports.gray = BrandingColors.gray, exports.darkGray = BrandingColors.darkGray, exports.sky = BrandingColors.sky, exports.eatonBlue = BrandingColors.eatonBlue, exports.navy = BrandingColors.navy, exports.ash = BrandingColors.ash, exports.teal = BrandingColors.teal, exports.pine = BrandingColors.pine, exports.sage = BrandingColors.sage, exports.citrus = BrandingColors.citrus, exports.emerald = BrandingColors.emerald, exports.butter = BrandingColors.butter, exports.goldenrod = BrandingColors.goldenrod, exports.toad = BrandingColors.toad, exports.trophy = BrandingColors.trophy, exports.sunset = BrandingColors.sunset, exports.rust = BrandingColors.rust, exports.crimson = BrandingColors.crimson, exports.wine = BrandingColors.wine;
47
+ exports.default = BrandingColors;
@@ -1 +1,3 @@
1
1
  export * from './branding-palette';
2
+ import BrandingColors from './branding-palette';
3
+ export default BrandingColors;
package/branding/index.js CHANGED
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./branding-palette"), exports);
18
+ var branding_palette_1 = require("./branding-palette");
19
+ exports.default = branding_palette_1.default;
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from './palette';
2
+ import Colors from './palette';
3
+ export default Colors;
package/dist/index.js CHANGED
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./palette"), exports);
18
+ var palette_1 = require("./palette");
19
+ exports.default = palette_1.default;
package/dist/palette.d.ts CHANGED
@@ -14,3 +14,14 @@ export declare const warning: Warning;
14
14
  export declare const success: Success;
15
15
  export declare const orange: Orange;
16
16
  export declare const purple: Purple;
17
+ declare const Colors: {
18
+ primary: Primary;
19
+ neutral: Neutral;
20
+ neutralVariant: NeutralVariant;
21
+ error: Error;
22
+ warning: Warning;
23
+ success: Success;
24
+ orange: Orange;
25
+ purple: Purple;
26
+ };
27
+ export default Colors;
package/dist/palette.js CHANGED
@@ -133,3 +133,14 @@ exports.purple = {
133
133
  98: '#FFF7FF',
134
134
  100: '#FFFFFF',
135
135
  };
136
+ var Colors = {
137
+ primary: exports.primary,
138
+ neutral: exports.neutral,
139
+ neutralVariant: exports.neutralVariant,
140
+ error: exports.error,
141
+ warning: exports.warning,
142
+ success: exports.success,
143
+ orange: exports.orange,
144
+ purple: exports.purple,
145
+ };
146
+ exports.default = Colors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightlayer-ui/colors",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.3",
4
4
  "description": "Brightlayer UI colors for Eaton applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",