@mpen/jsxhtml 0.1.20 → 0.1.23

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.
@@ -1,5 +1,4 @@
1
- import { AnyAttributes } from '../jsx-types';
2
- import { AllGlobalAttributes } from './GlobalAttributes';
1
+ import { AnyAttributes, CommonProps } from '../jsx-types';
3
2
  import { AnchorElement } from './AnchorElement';
4
3
  export type IntrinsicElements = {
5
4
  /**
@@ -8,7 +7,7 @@ export type IntrinsicElements = {
8
7
  *
9
8
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
10
9
  */
11
- a: AnchorElement & AllGlobalAttributes;
10
+ a: AnchorElement & CommonProps;
12
11
  abbr: AnyAttributes;
13
12
  acronym: AnyAttributes;
14
13
  address: AnyAttributes;
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { J as JsxRawHtml, f as flattenString, E as EMPTY, a as JsxDocType, j as jsxs, b as jsx, F as Fragment, i as isJsxNode } from "./jsx-runtime-FjVmLblX.js";
1
+ import { b as JsxRawHtml, f as flattenString, E as EMPTY, c as JsxDocType, d as jsxs, j as jsx, F as Fragment, e as isJsxNode } from "./jsx-runtime-6Dbtz0G4.js";
2
2
 
3
- export { d as JsxComment, c as JsxElement, e as JsxEmpty, g as JsxFragment } from "./jsx-runtime-FjVmLblX.js";
3
+ export { J as JsxComment, g as JsxElement, h as JsxEmpty, a as JsxFragment } from "./jsx-runtime-6Dbtz0G4.js";
4
4
 
5
5
  function RawHtml({children}) {
6
6
  return new JsxRawHtml(flattenString(children));
@@ -1,6 +1,6 @@
1
- import { b as jsx, h as isJsxComponent, d as JsxComment, g as JsxFragment } from "./jsx-runtime-FjVmLblX.js";
1
+ import { j as jsx, i as isJsxComponent, J as JsxComment, a as JsxFragment } from "./jsx-runtime-6Dbtz0G4.js";
2
2
 
3
- export { F as Fragment } from "./jsx-runtime-FjVmLblX.js";
3
+ export { F as Fragment } from "./jsx-runtime-6Dbtz0G4.js";
4
4
 
5
5
  function jsxDEV(tag, props, key, isStaticChildren, source, self) {
6
6
  let node = jsx(...arguments);
@@ -1686,4 +1686,4 @@ function Fragment({children}) {
1686
1686
  return new JsxFragment(children);
1687
1687
  }
1688
1688
 
1689
- export { EMPTY as E, Fragment as F, JsxRawHtml as J, JsxDocType as a, jsx as b, JsxElement as c, JsxComment as d, JsxEmpty as e, flattenString as f, JsxFragment as g, isJsxComponent as h, isJsxNode as i, jsxs as j };
1689
+ export { EMPTY as E, Fragment as F, JsxComment as J, JsxFragment as a, JsxRawHtml as b, JsxDocType as c, jsxs as d, isJsxNode as e, flattenString as f, JsxElement as g, JsxEmpty as h, isJsxComponent as i, jsx as j };
package/jsx-runtime.mjs CHANGED
@@ -1 +1 @@
1
- export { F as Fragment, b as jsx, j as jsxs } from "./jsx-runtime-FjVmLblX.js";
1
+ export { F as Fragment, j as jsx, d as jsxs } from "./jsx-runtime-6Dbtz0G4.js";
package/jsx.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";
package/jsx.mjs ADDED
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpen/jsxhtml",
3
- "version": "0.1.20",
3
+ "version": "0.1.23",
4
4
  "packageManager": "bun@1.0.7",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.mjs",
@@ -24,7 +24,7 @@
24
24
  "elysia"
25
25
  ],
26
26
  "optionalDependencies": {
27
- "elysia": ">=0.7.21"
27
+ "elysia": ">=0.7.22"
28
28
  },
29
29
  "dependencies": {
30
30
  "classcat": "^5.0.4"