@nextelco/common-ui 1.7.39 → 1.7.40
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/package.json +2 -2
- package/dist/types/components/atoms/Acronym/Acronym.stories.d.ts +0 -9
- package/dist/types/components/atoms/BreadCrumb/BreadCrumb.stories.d.ts +0 -10
- package/dist/types/components/atoms/Button/Button.stories.d.ts +0 -432
- package/dist/types/components/atoms/Button/variants/ActionButton.stories.d.ts +0 -8
- package/dist/types/components/atoms/Button/variants/FilterButton.stories.d.ts +0 -7
- package/dist/types/components/atoms/Button/variants/IconButton.stories.d.ts +0 -11
- package/dist/types/components/atoms/Button/variants/NavButton.stories.d.ts +0 -7
- package/dist/types/components/atoms/Button/variants/TabButton.stories.d.ts +0 -7
- package/dist/types/components/atoms/Card/Card1.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card2.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card3.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card4.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card5.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card6.stories.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card7.stories.d.ts +0 -6
- package/dist/types/components/atoms/Field/Field.stories.d.ts +0 -9
- package/dist/types/components/atoms/IconText/IconText.stories.d.ts +0 -8
- package/dist/types/components/atoms/Label/Label.stories.d.ts +0 -19
- package/dist/types/components/atoms/MultiTagPickerTag/MultiTagPickerTag.stories.d.ts +0 -7
- package/dist/types/components/atoms/Select/Select.stories.d.ts +0 -5
- package/dist/types/components/atoms/Stack/Stack.stories.d.ts +0 -11
- package/dist/types/components/atoms/Switch/CustomSwitch.stories.d.ts +0 -8
- package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +0 -6
- package/dist/types/components/layout/Error/Error.stories.d.ts +0 -10
- package/dist/types/components/layout/Footer/Footer.stories.d.ts +0 -6
- package/dist/types/components/layout/Header/Header.stories.d.ts +0 -34
- package/dist/types/components/layout/Spinner/Spinner.stories.d.ts +0 -6
- package/dist/types/components/molecules/FormItem/FormItem.stories.d.ts +0 -7
- package/dist/types/components/molecules/Modal/Modal.stories.d.ts +0 -6
- package/dist/types/components/molecules/MultiTagPicker/MultiTagPicker.stories.d.ts +0 -6
- package/dist/types/components/molecules/Sidebar/Sidebar.stories.d.ts +0 -9
- package/dist/types/components/organisms/Profile/Profile.stories.d.ts +0 -7
- package/dist/types/pages/Error/ErrorPage.stories.d.ts +0 -7
- package/dist/types/pages/Loading/Loading.stories.d.ts +0 -8
- package/dist/types/pages/NotFound/NotFound.stories.d.ts +0 -6
- /package/dist/{types/components → components}/atoms/Acronym/Acronym.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/BreadCrumb/BreadCrumb.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/Button.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/variants/ActionButton.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/variants/FilterButton.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/variants/IconButton.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/variants/NavButton.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Button/variants/TabButton.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card1.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card2.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card3.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card4.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card5.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card6.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Card/Card7.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Field/Field.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/IconText/IconText.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Label/Label.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/MultiTagPickerTag/MultiTagPickerTag.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Select/Select.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Stack/Stack.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Switch/CustomSwitch.d.ts +0 -0
- /package/dist/{types/components → components}/atoms/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Error/Error.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Footer/Footer.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Header/Header.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Spinner/Spinner.d.ts +0 -0
- /package/dist/{types/components → components}/molecules/FormItem/FormItem.d.ts +0 -0
- /package/dist/{types/components → components}/molecules/Modal/Modal.d.ts +0 -0
- /package/dist/{types/components → components}/molecules/MultiTagPicker/MultiTagPicker.d.ts +0 -0
- /package/dist/{types/components → components}/molecules/Sidebar/Sidebar.d.ts +0 -0
- /package/dist/{types/components → components}/organisms/LazyLoading/LazyLoading.d.ts +0 -0
- /package/dist/{types/components → components}/organisms/Profile/Profile.d.ts +0 -0
- /package/dist/{types/components → components}/organisms/Selector/Selector.d.ts +0 -0
- /package/dist/{types/constants → constants}/Colors.d.ts +0 -0
- /package/dist/{types/constants → constants}/FontWeight.d.ts +0 -0
- /package/dist/{types/contexts → contexts}/apiContext.d.ts +0 -0
- /package/dist/{types/contexts → contexts}/authContext.d.ts +0 -0
- /package/dist/{types/contexts → contexts}/modalContext.d.ts +0 -0
- /package/dist/{types/exports → exports}/assets.d.ts +0 -0
- /package/dist/{types/exports → exports}/atoms.d.ts +0 -0
- /package/dist/{types/exports → exports}/constants.d.ts +0 -0
- /package/dist/{types/exports → exports}/contexts.d.ts +0 -0
- /package/dist/{types/exports → exports}/hooks.d.ts +0 -0
- /package/dist/{types/exports → exports}/layout.d.ts +0 -0
- /package/dist/{types/exports → exports}/molecules.d.ts +0 -0
- /package/dist/{types/exports → exports}/organisms.d.ts +0 -0
- /package/dist/{types/exports → exports}/pages.d.ts +0 -0
- /package/dist/{types/exports → exports}/styles.d.ts +0 -0
- /package/dist/{types/exports → exports}/types.d.ts +0 -0
- /package/dist/{types/exports → exports}/utils.d.ts +0 -0
- /package/dist/{types/hooks → hooks}/useApi.d.ts +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/pages → pages}/Error/ErrorPage.d.ts +0 -0
- /package/dist/{types/pages → pages}/Loading/Loading.d.ts +0 -0
- /package/dist/{types/pages → pages}/NotFound/NotFound.d.ts +0 -0
- /package/dist/{types/styles → styles}/themes/ButtonThemeStyled.d.ts +0 -0
- /package/dist/types/{types/LoggedUser.d.ts → LoggedUser.d.ts} +0 -0
- /package/dist/types/{types/SidebarMenu.d.ts → SidebarMenu.d.ts} +0 -0
- /package/dist/types/{types/themes → themes}/ButtonThemes.d.ts +0 -0
- /package/dist/types/{types/themes → themes}/CustomSwitchThemes.d.ts +0 -0
- /package/dist/types/{types/themes → themes}/IconTextTheme.d.ts +0 -0
- /package/dist/{types/utils → utils}/keycloak.d.ts +0 -0
- /package/dist/{types/utils → utils}/stringUtils.d.ts +0 -0
package/package.json
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { ComponentProps } from 'react';
|
3
|
-
import Acronym from './Acronym';
|
4
|
-
type StoryProps = ComponentProps<typeof Acronym>;
|
5
|
-
declare const meta: Meta<StoryProps>;
|
6
|
-
export default meta;
|
7
|
-
type Story = StoryObj<typeof meta>;
|
8
|
-
export declare const DarkBackground: Story;
|
9
|
-
export declare const LightBackground: Story;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
3
|
-
import BreadCrumb from './BreadCrumb';
|
4
|
-
type StoryProps = React.ComponentProps<typeof BreadCrumb>;
|
5
|
-
declare const meta: Meta<StoryProps>;
|
6
|
-
export default meta;
|
7
|
-
type Story = StoryObj<typeof meta>;
|
8
|
-
export declare const SingleLevel: Story;
|
9
|
-
export declare const Root: Story;
|
10
|
-
export declare const Complete: Story;
|
@@ -1,432 +0,0 @@
|
|
1
|
-
import { Meta } from '@storybook/react';
|
2
|
-
import { ComponentProps } from 'react';
|
3
|
-
import Button from './Button';
|
4
|
-
type StoryProps = ComponentProps<typeof Button> & {
|
5
|
-
buttonText: string;
|
6
|
-
};
|
7
|
-
declare const meta: Meta<StoryProps>;
|
8
|
-
export default meta;
|
9
|
-
/**
|
10
|
-
|
11
|
-
export const Ir_frente: Story = {
|
12
|
-
args: {
|
13
|
-
variant: 'cui-navigate',
|
14
|
-
size: 'cui-circ-sm',
|
15
|
-
iconPrev: faChevronUp,
|
16
|
-
},
|
17
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
18
|
-
}
|
19
|
-
|
20
|
-
export const Ir_tras: Story = {
|
21
|
-
args: {
|
22
|
-
variant: 'cui-navigate',
|
23
|
-
size: 'cui-circ-sm',
|
24
|
-
iconPrev: faChevronDown,
|
25
|
-
},
|
26
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
27
|
-
}
|
28
|
-
|
29
|
-
export const Adicionar: Story = {
|
30
|
-
args: {
|
31
|
-
variant: 'cui-actions',
|
32
|
-
mode: 'cui-add',
|
33
|
-
size: 'cui-md',
|
34
|
-
buttonText: 'Adicionar',
|
35
|
-
iconPrev: faCirclePlus,
|
36
|
-
},
|
37
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
38
|
-
}
|
39
|
-
|
40
|
-
export const Adicionar_config: Story = {
|
41
|
-
args: {
|
42
|
-
variant: 'cui-actions',
|
43
|
-
mode: 'cui-base_actions',
|
44
|
-
size: 'cui-md_lg',
|
45
|
-
buttonText: 'Adicionar Config',
|
46
|
-
iconPrev: faScrewdriverWrench,
|
47
|
-
},
|
48
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
49
|
-
}
|
50
|
-
|
51
|
-
export const Marcar_default: Story = {
|
52
|
-
args: {
|
53
|
-
variant: 'cui-actions',
|
54
|
-
mode: 'cui-base_actions_gray',
|
55
|
-
size: 'cui-md',
|
56
|
-
buttonText: 'Marcar default',
|
57
|
-
},
|
58
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
59
|
-
}
|
60
|
-
|
61
|
-
export const Valid_config: Story = {
|
62
|
-
args: {
|
63
|
-
variant: 'cui-actions',
|
64
|
-
mode: 'cui-filters_btn',
|
65
|
-
size: 'cui-md_lg',
|
66
|
-
buttonText: 'Valores de Fibras Ativas Reservas e Mortas',
|
67
|
-
},
|
68
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
69
|
-
}
|
70
|
-
|
71
|
-
export const Criar_regra: Story = {
|
72
|
-
args: {
|
73
|
-
variant: 'cui-actions',
|
74
|
-
mode: 'cui-create',
|
75
|
-
size: 'cui-ext_long',
|
76
|
-
buttonText: 'Criar Regra',
|
77
|
-
iconPrev: faListCheck,
|
78
|
-
},
|
79
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
80
|
-
}
|
81
|
-
|
82
|
-
export const Transf_proj_dev: Story = {
|
83
|
-
args: {
|
84
|
-
variant: 'cui-actions',
|
85
|
-
mode: 'cui-create',
|
86
|
-
size: 'cui-ext_long',
|
87
|
-
buttonText: 'Transferir projeto de dev',
|
88
|
-
iconPrev: faDownload,
|
89
|
-
},
|
90
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
91
|
-
}
|
92
|
-
|
93
|
-
export const Clonar: Story = {
|
94
|
-
args: {
|
95
|
-
variant: 'cui-actions',
|
96
|
-
mode: 'cui-create',
|
97
|
-
size: 'cui-ext_long',
|
98
|
-
buttonText: 'Clonar',
|
99
|
-
iconPrev: faClone,
|
100
|
-
},
|
101
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
102
|
-
}
|
103
|
-
|
104
|
-
export const Eliminar_clone: Story = {
|
105
|
-
args: {
|
106
|
-
variant: 'cui-actions',
|
107
|
-
mode: 'cui-delete',
|
108
|
-
size: 'cui-ext_long',
|
109
|
-
buttonText: 'Eliminar',
|
110
|
-
iconPrev: faTrash,
|
111
|
-
},
|
112
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
113
|
-
}
|
114
|
-
|
115
|
-
export const Adicionar_logo: Story = {
|
116
|
-
args: {
|
117
|
-
variant: 'cui-actions',
|
118
|
-
mode: 'cui-add_logo',
|
119
|
-
size: 'cui-md_form',
|
120
|
-
buttonText: 'Adicionar Logótipo',
|
121
|
-
iconPrev: faCirclePlus,
|
122
|
-
},
|
123
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
124
|
-
}
|
125
|
-
|
126
|
-
export const Adicionar_parceiro: Story = {
|
127
|
-
args: {
|
128
|
-
variant: 'cui-actions',
|
129
|
-
mode: 'cui-add_partner',
|
130
|
-
size: 'cui-md',
|
131
|
-
buttonText: 'Adicionar parceiro',
|
132
|
-
iconPrev: faCirclePlus,
|
133
|
-
},
|
134
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
135
|
-
}
|
136
|
-
|
137
|
-
export const Eliminar: Story = {
|
138
|
-
args: {
|
139
|
-
variant: 'cui-actions',
|
140
|
-
mode: 'cui-delete',
|
141
|
-
size: 'cui-md',
|
142
|
-
buttonText: 'Eliminar',
|
143
|
-
iconPrev: faTrash,
|
144
|
-
},
|
145
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
146
|
-
}
|
147
|
-
|
148
|
-
export const Transferir_fich: Story = {
|
149
|
-
args: {
|
150
|
-
variant: 'cui-actions',
|
151
|
-
mode: 'cui-download_file',
|
152
|
-
size: 'cui-md',
|
153
|
-
buttonText: 'Transferir Ficheiro',
|
154
|
-
iconPrev: faDownload,
|
155
|
-
},
|
156
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
157
|
-
}
|
158
|
-
|
159
|
-
export const Exec_validador: Story = {
|
160
|
-
args: {
|
161
|
-
variant: 'cui-actions',
|
162
|
-
mode: 'cui-exec_validator',
|
163
|
-
size: 'cui-md',
|
164
|
-
buttonText: 'Executar Validador',
|
165
|
-
iconPrev: faCircleCheck,
|
166
|
-
},
|
167
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
168
|
-
}
|
169
|
-
|
170
|
-
export const Sucesso_proj_val: Story = {
|
171
|
-
args: {
|
172
|
-
variant: 'cui-actions',
|
173
|
-
mode: 'cui-project_valid',
|
174
|
-
size: 'cui-md',
|
175
|
-
buttonText: 'Sucesso: Projeto Válido',
|
176
|
-
iconPrev: faCircleCheck,
|
177
|
-
},
|
178
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
179
|
-
}
|
180
|
-
|
181
|
-
export const Erro_proj_inval: Story = {
|
182
|
-
args: {
|
183
|
-
variant: 'cui-actions',
|
184
|
-
mode: 'cui-project_invalid',
|
185
|
-
size: 'cui-md',
|
186
|
-
buttonText: 'Erro: Projeto Inválido',
|
187
|
-
iconPrev: faCircleXmark,
|
188
|
-
},
|
189
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
190
|
-
}
|
191
|
-
|
192
|
-
export const Gerar_BoM: Story = {
|
193
|
-
args: {
|
194
|
-
variant: 'cui-actions',
|
195
|
-
mode: 'cui-generate_BoM_sin',
|
196
|
-
size: 'cui-md',
|
197
|
-
buttonText: 'Gerar BoM',
|
198
|
-
iconPrev: faCube,
|
199
|
-
},
|
200
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
201
|
-
}
|
202
|
-
|
203
|
-
export const Re_Gerar_Pre_BoM: Story = {
|
204
|
-
args: {
|
205
|
-
variant: 'cui-actions',
|
206
|
-
mode: 'cui-generate_BoM_sin',
|
207
|
-
size: 'cui-md',
|
208
|
-
buttonText: 'Re-gerar Pré-BoM',
|
209
|
-
iconPrev: faCube,
|
210
|
-
},
|
211
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
212
|
-
}
|
213
|
-
|
214
|
-
export const Gerar_Pre_sinoticos: Story = {
|
215
|
-
args: {
|
216
|
-
variant: 'cui-actions',
|
217
|
-
mode: 'cui-generate_BoM_sin',
|
218
|
-
size: 'cui-md',
|
219
|
-
buttonText: 'Gerar Pré-BoM',
|
220
|
-
iconPrev: faCubes,
|
221
|
-
},
|
222
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
223
|
-
}
|
224
|
-
|
225
|
-
export const Gerar_Aloc_Juntas: Story = {
|
226
|
-
args: {
|
227
|
-
variant: 'cui-actions',
|
228
|
-
mode: 'cui-generate_BoM_sin',
|
229
|
-
size: 'cui-md',
|
230
|
-
buttonText: 'Gerar Alocação Juntas',
|
231
|
-
iconPrev: faConfluence,
|
232
|
-
},
|
233
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
234
|
-
}
|
235
|
-
|
236
|
-
export const Gravar: Story = {
|
237
|
-
args: {
|
238
|
-
variant: 'cui-actions',
|
239
|
-
mode: 'cui-save',
|
240
|
-
size: 'cui-sm',
|
241
|
-
buttonText: 'Gravar',
|
242
|
-
},
|
243
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
244
|
-
}
|
245
|
-
|
246
|
-
export const Cancelar: Story = {
|
247
|
-
args: {
|
248
|
-
variant: 'cui-actions',
|
249
|
-
mode: 'cui-cancel',
|
250
|
-
size: 'cui-sm',
|
251
|
-
buttonText: 'Cancelar',
|
252
|
-
},
|
253
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
254
|
-
}
|
255
|
-
|
256
|
-
export const Historico_tarefas: Story = {
|
257
|
-
args: {
|
258
|
-
variant: 'cui-actions',
|
259
|
-
mode: 'cui-history_options',
|
260
|
-
size: 'cui-sm',
|
261
|
-
buttonText: 'Tarefas',
|
262
|
-
iconPrev: faListCheck,
|
263
|
-
},
|
264
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
265
|
-
}
|
266
|
-
|
267
|
-
export const Historico_erros: Story = {
|
268
|
-
args: {
|
269
|
-
variant: 'cui-actions',
|
270
|
-
mode: 'cui-history_options',
|
271
|
-
size: 'cui-sm',
|
272
|
-
buttonText: 'Erros',
|
273
|
-
iconPrev: faCircleXmark,
|
274
|
-
},
|
275
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
276
|
-
}
|
277
|
-
|
278
|
-
export const Transferir_fich_excel: Story = {
|
279
|
-
args: {
|
280
|
-
variant: 'cui-actions',
|
281
|
-
mode: 'cui-download_excel',
|
282
|
-
size: 'cui-md',
|
283
|
-
buttonText: 'Transferir Ficheiro Excel',
|
284
|
-
iconPrev: faTableCells,
|
285
|
-
},
|
286
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
287
|
-
}
|
288
|
-
|
289
|
-
export const Eliminar_fich: Story = {
|
290
|
-
args: {
|
291
|
-
variant: 'cui-actions',
|
292
|
-
mode: 'cui-delete_file',
|
293
|
-
size: 'cui-md',
|
294
|
-
buttonText: 'Eliminar Ficheiro',
|
295
|
-
iconPrev: faTrash,
|
296
|
-
},
|
297
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
298
|
-
}
|
299
|
-
|
300
|
-
export const Gravar_Projeto: Story = {
|
301
|
-
args: {
|
302
|
-
variant: 'cui-actions',
|
303
|
-
mode: 'cui-save_project',
|
304
|
-
size: 'cui-sm',
|
305
|
-
buttonText: 'Gravar Projeto',
|
306
|
-
iconPrev: faFloppyDisk,
|
307
|
-
},
|
308
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
309
|
-
}
|
310
|
-
|
311
|
-
export const Eliminar_projeto: Story = {
|
312
|
-
args: {
|
313
|
-
variant: 'cui-actions',
|
314
|
-
mode: 'cui-delete_project',
|
315
|
-
size: 'cui-sm',
|
316
|
-
buttonText: 'Eliminar Projeto',
|
317
|
-
iconPrev: faTrash,
|
318
|
-
},
|
319
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
320
|
-
}
|
321
|
-
|
322
|
-
export const Escolher_ficheiro: Story = {
|
323
|
-
args: {
|
324
|
-
variant: 'cui-actions',
|
325
|
-
mode: 'cui-choose_file',
|
326
|
-
size: 'cui-lg',
|
327
|
-
buttonText: 'Escolher Ficheiro',
|
328
|
-
iconTop: faUpload,
|
329
|
-
},
|
330
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
331
|
-
}
|
332
|
-
|
333
|
-
export const Logout: Story = {
|
334
|
-
args: {
|
335
|
-
variant: 'cui-user_actions',
|
336
|
-
mode: 'cui-logout',
|
337
|
-
size: 'cui-lg',
|
338
|
-
buttonText: 'Teminar Sessão',
|
339
|
-
iconPrev: faSignOut,
|
340
|
-
},
|
341
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
342
|
-
}
|
343
|
-
|
344
|
-
export const Login: Story = {
|
345
|
-
args: {
|
346
|
-
variant: 'cui-user_actions',
|
347
|
-
mode: 'cui-login',
|
348
|
-
size: 'cui-lg',
|
349
|
-
buttonText: 'Iniciar Sessão',
|
350
|
-
iconPrev: faSignOut,
|
351
|
-
},
|
352
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
353
|
-
}
|
354
|
-
|
355
|
-
export const LoginMicrosoft: Story = {
|
356
|
-
args: {
|
357
|
-
variant: 'cui-user_actions',
|
358
|
-
mode: 'cui-login_microsoft',
|
359
|
-
size: 'cui-lg',
|
360
|
-
buttonText: 'Sign in with Microsoft',
|
361
|
-
iconPrev: faMicrosoft,
|
362
|
-
},
|
363
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
364
|
-
}
|
365
|
-
|
366
|
-
export const Escolher_operadoras: Story = {
|
367
|
-
args: {
|
368
|
-
variant: 'cui-actions',
|
369
|
-
mode: 'cui-options_home_screen',
|
370
|
-
size: 'cui-ext_lg',
|
371
|
-
buttonText: 'Operadoras',
|
372
|
-
iconTop: faWifi,
|
373
|
-
},
|
374
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
375
|
-
}
|
376
|
-
|
377
|
-
export const Gerir_projetos: Story = {
|
378
|
-
args: {
|
379
|
-
variant: 'cui-actions',
|
380
|
-
mode: 'cui-options_home_screen',
|
381
|
-
size: 'cui-ext_lg',
|
382
|
-
buttonText: 'Gestão de Projetos',
|
383
|
-
iconPrev: faTableCells,
|
384
|
-
},
|
385
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
386
|
-
}
|
387
|
-
|
388
|
-
export const Historico: Story = {
|
389
|
-
args: {
|
390
|
-
variant: 'cui-actions',
|
391
|
-
mode: 'cui-options_home_screen',
|
392
|
-
size: 'cui-ext_lg',
|
393
|
-
buttonText: 'Histórico',
|
394
|
-
iconTop: faClockRotateLeft,
|
395
|
-
},
|
396
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
397
|
-
}
|
398
|
-
|
399
|
-
export const Tabs: Story = {
|
400
|
-
args: {
|
401
|
-
variant: 'cui-tabs',
|
402
|
-
mode: 'cui-project_and_operator_options',
|
403
|
-
size: 'cui-lg',
|
404
|
-
buttonText: 'Ficheiros',
|
405
|
-
iconPrev: faFile,
|
406
|
-
},
|
407
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
408
|
-
}
|
409
|
-
|
410
|
-
export const FiltersUnselected: Story = {
|
411
|
-
args: {
|
412
|
-
variant: 'cui-filters',
|
413
|
-
size: 'cui-sm',
|
414
|
-
selected: false,
|
415
|
-
buttonText: 'Juntas',
|
416
|
-
iconNext: faCircle,
|
417
|
-
},
|
418
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
419
|
-
}
|
420
|
-
|
421
|
-
export const FiltersSelected: Story = {
|
422
|
-
args: {
|
423
|
-
variant: 'cui-filters',
|
424
|
-
size: 'cui-sm',
|
425
|
-
selected: true,
|
426
|
-
buttonText: 'Juntas',
|
427
|
-
iconNext: faCircleCheck,
|
428
|
-
},
|
429
|
-
render: ({ buttonText, ...args }) => <Button {...args}>{buttonText}</Button>,
|
430
|
-
}
|
431
|
-
|
432
|
-
*/
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import ActionButton from './ActionButton';
|
3
|
-
declare const meta: Meta<typeof ActionButton>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Logout: Story;
|
7
|
-
export declare const Confirmar: Story;
|
8
|
-
export declare const Negar: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import FilterButton from './FilterButton';
|
3
|
-
declare const meta: Meta<typeof FilterButton>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Selected: Story;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import IconButton from './IconButton';
|
3
|
-
declare const meta: Meta<typeof IconButton>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof IconButton>;
|
6
|
-
export declare const Close: Story;
|
7
|
-
export declare const Filter: Story;
|
8
|
-
export declare const DefaultSize: Story;
|
9
|
-
export declare const CompactSize: Story;
|
10
|
-
export declare const UltraCompactSize: Story;
|
11
|
-
export declare const LargeSize: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import NavButton from './NavButton';
|
3
|
-
declare const meta: Meta<typeof NavButton>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Next: Story;
|
7
|
-
export declare const Previous: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import TabButton from './TabButton';
|
3
|
-
declare const meta: Meta<typeof TabButton>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Selected: Story;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import Field from './Field';
|
3
|
-
declare const meta: Meta<typeof Field>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Added: Story;
|
7
|
-
export declare const Adding: Story;
|
8
|
-
export declare const Nome_operadora_nova: Story;
|
9
|
-
export declare const Field_numero: Story;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import IconText from './IconText';
|
3
|
-
declare const meta: Meta<typeof IconText>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Logout: Story;
|
7
|
-
export declare const Confirm: Story;
|
8
|
-
export declare const Deny: Story;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import Label from './Label';
|
3
|
-
declare const meta: Meta<typeof Label>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Identificador_added: Story;
|
7
|
-
export declare const Identificador_adding: Story;
|
8
|
-
export declare const Bloco_splitting: Story;
|
9
|
-
export declare const Bloco_fusao: Story;
|
10
|
-
export declare const Titulo_operadora_01: Story;
|
11
|
-
export declare const Nome_operadora_01: Story;
|
12
|
-
export declare const Titulo_operadora_nova: Story;
|
13
|
-
export declare const Opcoes_principais: Story;
|
14
|
-
export declare const Historico_titulo: Story;
|
15
|
-
export declare const Operadoras_titulo: Story;
|
16
|
-
export declare const Operadoras_breadcrumb: Story;
|
17
|
-
export declare const Operadoras_texto: Story;
|
18
|
-
export declare const Historico_texto: Story;
|
19
|
-
export declare const Titutlo_forms: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import MultiTagPickerTag from './MultiTagPickerTag';
|
3
|
-
import './MultiTagPickerTag.scss';
|
4
|
-
declare const meta: Meta<typeof MultiTagPickerTag>;
|
5
|
-
export default meta;
|
6
|
-
type Story = StoryObj<typeof meta>;
|
7
|
-
export declare const Default: Story;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import Stack from './Stack';
|
3
|
-
import { ComponentProps } from 'react';
|
4
|
-
type StoryProps = ComponentProps<typeof Stack> & {
|
5
|
-
numberOfElements: number;
|
6
|
-
};
|
7
|
-
declare const meta: Meta<StoryProps>;
|
8
|
-
export default meta;
|
9
|
-
type Story = StoryObj<StoryProps>;
|
10
|
-
export declare const Horizontal: Story;
|
11
|
-
export declare const Vertical: Story;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import CustomSwitch from './CustomSwitch';
|
3
|
-
declare const meta: Meta<typeof CustomSwitch>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Active: Story;
|
8
|
-
export declare const Large: Story;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { ComponentProps } from 'react';
|
3
|
-
import Error from './Error';
|
4
|
-
type StoryProps = ComponentProps<typeof Error>;
|
5
|
-
declare const meta: Meta<StoryProps>;
|
6
|
-
export default meta;
|
7
|
-
type Story = StoryObj<typeof meta>;
|
8
|
-
export declare const Default: Story;
|
9
|
-
export declare const MultipleMessages: Story;
|
10
|
-
export declare const NoMessages: Story;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { StoryObj } from '@storybook/react';
|
3
|
-
import Header from './Header';
|
4
|
-
type Story = StoryObj<typeof Header>;
|
5
|
-
declare const _default: {
|
6
|
-
component: ({ title, icon, sideBar, handleSideBar, profile, handleHome, }: {
|
7
|
-
title: string;
|
8
|
-
icon?: import("@fortawesome/fontawesome-svg-core").IconProp;
|
9
|
-
sideBar: boolean;
|
10
|
-
handleSideBar: () => void;
|
11
|
-
profile: React.ReactNode;
|
12
|
-
handleHome: () => void;
|
13
|
-
}) => React.JSX.Element;
|
14
|
-
title: string;
|
15
|
-
tags: string[];
|
16
|
-
argTypes: {
|
17
|
-
handleHome: {
|
18
|
-
action: string;
|
19
|
-
};
|
20
|
-
handleSideBar: {
|
21
|
-
action: string;
|
22
|
-
};
|
23
|
-
};
|
24
|
-
args: {
|
25
|
-
title: string;
|
26
|
-
icon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
27
|
-
sideBar: true;
|
28
|
-
handleSideBar: () => void;
|
29
|
-
handleHome: () => void;
|
30
|
-
profile: React.JSX.Element;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
export default _default;
|
34
|
-
export declare const LoggedIn: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import FormItem from './FormItem';
|
3
|
-
declare const meta: Meta<typeof FormItem>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Bloco_splitting_adicionar: Story;
|
7
|
-
export declare const Bloco_splitting_eliminar: Story;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import Sidebar from './Sidebar';
|
3
|
-
declare const meta: Meta<typeof Sidebar>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof Sidebar>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Closed: Story;
|
8
|
-
export declare const HomePage: Story;
|
9
|
-
export declare const CustomContent: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import Profile from './Profile';
|
3
|
-
type Story = StoryObj<typeof Profile>;
|
4
|
-
declare const _default: Meta<typeof Profile>;
|
5
|
-
export default _default;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const WithLongName: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import ErrorPage from './ErrorPage';
|
3
|
-
declare const meta: Meta<typeof ErrorPage>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof meta>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const MultipleErrors: Story;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { ComponentProps } from 'react';
|
3
|
-
import Loading from './Loading';
|
4
|
-
type StoryProps = ComponentProps<typeof Loading>;
|
5
|
-
declare const meta: Meta<StoryProps>;
|
6
|
-
export default meta;
|
7
|
-
type Story = StoryObj<typeof meta>;
|
8
|
-
export declare const LoadingStory: Story;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{types/components → components}/atoms/MultiTagPickerTag/MultiTagPickerTag.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|