@builder.io/dev-tools 1.1.0-rc0 → 1.1.0-rc2
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/cli/index.cjs +309 -178
- package/core/index.cjs +167 -36
- package/core/index.mjs +167 -36
- package/figma/index.cjs +1 -0
- package/figma/index.d.ts +1 -0
- package/figma/index.mjs +1 -0
- package/figma/jsx-runtime/index.cjs +7 -0
- package/figma/jsx-runtime/index.d.ts +46 -0
- package/figma/jsx-runtime/index.js +7 -0
- package/figma/jsx-runtime/react.d.ts +5220 -0
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +3 -2
- package/server/index.cjs +44 -22
- package/server/index.mjs +44 -22
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +3 -0
- package/types/core/adapters/angular/angular-app-module-imports.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +1 -1
- package/types/core/adapters/angular/index.d.ts +1 -0
package/figma/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var s=(n,e)=>{for(var a in e)t(n,a,{get:e[a],enumerable:!0})},d=(n,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of p(e))!g.call(n,i)&&i!==a&&t(n,i,{get:()=>e[i],enumerable:!(r=o(e,i))||r.enumerable});return n};var m=n=>d(t({},"__esModule",{value:!0}),n);var y={};s(y,{figmaMapping:()=>F});module.exports=m(y);function F(n){}
|
package/figma/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../types/figma";
|
package/figma/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(e){}export{n as figmaMapping};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Expose `JSX` namespace in `global` namespace
|
|
2
|
+
import * as React from "./react";
|
|
3
|
+
export { Fragment } from "./react";
|
|
4
|
+
|
|
5
|
+
export namespace JSX {
|
|
6
|
+
interface Element extends React.JSX.Element {}
|
|
7
|
+
interface ElementClass extends React.JSX.ElementClass {}
|
|
8
|
+
interface ElementAttributesProperty
|
|
9
|
+
extends React.JSX.ElementAttributesProperty {}
|
|
10
|
+
interface ElementChildrenAttribute
|
|
11
|
+
extends React.JSX.ElementChildrenAttribute {}
|
|
12
|
+
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<
|
|
13
|
+
C,
|
|
14
|
+
P
|
|
15
|
+
>;
|
|
16
|
+
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {
|
|
17
|
+
children?: any;
|
|
18
|
+
}
|
|
19
|
+
interface IntrinsicClassAttributes<T>
|
|
20
|
+
extends React.JSX.IntrinsicClassAttributes<T> {
|
|
21
|
+
children?: any;
|
|
22
|
+
}
|
|
23
|
+
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Create a React element.
|
|
28
|
+
*
|
|
29
|
+
* You should not use this function directly. Use JSX and a transpiler instead.
|
|
30
|
+
*/
|
|
31
|
+
export function jsx(
|
|
32
|
+
type: React.ElementType,
|
|
33
|
+
props: unknown,
|
|
34
|
+
key?: React.Key
|
|
35
|
+
): React.ReactElement;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Create a React element.
|
|
39
|
+
*
|
|
40
|
+
* You should not use this function directly. Use JSX and a transpiler instead.
|
|
41
|
+
*/
|
|
42
|
+
export function jsxs(
|
|
43
|
+
type: React.ElementType,
|
|
44
|
+
props: unknown,
|
|
45
|
+
key?: React.Key
|
|
46
|
+
): React.ReactElement;
|