Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dsy 3779 Add technical documentation template for the 31 components in React + Tagging pattern #1798

Merged
merged 35 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fcf62d8
feat(natds-react): change status doc AccordionGroup add prefix gaya
vagnerbarbosant Oct 10, 2023
165a413
feat(natds-react): change status doc AccordionItem add prefix gaya
vagnerbarbosant Oct 10, 2023
9c43852
feat(natds-react): change status doc Alert add prefix gaya
vagnerbarbosant Oct 10, 2023
dfa79c1
feat(natds-react): change status doc AppBarTop add prefix gaya
vagnerbarbosant Oct 10, 2023
c5f5335
feat(natds-react): change status doc Autocomplete add prefix gaya
vagnerbarbosant Oct 10, 2023
8dfef23
feat(natds-react): change status doc Avatar add prefix gaya
vagnerbarbosant Oct 10, 2023
0b7b4a9
feat(natds-react): change status doc Badge add prefix gaya
vagnerbarbosant Oct 10, 2023
b312dab
feat(natds-react): change status doc Button add prefix gaya
vagnerbarbosant Oct 10, 2023
b288fa3
feat(natds-react): change status doc Card add prefix gaya
vagnerbarbosant Oct 10, 2023
785558f
feat(natds-react): change status doc Checkbox add prefix gaya
vagnerbarbosant Oct 10, 2023
2bbde69
feat(natds-react): change status doc Chip add prefix gaya
vagnerbarbosant Oct 10, 2023
0a9b5f3
feat(natds-react): change status doc Counter add prefix gaya
vagnerbarbosant Oct 10, 2023
664a3d2
feat(natds-react): change status doc Dialog add prefix gaya
vagnerbarbosant Oct 10, 2023
39a55a5
feat(natds-react): change status doc Divider add prefix gaya
vagnerbarbosant Oct 10, 2023
8fdc5cf
feat(natds-react): change status doc Drawer add prefix gaya
vagnerbarbosant Oct 10, 2023
ad14ebe
feat(natds-react): change status doc Icon add prefix gaya
vagnerbarbosant Oct 10, 2023
997221a
feat(natds-react): change status doc IconButton add prefix gaya
vagnerbarbosant Oct 10, 2023
94eaa79
test(natds-react): update IconButton snapshot
vagnerbarbosant Oct 10, 2023
b9a9b8b
feat(natds-react): change status doc Image add prefix gaya
vagnerbarbosant Oct 10, 2023
502ec03
feat(natds-react): change status doc Link add prefix gaya
vagnerbarbosant Oct 10, 2023
7715b88
feat(natds-react): change status doc ListItem add prefix gaya
vagnerbarbosant Oct 10, 2023
0248bf6
feat(natds-react): change status doc Logo add prefix gaya
vagnerbarbosant Oct 10, 2023
b353350
feat(natds-react): change status doc MenuItem add prefix gaya
vagnerbarbosant Oct 10, 2023
1517bcf
feat(natds-react): change status doc ProgressIndicators add prefix gaya
vagnerbarbosant Oct 10, 2023
c3ccce6
feat(natds-react): change status doc RadioButton add prefix gaya
vagnerbarbosant Oct 10, 2023
43b531e
feat(natds-react): change status doc Rating add prefix gaya
vagnerbarbosant Oct 10, 2023
ea69190
feat(natds-react): change status doc Select add prefix gaya
vagnerbarbosant Oct 10, 2023
2b0e694
feat(natds-react): change status doc Shortcut add prefix gaya
vagnerbarbosant Oct 10, 2023
90c7c5a
test(natds-react): update snackbar snapshot
vagnerbarbosant Oct 10, 2023
2c37321
feat(natds-react): change status doc Switch add prefix gaya
vagnerbarbosant Oct 10, 2023
6bb5c28
feat(natds-react): change status doc Tab add prefix gaya
vagnerbarbosant Oct 10, 2023
a3546eb
feat(natds-react): change status doc Tag add prefix gaya
vagnerbarbosant Oct 10, 2023
7dc4f3d
feat(natds-react): change status doc TextField add prefix gaya
vagnerbarbosant Oct 10, 2023
f1769e0
feat(natds-react): change status doc Typography add prefix gaya
vagnerbarbosant Oct 10, 2023
fb1922c
chore(release): bump natds-js packages via lerna [skip-ci]
Design-System-Natura Oct 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(natds-react): change status doc ProgressIndicators add prefix gaya
affects: @naturacosmeticos/natds-react
DSY-3779
vagnerbarbosant committed Oct 10, 2023

Verified

This commit was signed with the committer’s verified signature.
somebodyLi Ritchie
commit 1517bcfbdd37ec775d5f95a9a1c5b1a22aacd25e
Original file line number Diff line number Diff line change
@@ -5,30 +5,26 @@ import StoryContainer from '../../helpers/StoryContainer'
import { ProgressIndicator, ProgressIndicatorProps } from '.'

const componentStatus = `
---

**NOTE**: This component is available in the following variant:

- ✅ \`circular\`
- ❌ \`linear \`

With the following attribute status:

- **Size**
- ✅ \`standard\`
- ✅ \`semi\`
- ✅ \`medium\`
- ✅ \`large\`
- ✅ **Layer**

---
> Progress indicators express an unspecified wait time.

## Properties
| Property | Values | Status |
|--- | ---| ---|
| **variant(no prop)** | circular | ✅ Available |
| **ariaLabel** | string | ✅ Available |
| **showBackdrop** | true/false | ✅ Available |
| **size** | standard, semi, medium, large | ✅ Available |
| **Layer** | (available but with alternative composition) | ✅ Available |
| **brand** | avon, avon_v2, natura, natura_v2, theBodyShop, <br /> consultoriaDeBeleza, casaEestilo | ✅ Available |

## Technical Usages Examples
`

export default {
title: 'Components/ProgressIndicator',
component: ProgressIndicator,
parameters: {
componentSubtitle: 'Progress indicators express an unspecified wait time.',
componentSubtitle: '',
docs: { description: { component: componentStatus } }
}
} as Meta
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ const ProgressIndicator = React.forwardRef<HTMLDivElement, ProgressIndicatorProp

return (
<div ref={ref} className={backdrop} role="progressbar" aria-label={ariaLabel} data-testid={testID}>
<div className={`${className} ${loader}`}>
<div className={`${className} ${loader} ProgressIndicator-gaya`}>
<svg viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20" />
</svg>
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ Array [
role="progressbar"
>
<div
class=" loader-0-2-2 loader-d1-0-2-6"
class=" loader-0-2-2 loader-d1-0-2-6 ProgressIndicator-gaya"
>
<svg
viewBox="25 25 50 50"
@@ -146,7 +146,7 @@ Array [
role="progressbar"
>
<div
class=" loader-0-2-2 loader-d1-0-2-6"
class=" loader-0-2-2 loader-d1-0-2-6 ProgressIndicator-gaya"
>
<svg
viewBox="25 25 50 50"
@@ -227,7 +227,7 @@ Array [
role="progressbar"
>
<div
class=" loader-0-2-2 loader-d1-0-2-6"
class=" loader-0-2-2 loader-d1-0-2-6 ProgressIndicator-gaya"
>
<svg
viewBox="25 25 50 50"