vueless 1.0.2-beta.4 → 1.0.2-beta.5

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.
@@ -2,7 +2,6 @@ import { ref, watch, getCurrentInstance, toValue, useAttrs, computed } from "vue
2
2
  import { isEqual } from "lodash-es";
3
3
 
4
4
  import { cx, cva, setColor, vuelessConfig, getMergedConfig } from "../utils/ui.ts";
5
- import { isCSR } from "../utils/helper.ts";
6
5
  import {
7
6
  CVA_CONFIG_KEY,
8
7
  SYSTEM_CONFIG_KEY,
@@ -141,7 +140,7 @@ export default function useUI<T>(
141
140
  keyConfig = config.value[configKey] as NestedComponent;
142
141
  }
143
142
 
144
- const isDev = isCSR && import.meta.env?.DEV;
143
+ const isDev = import.meta.env?.DEV;
145
144
  const isTopLevelKey = (topLevelClassKey || firstClassKey) === configKey;
146
145
 
147
146
  const extendsClasses = getExtendsClasses(configKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "1.0.2-beta.4",
3
+ "version": "1.0.2-beta.5",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [