@bamboocss/generator 1.54.0 → 1.54.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/index.cjs CHANGED
@@ -3355,7 +3355,7 @@ const generateArtifacts = (ctx, ids) => {
3355
3355
  //#region src/artifacts/css/global-css.ts
3356
3356
  const generateGlobalCss = (ctx, sheet) => {
3357
3357
  const globalCss = ctx.config.global?.css ?? {};
3358
- sheet.processGlobalCss({ ":root": { "--made-with-bamboo": `'🎋'` } });
3358
+ sheet.processGlobalCss({ ":root": { "--made-with-bamboo": ctx.config.watermark === false ? `''` : `'🎋'` } });
3359
3359
  sheet.processGlobalCss(globalCss);
3360
3360
  };
3361
3361
  //#endregion
package/dist/index.mjs CHANGED
@@ -3329,7 +3329,7 @@ const generateArtifacts = (ctx, ids) => {
3329
3329
  //#region src/artifacts/css/global-css.ts
3330
3330
  const generateGlobalCss = (ctx, sheet) => {
3331
3331
  const globalCss = ctx.config.global?.css ?? {};
3332
- sheet.processGlobalCss({ ":root": { "--made-with-bamboo": `'🎋'` } });
3332
+ sheet.processGlobalCss({ ":root": { "--made-with-bamboo": ctx.config.watermark === false ? `''` : `'🎋'` } });
3333
3333
  sheet.processGlobalCss(globalCss);
3334
3334
  };
3335
3335
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/generator",
3
- "version": "1.54.0",
3
+ "version": "1.54.1",
4
4
  "description": "The css generator for css bamboo",
5
5
  "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
@@ -38,12 +38,12 @@
38
38
  "pluralize": "8.0.0",
39
39
  "postcss": "8.5.26",
40
40
  "ts-pattern": "5.9.0",
41
- "@bamboocss/core": "1.54.0",
42
- "@bamboocss/is-valid-prop": "^1.54.0",
43
- "@bamboocss/logger": "1.54.0",
44
- "@bamboocss/shared": "1.54.0",
45
- "@bamboocss/token-dictionary": "1.54.0",
46
- "@bamboocss/types": "1.54.0"
41
+ "@bamboocss/core": "1.54.1",
42
+ "@bamboocss/is-valid-prop": "^1.54.1",
43
+ "@bamboocss/logger": "1.54.1",
44
+ "@bamboocss/shared": "1.54.1",
45
+ "@bamboocss/token-dictionary": "1.54.1",
46
+ "@bamboocss/types": "1.54.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/pluralize": "0.0.33"