@granto-umbrella/umbrella-components 3.0.32 → 3.0.33
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 +4 -5
- package/src/components/atoms/DatePickerInput/DatePicker.styles.ts +75 -75
- package/src/components/atoms/DatePickerInput/DatePickerInput.tsx +154 -154
- package/src/components/atoms/DropDownMenu/DropdownMenu.styles.tsx +106 -106
- package/src/components/atoms/ErrorMessage/ErrorMessage.styles.tsx +1 -1
- package/src/components/atoms/Footer/Footer.styles.tsx +1 -1
- package/src/components/atoms/GenericContainer/GenericContainer.styles.tsx +1 -1
- package/src/components/atoms/Input/Input.tsx +80 -80
- package/src/components/atoms/Input/Input.types.ts +21 -21
- package/src/components/atoms/Label/Label.styles.ts +16 -16
- package/src/components/atoms/Loading/Loading.styles.tsx +1 -1
- package/src/components/atoms/Loading/index.tsx +1 -1
- package/src/components/atoms/LogoContainer/LogoContainer.styles.tsx +1 -1
- package/src/components/atoms/ModalAviso/ModalAviso.styles.tsx +1 -1
- package/src/components/atoms/MultiSelect/index.tsx +1 -1
- package/src/components/atoms/RadioButton/RadioButton.types.ts +9 -9
- package/src/components/atoms/ResendLink/index.tsx +2 -1
- package/src/components/atoms/Select/Select.types.ts +19 -19
- package/src/components/atoms/Skeleton/Skeleton.styles.ts +32 -32
- package/src/components/atoms/Skeleton/Skeleton.tsx +43 -43
- package/src/components/atoms/Skeleton/Skeleton.types.ts +13 -13
- package/src/components/atoms/Subtitle/Subtitle.styles.tsx +21 -21
- package/src/components/atoms/Switch/Switch.styles.ts +59 -59
- package/src/components/atoms/Switch/Switch.types.ts +7 -7
- package/src/components/atoms/TabBar/TabBar.tsx +24 -24
- package/src/components/atoms/TabBar/TabBar.types.ts +11 -11
- package/src/components/atoms/Text/Text.styles.tsx +18 -6
- package/src/components/atoms/Text/Text.tsx +9 -4
- package/src/components/atoms/Text/Text.types.ts +2 -1
- package/src/components/atoms/Textarea/Textarea.types.ts +7 -7
- package/src/components/atoms/Title/Title.styles.tsx +17 -17
- package/src/components/molecules/BannerAjuda/BannerAjuda.types.ts +5 -5
- package/src/components/molecules/ButtonGroup/ButtonGroup.tsx +27 -27
- package/src/components/molecules/CodeInputContainer/CodeInputContainer.tsx +32 -32
- package/src/components/molecules/HighlightsCard/HighlightsCard.tsx +1 -1
- package/src/components/molecules/InsuranceCard/InsuranceCard.styles.tsx +1 -1
- package/src/components/molecules/InsuranceCard/InsuranceCard.tsx +455 -455
- package/src/components/molecules/InsuranceCard/InsuranceCard.types.ts +41 -41
- package/src/components/molecules/ResultsChart/ResultsChart.styles.tsx +26 -26
- package/src/components/molecules/TimeLine/TimeLine.mapper.ts +69 -69
- package/src/components/molecules/TimeLine/TimeLine.styles.ts +154 -154
- package/src/components/molecules/TimeLine/TimeLine.tsx +96 -96
- package/src/components/molecules/TimeLine/TimeLine.types.ts +124 -124
- package/src/components/organisms/AlertDialog/AlertDialog.types.ts +14 -14
- package/src/components/organisms/Navbar/Navbar.styles.tsx +1 -1
- package/src/components/organisms/Navbar/Navbar.tsx +118 -118
- package/src/components/organisms/Navbar/Navbar.types.ts +34 -34
- package/src/components/organisms/TimelineModal/TimelineModal.styles.ts +49 -49
- package/src/components/organisms/TimelineModal/TimelineModal.tsx +49 -49
- package/src/index.ts +157 -157
- package/src/styles/tokens/colors.ts +296 -296
- package/src/styles/tokens/typography.ts +161 -161
- package/src/types/colors.types.ts +21 -21
- package/src/types/sizes.types.ts +4 -4
package/src/index.ts
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
import { Form } from 'react-hook-form';
|
|
2
|
-
|
|
3
|
-
// Import all components
|
|
4
|
-
import {
|
|
5
|
-
Dialog,
|
|
6
|
-
DialogContent,
|
|
7
|
-
DialogDescription,
|
|
8
|
-
DialogPortal,
|
|
9
|
-
DialogTitle,
|
|
10
|
-
DialogTrigger,
|
|
11
|
-
} from '@radix-ui/react-dialog';
|
|
12
|
-
|
|
13
|
-
import Badge from './components/atoms/Badge/Badge';
|
|
14
|
-
import Breadcrumb from './components/atoms/Breadcrumb/Breadcrumb';
|
|
15
|
-
import Button from './components/atoms/Button';
|
|
16
|
-
import { Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
17
|
-
import CodeInput from './components/atoms/CodeInput/CodeInput';
|
|
18
|
-
import { DatePickerInput } from './components/atoms/DatePickerInput/DatePickerInput';
|
|
19
|
-
import { DropdownMenu } from './components/atoms/DropDownMenu/DropdownMenu';
|
|
20
|
-
import ErrorMessage from './components/atoms/ErrorMessage';
|
|
21
|
-
import Footer from './components/atoms/Footer/Footer';
|
|
22
|
-
import { GenericContainer } from './components/atoms/GenericContainer';
|
|
23
|
-
import Icon from './components/atoms/Icon';
|
|
24
|
-
import Input from './components/atoms/Input';
|
|
25
|
-
import { Label } from './components/atoms/Label/Label';
|
|
26
|
-
import Loading from './components/atoms/Loading';
|
|
27
|
-
import { LogoContainer } from './components/atoms/LogoContainer';
|
|
28
|
-
import { ModalAviso } from './components/atoms/ModalAviso';
|
|
29
|
-
import { MultiSelect } from './components/atoms/MultiSelect';
|
|
30
|
-
import Pill from './components/atoms/Pill/Pill';
|
|
31
|
-
import RadioButton from './components/atoms/RadioButton/RadioButton';
|
|
32
|
-
import { ResendLink } from './components/atoms/ResendLink';
|
|
33
|
-
import Select from './components/atoms/Select';
|
|
34
|
-
import { Subtitle } from './components/atoms/Subtitle';
|
|
35
|
-
import Switch from './components/atoms/Switch/Switch';
|
|
36
|
-
import { TabBar } from './components/atoms/TabBar';
|
|
37
|
-
import Text from './components/atoms/Text';
|
|
38
|
-
import Textarea from './components/atoms/Textarea/Textarea';
|
|
39
|
-
import { Title } from './components/atoms/Title';
|
|
40
|
-
import { BannerAjuda } from './components/molecules/BannerAjuda';
|
|
41
|
-
import ButtonGroup from './components/molecules/ButtonGroup/ButtonGroup';
|
|
42
|
-
import { Calendar } from './components/molecules/Calendar/Calendar';
|
|
43
|
-
import { CodeInputContainer } from './components/molecules/CodeInputContainer';
|
|
44
|
-
import { HighlightsCard } from './components/molecules/HighlightsCard/HighlightsCard';
|
|
45
|
-
import { InsuranceCard } from './components/molecules/InsuranceCard/InsuranceCard';
|
|
46
|
-
import { PieChartComponent } from './components/molecules/PieChartComponent/PieChartComponent';
|
|
47
|
-
import {
|
|
48
|
-
Popover,
|
|
49
|
-
PopoverContent,
|
|
50
|
-
PopoverTrigger,
|
|
51
|
-
} from './components/molecules/Popover/Popover';
|
|
52
|
-
import RadioGroup from './components/molecules/RadioBoxGroup/RadioBoxGroup';
|
|
53
|
-
import { RadioGroupField } from './components/molecules/RadioGroupField';
|
|
54
|
-
import { TabToggle } from './components/molecules/TabToggle/TabToggle';
|
|
55
|
-
import { Timeline } from './components/molecules/TimeLine/TimeLine';
|
|
56
|
-
import AlertDialog from './components/organisms/AlertDialog/AlertDialog';
|
|
57
|
-
import {
|
|
58
|
-
DialogFooter,
|
|
59
|
-
DialogHeader,
|
|
60
|
-
} from './components/organisms/Dialog/Dialog';
|
|
61
|
-
import {
|
|
62
|
-
StyledDialogClose,
|
|
63
|
-
StyledDialogOverlay,
|
|
64
|
-
} from './components/organisms/Dialog/Dialog.styles';
|
|
65
|
-
import DonutEmissionsChart from './components/organisms/DonutEmissionsChart';
|
|
66
|
-
import {
|
|
67
|
-
FormControl,
|
|
68
|
-
FormDescription,
|
|
69
|
-
FormField,
|
|
70
|
-
FormItem,
|
|
71
|
-
FormLabel,
|
|
72
|
-
FormMessage,
|
|
73
|
-
useFormField,
|
|
74
|
-
} from './components/organisms/Form/Form';
|
|
75
|
-
import { ListagemUltimasEmissoes } from './components/organisms/ListagemUltimasEmissoes/ListagemUltimasEmissoes';
|
|
76
|
-
import NavbarContainer from './components/organisms/Navbar/Navbar';
|
|
77
|
-
import { TimelineModal } from './components/organisms/TimelineModal/TimelineModal';
|
|
78
|
-
|
|
79
|
-
// Export all components
|
|
80
|
-
export {
|
|
81
|
-
InsuranceCard,
|
|
82
|
-
DonutEmissionsChart,
|
|
83
|
-
RadioGroupField,
|
|
84
|
-
PieChartComponent,
|
|
85
|
-
AlertDialog,
|
|
86
|
-
BannerAjuda,
|
|
87
|
-
Badge,
|
|
88
|
-
Breadcrumb,
|
|
89
|
-
Button,
|
|
90
|
-
ButtonGroup,
|
|
91
|
-
Calendar,
|
|
92
|
-
CodeInput,
|
|
93
|
-
CodeInputContainer,
|
|
94
|
-
Checkbox,
|
|
95
|
-
DatePickerInput,
|
|
96
|
-
Dialog,
|
|
97
|
-
DialogContent,
|
|
98
|
-
DialogDescription,
|
|
99
|
-
ListagemUltimasEmissoes,
|
|
100
|
-
DialogFooter,
|
|
101
|
-
DialogHeader,
|
|
102
|
-
DialogPortal,
|
|
103
|
-
DialogTitle,
|
|
104
|
-
DialogTrigger,
|
|
105
|
-
DropdownMenu,
|
|
106
|
-
ErrorMessage,
|
|
107
|
-
HighlightsCard,
|
|
108
|
-
Footer,
|
|
109
|
-
Form,
|
|
110
|
-
FormControl,
|
|
111
|
-
FormDescription,
|
|
112
|
-
FormField,
|
|
113
|
-
FormItem,
|
|
114
|
-
FormLabel,
|
|
115
|
-
FormMessage,
|
|
116
|
-
GenericContainer,
|
|
117
|
-
Loading,
|
|
118
|
-
LogoContainer,
|
|
119
|
-
ModalAviso,
|
|
120
|
-
MultiSelect,
|
|
121
|
-
Icon,
|
|
122
|
-
Input,
|
|
123
|
-
Label,
|
|
124
|
-
Pill,
|
|
125
|
-
Popover,
|
|
126
|
-
PopoverContent,
|
|
127
|
-
PopoverTrigger,
|
|
128
|
-
RadioButton,
|
|
129
|
-
RadioGroup,
|
|
130
|
-
ResendLink,
|
|
131
|
-
Select,
|
|
132
|
-
Subtitle,
|
|
133
|
-
StyledDialogClose,
|
|
134
|
-
StyledDialogOverlay,
|
|
135
|
-
Switch,
|
|
136
|
-
TabBar,
|
|
137
|
-
TabToggle,
|
|
138
|
-
Text,
|
|
139
|
-
Textarea,
|
|
140
|
-
Title,
|
|
141
|
-
useFormField,
|
|
142
|
-
Timeline,
|
|
143
|
-
TimelineModal,
|
|
144
|
-
NavbarContainer,
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
// Export all tokens from a new file
|
|
148
|
-
export { primitiveBorders, semanticBorders } from './styles/tokens/borders';
|
|
149
|
-
export { primitiveColors, semanticColors } from './styles/tokens/colors';
|
|
150
|
-
export { primitiveRadius, semanticRadius } from './styles/tokens/radius';
|
|
151
|
-
export { primitiveShadows, semanticShadows } from './styles/tokens/shadows';
|
|
152
|
-
export { primitiveSizes, semanticSizes } from './styles/tokens/sizes';
|
|
153
|
-
export { typographyTokens } from './styles/tokens/typography';
|
|
154
|
-
|
|
155
|
-
// Export all types
|
|
156
|
-
export type { Radius } from './types/radius.types';
|
|
157
|
-
export type { Shadows } from './types/shadows.types';
|
|
1
|
+
import { Form } from 'react-hook-form';
|
|
2
|
+
|
|
3
|
+
// Import all components
|
|
4
|
+
import {
|
|
5
|
+
Dialog,
|
|
6
|
+
DialogContent,
|
|
7
|
+
DialogDescription,
|
|
8
|
+
DialogPortal,
|
|
9
|
+
DialogTitle,
|
|
10
|
+
DialogTrigger,
|
|
11
|
+
} from '@radix-ui/react-dialog';
|
|
12
|
+
|
|
13
|
+
import Badge from './components/atoms/Badge/Badge';
|
|
14
|
+
import Breadcrumb from './components/atoms/Breadcrumb/Breadcrumb';
|
|
15
|
+
import Button from './components/atoms/Button';
|
|
16
|
+
import { Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
17
|
+
import CodeInput from './components/atoms/CodeInput/CodeInput';
|
|
18
|
+
import { DatePickerInput } from './components/atoms/DatePickerInput/DatePickerInput';
|
|
19
|
+
import { DropdownMenu } from './components/atoms/DropDownMenu/DropdownMenu';
|
|
20
|
+
import ErrorMessage from './components/atoms/ErrorMessage';
|
|
21
|
+
import Footer from './components/atoms/Footer/Footer';
|
|
22
|
+
import { GenericContainer } from './components/atoms/GenericContainer';
|
|
23
|
+
import Icon from './components/atoms/Icon';
|
|
24
|
+
import Input from './components/atoms/Input';
|
|
25
|
+
import { Label } from './components/atoms/Label/Label';
|
|
26
|
+
import Loading from './components/atoms/Loading';
|
|
27
|
+
import { LogoContainer } from './components/atoms/LogoContainer';
|
|
28
|
+
import { ModalAviso } from './components/atoms/ModalAviso';
|
|
29
|
+
import { MultiSelect } from './components/atoms/MultiSelect';
|
|
30
|
+
import Pill from './components/atoms/Pill/Pill';
|
|
31
|
+
import RadioButton from './components/atoms/RadioButton/RadioButton';
|
|
32
|
+
import { ResendLink } from './components/atoms/ResendLink';
|
|
33
|
+
import Select from './components/atoms/Select';
|
|
34
|
+
import { Subtitle } from './components/atoms/Subtitle';
|
|
35
|
+
import Switch from './components/atoms/Switch/Switch';
|
|
36
|
+
import { TabBar } from './components/atoms/TabBar';
|
|
37
|
+
import Text from './components/atoms/Text';
|
|
38
|
+
import Textarea from './components/atoms/Textarea/Textarea';
|
|
39
|
+
import { Title } from './components/atoms/Title';
|
|
40
|
+
import { BannerAjuda } from './components/molecules/BannerAjuda';
|
|
41
|
+
import ButtonGroup from './components/molecules/ButtonGroup/ButtonGroup';
|
|
42
|
+
import { Calendar } from './components/molecules/Calendar/Calendar';
|
|
43
|
+
import { CodeInputContainer } from './components/molecules/CodeInputContainer';
|
|
44
|
+
import { HighlightsCard } from './components/molecules/HighlightsCard/HighlightsCard';
|
|
45
|
+
import { InsuranceCard } from './components/molecules/InsuranceCard/InsuranceCard';
|
|
46
|
+
import { PieChartComponent } from './components/molecules/PieChartComponent/PieChartComponent';
|
|
47
|
+
import {
|
|
48
|
+
Popover,
|
|
49
|
+
PopoverContent,
|
|
50
|
+
PopoverTrigger,
|
|
51
|
+
} from './components/molecules/Popover/Popover';
|
|
52
|
+
import RadioGroup from './components/molecules/RadioBoxGroup/RadioBoxGroup';
|
|
53
|
+
import { RadioGroupField } from './components/molecules/RadioGroupField';
|
|
54
|
+
import { TabToggle } from './components/molecules/TabToggle/TabToggle';
|
|
55
|
+
import { Timeline } from './components/molecules/TimeLine/TimeLine';
|
|
56
|
+
import AlertDialog from './components/organisms/AlertDialog/AlertDialog';
|
|
57
|
+
import {
|
|
58
|
+
DialogFooter,
|
|
59
|
+
DialogHeader,
|
|
60
|
+
} from './components/organisms/Dialog/Dialog';
|
|
61
|
+
import {
|
|
62
|
+
StyledDialogClose,
|
|
63
|
+
StyledDialogOverlay,
|
|
64
|
+
} from './components/organisms/Dialog/Dialog.styles';
|
|
65
|
+
import DonutEmissionsChart from './components/organisms/DonutEmissionsChart';
|
|
66
|
+
import {
|
|
67
|
+
FormControl,
|
|
68
|
+
FormDescription,
|
|
69
|
+
FormField,
|
|
70
|
+
FormItem,
|
|
71
|
+
FormLabel,
|
|
72
|
+
FormMessage,
|
|
73
|
+
useFormField,
|
|
74
|
+
} from './components/organisms/Form/Form';
|
|
75
|
+
import { ListagemUltimasEmissoes } from './components/organisms/ListagemUltimasEmissoes/ListagemUltimasEmissoes';
|
|
76
|
+
import NavbarContainer from './components/organisms/Navbar/Navbar';
|
|
77
|
+
import { TimelineModal } from './components/organisms/TimelineModal/TimelineModal';
|
|
78
|
+
|
|
79
|
+
// Export all components
|
|
80
|
+
export {
|
|
81
|
+
InsuranceCard,
|
|
82
|
+
DonutEmissionsChart,
|
|
83
|
+
RadioGroupField,
|
|
84
|
+
PieChartComponent,
|
|
85
|
+
AlertDialog,
|
|
86
|
+
BannerAjuda,
|
|
87
|
+
Badge,
|
|
88
|
+
Breadcrumb,
|
|
89
|
+
Button,
|
|
90
|
+
ButtonGroup,
|
|
91
|
+
Calendar,
|
|
92
|
+
CodeInput,
|
|
93
|
+
CodeInputContainer,
|
|
94
|
+
Checkbox,
|
|
95
|
+
DatePickerInput,
|
|
96
|
+
Dialog,
|
|
97
|
+
DialogContent,
|
|
98
|
+
DialogDescription,
|
|
99
|
+
ListagemUltimasEmissoes,
|
|
100
|
+
DialogFooter,
|
|
101
|
+
DialogHeader,
|
|
102
|
+
DialogPortal,
|
|
103
|
+
DialogTitle,
|
|
104
|
+
DialogTrigger,
|
|
105
|
+
DropdownMenu,
|
|
106
|
+
ErrorMessage,
|
|
107
|
+
HighlightsCard,
|
|
108
|
+
Footer,
|
|
109
|
+
Form,
|
|
110
|
+
FormControl,
|
|
111
|
+
FormDescription,
|
|
112
|
+
FormField,
|
|
113
|
+
FormItem,
|
|
114
|
+
FormLabel,
|
|
115
|
+
FormMessage,
|
|
116
|
+
GenericContainer,
|
|
117
|
+
Loading,
|
|
118
|
+
LogoContainer,
|
|
119
|
+
ModalAviso,
|
|
120
|
+
MultiSelect,
|
|
121
|
+
Icon,
|
|
122
|
+
Input,
|
|
123
|
+
Label,
|
|
124
|
+
Pill,
|
|
125
|
+
Popover,
|
|
126
|
+
PopoverContent,
|
|
127
|
+
PopoverTrigger,
|
|
128
|
+
RadioButton,
|
|
129
|
+
RadioGroup,
|
|
130
|
+
ResendLink,
|
|
131
|
+
Select,
|
|
132
|
+
Subtitle,
|
|
133
|
+
StyledDialogClose,
|
|
134
|
+
StyledDialogOverlay,
|
|
135
|
+
Switch,
|
|
136
|
+
TabBar,
|
|
137
|
+
TabToggle,
|
|
138
|
+
Text,
|
|
139
|
+
Textarea,
|
|
140
|
+
Title,
|
|
141
|
+
useFormField,
|
|
142
|
+
Timeline,
|
|
143
|
+
TimelineModal,
|
|
144
|
+
NavbarContainer,
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
// Export all tokens from a new file
|
|
148
|
+
export { primitiveBorders, semanticBorders } from './styles/tokens/borders';
|
|
149
|
+
export { primitiveColors, semanticColors } from './styles/tokens/colors';
|
|
150
|
+
export { primitiveRadius, semanticRadius } from './styles/tokens/radius';
|
|
151
|
+
export { primitiveShadows, semanticShadows } from './styles/tokens/shadows';
|
|
152
|
+
export { primitiveSizes, semanticSizes } from './styles/tokens/sizes';
|
|
153
|
+
export { typographyTokens } from './styles/tokens/typography';
|
|
154
|
+
|
|
155
|
+
// Export all types
|
|
156
|
+
export type { Radius } from './types/radius.types';
|
|
157
|
+
export type { Shadows } from './types/shadows.types';
|