@groupeactual/ui-kit 1.7.0-beta.8 → 1.7.1-beta.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.
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.d.ts +57 -3
- package/dist/es/index.js +8 -8
- package/dist/es/index.js.map +1 -1
- package/dist/es/src/components/EmbbededNotification/EmbeddedNotification.d.ts +1 -1
- package/dist/es/src/index.d.ts +1 -0
- package/dist/es/src/interfaces/theme.d.ts +55 -0
- package/package.json +7 -9
- package/src/components/EmbbededNotification/EmbeddedNotification.tsx +1 -2
- package/src/components/Form/TimePicker/TimePicker.tsx +0 -1
- package/src/components/UploadDocument/FileUploader.tsx +28 -24
- package/src/index.ts +1 -0
- package/src/interfaces/theme.ts +55 -0
package/dist/es/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, FocusEventHandler, BaseSyntheticEvent, MouseEventHandler, MouseEvent, PropsWithChildren } from 'react';
|
|
2
2
|
import { TypographyProps, LinkProps, ButtonProps, TextFieldProps, SelectProps, CheckboxProps, RadioGroupProps, AccordionProps, BreadcrumbsProps, BoxProps, ChipProps, TooltipProps, AutocompleteProps, MenuItemProps, AlertProps, SxProps, Theme as Theme$1, CardProps, SwitchProps, IconButtonProps } from '@mui/material';
|
|
3
3
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
|
-
import { BoxProps as BoxProps$1 } from '@mui/system';
|
|
5
4
|
import { CustomContentProps } from 'notistack';
|
|
6
5
|
import { ModalProps as ModalProps$1 } from '@mui/material/Modal';
|
|
7
6
|
import { DatePickerProps } from '@mui/x-date-pickers-pro';
|
|
@@ -188,7 +187,7 @@ interface Props$e extends Omit<ChipProps, 'suffix' | 'prefix' | 'onDelete' | 'on
|
|
|
188
187
|
}
|
|
189
188
|
declare const Chip: ({ variant, label, prefixIcon, suffixIcon, suffixTooltip, suffixAction, tooltip, maxWidth, ...props }: Props$e) => React.JSX.Element;
|
|
190
189
|
|
|
191
|
-
interface Props$d extends BoxProps
|
|
190
|
+
interface Props$d extends BoxProps {
|
|
192
191
|
variant: 'warning' | 'error' | 'success' | 'infos';
|
|
193
192
|
title: string;
|
|
194
193
|
text?: ReactNode;
|
|
@@ -453,4 +452,59 @@ interface Props {
|
|
|
453
452
|
}
|
|
454
453
|
declare const DesignSystemProvider: ({ children, name: themeName, }: PropsWithChildren<Props>) => React.JSX.Element;
|
|
455
454
|
|
|
456
|
-
|
|
455
|
+
interface PaletteDS {
|
|
456
|
+
redActual: string;
|
|
457
|
+
blueClickable: string;
|
|
458
|
+
blueHoverClickable: string;
|
|
459
|
+
greyMediumInactive: string;
|
|
460
|
+
greyXDark: string;
|
|
461
|
+
greyDark: string;
|
|
462
|
+
white: string;
|
|
463
|
+
greyXLight: string;
|
|
464
|
+
greyXDarkBgModal: string;
|
|
465
|
+
blueHoverEquivalence: string;
|
|
466
|
+
blueHoverOpacity12: string;
|
|
467
|
+
greyLightDefaultBorder: string;
|
|
468
|
+
blueInfo: string;
|
|
469
|
+
greenSuccess: string;
|
|
470
|
+
redError: string;
|
|
471
|
+
orangeWarning: string;
|
|
472
|
+
blueDark: string;
|
|
473
|
+
blueMedium: string;
|
|
474
|
+
blueLight: string;
|
|
475
|
+
greenDark: string;
|
|
476
|
+
greenMedium: string;
|
|
477
|
+
green: string;
|
|
478
|
+
brown: string;
|
|
479
|
+
greenLight: string;
|
|
480
|
+
orangeLight: string;
|
|
481
|
+
yellow: string;
|
|
482
|
+
purpleDark: string;
|
|
483
|
+
purple: string;
|
|
484
|
+
pink: string;
|
|
485
|
+
pinkLight: string;
|
|
486
|
+
primary: {
|
|
487
|
+
main: string;
|
|
488
|
+
dark: string;
|
|
489
|
+
};
|
|
490
|
+
secondary: {
|
|
491
|
+
main: string;
|
|
492
|
+
};
|
|
493
|
+
success: {
|
|
494
|
+
main: string;
|
|
495
|
+
};
|
|
496
|
+
error: {
|
|
497
|
+
main: string;
|
|
498
|
+
};
|
|
499
|
+
warning: {
|
|
500
|
+
main: string;
|
|
501
|
+
};
|
|
502
|
+
infos: {
|
|
503
|
+
main: string;
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
interface ThemeDS {
|
|
507
|
+
palette: PaletteDS;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export { type AcceptTextType, Accordion, AutocompleteMultipleSelect as AutoCompleteMulti, AutoCompleteSingle, BannerNotification, Breadcrumbs, Button, Checkbox, CheckboxGroup, type CheckboxItemType, Chip, Datatable, DatatableCellRender, DatePicker, DesignSystemContext, type DesignSystemContextValues, DesignSystemProvider, Dialog, Drawer, EmbeddedNotification, type FileDataType, FileUploader, IconButton, IconProvider, Link, MenuItem, MultiSelect, NotistackAdapter, Pagination, RadioGroup, Select, Snackbar, Stepper, Switch, Text, TextField, type ThemeDS, TimePicker, Tooltip };
|