From fcf62d8e62b073273b16b1190eaa485ee176befb Mon Sep 17 00:00:00 2001 From: vagnerbarbosant Date: Tue, 10 Oct 2023 11:06:38 -0300 Subject: [PATCH 01/35] feat(natds-react): change status doc AccordionGroup add prefix gaya affects: @naturacosmeticos/natds-react DSY-3779 --- .../AccordionGroup/AccordionGroup.stories.tsx | 10 ++++++---- .../src/components/AccordionGroup/AccordionGroup.tsx | 2 +- .../__snapshots__/AccordionGroup.test.tsx.snap | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/react/src/components/AccordionGroup/AccordionGroup.stories.tsx b/packages/react/src/components/AccordionGroup/AccordionGroup.stories.tsx index f9dd794080..ce97f06ad8 100644 --- a/packages/react/src/components/AccordionGroup/AccordionGroup.stories.tsx +++ b/packages/react/src/components/AccordionGroup/AccordionGroup.stories.tsx @@ -5,13 +5,15 @@ import StoryContainer from '../../helpers/StoryContainer' import { AccordionGroup, AccordionGroupProps } from '.' const componentStatus = ` -- - - +> AccordionGroup allows groups of several accordion components, allowing collective management and control of multiple expandable panels.. -**NOTE FOR UXs**: This component is available in the following variants: +## Properties +| Property | Values | Status | +|--- | ---| ---| +| **variant** | standard | ✅ Available | - - ✅ Standard -- - - +## Technical Usages Examples ` const Item = () => { diff --git a/packages/react/src/components/AccordionGroup/AccordionGroup.tsx b/packages/react/src/components/AccordionGroup/AccordionGroup.tsx index a9d2b69f12..f7e2c91cdc 100644 --- a/packages/react/src/components/AccordionGroup/AccordionGroup.tsx +++ b/packages/react/src/components/AccordionGroup/AccordionGroup.tsx @@ -12,7 +12,7 @@ const AccordionGroup = React.forwardRef( return (
diff --git a/packages/react/src/components/AccordionGroup/__snapshots__/AccordionGroup.test.tsx.snap b/packages/react/src/components/AccordionGroup/__snapshots__/AccordionGroup.test.tsx.snap index b3824a7524..cf9b1fa114 100644 --- a/packages/react/src/components/AccordionGroup/__snapshots__/AccordionGroup.test.tsx.snap +++ b/packages/react/src/components/AccordionGroup/__snapshots__/AccordionGroup.test.tsx.snap @@ -9,7 +9,7 @@ Array [ }",
, ] From 165a413ac2fff9c4c9c1dcc9feb75c3489e7fbc4 Mon Sep 17 00:00:00 2001 From: vagnerbarbosant Date: Tue, 10 Oct 2023 11:18:06 -0300 Subject: [PATCH 02/35] feat(natds-react): change status doc AccordionItem add prefix gaya affects: @naturacosmeticos/natds-react DSY-3779 --- .../AccordionItem/AccordionItem.stories.tsx | 33 +++++++++---------- .../AccordionItem/AccordionItem.tsx | 2 +- .../__snapshots__/AccordionItem.test.tsx.snap | 4 +-- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/packages/react/src/components/AccordionItem/AccordionItem.stories.tsx b/packages/react/src/components/AccordionItem/AccordionItem.stories.tsx index 2898347435..2b62f11193 100644 --- a/packages/react/src/components/AccordionItem/AccordionItem.stories.tsx +++ b/packages/react/src/components/AccordionItem/AccordionItem.stories.tsx @@ -5,23 +5,22 @@ import StoryContainer from '../../helpers/StoryContainer' import { AccordionItem, AccordionItemProps } from '.' const componentStatus = ` -- - - - -**NOTE FOR UXs**: This component is available in the following variants: - - - ✅ Standard - -With the following attribute statuses: - - - **Attributes:** - - ✅ Title - - ✅ Legend - - ✅ Color - - ✅ IsActive - - ✅ IsDisabled - - ✅ OnClick - -- - - +> AccordionItem representing an individual item that can be expanded or collapsed in response to user interaction. + +## Properties +| Property | Values | Status | +|--- | ---| ---| +| **variant** | standard | ✅ Available | +| **title** | string | ✅ Available | +| **legend** | string | ✅ Available | +| **color** | regular, primary' | ✅ Available | +| **isActive** | true/false | ✅ Available | +| **isDisabled** | true/false | ✅ Available | +| **onClick** | function | ✅ Available | +| **brand** | avon, avon_v2, natura, natura_v2, theBodyShop,
consultoriaDeBeleza, casaEestilo | ✅ Available | + + +## Technical Usages Examples ` export default { diff --git a/packages/react/src/components/AccordionItem/AccordionItem.tsx b/packages/react/src/components/AccordionItem/AccordionItem.tsx index eb379c867f..70399ff04f 100644 --- a/packages/react/src/components/AccordionItem/AccordionItem.tsx +++ b/packages/react/src/components/AccordionItem/AccordionItem.tsx @@ -34,7 +34,7 @@ const AccordionItem = React.forwardRef( return (
diff --git a/packages/react/src/components/AccordionItem/__snapshots__/AccordionItem.test.tsx.snap b/packages/react/src/components/AccordionItem/__snapshots__/AccordionItem.test.tsx.snap index 717503d1ae..5839844a8e 100644 --- a/packages/react/src/components/AccordionItem/__snapshots__/AccordionItem.test.tsx.snap +++ b/packages/react/src/components/AccordionItem/__snapshots__/AccordionItem.test.tsx.snap @@ -77,7 +77,7 @@ Array [ }",