Tabs - Design System
@jgonza16 ci sta già lavorando.
Dal 19/8/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Tabs - Design System
1 - Prerequisites
- Host element will have the
.dcx-tabsclass name. - It will have sub-element with the
.dcx-tabs-listclass name. - It will have sub-element with the
.dcx-tabs-list-itemclass name. - It will have sub-element with the
.dcx-tabs-list-item--selectedclass name when the details is selected. - It will have sub-element with the
.dcx-tabs-list-item--disabledclass name when the details is disabled. - It will have sub-element with the
.dcx-tabs-tabclass name. - It will have sub-element with the
.dcx-tabs-contentclass name.
2 - Overview
2.1 - Possible states
| Name | Description |
|---|---|
| Default | Instance default state |
| Selected | Instance with selected prop and true value |
| Disabled | Instance with disabled prop and true value |
2.2 - Variants
- NONE
2.3 - Structure
- Tabs
| Element | Description | Token Name |
|---|---|---|
| Tab | The tab container itself | tab |
| TabsList | The tabs list container itself | tabs_list |
| TabsListItem | The tabs list item container itself | tabs_list_item |
| TabsTab | The tabs tab container itself | tabs_tab |
| TabsContent | The tabs content container itself | tabs_content |
2.4 - Tokens definition
Considerations:
- ❗ Take a close look to the Card component. It is a form element as well, the tokens and styling approach should be similar.
- Add the tokens to
src/design-system/tokens.json - Define all styles in
src/design-system/card.css - Add import to the new CSS file in
src/design-system/index.css
Possible tokens:
- spacing-x-tab
- border-color-tabs_list
- spacing-y-accordion_item_box
- spacing-x-tabs_list_item
- border-width-tabs_content
- etc.
Follow the naming pattern
3 - Storybook
Create the pages for:
- Playground
- Default
- AccessibleTheme
- DarkTheme
- MaterialTheme
On each MDX page make examples for each possible variant
4 - Initial setup
Please follow these steps to create your branch:
git checkout release/1.1.0
git pull
git checkout -b 'feature/tabs-design-system'
- Lingua principale
- TypeScript
- Stelle
- 120
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Capgemini/dcx-react-library
-
`Autocomplete` — hardcoded inline styles cannot be overridden by external CSSForse di nuovo libera @Ibabalola l’ha presa 96 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Capgemini/dcx-react-library#707 · 1 assegnatario ·
-
Tabs - State and A11y errorsForse di nuovo libera @fermarinsanchez l’ha presa 475 giorni fa e non c’è nessuna pull request aperta. Apertaa11y bug
Capgemini/dcx-react-library#705 · 1 assegnatario ·
-
design-system
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
Capgemini/dcx-react-library#686 ·
-
Details - Design SystemApertadesign-system
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Capgemini/dcx-react-library#684 ·
-
Breadcrumb - Design SystemForse di nuovo libera @fermarinsanchez l’ha presa 484 giorni fa e non c’è nessuna pull request aperta. Apertadesign-system
Capgemini/dcx-react-library#683 · 1 assegnatario ·
Tutte le issue di Capgemini/dcx-react-library
Issue simili
-
enhancement good first issue priority: low size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Empty label or headline exports the editor hint ("LABEL" / "Headline goes here") into the PNGAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
streamplace/streamplace#1351 ·
I maintainer di solito rispondono entro 2 giorni
-
Link Checker ReportApertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
databendlabs/databend-docs#3511 ·
-
automated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100