{"_id":"@digitalcrab/proshare-ui-kit","_rev":"1-1e23fcac4ab117e7fb15ad44c7ac15c7","name":"@digitalcrab/proshare-ui-kit","dist-tags":{"latest":"0.2.30"},"versions":{"0.2.30":{"name":"@digitalcrab/proshare-ui-kit","version":"0.2.30","description":"Proshare UI kit library","main":"dist/index.js","module":"dist/index.mjs","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","types":"dist/types/index.d.ts","collection":"dist/collection/collection-manifest.json","collection:main":"dist/collection/index.js","unpkg":"dist/ui-kit/ui-kit.js","scripts":{"build":"stencil build --docs","start":"stencil build --dev --watch --serve","test":"stencil test --spec --e2e","test:watch":"stencil test --spec --e2e --watchAll","watch":"stencil build --docs --watch","storybook:run":"start-storybook --port 9001","storybook":"npm-run-all --parallel watch storybook:run","release":"standard-version && git push --follow-tags origin master"},"devDependencies":{"@babel/core":"^7.8.6","@babel/preset-env":"^7.8.6","@babel/preset-typescript":"^7.8.3","@commitlint/cli":"8.3.5","@commitlint/config-conventional":"8.3.4","@stencil/core":"^1.8.11","@storybook/addon-info":"^6.0.0-alpha.2","@storybook/addon-knobs":"^6.0.0-alpha.19","@storybook/addon-notes":"^6.0.0-alpha.6","@storybook/addon-viewport":"^6.0.0-alpha.19","@storybook/html":"^6.0.0-alpha.19","@types/jest":"25.2.1","@types/puppeteer":"2.0.1","@types/storybook__addon-knobs":"^5.2.1","@types/storybook__html":"^5.2.1","awesome-typescript-loader":"^5.2.1","babel-loader":"^8.0.6","babel-plugin-dynamic-import-node":"^2.3.0","case":"^1.6.2","glob":"^7.1.6","graphql":"^15.0.0","husky":"4.2.5","jest":"25.3.0","jest-cli":"25.3.0","npm-run-all":"^4.1.5","polymer-webpack-loader":"^2.0.3","puppeteer":"2.1.1","standard-version":"7.1.0","storybook":"^6.0.0-alpha.19","typescript":"^3.8.3","webpack":"^4.42.0"},"license":"UNLICENSED","repository":{"type":"git","url":"git+ssh://git@gitlab.com/proshare/ui-kit.git"},"author":{"name":"andrii.balokha@volkswagen.de"},"bugs":{"url":"https://gitlab.com/proshare/ui-kit/issues"},"homepage":"https://gitlab.com/proshare/ui-kit#readme","husky":{"hooks":{"commit-msg":"yarn commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"graphql-tag":"^2.10.3"},"gitHead":"4ecf8d103cb0fc29d7b01396cf1a517f5d8b3c70","_id":"@digitalcrab/proshare-ui-kit@0.2.30","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8SxodmlBK/yYaIlcnbwnUiDEqdgxk/aKX2xmUsz67CoxQzesLctVkH1m3Kw40nrwZ0TZzmHeTXL92A7GGTPXyA==","shasum":"2e7448b3fd704416ef0431d4934990fa20cf811f","tarball":"https://registry.npmjs.org/@digitalcrab/proshare-ui-kit/-/proshare-ui-kit-0.2.30.tgz","fileCount":174,"unpackedSize":3125482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOnydCRA9TVsSAnZWagAAnZEQAIYX5mlyx0FXlZQDwTJ2\njfDsybJjFo1egys/EDNmgE9XqcIt85wnMdJcYTaFNSvz3UmrFmnaYHfqoJ1f\nu8ooyojm8QGu7aemDYMVEFGpKAvYDE34H8hDwxNiEIz6R7pyJmfpQCNhaJ0y\n1YtxVT1IuaNLxlcgJKlt5t3vOJNutI1/zlf8nHJEBJL5sYo0Gshu5wI1MkLB\nkldv1m1pLMkSZdxuFnV5IJYco2l2B7qo+oQTZawiQaDkzafC90c8OZT65HoY\ne7ZBVqwdDwtcFTE2biJHYbnZk0ywvPYyC9NOy7sJYnZ/O1Apdm0AtuA3aSWM\nV3c7iVL06Gk7sJAeOZQraU89eqiH7CRgZMRl2D8VsrfFOl9sIVc1lIk+J9aQ\nPEM1dAfHaDTlMDr3SqWkpg1lVGS3Mq9JiLJTka0aJs62fBsm+RCfGtyyhuZD\ndWEegyDNPGGZ/+pdfejTbJD8dqjKh6LFBkgjH7bgIZ2qU8J7k9nP75X+qzjX\niYW7gFBw9LWHYyagvIdEmqYDHbDTE9OsM+I1rpTw2nz1c3psbvb2x8MXnEpK\nSn2zvVFv5BEg0gZ5s1R0at/9cl+9jNmLsvE6YTvOsHOfYmc5cAApO0uWVdio\nrVY7JCn/sviwHF6mrM6omNBoWAlkysSxrlHA/k6FfA3E4jhtZI19JZLiPd+F\nTAKo\r\n=ehM/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkVtrArahHzMJ/YuCN3LEfzuvSQMSyFefIPw3aSTMqEAiAfpdPEjDnWblQXevn6rc+VYzBbOfbuaPhdV7c7eEn6Sw=="}]},"maintainers":[{"name":"digitalcrab","email":"maksim@naumov.org"}],"_npmUser":{"name":"digitalcrab","email":"maksim@naumov.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proshare-ui-kit_0.2.30_1597668508589_0.7700727260560984"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-17T12:48:28.548Z","0.2.30":"2020-08-17T12:48:28.778Z","modified":"2022-04-05T04:37:15.946Z"},"maintainers":[{"name":"digitalcrab","email":"maksim@naumov.org"}],"description":"Proshare UI kit library","homepage":"https://gitlab.com/proshare/ui-kit#readme","repository":{"type":"git","url":"git+ssh://git@gitlab.com/proshare/ui-kit.git"},"author":{"name":"andrii.balokha@volkswagen.de"},"bugs":{"url":"https://gitlab.com/proshare/ui-kit/issues"},"license":"UNLICENSED","readme":"![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)\n\n# Stencil Storybook Starter\n\nThis is a batteries-included starter app for developing stencil components with Storybook.\n\n```\ngit clone https://github.com/DesignByOnyx/stencil-storybook-starter.git\ncd stencil-storybook-starter\ngit remote remove origin\nnpm install\nnpm run storybook\n```\n\n### Features\n- automatic generation of stories for all components\n- automatic knobs generation for all `@Props` on your components\n    - ability to customize which knobs are used for each prop (though the code does a good job of guessing for strings, numbers, booleans, objects, dates, and colors).\n- ability to define multiple states which are rendered on a single page, each with a title, description, and props to use for rendering. A copyable code snippet is also generated for each state (kind of a lightweight chapters implementation)\n- ability to define notes for each component (usually you want the generated readme)\n- live rebuild/reload of stencil components (it's still a little wonky - sometimes you have to refresh the browser)\n- also comes with the viewport add-on\n\n### Integration\n\nThis app was generated by using `npm init stencil` and selecting  the \"component\" starter. After the app was generated, the following actions were performed. You should be able to follow these steps to integrate storybook into your existing stencil project:\n\n1. The following folders/files were written for this project and should be copied/merged into your project:\n    - `.storybook/`\n    - `babel.config.js`\n    - `src/custom.d.ts`\n\n1. Update the \"compilerOptions\" in your `tsconfig` to include the following:\n\n    ```\n    \"skipLibCheck\": true\n    ```\n\n1. Install all of the dependencies\n\n    ```\n    npm install storybook webpack glob case babel-loader typescript awesome-typescript-loader babel-plugin-dynamic-import-node npm-run-all @babel/core @babel/preset-env @babel/preset-typescript @storybook/html @storybook/addon-info @storybook/addon-knobs @storybook/addon-notes @storybook/addon-viewport @types/jest @types/storybook__html @types/storybook__addon-knobs -D\n    ```\n    > **NOTE:** it looks like a lot... it is. All of the above are necessary except `npm-run-all` (see next step).\n    >\n    > **NOTE:** you will get a lot of warnings about missing react dependencies and outdated packages. You will have to ignore these or go bug the project maintainers about managing dependencies a little better.\n\n1. Add the following to the \"scripts\" section of your `package.json`. If you chose not to install `npm-run-all`, you will need to update your scripts so that stencil will run `watch` in \"prod\" mode while the storybook server is running.\n\n    ```\n    \"watch\": \"stencil build --docs --watch\",\n    \"storybook.run\": \"start-storybook --port 9001\",\n    \"storybook\": \"npm-run-all --parallel watch storybook.run\"\n    ```\n\n1. Finally, start the storybook server and check out all your component stories!\n    ```\n    npm run storybook\n    ```\n\n## How it works\n\nWell, it's complicated. All you really need to know is that the code in the project should generate a story for every component in your project along with knobs for all of your exposed `@Props`. If your project structure is different than the one here, you will need to update the code at the top of `.storybook/stories/stencil.js` to point to the correct locations. For more advanced stenarios, check out the `.story.js` file inside `src/components/simple-config`.\n\n# Stencil\n\nStencil is a compiler for building fast web apps using Web Components.\n\nStencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool.  Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.\n\nStencil components are just Web Components, so they work in any major framework or with no framework at all.\n\n## Getting Started\n\nTo start building a new web component using Stencil, clone this repo to a new directory:\n\n```bash\ngit clone https://github.com/ionic-team/stencil-component-starter.git my-component\ncd my-component\ngit remote rm origin\n```\n\nand run:\n\n```bash\nnpm install\nnpm start\n```\n\nTo build the component for production, run:\n\n```bash\nnpm run build\n```\n\nTo run the unit tests for the components, run:\n\n```bash\nnpm test\n```\n\nNeed help? Check out our docs [here](https://stenciljs.com/docs/my-first-component).\n\n\n## Naming Components\n\nWhen creating new component tags, we recommend _not_ using `stencil` in the component name (ex: `<stencil-datepicker>`). This is because the generated component has little to nothing to do with Stencil; it's just a web component!\n\nInstead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix `ion`.\n\n\n## Using this component\n\n### Script tag\n\n- [Publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages)\n- Put a script tag similar to this `<script src='https://unpkg.com/my-component@0.0.1/dist/mycomponent.js'></script>` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### Node Modules\n- Run `npm install my-component --save`\n- Put a script tag similar to this `<script src='node_modules/my-component/dist/mycomponent.js'></script>` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### In a stencil-starter app\n- Run `npm install my-component --save`\n- Add an import to the npm packages `import my-component;`\n- Then you can use the element anywhere in your template, JSX, html etc\n","readmeFilename":"readme.md"}