@minejs/jsx 0.2.3 → 0.2.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.
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  </div>
9
9
 
10
10
  <div align="center">
11
- <img src="https://img.shields.io/badge/v-0.2.3-black"/>
11
+ <img src="https://img.shields.io/badge/v-0.2.5-black"/>
12
12
  <img src="https://img.shields.io/badge/🔥-@minejs-black"/>
13
13
  <br>
14
14
  <img src="https://img.shields.io/badge/coverage-97.91%25-brightgreen" alt="Test Coverage" />
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { J as JSXElement, R as RenderOptions, M as MountedComponent } from './jsx-dev-runtime-DFrfaKOw.cjs';
2
- export { C as ComponentFunction, d as ContainerAlign, a as ContainerAs, q as ContainerBg, s as ContainerBorderColor, t as ContainerBorderWidth, c as ContainerDirection, b as ContainerDisplay, j as ContainerFraction, f as ContainerGap, n as ContainerHeight, e as ContainerJustify, p as ContainerMaxHeight, l as ContainerMaxWidth, o as ContainerMinHeight, m as ContainerMinWidth, x as ContainerOverflow, w as ContainerPosition, y as ContainerProps, u as ContainerRadius, i as ContainerScale, v as ContainerShadow, g as ContainerSpace, h as ContainerSpaceOrAuto, r as ContainerTextColor, k as ContainerWidth, I as For, F as Fragment, z as JSXProps, O as OverlayPosition, S as Show, H as Switch, D as component, G as createElements, E as defineComponent, A as jsx, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.cjs';
1
+ import { J as JSXElement, R as RenderOptions, M as MountedComponent } from './jsx-dev-runtime-DmA69Qn_.cjs';
2
+ export { C as ComponentFunction, d as ContainerAlign, a as ContainerAs, q as ContainerBg, s as ContainerBorderColor, t as ContainerBorderWidth, c as ContainerDirection, b as ContainerDisplay, j as ContainerFraction, f as ContainerGap, n as ContainerHeight, e as ContainerJustify, p as ContainerMaxHeight, l as ContainerMaxWidth, o as ContainerMinHeight, m as ContainerMinWidth, x as ContainerOverflow, w as ContainerPosition, y as ContainerProps, u as ContainerRadius, i as ContainerScale, v as ContainerShadow, g as ContainerSpace, h as ContainerSpaceOrAuto, r as ContainerTextColor, k as ContainerWidth, I as For, F as Fragment, z as JSXProps, O as OverlayPosition, S as Show, H as Switch, D as component, G as createElements, E as defineComponent, A as jsx, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.cjs';
3
3
  import '@minejs/signals';
4
4
 
5
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { J as JSXElement, R as RenderOptions, M as MountedComponent } from './jsx-dev-runtime-DFrfaKOw.js';
2
- export { C as ComponentFunction, d as ContainerAlign, a as ContainerAs, q as ContainerBg, s as ContainerBorderColor, t as ContainerBorderWidth, c as ContainerDirection, b as ContainerDisplay, j as ContainerFraction, f as ContainerGap, n as ContainerHeight, e as ContainerJustify, p as ContainerMaxHeight, l as ContainerMaxWidth, o as ContainerMinHeight, m as ContainerMinWidth, x as ContainerOverflow, w as ContainerPosition, y as ContainerProps, u as ContainerRadius, i as ContainerScale, v as ContainerShadow, g as ContainerSpace, h as ContainerSpaceOrAuto, r as ContainerTextColor, k as ContainerWidth, I as For, F as Fragment, z as JSXProps, O as OverlayPosition, S as Show, H as Switch, D as component, G as createElements, E as defineComponent, A as jsx, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.js';
1
+ import { J as JSXElement, R as RenderOptions, M as MountedComponent } from './jsx-dev-runtime-DmA69Qn_.js';
2
+ export { C as ComponentFunction, d as ContainerAlign, a as ContainerAs, q as ContainerBg, s as ContainerBorderColor, t as ContainerBorderWidth, c as ContainerDirection, b as ContainerDisplay, j as ContainerFraction, f as ContainerGap, n as ContainerHeight, e as ContainerJustify, p as ContainerMaxHeight, l as ContainerMaxWidth, o as ContainerMinHeight, m as ContainerMinWidth, x as ContainerOverflow, w as ContainerPosition, y as ContainerProps, u as ContainerRadius, i as ContainerScale, v as ContainerShadow, g as ContainerSpace, h as ContainerSpaceOrAuto, r as ContainerTextColor, k as ContainerWidth, I as For, F as Fragment, z as JSXProps, O as OverlayPosition, S as Show, H as Switch, D as component, G as createElements, E as defineComponent, A as jsx, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.js';
3
3
  import '@minejs/signals';
4
4
 
5
5
  /**
@@ -34,7 +34,7 @@ type ContainerTextColor = '1' | '2' | '3' | '4' | 'inverse' | 'brand' | 'success
34
34
  type ContainerBorderColor = '1' | '2' | '3' | 'brand' | 'success' | 'warning' | 'error' | 'current' | 'transparent';
35
35
  type ContainerBorderWidth = 0 | 1 | 2 | 4 | 8;
36
36
  type ContainerRadius = 'none' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
37
- type ContainerShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'inner';
37
+ type ContainerShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inner';
38
38
  type ContainerPosition = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
39
39
  type ContainerOverflow = 'visible' | 'hidden' | 'scroll' | 'auto';
40
40
  type OverlayPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
@@ -83,7 +83,7 @@ interface ContainerProps {
83
83
  }
84
84
  interface JSXProps extends ContainerProps {
85
85
  children?: any;
86
- ref?: Signal<HTMLElement | null>;
86
+ ref?: Signal<HTMLElement | null> | HTMLElement | null;
87
87
  htmlFor?: string | Signal<string>;
88
88
  [key: string]: any;
89
89
  }
@@ -34,7 +34,7 @@ type ContainerTextColor = '1' | '2' | '3' | '4' | 'inverse' | 'brand' | 'success
34
34
  type ContainerBorderColor = '1' | '2' | '3' | 'brand' | 'success' | 'warning' | 'error' | 'current' | 'transparent';
35
35
  type ContainerBorderWidth = 0 | 1 | 2 | 4 | 8;
36
36
  type ContainerRadius = 'none' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
37
- type ContainerShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'inner';
37
+ type ContainerShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inner';
38
38
  type ContainerPosition = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
39
39
  type ContainerOverflow = 'visible' | 'hidden' | 'scroll' | 'auto';
40
40
  type OverlayPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
@@ -83,7 +83,7 @@ interface ContainerProps {
83
83
  }
84
84
  interface JSXProps extends ContainerProps {
85
85
  children?: any;
86
- ref?: Signal<HTMLElement | null>;
86
+ ref?: Signal<HTMLElement | null> | HTMLElement | null;
87
87
  htmlFor?: string | Signal<string>;
88
88
  [key: string]: any;
89
89
  }
@@ -1,2 +1,2 @@
1
- export { F as Fragment, A as jsxDEV, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.cjs';
1
+ export { F as Fragment, A as jsxDEV, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.cjs';
2
2
  import '@minejs/signals';
@@ -1,2 +1,2 @@
1
- export { F as Fragment, A as jsxDEV, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.js';
1
+ export { F as Fragment, A as jsxDEV, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.js';
2
2
  import '@minejs/signals';
@@ -1,2 +1,2 @@
1
- export { F as Fragment, A as jsx, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.cjs';
1
+ export { F as Fragment, A as jsx, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.cjs';
2
2
  import '@minejs/signals';
@@ -1,2 +1,2 @@
1
- export { F as Fragment, A as jsx, B as jsxs } from './jsx-dev-runtime-DFrfaKOw.js';
1
+ export { F as Fragment, A as jsx, B as jsxs } from './jsx-dev-runtime-DmA69Qn_.js';
2
2
  import '@minejs/signals';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minejs/jsx",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Lightweight JSX runtime with fine-grained reactivity.",
5
5
  "keywords": [
6
6
  "minejs",