@safestrong/ppa-component-library 1.0.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,6 @@
1
+ import React from 'react';
2
+ export default function IconButton({ label }: Readonly<IconButtonProps>): React.JSX.Element;
3
+ type IconButtonProps = {
4
+ label: string;
5
+ };
6
+ export {};
@@ -0,0 +1 @@
1
+ export { default as IconButton } from "./IconButton";
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+
3
+ declare function IconButton({ label }: Readonly<IconButtonProps>): React.JSX.Element;
4
+ type IconButtonProps = {
5
+ label: string;
6
+ };
7
+
8
+ export { IconButton };
@@ -0,0 +1,2 @@
1
+ import t from"react";function e({label:e}){return t.createElement("button",null,e)}export{e as IconButton};
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../src/components/IconButton.tsx"],"sourcesContent":[null],"names":["IconButton","label","React","createElement"],"mappings":"qBAEc,SAAUA,GAAWC,MAAEA,IAClC,OACGC,EAAAC,cAAA,SAAA,KAASF,EAEf"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";var t=require("react");exports.IconButton=function({label:e}){return t.createElement("button",null,e)};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/components/IconButton.tsx"],"sourcesContent":[null],"names":["label","React","createElement"],"mappings":"uDAEc,UAAqBA,MAAEA,IAClC,OACGC,EAAAC,cAAA,SAAA,KAASF,EAEf"}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "devDependencies": {
3
+ "@chromatic-com/storybook": "3.2.2",
4
+ "@rollup/plugin-commonjs": "^28.0.1",
5
+ "@rollup/plugin-node-resolve": "^15.3.0",
6
+ "@rollup/plugin-terser": "^0.4.4",
7
+ "@rollup/plugin-typescript": "^8.3.0",
8
+ "@storybook/addon-essentials": "8.4.2",
9
+ "@storybook/addon-interactions": "8.4.2",
10
+ "@storybook/addon-onboarding": "8.4.2",
11
+ "@storybook/addon-webpack5-compiler-swc": "1.0.5",
12
+ "@storybook/blocks": "8.4.2",
13
+ "@storybook/react": "8.4.2",
14
+ "@storybook/react-webpack5": "8.4.2",
15
+ "@storybook/test": "8.4.2",
16
+ "@types/react": "^18.3.12",
17
+ "react": "^18.3.1",
18
+ "react-dom": "^18.3.1",
19
+ "rollup": "^4.26.0",
20
+ "rollup-plugin-dts": "^6.1.1",
21
+ "rollup-plugin-peer-deps-external": "^2.2.4",
22
+ "storybook": "8.4.2",
23
+ "typescript": "^5.6.3"
24
+ },
25
+ "peerDependencies": {
26
+ "react": "^18.2.0",
27
+ "react-dom": "^18.2.0"
28
+ },
29
+ "name": "@safestrong/ppa-component-library",
30
+ "version": "1.0.0",
31
+ "description": "Collection of reusable components for any PPA web applications",
32
+ "main": "dist/index.js",
33
+ "module": "dist/index.esm.js",
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "types": "dist/index.d.ts",
38
+ "repository": "https://github.com/safestrong/ppa-component-library.git",
39
+ "author": "SS6 Development",
40
+ "license": "MIT",
41
+ "scripts": {
42
+ "storybook": "storybook dev -p 6006",
43
+ "build-storybook": "storybook build",
44
+ "rollup": "rollup -c --bundleConfigAsCjs",
45
+ "rollupclean": "rollup --config --no-cache --bundleConfigAsCjs"
46
+ }
47
+ }