Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@tigerconnect/web-component-library

Package Overview
Dependencies
Maintainers
5
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tigerconnect/web-component-library - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

lib/types/components/Modal/index.d.ts

2

lib/types/components/Button/Button.d.ts

@@ -5,3 +5,3 @@ /// <reference types="react" />

export interface ButtonProps {
color: Colors;
color?: Colors;
outline?: boolean;

@@ -8,0 +8,0 @@ label: string;

export * from './types';
import Button from './components/Button';
export { Button };
import Modal from './components/Modal';
export { Button, Modal };

@@ -9,1 +9,2 @@ export declare type Colors = 'primary' | 'secondary' | 'danger' | 'patient';

}
export declare type ModalSizes = 'large' | 'medium-large' | 'medium' | 'medium-small' | 'small-medium' | 'small';
{
"name": "@tigerconnect/web-component-library",
"version": "1.0.3",
"version": "1.0.4",
"description": "a shared component library for tc projects",
"main": "lib/index.js",
"main": "lib/index.esm.js",
"module": "lib/index.esm.js",

@@ -20,2 +20,4 @@ "types": "lib/types/index.d.ts",

"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-babel": "^5.3.1",

@@ -29,17 +31,51 @@ "@rollup/plugin-commonjs": "^21.0.2",

"@storybook/addon-links": "^6.4.19",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.4.19",
"@storybook/manager-webpack5": "^6.4.19",
"@storybook/react": "^6.4.19",
"@storybook/testing-library": "^0.0.9",
"@svgr/rollup": "^6.2.1",
"@svgr/webpack": "^6.2.1",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"babel-loader": "^8.2.3",
"classnames": "^2.2.6",
"postcss": "^8.4.6",
"react-activity": "^1.2.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"postcss-custom-properties": "^12.1.5",
"postcss-preset-env": "^7.4.2",
"prettier": "^2.6.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"rollup": "^2.68.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"storybook-css-modules-preset": "^1.1.1",
"typescript": "^4.5.5"
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"typescript": "^4.5.5",
"webpack": "^5.70.0"
},
"resolutions": {
"@storybook/react/webpack": "^5"
},
"dependencies": {
"@types/react-transition-group": "^4.4.4",
"classnames": "^2.2.6",
"framer-motion": "^6.2.8",
"react-activity": "^1.2.2",
"react-transition-group": "^4.4.2"
},
"files": [
"/lib"
],
"peerDependencies": {
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"prettier": {

@@ -59,2 +95,16 @@ "arrowParens": "always",

},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie >= 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"ie 11"
]
},
"repository": {

@@ -61,0 +111,0 @@ "type": "git",

@@ -14,4 +14,7 @@ # Web Component Library

1. In the project folder, run `npm install <location of web-component-library>`
2. Update your webpack/craco config alias to use `react: path.resolve('./node_modules/react')` to
ensure that the library uses the project's React path, and not its own.
2. Update your webpack/craco config alias to use
```
react: path.resolve('./node_modules/react')
```
to ensure that the library uses the project's React path, and not its own.

@@ -27,1 +30,15 @@ You'll want to leave the updated package's local route in package.json out of your commits, as this

respectively.
## VSCode Setup
This project uses PostCSS, which will require a few things so that your CSS files will be understood
and formatted auto-correctly:
1. Install https://marketplace.visualstudio.com/items?itemName=csstools.postcss
2. Include in your VSCode editor settings:
```
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
}
```

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc