@nextelco/common-ui 1.7.170 → 1.7.174

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.
Files changed (103) hide show
  1. package/dist/084688f4083437c38a98.ttf +0 -0
  2. package/dist/28937b70005aac17035d.ttf +0 -0
  3. package/dist/5f9e53103764bd328f6c.ttf +0 -0
  4. package/dist/bundle.js +1 -1
  5. package/dist/bundle.js.LICENSE.txt +28 -0
  6. package/dist/types/components/atoms/Acronym/Acronym.d.ts +4 -1
  7. package/dist/types/components/atoms/Button/variants/ActionButton.d.ts +5 -5
  8. package/dist/types/components/atoms/Button/variants/FilterButton.d.ts +2 -1
  9. package/dist/types/components/atoms/Button/variants/IconButton.d.ts +4 -1
  10. package/dist/types/components/atoms/Button/variants/MainButton.d.ts +15 -0
  11. package/dist/types/components/atoms/Button/variants/TabButton.d.ts +2 -1
  12. package/dist/types/components/atoms/IconText/IconText.d.ts +11 -0
  13. package/dist/types/components/atoms/Input/Input.d.ts +12 -0
  14. package/dist/types/components/atoms/MultiTagPickerTag/MultiTagPickerTag.d.ts +10 -0
  15. package/dist/types/components/atoms/SearchSelect/SearchSelect.d.ts +15 -0
  16. package/dist/types/components/atoms/Stack/Stack.d.ts +1 -1
  17. package/dist/types/components/atoms/Switch/CustomSwitch.d.ts +2 -0
  18. package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  19. package/dist/types/components/layout/Footer/Footer.d.ts +1 -5
  20. package/dist/types/components/layout/Header/Header.d.ts +12 -13
  21. package/dist/types/components/molecules/ConfirmModal/ConfirmModal.d.ts +11 -0
  22. package/dist/types/components/molecules/Modal/Modal.d.ts +10 -0
  23. package/dist/types/components/molecules/MultiTagPicker/MultiTagPicker.d.ts +23 -0
  24. package/dist/types/components/molecules/Search/Search.d.ts +7 -0
  25. package/dist/types/components/molecules/Sidebar/Sidebar.d.ts +11 -0
  26. package/dist/types/components/organisms/LazyLoader/LazyLoader.d.ts +15 -0
  27. package/dist/types/components/organisms/Profile/Profile.d.ts +3 -2
  28. package/dist/types/components/organisms/Selector/Selector.d.ts +19 -0
  29. package/dist/types/constants/Colors.d.ts +28 -0
  30. package/dist/types/constants/FontWeight.d.ts +8 -0
  31. package/dist/types/contexts/apiContext.d.ts +1 -0
  32. package/dist/types/contexts/authContext.d.ts +19 -15
  33. package/dist/types/contexts/socketContext.d.ts +14 -0
  34. package/dist/types/exports/assets.d.ts +0 -0
  35. package/dist/types/exports/atoms.d.ts +15 -0
  36. package/dist/types/exports/constants.d.ts +0 -0
  37. package/dist/types/exports/contexts.d.ts +3 -0
  38. package/dist/types/exports/hooks.d.ts +2 -0
  39. package/dist/types/exports/layout.d.ts +4 -0
  40. package/dist/types/exports/molecules.d.ts +4 -0
  41. package/dist/types/exports/organisms.d.ts +3 -0
  42. package/dist/types/exports/pages.d.ts +3 -0
  43. package/dist/types/exports/styles.d.ts +2 -0
  44. package/dist/types/exports/types.d.ts +7 -0
  45. package/dist/types/exports/utils.d.ts +1 -0
  46. package/dist/types/hooks/useApi.d.ts +3 -1
  47. package/dist/types/index.d.ts +10 -32
  48. package/dist/types/pages/Error/ErrorPage.d.ts +1 -0
  49. package/dist/types/styles/themes/ButtonThemes.d.ts +6 -0
  50. package/dist/types/styles/utils/utils.d.ts +1 -0
  51. package/dist/types/types/Fetcher.d.ts +4 -0
  52. package/dist/types/types/SelectableElement.d.ts +6 -0
  53. package/dist/types/types/SidebarMenu.d.ts +10 -0
  54. package/dist/types/types/themes/AcronymThemes.d.ts +3 -0
  55. package/dist/types/types/themes/ButtonThemes.d.ts +18 -0
  56. package/dist/types/types/themes/CustomSwitchThemes.d.ts +3 -0
  57. package/dist/types/types/themes/IconTextThemes.d.ts +5 -0
  58. package/dist/types/utils/stringUtils.d.ts +3 -0
  59. package/package.json +1 -1
  60. package/dist/types/components/atoms/Acronym/Acronym.stories.d.ts +0 -8
  61. package/dist/types/components/atoms/BreadCrumb/BreadCrumb.stories.d.ts +0 -10
  62. package/dist/types/components/atoms/Button/Button.d.ts +0 -18
  63. package/dist/types/components/atoms/Button/Button.stories.d.ts +0 -48
  64. package/dist/types/components/atoms/Button/variants/ActionButton.stories.d.ts +0 -8
  65. package/dist/types/components/atoms/Button/variants/FilterButton.stories.d.ts +0 -7
  66. package/dist/types/components/atoms/Button/variants/IconButton.stories.d.ts +0 -7
  67. package/dist/types/components/atoms/Button/variants/NavButton.d.ts +0 -9
  68. package/dist/types/components/atoms/Button/variants/NavButton.stories.d.ts +0 -7
  69. package/dist/types/components/atoms/Button/variants/TabButton.stories.d.ts +0 -7
  70. package/dist/types/components/atoms/Card/Card1.d.ts +0 -15
  71. package/dist/types/components/atoms/Card/Card1.stories.d.ts +0 -6
  72. package/dist/types/components/atoms/Card/Card2.d.ts +0 -16
  73. package/dist/types/components/atoms/Card/Card2.stories.d.ts +0 -6
  74. package/dist/types/components/atoms/Card/Card3.d.ts +0 -17
  75. package/dist/types/components/atoms/Card/Card3.stories.d.ts +0 -6
  76. package/dist/types/components/atoms/Card/Card4.d.ts +0 -17
  77. package/dist/types/components/atoms/Card/Card4.stories.d.ts +0 -6
  78. package/dist/types/components/atoms/Card/Card5.d.ts +0 -16
  79. package/dist/types/components/atoms/Card/Card5.stories.d.ts +0 -6
  80. package/dist/types/components/atoms/Card/Card6.d.ts +0 -20
  81. package/dist/types/components/atoms/Card/Card6.stories.d.ts +0 -6
  82. package/dist/types/components/atoms/Field/Field.stories.d.ts +0 -9
  83. package/dist/types/components/atoms/Label/Label.stories.d.ts +0 -19
  84. package/dist/types/components/atoms/Select/Select.stories.d.ts +0 -14
  85. package/dist/types/components/atoms/Stack/Stack.stories.d.ts +0 -21
  86. package/dist/types/components/atoms/Switch/CustomSwitch.stories.d.ts +0 -7
  87. package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +0 -6
  88. package/dist/types/components/layout/Error/Error.stories.d.ts +0 -10
  89. package/dist/types/components/layout/Footer/Footer.stories.d.ts +0 -6
  90. package/dist/types/components/layout/Header/Header.stories.d.ts +0 -8
  91. package/dist/types/components/layout/Spinner/Spinner.stories.d.ts +0 -6
  92. package/dist/types/components/moleculas/FormItem/FormItem.d.ts +0 -12
  93. package/dist/types/components/moleculas/FormItem/FormItem.stories.d.ts +0 -7
  94. package/dist/types/components/moleculas/Modal/Modal.d.ts +0 -8
  95. package/dist/types/components/moleculas/Modal/Modal.stories.d.ts +0 -6
  96. package/dist/types/components/moleculas/Operators/Operators.d.ts +0 -15
  97. package/dist/types/components/moleculas/Operators/Operators.stories.d.ts +0 -8
  98. package/dist/types/components/organisms/LazyLoading/LazyLoading.d.ts +0 -15
  99. package/dist/types/components/organisms/Profile/Profile.stories.d.ts +0 -8
  100. package/dist/types/pages/Error/ErrorPage.stories.d.ts +0 -7
  101. package/dist/types/pages/Loading/Loading.stories.d.ts +0 -8
  102. package/dist/types/pages/NotFound/NotFound.stories.d.ts +0 -6
  103. package/dist/types/types/ButtonTheme.d.ts +0 -5
@@ -0,0 +1,4 @@
1
+ export interface Fetcher {
2
+ endpoint: string;
3
+ params?: Record<string, unknown>;
4
+ }
@@ -0,0 +1,6 @@
1
+ export type SelectableElement = {
2
+ id: string;
3
+ name: string;
4
+ code?: string;
5
+ disabled?: boolean;
6
+ };
@@ -0,0 +1,10 @@
1
+ export interface Submenu {
2
+ name: string;
3
+ path: string;
4
+ external: boolean;
5
+ icon?: string;
6
+ }
7
+ export interface Menu {
8
+ name: string;
9
+ submenus: Submenu[];
10
+ }
@@ -0,0 +1,3 @@
1
+ export interface AcronymTheme {
2
+ mode: 'dark' | 'light';
3
+ }
@@ -0,0 +1,18 @@
1
+ import { FontWeight } from '../../constants/FontWeight';
2
+ export interface ActionButtonTheme {
3
+ backgroundColor: string;
4
+ fontColor: string;
5
+ iconColor: string;
6
+ fontWeight?: FontWeight;
7
+ hoverBackgroundColor?: string;
8
+ size: 'default' | 'compact' | 'large';
9
+ }
10
+ export interface IconButtonTheme {
11
+ backgroundColor: string;
12
+ iconColor: string;
13
+ size: 'default' | 'compact' | 'large' | 'ultra-compact';
14
+ }
15
+ export interface MainButtonTheme {
16
+ backgroundColor: string;
17
+ color: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ export interface CustomSwitchTheme {
2
+ size: 'default' | 'compact' | 'large';
3
+ }
@@ -0,0 +1,5 @@
1
+ import { FontWeight } from '../../constants/FontWeight';
2
+ export interface IconTextTheme {
3
+ color: string;
4
+ fontWeight?: FontWeight;
5
+ }
@@ -0,0 +1,3 @@
1
+ export declare function getAcronym(str: string): string;
2
+ export declare function getFirstAndLastName(str: string): string;
3
+ export declare function partialMatchWithUsername(search: string, username: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextelco/common-ui",
3
- "version": "1.7.170",
3
+ "version": "1.7.174",
4
4
  "description": "",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -1,8 +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 AcronymStory: 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,18 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
- import './Button.scss';
5
- type Props = PropsWithChildren<{
6
- iconTop?: IconProp;
7
- iconPrev?: IconProp;
8
- iconNext?: IconProp;
9
- title?: string;
10
- srcimage?: string;
11
- size: 'cui-circ-sm' | 'cui-lg' | 'cui-md' | 'cui-sm' | 'cui-ext_lg' | 'cui-md_form' | 'cui-ext_long' | 'cui-md_lg';
12
- selected?: boolean;
13
- mode?: 'cui-add' | 'cui-base_actions' | 'cui-base_actions_gray' | 'cui-filters_btn' | 'cui-create' | 'cui-add_partner' | 'cui-delete' | 'cui-logout' | 'cui-save_project' | 'cui-delete_project' | 'cui-download_file' | 'cui-delete_file' | 'cui-choose_file' | 'cui-exec_validator' | 'cui-download_excel' | 'cui-project_valid' | 'cui-project_invalid' | 'cui-generate_BoM_sin' | 'cui-save' | 'cui-cancel' | 'cui-history_options' | 'cui-login' | 'cui-login_microsoft' | 'cui-options_home_screen' | 'cui-project_and_operator_options' | 'cui-add_logo';
14
- variant: 'cui-navigate' | 'cui-tabs' | 'cui-actions' | 'cui-filters' | 'cui-user_actions';
15
- onClick: () => void;
16
- }>;
17
- declare const Button: ({ children, iconTop, iconPrev, iconNext, size, onClick, selected, variant, mode, }: Props) => React.JSX.Element;
18
- export default Button;
@@ -1,48 +0,0 @@
1
- import { Meta, StoryObj } 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
- type Story = StoryObj<typeof meta>;
10
- export declare const Ir_frente: Story;
11
- export declare const Ir_tras: Story;
12
- export declare const Adicionar: Story;
13
- export declare const Adicionar_config: Story;
14
- export declare const Marcar_default: Story;
15
- export declare const Valid_config: Story;
16
- export declare const Criar_regra: Story;
17
- export declare const Transf_proj_dev: Story;
18
- export declare const Clonar: Story;
19
- export declare const Eliminar_clone: Story;
20
- export declare const Adicionar_logo: Story;
21
- export declare const Adicionar_parceiro: Story;
22
- export declare const Eliminar: Story;
23
- export declare const Transferir_fich: Story;
24
- export declare const Exec_validador: Story;
25
- export declare const Sucesso_proj_val: Story;
26
- export declare const Erro_proj_inval: Story;
27
- export declare const Gerar_BoM: Story;
28
- export declare const Re_Gerar_Pre_BoM: Story;
29
- export declare const Gerar_Pre_sinoticos: Story;
30
- export declare const Gerar_Aloc_Juntas: Story;
31
- export declare const Gravar: Story;
32
- export declare const Cancelar: Story;
33
- export declare const Historico_tarefas: Story;
34
- export declare const Historico_erros: Story;
35
- export declare const Transferir_fich_excel: Story;
36
- export declare const Eliminar_fich: Story;
37
- export declare const Gravar_Projeto: Story;
38
- export declare const Eliminar_projeto: Story;
39
- export declare const Escolher_ficheiro: Story;
40
- export declare const Logout: Story;
41
- export declare const Login: Story;
42
- export declare const LoginMicrosoft: Story;
43
- export declare const Escolher_operadoras: Story;
44
- export declare const Gerir_projetos: Story;
45
- export declare const Historico: Story;
46
- export declare const Tabs: Story;
47
- export declare const FiltersUnselected: Story;
48
- export declare const FiltersSelected: Story;
@@ -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,7 +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 meta>;
6
- export declare const Close: Story;
7
- export declare const Filter: Story;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import './NavButton.scss';
4
- type Props = PropsWithChildren<{
5
- onClick: () => void;
6
- navigate: 'NEXT' | 'PREVIOUS';
7
- }>;
8
- declare const NavButton: ({ onClick, navigate }: Props) => React.JSX.Element;
9
- export default NavButton;
@@ -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,15 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import './Card1.scss';
4
- type Props = PropsWithChildren<{
5
- title: string;
6
- subtitle: string;
7
- thumbnail: string;
8
- isVideo: boolean;
9
- clickable: boolean;
10
- fontColor: string;
11
- backgroundColor: string;
12
- onClick: () => void;
13
- }>;
14
- declare const Card1: ({ title, subtitle, thumbnail, isVideo, clickable, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
15
- export default Card1;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card1 from './Card1';
3
- declare const meta: Meta<typeof Card1>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import './Card2.scss';
4
- type Props = PropsWithChildren<{
5
- icon: string;
6
- title: string;
7
- subtitle: string;
8
- thumbnail: string;
9
- isVideo: boolean;
10
- clickable: boolean;
11
- fontColor: string;
12
- backgroundColor: string;
13
- onClick: () => void;
14
- }>;
15
- declare const Card2: ({ icon, title, subtitle, thumbnail, isVideo, clickable, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
16
- export default Card2;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card2 from './Card2';
3
- declare const meta: Meta<typeof Card2>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
- import './Card3.scss';
5
- type Props = PropsWithChildren<{
6
- image: string;
7
- title: string;
8
- subtitle: string;
9
- fontColor: string;
10
- backgroundColor: string;
11
- buttonIcon: IconProp;
12
- buttonFontColor: string;
13
- buttonBackgroundColor: string;
14
- onClick: () => void;
15
- }>;
16
- declare const Card3: ({ image, title, subtitle, fontColor, backgroundColor, buttonIcon, buttonFontColor, buttonBackgroundColor, onClick }: Props) => React.JSX.Element;
17
- export default Card3;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card3 from './Card3';
3
- declare const meta: Meta<typeof Card3>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
- import './Card4.scss';
5
- type Props = PropsWithChildren<{
6
- icon: IconProp;
7
- iconColor: string;
8
- title: string;
9
- thumbnail: string;
10
- isVideo: boolean;
11
- clickable: boolean;
12
- fontColor: string;
13
- backgroundColor: string;
14
- onClick: () => void;
15
- }>;
16
- declare const Card4: ({ icon, iconColor, title, thumbnail, isVideo, clickable, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
17
- export default Card4;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card4 from './Card4';
3
- declare const meta: Meta<typeof Card4>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import './Card5.scss';
4
- type Props = PropsWithChildren<{
5
- image: string;
6
- title: string;
7
- subtitle: string;
8
- undertitle: string;
9
- icon: string;
10
- fontColor: string;
11
- backgroundColor: string;
12
- fixedSize: boolean;
13
- onClick: () => void;
14
- }>;
15
- declare const Card5: ({ image, title, subtitle, undertitle, icon, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
16
- export default Card5;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card5 from './Card5';
3
- declare const meta: Meta<typeof Card5>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
- import './Card6.scss';
5
- type Props = PropsWithChildren<{
6
- title: string;
7
- subtitle: string;
8
- content: string;
9
- content2: string;
10
- buttonContent: string;
11
- buttonIcon: IconProp;
12
- buttonFontColor: string;
13
- buttonBackgroundColor: string;
14
- fontColor: string;
15
- backgroundColor: string;
16
- image: string;
17
- onClick: () => void;
18
- }>;
19
- declare const Card6: ({ title, subtitle, content, content2, buttonContent, buttonIcon, buttonFontColor, buttonBackgroundColor, fontColor, backgroundColor, image, onClick }: Props) => React.JSX.Element;
20
- export default Card6;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Card6 from './Card6';
3
- declare const meta: Meta<typeof Card6>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: 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,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,14 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Select from './Select';
3
- import './Select.scss';
4
- declare const meta: Meta<typeof Select>;
5
- export default meta;
6
- type Story = StoryObj<typeof meta>;
7
- export declare const Default: Story;
8
- export declare const Disabled: Story;
9
- export declare const SmallContainer: Story;
10
- export declare const LargeContainer: Story;
11
- export declare const NoOptions: Story;
12
- export declare const LongPlaceholder: Story;
13
- export declare const Responsive: Story;
14
- export declare const WithSelectedValue: Story;
@@ -1,21 +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<typeof meta>;
10
- declare const Tabulador_operadoras: StoryObj;
11
- export declare const Horizontal: Story;
12
- export declare const Vertical: Story;
13
- export declare const Wrapped: Story;
14
- export declare const Empty: Story;
15
- export declare const Tabulador_projeto: Story;
16
- export declare const Tabulador_operadora: Story;
17
- export declare const Tabulador_filtros_operadora_componentes: Story;
18
- export declare const Tabulador_filtros_projetos_ficheiros: Story;
19
- export declare const Tabulador_filtros_proj_BoM: Story;
20
- export declare const Tabulador_historico_modos: Story;
21
- export { Tabulador_operadoras };
@@ -1,7 +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;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Tooltip from './Tooltip';
3
- declare const meta: Meta<typeof Tooltip>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: 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,6 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- import Footer from "./Footer";
3
- declare const meta: Meta<typeof Footer>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const DefaultFooter: Story;
@@ -1,8 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { ComponentProps } from 'react';
3
- import Header from './Header';
4
- type StoryProps = ComponentProps<typeof Header>;
5
- declare const meta: Meta<StoryProps>;
6
- export default meta;
7
- type Story = StoryObj<typeof meta>;
8
- export declare const LoggedIn: Story;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Spinner from './Spinner';
3
- declare const meta: Meta<typeof Spinner>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import './FormItem.scss';
3
- type Props = {
4
- label: string;
5
- type: 'cui-added' | 'cui-adding';
6
- placeholder?: string;
7
- disabled?: boolean;
8
- readOnly?: boolean;
9
- mode: 'cui-add' | 'cui-delete';
10
- };
11
- declare const FormItem: ({ placeholder, disabled, readOnly, mode }: Props) => React.JSX.Element;
12
- export default FormItem;
@@ -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,8 +0,0 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import './Modal.scss';
3
- type Props = PropsWithChildren<{
4
- title: string;
5
- onClose: () => void;
6
- }>;
7
- declare const Modal: ({ title, onClose, children }: Props) => React.JSX.Element;
8
- export default Modal;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import Modal from './Modal';
3
- declare const meta: Meta<typeof Modal>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Basic: Story;
@@ -1,15 +0,0 @@
1
- import "./Operators.scss";
2
- import React from "react";
3
- type Props = {
4
- label: string;
5
- name: string;
6
- type: "cui-choose_operator_title" | "cui-add_operator_title";
7
- placeholder?: string;
8
- disabled?: boolean;
9
- readOnly?: boolean;
10
- mode?: "cui-add_logo";
11
- selected?: boolean;
12
- onSelect?: () => void;
13
- };
14
- declare const Operators: ({ label, name, type, placeholder, disabled, readOnly, mode, selected, onSelect, }: Props) => React.JSX.Element;
15
- export default Operators;
@@ -1,8 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- import Operators from "./Operators";
3
- declare const meta: Meta<typeof Operators>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Operadora_01: Story;
7
- export declare const Operadora_02: Story;
8
- export declare const Nova_operadora: Story;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface LazyLoadListProps {
3
- items: any[];
4
- setItems: (items: any[]) => void;
5
- page: number;
6
- limit: number;
7
- setPage: (page: number) => void;
8
- hasMore: boolean;
9
- setHasMore: (hasMore: boolean) => void;
10
- filters: {
11
- [key: string]: string;
12
- };
13
- }
14
- declare const LazyLoadList: React.FC<LazyLoadListProps>;
15
- export default LazyLoadList;
@@ -1,8 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import Profile from './Profile';
3
- import { ComponentProps } from 'react';
4
- type StoryProps = ComponentProps<typeof Profile>;
5
- declare const meta: Meta<StoryProps>;
6
- export default meta;
7
- type Story = StoryObj<typeof meta>;
8
- export declare const ProfileStory: 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;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import NotFound from './NotFound';
3
- declare const meta: Meta<typeof NotFound>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,5 +0,0 @@
1
- export type ButtonTheme = {
2
- backgroundColor: string;
3
- fontColor: string;
4
- iconColor: string;
5
- };