@gib-ui/icons 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,3 @@
1
+ # gib-web-components
2
+
3
+ Gib'in frontend projelerinde kullanılmak için oluşturulan icon projesi.
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".test-button {\r\n font-size: 60px;\r\n color: blue;\r\n background-color: brown;\r\n}");var n=function(e){return t.default.createElement(n,{variant:"contained"},e.label)};exports.Button=n;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../node_modules/style-inject/dist/style-inject.es.js","../../src/components/Button/Button.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","Button","props","React","variant","label"],"mappings":"uKAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBY,CAqB1D,qGClBM,IAAAe,EAAS,SAACC,GACd,OAAOC,EAAA,QAAAV,cAACQ,EAAM,CAACG,QAAQ,aAAcF,EAAMG,MAC7C"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./Button.css";
3
+ export interface ButtonProps {
4
+ }
5
+ declare const Button: (props: any) => React.JSX.Element;
6
+ export default Button;
@@ -0,0 +1 @@
1
+ export { default } from "./Button";
@@ -0,0 +1 @@
1
+ export { default as Button } from "./Button";
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,2 @@
1
+ import e from"react";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".test-button {\r\n font-size: 60px;\r\n color: blue;\r\n background-color: brown;\r\n}");var t=function(n){return e.createElement(t,{variant:"contained"},n.label)};export{t as Button};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../node_modules/style-inject/dist/style-inject.es.js","../../src/components/Button/Button.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","Button","props","React","variant","label"],"mappings":"sBAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBY,CAqB1D,qGClBM,IAAAe,EAAS,SAACC,GACd,OAAOC,EAAAV,cAACQ,EAAM,CAACG,QAAQ,aAAcF,EAAMG,MAC7C"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./Button.css";
3
+ export interface ButtonProps {
4
+ }
5
+ declare const Button: (props: any) => React.JSX.Element;
6
+ export default Button;
@@ -0,0 +1 @@
1
+ export { default } from "./Button";
@@ -0,0 +1 @@
1
+ export { default as Button } from "./Button";
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+
3
+ declare const Button: (props: any) => React.JSX.Element;
4
+
5
+ export { Button };
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@gib-ui/icons",
3
+ "version": "0.0.1",
4
+ "description": "Gelir İdaresi Başkanlığı React icon library",
5
+ "scripts": {
6
+ "rollup": "rollup -c",
7
+ "test": "jest",
8
+ "storybook": "storybook dev -p 6007",
9
+ "build-storybook": "storybook build"
10
+ },
11
+ "author": "Gib Teknoloji",
12
+ "license": "ISC",
13
+ "devDependencies": {
14
+ "@babel/core": "^7.21.8",
15
+ "@babel/preset-env": "^7.21.5",
16
+ "@babel/preset-react": "^7.18.6",
17
+ "@babel/preset-typescript": "^7.21.5",
18
+ "@rollup/plugin-commonjs": "^21.0.1",
19
+ "@rollup/plugin-node-resolve": "^13.0.6",
20
+ "@rollup/plugin-typescript": "^11.1.1",
21
+ "@storybook/addon-essentials": "^7.0.10",
22
+ "@storybook/addon-interactions": "^7.0.10",
23
+ "@storybook/addon-links": "^7.0.10",
24
+ "@storybook/blocks": "^7.0.10",
25
+ "@storybook/preset-scss": "^1.0.3",
26
+ "@storybook/react": "^7.0.10",
27
+ "@storybook/react-webpack5": "^7.0.10",
28
+ "@storybook/testing-library": "^0.0.14-next.2",
29
+ "@testing-library/jest-dom": "^5.16.5",
30
+ "@testing-library/react": "^14.0.0",
31
+ "@testing-library/user-event": "^14.4.3",
32
+ "@types/jest": "^29.5.1",
33
+ "@types/react": "^18.2.6",
34
+ "babel-jest": "^29.5.0",
35
+ "css-loader": "^6.7.3",
36
+ "identity-obj-proxy": "^3.0.0",
37
+ "jest": "^29.5.0",
38
+ "jest-environment-jsdom": "^29.5.0",
39
+ "prop-types": "^15.8.1",
40
+ "react": "^18.2.0",
41
+ "react-dom": "^18.2.0",
42
+ "rollup": "^2.60.0",
43
+ "rollup-plugin-dts": "^4.0.1",
44
+ "rollup-plugin-peer-deps-external": "^2.2.4",
45
+ "rollup-plugin-postcss": "^4.0.1",
46
+ "rollup-plugin-terser": "^7.0.2",
47
+ "sass": "^1.62.1",
48
+ "sass-loader": "^13.2.2",
49
+ "storybook": "^7.0.10",
50
+ "style-loader": "^3.3.2",
51
+ "typescript": "^4.4.4"
52
+ },
53
+ "main": "dist/cjs/index.js",
54
+ "module": "dist/esm/index.js",
55
+ "files": [
56
+ "dist"
57
+ ],
58
+ "types": "dist/index.d.ts",
59
+ "dependencies": {
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^17.0.2 || ^18.2.0",
63
+ "react-dom": "^17.0.2 || ^18.2.0"
64
+ }
65
+ }