@bamboocss/preset-base 1.17.1 → 1.17.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/dist/index.cjs +3 -4
- package/dist/index.mjs +3 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1290,9 +1290,8 @@ const effects = {
|
|
|
1290
1290
|
dropShadow: {
|
|
1291
1291
|
className: "drop-shadow",
|
|
1292
1292
|
group: "Effect",
|
|
1293
|
-
values: "dropShadows",
|
|
1294
1293
|
transform(value) {
|
|
1295
|
-
return { "--drop-shadow": value };
|
|
1294
|
+
return { "--drop-shadow": `drop-shadow(${value})` };
|
|
1296
1295
|
}
|
|
1297
1296
|
},
|
|
1298
1297
|
blur: {
|
|
@@ -2392,8 +2391,8 @@ const outline = {
|
|
|
2392
2391
|
shorthand: "ring",
|
|
2393
2392
|
values: "borders",
|
|
2394
2393
|
group: "Border",
|
|
2395
|
-
transform(value) {
|
|
2396
|
-
if (
|
|
2394
|
+
transform(value, { raw }) {
|
|
2395
|
+
if (raw === "none") return {
|
|
2397
2396
|
outline: "2px solid transparent",
|
|
2398
2397
|
outlineOffset: "2px"
|
|
2399
2398
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1286,9 +1286,8 @@ const effects = {
|
|
|
1286
1286
|
dropShadow: {
|
|
1287
1287
|
className: "drop-shadow",
|
|
1288
1288
|
group: "Effect",
|
|
1289
|
-
values: "dropShadows",
|
|
1290
1289
|
transform(value) {
|
|
1291
|
-
return { "--drop-shadow": value };
|
|
1290
|
+
return { "--drop-shadow": `drop-shadow(${value})` };
|
|
1292
1291
|
}
|
|
1293
1292
|
},
|
|
1294
1293
|
blur: {
|
|
@@ -2388,8 +2387,8 @@ const outline = {
|
|
|
2388
2387
|
shorthand: "ring",
|
|
2389
2388
|
values: "borders",
|
|
2390
2389
|
group: "Border",
|
|
2391
|
-
transform(value) {
|
|
2392
|
-
if (
|
|
2390
|
+
transform(value, { raw }) {
|
|
2391
|
+
if (raw === "none") return {
|
|
2393
2392
|
outline: "2px solid transparent",
|
|
2394
2393
|
outlineOffset: "2px"
|
|
2395
2394
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/preset-base",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.3",
|
|
4
4
|
"description": "The base preset for Bamboo CSS that contains the conditions and utilities",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bamboocss/types": "1.17.
|
|
36
|
+
"@bamboocss/types": "1.17.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsdown src/index.ts --format=esm,cjs --dts",
|