@builder.io/sdk-svelte 0.0.1 → 0.0.2

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,10 +1,3 @@
1
- import { JSX } from '@builder.io/mitosis/jsx-runtime';
2
1
  import { BuilderBlock } from '../types/builder-block.js';
3
- declare type JSXElementConstructor<P> = (props: P) => JSX.Element | null;
4
- export declare type TagName = string | JSXElementConstructor<any>;
5
- /**
6
- * The `JSXElementConstructor` type is here to account for a react-native override, where we have a
7
- * `View` tag wrapping every component.
8
- */
2
+ export declare type TagName = string;
9
3
  export declare function getBlockTag(block: BuilderBlock): TagName;
10
- export {};
@@ -1,9 +1,4 @@
1
- import '@builder.io/mitosis/jsx-runtime';
2
1
  import '../types/builder-block.js';
3
- /**
4
- * The `JSXElementConstructor` type is here to account for a react-native override, where we have a
5
- * `View` tag wrapping every component.
6
- */
7
2
  export function getBlockTag(block) {
8
3
  return block.tagName || 'div';
9
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package"