lecom-ui 2.4.8 → 2.5.0

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.
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { cn } from '../../lib/utils.js';
2
3
 
3
4
  const Skeleton = ({
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React$1 from 'react';
2
+ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import { CustomStyles as CustomStyles$2 } from '@/components/Button';
5
5
  import * as PopoverPrimitive from '@radix-ui/react-popover';
@@ -177,36 +177,36 @@ interface CustomStyles$1 {
177
177
  opacity: number;
178
178
  };
179
179
  }
180
- interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, VariantProps<typeof buttonVariants> {
180
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, VariantProps<typeof buttonVariants> {
181
181
  customStyles?: CustomStyles$1;
182
182
  isActive?: boolean;
183
183
  }
184
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
184
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
185
185
 
186
- declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
187
- declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
188
- declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
189
- declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
190
- declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
191
- declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
186
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
187
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
188
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
189
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
190
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
191
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
192
192
 
193
193
  declare const typographyVariants: (props?: ({
194
194
  variant?: "heading-xxlarge-500" | "heading-xlarge-500" | "heading-large-600" | "heading-large-500" | "heading-medium-600" | "heading-medium-500" | "heading-small-600" | "heading-small-500" | "heading-xsmall-600" | "heading-xsmall-500" | "heading-xxsmall-500" | "body-large-700" | "body-large-500" | "body-large-400" | "body-medium-700" | "body-medium-500" | "body-medium-400" | "body-small-700" | "body-small-500" | "body-small-400" | "code-medium-400" | null | undefined;
195
195
  } & class_variance_authority_types.ClassProp) | undefined) => string;
196
- interface TypographyProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'tag'>, VariantProps<typeof typographyVariants> {
196
+ interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, 'tag'>, VariantProps<typeof typographyVariants> {
197
197
  textColor?: TextColor;
198
198
  tag?: any;
199
199
  }
200
200
  declare const Typography: {
201
- ({ className, variant, children, textColor, tag, ...props }: TypographyProps): React$1.JSX.Element;
201
+ ({ className, variant, children, textColor, tag, ...props }: TypographyProps): React.JSX.Element;
202
202
  displayName: string;
203
203
  };
204
204
 
205
205
  interface HelpMenuItem {
206
- icon?: React$1.ReactNode;
206
+ icon?: React.ReactNode;
207
207
  description?: string;
208
208
  disabled?: boolean;
209
- render?: React$1.ReactNode;
209
+ render?: React.ReactNode;
210
210
  onClick?: () => void;
211
211
  }
212
212
  interface HelpMenuProps {
@@ -218,14 +218,14 @@ interface HelpMenuProps {
218
218
 
219
219
  interface ModulesMenuItem {
220
220
  containerIconBgColor?: BgColor;
221
- icon?: React$1.ReactNode;
221
+ icon?: React.ReactNode;
222
222
  title?: string;
223
223
  description?: string;
224
224
  disabled?: boolean;
225
- render?: React$1.ReactNode;
225
+ render?: React.ReactNode;
226
226
  bgColor: string;
227
227
  textColor: string;
228
- highlight?: React$1.ReactNode;
228
+ highlight?: React.ReactNode;
229
229
  onClick?: () => void;
230
230
  }
231
231
  interface ModulesMenuProps {
@@ -250,22 +250,22 @@ interface UserMenuProps {
250
250
  user?: {
251
251
  name: string;
252
252
  email: string;
253
- render?: React$1.ReactNode;
253
+ render?: React.ReactNode;
254
254
  };
255
255
  language?: {
256
- icon?: React$1.ReactNode;
256
+ icon?: React.ReactNode;
257
257
  label?: string;
258
258
  select?: {
259
259
  options: LanguageOption[];
260
260
  value?: string;
261
261
  onChange?: (language: string) => void;
262
262
  };
263
- render?: React$1.ReactNode;
263
+ render?: React.ReactNode;
264
264
  };
265
265
  logout?: {
266
- icon: React$1.ReactNode;
266
+ icon: React.ReactNode;
267
267
  label: string;
268
- render?: React$1.ReactNode;
268
+ render?: React.ReactNode;
269
269
  onClick: () => void;
270
270
  };
271
271
  }
@@ -275,7 +275,7 @@ interface CustomStyles {
275
275
  bgColor: string;
276
276
  textColor: string;
277
277
  }
278
- interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
278
+ interface HeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
279
279
  customStyles: CustomStyles;
280
280
  module?: string;
281
281
  customImgSrc?: string;
@@ -283,7 +283,7 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
283
283
  userMenu?: Omit<UserMenuProps, 'customStyles'>;
284
284
  helpMenu?: Omit<HelpMenuProps, 'customStyles'>;
285
285
  modulesMenu?: Omit<ModulesMenuProps, 'customStyles'>;
286
- extraContent?: React$1.ReactNode;
286
+ extraContent?: React.ReactNode;
287
287
  onOpenMenuChange?: () => void;
288
288
  }
289
289
 
@@ -292,7 +292,7 @@ interface SideBarProps {
292
292
  title: string;
293
293
  onClick?: () => void;
294
294
  url?: string;
295
- icon: React$1.ReactNode;
295
+ icon: React.ReactNode;
296
296
  isActive?: boolean;
297
297
  }[];
298
298
  info: {
@@ -302,79 +302,79 @@ interface SideBarProps {
302
302
  version: string;
303
303
  };
304
304
  }
305
- interface LayoutProps extends React$1.HTMLAttributes<HTMLDivElement> {
305
+ interface LayoutProps extends React.HTMLAttributes<HTMLDivElement> {
306
306
  header: HeaderProps;
307
307
  sideBar: SideBarProps;
308
308
  }
309
309
  declare const Layout: {
310
- ({ children, header, sideBar }: LayoutProps): React$1.JSX.Element;
310
+ ({ children, header, sideBar }: LayoutProps): React.JSX.Element;
311
311
  displayName: string;
312
312
  };
313
313
 
314
- declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React$1.JSX.Element;
314
+ declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
315
315
 
316
- interface CadastroFacilProps extends React$1.SVGAttributes<SVGSVGElement> {
316
+ interface CadastroFacilProps extends React.SVGAttributes<SVGSVGElement> {
317
317
  fillColor?: FillColor;
318
318
  size?: string | number;
319
319
  }
320
- declare const CadastroFacil: React$1.ForwardRefExoticComponent<CadastroFacilProps & React$1.RefAttributes<SVGSVGElement>>;
320
+ declare const CadastroFacil: React.ForwardRefExoticComponent<CadastroFacilProps & React.RefAttributes<SVGSVGElement>>;
321
321
 
322
- interface LogoLecomProps extends React$1.SVGAttributes<SVGSVGElement> {
322
+ interface LogoLecomProps extends React.SVGAttributes<SVGSVGElement> {
323
323
  fillColor?: FillColor;
324
324
  size?: string | number;
325
325
  }
326
- declare const LogoLecom: React$1.ForwardRefExoticComponent<LogoLecomProps & React$1.RefAttributes<SVGSVGElement>>;
326
+ declare const LogoLecom: React.ForwardRefExoticComponent<LogoLecomProps & React.RefAttributes<SVGSVGElement>>;
327
327
 
328
- interface ModoTesteProps extends React$1.SVGAttributes<SVGSVGElement> {
328
+ interface ModoTesteProps extends React.SVGAttributes<SVGSVGElement> {
329
329
  fillColor?: FillColor;
330
330
  size?: string | number;
331
331
  }
332
- declare const ModoTeste: React$1.ForwardRefExoticComponent<ModoTesteProps & React$1.RefAttributes<SVGSVGElement>>;
332
+ declare const ModoTeste: React.ForwardRefExoticComponent<ModoTesteProps & React.RefAttributes<SVGSVGElement>>;
333
333
 
334
- interface RpaProps extends React$1.SVGAttributes<SVGSVGElement> {
334
+ interface RpaProps extends React.SVGAttributes<SVGSVGElement> {
335
335
  fillColor?: FillColor;
336
336
  size?: string | number;
337
337
  }
338
- declare const Rpa: React$1.ForwardRefExoticComponent<RpaProps & React$1.RefAttributes<SVGSVGElement>>;
338
+ declare const Rpa: React.ForwardRefExoticComponent<RpaProps & React.RefAttributes<SVGSVGElement>>;
339
339
 
340
- interface LogoLecomBrandProps extends React$1.SVGAttributes<SVGSVGElement> {
340
+ interface LogoLecomBrandProps extends React.SVGAttributes<SVGSVGElement> {
341
341
  fillColor?: FillColor;
342
342
  }
343
- declare const LogoLecomBrand: React$1.ForwardRefExoticComponent<LogoLecomBrandProps & React$1.RefAttributes<SVGSVGElement>>;
343
+ declare const LogoLecomBrand: React.ForwardRefExoticComponent<LogoLecomBrandProps & React.RefAttributes<SVGSVGElement>>;
344
344
 
345
- declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
346
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
347
- declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
345
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
346
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
347
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
348
348
 
349
- declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
350
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
351
- declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
352
- declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
353
- declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
354
- declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
349
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
350
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
351
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
352
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
353
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
354
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
355
355
  declare const DialogHeader: {
356
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
356
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
357
357
  displayName: string;
358
358
  };
359
359
  declare const DialogFooter: {
360
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
360
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
361
361
  displayName: string;
362
362
  };
363
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
364
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
363
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
364
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
365
365
 
366
- declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
367
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
368
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
369
- declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
366
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
367
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
368
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
369
+ declare const TooltipArrow: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
370
370
  declare const tooltipContentVariants: (props?: ({
371
371
  color?: "black" | "white" | null | undefined;
372
372
  arrow?: boolean | null | undefined;
373
373
  } & class_variance_authority_types.ClassProp) | undefined) => string;
374
- interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, VariantProps<typeof tooltipContentVariants> {
374
+ interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, VariantProps<typeof tooltipContentVariants> {
375
375
  color?: 'white' | 'black';
376
376
  arrow?: boolean;
377
377
  }
378
- declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
378
+ declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
379
379
 
380
380
  export { type BgColor, Button, type ButtonProps, CadastroFacil, type CadastroFacilProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type Color, type ColorToken, type CustomStyles$1 as CustomStyles, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type FillColor, type Fonts, type HeaderProps, Layout, type LayoutProps, LogoLecom, LogoLecomBrand, type LogoLecomBrandProps, type LogoLecomProps, ModoTeste, type ModoTesteProps, Popover, PopoverContent, PopoverTrigger, Rpa, type RpaProps, type SideBarProps, Skeleton, type TextColor, Tooltip, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, buttonVariants, colors, fonts, typographyVariants };
@@ -1,146 +1,146 @@
1
- const montSerrat = { fontFamily: 'Montserrat, sans-serif' };
2
- const roboto = { fontFamily: 'Roboto, sans-serif' };
3
- const ibm = { fontFamily: 'IBM Plex Mono, sans-serif' };
4
- const fontWeight700 = { fontWeight: '700' };
5
- const fontWeight600 = { fontWeight: '600' };
6
- const fontWeight500 = { fontWeight: '500' };
7
- const fontWeight400 = { fontWeight: '400' };
8
- const fontSize3 = { fontSize: '3rem' };
9
- const fontSize2 = { fontSize: '2rem' };
10
- const fontSize25 = { fontSize: '2.5rem' };
11
- const fontSize15 = { fontSize: '1.5rem' };
12
- const fontSize125 = { fontSize: '1.25rem' };
13
- const fontSize1 = { fontSize: '1rem' };
14
- const fontSize0875 = { fontSize: '0.875rem' };
15
- const fontSize075 = { fontSize: '0.75rem' };
16
-
17
- const typographies = {
18
- '.heading-xxlarge-500': {
19
- ...montSerrat,
20
- ...fontSize3,
21
- ...fontWeight500,
22
- lineHeight: '3.25rem',
23
- },
24
- '.heading-xlarge-500': {
25
- ...montSerrat,
26
- ...fontSize25,
27
- ...fontWeight500,
28
- lineHeight: '2.75rem',
29
- },
30
- '.heading-large-600': {
31
- ...montSerrat,
32
- ...fontSize2,
33
- ...fontWeight600,
34
- lineHeight: '2.25rem',
35
- },
36
- '.heading-large-500': {
37
- ...montSerrat,
38
- ...fontSize2,
39
- ...fontWeight500,
40
- lineHeight: '2.25rem',
41
- },
42
- '.heading-medium-600': {
43
- ...montSerrat,
44
- ...fontSize15,
45
- ...fontWeight600,
46
- lineHeight: '1.75rem',
47
- },
48
- '.heading-medium-500': {
49
- ...montSerrat,
50
- ...fontSize15,
51
- ...fontWeight500,
52
- lineHeight: '1.75rem',
53
- },
54
- '.heading-small-600': {
55
- ...montSerrat,
56
- ...fontSize125,
57
- ...fontWeight600,
58
- lineHeight: '1.5rem',
59
- },
60
- '.heading-small-500': {
61
- ...montSerrat,
62
- ...fontSize125,
63
- ...fontWeight500,
64
- lineHeight: '1.5rem',
65
- },
66
- '.heading-xsmall-600': {
67
- ...montSerrat,
68
- ...fontSize1,
69
- ...fontWeight600,
70
- lineHeight: '1.25rem',
71
- },
72
- '.heading-xsmall-500': {
73
- ...montSerrat,
74
- ...fontSize1,
75
- ...fontWeight500,
76
- lineHeight: '1.25rem',
77
- },
78
- '.heading-xxsmall-500': {
79
- ...montSerrat,
80
- ...fontSize0875,
81
- lineHeight: '1.25rem',
82
- ...fontWeight500,
83
- },
84
- '.body-large-700': {
85
- ...roboto,
86
- ...fontSize1,
87
- lineHeight: '1.5rem',
88
- ...fontWeight700,
89
- },
90
- '.body-large-500': {
91
- ...roboto,
92
- ...fontSize1,
93
- lineHeight: '1.5rem',
94
- ...fontWeight500,
95
- },
96
- '.body-large-400': {
97
- ...roboto,
98
- ...fontSize1,
99
- lineHeight: '1.5rem',
100
- ...fontWeight400,
101
- },
102
- '.body-medium-700': {
103
- ...roboto,
104
- ...fontSize0875,
105
- lineHeight: '1.25rem',
106
- ...fontWeight700,
107
- },
108
- '.body-medium-500': {
109
- ...roboto,
110
- ...fontSize0875,
111
- lineHeight: '1.25rem',
112
- ...fontWeight500,
113
- },
114
- '.body-medium-400': {
115
- ...roboto,
116
- ...fontSize0875,
117
- lineHeight: '1.25rem',
118
- ...fontWeight400,
119
- },
120
- '.body-small-700': {
121
- ...roboto,
122
- ...fontSize075,
123
- lineHeight: '1rem',
124
- ...fontWeight700,
125
- },
126
- '.body-small-500': {
127
- ...roboto,
128
- ...fontSize075,
129
- lineHeight: '1rem',
130
- ...fontWeight500,
131
- },
132
- '.body-small-400': {
133
- ...roboto,
134
- ...fontSize075,
135
- lineHeight: '1rem',
136
- ...fontWeight400,
137
- },
138
- '.code-medium-400': {
139
- ...ibm,
140
- ...fontSize0875,
141
- lineHeight: '1.25rem',
142
- ...fontWeight400,
143
- },
144
- };
145
-
146
- export { typographies };
1
+ const montSerrat = { fontFamily: 'Montserrat, sans-serif' };
2
+ const roboto = { fontFamily: 'Roboto, sans-serif' };
3
+ const ibm = { fontFamily: 'IBM Plex Mono, sans-serif' };
4
+ const fontWeight700 = { fontWeight: '700' };
5
+ const fontWeight600 = { fontWeight: '600' };
6
+ const fontWeight500 = { fontWeight: '500' };
7
+ const fontWeight400 = { fontWeight: '400' };
8
+ const fontSize3 = { fontSize: '3rem' };
9
+ const fontSize2 = { fontSize: '2rem' };
10
+ const fontSize25 = { fontSize: '2.5rem' };
11
+ const fontSize15 = { fontSize: '1.5rem' };
12
+ const fontSize125 = { fontSize: '1.25rem' };
13
+ const fontSize1 = { fontSize: '1rem' };
14
+ const fontSize0875 = { fontSize: '0.875rem' };
15
+ const fontSize075 = { fontSize: '0.75rem' };
16
+
17
+ const typographies = {
18
+ '.heading-xxlarge-500': {
19
+ ...montSerrat,
20
+ ...fontSize3,
21
+ ...fontWeight500,
22
+ lineHeight: '3.25rem',
23
+ },
24
+ '.heading-xlarge-500': {
25
+ ...montSerrat,
26
+ ...fontSize25,
27
+ ...fontWeight500,
28
+ lineHeight: '2.75rem',
29
+ },
30
+ '.heading-large-600': {
31
+ ...montSerrat,
32
+ ...fontSize2,
33
+ ...fontWeight600,
34
+ lineHeight: '2.25rem',
35
+ },
36
+ '.heading-large-500': {
37
+ ...montSerrat,
38
+ ...fontSize2,
39
+ ...fontWeight500,
40
+ lineHeight: '2.25rem',
41
+ },
42
+ '.heading-medium-600': {
43
+ ...montSerrat,
44
+ ...fontSize15,
45
+ ...fontWeight600,
46
+ lineHeight: '1.75rem',
47
+ },
48
+ '.heading-medium-500': {
49
+ ...montSerrat,
50
+ ...fontSize15,
51
+ ...fontWeight500,
52
+ lineHeight: '1.75rem',
53
+ },
54
+ '.heading-small-600': {
55
+ ...montSerrat,
56
+ ...fontSize125,
57
+ ...fontWeight600,
58
+ lineHeight: '1.5rem',
59
+ },
60
+ '.heading-small-500': {
61
+ ...montSerrat,
62
+ ...fontSize125,
63
+ ...fontWeight500,
64
+ lineHeight: '1.5rem',
65
+ },
66
+ '.heading-xsmall-600': {
67
+ ...montSerrat,
68
+ ...fontSize1,
69
+ ...fontWeight600,
70
+ lineHeight: '1.25rem',
71
+ },
72
+ '.heading-xsmall-500': {
73
+ ...montSerrat,
74
+ ...fontSize1,
75
+ ...fontWeight500,
76
+ lineHeight: '1.25rem',
77
+ },
78
+ '.heading-xxsmall-500': {
79
+ ...montSerrat,
80
+ ...fontSize0875,
81
+ lineHeight: '1.25rem',
82
+ ...fontWeight500,
83
+ },
84
+ '.body-large-700': {
85
+ ...roboto,
86
+ ...fontSize1,
87
+ lineHeight: '1.5rem',
88
+ ...fontWeight700,
89
+ },
90
+ '.body-large-500': {
91
+ ...roboto,
92
+ ...fontSize1,
93
+ lineHeight: '1.5rem',
94
+ ...fontWeight500,
95
+ },
96
+ '.body-large-400': {
97
+ ...roboto,
98
+ ...fontSize1,
99
+ lineHeight: '1.5rem',
100
+ ...fontWeight400,
101
+ },
102
+ '.body-medium-700': {
103
+ ...roboto,
104
+ ...fontSize0875,
105
+ lineHeight: '1.25rem',
106
+ ...fontWeight700,
107
+ },
108
+ '.body-medium-500': {
109
+ ...roboto,
110
+ ...fontSize0875,
111
+ lineHeight: '1.25rem',
112
+ ...fontWeight500,
113
+ },
114
+ '.body-medium-400': {
115
+ ...roboto,
116
+ ...fontSize0875,
117
+ lineHeight: '1.25rem',
118
+ ...fontWeight400,
119
+ },
120
+ '.body-small-700': {
121
+ ...roboto,
122
+ ...fontSize075,
123
+ lineHeight: '1rem',
124
+ ...fontWeight700,
125
+ },
126
+ '.body-small-500': {
127
+ ...roboto,
128
+ ...fontSize075,
129
+ lineHeight: '1rem',
130
+ ...fontWeight500,
131
+ },
132
+ '.body-small-400': {
133
+ ...roboto,
134
+ ...fontSize075,
135
+ lineHeight: '1rem',
136
+ ...fontWeight400,
137
+ },
138
+ '.code-medium-400': {
139
+ ...ibm,
140
+ ...fontSize0875,
141
+ lineHeight: '1.25rem',
142
+ ...fontWeight400,
143
+ },
144
+ };
145
+
146
+ export { typographies };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "2.4.8",
3
+ "version": "2.5.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",