tintora 0.23.0 → 0.24.0

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/README.md CHANGED
@@ -44,7 +44,7 @@ export function Example() {
44
44
  }
45
45
  ```
46
46
 
47
- If your build setup supports CSS imports, you can also import the library stylesheet:
47
+ The ESM build imports its own stylesheet, so a bundler with CSS support (Vite, Next.js, webpack with `css-loader`) needs nothing else. The CommonJS build does not; add this line there:
48
48
 
49
49
  ```tsx
50
50
  import 'tintora/style.css';
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "./tintora.css";
1
2
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
3
  import { cloneElement as n, createContext as r, useContext as i, useEffect as a, useId as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
3
4
  //#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tintora",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {