Skip to content

Commit

Permalink
refactor componente svg
Browse files Browse the repository at this point in the history
  • Loading branch information
williamSaya-J committed Jul 28, 2023
2 parents f197517 + ca10244 commit 11d2614
Show file tree
Hide file tree
Showing 49 changed files with 15,327 additions and 28,105 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/build-status.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@

name: Build Status

on: ["push"]
on: ['push']

jobs:

build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x

- name: npm install, run test
run: |
npm install
npm t
- name: npm install, run test
run: |
npm install
npm t
35 changes: 16 additions & 19 deletions .github/workflows/coverage-status.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@

name: Coverage Status

on: ["push"]
on: ['push']

jobs:
build:
name: Build
runs-on: ubuntu-latest


steps:

- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: npm install, make test-coverage
run: |
npm install
npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v1

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x

- name: npm install, make test-coverage
run: |
npm install
npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
28 changes: 14 additions & 14 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: NPM Publish

on:
push:
tags: [ '*' ]
tags: ['*']

jobs:
build:
Expand All @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm install
- run: npm test

Expand All @@ -23,22 +23,22 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

send-slack-message:
needs: publish-npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: bash ./scripts/release-notes.sh
env:
RELEASE_SLACK_WEBHOOK_URL: ${{secrets.RELEASE_SLACK_WEBHOOK_URL}}
needs: publish-npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: bash ./scripts/release-notes.sh
env:
RELEASE_SLACK_WEBHOOK_URL: ${{secrets.RELEASE_SLACK_WEBHOOK_URL}}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ dist/

# Static storybook page
.storybook_static/*
!.storybook_static/.gitkeep
!.storybook_static/.gitkeep
.storybook_static
2 changes: 1 addition & 1 deletion .ondevice/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
stories: ['../storybook/stories/**/*.stories.?(ts|tsx|js|jsx)'],
addons: [],
addons: ['@storybook/addon-ondevice-actions', '@storybook/addon-ondevice-controls'],
};
9 changes: 9 additions & 0 deletions .ondevice/storybook.requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ global.STORIES = [
},
];

import "@storybook/addon-ondevice-actions/register";
import "@storybook/addon-ondevice-controls/register";

import { argsEnhancers } from "@storybook/addon-actions/dist/modern/preset/addArgs";

import { decorators, parameters } from "./preview";

if (decorators) {
Expand All @@ -36,6 +41,10 @@ if (parameters) {
addParameters(parameters);
}

try {
argsEnhancers.forEach((enhancer) => addArgsEnhancer(enhancer));
} catch {}

const getStories = () => {
return {
"./storybook/stories/Avatar/Avatar.stories.js": require("../storybook/stories/Avatar/Avatar.stories.js"),
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ module.exports = {
printWidth: 100,
useTabs: true,
singleQuote: true,
endOfLine: "auto",
};
11 changes: 7 additions & 4 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
const config = {
framework: '@storybook/react-webpack5',
module.exports = {
stories: ['../storybook/stories/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-actions',
'@storybook/addon-controls',
'@storybook/addon-essentials',
'@storybook/addon-react-native-web',
],
core: {
builder: '@storybook/builder-webpack5',
},
docs: {
autodocs: 'tag',
}
},
typescript: {reactDocgen: false},
};
export default config;
5 changes: 4 additions & 1 deletion .storybook_server/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
stories: ['../storybook/stories/**/*.stories.@(js|jsx|ts|tsx)'],
env: () => ({}),
addons: ['@storybook/addon-controls', '@storybook/addon-actions'],
core: {
builder: 'webpack5',
},
addons: ['@storybook/addon-controls', '@storybook/addon-actions', '@storybook/addon-essentials'],
};
2 changes: 2 additions & 0 deletions docs/117.9a5c27ea8674bb35d0cb.manager.bundle.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/117.9a5c27ea8674bb35d0cb.manager.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/
1 change: 1 addition & 0 deletions docs/229.38218f8e.iframe.bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/255.1dc77e18b0980ea2b5b1.manager.bundle.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions docs/255.1dc77e18b0980ea2b5b1.manager.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*!
* OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars
*
* Version: 1.13.0
*
* Copyright KingSora | Rene Haas.
* https://github.com/KingSora
*
* Released under the MIT license.
* Date: 02.08.2020
*/
2 changes: 2 additions & 0 deletions docs/273.8c4359ec.iframe.bundle.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions docs/273.8c4359ec.iframe.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
1 change: 1 addition & 0 deletions docs/295.a05044b3df8fac94f64a.manager.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/317.b5aab83c590899f4bbc5.manager.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/407.41ababca85f8125a7142.manager.bundle.js

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions docs/407.41ababca85f8125a7142.manager.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
2 changes: 2 additions & 0 deletions docs/51.4d497da6.iframe.bundle.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/51.4d497da6.iframe.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/
2 changes: 2 additions & 0 deletions docs/521.b2058e98.iframe.bundle.js

Large diffs are not rendered by default.

0 comments on commit 11d2614

Please sign in to comment.