lecom-ui 5.3.79 → 5.3.81

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/dist/index.d.ts CHANGED
@@ -756,9 +756,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
756
756
  }
757
757
 
758
758
  declare const inputVariants: (props?: ({
759
- variant?: "filled" | "default" | "borderless" | null | undefined;
760
- size?: "small" | "large" | "default" | null | undefined;
761
- radius?: "small" | "large" | "default" | "full" | null | undefined;
759
+ variant?: "default" | "filled" | "borderless" | null | undefined;
760
+ size?: "default" | "small" | "large" | null | undefined;
761
+ radius?: "default" | "small" | "large" | "full" | null | undefined;
762
762
  } & class_variance_authority_types.ClassProp) | undefined) => string;
763
763
  interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
764
764
  sufix?: React$1.ReactNode;
@@ -799,6 +799,8 @@ declare const Layout: {
799
799
  displayName: string;
800
800
  };
801
801
 
802
+ type MultiSelectSize = 'small' | 'medium' | 'large';
803
+ type MultiSelectFont = 'body-small-400' | 'body-medium-400' | 'body-large-400';
802
804
  interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
803
805
  options?: {
804
806
  label: string;
@@ -834,6 +836,7 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
834
836
  }[];
835
837
  };
836
838
  classNameContent?: string;
839
+ size?: MultiSelectSize;
837
840
  }
838
841
  interface MultiSelectTreeOption {
839
842
  label: string;
@@ -961,7 +964,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
961
964
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
962
965
 
963
966
  declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
964
- declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | HTMLInputElement | HTMLUListElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement>, "id" | "onResize"> & {
967
+ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLLabelElement | HTMLParagraphElement | HTMLHeadingElement | HTMLInputElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement>, "id" | "onResize"> & {
965
968
  className?: string;
966
969
  collapsedSize?: number | undefined;
967
970
  collapsible?: boolean | undefined;
@@ -1126,10 +1129,10 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
1126
1129
  declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1127
1130
 
1128
1131
  declare const textareaVariants: (props?: ({
1129
- variant?: "filled" | "default" | "borderless" | null | undefined;
1130
- size?: "small" | "large" | "default" | null | undefined;
1131
- radius?: "small" | "large" | "default" | "full" | null | undefined;
1132
- resize?: "both" | "horizontal" | "vertical" | "default" | "vertical-limited" | null | undefined;
1132
+ variant?: "default" | "filled" | "borderless" | null | undefined;
1133
+ size?: "default" | "small" | "large" | null | undefined;
1134
+ radius?: "default" | "small" | "large" | "full" | null | undefined;
1135
+ resize?: "default" | "both" | "horizontal" | "vertical" | "vertical-limited" | null | undefined;
1133
1136
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1134
1137
  interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
1135
1138
  }
@@ -1266,7 +1269,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
1266
1269
  declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
1267
1270
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1268
1271
  declare const sheetVariants: (props?: ({
1269
- side?: "top" | "bottom" | "left" | "right" | null | undefined;
1272
+ side?: "left" | "right" | "top" | "bottom" | null | undefined;
1270
1273
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1271
1274
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
1272
1275
  }
@@ -1289,4 +1292,4 @@ interface DateInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
1289
1292
  declare const DateInput: React$1.ForwardRefExoticComponent<DateInputProps & React$1.RefAttributes<HTMLInputElement>>;
1290
1293
 
1291
1294
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CadastroFacil, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ColorPicker, Combobox, CustomDivider, MemoizedDataTable as DataTable, DateInput, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogScroll, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorEmptyDisplay, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Layout, LogoLecom, LogoLecomBrand, ModoTeste, MultiSelect, Notification, NumberControl, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Rpa, SairModoTeste, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Spin, Steps, Switch, SyntaxHighlighter, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagInput, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, Upload, accordionVariants, buttonVariants, colors, fonts, initializeI18n, inputVariants, notificationVariants, reducer, tagVariants, textareaVariants, toast, typographyVariants, useFormField, useIsMobile, useNotificationToast, usePagination, useSidebar };
1292
- export type { BgColor, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, ComboboxFont, ComboboxGroup, ComboboxOption, ComboboxProps, ComboboxRounded, ComboboxSize, ComboboxStatus, CustomStyles$1 as CustomStyles, DataTableProps, DateInputProps, DatePickerProps, DialogContentProps, ErrorEmptyDisplayProps, File, FillColor, Fonts, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, Meta, ModoTesteProps, MultiSelectTreeOption, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, StepsProps, SwitchProps, TableProps, TagInputProps, TagItem, TagProps, TextColor, TextareaProps, TimelineStepItem, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
1295
+ export type { BgColor, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, ComboboxFont, ComboboxGroup, ComboboxOption, ComboboxProps, ComboboxRounded, ComboboxSize, ComboboxStatus, CustomStyles$1 as CustomStyles, DataTableProps, DateInputProps, DatePickerProps, DialogContentProps, ErrorEmptyDisplayProps, File, FillColor, Fonts, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, Meta, ModoTesteProps, MultiSelectFont, MultiSelectSize, MultiSelectTreeOption, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, StepsProps, SwitchProps, TableProps, TagInputProps, TagItem, TagProps, TextColor, TextareaProps, TimelineStepItem, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
@@ -1,78 +1,78 @@
1
- const extend = {
2
- colors: {
3
- background: 'hsl(var(--background))',
4
- foreground: 'hsl(var(--foreground))',
5
- card: {
6
- DEFAULT: 'hsl(var(--card))',
7
- foreground: 'hsl(var(--card-foreground))',
8
- },
9
- popover: {
10
- DEFAULT: 'hsl(var(--popover))',
11
- foreground: 'hsl(var(--popover-foreground))',
12
- },
13
- primary: {
14
- DEFAULT: 'hsl(var(--primary))',
15
- foreground: 'hsl(var(--primary-foreground))',
16
- },
17
- secondary: {
18
- DEFAULT: 'hsl(var(--secondary))',
19
- foreground: 'hsl(var(--secondary-foreground))',
20
- },
21
- muted: {
22
- DEFAULT: 'hsl(var(--muted))',
23
- foreground: 'hsl(var(--muted-foreground))',
24
- },
25
- accent: {
26
- DEFAULT: 'hsl(var(--accent))',
27
- foreground: 'hsl(var(--accent-foreground))',
28
- },
29
- destructive: {
30
- DEFAULT: 'hsl(var(--destructive))',
31
- foreground: 'hsl(var(--destructive-foreground))',
32
- },
33
- border: 'hsl(var(--border))',
34
- input: 'hsl(var(--input))',
35
- ring: 'hsl(var(--ring))',
36
- chart: {
37
- 1: 'hsl(var(--chart-1))',
38
- 2: 'hsl(var(--chart-2))',
39
- 3: 'hsl(var(--chart-3))',
40
- 4: 'hsl(var(--chart-4))',
41
- 5: 'hsl(var(--chart-5))',
42
- 6: 'hsl(var(--chart-6))',
43
- 7: 'hsl(var(--chart-7))',
44
- 8: 'hsl(var(--chart-8))',
45
- },
46
- sidebar: {
47
- DEFAULT: 'hsl(var(--sidebar-background))',
48
- foreground: 'hsl(var(--sidebar-foreground))',
49
- primary: 'hsl(var(--sidebar-primary))',
50
- 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
51
- accent: 'hsl(var(--sidebar-accent))',
52
- 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
53
- border: 'hsl(var(--sidebar-border))',
54
- ring: 'hsl(var(--sidebar-ring))',
55
- },
56
- },
57
- borderRadius: {
58
- lg: 'var(--radius)',
59
- md: 'calc(var(--radius) - 2px)',
60
- sm: 'calc(var(--radius) - 4px)',
61
- },
62
- keyframes: {
63
- 'accordion-down': {
64
- from: { height: '0' },
65
- to: { height: 'var(--radix-accordion-content-height)' },
66
- },
67
- 'accordion-up': {
68
- from: { height: 'var(--radix-accordion-content-height)' },
69
- to: { height: '0' },
70
- },
71
- },
72
- animation: {
73
- 'accordion-down': 'accordion-down 0.2s ease-out',
74
- 'accordion-up': 'accordion-up 0.2s ease-out',
75
- },
76
- };
77
-
78
- export { extend };
1
+ const extend = {
2
+ colors: {
3
+ background: 'hsl(var(--background))',
4
+ foreground: 'hsl(var(--foreground))',
5
+ card: {
6
+ DEFAULT: 'hsl(var(--card))',
7
+ foreground: 'hsl(var(--card-foreground))',
8
+ },
9
+ popover: {
10
+ DEFAULT: 'hsl(var(--popover))',
11
+ foreground: 'hsl(var(--popover-foreground))',
12
+ },
13
+ primary: {
14
+ DEFAULT: 'hsl(var(--primary))',
15
+ foreground: 'hsl(var(--primary-foreground))',
16
+ },
17
+ secondary: {
18
+ DEFAULT: 'hsl(var(--secondary))',
19
+ foreground: 'hsl(var(--secondary-foreground))',
20
+ },
21
+ muted: {
22
+ DEFAULT: 'hsl(var(--muted))',
23
+ foreground: 'hsl(var(--muted-foreground))',
24
+ },
25
+ accent: {
26
+ DEFAULT: 'hsl(var(--accent))',
27
+ foreground: 'hsl(var(--accent-foreground))',
28
+ },
29
+ destructive: {
30
+ DEFAULT: 'hsl(var(--destructive))',
31
+ foreground: 'hsl(var(--destructive-foreground))',
32
+ },
33
+ border: 'hsl(var(--border))',
34
+ input: 'hsl(var(--input))',
35
+ ring: 'hsl(var(--ring))',
36
+ chart: {
37
+ 1: 'hsl(var(--chart-1))',
38
+ 2: 'hsl(var(--chart-2))',
39
+ 3: 'hsl(var(--chart-3))',
40
+ 4: 'hsl(var(--chart-4))',
41
+ 5: 'hsl(var(--chart-5))',
42
+ 6: 'hsl(var(--chart-6))',
43
+ 7: 'hsl(var(--chart-7))',
44
+ 8: 'hsl(var(--chart-8))',
45
+ },
46
+ sidebar: {
47
+ DEFAULT: 'hsl(var(--sidebar-background))',
48
+ foreground: 'hsl(var(--sidebar-foreground))',
49
+ primary: 'hsl(var(--sidebar-primary))',
50
+ 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
51
+ accent: 'hsl(var(--sidebar-accent))',
52
+ 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
53
+ border: 'hsl(var(--sidebar-border))',
54
+ ring: 'hsl(var(--sidebar-ring))',
55
+ },
56
+ },
57
+ borderRadius: {
58
+ lg: 'var(--radius)',
59
+ md: 'calc(var(--radius) - 2px)',
60
+ sm: 'calc(var(--radius) - 4px)',
61
+ },
62
+ keyframes: {
63
+ 'accordion-down': {
64
+ from: { height: '0' },
65
+ to: { height: 'var(--radix-accordion-content-height)' },
66
+ },
67
+ 'accordion-up': {
68
+ from: { height: 'var(--radix-accordion-content-height)' },
69
+ to: { height: '0' },
70
+ },
71
+ },
72
+ animation: {
73
+ 'accordion-down': 'accordion-down 0.2s ease-out',
74
+ 'accordion-up': 'accordion-up 0.2s ease-out',
75
+ },
76
+ };
77
+
78
+ export { extend };
@@ -1,172 +1,172 @@
1
- const fontFaces = (publicPath) => [
2
- {
3
- fontFamily: 'Roboto',
4
- fontStyle: 'italic',
5
- fontWeight: '100',
6
- fontDisplay: 'swap',
7
- src: `url('${publicPath}/fonts/Roboto/thin-100-italic.woff2')`,
8
- },
9
- {
10
- fontFamily: 'Roboto',
11
- fontStyle: 'italic',
12
- fontWeight: '300',
13
- fontDisplay: 'swap',
14
- src: `url('${publicPath}/fonts/Roboto/light-300-italic.woff2')`,
15
- },
16
- {
17
- fontFamily: 'Roboto',
18
- fontStyle: 'italic',
19
- fontWeight: '400',
20
- fontDisplay: 'swap',
21
- src: `url('${publicPath}/fonts/Roboto/regular-400-italic.woff2')`,
22
- },
23
- {
24
- fontFamily: 'Roboto',
25
- fontStyle: 'italic',
26
- fontWeight: '500',
27
- fontDisplay: 'swap',
28
- src: `url('${publicPath}/fonts/Roboto/medium-500-italic.woff2')`,
29
- },
30
- {
31
- fontFamily: 'Roboto',
32
- fontStyle: 'italic',
33
- fontWeight: '700',
34
- fontDisplay: 'swap',
35
- src: `url('${publicPath}/fonts/Roboto/bold-700-italic.woff2')`,
36
- },
37
- {
38
- fontFamily: 'Roboto',
39
- fontStyle: 'italic',
40
- fontWeight: '900',
41
- fontDisplay: 'swap',
42
- src: `url('${publicPath}/fonts/Roboto/black-900-italic.woff2')`,
43
- },
44
- {
45
- fontFamily: 'Roboto',
46
- fontStyle: 'normal',
47
- fontWeight: '100',
48
- fontDisplay: 'swap',
49
- src: `url('${publicPath}/fonts/Roboto/thin-100.woff2')`,
50
- },
51
- {
52
- fontFamily: 'Roboto',
53
- fontStyle: 'normal',
54
- fontWeight: '300',
55
- fontDisplay: 'swap',
56
- src: `url('${publicPath}/fonts/Roboto/light-300.woff2')`,
57
- },
58
- {
59
- fontFamily: 'Roboto',
60
- fontStyle: 'normal',
61
- fontWeight: '400',
62
- fontDisplay: 'swap',
63
- src: `url('${publicPath}/fonts/Roboto/regular-400.woff2')`,
64
- },
65
- {
66
- fontFamily: 'Roboto',
67
- fontStyle: 'normal',
68
- fontWeight: '500',
69
- fontDisplay: 'swap',
70
- src: `url('${publicPath}/fonts/Roboto/medium-500.woff2')`,
71
- },
72
- {
73
- fontFamily: 'Roboto',
74
- fontStyle: 'normal',
75
- fontWeight: '700',
76
- fontDisplay: 'swap',
77
- src: `url('${publicPath}/fonts/Roboto/bold-700.woff2')`,
78
- },
79
- {
80
- fontFamily: 'Roboto',
81
- fontStyle: 'normal',
82
- fontWeight: '900',
83
- fontDisplay: 'swap',
84
- src: `url('${publicPath}/fonts/Roboto/black-900.woff2')`,
85
- },
86
- {
87
- fontFamily: 'Montserrat',
88
- fontStyle: 'italic',
89
- fontWeight: '100 900',
90
- fontDisplay: 'swap',
91
- src: `url('${publicPath}/fonts/Montserrat/italic.woff2')`,
92
- },
93
- {
94
- fontFamily: 'Montserrat',
95
- fontStyle: 'normal',
96
- fontWeight: '100 900',
97
- fontDisplay: 'swap',
98
- src: `url('${publicPath}/fonts/Montserrat/normal.woff2')`,
99
- },
100
- {
101
- fontFamily: 'IBM Plex Mono',
102
- fontStyle: 'italic',
103
- fontWeight: '100',
104
- fontDisplay: 'swap',
105
- src: `url('${publicPath}/fonts/Ibm/thin-100-italic.woff2')`,
106
- },
107
- {
108
- fontFamily: 'IBM Plex Mono',
109
- fontStyle: 'italic',
110
- fontWeight: '300',
111
- fontDisplay: 'swap',
112
- src: `url('${publicPath}/fonts/Ibm/light-300-italic.woff2')`,
113
- },
114
- {
115
- fontFamily: 'IBM Plex Mono',
116
- fontStyle: 'italic',
117
- fontWeight: '400',
118
- fontDisplay: 'swap',
119
- src: `url('${publicPath}/fonts/Ibm/regular-400-italic.woff2')`,
120
- },
121
- {
122
- fontFamily: 'IBM Plex Mono',
123
- fontStyle: 'italic',
124
- fontWeight: '500',
125
- fontDisplay: 'swap',
126
- src: `url('${publicPath}/fonts/Ibm/medium-500-italic.woff2')`,
127
- },
128
- {
129
- fontFamily: 'IBM Plex Mono',
130
- fontStyle: 'italic',
131
- fontWeight: '700',
132
- fontDisplay: 'swap',
133
- src: `url('${publicPath}/fonts/Ibm/bold-700-italic.woff2')`,
134
- },
135
- {
136
- fontFamily: 'IBM Plex Mono',
137
- fontStyle: 'normal',
138
- fontWeight: '100',
139
- fontDisplay: 'swap',
140
- src: `url('${publicPath}/fonts/Ibm/thin-100.woff2')`,
141
- },
142
- {
143
- fontFamily: 'IBM Plex Mono',
144
- fontStyle: 'normal',
145
- fontWeight: '300',
146
- fontDisplay: 'swap',
147
- src: `url('${publicPath}/fonts/Ibm/light-300.woff2')`,
148
- },
149
- {
150
- fontFamily: 'IBM Plex Mono',
151
- fontStyle: 'normal',
152
- fontWeight: '400',
153
- fontDisplay: 'swap',
154
- src: `url('${publicPath}/fonts/Ibm/regular-400.woff2')`,
155
- },
156
- {
157
- fontFamily: 'IBM Plex Mono',
158
- fontStyle: 'normal',
159
- fontWeight: '500',
160
- fontDisplay: 'swap',
161
- src: `url('${publicPath}/fonts/Ibm/medium-500.woff2')`,
162
- },
163
- {
164
- fontFamily: 'IBM Plex Mono',
165
- fontStyle: 'normal',
166
- fontWeight: '700',
167
- fontDisplay: 'swap',
168
- src: `url('${publicPath}/fonts/Ibm/bold-700.woff2')`,
169
- },
170
- ];
171
-
172
- export { fontFaces };
1
+ const fontFaces = (publicPath) => [
2
+ {
3
+ fontFamily: 'Roboto',
4
+ fontStyle: 'italic',
5
+ fontWeight: '100',
6
+ fontDisplay: 'swap',
7
+ src: `url('${publicPath}/fonts/Roboto/thin-100-italic.woff2')`,
8
+ },
9
+ {
10
+ fontFamily: 'Roboto',
11
+ fontStyle: 'italic',
12
+ fontWeight: '300',
13
+ fontDisplay: 'swap',
14
+ src: `url('${publicPath}/fonts/Roboto/light-300-italic.woff2')`,
15
+ },
16
+ {
17
+ fontFamily: 'Roboto',
18
+ fontStyle: 'italic',
19
+ fontWeight: '400',
20
+ fontDisplay: 'swap',
21
+ src: `url('${publicPath}/fonts/Roboto/regular-400-italic.woff2')`,
22
+ },
23
+ {
24
+ fontFamily: 'Roboto',
25
+ fontStyle: 'italic',
26
+ fontWeight: '500',
27
+ fontDisplay: 'swap',
28
+ src: `url('${publicPath}/fonts/Roboto/medium-500-italic.woff2')`,
29
+ },
30
+ {
31
+ fontFamily: 'Roboto',
32
+ fontStyle: 'italic',
33
+ fontWeight: '700',
34
+ fontDisplay: 'swap',
35
+ src: `url('${publicPath}/fonts/Roboto/bold-700-italic.woff2')`,
36
+ },
37
+ {
38
+ fontFamily: 'Roboto',
39
+ fontStyle: 'italic',
40
+ fontWeight: '900',
41
+ fontDisplay: 'swap',
42
+ src: `url('${publicPath}/fonts/Roboto/black-900-italic.woff2')`,
43
+ },
44
+ {
45
+ fontFamily: 'Roboto',
46
+ fontStyle: 'normal',
47
+ fontWeight: '100',
48
+ fontDisplay: 'swap',
49
+ src: `url('${publicPath}/fonts/Roboto/thin-100.woff2')`,
50
+ },
51
+ {
52
+ fontFamily: 'Roboto',
53
+ fontStyle: 'normal',
54
+ fontWeight: '300',
55
+ fontDisplay: 'swap',
56
+ src: `url('${publicPath}/fonts/Roboto/light-300.woff2')`,
57
+ },
58
+ {
59
+ fontFamily: 'Roboto',
60
+ fontStyle: 'normal',
61
+ fontWeight: '400',
62
+ fontDisplay: 'swap',
63
+ src: `url('${publicPath}/fonts/Roboto/regular-400.woff2')`,
64
+ },
65
+ {
66
+ fontFamily: 'Roboto',
67
+ fontStyle: 'normal',
68
+ fontWeight: '500',
69
+ fontDisplay: 'swap',
70
+ src: `url('${publicPath}/fonts/Roboto/medium-500.woff2')`,
71
+ },
72
+ {
73
+ fontFamily: 'Roboto',
74
+ fontStyle: 'normal',
75
+ fontWeight: '700',
76
+ fontDisplay: 'swap',
77
+ src: `url('${publicPath}/fonts/Roboto/bold-700.woff2')`,
78
+ },
79
+ {
80
+ fontFamily: 'Roboto',
81
+ fontStyle: 'normal',
82
+ fontWeight: '900',
83
+ fontDisplay: 'swap',
84
+ src: `url('${publicPath}/fonts/Roboto/black-900.woff2')`,
85
+ },
86
+ {
87
+ fontFamily: 'Montserrat',
88
+ fontStyle: 'italic',
89
+ fontWeight: '100 900',
90
+ fontDisplay: 'swap',
91
+ src: `url('${publicPath}/fonts/Montserrat/italic.woff2')`,
92
+ },
93
+ {
94
+ fontFamily: 'Montserrat',
95
+ fontStyle: 'normal',
96
+ fontWeight: '100 900',
97
+ fontDisplay: 'swap',
98
+ src: `url('${publicPath}/fonts/Montserrat/normal.woff2')`,
99
+ },
100
+ {
101
+ fontFamily: 'IBM Plex Mono',
102
+ fontStyle: 'italic',
103
+ fontWeight: '100',
104
+ fontDisplay: 'swap',
105
+ src: `url('${publicPath}/fonts/Ibm/thin-100-italic.woff2')`,
106
+ },
107
+ {
108
+ fontFamily: 'IBM Plex Mono',
109
+ fontStyle: 'italic',
110
+ fontWeight: '300',
111
+ fontDisplay: 'swap',
112
+ src: `url('${publicPath}/fonts/Ibm/light-300-italic.woff2')`,
113
+ },
114
+ {
115
+ fontFamily: 'IBM Plex Mono',
116
+ fontStyle: 'italic',
117
+ fontWeight: '400',
118
+ fontDisplay: 'swap',
119
+ src: `url('${publicPath}/fonts/Ibm/regular-400-italic.woff2')`,
120
+ },
121
+ {
122
+ fontFamily: 'IBM Plex Mono',
123
+ fontStyle: 'italic',
124
+ fontWeight: '500',
125
+ fontDisplay: 'swap',
126
+ src: `url('${publicPath}/fonts/Ibm/medium-500-italic.woff2')`,
127
+ },
128
+ {
129
+ fontFamily: 'IBM Plex Mono',
130
+ fontStyle: 'italic',
131
+ fontWeight: '700',
132
+ fontDisplay: 'swap',
133
+ src: `url('${publicPath}/fonts/Ibm/bold-700-italic.woff2')`,
134
+ },
135
+ {
136
+ fontFamily: 'IBM Plex Mono',
137
+ fontStyle: 'normal',
138
+ fontWeight: '100',
139
+ fontDisplay: 'swap',
140
+ src: `url('${publicPath}/fonts/Ibm/thin-100.woff2')`,
141
+ },
142
+ {
143
+ fontFamily: 'IBM Plex Mono',
144
+ fontStyle: 'normal',
145
+ fontWeight: '300',
146
+ fontDisplay: 'swap',
147
+ src: `url('${publicPath}/fonts/Ibm/light-300.woff2')`,
148
+ },
149
+ {
150
+ fontFamily: 'IBM Plex Mono',
151
+ fontStyle: 'normal',
152
+ fontWeight: '400',
153
+ fontDisplay: 'swap',
154
+ src: `url('${publicPath}/fonts/Ibm/regular-400.woff2')`,
155
+ },
156
+ {
157
+ fontFamily: 'IBM Plex Mono',
158
+ fontStyle: 'normal',
159
+ fontWeight: '500',
160
+ fontDisplay: 'swap',
161
+ src: `url('${publicPath}/fonts/Ibm/medium-500.woff2')`,
162
+ },
163
+ {
164
+ fontFamily: 'IBM Plex Mono',
165
+ fontStyle: 'normal',
166
+ fontWeight: '700',
167
+ fontDisplay: 'swap',
168
+ src: `url('${publicPath}/fonts/Ibm/bold-700.woff2')`,
169
+ },
170
+ ];
171
+
172
+ export { fontFaces };
@@ -1,12 +1,12 @@
1
- const general = {
2
- '*': {
3
- borderColor: 'hsl(var(--border))',
4
- },
5
- body: {
6
- backgroundColor: 'hsl(var(--background))',
7
- fontFamily: 'Roboto, sans-serif',
8
- color: 'hsl(var(--foreground))',
9
- },
10
- };
11
-
12
- export { general };
1
+ const general = {
2
+ '*': {
3
+ borderColor: 'hsl(var(--border))',
4
+ },
5
+ body: {
6
+ backgroundColor: 'hsl(var(--background))',
7
+ fontFamily: 'Roboto, sans-serif',
8
+ color: 'hsl(var(--foreground))',
9
+ },
10
+ };
11
+
12
+ export { general };
@@ -1,5 +1,5 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
-
3
- const buildPlugin = require('./template').buildPlugin;
4
-
5
- module.exports = buildPlugin('../public');
1
+ /* eslint-disable @typescript-eslint/no-require-imports */
2
+
3
+ const buildPlugin = require('./template').buildPlugin;
4
+
5
+ module.exports = buildPlugin('../public');
@@ -1,5 +1,5 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
-
3
- const buildPlugin = require('./template').buildPlugin;
4
-
5
- module.exports = buildPlugin('~/node_modules/lecom-ui/dist/public');
1
+ /* eslint-disable @typescript-eslint/no-require-imports */
2
+
3
+ const buildPlugin = require('./template').buildPlugin;
4
+
5
+ module.exports = buildPlugin('~/node_modules/lecom-ui/dist/public');
@@ -1,5 +1,5 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
-
3
- const buildPlugin = require('./template').buildPlugin;
4
-
5
- module.exports = buildPlugin('node_modules/lecom-ui/dist/public');
1
+ /* eslint-disable @typescript-eslint/no-require-imports */
2
+
3
+ const buildPlugin = require('./template').buildPlugin;
4
+
5
+ module.exports = buildPlugin('node_modules/lecom-ui/dist/public');
@@ -1,5 +1,5 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
-
3
- const buildPlugin = require('./template').buildPlugin;
4
-
5
- module.exports = buildPlugin('/node_modules/lecom-ui/dist/public');
1
+ /* eslint-disable @typescript-eslint/no-require-imports */
2
+
3
+ const buildPlugin = require('./template').buildPlugin;
4
+
5
+ module.exports = buildPlugin('/node_modules/lecom-ui/dist/public');