colbrush 1.17.0 → 1.21.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/dist/cli.cjs CHANGED
@@ -690,7 +690,7 @@ ${bold("LEARN MORE")}
690
690
 
691
691
  // src/cli/index.ts
692
692
  var import_node_fs3 = __toESM(require("fs"), 1);
693
- var VERSION = "1.17.0";
693
+ var VERSION = "1.21.0";
694
694
  async function main() {
695
695
  const flags = parseFlags();
696
696
  const progress = createCliProgress();
package/dist/client.cjs CHANGED
@@ -608,7 +608,7 @@ function ThemeSwitcherPortal({
608
608
  children
609
609
  }) {
610
610
  const [container, setContainer] = (0, import_react2.useState)(null);
611
- const ownerId = (0, import_react2.useRef)(Symbol("ThemeSwitcherPortal"));
611
+ const ownerId = (0, import_react2.useRef)(/* @__PURE__ */ Symbol("ThemeSwitcherPortal"));
612
612
  (0, import_react2.useEffect)(() => {
613
613
  const el = ensurePortal();
614
614
  setContainer(el);
package/dist/client.js CHANGED
@@ -484,7 +484,7 @@ function ThemeSwitcherPortal({
484
484
  children
485
485
  }) {
486
486
  const [container, setContainer] = useState(null);
487
- const ownerId = useRef(Symbol("ThemeSwitcherPortal"));
487
+ const ownerId = useRef(/* @__PURE__ */ Symbol("ThemeSwitcherPortal"));
488
488
  useEffect(() => {
489
489
  const el = ensurePortal();
490
490
  setContainer(el);
package/dist/devtools.cjs CHANGED
@@ -149,7 +149,7 @@ function VisionFilterPortal({
149
149
  children
150
150
  }) {
151
151
  const [container, setContainer] = (0, import_react2.useState)(null);
152
- const ownerId = (0, import_react2.useRef)(Symbol("VisionFilterPortal"));
152
+ const ownerId = (0, import_react2.useRef)(/* @__PURE__ */ Symbol("VisionFilterPortal"));
153
153
  (0, import_react2.useEffect)(() => {
154
154
  try {
155
155
  const el = ensurePortal();
package/dist/devtools.js CHANGED
@@ -73,7 +73,7 @@ function VisionFilterPortal({
73
73
  children
74
74
  }) {
75
75
  const [container, setContainer] = useState(null);
76
- const ownerId = useRef(Symbol("VisionFilterPortal"));
76
+ const ownerId = useRef(/* @__PURE__ */ Symbol("VisionFilterPortal"));
77
77
  useEffect(() => {
78
78
  try {
79
79
  const el = ensurePortal();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colbrush",
3
- "version": "1.17.0",
3
+ "version": "1.21.0",
4
4
  "description": "A React theme switching library that makes it easy to apply color-blind accessible UI themes",
5
5
  "homepage": "https://colbrush.site",
6
6
  "repository": {
@@ -51,9 +51,9 @@
51
51
  "author": "TEAM ColorBrush",
52
52
  "license": "MIT",
53
53
  "dependencies": {
54
- "chokidar": "^3.6.0",
55
- "chroma-js": "^3.1.2",
56
- "colorjs.io": "^0.5.2",
54
+ "chokidar": "^5.0.0",
55
+ "chroma-js": "^3.2.0",
56
+ "colorjs.io": "^0.6.1",
57
57
  "postcss": "^8.5.6",
58
58
  "postcss-safe-parser": "^7.0.1"
59
59
  },
@@ -63,23 +63,21 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@svgr/cli": "^8.1.0",
66
- "@tailwindcss/cli": "^4.1.12",
67
- "@types/chroma-js": "^3.1.1",
68
- "@types/jest": "^30.0.0",
69
- "@types/node": "^24.1.0",
66
+ "@tailwindcss/cli": "^4.2.0",
67
+ "@types/chroma-js": "^3.1.2",
68
+ "@types/node": "^25.3.0",
70
69
  "@types/postcss-safe-parser": "^5.0.4",
71
- "@types/react": "^19.1.9",
72
- "@types/react-dom": "^19.1.7",
70
+ "@types/react": "^19.2.14",
71
+ "@types/react-dom": "^19.2.3",
72
+ "@typescript-eslint/parser": "^8.56.0",
73
73
  "esbuild-plugin-svgr": "^3.1.1",
74
- "eslint": "^9.32.0",
74
+ "eslint": "^10.0.0",
75
75
  "eslint-config-prettier": "^10.1.8",
76
76
  "eslint-plugin-import": "^2.32.0",
77
- "jest": "^30.0.5",
78
- "prettier": "^3.6.2",
79
- "tailwindcss": "^4.1.12",
80
- "ts-jest": "^29.4.0",
81
- "tsup": "^8.5.0",
82
- "typescript": "^5.8.3"
77
+ "prettier": "^3.8.1",
78
+ "tailwindcss": "^4.2.0",
79
+ "tsup": "^8.5.1",
80
+ "typescript": "^5.9.3"
83
81
  },
84
82
  "scripts": {
85
83
  "svgr": "svgr src/assets --out-dir src/icons --config-file svgr.config.cjs",