@imj_media/ui 1.2.13 → 1.2.14
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/CHANGELOG.md +61 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.js +6250 -5385
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +27 -7
- package/dist/index.js.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Alert/hooks/useAlertStyles.d.ts +2 -1
- package/dist/modules/Alert/hooks/useAlertStyles.d.ts.map +1 -1
- package/dist/modules/Alert/index.d.ts +1 -1
- package/dist/modules/Alert/index.d.ts.map +1 -1
- package/dist/modules/Alert/stories/alert.stories.d.ts +1 -0
- package/dist/modules/Alert/stories/alert.stories.d.ts.map +1 -1
- package/dist/modules/Alert/utils/alert.d.ts.map +1 -1
- package/dist/modules/Icon/Icon.d.ts +1 -1
- package/dist/modules/Icon/Icon.d.ts.map +1 -1
- package/dist/modules/Icon/components/LegacyIcon.d.ts +1 -1
- package/dist/modules/Icon/components/LegacyIcon.d.ts.map +1 -1
- package/dist/modules/IconFont/components/organims/IconFont.d.ts +6 -2
- package/dist/modules/IconFont/components/organims/IconFont.d.ts.map +1 -1
- package/dist/modules/Input/components/Input.d.ts.map +1 -1
- package/dist/modules/Input/hooks/useInputStyles.d.ts +2 -1
- package/dist/modules/Input/hooks/useInputStyles.d.ts.map +1 -1
- package/dist/modules/PickerColor/components/atoms/ColorInput.d.ts +25 -0
- package/dist/modules/PickerColor/components/atoms/ColorInput.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/atoms/ColorSwatch.d.ts +18 -0
- package/dist/modules/PickerColor/components/atoms/ColorSwatch.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/atoms/index.d.ts +3 -0
- package/dist/modules/PickerColor/components/atoms/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/index.d.ts +4 -0
- package/dist/modules/PickerColor/components/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/molecules/ColorPalette.d.ts +15 -0
- package/dist/modules/PickerColor/components/molecules/ColorPalette.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/molecules/ColorPickerContent.d.ts +18 -0
- package/dist/modules/PickerColor/components/molecules/ColorPickerContent.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/molecules/index.d.ts +3 -0
- package/dist/modules/PickerColor/components/molecules/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/organisms/PickerColor.d.ts +3 -0
- package/dist/modules/PickerColor/components/organisms/PickerColor.d.ts.map +1 -0
- package/dist/modules/PickerColor/components/organisms/index.d.ts +2 -0
- package/dist/modules/PickerColor/components/organisms/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/constants/colors.d.ts +9 -0
- package/dist/modules/PickerColor/constants/colors.d.ts.map +1 -0
- package/dist/modules/PickerColor/constants/index.d.ts +2 -0
- package/dist/modules/PickerColor/constants/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/hooks/index.d.ts +3 -0
- package/dist/modules/PickerColor/hooks/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/hooks/useEyeDropper.d.ts +12 -0
- package/dist/modules/PickerColor/hooks/useEyeDropper.d.ts.map +1 -0
- package/dist/modules/PickerColor/hooks/useRecentColors.d.ts +18 -0
- package/dist/modules/PickerColor/hooks/useRecentColors.d.ts.map +1 -0
- package/dist/modules/PickerColor/index.d.ts +2 -0
- package/dist/modules/PickerColor/index.d.ts.map +1 -0
- package/dist/modules/PickerColor/stories/PickerColor.stories.d.ts +16 -0
- package/dist/modules/PickerColor/stories/PickerColor.stories.d.ts.map +1 -0
- package/dist/modules/PickerColor/utils/colorUtils.d.ts +45 -0
- package/dist/modules/PickerColor/utils/colorUtils.d.ts.map +1 -0
- package/dist/modules/PickerColor/utils/debounce.d.ts +8 -0
- package/dist/modules/PickerColor/utils/debounce.d.ts.map +1 -0
- package/dist/modules/PickerColor/utils/index.d.ts +3 -0
- package/dist/modules/PickerColor/utils/index.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/BarProgress.d.ts.map +1 -1
- package/dist/modules/Table/Table.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TextFieldCell.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableSelectionBar.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts +5 -1
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableConfig.d.ts +5 -0
- package/dist/modules/Table/hooks/useTableConfig.d.ts.map +1 -1
- package/dist/modules/Table/stories/TableWithQuery.stories.d.ts +7 -0
- package/dist/modules/Table/stories/TableWithQuery.stories.d.ts.map +1 -1
- package/dist/modules/Toast/components/molecules/ToastItem.d.ts.map +1 -1
- package/dist/modules/Toast/hooks/useToast.d.ts.map +1 -1
- package/dist/modules/Toast/hooks/useToastService.d.ts +3 -1
- package/dist/modules/Toast/hooks/useToastService.d.ts.map +1 -1
- package/dist/modules/Toast/index.d.ts +8 -5
- package/dist/modules/Toast/index.d.ts.map +1 -1
- package/dist/modules/Toast/stories/toast.stories.d.ts.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/shared/const/colors.d.ts +3 -0
- package/dist/shared/const/colors.d.ts.map +1 -1
- package/dist/shared/types/alert.d.ts +3 -2
- package/dist/shared/types/alert.d.ts.map +1 -1
- package/dist/shared/types/colorpicker.d.ts +47 -0
- package/dist/shared/types/colorpicker.d.ts.map +1 -0
- package/dist/shared/types/icon.d.ts +2 -0
- package/dist/shared/types/icon.d.ts.map +1 -1
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/input.d.ts +1 -0
- package/dist/shared/types/input.d.ts.map +1 -1
- package/dist/shared/types/progressbar.d.ts +1 -1
- package/dist/shared/types/progressbar.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +1 -0
- package/dist/shared/types/table.d.ts.map +1 -1
- package/dist/shared/types/toast.d.ts +1 -0
- package/dist/shared/types/toast.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertHeader.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Alert/components/atoms/AlertHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGvD;;;;;;;;GAQG;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,
|
|
1
|
+
{"version":3,"file":"AlertHeader.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Alert/components/atoms/AlertHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGvD;;;;;;;;GAQG;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAiHlD,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ToastPosition } from '../../../shared/types/toast';
|
|
2
2
|
import { AlertColor, VariantAlert } from '../../../shared/types/alert';
|
|
3
3
|
import { IconType } from '../../../shared/types/types';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
5
|
export declare const useAlertStyles: () => {
|
|
5
6
|
getAlertClassName: (color: AlertColor, isLeaving?: boolean, variant?: VariantAlert) => string;
|
|
6
7
|
getPositionClasses: (position: ToastPosition) => string;
|
|
7
|
-
getIconForType: (color: AlertColor) => IconType;
|
|
8
|
+
getIconForType: (color: AlertColor) => IconType | IconDefinition;
|
|
8
9
|
getProgressBarColor: (color: AlertColor, variant: VariantAlert) => string;
|
|
9
10
|
};
|
|
10
11
|
//# sourceMappingURL=useAlertStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAlertStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/hooks/useAlertStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useAlertStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/hooks/useAlertStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAGlE,eAAO,MAAM,cAAc;+BAEhB,UAAU,cACL,OAAO,YACV,YAAY;mCA+Ce,aAAa;4BA4BpB,UAAU,KAAG,QAAQ,GAAG,cAAc;iCAXjC,UAAU,WAAW,YAAY;CA6BtE,CAAA"}
|
|
@@ -8,5 +8,5 @@ import { IAlert } from '../../shared/types/alert';
|
|
|
8
8
|
* - Border radius: control-sm (8px)
|
|
9
9
|
* - Border width: 1px
|
|
10
10
|
*/
|
|
11
|
-
export declare const Alert: ({ open, color, variant, className, message, title, showCloseButton, onClose, onClick, onPrimaryClick, onSecondaryClick, primaryButtonText, secondaryButtonText, animation, isLeaving: externalIsLeaving, size, }: IAlert) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export declare const Alert: ({ open, color, variant, className, message, title, description, showCloseButton, onClose, onClick, onPrimaryClick, onSecondaryClick, primaryButtonText, secondaryButtonText, animation, isLeaving: externalIsLeaving, size, }: IAlert) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAc,MAAM,sBAAsB,CAAA;AAOzD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,GAAI,+NAkBnB,MAAM,mDAyFR,CAAA"}
|
|
@@ -11,4 +11,5 @@ export declare const Clickable: Story;
|
|
|
11
11
|
export declare const Animations: Story;
|
|
12
12
|
export declare const WithoutCloseButton: Story;
|
|
13
13
|
export declare const WithoutTitle: Story;
|
|
14
|
+
export declare const WithDescription: Story;
|
|
14
15
|
//# sourceMappingURL=alert.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/stories/alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAKhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"alert.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/stories/alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAKhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA8F5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAUlC,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAA;AAGD,eAAO,MAAM,KAAK,EAAE,KAoDnB,CAAA;AAGD,eAAO,MAAM,QAAQ,EAAE,KA4EtB,CAAA;AAGD,eAAO,MAAM,WAAW,EAAE,KAsGzB,CAAA;AAGD,eAAO,MAAM,SAAS,EAAE,KAwBvB,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE,KAsBxB,CAAA;AAGD,eAAO,MAAM,kBAAkB,EAAE,KA0BhC,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,KAa1B,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAkF7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/utils/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE/E,UAAU,mBAAmB;IAC3B,KAAK,EAAE,UAAU,CAAA;IACjB,OAAO,EAAE,YAAY,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,GAAI,2CAK/B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../src/modules/Alert/utils/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE/E,UAAU,mBAAmB;IAC3B,KAAK,EAAE,UAAU,CAAA;IACjB,OAAO,EAAE,YAAY,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,GAAI,2CAK/B,mBAAmB,WAqGrB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from '../../shared/types/icon';
|
|
2
|
-
export declare function Icon({ name, size, color, fill, className, background, backgroundSize, svgProps, strokeWidth, padding, style, onClick, colorDuotonePrimary, colorDuotoneSecondary, opacityDuotonePrimary, opacityDuotoneSecondary }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function Icon({ name, size, color, fill, className, background, backgroundColor, backgroundSize, svgProps, strokeWidth, padding, style, onClick, colorDuotonePrimary, colorDuotoneSecondary, opacityDuotonePrimary, opacityDuotoneSecondary }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/modules/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAS/C,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAW,EACX,KAAiB,EACjB,IAAc,EACd,SAAS,EACT,UAAkB,EAClB,cAAqB,EACrB,QAAa,EACb,WAAe,EACf,OAAgB,EAChB,KAAK,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACxB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/modules/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAS/C,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAW,EACX,KAAiB,EACjB,IAAc,EACd,SAAS,EACT,UAAkB,EAClB,eAAe,EACf,cAAqB,EACrB,QAAa,EACb,WAAe,EACf,OAAgB,EAChB,KAAK,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACxB,EAAE,SAAS,2CA+CX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconProps } from '../../../shared/types/icon';
|
|
2
2
|
interface LegacyIconProps extends IconProps {
|
|
3
3
|
}
|
|
4
|
-
export declare function LegacyIcon({ name, size, color, fill, className, background, backgroundSize, svgProps, strokeWidth, onClick, padding }: LegacyIconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export declare function LegacyIcon({ name, size, color, fill, className, background, backgroundColor, backgroundSize, svgProps, strokeWidth, onClick, padding }: LegacyIconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=LegacyIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegacyIcon.d.ts","sourceRoot":"","sources":["../../../../src/modules/Icon/components/LegacyIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAQ/C,UAAU,eAAgB,SAAQ,SAAS;CAE1C;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,IAAW,EACX,KAAiB,EACjB,IAAc,EACd,SAAS,EACT,UAAkB,EAClB,cAAqB,EACrB,QAAa,EACb,WAAe,EACf,OAAO,EACP,OAAgB,EACjB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"LegacyIcon.d.ts","sourceRoot":"","sources":["../../../../src/modules/Icon/components/LegacyIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAQ/C,UAAU,eAAgB,SAAQ,SAAS;CAE1C;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,IAAW,EACX,KAAiB,EACjB,IAAc,EACd,SAAS,EACT,UAAkB,EAClB,eAAe,EACf,cAAqB,EACrB,QAAa,EACb,WAAe,EACf,OAAO,EACP,OAAgB,EACjB,EAAE,eAAe,kDAkJjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IconProp, IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { IconFontColor, IconFontSize } from '../../../../shared/types';
|
|
3
|
+
import { IconFontColor, IconFontSize, VisualSize } from '../../../../shared/types';
|
|
4
4
|
type AnyIconDefinition = IconProp | IconDefinition | {
|
|
5
5
|
icon: any;
|
|
6
6
|
prefix?: string;
|
|
@@ -16,7 +16,11 @@ export interface IconFontProps {
|
|
|
16
16
|
colorDuotoneSecondary?: IconFontColor;
|
|
17
17
|
opacityDuotonePrimary?: number;
|
|
18
18
|
opacityDuotoneSecondary?: number;
|
|
19
|
+
background?: boolean;
|
|
20
|
+
backgroundColor?: string;
|
|
21
|
+
backgroundSize?: VisualSize;
|
|
22
|
+
padding?: 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
19
23
|
}
|
|
20
|
-
export declare const IconFont: ({ className, icon, size, color, onClick, style, colorDuotonePrimary, colorDuotoneSecondary, opacityDuotonePrimary, opacityDuotoneSecondary }: IconFontProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const IconFont: ({ className, icon, size, color, onClick, style, colorDuotonePrimary, colorDuotoneSecondary, opacityDuotonePrimary, opacityDuotoneSecondary, background, backgroundColor, backgroundSize, padding }: IconFontProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
25
|
export {};
|
|
22
26
|
//# sourceMappingURL=IconFont.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconFont.d.ts","sourceRoot":"","sources":["../../../../../src/modules/IconFont/components/organims/IconFont.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAG5E,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"IconFont.d.ts","sourceRoot":"","sources":["../../../../../src/modules/IconFont/components/organims/IconFont.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAA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,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAU3D,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/modules/Input/components/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAU3D,eAAO,MAAM,KAAK,iGA2OjB,CAAA"}
|
|
@@ -5,11 +5,12 @@ interface UseInputStylesProps {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
caret?: boolean;
|
|
8
|
+
errorCursor?: boolean;
|
|
8
9
|
paddingClasses: string;
|
|
9
10
|
autosize?: boolean;
|
|
10
11
|
pill: PillSize;
|
|
11
12
|
}
|
|
12
|
-
export declare const useInputStyles: ({ size, error, disabled, fullWidth, caret, paddingClasses, autosize, pill, }: UseInputStylesProps) => {
|
|
13
|
+
export declare const useInputStyles: ({ size, error, disabled, fullWidth, caret, errorCursor, paddingClasses, autosize, pill, }: UseInputStylesProps) => {
|
|
13
14
|
inputSizes: {
|
|
14
15
|
xs: string;
|
|
15
16
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInputStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Input/hooks/useInputStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC1D,UAAU,mBAAmB;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,eAAO,MAAM,cAAc,GAAI,
|
|
1
|
+
{"version":3,"file":"useInputStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Input/hooks/useInputStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC1D,UAAU,mBAAmB;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,eAAO,MAAM,cAAc,GAAI,2FAU5B,mBAAmB;;;;;;;;;;CA0ErB,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { InputRef } from '../../../../shared/types/input';
|
|
2
|
+
interface ColorInputProps {
|
|
3
|
+
/** Color en formato hexadecimal */
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Label del input */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Mensaje de error */
|
|
8
|
+
error?: string;
|
|
9
|
+
/** Texto de ayuda */
|
|
10
|
+
helperText?: string;
|
|
11
|
+
/** Si el componente está deshabilitado */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Callback cuando cambia el color */
|
|
14
|
+
onColorChange?: (color: string) => void;
|
|
15
|
+
/** Callback cuando se hace click en el input */
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
/** Clase personalizada */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Componente atom que muestra un input con el color de fondo aplicado
|
|
22
|
+
*/
|
|
23
|
+
export declare const ColorInput: import('react').ForwardRefExoticComponent<ColorInputProps & import('react').RefAttributes<InputRef>>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=ColorInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/atoms/ColorInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAI/C,UAAU,eAAe;IACvB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sCAAsC;IACtC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAyBD;;GAEG;AACH,eAAO,MAAM,UAAU,sGAqGtB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface ColorSwatchProps {
|
|
2
|
+
/** Color en formato hexadecimal */
|
|
3
|
+
color: string;
|
|
4
|
+
/** Si el color está seleccionado */
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
/** Callback cuando se hace click en el color */
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
/** Tamaño del swatch */
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
|
+
/** Clase personalizada */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Componente atom para mostrar un color individual
|
|
15
|
+
*/
|
|
16
|
+
export declare const ColorSwatch: ({ color, selected, onClick, size, className, }: ColorSwatchProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=ColorSwatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorSwatch.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/atoms/ColorSwatch.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,gDAMzB,gBAAgB,4CA4ClB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ColorPaletteProps {
|
|
2
|
+
/** Color actual en formato hexadecimal */
|
|
3
|
+
color: string;
|
|
4
|
+
/** Callback cuando cambia el color */
|
|
5
|
+
onColorChange: (color: string) => void;
|
|
6
|
+
/** Clase personalizada */
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Componente molecule que muestra un selector de colores completo
|
|
11
|
+
* con paleta de saturación/luminosidad y barra de matiz
|
|
12
|
+
*/
|
|
13
|
+
export declare const ColorPalette: ({ color, onColorChange, className, }: ColorPaletteProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ColorPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPalette.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/molecules/ColorPalette.tsx"],"names":[],"mappings":"AAIA,UAAU,iBAAiB;IACzB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,sCAI1B,iBAAiB,4CAmKnB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface ColorPickerContentProps {
|
|
2
|
+
/** Color actual seleccionado */
|
|
3
|
+
currentColor?: string;
|
|
4
|
+
/** Colores recientes */
|
|
5
|
+
recentColors: string[];
|
|
6
|
+
/** Callback cuando se selecciona un color */
|
|
7
|
+
onColorSelect: (color: string) => void;
|
|
8
|
+
/** Si mostrar el input hexadecimal */
|
|
9
|
+
showHexInput?: boolean;
|
|
10
|
+
/** Clase personalizada */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Componente molecule que contiene el contenido del picker de color
|
|
15
|
+
*/
|
|
16
|
+
export declare const ColorPickerContent: ({ currentColor, recentColors, onColorSelect, showHexInput, className, }: ColorPickerContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=ColorPickerContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/molecules/ColorPickerContent.tsx"],"names":[],"mappings":"AAUA,UAAU,uBAAuB;IAC/B,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,wBAAwB;IACxB,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,6CAA6C;IAC7C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,sCAAsC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,yEAMhC,uBAAuB,4CAmJzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ColorPickerProps, ColorPickerRef } from '../../../../shared/types/colorpicker';
|
|
2
|
+
export declare const PickerColor: import('react').ForwardRefExoticComponent<ColorPickerProps & import('react').RefAttributes<ColorPickerRef>>;
|
|
3
|
+
//# sourceMappingURL=PickerColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerColor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/organisms/PickerColor.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAI7E,eAAO,MAAM,WAAW,6GA4MvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/PickerColor/components/organisms/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colores recomendados para mostrar cuando no hay colores recientes
|
|
3
|
+
*/
|
|
4
|
+
export declare const RECOMMENDED_COLORS: string[];
|
|
5
|
+
/**
|
|
6
|
+
* Clave para almacenar colores recientes en localStorage
|
|
7
|
+
*/
|
|
8
|
+
export declare const STORAGE_KEY = "color-picker-recent";
|
|
9
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/constants/colors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB,UAqB9B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface UseEyeDropperReturn {
|
|
2
|
+
isSupported: boolean;
|
|
3
|
+
isActive: boolean;
|
|
4
|
+
pickColor: () => Promise<string | null>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Hook para usar la API EyeDropper del navegador
|
|
8
|
+
* Permite seleccionar un color de cualquier parte de la pantalla
|
|
9
|
+
*/
|
|
10
|
+
export declare const useEyeDropper: () => UseEyeDropperReturn;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useEyeDropper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEyeDropper.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/hooks/useEyeDropper.ts"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CACxC;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,QAAO,mBAuChC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface UseRecentColorsOptions {
|
|
2
|
+
maxRecentColors?: number;
|
|
3
|
+
initialRecentColors?: string[];
|
|
4
|
+
debounceMs?: number;
|
|
5
|
+
}
|
|
6
|
+
interface UseRecentColorsReturn {
|
|
7
|
+
recentColors: string[];
|
|
8
|
+
addRecentColor: (color: string) => void;
|
|
9
|
+
addRecentColorImmediate: (color: string) => void;
|
|
10
|
+
clearRecentColors: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Hook para manejar colores recientes con persistencia en localStorage
|
|
14
|
+
* Incluye debounce para evitar guardar constantemente durante el arrastre del selector
|
|
15
|
+
*/
|
|
16
|
+
export declare const useRecentColors: ({ maxRecentColors, initialRecentColors, debounceMs, }?: UseRecentColorsOptions) => UseRecentColorsReturn;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=useRecentColors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRecentColors.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/hooks/useRecentColors.ts"],"names":[],"mappings":"AAKA,UAAU,sBAAsB;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,UAAU,qBAAqB;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,uBAAuB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,wDAI7B,sBAA2B,KAAG,qBAyHhC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/PickerColor/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PickerColor } from '../components';
|
|
3
|
+
declare const meta: Meta<typeof PickerColor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PickerColor>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithDefaultValue: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const WithError: Story;
|
|
10
|
+
export declare const WithHelperText: Story;
|
|
11
|
+
export declare const DifferentPositions: Story;
|
|
12
|
+
export declare const WithoutHexInput: Story;
|
|
13
|
+
export declare const WithRef: Story;
|
|
14
|
+
export declare const CustomMaxRecentColors: Story;
|
|
15
|
+
export declare const Controlled: Story;
|
|
16
|
+
//# sourceMappingURL=PickerColor.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerColor.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/stories/PickerColor.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAkB,MAAM,eAAe,CAAA;AAG3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CA0DlC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAyBhC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAWnC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KA2BxB,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Valida si un string es un color hexadecimal válido
|
|
3
|
+
*/
|
|
4
|
+
export declare const isValidHexColor: (color: string) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Normaliza un color hexadecimal (agrega # si falta, convierte a mayúsculas)
|
|
7
|
+
*/
|
|
8
|
+
export declare const normalizeHexColor: (color: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Convierte un color hexadecimal a RGB
|
|
11
|
+
*/
|
|
12
|
+
export declare const hexToRgb: (hex: string) => {
|
|
13
|
+
r: number;
|
|
14
|
+
g: number;
|
|
15
|
+
b: number;
|
|
16
|
+
} | null;
|
|
17
|
+
/**
|
|
18
|
+
* Convierte RGB a hexadecimal
|
|
19
|
+
*/
|
|
20
|
+
export declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
21
|
+
/**
|
|
22
|
+
* Convierte HSL a RGB
|
|
23
|
+
*/
|
|
24
|
+
export declare const hslToRgb: (h: number, s: number, l: number) => {
|
|
25
|
+
r: number;
|
|
26
|
+
g: number;
|
|
27
|
+
b: number;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Convierte RGB a HSL
|
|
31
|
+
*/
|
|
32
|
+
export declare const rgbToHsl: (r: number, g: number, b: number) => {
|
|
33
|
+
h: number;
|
|
34
|
+
s: number;
|
|
35
|
+
l: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Convierte hexadecimal a HSL
|
|
39
|
+
*/
|
|
40
|
+
export declare const hexToHsl: (hex: string) => {
|
|
41
|
+
h: number;
|
|
42
|
+
s: number;
|
|
43
|
+
l: number;
|
|
44
|
+
} | null;
|
|
45
|
+
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/utils/colorUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,OAI/C,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,KAAG,MAQjD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAY5E,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,MAK1D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAgC3F,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAmC3F,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAI5E,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Debounce una función para que se ejecute después de que pase un tiempo sin llamadas
|
|
3
|
+
* @param func - Función a debouncear
|
|
4
|
+
* @param wait - Tiempo de espera en ms
|
|
5
|
+
* @returns Función debounceada
|
|
6
|
+
*/
|
|
7
|
+
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
|
|
8
|
+
//# sourceMappingURL=debounce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/utils/debounce.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,MAAM,GACX,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAelC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/PickerColor/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ProgressBar/components/organisms/atoms/BarProgress.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAqC,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"BarProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ProgressBar/components/organisms/atoms/BarProgress.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAqC,MAAM,4BAA4B,CAAA;AAsChG,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,kHAQrB,wBAAwB,6CAuCzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/modules/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA2C,MAAM,sBAAsB,CAAA;AAoB1F,eAAO,MAAM,KAAK,GAAI,CAAC,EAAG,saAgCvB,UAAU,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/modules/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA2C,MAAM,sBAAsB,CAAA;AAoB1F,eAAO,MAAM,KAAK,GAAI,CAAC,EAAG,saAgCvB,UAAU,CAAC,CAAC,CAAC,4CA6kBf,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFieldCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TextFieldCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,aAAa,GAAI,uFAS3B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"TextFieldCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TextFieldCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,aAAa,GAAI,uFAS3B,uBAAuB,4CAsJzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSelectionBar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableSelectionBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,UAAU,sBAAsB;IAC9B,wCAAwC;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,yCAAyC;IACzC,WAAW,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAChC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;IAC3B,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,GAAI,sFAO/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"TableSelectionBar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableSelectionBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,UAAU,sBAAsB;IAC9B,wCAAwC;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,yCAAyC;IACzC,WAAW,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAChC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;IAC3B,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,GAAI,sFAO/B,sBAAsB,mDAyDxB,CAAA"}
|
|
@@ -7,10 +7,14 @@ interface TableToolbarProps extends TableToolbarConfig {
|
|
|
7
7
|
filters?: AdvancedFilterConfig[];
|
|
8
8
|
onColumnConfig?: () => void;
|
|
9
9
|
onColumnVisibilityChange?: (columnId: string, visible: boolean) => void;
|
|
10
|
+
onMultipleColumnVisibilityChange?: (updates: Array<{
|
|
11
|
+
columnId: string;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
}>) => void;
|
|
10
14
|
onColumnReorder?: (reorderedColumns: ColumnConfig[]) => void;
|
|
11
15
|
onFiltersApply?: (filters: AdvancedFilterConfig[]) => void;
|
|
12
16
|
className?: string;
|
|
13
17
|
}
|
|
14
|
-
export declare const TableToolbar: ({ showSearch, searchPlaceholder, showColumnConfig, showCustomAction, customActionLabel, customActionIcon, showSecondCustomAction, secondCustomActionLabel, secondCustomActionIcon, showFilters, onSearch, onFilter, onCustomAction, onSecondCustomAction, selectedCount, columns, rows, filters, onColumnConfig, onColumnVisibilityChange, onColumnReorder, onFiltersApply, className, }: TableToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const TableToolbar: ({ showSearch, searchPlaceholder, showColumnConfig, showCustomAction, customActionLabel, customActionIcon, showSecondCustomAction, secondCustomActionLabel, secondCustomActionIcon, showFilters, onSearch, onFilter, onCustomAction, onSecondCustomAction, selectedCount, columns, rows, filters, onColumnConfig, onColumnVisibilityChange, onMultipleColumnVisibilityChange, onColumnReorder, onFiltersApply, className, }: TableToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
export {};
|
|
16
20
|
//# sourceMappingURL=TableToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EA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AAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,KAAK,IAAI,CAAA;IACnG,eAAe,CAAC,EAAE,CAAC,gBAAgB,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;IAC5D,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAA;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,GAAI,4ZAyB1B,iBAAiB,4CAwZnB,CAAA"}
|
|
@@ -24,6 +24,11 @@ interface UseTableConfigReturn {
|
|
|
24
24
|
updateColumnOrder: (newColumns: ColumnConfig[]) => void;
|
|
25
25
|
/** Actualizar visibilidad de columna */
|
|
26
26
|
updateColumnVisibility: (columnId: string, visible: boolean) => void;
|
|
27
|
+
/** Actualizar visibilidad de múltiples columnas de una vez */
|
|
28
|
+
updateMultipleColumnVisibility: (updates: Array<{
|
|
29
|
+
columnId: string;
|
|
30
|
+
visible: boolean;
|
|
31
|
+
}>) => void;
|
|
27
32
|
/** Actualizar bloqueo de columna */
|
|
28
33
|
updateColumnLock: (columnId: string, locked: boolean) => void;
|
|
29
34
|
/** Actualizar ancho de columna */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableConfig.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAoB,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKjH,UAAU,qBAAqB;IAC7B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qCAAqC;IACrC,cAAc,EAAE,YAAY,EAAE,CAAA;IAC9B,2BAA2B;IAC3B,WAAW,CAA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,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAA;IACzC,yBAAyB;IACzB,aAAa,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;IACnD,iDAAiD;IACjD,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,oCAAoC;IACpC,aAAa,EAAE,gBAAgB,CAAA;CAChC;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,GAAI,4FAO5B,qBAAqB,KAAG,oBA+N1B,CAAA"}
|
|
@@ -10,4 +10,11 @@ type Story = StoryObj<typeof Table>;
|
|
|
10
10
|
* - Edición de nombre con PUT a la API
|
|
11
11
|
*/
|
|
12
12
|
export declare const TeamsTable: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Tabla con validación de celdas editables.
|
|
15
|
+
* - Columnas de tipo "number" y "numeric" validan que solo se ingresen números
|
|
16
|
+
* - Columnas de tipo "text" aceptan cualquier texto
|
|
17
|
+
* - Cuando hay error de validación, se muestra cursor color danger y se bloquea la escritura
|
|
18
|
+
*/
|
|
19
|
+
export declare const ValidationTable: Story;
|
|
13
20
|
//# sourceMappingURL=TableWithQuery.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableWithQuery.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/TableWithQuery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAgBhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA+D5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"TableWithQuery.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/TableWithQuery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAgBhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA+D5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAsSnC;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAA;AAqHD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Toast/components/molecules/ToastItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAKjD,UAAU,cAAc;IACtB,SAAS,EAAE,UAAU,CAAA;CACtB;AAED,eAAO,MAAM,SAAS,GAAI,eAAe,cAAc,
|
|
1
|
+
{"version":3,"file":"ToastItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Toast/components/molecules/ToastItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAKjD,UAAU,cAAc;IACtB,SAAS,EAAE,UAAU,CAAA;CACtB;AAED,eAAO,MAAM,SAAS,GAAI,eAAe,cAAc,mDA6CtD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/hooks/useToast.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAInE,eAAO,MAAM,QAAQ;;;
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/hooks/useToast.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAInE,eAAO,MAAM,QAAQ;;;CAyFpB,CAAA"}
|