@fixefy/fixefy-ui-utils 0.2.53 → 0.2.55
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/images/index.js
CHANGED
|
@@ -8,10 +8,10 @@ Object.defineProperty(exports, "imageLoader", {
|
|
|
8
8
|
return imageLoader;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
const imageLoader = ({ src
|
|
11
|
+
const imageLoader = ({ src })=>{
|
|
12
12
|
const transformedSrc = src.split('/');
|
|
13
13
|
const new_item = transformedSrc[transformedSrc.length - 1].split(/(?=[A-Z])/).join('_').toLowerCase();
|
|
14
14
|
transformedSrc.splice(transformedSrc.length - 1, 1, new_item);
|
|
15
15
|
const url = transformedSrc.join('/');
|
|
16
|
-
return
|
|
16
|
+
return `${process.env.NEXT_PUBLIC_ASSET_URL}/${url}`;
|
|
17
17
|
};
|
|
@@ -63,6 +63,7 @@ declare module '@mui/material/styles' {
|
|
|
63
63
|
priority: PriorityPalleteColorOptions;
|
|
64
64
|
chipPriority: ChipPriorityPalleteColorOptions;
|
|
65
65
|
colors: ColorsPaletteColorOptions;
|
|
66
|
+
user_image_colors: UserImagePaletteColorOptions;
|
|
66
67
|
values: ValuesPaletteColorOptions;
|
|
67
68
|
}
|
|
68
69
|
interface PaletteOptions {
|
|
@@ -94,6 +95,7 @@ declare module '@mui/material/styles' {
|
|
|
94
95
|
chipPriority: ChipPriorityPalleteColorOptions;
|
|
95
96
|
colors: ColorsPaletteColorOptions;
|
|
96
97
|
values: ValuesPaletteColorOptions;
|
|
98
|
+
user_image_colors: UserImagePaletteColorOptions;
|
|
97
99
|
}
|
|
98
100
|
interface ValuesPaletteColorOptions {
|
|
99
101
|
original_value: string;
|
|
@@ -143,6 +145,30 @@ declare module '@mui/material/styles' {
|
|
|
143
145
|
lightGray: string;
|
|
144
146
|
charcoal: string;
|
|
145
147
|
}
|
|
148
|
+
interface UserImagePaletteColorOptions {
|
|
149
|
+
red: string;
|
|
150
|
+
orange: string;
|
|
151
|
+
orangeHover: string;
|
|
152
|
+
orangeFocused: string;
|
|
153
|
+
gold: string;
|
|
154
|
+
yellow: string;
|
|
155
|
+
yellowHover: string;
|
|
156
|
+
yellowFocused: string;
|
|
157
|
+
green1: string;
|
|
158
|
+
green2: string;
|
|
159
|
+
green2Hover: string;
|
|
160
|
+
green2Focused: string;
|
|
161
|
+
green3: string;
|
|
162
|
+
blue: string;
|
|
163
|
+
blueHover: string;
|
|
164
|
+
blueFocused: string;
|
|
165
|
+
blue1: string;
|
|
166
|
+
blue1Hover: string;
|
|
167
|
+
blue1Focused: string;
|
|
168
|
+
purple: string;
|
|
169
|
+
silver: string;
|
|
170
|
+
gray_54: string;
|
|
171
|
+
}
|
|
146
172
|
interface PriorityPalleteColorOptions {
|
|
147
173
|
critical: string;
|
|
148
174
|
high: string;
|
|
@@ -114,6 +114,30 @@ const theme = (0, _styles.createTheme)({
|
|
|
114
114
|
lightGray: '#FCFCFB',
|
|
115
115
|
charcoal: '#2B2B2B'
|
|
116
116
|
},
|
|
117
|
+
user_image_colors: {
|
|
118
|
+
red: '#EB5757',
|
|
119
|
+
orange: '#F2994A',
|
|
120
|
+
orangeHover: '#EC7A30',
|
|
121
|
+
orangeFocused: '#E65C15',
|
|
122
|
+
gold: '#C4A603',
|
|
123
|
+
yellow: '#F2D74C',
|
|
124
|
+
yellowHover: '#ECC631',
|
|
125
|
+
yellowFocused: '#E6B517',
|
|
126
|
+
green1: '#88C00D',
|
|
127
|
+
green2: '#27AE60',
|
|
128
|
+
green2Hover: '#169242',
|
|
129
|
+
green2Focused: '#067724',
|
|
130
|
+
green3: '#6FCF97',
|
|
131
|
+
blue: '#2D9CDB',
|
|
132
|
+
blueHover: '#2D9CDB',
|
|
133
|
+
blueFocused: '#085FBC',
|
|
134
|
+
blue1: '#56CCF2',
|
|
135
|
+
blue1Hover: '#39B8EC',
|
|
136
|
+
blue1Focused: '#1DA3E6',
|
|
137
|
+
purple: '#BB6BD9',
|
|
138
|
+
silver: '#C5C5C5',
|
|
139
|
+
gray_54: '#8A8A8A'
|
|
140
|
+
},
|
|
117
141
|
greyscale: {
|
|
118
142
|
dark: '#636363',
|
|
119
143
|
main: '#ababab',
|
package/package.json
CHANGED