@kbach/ui 0.1.0-beta.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.
@@ -0,0 +1,21 @@
1
+ 'use client';
2
+ import {
3
+ Fragment,
4
+ jsx,
5
+ jsxs
6
+ } from "./chunk-UE54W6ZG.mjs";
7
+ import "./chunk-BPCFICND.mjs";
8
+
9
+ // src/jsx-dev-runtime.tsx
10
+ function jsxDEV(type, props, key, isStaticChildren, source, self) {
11
+ const element = (isStaticChildren ? jsxs : jsx)(type, props, key);
12
+ if (source && element && typeof element === "object" && Object.isExtensible(element)) {
13
+ element._source = source;
14
+ element._self = self;
15
+ }
16
+ return element;
17
+ }
18
+ export {
19
+ Fragment,
20
+ jsxDEV
21
+ };
@@ -0,0 +1,17 @@
1
+ import { ReactElement } from 'react';
2
+ export { Fragment, JSX } from 'react';
3
+ export { r as registerWebElement } from './web-substitute-6xH1WxpZ.js';
4
+
5
+ /**
6
+ * @kbach/ui/jsx-runtime
7
+ *
8
+ * Drop-in replacement for react/jsx-runtime.
9
+ * Intercepts `className` and `kb` props on EVERY JSX element — React Native
10
+ * built-ins, HTML elements on web, and any third-party library component.
11
+ */
12
+
13
+ declare function _invalidateDefaultFontCache(): void;
14
+ declare function jsx(type: unknown, props: Record<string, unknown> | null, key?: string): ReactElement;
15
+ declare function jsxs(type: unknown, props: Record<string, unknown> | null, key?: string): ReactElement;
16
+
17
+ export { _invalidateDefaultFontCache, jsx, jsxs };