react-forest 1.0.3 → 1.0.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/dist/button/button.d.ts +1 -2
- package/dist/button/button.d.ts.map +1 -1
- package/dist/button/button.stories.d.ts +1 -1
- package/dist/button/button.stories.d.ts.map +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.d.ts.map +1 -1
- package/dist/index.cjs.css +1 -1
- package/dist/index.cjs.js +7 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.js +7 -1
- package/package.json +3 -3
package/dist/button/button.d.ts
CHANGED
|
@@ -2,6 +2,5 @@ import "../index.css";
|
|
|
2
2
|
export interface ButtonProps {
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
-
declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Button;
|
|
5
|
+
export declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,4CAExC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAGrC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC"}
|
package/dist/button/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./button";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
package/dist/index.cjs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "tailwindcss"
|
|
1
|
+
@import "tailwindcss" prefix(tw);
|
package/dist/index.cjs.js
CHANGED
|
@@ -422,4 +422,10 @@ function requireJsxRuntime () {
|
|
|
422
422
|
return jsxRuntime.exports;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
requireJsxRuntime();
|
|
425
|
+
var jsxRuntimeExports = requireJsxRuntime();
|
|
426
|
+
|
|
427
|
+
const Button = (props) => {
|
|
428
|
+
return jsxRuntimeExports.jsx("button", { className: "tw:bg-blue-400", children: props.label });
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
exports.Button = Button;
|
package/dist/index.esm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "tailwindcss"
|
|
1
|
+
@import "tailwindcss" prefix(tw);
|
package/dist/index.esm.js
CHANGED
|
@@ -420,4 +420,10 @@ function requireJsxRuntime () {
|
|
|
420
420
|
return jsxRuntime.exports;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
requireJsxRuntime();
|
|
423
|
+
var jsxRuntimeExports = requireJsxRuntime();
|
|
424
|
+
|
|
425
|
+
const Button = (props) => {
|
|
426
|
+
return jsxRuntimeExports.jsx("button", { className: "tw:bg-blue-400", children: props.label });
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
export { Button };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-forest",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
20
21
|
"import": "./dist/index.esm.js",
|
|
21
|
-
"require": "./dist/index.cjs.js"
|
|
22
|
-
"types": "./dist/index.d.ts"
|
|
22
|
+
"require": "./dist/index.cjs.js"
|
|
23
23
|
},
|
|
24
24
|
"./dist/index.css": "./dist/index.css"
|
|
25
25
|
},
|