From 06eaa0707219d8e56ab7e5a486ad90e36ed83069 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 09:53:47 +0300 Subject: [PATCH 1/8] docs: add licenses --- packages/accordion/LICENSE.txt | 21 +++++++++++++++++++++ packages/accordion/package.json | 1 + packages/block/LICENSE.txt | 21 +++++++++++++++++++++ packages/block/package.json | 1 + packages/button/LICENSE.txt | 21 +++++++++++++++++++++ packages/button/package.json | 1 + packages/checkbox/LICENSE.txt | 21 +++++++++++++++++++++ packages/checkbox/package.json | 1 + packages/container/LICENSE.txt | 21 +++++++++++++++++++++ packages/container/package.json | 1 + packages/divider/LICENSE.txt | 21 +++++++++++++++++++++ packages/divider/package.json | 1 + packages/heading/LICENSE.txt | 21 +++++++++++++++++++++ packages/heading/package.json | 1 + packages/icons/LICENSE.txt | 21 +++++++++++++++++++++ packages/icons/package.json | 1 + packages/identicon/LICENSE.txt | 21 +++++++++++++++++++++ packages/identicon/package.json | 1 + packages/input/LICENSE.txt | 21 +++++++++++++++++++++ packages/input/package.json | 1 + packages/lido-ui/LICENSE.txt | 21 +++++++++++++++++++++ packages/lido-ui/package.json | 2 ++ packages/link/LICENSE.txt | 21 +++++++++++++++++++++ packages/link/package.json | 1 + packages/loaders/LICENSE.txt | 21 +++++++++++++++++++++ packages/loaders/package.json | 1 + packages/modal/LICENSE.txt | 21 +++++++++++++++++++++ packages/modal/package.json | 1 + packages/select/LICENSE.txt | 21 +++++++++++++++++++++ packages/select/package.json | 1 + packages/stack/LICENSE.txt | 21 +++++++++++++++++++++ packages/stack/package.json | 1 + packages/styled-system/LICENSE.txt | 21 +++++++++++++++++++++ packages/styled-system/package.json | 1 + packages/text/LICENSE.txt | 21 +++++++++++++++++++++ packages/text/package.json | 1 + packages/theme/LICENSE.txt | 21 +++++++++++++++++++++ packages/theme/package.json | 1 + packages/utils/LICENSE.txt | 21 +++++++++++++++++++++ packages/utils/package.json | 1 + 40 files changed, 441 insertions(+) create mode 100644 packages/accordion/LICENSE.txt create mode 100644 packages/block/LICENSE.txt create mode 100644 packages/button/LICENSE.txt create mode 100644 packages/checkbox/LICENSE.txt create mode 100644 packages/container/LICENSE.txt create mode 100644 packages/divider/LICENSE.txt create mode 100644 packages/heading/LICENSE.txt create mode 100644 packages/icons/LICENSE.txt create mode 100644 packages/identicon/LICENSE.txt create mode 100644 packages/input/LICENSE.txt create mode 100644 packages/lido-ui/LICENSE.txt create mode 100644 packages/link/LICENSE.txt create mode 100644 packages/loaders/LICENSE.txt create mode 100644 packages/modal/LICENSE.txt create mode 100644 packages/select/LICENSE.txt create mode 100644 packages/stack/LICENSE.txt create mode 100644 packages/styled-system/LICENSE.txt create mode 100644 packages/text/LICENSE.txt create mode 100644 packages/theme/LICENSE.txt create mode 100644 packages/utils/LICENSE.txt diff --git a/packages/accordion/LICENSE.txt b/packages/accordion/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/accordion/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/accordion/package.json b/packages/accordion/package.json index e728c101..e180bafa 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/block/LICENSE.txt b/packages/block/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/block/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/block/package.json b/packages/block/package.json index 1469738a..3455793f 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/button/LICENSE.txt b/packages/button/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/button/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/button/package.json b/packages/button/package.json index 79876ffa..20f6d1ab 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/loaders": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/checkbox/LICENSE.txt b/packages/checkbox/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/checkbox/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index 9416683f..a0a5898d 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/container/LICENSE.txt b/packages/container/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/container/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/container/package.json b/packages/container/package.json index 3c171bf9..c3b236dd 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/divider/LICENSE.txt b/packages/divider/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/divider/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/divider/package.json b/packages/divider/package.json index ec6b2850..5f3b5404 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/heading/LICENSE.txt b/packages/heading/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/heading/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/heading/package.json b/packages/heading/package.json index 21b9561e..d13af4d6 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/icons/LICENSE.txt b/packages/icons/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/icons/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/icons/package.json b/packages/icons/package.json index 965f6934..c3621175 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "scripts": { "convert": "node converter/index.js" }, diff --git a/packages/identicon/LICENSE.txt b/packages/identicon/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/identicon/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/identicon/package.json b/packages/identicon/package.json index b5fa47f7..c4bbe999 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*", diff --git a/packages/input/LICENSE.txt b/packages/input/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/input/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/input/package.json b/packages/input/package.json index b81c8d0b..cfd2d50c 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/lido-ui/LICENSE.txt b/packages/lido-ui/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/lido-ui/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/lido-ui/package.json b/packages/lido-ui/package.json index 09664e70..a667dc30 100644 --- a/packages/lido-ui/package.json +++ b/packages/lido-ui/package.json @@ -3,6 +3,8 @@ "version": "1.0.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", + "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/accordion": "workspace:*", "@lidofinance/block": "workspace:*", diff --git a/packages/link/LICENSE.txt b/packages/link/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/link/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/link/package.json b/packages/link/package.json index af6520fb..adf28c6b 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/loaders/LICENSE.txt b/packages/loaders/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/loaders/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/loaders/package.json b/packages/loaders/package.json index 60c53529..a60d0544 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/modal/LICENSE.txt b/packages/modal/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/modal/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/modal/package.json b/packages/modal/package.json index 2711591d..7706b55f 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/button": "workspace:*", "@lidofinance/icons": "workspace:*", diff --git a/packages/select/LICENSE.txt b/packages/select/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/select/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/select/package.json b/packages/select/package.json index 0b94265f..175c407b 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/stack/LICENSE.txt b/packages/stack/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/stack/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/stack/package.json b/packages/stack/package.json index 1d2a5fcc..ad8f8317 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/styled-system/LICENSE.txt b/packages/styled-system/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/styled-system/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/styled-system/package.json b/packages/styled-system/package.json index beee9053..06f027e5 100644 --- a/packages/styled-system/package.json +++ b/packages/styled-system/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "peerDependencies": { "@styled-system/should-forward-prop": "5.1.5", "react": "17.0.2", diff --git a/packages/text/LICENSE.txt b/packages/text/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/text/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/text/package.json b/packages/text/package.json index 6158c15e..cca41900 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/theme/LICENSE.txt b/packages/theme/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/theme/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/theme/package.json b/packages/theme/package.json index 839348c1..57dcdf32 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "peerDependencies": { "react": "17.0.2", "react-dom": "17.0.2", diff --git a/packages/utils/LICENSE.txt b/packages/utils/LICENSE.txt new file mode 100644 index 00000000..357ce957 --- /dev/null +++ b/packages/utils/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Lido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/packages/utils/package.json b/packages/utils/package.json index 4b36ec08..905f4cfc 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -4,6 +4,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "license": "MIT", "peerDependencies": { "react": "17.0.2", "react-dom": "17.0.2", From 985b03c5216015c70f3ac987cc92001f4757613e Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 09:54:03 +0300 Subject: [PATCH 2/8] fix: ignore tsconfig.json --- packages/accordion/.npmignore | 1 + packages/block/.npmignore | 1 + packages/button/.npmignore | 1 + packages/checkbox/.npmignore | 1 + packages/container/.npmignore | 1 + packages/divider/.npmignore | 1 + packages/heading/.npmignore | 1 + packages/icons/.npmignore | 1 + packages/identicon/.npmignore | 1 + packages/input/.npmignore | 1 + packages/lido-ui/.npmignore | 1 + packages/link/.npmignore | 1 + packages/loaders/.npmignore | 1 + packages/modal/.npmignore | 1 + packages/select/.npmignore | 1 + packages/stack/.npmignore | 1 + packages/styled-system/.npmignore | 1 + packages/text/.npmignore | 1 + packages/theme/.npmignore | 5 ++++- packages/utils/.npmignore | 5 ++++- 20 files changed, 26 insertions(+), 2 deletions(-) diff --git a/packages/accordion/.npmignore b/packages/accordion/.npmignore index d5872aff..eed652c7 100644 --- a/packages/accordion/.npmignore +++ b/packages/accordion/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/block/.npmignore b/packages/block/.npmignore index d5872aff..eed652c7 100644 --- a/packages/block/.npmignore +++ b/packages/block/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/button/.npmignore b/packages/button/.npmignore index d5872aff..eed652c7 100644 --- a/packages/button/.npmignore +++ b/packages/button/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/checkbox/.npmignore b/packages/checkbox/.npmignore index d5872aff..eed652c7 100644 --- a/packages/checkbox/.npmignore +++ b/packages/checkbox/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/container/.npmignore b/packages/container/.npmignore index d5872aff..eed652c7 100644 --- a/packages/container/.npmignore +++ b/packages/container/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/divider/.npmignore b/packages/divider/.npmignore index d5872aff..eed652c7 100644 --- a/packages/divider/.npmignore +++ b/packages/divider/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/heading/.npmignore b/packages/heading/.npmignore index d5872aff..eed652c7 100644 --- a/packages/heading/.npmignore +++ b/packages/heading/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/icons/.npmignore b/packages/icons/.npmignore index d5872aff..eed652c7 100644 --- a/packages/icons/.npmignore +++ b/packages/icons/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/identicon/.npmignore b/packages/identicon/.npmignore index d5872aff..eed652c7 100644 --- a/packages/identicon/.npmignore +++ b/packages/identicon/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/input/.npmignore b/packages/input/.npmignore index d5872aff..eed652c7 100644 --- a/packages/input/.npmignore +++ b/packages/input/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/lido-ui/.npmignore b/packages/lido-ui/.npmignore index d5872aff..eed652c7 100644 --- a/packages/lido-ui/.npmignore +++ b/packages/lido-ui/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/link/.npmignore b/packages/link/.npmignore index d5872aff..eed652c7 100644 --- a/packages/link/.npmignore +++ b/packages/link/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/loaders/.npmignore b/packages/loaders/.npmignore index d5872aff..eed652c7 100644 --- a/packages/loaders/.npmignore +++ b/packages/loaders/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/modal/.npmignore b/packages/modal/.npmignore index d5872aff..eed652c7 100644 --- a/packages/modal/.npmignore +++ b/packages/modal/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/select/.npmignore b/packages/select/.npmignore index d5872aff..eed652c7 100644 --- a/packages/select/.npmignore +++ b/packages/select/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/stack/.npmignore b/packages/stack/.npmignore index d5872aff..eed652c7 100644 --- a/packages/stack/.npmignore +++ b/packages/stack/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/styled-system/.npmignore b/packages/styled-system/.npmignore index d5872aff..eed652c7 100644 --- a/packages/styled-system/.npmignore +++ b/packages/styled-system/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/text/.npmignore b/packages/text/.npmignore index d5872aff..eed652c7 100644 --- a/packages/text/.npmignore +++ b/packages/text/.npmignore @@ -1,3 +1,4 @@ +tsconfig.json *.test.js *.story.js src diff --git a/packages/theme/.npmignore b/packages/theme/.npmignore index e8310385..eed652c7 100644 --- a/packages/theme/.npmignore +++ b/packages/theme/.npmignore @@ -1 +1,4 @@ -src \ No newline at end of file +tsconfig.json +*.test.js +*.story.js +src diff --git a/packages/utils/.npmignore b/packages/utils/.npmignore index e8310385..eed652c7 100644 --- a/packages/utils/.npmignore +++ b/packages/utils/.npmignore @@ -1 +1,4 @@ -src \ No newline at end of file +tsconfig.json +*.test.js +*.story.js +src From bb4a343a55101d66ee8fe78ead753f47cac629c4 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 10:06:07 +0300 Subject: [PATCH 3/8] fix: extend required dependencies --- packages/accordion/package.json | 8 +- packages/block/package.json | 8 +- packages/button/package.json | 8 +- packages/checkbox/package.json | 8 +- packages/container/package.json | 8 +- packages/divider/package.json | 8 +- packages/heading/package.json | 8 +- packages/icons/package.json | 6 +- packages/identicon/package.json | 8 +- packages/input/package.json | 8 +- packages/lido-ui/package.json | 10 -- packages/link/package.json | 8 +- packages/loaders/package.json | 8 +- packages/modal/package.json | 8 +- packages/select/package.json | 8 +- packages/stack/package.json | 8 +- packages/styled-system/package.json | 12 ++- packages/text/package.json | 8 +- packages/theme/package.json | 8 +- packages/utils/package.json | 8 +- yarn.lock | 159 +++++++++++++--------------- 21 files changed, 153 insertions(+), 170 deletions(-) diff --git a/packages/accordion/package.json b/packages/accordion/package.json index e180bafa..e79da939 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -12,10 +12,10 @@ "react-collapsed": "3.0.2" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/block/package.json b/packages/block/package.json index 3455793f..3278c0c2 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/button/package.json b/packages/button/package.json index 20f6d1ab..fa881006 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -11,10 +11,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@lidofinance/icons": "workspace:*", diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index a0a5898d..b123a8af 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -11,10 +11,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/container/package.json b/packages/container/package.json index c3b236dd..7aa52066 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/divider/package.json b/packages/divider/package.json index 5f3b5404..36ec4fe6 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/heading/package.json b/packages/heading/package.json index d13af4d6..5db26b00 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/icons/package.json b/packages/icons/package.json index c3621175..90751094 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -9,9 +9,9 @@ "convert": "node converter/index.js" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17" }, "devDependencies": { "@lidofinance/theme": "workspace:*", diff --git a/packages/identicon/package.json b/packages/identicon/package.json index c4bbe999..a43817c2 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -11,10 +11,10 @@ "react-jazzicon": "0.1.3" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/input/package.json b/packages/input/package.json index cfd2d50c..6c848cb3 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -10,10 +10,10 @@ "use-callback-ref": "1.2.5" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@lidofinance/button": "workspace:*", diff --git a/packages/lido-ui/package.json b/packages/lido-ui/package.json index a667dc30..38e38065 100644 --- a/packages/lido-ui/package.json +++ b/packages/lido-ui/package.json @@ -22,15 +22,5 @@ "@lidofinance/stack": "workspace:*", "@lidofinance/text": "workspace:*", "@lidofinance/utils": "workspace:*" - }, - "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2" - }, - "devDependencies": { - "@types/react": "17.0.5", - "@types/react-dom": "17.0.5", - "@types/react-is": "17.0.0" } } diff --git a/packages/link/package.json b/packages/link/package.json index adf28c6b..25e9ac7d 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/loaders/package.json b/packages/loaders/package.json index a60d0544..4e4ce09c 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/modal/package.json b/packages/modal/package.json index 7706b55f..40e1f4b2 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -13,10 +13,10 @@ "use-callback-ref": "1.2.5" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@lidofinance/button": "workspace:*", diff --git a/packages/select/package.json b/packages/select/package.json index 175c407b..d6129179 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -10,10 +10,10 @@ "use-callback-ref": "1.2.5" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/stack/package.json b/packages/stack/package.json index ad8f8317..b347b132 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@lidofinance/block": "workspace:*", diff --git a/packages/styled-system/package.json b/packages/styled-system/package.json index 06f027e5..b355232f 100644 --- a/packages/styled-system/package.json +++ b/packages/styled-system/package.json @@ -5,14 +5,16 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", - "peerDependencies": { + "dependencies": { "@styled-system/should-forward-prop": "5.1.5", - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0", "styled-system": "5.1.5" }, + "peerDependencies": { + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" + }, "devDependencies": { "@lidofinance/theme": "workspace:*", "@storybook/react": "6.2.9", diff --git a/packages/text/package.json b/packages/text/package.json index cca41900..e931083a 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -10,10 +10,10 @@ "@lidofinance/utils": "workspace:*" }, "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@storybook/react": "6.2.9", diff --git a/packages/theme/package.json b/packages/theme/package.json index 57dcdf32..08e5e164 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -6,10 +6,10 @@ "types": "dist/esm/index.d.ts", "license": "MIT", "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@types/react": "17.0.5", diff --git a/packages/utils/package.json b/packages/utils/package.json index 905f4cfc..9932a2cb 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -6,10 +6,10 @@ "types": "dist/esm/index.d.ts", "license": "MIT", "peerDependencies": { - "react": "17.0.2", - "react-dom": "17.0.2", - "react-is": "17.0.2", - "styled-components": "5.3.0" + "react": "16 || 17", + "react-dom": "16 || 17", + "react-is": "16 || 17", + "styled-components": "5" }, "devDependencies": { "@types/react": "17.0.5", diff --git a/yarn.lock b/yarn.lock index daa75082..556482ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1986,10 +1986,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2009,10 +2009,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2036,10 +2036,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2060,10 +2060,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2084,10 +2084,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2108,10 +2108,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2131,10 +2131,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2160,9 +2160,9 @@ __metadata: rimraf: 3.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 languageName: unknown linkType: soft @@ -2183,10 +2183,10 @@ __metadata: react-jazzicon: 0.1.3 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2207,10 +2207,10 @@ __metadata: styled-components: 5.3.0 use-callback-ref: 1.2.5 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2234,13 +2234,6 @@ __metadata: "@lidofinance/stack": "workspace:*" "@lidofinance/text": "workspace:*" "@lidofinance/utils": "workspace:*" - "@types/react": 17.0.5 - "@types/react-dom": 17.0.5 - "@types/react-is": 17.0.0 - peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 languageName: unknown linkType: soft @@ -2260,10 +2253,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2283,10 +2276,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2310,10 +2303,10 @@ __metadata: styled-components: 5.3.0 use-callback-ref: 1.2.5 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2333,10 +2326,10 @@ __metadata: styled-components: 5.3.0 use-callback-ref: 1.2.5 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2357,10 +2350,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2385,12 +2378,10 @@ __metadata: styled-components: 5.3.0 styled-system: 5.1.5 peerDependencies: - "@styled-system/should-forward-prop": 5.1.5 - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 - styled-system: 5.1.5 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2410,10 +2401,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2430,10 +2421,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft @@ -2450,10 +2441,10 @@ __metadata: react-is: 17.0.2 styled-components: 5.3.0 peerDependencies: - react: 17.0.2 - react-dom: 17.0.2 - react-is: 17.0.2 - styled-components: 5.3.0 + react: 16 || 17 + react-dom: 16 || 17 + react-is: 16 || 17 + styled-components: 5 languageName: unknown linkType: soft From 6a4ebc78386f6e7472a9fbd2993af7f194905aad Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 10:12:31 +0300 Subject: [PATCH 4/8] fix: ignore dist folder when checking eslint --- .eslintignore | 8 ++++++++ README.md | 1 + package.json | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..2edda6f6 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,8 @@ +.jest-* +node_modules +dist +storybook-static + +# yarn 2 +.yarn/* +.pnp.* diff --git a/README.md b/README.md index ac01f579..8877a5cc 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) - `yarn build` - Build all components. - `yarn build:package package_name` - Build `package_name` component. - `yarn test` - Run tests across components. +- `yarn lint` - Run eslint across components. ## Updating Packages diff --git a/package.json b/package.json index 82f5a3ab..a5f2f4e1 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test": "jest", "test:coverage": "jest coverage", "publish:submit": "yarn workspaces foreach -piv --topological-dev --exclude lido-ui-components npm publish --access public --tolerate-republish", - "lint": "eslint --ext ts,tsx,js,jsx --ignore-path .gitignore .", + "lint": "eslint --ext ts,tsx,js,jsx .", "postinstall": "husky install" }, "devDependencies": { @@ -70,7 +70,7 @@ }, "lint-staged": { "./**/*.{ts,tsx,js,jsx}": [ - "eslint --ignore-path .gitignore --max-warnings=0", + "eslint --max-warnings=0", "jest --bail --findRelatedTests" ], "./**/*.{ts,tsx,js,jsx,md,json}": [ From f8694314424cfe8a3781454e90fd801dbd424903 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 10:40:27 +0300 Subject: [PATCH 5/8] feature: add repositories links to package.json --- package.json | 8 ++++++++ packages/accordion/package.json | 9 +++++++++ packages/block/package.json | 9 +++++++++ packages/button/package.json | 9 +++++++++ packages/checkbox/package.json | 9 +++++++++ packages/container/package.json | 9 +++++++++ packages/divider/package.json | 9 +++++++++ packages/heading/package.json | 9 +++++++++ packages/icons/package.json | 9 +++++++++ packages/identicon/package.json | 9 +++++++++ packages/input/package.json | 9 +++++++++ packages/lido-ui/package.json | 9 +++++++++ packages/link/package.json | 9 +++++++++ packages/loaders/package.json | 9 +++++++++ packages/modal/package.json | 9 +++++++++ packages/select/package.json | 9 +++++++++ packages/stack/package.json | 9 +++++++++ packages/styled-system/package.json | 9 +++++++++ packages/text/package.json | 9 +++++++++ packages/theme/package.json | 9 +++++++++ packages/utils/package.json | 9 +++++++++ 21 files changed, 188 insertions(+) diff --git a/package.json b/package.json index a5f2f4e1..4dbd6022 100644 --- a/package.json +++ b/package.json @@ -76,5 +76,13 @@ "./**/*.{ts,tsx,js,jsx,md,json}": [ "prettier --write" ] + }, + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" } } diff --git a/packages/accordion/package.json b/packages/accordion/package.json index e79da939..df24b700 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/accordion" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/block/package.json b/packages/block/package.json index 3278c0c2..02587836 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/block" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/button/package.json b/packages/button/package.json index fa881006..a77f2e8d 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/button" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/loaders": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index b123a8af..d2739f4e 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/checkbox" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/container/package.json b/packages/container/package.json index 7aa52066..06580326 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/container" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/divider/package.json b/packages/divider/package.json index 36ec4fe6..27a59948 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/divider" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/heading/package.json b/packages/heading/package.json index 5db26b00..31abba01 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/heading" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/icons/package.json b/packages/icons/package.json index 90751094..7fd60ecb 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/icons" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "scripts": { "convert": "node converter/index.js" }, diff --git a/packages/identicon/package.json b/packages/identicon/package.json index a43817c2..475d1248 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/identicon" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*", diff --git a/packages/input/package.json b/packages/input/package.json index 6c848cb3..af7d9127 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/input" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/lido-ui/package.json b/packages/lido-ui/package.json index 38e38065..a1cff483 100644 --- a/packages/lido-ui/package.json +++ b/packages/lido-ui/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/lido-ui" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/accordion": "workspace:*", "@lidofinance/block": "workspace:*", diff --git a/packages/link/package.json b/packages/link/package.json index 25e9ac7d..da3911b4 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/link" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/loaders/package.json b/packages/loaders/package.json index 4e4ce09c..bf19fed4 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/loaders" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/modal/package.json b/packages/modal/package.json index 40e1f4b2..4e4e7f9d 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/modal" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/button": "workspace:*", "@lidofinance/icons": "workspace:*", diff --git a/packages/select/package.json b/packages/select/package.json index d6129179..d3f6a64e 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/select" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/stack/package.json b/packages/stack/package.json index b347b132..e49d2163 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/stack" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/styled-system/package.json b/packages/styled-system/package.json index b355232f..856b630f 100644 --- a/packages/styled-system/package.json +++ b/packages/styled-system/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/styled-system" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@styled-system/should-forward-prop": "5.1.5", "styled-system": "5.1.5" diff --git a/packages/text/package.json b/packages/text/package.json index e931083a..ac0ea625 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/text" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/theme/package.json b/packages/theme/package.json index 08e5e164..acf377a5 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/theme" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "peerDependencies": { "react": "16 || 17", "react-dom": "16 || 17", diff --git a/packages/utils/package.json b/packages/utils/package.json index 9932a2cb..56fd0482 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -5,6 +5,15 @@ "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/ui", + "repository": { + "type": "git", + "url": "https://github.com/lidofinance/ui.git", + "directory": "packages/utils" + }, + "bugs": { + "url": "https://github.com/lidofinance/ui/issues" + }, "peerDependencies": { "react": "16 || 17", "react-dom": "16 || 17", From 91a08cd0f06758b69db0525d8864f0df7c184421 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 11:43:29 +0300 Subject: [PATCH 6/8] docs: readme.md for packages --- packages/accordion/README.md | 18 ++++++++++++++++++ packages/block/README.md | 18 ++++++++++++++++++ packages/button/README.md | 19 +++++++++++++++++++ packages/checkbox/README.md | 18 ++++++++++++++++++ packages/container/README.md | 18 ++++++++++++++++++ packages/divider/README.md | 18 ++++++++++++++++++ packages/heading/README.md | 21 +++++++++++++++++++++ packages/icons/README.md | 24 ++++++++++++++++++++++-- packages/identicon/README.md | 19 +++++++++++++++++++ packages/identicon/src/index.ts | 1 + packages/input/README.md | 18 ++++++++++++++++++ packages/lido-ui/README.md | 18 ++++++++++++++++++ packages/link/README.md | 18 ++++++++++++++++++ packages/loaders/README.md | 19 +++++++++++++++++++ packages/modal/README.md | 18 ++++++++++++++++++ packages/select/README.md | 18 ++++++++++++++++++ packages/stack/README.md | 20 ++++++++++++++++++++ packages/styled-system/README.md | 22 ++++++++++++++++++++++ packages/text/README.md | 18 ++++++++++++++++++ packages/theme/README.md | 29 +++++++++++++++++++++++++++++ packages/utils/README.md | 26 ++++++++++++++++++++++++++ 21 files changed, 396 insertions(+), 2 deletions(-) create mode 100644 packages/accordion/README.md create mode 100644 packages/block/README.md create mode 100644 packages/button/README.md create mode 100644 packages/checkbox/README.md create mode 100644 packages/container/README.md create mode 100644 packages/divider/README.md create mode 100644 packages/heading/README.md create mode 100644 packages/identicon/README.md create mode 100644 packages/input/README.md create mode 100644 packages/lido-ui/README.md create mode 100644 packages/link/README.md create mode 100644 packages/loaders/README.md create mode 100644 packages/modal/README.md create mode 100644 packages/select/README.md create mode 100644 packages/stack/README.md create mode 100644 packages/styled-system/README.md create mode 100644 packages/text/README.md create mode 100644 packages/theme/README.md create mode 100644 packages/utils/README.md diff --git a/packages/accordion/README.md b/packages/accordion/README.md new file mode 100644 index 00000000..92be439b --- /dev/null +++ b/packages/accordion/README.md @@ -0,0 +1,18 @@ +# Accordion Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/accordion +``` + +## Usage + +```ts +import { Accordion } from '@lidofinance/accordion' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/block/README.md b/packages/block/README.md new file mode 100644 index 00000000..a26e4cec --- /dev/null +++ b/packages/block/README.md @@ -0,0 +1,18 @@ +# Block Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/block +``` + +## Usage + +```ts +import { Block } from '@lidofinance/block' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/button/README.md b/packages/button/README.md new file mode 100644 index 00000000..524444d9 --- /dev/null +++ b/packages/button/README.md @@ -0,0 +1,19 @@ +# Button Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/button +``` + +## Usage + +```ts +import { Button } from '@lidofinance/button' +import { ButtonIcon } from '@lidofinance/button' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/checkbox/README.md b/packages/checkbox/README.md new file mode 100644 index 00000000..1ea9ba18 --- /dev/null +++ b/packages/checkbox/README.md @@ -0,0 +1,18 @@ +# Checkbox Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/checkbox +``` + +## Usage + +```ts +import { Checkbox } from '@lidofinance/checkbox' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/container/README.md b/packages/container/README.md new file mode 100644 index 00000000..1e2b7685 --- /dev/null +++ b/packages/container/README.md @@ -0,0 +1,18 @@ +# Container Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/container +``` + +## Usage + +```ts +import { Container } from '@lidofinance/container' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/divider/README.md b/packages/divider/README.md new file mode 100644 index 00000000..06d336e6 --- /dev/null +++ b/packages/divider/README.md @@ -0,0 +1,18 @@ +# Divider Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/divider +``` + +## Usage + +```ts +import { Divider } from '@lidofinance/divider' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/heading/README.md b/packages/heading/README.md new file mode 100644 index 00000000..40e24653 --- /dev/null +++ b/packages/heading/README.md @@ -0,0 +1,21 @@ +# Heading Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/heading +``` + +## Usage + +```ts +import { Heading } from '@lidofinance/heading' +import { H1 } from '@lidofinance/heading' +import { H2 } from '@lidofinance/heading' +import { H3 } from '@lidofinance/heading' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/icons/README.md b/packages/icons/README.md index 14ecca54..6d1bdb74 100644 --- a/packages/icons/README.md +++ b/packages/icons/README.md @@ -1,6 +1,26 @@ -# Lido UI Icon set +# Icon Components -> React icon set for Lido Finance projects. +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/icons +``` + +## Usage + +```ts +import { ArrowBottom } from '@lidofinance/icons' +import { Lock } from '@lidofinance/icons' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) + +## Icons + +The list of icons is available at [https://ui.lido.fi/?path=/story/images-icons--list](https://ui.lido.fi/?path=/story/images-icons--list) ## Adding a new icon diff --git a/packages/identicon/README.md b/packages/identicon/README.md new file mode 100644 index 00000000..1f177d16 --- /dev/null +++ b/packages/identicon/README.md @@ -0,0 +1,19 @@ +# Identicon Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/identicon +``` + +## Usage + +```ts +import { Identicon } from '@lidofinance/identicon' +import { IdenticonBadge } from '@lidofinance/identicon' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/identicon/src/index.ts b/packages/identicon/src/index.ts index 433b4fbf..802ec433 100644 --- a/packages/identicon/src/index.ts +++ b/packages/identicon/src/index.ts @@ -1,2 +1,3 @@ +export { default as IdenticonBadge } from './IdenticonBadge' export { default as Identicon } from './Identicon' export * from './types' diff --git a/packages/input/README.md b/packages/input/README.md new file mode 100644 index 00000000..2fff6f84 --- /dev/null +++ b/packages/input/README.md @@ -0,0 +1,18 @@ +# Input Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/input +``` + +## Usage + +```ts +import { Input } from '@lidofinance/input' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/lido-ui/README.md b/packages/lido-ui/README.md new file mode 100644 index 00000000..0faac195 --- /dev/null +++ b/packages/lido-ui/README.md @@ -0,0 +1,18 @@ +# Lido UI Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/lido-ui +``` + +## Usage + +```ts +import { Button } from '@lidofinance/lido-ui' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/link/README.md b/packages/link/README.md new file mode 100644 index 00000000..c6d23f4d --- /dev/null +++ b/packages/link/README.md @@ -0,0 +1,18 @@ +# Link Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/link +``` + +## Usage + +```ts +import { Link } from '@lidofinance/link' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/loaders/README.md b/packages/loaders/README.md new file mode 100644 index 00000000..17a9e95c --- /dev/null +++ b/packages/loaders/README.md @@ -0,0 +1,19 @@ +# Loader Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/loader +``` + +## Usage + +```ts +import { Loader } from '@lidofinance/loader' +import { InlineLoader } from '@lidofinance/loader' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/modal/README.md b/packages/modal/README.md new file mode 100644 index 00000000..30441977 --- /dev/null +++ b/packages/modal/README.md @@ -0,0 +1,18 @@ +# Modal Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/modal +``` + +## Usage + +```ts +import { Modal } from '@lidofinance/modal' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/select/README.md b/packages/select/README.md new file mode 100644 index 00000000..dd22d353 --- /dev/null +++ b/packages/select/README.md @@ -0,0 +1,18 @@ +# Select Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/select +``` + +## Usage + +```ts +import { Select } from '@lidofinance/select' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/stack/README.md b/packages/stack/README.md new file mode 100644 index 00000000..150cf4bb --- /dev/null +++ b/packages/stack/README.md @@ -0,0 +1,20 @@ +# Stack Components + +React components for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/stack +``` + +## Usage + +```ts +import { Stack } from '@lidofinance/stack' +import { HStack } from '@lidofinance/stack' +import { VStack } from '@lidofinance/stack' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/styled-system/README.md b/packages/styled-system/README.md new file mode 100644 index 00000000..a57069e8 --- /dev/null +++ b/packages/styled-system/README.md @@ -0,0 +1,22 @@ +# Styled System HOC + +React HOC based on [Styled System](https://styled-system.com/) for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +Styled System lets you quickly build custom UI components with constraint-based style props based on scales defined in your theme. + +## Install + +```bash +yarn add @lidofinance/styled-system +``` + +## Usage + +```ts +import { withStyledSystem } from '@lidofinance/styled-system' + +const WrappedComponent = withStyledSystem(SomeComponent) +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/text/README.md b/packages/text/README.md new file mode 100644 index 00000000..d7ace98c --- /dev/null +++ b/packages/text/README.md @@ -0,0 +1,18 @@ +# Text Component + +React component for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/text +``` + +## Usage + +```ts +import { Text } from '@lidofinance/text' +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/theme/README.md b/packages/theme/README.md new file mode 100644 index 00000000..f64ddf35 --- /dev/null +++ b/packages/theme/README.md @@ -0,0 +1,29 @@ +# Themes + +Styled Components themes and provider for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/theme +``` + +## Usage + +```ts +import React from 'react' +import ReactDOM from 'react-dom' +import { ThemeProvider, themeLight, themeDark } from '@lidofinance/theme' + +import { App } from './App' + +ReactDOM.render( + + + , + document.getElementById('root') +) +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) diff --git a/packages/utils/README.md b/packages/utils/README.md new file mode 100644 index 00000000..47c7fa0c --- /dev/null +++ b/packages/utils/README.md @@ -0,0 +1,26 @@ +# Utils + +Utils for Lido Finance projects. +Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme) + +## Install + +```bash +yarn add @lidofinance/utils +``` + +## Usage + +```ts +import { LidoComponentProps } from '@lidofinance/utils' + +export type ButtonProps = LidoComponentProps< + 'button', + { + size?: 'md' | 'lg' + variant?: 'filled' | 'outlined' + } +> +``` + +Check out our Storybook at [https://ui.lido.fi](https://ui.lido.fi) From 55a0d6b476ec28d0f67fda91c22ad659c8e363a3 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 11:49:45 +0300 Subject: [PATCH 7/8] feature: keywords for packages --- packages/accordion/package.json | 8 ++++++++ packages/block/package.json | 8 ++++++++ packages/button/package.json | 8 ++++++++ packages/checkbox/package.json | 8 ++++++++ packages/container/package.json | 8 ++++++++ packages/divider/package.json | 8 ++++++++ packages/heading/package.json | 8 ++++++++ packages/icons/package.json | 8 ++++++++ packages/identicon/package.json | 8 ++++++++ packages/input/package.json | 8 ++++++++ packages/lido-ui/package.json | 8 ++++++++ packages/link/package.json | 8 ++++++++ packages/loaders/package.json | 8 ++++++++ packages/modal/package.json | 8 ++++++++ packages/select/package.json | 8 ++++++++ packages/stack/package.json | 8 ++++++++ packages/styled-system/package.json | 8 ++++++++ packages/text/package.json | 8 ++++++++ packages/theme/package.json | 8 ++++++++ packages/utils/package.json | 8 ++++++++ 20 files changed, 160 insertions(+) diff --git a/packages/accordion/package.json b/packages/accordion/package.json index df24b700..63623e79 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/block/package.json b/packages/block/package.json index 02587836..63aba729 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/button/package.json b/packages/button/package.json index a77f2e8d..d9797061 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/loaders": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index d2739f4e..a1685d14 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/icons": "workspace:*", "@lidofinance/theme": "workspace:*", diff --git a/packages/container/package.json b/packages/container/package.json index 06580326..3b7d74ef 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/divider/package.json b/packages/divider/package.json index 27a59948..ef31f107 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/heading/package.json b/packages/heading/package.json index 31abba01..d7cdfa08 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/icons/package.json b/packages/icons/package.json index 7fd60ecb..b6e892a0 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "scripts": { "convert": "node converter/index.js" }, diff --git a/packages/identicon/package.json b/packages/identicon/package.json index 475d1248..474a3158 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*", diff --git a/packages/input/package.json b/packages/input/package.json index af7d9127..91f43c3e 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/lido-ui/package.json b/packages/lido-ui/package.json index a1cff483..7a3841fb 100644 --- a/packages/lido-ui/package.json +++ b/packages/lido-ui/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/accordion": "workspace:*", "@lidofinance/block": "workspace:*", diff --git a/packages/link/package.json b/packages/link/package.json index da3911b4..22589707 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/loaders/package.json b/packages/loaders/package.json index bf19fed4..c71efd19 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/modal/package.json b/packages/modal/package.json index 4e4e7f9d..ae3b8a3a 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/button": "workspace:*", "@lidofinance/icons": "workspace:*", diff --git a/packages/select/package.json b/packages/select/package.json index d3f6a64e..95eb41f9 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "use-callback-ref": "1.2.5" diff --git a/packages/stack/package.json b/packages/stack/package.json index e49d2163..5fadc6ca 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/styled-system/package.json b/packages/styled-system/package.json index 856b630f..5ae4d5a6 100644 --- a/packages/styled-system/package.json +++ b/packages/styled-system/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@styled-system/should-forward-prop": "5.1.5", "styled-system": "5.1.5" diff --git a/packages/text/package.json b/packages/text/package.json index ac0ea625..48bf05b0 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "dependencies": { "@lidofinance/theme": "workspace:*", "@lidofinance/utils": "workspace:*" diff --git a/packages/theme/package.json b/packages/theme/package.json index acf377a5..db1c8463 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "peerDependencies": { "react": "16 || 17", "react-dom": "16 || 17", diff --git a/packages/utils/package.json b/packages/utils/package.json index 56fd0482..1a617582 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -14,6 +14,14 @@ "bugs": { "url": "https://github.com/lidofinance/ui/issues" }, + "keywords": [ + "lido", + "lidofinance", + "styled-components", + "component", + "react-component", + "react" + ], "peerDependencies": { "react": "16 || 17", "react-dom": "16 || 17", From c3aafe294dca7be73e159e109b61165861ad15d1 Mon Sep 17 00:00:00 2001 From: George Avsetsin Date: Wed, 19 May 2021 12:02:15 +0300 Subject: [PATCH 8/8] update versions --- packages/accordion/package.json | 2 +- packages/block/package.json | 2 +- packages/button/package.json | 2 +- packages/checkbox/package.json | 2 +- packages/container/package.json | 2 +- packages/divider/package.json | 2 +- packages/heading/package.json | 2 +- packages/icons/package.json | 2 +- packages/identicon/package.json | 2 +- packages/input/package.json | 2 +- packages/lido-ui/package.json | 2 +- packages/link/package.json | 2 +- packages/loaders/package.json | 2 +- packages/modal/package.json | 2 +- packages/select/package.json | 2 +- packages/stack/package.json | 2 +- packages/styled-system/package.json | 2 +- packages/text/package.json | 2 +- packages/theme/package.json | 2 +- packages/utils/package.json | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/accordion/package.json b/packages/accordion/package.json index 63623e79..323f1ebe 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/accordion", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/block/package.json b/packages/block/package.json index 63aba729..26b63349 100644 --- a/packages/block/package.json +++ b/packages/block/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/block", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/button/package.json b/packages/button/package.json index d9797061..6d13ad85 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/button", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index a1685d14..206a000e 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/checkbox", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/container/package.json b/packages/container/package.json index 3b7d74ef..d77f7693 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/container", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/divider/package.json b/packages/divider/package.json index ef31f107..039f0151 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/divider", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/heading/package.json b/packages/heading/package.json index d7cdfa08..5b5e8e35 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/heading", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/icons/package.json b/packages/icons/package.json index b6e892a0..061487e8 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/icons", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/identicon/package.json b/packages/identicon/package.json index 474a3158..08b996e4 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/identicon", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/input/package.json b/packages/input/package.json index 91f43c3e..03d5e1be 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/input", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/lido-ui/package.json b/packages/lido-ui/package.json index 7a3841fb..70adc324 100644 --- a/packages/lido-ui/package.json +++ b/packages/lido-ui/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/lido-ui", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/link/package.json b/packages/link/package.json index 22589707..619276d3 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/link", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/loaders/package.json b/packages/loaders/package.json index c71efd19..5238ea95 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/loaders", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/modal/package.json b/packages/modal/package.json index ae3b8a3a..cd54cb01 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/modal", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/select/package.json b/packages/select/package.json index 95eb41f9..e7cebc52 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/select", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/stack/package.json b/packages/stack/package.json index 5fadc6ca..3aa53dee 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/stack", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/styled-system/package.json b/packages/styled-system/package.json index 5ae4d5a6..f245d139 100644 --- a/packages/styled-system/package.json +++ b/packages/styled-system/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/styled-system", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/text/package.json b/packages/text/package.json index 48bf05b0..92829794 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/text", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/theme/package.json b/packages/theme/package.json index db1c8463..63ffff7b 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/theme", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/utils/package.json b/packages/utils/package.json index 1a617582..a9eddde9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@lidofinance/utils", - "version": "1.0.0", + "version": "1.0.1", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts",