@eclass/ui-kit 1.54.23 → 1.55.5
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/atoms/Icons/Base.d.ts +1 -1
- package/dist/atoms/Icons/Base.d.ts.map +1 -1
- package/dist/atoms/Label/Label.d.ts +4 -2
- package/dist/atoms/Label/Label.d.ts.map +1 -1
- package/dist/atoms/TinyAlert/TinyAlert.d.ts +3 -1
- package/dist/atoms/TinyAlert/TinyAlert.d.ts.map +1 -1
- package/dist/eclass-ui-kit.es.js +3774 -521
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +38 -36
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/molecules/Buttons/Btn.d.ts +3 -1
- package/dist/molecules/Buttons/Btn.d.ts.map +1 -1
- package/dist/molecules/Buttons/BtnLink.d.ts +3 -1
- package/dist/molecules/Buttons/BtnLink.d.ts.map +1 -1
- package/dist/molecules/Buttons/BtnPrimary.d.ts +1 -1
- package/dist/molecules/Buttons/BtnPrimary.d.ts.map +1 -1
- package/dist/molecules/Buttons/BtnSecondary.d.ts +1 -1
- package/dist/molecules/Buttons/BtnSecondary.d.ts.map +1 -1
- package/dist/molecules/Buttons/BtnTertiary.d.ts +3 -1
- package/dist/molecules/Buttons/BtnTertiary.d.ts.map +1 -1
- package/dist/molecules/Tooltip/NewTooltip.d.ts +1 -1
- package/dist/molecules/Tooltip/NewTooltip.d.ts.map +1 -1
- package/dist/organisms/Alerts/Alert.d.ts +1 -1
- package/dist/organisms/Alerts/Alert.d.ts.map +1 -1
- package/dist/organisms/Alerts/FlashNotification.d.ts +2 -1
- package/dist/organisms/Alerts/FlashNotification.d.ts.map +1 -1
- package/dist/organisms/Alerts/types.d.ts +6 -1
- package/dist/organisms/Alerts/utils/useFlashNotification.d.ts +1 -1
- package/dist/organisms/Alerts/utils/useFlashNotification.d.ts.map +1 -1
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.d.ts +1 -1
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.d.ts.map +1 -1
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown.d.ts +1 -1
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown.d.ts.map +1 -1
- package/dist/organisms/Calendar/Dropdown/types.d.ts +1 -0
- package/dist/organisms/Modals/Modal/Modal.d.ts +4 -0
- package/dist/organisms/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/organisms/Modals/Modal/ModalContentBase.d.ts +4 -0
- package/dist/organisms/Modals/Modal/ModalContentBase.d.ts.map +1 -0
- package/dist/organisms/Modals/Modal/useModalConfig.d.ts +16 -0
- package/dist/organisms/Modals/Modal/useModalConfig.d.ts.map +1 -0
- package/dist/organisms/Modals/ModalAlert/ModalAlert.d.ts.map +1 -1
- package/dist/organisms/Modals/ModalAlert/ModalAlertContent.d.ts +4 -0
- package/dist/organisms/Modals/ModalAlert/ModalAlertContent.d.ts.map +1 -0
- package/dist/organisms/Modals/ModalAlert/useModalAlertConfig.d.ts +10 -0
- package/dist/organisms/Modals/ModalAlert/useModalAlertConfig.d.ts.map +1 -0
- package/dist/organisms/Modals/ModalMultiple/ModalMultiple.d.ts +63 -0
- package/dist/organisms/Modals/ModalMultiple/ModalMultiple.d.ts.map +1 -0
- package/dist/organisms/Modals/ModalMultiple/useModalMultipleConfig.d.ts +18 -0
- package/dist/organisms/Modals/ModalMultiple/useModalMultipleConfig.d.ts.map +1 -0
- package/dist/organisms/Modals/index.d.ts +2 -0
- package/dist/organisms/Modals/index.d.ts.map +1 -1
- package/dist/organisms/Modals/types.d.ts +17 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -1
|
@@ -8,7 +8,7 @@ export interface BaseProps {
|
|
|
8
8
|
}
|
|
9
9
|
interface IconProps extends BaseProps {
|
|
10
10
|
viewBox?: string;
|
|
11
|
-
children: React.
|
|
11
|
+
children: React.ReactNode;
|
|
12
12
|
title?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare function Base({ w, h, color, m, viewBox, children, title, }: IconProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icons/Base.tsx"],"names":[],"mappings":";AAIA,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AACD,UAAU,SAAU,SAAQ,SAAS;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icons/Base.tsx"],"names":[],"mappings":";AAIA,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AACD,UAAU,SAAU,SAAQ,SAAS;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,IAAI,CAAC,EACnB,CAAU,EACV,CAAU,EACV,KAAoC,EACpC,CAAO,EACP,OAAqB,EACrB,QAAQ,EACR,KAAK,GACN,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAOzB"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { CSSObject } from '@chakra-ui/react';
|
|
2
3
|
export interface LabelProps {
|
|
3
|
-
children: React.
|
|
4
|
+
children: React.ReactNode;
|
|
4
5
|
bg?: string;
|
|
5
6
|
color?: string;
|
|
6
7
|
size?: 'md' | 'sm';
|
|
7
8
|
m?: string;
|
|
9
|
+
sx?: CSSObject;
|
|
8
10
|
}
|
|
9
11
|
/**
|
|
10
12
|
* Componente Label
|
|
11
13
|
* @example <Label>Etiqueta</Label>
|
|
12
14
|
*/
|
|
13
|
-
export declare function Label({ children, bg, color, size, m, }: LabelProps): JSX.Element;
|
|
15
|
+
export declare function Label({ children, bg, color, size, m, sx, }: LabelProps): JSX.Element;
|
|
14
16
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/atoms/Label/Label.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/atoms/Label/Label.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAIjD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,SAAS,CAAA;CACf;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,EAAkC,EAClC,KAA2C,EAC3C,IAAW,EACX,CAAO,EACP,EAAE,GACH,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CA8B1B"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { CSSObject } from '@chakra-ui/react';
|
|
2
3
|
export interface props {
|
|
3
4
|
status: 'success' | 'error' | 'info' | 'warning' | 'answered' | 'pending' | 'omitted' | 'new';
|
|
4
5
|
text?: string;
|
|
5
6
|
margin?: string;
|
|
7
|
+
sx?: CSSObject;
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* Componente que retorna un label con distintos tipos de estado y muestra un texto por defecto en caso de que el mensaje no se especifique.
|
|
@@ -10,7 +12,7 @@ export interface props {
|
|
|
10
12
|
* @example
|
|
11
13
|
* <TinyAlert status="info" />
|
|
12
14
|
*/
|
|
13
|
-
export declare function TinyAlert({ status, text, margin }: props): JSX.Element | null;
|
|
15
|
+
export declare function TinyAlert({ status, text, margin, sx }: props): JSX.Element | null;
|
|
14
16
|
export declare namespace TinyAlert {
|
|
15
17
|
var displayName: string;
|
|
16
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TinyAlert.d.ts","sourceRoot":"","sources":["../../../src/atoms/TinyAlert/TinyAlert.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TinyAlert.d.ts","sourceRoot":"","sources":["../../../src/atoms/TinyAlert/TinyAlert.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAKjD,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,CAAA;IAC7F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,SAAS,CAAA;CACf;AAED;;;;;GAKG;AAEH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAY,EAAE,EAAE,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAiGvF;yBAjGe,SAAS"}
|