@tenoxui/moxie 0.5.0-alpha.2 → 0.5.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/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import type { Config, Parsed, ProcessedStyle, Results } from './types';
2
- export * from './types';
3
2
  export declare class TenoxUI {
4
3
  private property;
5
4
  private values;
@@ -26,4 +25,5 @@ export declare class TenoxUI {
26
25
  processCustomClass(className: string | undefined, value?: string | undefined, unit?: string | undefined, prefix?: string | undefined, secValue?: string | undefined, secUnit?: string | undefined): ProcessedStyle | null;
27
26
  process(classNames: string | string[]): Results[];
28
27
  }
28
+ export * from './types';
29
29
  export default TenoxUI;
package/dist/index.es.js CHANGED
@@ -12,7 +12,7 @@ var x = (d, t, s) => t in d ? S(d, t, { enumerable: !0, configurable: !0, writab
12
12
  class R {
13
13
  constructor({ property: t = {}, values: s = {}, classes: e = {} } = {}) {
14
14
  this.property = P({
15
- // use moxie-* to access all properties and variables
15
+ // use moxie-* utility to access all properties and variables
16
16
  // e.g. `moxie-(color:red)` => `color: red`, `moxie-(--my-var:20px_1rem)` => `--my-var: 20px 1rem`
17
17
  moxie: ({ key: i, secondValue: r }) => r ? null : i
18
18
  }, t), this.values = s, this.classes = e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenoxui/moxie",
3
- "version": "0.5.0-alpha.2",
3
+ "version": "0.5.0",
4
4
  "description": "Very lightweight utility-first CSS engine for style generation",
5
5
  "author": "NOuSantx <nousantx@gmail.com>",
6
6
  "license": "MIT",
@@ -43,9 +43,12 @@
43
43
  },
44
44
  "scripts": {
45
45
  "dev": "vite build --watch",
46
- "build": "tsc --noEmit && vite build && tsc --declaration --emitDeclarationOnly --outDir dist",
46
+ "build": "vite build",
47
47
  "test": "vitest run",
48
- "test:watch": "vitest"
48
+ "test:watch": "vitest",
49
+ "type:check": "tsc --noEmit",
50
+ "type:build": "tsc --declaration --emitDeclarationOnly --outDir dist",
51
+ "build:prod": "pnpm type:check && pnpm build && pnpm type:build"
49
52
  },
50
53
  "devDependencies": {
51
54
  "typescript": "^5.7.3",