vpt-sebraeds 0.0.76 → 0.0.78
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/LICENSE +20 -20
- package/README.md +225 -225
- package/components/Accordion/Accordion.stories.jsx +143 -143
- package/components/Accordion/README.md +144 -144
- package/components/Accordion/index.jsx +334 -334
- package/components/AccordionAvatar/AccordionAvatar.stories.jsx +27 -27
- package/components/AccordionAvatar/index.jsx +94 -94
- package/components/AdBanner/AdBanner.stories.jsx +62 -62
- package/components/AdBanner/index.jsx +92 -92
- package/components/Avatar/Avatar.stories.jsx +59 -59
- package/components/Avatar/index.jsx +102 -102
- package/components/Banner/Banner.stories.jsx +127 -127
- package/components/Banner/index.jsx +70 -70
- package/components/BottomSheet/BottomSheet.jsx +235 -235
- package/components/BottomSheet/BottomSheet.stories.jsx +541 -541
- package/components/BottomSheet/BottomSheetNomeEmpresa.jsx +110 -110
- package/components/BottomSheet/Components/ActionButtons.jsx +91 -91
- package/components/BottomSheet/Components/ListaDeEstados.jsx +337 -337
- package/components/BottomSheet/index.jsx +1 -1
- package/components/Breadcrumb/Breadcrumb.stories.jsx +62 -62
- package/components/Breadcrumb/index.jsx +88 -88
- package/components/Bullet/Bullet.stories.jsx +55 -55
- package/components/Bullet/index.jsx +224 -224
- package/components/Button/ButtonPrimary.stories.jsx +372 -372
- package/components/Button/index.jsx +528 -528
- package/components/ButtonGroup/ButtonGroup.stories.jsx +431 -383
- package/components/ButtonGroup/index.tsx +516 -439
- package/components/CNAESelectItem/CNAESelectItem.stories.jsx +195 -195
- package/components/CNAESelectItem/index.jsx +259 -259
- package/components/CNAESelectItem/padrao.js +1145 -1145
- package/components/CardNumber/CardNumber.stories.jsx +60 -60
- package/components/CardNumber/index.jsx +136 -136
- package/components/Checkbox/Checkbox.stories.jsx +70 -70
- package/components/Checkbox/index.jsx +125 -125
- package/components/CommitmentCard/CommitmentCard.stories.jsx +282 -282
- package/components/CommitmentCard/index.jsx +227 -227
- package/components/ContentBlock/ContentBlock.stories.tsx +48 -48
- package/components/ContentBlock/ContentBlock.tsx +50 -50
- package/components/ContentCard/ContentCard.stories.jsx +130 -130
- package/components/ContentCard/index.jsx +326 -326
- package/components/ContentRelatedCard/ContentRelatedCard.stories.jsx +79 -79
- package/components/ContentRelatedCard/index.jsx +79 -79
- package/components/ContentSlot/ContentSlot.stories.jsx +276 -276
- package/components/ContentSlot/index.jsx +196 -196
- package/components/CopyButton/CopyButton.stories.jsx +110 -110
- package/components/CopyButton/index.jsx +192 -192
- package/components/Datepicker/Datepicker.stories.jsx +291 -239
- package/components/Datepicker/MonthSelector.jsx +323 -323
- package/components/Datepicker/TimeSelector.jsx +261 -261
- package/components/Datepicker/index.jsx +815 -454
- package/components/DonutChart/DonutChart.stories.jsx +221 -221
- package/components/DonutChart/index.jsx +191 -191
- package/components/Dropdown/Dropdown.stories.jsx +331 -331
- package/components/Dropdown/index.jsx +556 -556
- package/components/DropdownCommitments/index.js +149 -149
- package/components/EmptySlot/EmptySlot.stories.jsx +114 -114
- package/components/EmptySlot/index.jsx +152 -152
- package/components/EventListItem/EventListItem.stories.tsx +179 -179
- package/components/EventListItem/index.tsx +532 -514
- package/components/ExpandableNumberDisplay/ExpandableNumberDisplay.stories.jsx +92 -92
- package/components/ExpandableNumberDisplay/index.tsx +126 -126
- package/components/FilterTag/FilterTag.stories.jsx +54 -54
- package/components/FilterTag/index.jsx +69 -69
- package/components/FilterableMultiSelect/FilterableMultiSelect.stories.jsx +63 -63
- package/components/FilterableMultiSelect/index.jsx +207 -207
- package/components/FilterableUniSelect/FilterableUniSelect.stories.jsx +68 -68
- package/components/FilterableUniSelect/index.jsx +251 -251
- package/components/GeneralInformationCard/GeneralInformationCard.stories.jsx +62 -62
- package/components/GeneralInformationCard/index.tsx +123 -123
- package/components/GettingStarted.jsx +38 -38
- package/components/Header/Header.stories.jsx +1075 -1008
- package/components/Header/HeaderV2.stories.jsx +1200 -1113
- package/components/Header/index.jsx +5 -5
- package/components/Header/v1/components/Context.jsx +32 -32
- package/components/Header/v1/components/Information.jsx +109 -107
- package/components/Header/v1/components/Shortcut.jsx +45 -45
- package/components/Header/v1/components/SwitchAccount.jsx +301 -211
- package/components/Header/v1/components/Variants.jsx +479 -478
- package/components/Header/v1/components/index.jsx +12 -12
- package/components/Header/v1/index.jsx +195 -195
- package/components/Header/v2/README.md +757 -724
- package/components/Header/v2/index.jsx +224 -219
- package/components/Header/v2/parts/BackButton.jsx +36 -36
- package/components/Header/v2/parts/Context.jsx +25 -25
- package/components/Header/v2/parts/Hero.jsx +68 -59
- package/components/Header/v2/parts/Information.jsx +68 -66
- package/components/Header/v2/parts/Shortcut.jsx +39 -39
- package/components/Header/v2/parts/SwitchAccount.jsx +381 -290
- package/components/Header/v2/parts/Variants.jsx +420 -353
- package/components/Header/v2/parts/index.jsx +22 -22
- package/components/Header/v2/styles.js +598 -598
- package/components/Icon/iconEnums.ts +285 -285
- package/components/Icon/index.jsx +38 -38
- package/components/Image/Image.stories.jsx +250 -250
- package/components/Image/index.jsx +175 -175
- package/components/Input/Input.stories.jsx +394 -394
- package/components/Input/InputUnderline.tsx +161 -161
- package/components/Input/index.jsx +305 -305
- package/components/Legend/Legend.stories.jsx +110 -110
- package/components/Legend/index.jsx +87 -87
- package/components/Link/Link.stories.jsx +78 -78
- package/components/Link/index.jsx +66 -66
- package/components/List/List.stories.jsx +57 -57
- package/components/List/index.jsx +64 -64
- package/components/ListItem/ListItem.stories.jsx +179 -179
- package/components/ListItem/index.jsx +532 -532
- package/components/MenuAccordion/MenuAccordion.stories.jsx +27 -27
- package/components/MenuAccordion/index.jsx +98 -98
- package/components/Modal/Modal.stories.jsx +151 -151
- package/components/Modal/index.jsx +249 -249
- package/components/Navbar/Navbar.stories.jsx +244 -244
- package/components/Navbar/index.jsx +130 -130
- package/components/NavigationItem/NavigationItem.stories.tsx +483 -454
- package/components/NavigationItem/index.tsx +792 -524
- package/components/NotificationBanner/NotificationBanner.stories.jsx +57 -57
- package/components/NotificationBanner/index.jsx +154 -154
- package/components/NotificationCard/NotificationCard.stories.jsx +93 -93
- package/components/NotificationCard/index.jsx +338 -338
- package/components/NotificationDialog/NotificationDialog.stories.jsx +205 -205
- package/components/NotificationDialog/README.md +104 -104
- package/components/NotificationDialog/index.jsx +283 -283
- package/components/NumberDisplay/NumberDisplay.stories.jsx +339 -339
- package/components/NumberDisplay/index.jsx +483 -483
- package/components/Pagination/Pagination.stories.jsx +170 -170
- package/components/Pagination/index.jsx +229 -229
- package/components/ProgressBar/ProgressBar.stories.jsx +355 -355
- package/components/ProgressBar/index.jsx +91 -91
- package/components/ProgressChart/ProgressChart.stories.jsx +312 -312
- package/components/ProgressChart/index.jsx +193 -193
- package/components/Quote/Quote.stories.tsx +32 -32
- package/components/Quote/Quote.tsx +60 -60
- package/components/RadioButton/RadioButton.stories.jsx +112 -112
- package/components/RadioButton/index.jsx +114 -114
- package/components/RangeSlider/RangeSlider.stories.jsx +165 -165
- package/components/RangeSlider/index.tsx +255 -255
- package/components/Rating/Rating.stories.jsx +196 -196
- package/components/Rating/index.jsx +187 -187
- package/components/SEIcon/CustomIcon/boletoDasMei.jsx +25 -25
- package/components/SEIcon/CustomIcon/calculadoraPrecoIdeal.jsx +22 -22
- package/components/SEIcon/CustomIcon/calculadoraValuation.jsx +21 -21
- package/components/SEIcon/CustomIcon/capacidadePagamento.jsx +22 -22
- package/components/SEIcon/CustomIcon/capitalGiro.jsx +22 -22
- package/components/SEIcon/CustomIcon/catalogoFornecedores.jsx +22 -22
- package/components/SEIcon/CustomIcon/creditoPermutas.jsx +22 -22
- package/components/SEIcon/CustomIcon/dataValidadeEpi.jsx +25 -25
- package/components/SEIcon/CustomIcon/diagnosticoEstrategico.jsx +22 -22
- package/components/SEIcon/CustomIcon/dominandoRedesSociais.jsx +22 -22
- package/components/SEIcon/CustomIcon/empresaGoogle.jsx +22 -22
- package/components/SEIcon/CustomIcon/fluxoCaixa.jsx +22 -22
- package/components/SEIcon/CustomIcon/fornecedoresTi.jsx +22 -22
- package/components/SEIcon/CustomIcon/geradoresIdeiasIA.jsx +25 -25
- package/components/SEIcon/CustomIcon/gestaoAgendamento.jsx +22 -22
- package/components/SEIcon/CustomIcon/impostoMei.jsx +22 -22
- package/components/SEIcon/CustomIcon/indicadorPorRegiao.jsx +27 -27
- package/components/SEIcon/CustomIcon/indicadoresMercado.jsx +25 -25
- package/components/SEIcon/CustomIcon/listaEpi.jsx +22 -22
- package/components/SEIcon/CustomIcon/lucroPotencial.jsx +24 -24
- package/components/SEIcon/CustomIcon/melhoresRegioesComerciais.jsx +24 -24
- package/components/SEIcon/CustomIcon/ncmComCodigoDeBarras.jsx +25 -25
- package/components/SEIcon/CustomIcon/pesquisaRegistroDeMarca.jsx +23 -23
- package/components/SEIcon/CustomIcon/planoNegocios.jsx +23 -23
- package/components/SEIcon/CustomIcon/postsInteligentes.jsx +24 -24
- package/components/SEIcon/CustomIcon/sebraeConecta.jsx +25 -25
- package/components/SEIcon/CustomIcon/segurancaTrabalho.jsx +25 -25
- package/components/SEIcon/CustomIcon/simuladorEmprestimo.jsx +22 -22
- package/components/SEIcon/SEIcon.stories.jsx +211 -211
- package/components/SEIcon/index.js +114 -114
- package/components/SEText/index.d.ts +74 -74
- package/components/SEText/index.js +171 -171
- package/components/SEText/styles.js +348 -348
- package/components/ScrollBar/ScrollBar.stories.tsx +65 -65
- package/components/ScrollBar/index.tsx +139 -139
- package/components/Search/Search.stories.jsx +161 -161
- package/components/Search/index.jsx +267 -267
- package/components/SegmentedButton/SegmentedButton.stories.jsx +274 -274
- package/components/SegmentedButton/index.jsx +195 -195
- package/components/Select/Select.stories.jsx +415 -415
- package/components/Select/index.jsx +321 -321
- package/components/SelectItem/SelectItem.stories.jsx +609 -609
- package/components/SelectItem/index.jsx +174 -174
- package/components/Shortcut/Shortcut.stories.jsx +202 -202
- package/components/Shortcut/index.jsx +294 -294
- package/components/ShowMore/ShowMore.stories.jsx +70 -70
- package/components/ShowMore/index.jsx +68 -68
- package/components/ShuffleItem/ShuffleItem.stories.jsx +278 -278
- package/components/ShuffleItem/index.jsx +723 -723
- package/components/Slider/Slider.stories.jsx +248 -248
- package/components/Slider/index.jsx +211 -211
- package/components/Tab/Tab.stories.jsx +323 -323
- package/components/Tab/index.jsx +483 -483
- package/components/Table/Table.stories.jsx +253 -253
- package/components/Table/index.jsx +432 -432
- package/components/Tag/Tag.stories.jsx +78 -78
- package/components/Tag/index.d.ts +10 -10
- package/components/Tag/index.jsx +129 -129
- package/components/TaggedInputText/TaggedInputText.stories.jsx +106 -106
- package/components/TaggedInputText/index.jsx +232 -232
- package/components/TaskCard/TaskCard.stories.jsx +468 -468
- package/components/TaskCard/assets/README.md +22 -22
- package/components/TaskCard/assets/example.js +10 -10
- package/components/TaskCard/components/EditIcon.jsx +78 -78
- package/components/TaskCard/components/SuccessContent.jsx +52 -52
- package/components/TaskCard/components/SuccessIcon.jsx +52 -52
- package/components/TaskCard/components/SuccessTitle.jsx +49 -49
- package/components/TaskCard/components/Tag.jsx +80 -80
- package/components/TaskCard/components/TagGroup.jsx +60 -60
- package/components/TaskCard/components/TaskDescription.jsx +51 -51
- package/components/TaskCard/components/index.js +7 -7
- package/components/TaskCard/index.jsx +317 -317
- package/components/Toast/Toast.stories.jsx +316 -316
- package/components/Toast/index.jsx +386 -386
- package/components/Toggle/Toggle.stories.jsx +161 -161
- package/components/Toggle/index.jsx +145 -145
- package/components/Tools/NavigationButton/NavigationButton.stories.jsx +140 -140
- package/components/Tools/NavigationButton/index.jsx +341 -341
- package/components/Tools/SearchResult/SearchResult.stories.jsx +112 -112
- package/components/Tools/SearchResult/index.jsx +106 -106
- package/components/TooltipCard/TooltipCard.stories.jsx +88 -88
- package/components/TooltipCard/index.jsx +355 -355
- package/components/Typography/Typography.stories.jsx +262 -262
- package/components/Typography/index.jsx +137 -137
- package/components/styles/colors.js +204 -204
- package/components/styles/fonts.js +15 -15
- package/components/styles/index,js +7 -7
- package/components/styles/metrics.js +13 -13
- package/components/styles/tokens.ts +222 -222
- package/components/styles.ts +79 -79
- package/components/utils/fontFamily.js +6 -6
- package/dist/components/Accordion/index.js +32 -32
- package/dist/components/AccordionAvatar/index.js +19 -19
- package/dist/components/AdBanner/index.js +12 -12
- package/dist/components/Avatar/index.js +6 -6
- package/dist/components/Banner/index.js +5 -5
- package/dist/components/BottomSheet/BottomSheet.js +31 -31
- package/dist/components/BottomSheet/BottomSheetNomeEmpresa.js +21 -21
- package/dist/components/BottomSheet/Components/ActionButtons.js +13 -13
- package/dist/components/BottomSheet/Components/ListaDeEstados.js +10 -10
- package/dist/components/Breadcrumb/index.js +7 -7
- package/dist/components/Bullet/index.js +14 -14
- package/dist/components/ButtomGroup/index.js +21 -21
- package/dist/components/Button/index.js +15 -15
- package/dist/components/ButtonGroup/index.d.ts +4 -2
- package/dist/components/ButtonGroup/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.js +68 -25
- package/dist/components/CNAESelectItem/index.js +54 -54
- package/dist/components/CNAESelectItem/padrao.js +213 -213
- package/dist/components/CardNumber/index.js +16 -16
- package/dist/components/Checkbox/index.js +7 -7
- package/dist/components/CommitmentCard/index.js +30 -30
- package/dist/components/ContentBlock/ContentBlock.js +7 -7
- package/dist/components/ContentCard/index.js +50 -50
- package/dist/components/ContentRelatedCard/index.js +10 -10
- package/dist/components/ContentSlot/index.js +31 -31
- package/dist/components/CopyButton/index.js +5 -5
- package/dist/components/Datepicker/MonthSelector.js +13 -13
- package/dist/components/Datepicker/TimeSelector.js +15 -15
- package/dist/components/Datepicker/index.d.ts.map +1 -1
- package/dist/components/Datepicker/index.js +485 -149
- package/dist/components/DonutChart/index.js +19 -19
- package/dist/components/Dropdown/index.js +66 -66
- package/dist/components/DropdownCommitments/index.js +24 -24
- package/dist/components/EmptySlot/index.js +19 -19
- package/dist/components/EventListItem/index.d.ts.map +1 -1
- package/dist/components/EventListItem/index.js +61 -43
- package/dist/components/ExpandableNumberDisplay/index.js +19 -19
- package/dist/components/FilterTag/index.js +7 -7
- package/dist/components/FilterableMultiSelect/index.js +29 -29
- package/dist/components/FilterableUniSelect/index.js +33 -33
- package/dist/components/GeneralInformationCard/index.js +24 -24
- package/dist/components/GettingStarted.js +8 -8
- package/dist/components/Header/components/Context.d.ts +7 -7
- package/dist/components/Header/components/Context.js +21 -21
- package/dist/components/Header/components/Information.d.ts +6 -6
- package/dist/components/Header/components/Information.js +72 -72
- package/dist/components/Header/components/Shortcut.d.ts +5 -5
- package/dist/components/Header/components/Shortcut.js +25 -25
- package/dist/components/Header/components/SwitchAccount.d.ts +8 -8
- package/dist/components/Header/components/SwitchAccount.js +170 -170
- package/dist/components/Header/components/Variants.d.ts +22 -22
- package/dist/components/Header/components/Variants.js +371 -371
- package/dist/components/Header/components/index.d.ts +33 -33
- package/dist/components/Header/components/index.js +10 -10
- package/dist/components/Header/v1/components/Context.js +2 -2
- package/dist/components/Header/v1/components/Information.d.ts +2 -1
- package/dist/components/Header/v1/components/Information.d.ts.map +1 -1
- package/dist/components/Header/v1/components/Information.js +16 -15
- package/dist/components/Header/v1/components/SwitchAccount.d.ts +2 -1
- package/dist/components/Header/v1/components/SwitchAccount.d.ts.map +1 -1
- package/dist/components/Header/v1/components/SwitchAccount.js +124 -42
- package/dist/components/Header/v1/components/Variants.d.ts.map +1 -1
- package/dist/components/Header/v1/components/Variants.js +84 -84
- package/dist/components/Header/v1/index.js +5 -5
- package/dist/components/Header/v2/index.js +11 -6
- package/dist/components/Header/v2/parts/BackButton.js +2 -2
- package/dist/components/Header/v2/parts/Context.js +2 -2
- package/dist/components/Header/v2/parts/Hero.d.ts +2 -1
- package/dist/components/Header/v2/parts/Hero.d.ts.map +1 -1
- package/dist/components/Header/v2/parts/Hero.js +14 -10
- package/dist/components/Header/v2/parts/Information.d.ts +2 -1
- package/dist/components/Header/v2/parts/Information.d.ts.map +1 -1
- package/dist/components/Header/v2/parts/Information.js +14 -13
- package/dist/components/Header/v2/parts/SwitchAccount.d.ts +2 -1
- package/dist/components/Header/v2/parts/SwitchAccount.d.ts.map +1 -1
- package/dist/components/Header/v2/parts/SwitchAccount.js +147 -66
- package/dist/components/Header/v2/parts/Variants.d.ts +21 -0
- package/dist/components/Header/v2/parts/Variants.d.ts.map +1 -1
- package/dist/components/Header/v2/parts/Variants.js +188 -148
- package/dist/components/Header/v2/parts/index.d.ts +18 -0
- package/dist/components/Image/index.js +22 -22
- package/dist/components/Input/InputUnderline.js +7 -7
- package/dist/components/Input/index.js +14 -14
- package/dist/components/Legend/index.js +8 -8
- package/dist/components/Link/index.js +7 -7
- package/dist/components/List/index.js +7 -7
- package/dist/components/ListItem/index.js +74 -74
- package/dist/components/MenuAccordion/index.js +21 -21
- package/dist/components/Modal/index.js +38 -38
- package/dist/components/Navbar/index.js +9 -9
- package/dist/components/NavigationItem/index.d.ts +73 -10
- package/dist/components/NavigationItem/index.d.ts.map +1 -1
- package/dist/components/NavigationItem/index.js +300 -145
- package/dist/components/NotificationBanner/index.js +8 -8
- package/dist/components/NotificationCard/index.js +41 -41
- package/dist/components/NotificationDialog/index.js +46 -46
- package/dist/components/NumberDisplay/index.js +24 -24
- package/dist/components/Pagination/index.js +23 -23
- package/dist/components/ProgressBar/index.js +14 -14
- package/dist/components/ProgressChart/index.js +29 -29
- package/dist/components/Quote/Quote.js +9 -9
- package/dist/components/RadioButton/index.js +7 -7
- package/dist/components/RangeSlider/index.js +32 -32
- package/dist/components/Rating/index.js +16 -16
- package/dist/components/SEIcon/CustomIcon/boletoDasMei.js +6 -6
- package/dist/components/SEIcon/CustomIcon/calculadoraPrecoIdeal.js +3 -3
- package/dist/components/SEIcon/CustomIcon/calculadoraValuation.js +3 -3
- package/dist/components/SEIcon/CustomIcon/capacidadePagamento.js +3 -3
- package/dist/components/SEIcon/CustomIcon/capitalGiro.js +3 -3
- package/dist/components/SEIcon/CustomIcon/catalogoFornecedores.js +3 -3
- package/dist/components/SEIcon/CustomIcon/creditoPermutas.js +3 -3
- package/dist/components/SEIcon/CustomIcon/dataValidadeEpi.js +6 -6
- package/dist/components/SEIcon/CustomIcon/diagnosticoEstrategico.js +3 -3
- package/dist/components/SEIcon/CustomIcon/dominandoRedesSociais.js +3 -3
- package/dist/components/SEIcon/CustomIcon/empresaGoogle.js +3 -3
- package/dist/components/SEIcon/CustomIcon/fluxoCaixa.js +3 -3
- package/dist/components/SEIcon/CustomIcon/fornecedoresTi.js +3 -3
- package/dist/components/SEIcon/CustomIcon/geradoresIdeiasIA.js +6 -6
- package/dist/components/SEIcon/CustomIcon/gestaoAgendamento.js +3 -3
- package/dist/components/SEIcon/CustomIcon/impostoMei.js +3 -3
- package/dist/components/SEIcon/CustomIcon/indicadorPorRegiao.js +6 -6
- package/dist/components/SEIcon/CustomIcon/indicadoresMercado.js +6 -6
- package/dist/components/SEIcon/CustomIcon/listaEpi.js +3 -3
- package/dist/components/SEIcon/CustomIcon/lucroPotencial.js +6 -6
- package/dist/components/SEIcon/CustomIcon/melhoresRegioesComerciais.js +6 -6
- package/dist/components/SEIcon/CustomIcon/ncmComCodigoDeBarras.js +6 -6
- package/dist/components/SEIcon/CustomIcon/pesquisaRegistroDeMarca.js +3 -3
- package/dist/components/SEIcon/CustomIcon/planoNegocios.js +3 -3
- package/dist/components/SEIcon/CustomIcon/postsInteligentes.js +6 -6
- package/dist/components/SEIcon/CustomIcon/sebraeConecta.js +6 -6
- package/dist/components/SEIcon/CustomIcon/segurancaTrabalho.js +6 -6
- package/dist/components/SEIcon/CustomIcon/simuladorEmprestimo.js +3 -3
- package/dist/components/SEText/index.js +2 -2
- package/dist/components/ScrollBar/index.js +8 -8
- package/dist/components/Search/Search.d.ts +14 -14
- package/dist/components/Search/Search.js +272 -272
- package/dist/components/Search/index.js +17 -17
- package/dist/components/SegmentedButton/index.js +10 -10
- package/dist/components/Select/index.js +16 -16
- package/dist/components/SelectItem/index.js +6 -6
- package/dist/components/Shortcut/index.js +14 -14
- package/dist/components/ShowMore/index.js +7 -7
- package/dist/components/ShuffleItem/index.js +98 -98
- package/dist/components/Slider/index.js +20 -20
- package/dist/components/Tab/index.js +26 -26
- package/dist/components/Table/index.js +35 -35
- package/dist/components/Tag/index.js +5 -5
- package/dist/components/TaggedInputText/index.js +20 -20
- package/dist/components/TaskCard/assets/README.md +22 -22
- package/dist/components/TaskCard/assets/example.js +10 -10
- package/dist/components/TaskCard/components/EditIcon.js +2 -2
- package/dist/components/TaskCard/components/SuccessContent.js +3 -3
- package/dist/components/TaskCard/components/SuccessIcon.js +2 -2
- package/dist/components/TaskCard/components/SuccessTitle.js +2 -2
- package/dist/components/TaskCard/components/Tag.js +4 -4
- package/dist/components/TaskCard/components/TagGroup.js +4 -4
- package/dist/components/TaskCard/components/TaskDescription.js +2 -2
- package/dist/components/TaskCard/index.js +51 -51
- package/dist/components/Toast/index.js +36 -36
- package/dist/components/Toggle/index.js +3 -3
- package/dist/components/Tools/NavigationButton/index.js +53 -53
- package/dist/components/Tools/SearchResult/index.js +19 -19
- package/dist/components/TooltipCard/index.js +46 -46
- package/dist/components/Typography/index.js +2 -2
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -0
- package/package.json +124 -124
- package/src/index.ts +107 -100
|
@@ -1,454 +1,483 @@
|
|
|
1
|
-
// NavigationItem.stories.tsx
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { View, Text } from 'react-native';
|
|
4
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
5
|
-
import NavigationItem from './index';
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof NavigationItem> = {
|
|
8
|
-
title: 'Molecules/NavigationItem',
|
|
9
|
-
component: NavigationItem,
|
|
10
|
-
argTypes: {
|
|
11
|
-
iconName: {
|
|
12
|
-
control: 'select',
|
|
13
|
-
options: [
|
|
14
|
-
'file-text-line',
|
|
15
|
-
'information-line',
|
|
16
|
-
'home-line',
|
|
17
|
-
'home-fill',
|
|
18
|
-
'check-line',
|
|
19
|
-
'add-circle-line',
|
|
20
|
-
'arrow-right-line',
|
|
21
|
-
'notification-2-line',
|
|
22
|
-
'chat-3-line',
|
|
23
|
-
'close-line',
|
|
24
|
-
'subtract-line',
|
|
25
|
-
],
|
|
26
|
-
defaultValue: 'file-text-line',
|
|
27
|
-
},
|
|
28
|
-
label: {
|
|
29
|
-
control: 'text',
|
|
30
|
-
defaultValue: 'Label',
|
|
31
|
-
},
|
|
32
|
-
variant: {
|
|
33
|
-
control: 'radio',
|
|
34
|
-
options: ['default', 'selected', 'disabled'],
|
|
35
|
-
defaultValue: 'default',
|
|
36
|
-
},
|
|
37
|
-
size: {
|
|
38
|
-
control: 'radio',
|
|
39
|
-
options: ['small', 'medium', 'large'],
|
|
40
|
-
defaultValue: 'medium',
|
|
41
|
-
},
|
|
42
|
-
showArrow: {
|
|
43
|
-
control: 'boolean',
|
|
44
|
-
defaultValue: true,
|
|
45
|
-
},
|
|
46
|
-
badge: {
|
|
47
|
-
control: 'text',
|
|
48
|
-
},
|
|
49
|
-
description: {
|
|
50
|
-
control: 'text',
|
|
51
|
-
},
|
|
52
|
-
layout: {
|
|
53
|
-
control: 'radio',
|
|
54
|
-
options: ['standard', 'expanded'],
|
|
55
|
-
defaultValue: 'standard',
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
control: '
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
<
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<View>
|
|
205
|
-
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}
|
|
206
|
-
<NavigationItem
|
|
207
|
-
iconName="file-text-line"
|
|
208
|
-
label="Label"
|
|
209
|
-
variant="
|
|
210
|
-
size="medium"
|
|
211
|
-
showArrow={true}
|
|
212
|
-
badge="Novo"
|
|
213
|
-
/>
|
|
214
|
-
</View>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
<View>
|
|
248
|
-
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>
|
|
249
|
-
<
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
<
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
<
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
<
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
<NavigationItem
|
|
397
|
-
iconName="file-text-line"
|
|
398
|
-
label="Label
|
|
399
|
-
variant="
|
|
400
|
-
size="medium"
|
|
401
|
-
showArrow={
|
|
402
|
-
badge="Novo"
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
<Text style={{ fontSize:
|
|
421
|
-
<
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
1
|
+
// NavigationItem.stories.tsx
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { View, Text } from 'react-native';
|
|
4
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
5
|
+
import NavigationItem from './index';
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof NavigationItem> = {
|
|
8
|
+
title: 'Molecules/NavigationItem',
|
|
9
|
+
component: NavigationItem,
|
|
10
|
+
argTypes: {
|
|
11
|
+
iconName: {
|
|
12
|
+
control: 'select',
|
|
13
|
+
options: [
|
|
14
|
+
'file-text-line',
|
|
15
|
+
'information-line',
|
|
16
|
+
'home-line',
|
|
17
|
+
'home-fill',
|
|
18
|
+
'check-line',
|
|
19
|
+
'add-circle-line',
|
|
20
|
+
'arrow-right-line',
|
|
21
|
+
'notification-2-line',
|
|
22
|
+
'chat-3-line',
|
|
23
|
+
'close-line',
|
|
24
|
+
'subtract-line',
|
|
25
|
+
],
|
|
26
|
+
defaultValue: 'file-text-line',
|
|
27
|
+
},
|
|
28
|
+
label: {
|
|
29
|
+
control: 'text',
|
|
30
|
+
defaultValue: 'Label',
|
|
31
|
+
},
|
|
32
|
+
variant: {
|
|
33
|
+
control: 'radio',
|
|
34
|
+
options: ['default', 'selected', 'disabled', 'highlight'],
|
|
35
|
+
defaultValue: 'default',
|
|
36
|
+
},
|
|
37
|
+
size: {
|
|
38
|
+
control: 'radio',
|
|
39
|
+
options: ['small', 'medium', 'large'],
|
|
40
|
+
defaultValue: 'medium',
|
|
41
|
+
},
|
|
42
|
+
showArrow: {
|
|
43
|
+
control: 'boolean',
|
|
44
|
+
defaultValue: true,
|
|
45
|
+
},
|
|
46
|
+
badge: {
|
|
47
|
+
control: 'text',
|
|
48
|
+
},
|
|
49
|
+
description: {
|
|
50
|
+
control: 'text',
|
|
51
|
+
},
|
|
52
|
+
layout: {
|
|
53
|
+
control: 'radio',
|
|
54
|
+
options: ['standard', 'expanded', 'list'],
|
|
55
|
+
defaultValue: 'standard',
|
|
56
|
+
},
|
|
57
|
+
labelTone: {
|
|
58
|
+
control: 'radio',
|
|
59
|
+
options: ['regular', 'semibold'],
|
|
60
|
+
defaultValue: 'regular',
|
|
61
|
+
},
|
|
62
|
+
expandedLabelTone: {
|
|
63
|
+
control: 'radio',
|
|
64
|
+
options: ['regular', 'semibold'],
|
|
65
|
+
},
|
|
66
|
+
iconBackgroundColor: {
|
|
67
|
+
control: 'color',
|
|
68
|
+
},
|
|
69
|
+
onPress: { action: 'Navigation Item Clicked' },
|
|
70
|
+
},
|
|
71
|
+
parameters: {
|
|
72
|
+
layout: 'padded',
|
|
73
|
+
},
|
|
74
|
+
decorators: [
|
|
75
|
+
(Story) => (
|
|
76
|
+
<View style={{ width: '100%', padding: 16 }}>
|
|
77
|
+
<Story />
|
|
78
|
+
</View>
|
|
79
|
+
),
|
|
80
|
+
],
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export default meta;
|
|
84
|
+
type Story = StoryObj<typeof NavigationItem>;
|
|
85
|
+
|
|
86
|
+
export const Playground: Story = {
|
|
87
|
+
args: {
|
|
88
|
+
iconName: 'file-text-line',
|
|
89
|
+
label: 'Label',
|
|
90
|
+
variant: 'default',
|
|
91
|
+
size: 'medium',
|
|
92
|
+
showArrow: true,
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const Default: Story = {
|
|
97
|
+
name: 'Default',
|
|
98
|
+
args: {
|
|
99
|
+
iconName: 'file-text-line',
|
|
100
|
+
label: 'Label',
|
|
101
|
+
variant: 'default',
|
|
102
|
+
size: 'medium',
|
|
103
|
+
showArrow: true,
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export const HighlightBanner: Story = {
|
|
108
|
+
name: 'Highlight (Banner)',
|
|
109
|
+
render: () => (
|
|
110
|
+
<View style={{ width: '100%', backgroundColor: '#F5F5F5', padding: 16 }}>
|
|
111
|
+
<NavigationItem
|
|
112
|
+
iconName="calendar-event-line"
|
|
113
|
+
label="Você tem 3 compromissos próximos"
|
|
114
|
+
variant="highlight"
|
|
115
|
+
size="large"
|
|
116
|
+
showArrow={true}
|
|
117
|
+
iconBackgroundColor="transparent"
|
|
118
|
+
>
|
|
119
|
+
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
120
|
+
<NavigationItem.Icon />
|
|
121
|
+
<NavigationItem.Label />
|
|
122
|
+
<NavigationItem.Arrow size={20} />
|
|
123
|
+
</View>
|
|
124
|
+
</NavigationItem>
|
|
125
|
+
</View>
|
|
126
|
+
),
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
export const NavigationMenu: Story = {
|
|
131
|
+
name: 'Navigation Menu Example',
|
|
132
|
+
render: () => (
|
|
133
|
+
<View style={{ gap: 12, width: '100%' }}>
|
|
134
|
+
<NavigationItem
|
|
135
|
+
iconName="information-line"
|
|
136
|
+
label="Defina um objetivo"
|
|
137
|
+
variant="default"
|
|
138
|
+
size="medium"
|
|
139
|
+
showArrow={true}
|
|
140
|
+
badge="Novo"
|
|
141
|
+
onPress={() => console.log('Objetivo clicked')}
|
|
142
|
+
/>
|
|
143
|
+
<NavigationItem
|
|
144
|
+
iconName="information-line"
|
|
145
|
+
label="Informações"
|
|
146
|
+
variant="selected"
|
|
147
|
+
size="medium"
|
|
148
|
+
showArrow={true}
|
|
149
|
+
badge="Novo"
|
|
150
|
+
onPress={() => console.log('Info clicked')}
|
|
151
|
+
/>
|
|
152
|
+
<NavigationItem
|
|
153
|
+
iconName="information-line"
|
|
154
|
+
label="Documentos"
|
|
155
|
+
variant="default"
|
|
156
|
+
size="medium"
|
|
157
|
+
showArrow={true}
|
|
158
|
+
onPress={() => console.log('Documents clicked')}
|
|
159
|
+
/>
|
|
160
|
+
<NavigationItem
|
|
161
|
+
iconName="information-line"
|
|
162
|
+
label="Configurações"
|
|
163
|
+
variant="default"
|
|
164
|
+
size="medium"
|
|
165
|
+
showArrow={true}
|
|
166
|
+
onPress={() => console.log('Settings clicked')}
|
|
167
|
+
/>
|
|
168
|
+
|
|
169
|
+
</View>
|
|
170
|
+
),
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export const FigmaVariations: Story = {
|
|
174
|
+
name: 'Figma Exact Replica',
|
|
175
|
+
render: () => (
|
|
176
|
+
<View style={{ gap: 16, padding: 16, backgroundColor: '#F5F5F5' }}>
|
|
177
|
+
{/* Default State com badge "Novo" */}
|
|
178
|
+
<View>
|
|
179
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Default - Badge grudado perfeitamente (top:0, right:0)</Text>
|
|
180
|
+
<NavigationItem
|
|
181
|
+
iconName="file-text-line"
|
|
182
|
+
label="Label"
|
|
183
|
+
variant="default"
|
|
184
|
+
size="medium"
|
|
185
|
+
showArrow={true}
|
|
186
|
+
badge="Novo"
|
|
187
|
+
/>
|
|
188
|
+
</View>
|
|
189
|
+
|
|
190
|
+
{/* Selected State com badge "Novo" */}
|
|
191
|
+
<View>
|
|
192
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected - Badge grudado na borda azul</Text>
|
|
193
|
+
<NavigationItem
|
|
194
|
+
iconName="file-text-line"
|
|
195
|
+
label="Label"
|
|
196
|
+
variant="selected"
|
|
197
|
+
size="medium"
|
|
198
|
+
showArrow={true}
|
|
199
|
+
badge="Novo"
|
|
200
|
+
/>
|
|
201
|
+
</View>
|
|
202
|
+
|
|
203
|
+
{/* Demonstração sem vazar para fora */}
|
|
204
|
+
<View style={{ backgroundColor: '#FFE4E1', padding: 8, borderRadius: 8 }}>
|
|
205
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>✅ Badge grudado + border radius correto + seta mantida</Text>
|
|
206
|
+
<NavigationItem
|
|
207
|
+
iconName="file-text-line"
|
|
208
|
+
label="Label com texto longo para testar"
|
|
209
|
+
variant="default"
|
|
210
|
+
size="medium"
|
|
211
|
+
showArrow={true}
|
|
212
|
+
badge="Novo"
|
|
213
|
+
/>
|
|
214
|
+
</View>
|
|
215
|
+
</View>
|
|
216
|
+
),
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
export const AllWithArrow: Story = {
|
|
220
|
+
name: 'Todas com Seta (como no Figma)',
|
|
221
|
+
render: () => (
|
|
222
|
+
<View style={{ gap: 16, padding: 16, backgroundColor: '#F5F5F5' }}>
|
|
223
|
+
<View>
|
|
224
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Default + Badge + Seta</Text>
|
|
225
|
+
<NavigationItem
|
|
226
|
+
iconName="file-text-line"
|
|
227
|
+
label="Label"
|
|
228
|
+
variant="default"
|
|
229
|
+
size="medium"
|
|
230
|
+
showArrow={true}
|
|
231
|
+
badge="Novo"
|
|
232
|
+
/>
|
|
233
|
+
</View>
|
|
234
|
+
|
|
235
|
+
<View>
|
|
236
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected + Badge + Seta</Text>
|
|
237
|
+
<NavigationItem
|
|
238
|
+
iconName="file-text-line"
|
|
239
|
+
label="Label"
|
|
240
|
+
variant="selected"
|
|
241
|
+
size="medium"
|
|
242
|
+
showArrow={true}
|
|
243
|
+
badge="Novo"
|
|
244
|
+
/>
|
|
245
|
+
</View>
|
|
246
|
+
|
|
247
|
+
<View>
|
|
248
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Default sem Badge + Seta</Text>
|
|
249
|
+
<NavigationItem
|
|
250
|
+
iconName="file-text-line"
|
|
251
|
+
label="Label"
|
|
252
|
+
variant="default"
|
|
253
|
+
size="medium"
|
|
254
|
+
showArrow={true}
|
|
255
|
+
/>
|
|
256
|
+
</View>
|
|
257
|
+
|
|
258
|
+
<View>
|
|
259
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected sem Badge + Seta</Text>
|
|
260
|
+
<NavigationItem
|
|
261
|
+
iconName="file-text-line"
|
|
262
|
+
label="Label"
|
|
263
|
+
variant="selected"
|
|
264
|
+
size="medium"
|
|
265
|
+
showArrow={true}
|
|
266
|
+
/>
|
|
267
|
+
</View>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
</View>
|
|
271
|
+
),
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
export const ArrowSpecifications: Story = {
|
|
275
|
+
name: 'Seta com Especificações do Figma',
|
|
276
|
+
render: () => (
|
|
277
|
+
<View style={{ gap: 16, padding: 16, backgroundColor: '#F5F5F5' }}>
|
|
278
|
+
<View>
|
|
279
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Seta - Figma Specs:</Text>
|
|
280
|
+
<Text style={{ fontSize: 10, color: '#666', marginBottom: 8 }}>• Size: 13.33px | Color: #1B244B | Position: top 3.52px, left 3.33px</Text>
|
|
281
|
+
<NavigationItem
|
|
282
|
+
iconName="file-text-line"
|
|
283
|
+
label="Default com seta Figma"
|
|
284
|
+
variant="default"
|
|
285
|
+
size="medium"
|
|
286
|
+
showArrow={true}
|
|
287
|
+
/>
|
|
288
|
+
</View>
|
|
289
|
+
|
|
290
|
+
<View>
|
|
291
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected com seta Figma:</Text>
|
|
292
|
+
<NavigationItem
|
|
293
|
+
iconName="file-text-line"
|
|
294
|
+
label="Selected com seta Figma"
|
|
295
|
+
variant="selected"
|
|
296
|
+
size="medium"
|
|
297
|
+
showArrow={true}
|
|
298
|
+
/>
|
|
299
|
+
</View>
|
|
300
|
+
|
|
301
|
+
<View>
|
|
302
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Com Badge + Seta Figma:</Text>
|
|
303
|
+
<NavigationItem
|
|
304
|
+
iconName="file-text-line"
|
|
305
|
+
label="Badge + Seta Figma"
|
|
306
|
+
variant="default"
|
|
307
|
+
size="medium"
|
|
308
|
+
showArrow={true}
|
|
309
|
+
badge="Novo"
|
|
310
|
+
/>
|
|
311
|
+
</View>
|
|
312
|
+
</View>
|
|
313
|
+
),
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
export const BadgeSpecifications: Story = {
|
|
319
|
+
name: 'Badge "Novo" com Especificações do Figma',
|
|
320
|
+
render: () => (
|
|
321
|
+
<View style={{ gap: 16, padding: 16, backgroundColor: '#F5F5F5' }}>
|
|
322
|
+
<View>
|
|
323
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Badge - Figma Specs:</Text>
|
|
324
|
+
<Text style={{ fontSize: 10, color: '#666', marginBottom: 8 }}>• Badge: 56px x 20px | Text: 29px x 18px | Style: dark (#1B244B)</Text>
|
|
325
|
+
<NavigationItem
|
|
326
|
+
iconName="file-text-line"
|
|
327
|
+
label="Default com Badge Figma"
|
|
328
|
+
variant="default"
|
|
329
|
+
size="medium"
|
|
330
|
+
showArrow={true}
|
|
331
|
+
badge="Novo"
|
|
332
|
+
/>
|
|
333
|
+
</View>
|
|
334
|
+
|
|
335
|
+
<View>
|
|
336
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected com Badge Figma (bordas cortadas embaixo):</Text>
|
|
337
|
+
<NavigationItem
|
|
338
|
+
iconName="file-text-line"
|
|
339
|
+
label="Selected com Badge Figma"
|
|
340
|
+
variant="selected"
|
|
341
|
+
size="medium"
|
|
342
|
+
showArrow={true}
|
|
343
|
+
badge="Novo"
|
|
344
|
+
/>
|
|
345
|
+
</View>
|
|
346
|
+
|
|
347
|
+
</View>
|
|
348
|
+
),
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export const BadgeVariations: Story = {
|
|
352
|
+
name: 'Variações de Badge (Standard vs Rounded)',
|
|
353
|
+
render: () => (
|
|
354
|
+
<View style={{ gap: 16, padding: 16, backgroundColor: '#F5F5F5', width: '100%' }}>
|
|
355
|
+
<View style={{ width: '100%' }}>
|
|
356
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Badge Standard (cantos específicos):</Text>
|
|
357
|
+
<NavigationItem
|
|
358
|
+
iconName="file-text-line"
|
|
359
|
+
label="Label"
|
|
360
|
+
variant="default"
|
|
361
|
+
size="medium"
|
|
362
|
+
showArrow={true}
|
|
363
|
+
badge="Novo"
|
|
364
|
+
badgeStyle="standard"
|
|
365
|
+
/>
|
|
366
|
+
</View>
|
|
367
|
+
|
|
368
|
+
<View style={{ width: '100%' }}>
|
|
369
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Badge Rounded (todos os cantos):</Text>
|
|
370
|
+
<NavigationItem
|
|
371
|
+
iconName="file-text-line"
|
|
372
|
+
label="Label"
|
|
373
|
+
variant="default"
|
|
374
|
+
size="medium"
|
|
375
|
+
showArrow={true}
|
|
376
|
+
badge="Novo"
|
|
377
|
+
badgeStyle="rounded"
|
|
378
|
+
/>
|
|
379
|
+
</View>
|
|
380
|
+
|
|
381
|
+
<View style={{ width: '100%' }}>
|
|
382
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Selected com Badge Rounded:</Text>
|
|
383
|
+
<NavigationItem
|
|
384
|
+
iconName="file-text-line"
|
|
385
|
+
label="Label"
|
|
386
|
+
variant="selected"
|
|
387
|
+
size="medium"
|
|
388
|
+
showArrow={true}
|
|
389
|
+
badge="Novo"
|
|
390
|
+
badgeStyle="rounded"
|
|
391
|
+
/>
|
|
392
|
+
</View>
|
|
393
|
+
|
|
394
|
+
<View style={{ width: '100%' }}>
|
|
395
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Disabled com Badge Rounded:</Text>
|
|
396
|
+
<NavigationItem
|
|
397
|
+
iconName="file-text-line"
|
|
398
|
+
label="Label"
|
|
399
|
+
variant="disabled"
|
|
400
|
+
size="medium"
|
|
401
|
+
showArrow={false}
|
|
402
|
+
badge="Novo"
|
|
403
|
+
badgeStyle="rounded"
|
|
404
|
+
/>
|
|
405
|
+
</View>
|
|
406
|
+
</View>
|
|
407
|
+
),
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
export const FigmaExactSpecifications: Story = {
|
|
411
|
+
name: 'Especificações Exatas do Figma',
|
|
412
|
+
render: () => (
|
|
413
|
+
<View style={{ padding: 16, backgroundColor: '#F5F5F5', width: '100%' }}>
|
|
414
|
+
<View style={{ width: '100%' }}>
|
|
415
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Especificações do Layout:</Text>
|
|
416
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Flow: Horizontal</Text>
|
|
417
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Width: 100% (responsivo, adaptado do Figma)</Text>
|
|
418
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Height: Auto (adaptativo ao conteúdo)</Text>
|
|
419
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Radius: radius/m</Text>
|
|
420
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Border: width/s (borda normal)</Text>
|
|
421
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Border Top: width/l (borda superior acentuada)</Text>
|
|
422
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Justify: space-between</Text>
|
|
423
|
+
<Text style={{ fontSize: 10, color: '#666' }}>• Padding: 24px</Text>
|
|
424
|
+
</View>
|
|
425
|
+
|
|
426
|
+
<View style={{ marginTop: 16, padding: 8, backgroundColor: '#E0E0E0', borderRadius: 8 }}>
|
|
427
|
+
<NavigationItem
|
|
428
|
+
iconName="file-text-line"
|
|
429
|
+
label="Label - Especificações do Figma"
|
|
430
|
+
variant="default"
|
|
431
|
+
size="medium"
|
|
432
|
+
showArrow={true}
|
|
433
|
+
badge="Novo"
|
|
434
|
+
/>
|
|
435
|
+
</View>
|
|
436
|
+
|
|
437
|
+
<View style={{ marginTop: 16 }}>
|
|
438
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Com Badge Rounded (todos os cantos):</Text>
|
|
439
|
+
<NavigationItem
|
|
440
|
+
iconName="file-text-line"
|
|
441
|
+
label="Label - Badge com cantos arredondados"
|
|
442
|
+
variant="default"
|
|
443
|
+
size="medium"
|
|
444
|
+
showArrow={true}
|
|
445
|
+
badge="Novo"
|
|
446
|
+
badgeStyle="rounded"
|
|
447
|
+
/>
|
|
448
|
+
</View>
|
|
449
|
+
|
|
450
|
+
<View style={{ marginTop: 16 }}>
|
|
451
|
+
<Text style={{ fontSize: 12, color: '#666', marginBottom: 8 }}>Com Badge Standard (cantos específicos):</Text>
|
|
452
|
+
<NavigationItem
|
|
453
|
+
iconName="file-text-line"
|
|
454
|
+
label="Label - Badge com cantos específicos"
|
|
455
|
+
variant="default"
|
|
456
|
+
size="medium"
|
|
457
|
+
showArrow={true}
|
|
458
|
+
badge="Novo"
|
|
459
|
+
badgeStyle="standard"
|
|
460
|
+
/>
|
|
461
|
+
</View>
|
|
462
|
+
</View>
|
|
463
|
+
),
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
export const FullScreenWidth: Story = {
|
|
467
|
+
name: 'Largura Total da Tela',
|
|
468
|
+
parameters: {
|
|
469
|
+
layout: 'fullscreen',
|
|
470
|
+
},
|
|
471
|
+
render: () => (
|
|
472
|
+
<View style={{ width: '100%', padding: 0 }}>
|
|
473
|
+
<NavigationItem
|
|
474
|
+
iconName="information-line"
|
|
475
|
+
label="Item com largura total da tela (sem margens)"
|
|
476
|
+
variant="default"
|
|
477
|
+
size="medium"
|
|
478
|
+
showArrow={true}
|
|
479
|
+
badge="Novo"
|
|
480
|
+
/>
|
|
481
|
+
</View>
|
|
482
|
+
),
|
|
483
|
+
};
|