@bbodek/internal-ui 0.0.1

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/README.md ADDED
@@ -0,0 +1 @@
1
+ # Bbodek Utils
@@ -0,0 +1,4 @@
1
+ import { ButtonProps } from '../Button/types';
2
+ declare const Button: ({ content, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Button;
4
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,QAAA,MAAM,MAAM,GAAI,uBAAuB,WAAW,4CAEjD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as t}from"react/jsx-runtime";const e=({content:e,...n})=>t("button",{...n,children:e});export{e as default};
2
+ //# sourceMappingURL=Button.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface ButtonProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'content'> {
3
+ content: string;
4
+ }
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Button/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC1D,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export * from './Button';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{default as Button}from"./Button/Button.es.js";
2
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@bbodek/internal-ui",
3
+ "version": "0.0.1",
4
+ "license": "MIT",
5
+ "exports": {
6
+ ".": {
7
+ "import": "./dist/index.es.js",
8
+ "types": "./dist/index.d.ts"
9
+ }
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "dev": "next dev",
16
+ "build": "rollup -c && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
17
+ "start": "next start",
18
+ "lint": "next lint"
19
+ },
20
+ "dependencies": {
21
+ "next": "^15.3.1",
22
+ "react": "^19.1.0",
23
+ "react-dom": "^19.1.0"
24
+ },
25
+ "peerDependencies": {
26
+ "next": "^15.3.1",
27
+ "react": "^19.1.0",
28
+ "react-dom": "^19.1.0"
29
+ },
30
+ "devDependencies": {
31
+ "@dotoli/eslint-config": "workspace:*",
32
+ "@dotoli/typescript-config": "workspace:*",
33
+ "@eslint/eslintrc": "^3",
34
+ "@rollup/plugin-image": "^3.0.3",
35
+ "@rollup/plugin-node-resolve": "^16.0.1",
36
+ "@rollup/plugin-terser": "^0.4.4",
37
+ "@types/node": "^20",
38
+ "@types/react": "^19",
39
+ "@types/react-dom": "^19",
40
+ "eslint": "^9",
41
+ "eslint-config-next": "15.3.1",
42
+ "rollup": "^4.40.2",
43
+ "rollup-plugin-peer-deps-external": "^2.2.4",
44
+ "rollup-plugin-typescript2": "^0.36.0",
45
+ "tsc-alias": "^1.8.16",
46
+ "tslib": "^2.8.1",
47
+ "typescript": "^5.8.3"
48
+ }
49
+ }