tailwind-to-style 5.1.0 → 5.1.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
package/dist/core/tws.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
package/dist/cx.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
package/dist/cx.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -7952,10 +7952,11 @@ function _flushRegistry() {
7952
7952
  }
7953
7953
  function _inject(key, css) {
7954
7954
  if (!css) return;
7955
- _registry.set(key, css);
7956
- if (IS_BROWSER) {
7957
- _flushRegistry();
7958
- } else if (isSSRCollecting()) {
7955
+ // Merge: if key already exists, append — never silently override
7956
+ const existing = _registry.get(key);
7957
+ _registry.set(key, existing ? existing + '\n' + css : css);
7958
+ _flushRegistry();
7959
+ if (!IS_BROWSER && isSSRCollecting()) {
7959
7960
  collectSSRCSS(css);
7960
7961
  }
7961
7962
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v5.1.0
2
+ * tailwind-to-style v5.1.1
3
3
  * Zero-build runtime Tailwind CSS engine
4
4
  *
5
5
  * @author Bigetion
@@ -7948,10 +7948,11 @@ function _flushRegistry() {
7948
7948
  }
7949
7949
  function _inject(key, css) {
7950
7950
  if (!css) return;
7951
- _registry.set(key, css);
7952
- if (IS_BROWSER) {
7953
- _flushRegistry();
7954
- } else if (isSSRCollecting()) {
7951
+ // Merge: if key already exists, append — never silently override
7952
+ const existing = _registry.get(key);
7953
+ _registry.set(key, existing ? existing + '\n' + css : css);
7954
+ _flushRegistry();
7955
+ if (!IS_BROWSER && isSSRCollecting()) {
7955
7956
  collectSSRCSS(css);
7956
7957
  }
7957
7958
  }