@loomhq/lens 10.59.0 → 10.60.1
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/colors.js
CHANGED
|
@@ -104,12 +104,12 @@ export const hslaBaseColors = {
|
|
|
104
104
|
};
|
|
105
105
|
export const hslaGreys = {
|
|
106
106
|
grey8: { h: 0, s: 0, l: 13, a: 1 },
|
|
107
|
-
grey7: { h:
|
|
107
|
+
grey7: { h: 246, s: 16, l: 26, a: 1 },
|
|
108
108
|
grey6: { h: 252, s: 13, l: 46, a: 1 },
|
|
109
109
|
grey5: { h: 240, s: 7, l: 62, a: 1 },
|
|
110
|
-
grey4: { h:
|
|
111
|
-
grey3: { h:
|
|
112
|
-
grey2: { h:
|
|
110
|
+
grey4: { h: 259, s: 12, l: 75, a: 1 },
|
|
111
|
+
grey3: { h: 260, s: 11, l: 85, a: 1 },
|
|
112
|
+
grey2: { h: 260, s: 11, l: 95, a: 1 },
|
|
113
113
|
grey1: { h: 240, s: 7, l: 97, a: 1 },
|
|
114
114
|
white: { h: 240, s: 7, l: 100, a: 1 },
|
|
115
115
|
};
|
|
@@ -106,7 +106,7 @@ export const displayRules: {
|
|
|
106
106
|
selector: string;
|
|
107
107
|
declarations: {
|
|
108
108
|
property: string;
|
|
109
|
-
value:
|
|
109
|
+
value: string;
|
|
110
110
|
}[];
|
|
111
111
|
}[];
|
|
112
112
|
export const flexWrapRules: {
|
|
@@ -129,7 +129,7 @@ export const flexItemRules: {
|
|
|
129
129
|
modifier: string;
|
|
130
130
|
declarations: {
|
|
131
131
|
property: string;
|
|
132
|
-
value:
|
|
132
|
+
value: string;
|
|
133
133
|
}[];
|
|
134
134
|
}[];
|
|
135
135
|
export const JustifyContentRules: {
|
|
@@ -137,7 +137,7 @@ export const JustifyContentRules: {
|
|
|
137
137
|
modifier: string;
|
|
138
138
|
declarations: {
|
|
139
139
|
property: string;
|
|
140
|
-
value:
|
|
140
|
+
value: string;
|
|
141
141
|
}[];
|
|
142
142
|
}[];
|
|
143
143
|
export const growRules: {
|
|
@@ -161,7 +161,7 @@ export const alignSelfRules: {
|
|
|
161
161
|
modifier: string;
|
|
162
162
|
declarations: {
|
|
163
163
|
property: string;
|
|
164
|
-
value:
|
|
164
|
+
value: string;
|
|
165
165
|
}[];
|
|
166
166
|
}[];
|
|
167
167
|
export const overflowRules: {
|
package/dist/utilities/case.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const pascalCaseToKebabCase: (string: string) => string;
|
package/dist/utilities/case.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { hslaColors } from '../colors';
|
|
2
|
+
export declare const getColorAlpha: (color: keyof typeof hslaColors, alpha: number) => string;
|
|
3
|
+
export declare const getColorScale: (color: keyof typeof hslaColors, scaleType: string, scaleIncrement: number) => string;
|
|
4
|
+
export declare const getColorValue: (color?: string) => string | undefined;
|
package/dist/utilities/color.js
CHANGED
|
@@ -13,7 +13,7 @@ export const getColorScale = (color, scaleType, scaleIncrement) => {
|
|
|
13
13
|
};
|
|
14
14
|
return `hsla(${hslaColors[color].h},${hslaColors[color].s}%,${Math.round(scaledValue())}%,${hslaColors[color].a})`;
|
|
15
15
|
};
|
|
16
|
-
export const getColorValue = color => {
|
|
16
|
+
export const getColorValue = (color) => {
|
|
17
17
|
if (color) {
|
|
18
18
|
if (color in hslaColors || color in themeColors.light) {
|
|
19
19
|
return `var(--lns-color-${color})`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './color';
|
|
2
|
+
export * from './responsive';
|
|
3
|
+
export * from './size';
|
|
4
|
+
export * from './styles';
|
|
5
|
+
export * from './case';
|