frst-components 0.33.2 → 0.33.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -52
- package/dist/index.js +14723 -14722
- package/dist/src/components/FI/ThreadComments/index.d.ts +1 -1
- package/dist/src/components/FI/ThreadComments/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
- package/dist/src/components/commentaryBoxV2/index.d.ts +1 -1
- package/dist/src/components/commentaryBoxV2/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map +1 -1
- package/package.json +114 -114
- package/public/customIcons/CheckIcon.tsx +16 -16
- package/public/customIcons/CircledAlert.tsx +21 -21
- package/public/customIcons/CircledCheck.tsx +20 -20
- package/public/customIcons/CloseIcon.tsx +23 -23
- package/public/customIcons/DefaultProfile.tsx +15 -15
- package/public/customIcons/ExcludeVoteIcon.tsx +40 -40
- package/public/customIcons/SmallTrash.tsx +20 -20
- package/public/customIcons/SwitchVoteIcon.tsx +22 -22
- package/public/customIcons/TagAlert.tsx +10 -10
- package/public/customIcons/VoteCurrentIcon.tsx +22 -22
- package/public/customIcons/VoteIcon.tsx +41 -41
- package/public/customIcons/WarningIcon.tsx +21 -21
- package/public/customIcons/index.ts +12 -12
- package/public/customIcons/newVoteIcon.tsx +36 -36
- package/public/index.html +43 -43
- package/public/locales/en-US.json +33 -33
- package/public/locales/es.json +34 -34
- package/public/locales/pt-BR.json +41 -41
- package/public/manifest.json +15 -15
- package/public/robots.txt +3 -3
package/README.md
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://frst-falconi.github.io/storybook.frstfalconi.com">
|
|
3
|
-
<img alt="Chromatic" src="https://frstfalconi.com/wp-content/themes/frst-theme/img/logo-frst-completo2x.png" width="320" />
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<h1 align="center">
|
|
8
|
-
FRST Storybook
|
|
9
|
-
</h1>
|
|
10
|
-
|
|
11
|
-
# IMPORTANT
|
|
12
|
-
|
|
13
|
-
- A pasta ./dist está comitada porque é a biblioteca de componentes (gerada por `npm run build`), idealmente nós fariamos um CI/CD e publicariamos essa pasta junto com o package.json via NPM ou similar
|
|
14
|
-
- Para usar os componentes em outros projetos: (pode pedir para autorizar)
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
npm i --save git+git@github.com:FRST-Falconi/storybook.frstfalconi.com.git#master
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## How to run locally
|
|
21
|
-
|
|
22
|
-
```sh
|
|
23
|
-
npm install
|
|
24
|
-
npm run sb
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Creating new components
|
|
28
|
-
|
|
29
|
-
After creating a new component, you must load it into `./index.tsx` in order to add it into the new version.
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
import { default as NewComponent } from './src/components/NewComponent'
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## How gen new version (./dist)
|
|
36
|
-
|
|
37
|
-
Update `package.json` version number, then
|
|
38
|
-
|
|
39
|
-
```sh
|
|
40
|
-
npm run build
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Deploy to github.io
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
npm run deploy-sb
|
|
47
|
-
```
|
|
48
|
-
## Learning Storybook
|
|
49
|
-
|
|
50
|
-
1. Read our introductory tutorial over at [Storybook tutorials](https://storybook.js.org/tutorials/intro-to-storybook/react/en/get-started/).
|
|
51
|
-
2. Learn how to transform your component libraries into design systems in our [Design Systems for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/) tutorial.
|
|
52
|
-
3. See our official documentation at [Storybook](https://storybook.js.org/).
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://frst-falconi.github.io/storybook.frstfalconi.com">
|
|
3
|
+
<img alt="Chromatic" src="https://frstfalconi.com/wp-content/themes/frst-theme/img/logo-frst-completo2x.png" width="320" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">
|
|
8
|
+
FRST Storybook
|
|
9
|
+
</h1>
|
|
10
|
+
|
|
11
|
+
# IMPORTANT
|
|
12
|
+
|
|
13
|
+
- A pasta ./dist está comitada porque é a biblioteca de componentes (gerada por `npm run build`), idealmente nós fariamos um CI/CD e publicariamos essa pasta junto com o package.json via NPM ou similar
|
|
14
|
+
- Para usar os componentes em outros projetos: (pode pedir para autorizar)
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
npm i --save git+git@github.com:FRST-Falconi/storybook.frstfalconi.com.git#master
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## How to run locally
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npm install
|
|
24
|
+
npm run sb
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Creating new components
|
|
28
|
+
|
|
29
|
+
After creating a new component, you must load it into `./index.tsx` in order to add it into the new version.
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { default as NewComponent } from './src/components/NewComponent'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## How gen new version (./dist)
|
|
36
|
+
|
|
37
|
+
Update `package.json` version number, then
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
npm run build
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Deploy to github.io
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
npm run deploy-sb
|
|
47
|
+
```
|
|
48
|
+
## Learning Storybook
|
|
49
|
+
|
|
50
|
+
1. Read our introductory tutorial over at [Storybook tutorials](https://storybook.js.org/tutorials/intro-to-storybook/react/en/get-started/).
|
|
51
|
+
2. Learn how to transform your component libraries into design systems in our [Design Systems for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/) tutorial.
|
|
52
|
+
3. See our official documentation at [Storybook](https://storybook.js.org/).
|