@beeq/tailwindcss 1.11.0 → 1.11.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/index.cjs.js +6 -6
- package/index.esm.js +6 -6
- package/package.json +1 -1
- package/src/helpers/blend-color.d.ts +2 -2
package/index.cjs.js
CHANGED
|
@@ -1955,10 +1955,10 @@ function flattenColorPalette(colors) {
|
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
1957
|
|
|
1958
|
-
const ColorMix = plugin(
|
|
1958
|
+
const ColorMix = plugin(({
|
|
1959
1959
|
matchUtilities,
|
|
1960
1960
|
theme
|
|
1961
|
-
}) {
|
|
1961
|
+
}) => {
|
|
1962
1962
|
matchUtilities({
|
|
1963
1963
|
'bg-hover': value => blendColor({
|
|
1964
1964
|
color: value,
|
|
@@ -2047,10 +2047,10 @@ const ColorMix = plugin(function ({
|
|
|
2047
2047
|
});
|
|
2048
2048
|
});
|
|
2049
2049
|
|
|
2050
|
-
const LogicalProperties = plugin(
|
|
2050
|
+
const LogicalProperties = plugin(({
|
|
2051
2051
|
matchUtilities,
|
|
2052
2052
|
theme
|
|
2053
|
-
}) {
|
|
2053
|
+
}) => {
|
|
2054
2054
|
matchUtilities({
|
|
2055
2055
|
'border-bl': value => ({
|
|
2056
2056
|
'border-block-width': value
|
|
@@ -4312,11 +4312,11 @@ var index = {
|
|
|
4312
4312
|
}
|
|
4313
4313
|
}
|
|
4314
4314
|
},
|
|
4315
|
-
plugins: [plugin(
|
|
4315
|
+
plugins: [plugin(({
|
|
4316
4316
|
addBase,
|
|
4317
4317
|
addComponents,
|
|
4318
4318
|
theme
|
|
4319
|
-
}) {
|
|
4319
|
+
}) => {
|
|
4320
4320
|
addBase(Object.assign({
|
|
4321
4321
|
':root, ::backdrop': Object.assign({}, CSS_COLORS)
|
|
4322
4322
|
}, reset));
|
package/index.esm.js
CHANGED
|
@@ -1951,10 +1951,10 @@ function flattenColorPalette(colors) {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
1954
|
-
const ColorMix = plugin(
|
|
1954
|
+
const ColorMix = plugin(({
|
|
1955
1955
|
matchUtilities,
|
|
1956
1956
|
theme
|
|
1957
|
-
}) {
|
|
1957
|
+
}) => {
|
|
1958
1958
|
matchUtilities({
|
|
1959
1959
|
'bg-hover': value => blendColor({
|
|
1960
1960
|
color: value,
|
|
@@ -2043,10 +2043,10 @@ const ColorMix = plugin(function ({
|
|
|
2043
2043
|
});
|
|
2044
2044
|
});
|
|
2045
2045
|
|
|
2046
|
-
const LogicalProperties = plugin(
|
|
2046
|
+
const LogicalProperties = plugin(({
|
|
2047
2047
|
matchUtilities,
|
|
2048
2048
|
theme
|
|
2049
|
-
}) {
|
|
2049
|
+
}) => {
|
|
2050
2050
|
matchUtilities({
|
|
2051
2051
|
'border-bl': value => ({
|
|
2052
2052
|
'border-block-width': value
|
|
@@ -4308,11 +4308,11 @@ var index = {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
}
|
|
4310
4310
|
},
|
|
4311
|
-
plugins: [plugin(
|
|
4311
|
+
plugins: [plugin(({
|
|
4312
4312
|
addBase,
|
|
4313
4313
|
addComponents,
|
|
4314
4314
|
theme
|
|
4315
|
-
}) {
|
|
4315
|
+
}) => {
|
|
4316
4316
|
addBase(Object.assign({
|
|
4317
4317
|
':root, ::backdrop': Object.assign({}, CSS_COLORS)
|
|
4318
4318
|
}, reset));
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
type
|
|
1
|
+
type BlendOptions = {
|
|
2
2
|
color: string;
|
|
3
3
|
base: string;
|
|
4
4
|
percentage?: number;
|
|
5
5
|
property?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const blendColor: ({ color, base, percentage, property }:
|
|
7
|
+
export declare const blendColor: ({ color, base, percentage, property }: BlendOptions) => {
|
|
8
8
|
[x: string]: string;
|
|
9
9
|
};
|
|
10
10
|
export {};
|