@iblai/web-containers 1.1.11 → 1.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -156,7 +156,7 @@
156
156
  "registry": "https://registry.npmjs.org/"
157
157
  },
158
158
  "scripts": {
159
- "build": "rollup -c && tailwindcss -i src/styles/components.css -o dist/styles.css --minify",
159
+ "build": "rollup -c && npx @tailwindcss/cli -i src/styles/components.css -o dist/styles.css --minify",
160
160
  "test": "vitest run",
161
161
  "test:watch": "vitest",
162
162
  "test:coverage": "vitest run --coverage",
@@ -1,4 +1,8 @@
1
- @import 'tailwindcss/utilities';
1
+ @import 'tailwindcss';
2
+
3
+ /* Use class-based dark mode so dark: utilities only apply when a .dark class
4
+ is present on a parent element, matching how consuming apps configure it. */
5
+ @custom-variant dark (&:is(.dark *));
2
6
 
3
7
  /* Scan all web-containers source files for Tailwind utility class usage */
4
8
  @source "../components";