Skip to content

Commit

Permalink
Merge pull request #60 from JorgeRojo/develop
Browse files Browse the repository at this point in the history
Fix Pause icon
  • Loading branch information
JorgeRojo committed Jul 31, 2023
2 parents 4ff782e + 6494fa8 commit 35e0b3c
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 91 deletions.
34 changes: 0 additions & 34 deletions .eslintrc.cjs

This file was deleted.

33 changes: 33 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"env": { "browser": true, "es2020": true },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:storybook/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"plugins": ["react-refresh", "simple-import-sort"],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
["^\\u0000"],
["\\.json$"],
["^react(.*)"],
["^@?\\w"],
["^"],
["^\\."],
["\\.css$"]
]
}
],
"simple-import-sort/exports": "error",
"no-console": "error",
"@typescript-eslint/no-explicit-any": "off",
"react-refresh/only-export-components": "warn",
"react/jsx-uses-react": "off"
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fratch-ui",
"version": "1.1.76",
"version": "1.1.77",
"repository": {
"type": "git",
"url": "https://github.com/JorgeRojo/fratch-ui.git"
Expand Down Expand Up @@ -54,12 +54,13 @@
"storybook": "^7.1.1",
"typescript-plugin-css-modules": "^5.0.1",
"uuid": "^9.0.0",
"vite": "^4.4.7",
"vite-plugin-dts": "^3.3.1",
"vitest": "^0.33.0"
},
"scripts": {
"format": "prettier --write ./*.{ts,json} ./.storybook/**/*.ts ./src/**/*.{ts,tsx}",
"lint": "eslint ./*.{ts,json} ./.storybook/**/*.ts ./src/**/*.{ts,tsx} --fix",
"format": "prettier --write ./*.{ts,json} ./.storybook/**/*.ts ./src/**/*.{ts,tsx,css}",
"lint": "eslint --max-warnings=0 . --ext .ts,.tsx --fix",
"start": "storybook dev -p 6006",
"build": "ls ./ && rm -rf ./dist && tsc && cross-env NODE_OPTIONS='--max_old_space_size=8192' vite build --config vite.build.config.ts",
"storybook:build": "storybook build",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icons/Icons/IconPause.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function IconPause({ type, className }: IconProps): JSX.Element {
strokeLinejoin="round"
strokeWidth="2"
d="M1 1.8c0-.442.32-.8.714-.8h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H1.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 1 16.2V1.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H8.857c-.394 0-.714-.358-.714-.8V1.8Z"
clip-rule="evenodd"
clipRule="evenodd"
/>
</svg>
)}
Expand Down
106 changes: 53 additions & 53 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2699,15 +2699,15 @@
"@types/yargs-parser" "*"

"@typescript-eslint/eslint-plugin@^6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.2.0.tgz#57047c400be0632d4797ac081af8d399db3ebc3b"
integrity sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.2.1.tgz#41b79923fee46a745a3a50cba1c33c622aa3c79a"
integrity sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==
dependencies:
"@eslint-community/regexpp" "^4.5.1"
"@typescript-eslint/scope-manager" "6.2.0"
"@typescript-eslint/type-utils" "6.2.0"
"@typescript-eslint/utils" "6.2.0"
"@typescript-eslint/visitor-keys" "6.2.0"
"@typescript-eslint/scope-manager" "6.2.1"
"@typescript-eslint/type-utils" "6.2.1"
"@typescript-eslint/utils" "6.2.1"
"@typescript-eslint/visitor-keys" "6.2.1"
debug "^4.3.4"
graphemer "^1.4.0"
ignore "^5.2.4"
Expand All @@ -2717,14 +2717,14 @@
ts-api-utils "^1.0.1"

"@typescript-eslint/parser@^6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.2.0.tgz#d37c30b0f459c6f39455335d8f4f085919a1c644"
integrity sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==
dependencies:
"@typescript-eslint/scope-manager" "6.2.0"
"@typescript-eslint/types" "6.2.0"
"@typescript-eslint/typescript-estree" "6.2.0"
"@typescript-eslint/visitor-keys" "6.2.0"
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.2.1.tgz#e18a31eea1cca8841a565f1701960c8123ed07f9"
integrity sha512-Ld+uL1kYFU8e6btqBFpsHkwQ35rw30IWpdQxgOqOh4NfxSDH6uCkah1ks8R/RgQqI5hHPXMaLy9fbFseIe+dIg==
dependencies:
"@typescript-eslint/scope-manager" "6.2.1"
"@typescript-eslint/types" "6.2.1"
"@typescript-eslint/typescript-estree" "6.2.1"
"@typescript-eslint/visitor-keys" "6.2.1"
debug "^4.3.4"

"@typescript-eslint/scope-manager@5.62.0":
Expand All @@ -2735,21 +2735,21 @@
"@typescript-eslint/types" "5.62.0"
"@typescript-eslint/visitor-keys" "5.62.0"

"@typescript-eslint/scope-manager@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.2.0.tgz#412a710d8fa20bc045533b3b19f423810b24f87a"
integrity sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==
"@typescript-eslint/scope-manager@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.2.1.tgz#b6f43a867b84e5671fe531f2b762e0b68f7cf0c4"
integrity sha512-UCqBF9WFqv64xNsIEPfBtenbfodPXsJ3nPAr55mGPkQIkiQvgoWNo+astj9ZUfJfVKiYgAZDMnM6dIpsxUMp3Q==
dependencies:
"@typescript-eslint/types" "6.2.0"
"@typescript-eslint/visitor-keys" "6.2.0"
"@typescript-eslint/types" "6.2.1"
"@typescript-eslint/visitor-keys" "6.2.1"

"@typescript-eslint/type-utils@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.2.0.tgz#02b27a3eeb41aa5460d6275d12cce5dd72e1c9fc"
integrity sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==
"@typescript-eslint/type-utils@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.2.1.tgz#8eb8a2cccdf39cd7cf93e02bd2c3782dc90b0525"
integrity sha512-fTfCgomBMIgu2Dh2Or3gMYgoNAnQm3RLtRp+jP7A8fY+LJ2+9PNpi5p6QB5C4RSP+U3cjI0vDlI3mspAkpPVbQ==
dependencies:
"@typescript-eslint/typescript-estree" "6.2.0"
"@typescript-eslint/utils" "6.2.0"
"@typescript-eslint/typescript-estree" "6.2.1"
"@typescript-eslint/utils" "6.2.1"
debug "^4.3.4"
ts-api-utils "^1.0.1"

Expand All @@ -2758,10 +2758,10 @@
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f"
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==

"@typescript-eslint/types@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.2.0.tgz#b341a4e6d5f609267306b07afc6f62bcf92b1495"
integrity sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==
"@typescript-eslint/types@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.2.1.tgz#7fcdeceb503aab601274bf5e210207050d88c8ab"
integrity sha512-528bGcoelrpw+sETlyM91k51Arl2ajbNT9L4JwoXE2dvRe1yd8Q64E4OL7vHYw31mlnVsf+BeeLyAZUEQtqahQ==

"@typescript-eslint/typescript-estree@5.62.0":
version "5.62.0"
Expand All @@ -2776,30 +2776,30 @@
semver "^7.3.7"
tsutils "^3.21.0"

"@typescript-eslint/typescript-estree@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.2.0.tgz#4969944b831b481996aa4fbd73c7164ca683b8ef"
integrity sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==
"@typescript-eslint/typescript-estree@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.2.1.tgz#2af6e90c1e91cb725a5fe1682841a3f74549389e"
integrity sha512-G+UJeQx9AKBHRQBpmvr8T/3K5bJa485eu+4tQBxFq0KoT22+jJyzo1B50JDT9QdC1DEmWQfdKsa8ybiNWYsi0Q==
dependencies:
"@typescript-eslint/types" "6.2.0"
"@typescript-eslint/visitor-keys" "6.2.0"
"@typescript-eslint/types" "6.2.1"
"@typescript-eslint/visitor-keys" "6.2.1"
debug "^4.3.4"
globby "^11.1.0"
is-glob "^4.0.3"
semver "^7.5.4"
ts-api-utils "^1.0.1"

"@typescript-eslint/utils@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.2.0.tgz#606a20e5c13883c2d2bd0538ddc4b96b8d410979"
integrity sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==
"@typescript-eslint/utils@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.2.1.tgz#2aa4279ec13053d05615bcbde2398e1e8f08c334"
integrity sha512-eBIXQeupYmxVB6S7x+B9SdBeB6qIdXKjgQBge2J+Ouv8h9Cxm5dHf/gfAZA6dkMaag+03HdbVInuXMmqFB/lKQ==
dependencies:
"@eslint-community/eslint-utils" "^4.4.0"
"@types/json-schema" "^7.0.12"
"@types/semver" "^7.5.0"
"@typescript-eslint/scope-manager" "6.2.0"
"@typescript-eslint/types" "6.2.0"
"@typescript-eslint/typescript-estree" "6.2.0"
"@typescript-eslint/scope-manager" "6.2.1"
"@typescript-eslint/types" "6.2.1"
"@typescript-eslint/typescript-estree" "6.2.1"
semver "^7.5.4"

"@typescript-eslint/utils@^5.45.0":
Expand All @@ -2824,12 +2824,12 @@
"@typescript-eslint/types" "5.62.0"
eslint-visitor-keys "^3.3.0"

"@typescript-eslint/visitor-keys@6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.2.0.tgz#71943f42fdaa2ec86dc3222091f41761a49ae71a"
integrity sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==
"@typescript-eslint/visitor-keys@6.2.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.2.1.tgz#442e7c09fe94b715a54ebe30e967987c3c41fbf4"
integrity sha512-iTN6w3k2JEZ7cyVdZJTVJx2Lv7t6zFA8DCrJEHD2mwfc16AEvvBWVhbFh34XyG2NORCd0viIgQY1+u7kPI0WpA==
dependencies:
"@typescript-eslint/types" "6.2.0"
"@typescript-eslint/types" "6.2.1"
eslint-visitor-keys "^3.4.1"

"@vitejs/plugin-react-swc@^3.3.2":
Expand Down Expand Up @@ -3448,9 +3448,9 @@ camelcase@^5.3.1:
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==

caniuse-lite@^1.0.30001517:
version "1.0.30001517"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz#90fabae294215c3495807eb24fc809e11dc2f0a8"
integrity sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==
version "1.0.30001518"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001518.tgz#b3ca93904cb4699c01218246c4d77a71dbe97150"
integrity sha512-rup09/e3I0BKjncL+FesTayKtPrdwKhUufQFd3riFw1hHg8JmIFoInYfB102cFcY/pPgGmdyl/iy+jgiDi2vdA==

chai@^4.3.7:
version "4.3.7"
Expand Down Expand Up @@ -7841,7 +7841,7 @@ vite-plugin-dts@^3.3.1:
kolorist "^1.8.0"
vue-tsc "^1.8.8"

"vite@^3.0.0 || ^4.0.0":
"vite@^3.0.0 || ^4.0.0", vite@^4.4.7:
version "4.4.7"
resolved "https://registry.yarnpkg.com/vite/-/vite-4.4.7.tgz#71b8a37abaf8d50561aca084dbb77fa342824154"
integrity sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==
Expand Down

0 comments on commit 35e0b3c

Please sign in to comment.