gantri-components 2.0.0-beta.8 → 2.0.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/styles/theme.d.ts
CHANGED
|
@@ -155,13 +155,16 @@ declare module 'styled-components' {
|
|
|
155
155
|
}
|
|
156
156
|
export declare const allProductColorCodes: readonly ["blossompink", "canyon", "carbon", "coral", "fog", "forest", "glossysnowwhite", "meadow", "midnight", "persimmon", "sage", "sand", "sedona", "sky", "snow", "sproutgreen", "stone", "sunrise"];
|
|
157
157
|
export type ProductColorCode = typeof allProductColorCodes[number];
|
|
158
|
-
|
|
159
|
-
export declare const
|
|
158
|
+
/** Color codes that are no longer available for as product options. */
|
|
159
|
+
export declare const retiredProductColorCodes: ProductColorCode[];
|
|
160
|
+
/** All color codes excluding retired product codes. */
|
|
161
|
+
export declare const activeProductColorCodes: ProductColorCode[];
|
|
160
162
|
export interface ProductColorDetails {
|
|
161
163
|
code: ProductColorCode;
|
|
162
|
-
|
|
164
|
+
fullColorName: string;
|
|
163
165
|
hexColor: string;
|
|
164
|
-
|
|
166
|
+
inventoryColor: string;
|
|
167
|
+
shortColorName: string;
|
|
165
168
|
}
|
|
166
169
|
export declare const productColorsMap: Record<ProductColorCode, ProductColorDetails>;
|
|
167
170
|
export declare const lightTheme: DefaultTheme;
|