@imj_media/ui 1.2.0 → 1.2.2
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.css +1 -1
- package/dist/index.esm.js +6795 -6631
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts +9 -0
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Alert/hooks/useAlertStyles.d.ts.map +1 -1
- package/dist/modules/Alert/index.d.ts +10 -1
- package/dist/modules/Alert/index.d.ts.map +1 -1
- package/dist/modules/Alert/stories/alert.stories.d.ts +0 -1
- package/dist/modules/Alert/stories/alert.stories.d.ts.map +1 -1
- package/dist/modules/Alert/utils/alert.d.ts +14 -0
- package/dist/modules/Alert/utils/alert.d.ts.map +1 -1
- package/dist/modules/Avatar/constants/index.d.ts +1 -1
- package/dist/modules/Avatar/constants/index.d.ts.map +1 -1
- package/dist/modules/Avatar/utils/index.d.ts +1 -1
- package/dist/modules/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/modules/DatePicker/molecules/DateInput.d.ts.map +1 -1
- package/dist/modules/DatePicker/types/Input.types.d.ts +2 -0
- package/dist/modules/DatePicker/types/Input.types.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
- package/dist/modules/EmojiPicker/components/organisms/EmojiPicker.d.ts.map +1 -1
- package/dist/modules/Filters/components/organisms/Filters.d.ts.map +1 -1
- package/dist/modules/Header/stories/header.stories.d.ts.map +1 -1
- package/dist/modules/Icon/components/FontAwesomeIcon.d.ts.map +1 -1
- package/dist/modules/Icon/constants/size.d.ts.map +1 -1
- package/dist/modules/Icon/stories/Icon.stories.d.ts.map +1 -1
- package/dist/modules/Input/components/Input.d.ts.map +1 -1
- package/dist/modules/Input/hooks/useInputStyles.d.ts +3 -2
- package/dist/modules/Input/hooks/useInputStyles.d.ts.map +1 -1
- package/dist/modules/Input/stories/Input.stories.d.ts +1 -0
- package/dist/modules/Input/stories/Input.stories.d.ts.map +1 -1
- package/dist/modules/Lists/components/index.d.ts +1 -0
- package/dist/modules/Lists/components/index.d.ts.map +1 -1
- package/dist/modules/Lists/components/molecules/ListEmpty.d.ts +2 -1
- package/dist/modules/Lists/components/molecules/ListEmpty.d.ts.map +1 -1
- package/dist/modules/Lists/components/molecules/ListHeader.d.ts +2 -1
- package/dist/modules/Lists/components/molecules/ListHeader.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/List.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListBase.d.ts +2 -2
- package/dist/modules/Lists/components/organisms/ListBase.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListUserProfile.d.ts +2 -2
- package/dist/modules/Lists/components/organisms/ListUserProfile.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/index.d.ts +1 -1
- package/dist/modules/Lists/components/organisms/index.d.ts.map +1 -1
- package/dist/modules/Modal/components/molecules/ModalHeader.d.ts.map +1 -1
- package/dist/modules/Pagination/components/organisms/Pagination.d.ts.map +1 -1
- package/dist/modules/Picture/components/organisms/Picture.d.ts.map +1 -1
- package/dist/modules/RadioButton/components/atoms/RadioButton.d.ts +1 -0
- package/dist/modules/RadioButton/components/atoms/RadioButton.d.ts.map +1 -1
- package/dist/modules/RadioButton/components/atoms/radioButtonVariants.d.ts +26 -2
- package/dist/modules/RadioButton/components/atoms/radioButtonVariants.d.ts.map +1 -1
- package/dist/modules/RadioButton/stories/RadioButton.stories.d.ts.map +1 -1
- package/dist/modules/RadioButton/stories/RadioButtonGroup.stories.d.ts.map +1 -1
- package/dist/modules/Stepper/components/atoms/StepConnector.d.ts +4 -0
- package/dist/modules/Stepper/components/atoms/StepConnector.d.ts.map +1 -1
- package/dist/modules/Stepper/components/atoms/StepIcon.d.ts +4 -0
- package/dist/modules/Stepper/components/atoms/StepIcon.d.ts.map +1 -1
- package/dist/modules/Stepper/components/atoms/StepLabel.d.ts +4 -0
- package/dist/modules/Stepper/components/atoms/StepLabel.d.ts.map +1 -1
- package/dist/modules/Stepper/components/molecules/StepItem.d.ts +3 -0
- package/dist/modules/Stepper/components/molecules/StepItem.d.ts.map +1 -1
- package/dist/modules/Stepper/components/organisms/Stepper.d.ts +8 -0
- package/dist/modules/Stepper/components/organisms/Stepper.d.ts.map +1 -1
- package/dist/modules/Stepper/hooks/useStepper.d.ts +4 -0
- package/dist/modules/Stepper/hooks/useStepper.d.ts.map +1 -1
- package/dist/modules/Switch/stories/switch.stories.d.ts.map +1 -1
- package/dist/modules/Table/Table.d.ts +1 -1
- package/dist/modules/Table/Table.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/ActionsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/ActionsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/PrimaryCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/PrimaryCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/StatusCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/StatusCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TableCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/TableCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TagsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/TagsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/HeaderCell.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableSelectionBar.d.ts +29 -0
- package/dist/modules/Table/components/organisms/TableSelectionBar.d.ts.map +1 -0
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts +1 -2
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/index.d.ts +1 -0
- package/dist/modules/Table/components/organisms/index.d.ts.map +1 -1
- package/dist/modules/Table/hooks/index.d.ts +1 -0
- package/dist/modules/Table/hooks/index.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableEdit.d.ts +11 -0
- package/dist/modules/Table/hooks/useTableEdit.d.ts.map +1 -0
- package/dist/modules/Table/stories/Table.stories.d.ts +8 -0
- package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
- package/dist/modules/Table/utils/cellStyles.d.ts +1 -1
- package/dist/modules/Table/utils/cellStyles.d.ts.map +1 -1
- package/dist/modules/Tag/index.d.ts +1 -1
- package/dist/modules/Tag/index.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 +0 -2
- package/dist/modules/Toast/hooks/useToastService.d.ts.map +1 -1
- package/dist/modules/Toast/index.d.ts +0 -3
- package/dist/modules/Toast/index.d.ts.map +1 -1
- package/dist/modules/Toast/stories/toast.stories.d.ts +0 -1
- package/dist/modules/Toast/stories/toast.stories.d.ts.map +1 -1
- package/dist/modules/Toggle/constants/index.d.ts +2 -2
- package/dist/modules/Tooltip/hooks/useTooltipArrow.d.ts +1 -170
- package/dist/modules/Tooltip/hooks/useTooltipArrow.d.ts.map +1 -1
- package/dist/shared/const/colors.d.ts +2 -2
- package/dist/shared/types/alert.d.ts +2 -4
- package/dist/shared/types/alert.d.ts.map +1 -1
- package/dist/shared/types/button.d.ts +2 -2
- package/dist/shared/types/button.d.ts.map +1 -1
- package/dist/shared/types/datepicker.d.ts +2 -0
- package/dist/shared/types/datepicker.d.ts.map +1 -1
- package/dist/shared/types/dropdown.d.ts +2 -1
- package/dist/shared/types/dropdown.d.ts.map +1 -1
- package/dist/shared/types/icon.d.ts +2 -2
- package/dist/shared/types/icon.d.ts.map +1 -1
- package/dist/shared/types/input.d.ts +3 -1
- package/dist/shared/types/input.d.ts.map +1 -1
- package/dist/shared/types/list.d.ts.map +1 -1
- package/dist/shared/types/picture.d.ts +3 -2
- package/dist/shared/types/picture.d.ts.map +1 -1
- package/dist/shared/types/radiobutton.d.ts +1 -1
- package/dist/shared/types/radiobutton.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +37 -2
- package/dist/shared/types/table.d.ts.map +1 -1
- package/dist/shared/types/tag.d.ts +2 -0
- package/dist/shared/types/tag.d.ts.map +1 -1
- package/dist/shared/types/types.d.ts +2 -2
- package/dist/shared/types/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStepper.d.ts","sourceRoot":"","sources":["../../../../src/modules/Stepper/hooks/useStepper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,UAAU,eAAe;IACvB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,eAAO,MAAM,UAAU,GAAI,yEAKxB,eAAe;;
|
|
1
|
+
{"version":3,"file":"useStepper.d.ts","sourceRoot":"","sources":["../../../../src/modules/Stepper/hooks/useStepper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,UAAU,eAAe;IACvB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,yEAKxB,eAAe;;6BAWgB,MAAM,KAAG,YAAY;iCAwEjB,MAAM;+BAYR,MAAM,KAAG,UAAU;CAYtD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Switch/stories/switch.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAkBlC,eAAO,MAAM,OAAO,EAAE,KAmCrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"switch.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Switch/stories/switch.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAkBlC,eAAO,MAAM,OAAO,EAAE,KAmCrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAiEnB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableProps } from '../../shared/types/table';
|
|
2
|
-
export declare const Table: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, hoverable, dense, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Table: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, hoverable, dense, showEditActions, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/modules/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/modules/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAiBjD,eAAO,MAAM,KAAK,GAAI,CAAC,EAAG,4XA6BvB,UAAU,CAAC,CAAC,CAAC,4CAwef,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const ActionsCell: ({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element
|
|
2
|
+
export declare const ActionsCell: import('react').MemoExoticComponent<({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=ActionsCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/ActionsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"ActionsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/ActionsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAA;AA4CjF,eAAO,MAAM,WAAW,+FAOrB,uBAAuB,6CAsDxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const PrimaryCell: ({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element
|
|
2
|
+
export declare const PrimaryCell: import('react').MemoExoticComponent<({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=PrimaryCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/PrimaryCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"PrimaryCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/PrimaryCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,WAAW,+FAOrB,uBAAuB,6CA+CxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const StatusCell: ({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element
|
|
2
|
+
export declare const StatusCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=StatusCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,UAAU,0FAMpB,uBAAuB,6CA4FxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const TableCell: ({ value, row, column, state, onChange, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element
|
|
2
|
+
export declare const TableCell: import('react').MemoExoticComponent<({ value, row, column, state, onChange, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=TableCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,SAAS,yGAQnB,uBAAuB,6CA6BxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const TagsCell: ({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element
|
|
2
|
+
export declare const TagsCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=TagsCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TagsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TagsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TagsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AA+B9D,eAAO,MAAM,QAAQ,0FAMlB,uBAAuB,6CA0DxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/CellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAa,MAAM,sBAAsB,CAAA;AAmBzE,UAAU,iBAAiB,CAAC,CAAC,GAAG,GAAG;IACjC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;IACvB,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACrE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC9E;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,4EAQ9B,iBAAiB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/CellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAa,MAAM,sBAAsB,CAAA;AAmBzE,UAAU,iBAAiB,CAAC,CAAC,GAAG,GAAG;IACjC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;IACvB,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACrE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC9E;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,4EAQ9B,iBAAiB,CAAC,CAAC,CAAC,4CAmFtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/HeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAKtD,eAAO,MAAM,UAAU,GAAI,gLAgBxB,eAAe,
|
|
1
|
+
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/HeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAKtD,eAAO,MAAM,UAAU,GAAI,gLAgBxB,eAAe,4CA0QjB,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SelectionAction } from '../../../../shared/types/table';
|
|
2
|
+
interface TableSelectionBarProps {
|
|
3
|
+
/** Número de elementos seleccionados */
|
|
4
|
+
selectedCount: number;
|
|
5
|
+
/** IDs de los elementos seleccionados */
|
|
6
|
+
selectedIds: (string | number)[];
|
|
7
|
+
/** Acciones disponibles para los elementos seleccionados */
|
|
8
|
+
actions?: SelectionAction[];
|
|
9
|
+
/** Handler para limpiar la selección */
|
|
10
|
+
onClearSelection?: () => void;
|
|
11
|
+
/** Texto personalizado para el contador (por defecto: "Seleccionados") */
|
|
12
|
+
selectionText?: string;
|
|
13
|
+
/** Clase CSS adicional */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* TableSelectionBar - Barra de opciones para elementos seleccionados
|
|
18
|
+
*
|
|
19
|
+
* Según diseño de Figma:
|
|
20
|
+
* - Fondo: bg-fill-brand (azul)
|
|
21
|
+
* - Border radius: radius-surface-modal (16px)
|
|
22
|
+
* - Padding: 16px horizontal, 8px vertical
|
|
23
|
+
* - Gap: 16px entre elementos
|
|
24
|
+
* - Texto blanco para el contador
|
|
25
|
+
* - Divisor vertical entre contador y botones
|
|
26
|
+
*/
|
|
27
|
+
export declare const TableSelectionBar: ({ selectedCount, selectedIds, actions, onClearSelection, selectionText, className, }: TableSelectionBarProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=TableSelectionBar.d.ts.map
|
|
@@ -0,0 +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,mDAwDxB,CAAA"}
|
|
@@ -6,12 +6,11 @@ interface TableToolbarProps extends TableToolbarConfig {
|
|
|
6
6
|
rows?: any[];
|
|
7
7
|
filters?: AdvancedFilterConfig[];
|
|
8
8
|
onColumnConfig?: () => void;
|
|
9
|
-
onAddToPlan?: () => void;
|
|
10
9
|
onColumnVisibilityChange?: (columnId: string, visible: boolean) => void;
|
|
11
10
|
onColumnReorder?: (reorderedColumns: ColumnConfig[]) => void;
|
|
12
11
|
onFiltersApply?: (filters: AdvancedFilterConfig[]) => void;
|
|
13
12
|
className?: string;
|
|
14
13
|
}
|
|
15
|
-
export declare const TableToolbar: ({ showSearch, searchPlaceholder, showExport, showColumnConfig,
|
|
14
|
+
export declare const TableToolbar: ({ showSearch, searchPlaceholder, showExport, showColumnConfig, showCustomAction, customActionLabel, showFilters, onSearch, onFilter, onExport, onCustomAction, selectedCount, columns, rows, filters, onColumnConfig, onColumnVisibilityChange, onColumnReorder, onFiltersApply, className, }: TableToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
17
16
|
//# 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,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAWvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAWvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAGzD,UAAU,iBAAkB,SAAQ,kBAAkB;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACZ,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAChC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACvE,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,+RAqB1B,iBAAiB,4CAuVnB,CAAA"}
|
|
@@ -4,4 +4,5 @@ export { TableBody } from './TableBody';
|
|
|
4
4
|
export { TableContent } from './TableContent';
|
|
5
5
|
export { SkeletonRow } from './SkeletonRow';
|
|
6
6
|
export { EmptyTableState } from './EmptyTableState';
|
|
7
|
+
export { TableSelectionBar } from './TableSelectionBar';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -6,4 +6,5 @@ export { useTableData } from './useTableData';
|
|
|
6
6
|
export { useTableColumns } from './useTableColumns';
|
|
7
7
|
export { useTableExpand } from './useTableExpand';
|
|
8
8
|
export { useTableFocus } from './useTableFocus';
|
|
9
|
+
export { useTableEdit } from './useTableEdit';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RowConfig } from '../../../shared/types/table';
|
|
2
|
+
export declare const useTableEdit: <T = any>() => {
|
|
3
|
+
editingRowIds: Set<string | number>;
|
|
4
|
+
toggleRowEdit: (rowId: string | number) => void;
|
|
5
|
+
startEdit: (rowId: string | number) => void;
|
|
6
|
+
stopEdit: (rowId: string | number) => void;
|
|
7
|
+
stopAllEdits: () => void;
|
|
8
|
+
isRowEditing: (rowId: string | number) => boolean;
|
|
9
|
+
applyEditState: (rows: RowConfig<T>[]) => RowConfig<T>[];
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useTableEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableEdit.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableEdit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAEhD,eAAO,MAAM,YAAY,GAAI,CAAC,GAAG,GAAG;;2BAGQ,MAAM,GAAG,MAAM;uBAYnB,MAAM,GAAG,MAAM;sBAIhB,MAAM,GAAG,MAAM;;0BAa1C,MAAM,GAAG,MAAM;2BAKhB,SAAS,CAAC,CAAC,CAAC,EAAE,KAAG,SAAS,CAAC,CAAC,CAAC,EAAE;CAkBzC,CAAA"}
|
|
@@ -59,4 +59,12 @@ export declare const WithAdvancedFilters: StoryObj<typeof Table>;
|
|
|
59
59
|
* incluyendo información completa de parámetros, creadores y fechas.
|
|
60
60
|
*/
|
|
61
61
|
export declare const RealData: StoryObj<typeof Table>;
|
|
62
|
+
/**
|
|
63
|
+
* ## Control de Filtros
|
|
64
|
+
*
|
|
65
|
+
* Esta historia demuestra las nuevas props para controlar el comportamiento de los filtros:
|
|
66
|
+
* - `showFilters`: Mostrar/ocultar el botón de filtros (por defecto: true)
|
|
67
|
+
* - `internalFilters`: Aplicar filtros internamente o solo emitir evento (por defecto: false)
|
|
68
|
+
*/
|
|
69
|
+
export declare const ControlDeFiltros: StoryObj<typeof Table>;
|
|
62
70
|
//# sourceMappingURL=Table.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAqKhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAoB5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAqKhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAoB5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAgBzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAmC3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAkDtB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAenB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAezB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAiB5B,CAAA;AAgHD,eAAO,MAAM,kBAAkB,EAAE,KAkIhC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAyJ7B,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,KAAK,CAkJjD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,KAAK,CAsTjD,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,OAAO,KAAK,CA8J3D,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,OAAO,KAAK,CA0ItE,CAAA;AAuID,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,OAAO,KAAK,CAEtD,CAAA;AAwID,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,OAAO,KAAK,CAEtD,CAAA;AAggBD;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,KAAK,CAkM3C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,OAAO,KAAK,CAoTnD,CAAA"}
|
|
@@ -19,7 +19,7 @@ export declare const getTableCellProps: (column: ColumnConfig) => {
|
|
|
19
19
|
'data-column-id': string;
|
|
20
20
|
style: {
|
|
21
21
|
width: string | number | undefined;
|
|
22
|
-
minWidth: number | undefined;
|
|
22
|
+
minWidth: string | number | undefined;
|
|
23
23
|
maxWidth: number | undefined;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cellStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/cellStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAO,SAAqB,EAC5B,oBAAoB,MAAM,KACzB,MAmBF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,YAAY;;;;;;;
|
|
1
|
+
{"version":3,"file":"cellStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/cellStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAO,SAAqB,EAC5B,oBAAoB,MAAM,KACzB,MAmBF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,YAAY;;;;;;;CAYrD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,GAC1B,GAAG,KAAK,CAAC,UAAU,EACnB,cAAc,MAAM,IAAI,SAIzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITagProps } from '../../shared/types/tag';
|
|
2
|
-
export declare const Tag: ({ label, avatar, color, onClose, className, stroke, onClick, disabled, selected, ...props }: ITagProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Tag: ({ label, avatar, color, onClose, className, stroke, onClick, disabled, selected, infoIcon, ...props }: ITagProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAQ9C,eAAO,MAAM,GAAG,GAAI,uGAYjB,SAAS,4CAkQX,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,mDA4CtD,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;;;CAuEpB,CAAA"}
|
|
@@ -9,7 +9,6 @@ export declare const toastService: {
|
|
|
9
9
|
error(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
10
10
|
info(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
11
11
|
warning(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
12
|
-
dark(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
13
12
|
dismiss(id: number): void;
|
|
14
13
|
configure(options: Partial<ToastConfig>): void;
|
|
15
14
|
getListeners(): ToastListener[];
|
|
@@ -20,7 +19,6 @@ export declare const useToastService: () => {
|
|
|
20
19
|
error(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
21
20
|
info(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
22
21
|
warning(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
23
|
-
dark(messageOrOptions: ToastInput, options?: ToastOptions): number;
|
|
24
22
|
dismiss(id: number): void;
|
|
25
23
|
configure(options: Partial<ToastConfig>): void;
|
|
26
24
|
getListeners(): ToastListener[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToastService.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/hooks/useToastService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,KAAK,UAAU,GAAG,MAAM,GAAG,CAAC,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAQ/D,eAAO,MAAM,YAAY;2BACA,UAAU,UAAS,UAAU,
|
|
1
|
+
{"version":3,"file":"useToastService.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/hooks/useToastService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,KAAK,UAAU,GAAG,MAAM,GAAG,CAAC,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAQ/D,eAAO,MAAM,YAAY;2BACA,UAAU,UAAS,UAAU,YAAuB,YAAY;8BA0D7D,UAAU,YAAY,YAAY;4BAIpC,UAAU,YAAY,YAAY;2BAInC,UAAU,YAAY,YAAY;8BAI/B,UAAU,YAAY,YAAY;gBAIhD,MAAM;uBAeC,OAAO,CAAC,WAAW,CAAC;;CAOxC,CAAA;AAED,eAAO,MAAM,eAAe;2BAlGH,UAAU,UAAS,UAAU,YAAuB,YAAY;8BA0D7D,UAAU,YAAY,YAAY;4BAIpC,UAAU,YAAY,YAAY;2BAInC,UAAU,YAAY,YAAY;8BAI/B,UAAU,YAAY,YAAY;gBAIhD,MAAM;uBAeC,OAAO,CAAC,WAAW,CAAC;;CAWxC,CAAA"}
|
|
@@ -14,9 +14,6 @@ export declare const toast: {
|
|
|
14
14
|
warning(messageOrOptions: string | (import('../..').ToastOptions & {
|
|
15
15
|
message: string;
|
|
16
16
|
}), options?: import('../..').ToastOptions): number;
|
|
17
|
-
dark(messageOrOptions: string | (import('../..').ToastOptions & {
|
|
18
|
-
message: string;
|
|
19
|
-
}), options?: import('../..').ToastOptions): number;
|
|
20
17
|
dismiss(id: number): void;
|
|
21
18
|
configure(options: Partial<import('../..').ToastConfig>): void;
|
|
22
19
|
getListeners(): import('../..').ToastListener[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Toast/index.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Toast/index.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAAe,CAAA;AAEjC,eAAO,MAAM,OAAO,mCAInB,CAAA"}
|
|
@@ -6,7 +6,6 @@ type Story = StoryObj<typeof meta>;
|
|
|
6
6
|
export declare const Uso: Story;
|
|
7
7
|
export declare const Configuración: Story;
|
|
8
8
|
export declare const Default: Story;
|
|
9
|
-
export declare const Variantes: Story;
|
|
10
9
|
export declare const Tamaños: Story;
|
|
11
10
|
export declare const ConTitulo: Story;
|
|
12
11
|
export declare const SinBotonCerrar: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/stories/toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAS,OAAO,EAAE,MAAM,IAAI,CAAA;AAInC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAa9B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAClC,eAAO,MAAM,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"toast.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Toast/stories/toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAS,OAAO,EAAE,MAAM,IAAI,CAAA;AAInC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAa9B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAClC,eAAO,MAAM,GAAG,EAAE,KA0DjB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAoC3B,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAyErB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAwGvB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA0H5B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAmJxB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAmGrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAwKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAoEnC,CAAA"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Inactivo: ui-bg-fill-brand-disabled → var(--ui-color-bg-fill-brand-disabled) = #b8c5ee
|
|
9
9
|
* - Disabled: ui-bg-fill-hover → var(--ui-color-bg-fill-hover) = #f0f1f2
|
|
10
10
|
* - Border: ui-border-DEFAULT → var(--ui-color-border-default) = #c6c8cc
|
|
11
|
-
* - Thumb: ui-bg-
|
|
11
|
+
* - Thumb: ui-bg-fill = #ffffff
|
|
12
12
|
* - Text: ui-text-primary → var(--ui-color-text-primary) = #313336
|
|
13
13
|
*
|
|
14
14
|
* DIMENSIONES (clases de Tailwind con Positive Space):
|
|
@@ -25,7 +25,7 @@ export declare const TOGGLE_DESIGN_TOKENS: {
|
|
|
25
25
|
readonly inactive: "ui-bg-fill-brand-disabled";
|
|
26
26
|
readonly disabled: "ui-bg-fill-hover";
|
|
27
27
|
readonly border: "ui-border-DEFAULT";
|
|
28
|
-
readonly thumb: "ui-bg-
|
|
28
|
+
readonly thumb: "ui-bg-fill";
|
|
29
29
|
readonly text: "ui-text-primary";
|
|
30
30
|
};
|
|
31
31
|
readonly size: {
|
|
@@ -1,171 +1,2 @@
|
|
|
1
|
-
export declare const useTooltipArrow: (position: string) => {
|
|
2
|
-
position: "absolute";
|
|
3
|
-
bottom: string;
|
|
4
|
-
left: string;
|
|
5
|
-
transform: string;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
borderLeft: string;
|
|
9
|
-
borderRight: string;
|
|
10
|
-
borderTop: string;
|
|
11
|
-
top?: undefined;
|
|
12
|
-
borderBottom?: undefined;
|
|
13
|
-
right?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
position: "absolute";
|
|
16
|
-
top: string;
|
|
17
|
-
left: string;
|
|
18
|
-
transform: string;
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
borderLeft: string;
|
|
22
|
-
borderRight: string;
|
|
23
|
-
borderBottom: string;
|
|
24
|
-
bottom?: undefined;
|
|
25
|
-
borderTop?: undefined;
|
|
26
|
-
right?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
position: "absolute";
|
|
29
|
-
right: string;
|
|
30
|
-
top: string;
|
|
31
|
-
transform: string;
|
|
32
|
-
width: number;
|
|
33
|
-
height: number;
|
|
34
|
-
borderTop: string;
|
|
35
|
-
borderBottom: string;
|
|
36
|
-
borderLeft: string;
|
|
37
|
-
bottom?: undefined;
|
|
38
|
-
left?: undefined;
|
|
39
|
-
borderRight?: undefined;
|
|
40
|
-
} | {
|
|
41
|
-
position: "absolute";
|
|
42
|
-
left: string;
|
|
43
|
-
top: string;
|
|
44
|
-
transform: string;
|
|
45
|
-
width: number;
|
|
46
|
-
height: number;
|
|
47
|
-
borderTop: string;
|
|
48
|
-
borderBottom: string;
|
|
49
|
-
borderRight: string;
|
|
50
|
-
bottom?: undefined;
|
|
51
|
-
borderLeft?: undefined;
|
|
52
|
-
right?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
position: "absolute";
|
|
55
|
-
bottom: string;
|
|
56
|
-
left: string;
|
|
57
|
-
width: number;
|
|
58
|
-
height: number;
|
|
59
|
-
borderLeft: string;
|
|
60
|
-
borderRight: string;
|
|
61
|
-
borderTop: string;
|
|
62
|
-
transform?: undefined;
|
|
63
|
-
top?: undefined;
|
|
64
|
-
borderBottom?: undefined;
|
|
65
|
-
right?: undefined;
|
|
66
|
-
} | {
|
|
67
|
-
position: "absolute";
|
|
68
|
-
bottom: string;
|
|
69
|
-
right: string;
|
|
70
|
-
width: number;
|
|
71
|
-
height: number;
|
|
72
|
-
borderLeft: string;
|
|
73
|
-
borderRight: string;
|
|
74
|
-
borderTop: string;
|
|
75
|
-
left?: undefined;
|
|
76
|
-
transform?: undefined;
|
|
77
|
-
top?: undefined;
|
|
78
|
-
borderBottom?: undefined;
|
|
79
|
-
} | {
|
|
80
|
-
position: "absolute";
|
|
81
|
-
top: string;
|
|
82
|
-
left: string;
|
|
83
|
-
width: number;
|
|
84
|
-
height: number;
|
|
85
|
-
borderLeft: string;
|
|
86
|
-
borderRight: string;
|
|
87
|
-
borderBottom: string;
|
|
88
|
-
bottom?: undefined;
|
|
89
|
-
transform?: undefined;
|
|
90
|
-
borderTop?: undefined;
|
|
91
|
-
right?: undefined;
|
|
92
|
-
} | {
|
|
93
|
-
position: "absolute";
|
|
94
|
-
top: string;
|
|
95
|
-
right: string;
|
|
96
|
-
width: number;
|
|
97
|
-
height: number;
|
|
98
|
-
borderLeft: string;
|
|
99
|
-
borderRight: string;
|
|
100
|
-
borderBottom: string;
|
|
101
|
-
bottom?: undefined;
|
|
102
|
-
left?: undefined;
|
|
103
|
-
transform?: undefined;
|
|
104
|
-
borderTop?: undefined;
|
|
105
|
-
} | {
|
|
106
|
-
position: "absolute";
|
|
107
|
-
left: string;
|
|
108
|
-
top: string;
|
|
109
|
-
width: number;
|
|
110
|
-
height: number;
|
|
111
|
-
borderTop: string;
|
|
112
|
-
borderBottom: string;
|
|
113
|
-
borderRight: string;
|
|
114
|
-
bottom?: undefined;
|
|
115
|
-
transform?: undefined;
|
|
116
|
-
borderLeft?: undefined;
|
|
117
|
-
right?: undefined;
|
|
118
|
-
} | {
|
|
119
|
-
position: "absolute";
|
|
120
|
-
left: string;
|
|
121
|
-
bottom: string;
|
|
122
|
-
width: number;
|
|
123
|
-
height: number;
|
|
124
|
-
borderTop: string;
|
|
125
|
-
borderBottom: string;
|
|
126
|
-
borderRight: string;
|
|
127
|
-
transform?: undefined;
|
|
128
|
-
borderLeft?: undefined;
|
|
129
|
-
top?: undefined;
|
|
130
|
-
right?: undefined;
|
|
131
|
-
} | {
|
|
132
|
-
position: "absolute";
|
|
133
|
-
right: string;
|
|
134
|
-
top: string;
|
|
135
|
-
width: number;
|
|
136
|
-
height: number;
|
|
137
|
-
borderTop: string;
|
|
138
|
-
borderBottom: string;
|
|
139
|
-
borderLeft: string;
|
|
140
|
-
bottom?: undefined;
|
|
141
|
-
left?: undefined;
|
|
142
|
-
transform?: undefined;
|
|
143
|
-
borderRight?: undefined;
|
|
144
|
-
} | {
|
|
145
|
-
position: "absolute";
|
|
146
|
-
right: string;
|
|
147
|
-
bottom: string;
|
|
148
|
-
width: number;
|
|
149
|
-
height: number;
|
|
150
|
-
borderTop: string;
|
|
151
|
-
borderBottom: string;
|
|
152
|
-
borderLeft: string;
|
|
153
|
-
left?: undefined;
|
|
154
|
-
transform?: undefined;
|
|
155
|
-
borderRight?: undefined;
|
|
156
|
-
top?: undefined;
|
|
157
|
-
} | {
|
|
158
|
-
position?: undefined;
|
|
159
|
-
bottom?: undefined;
|
|
160
|
-
left?: undefined;
|
|
161
|
-
transform?: undefined;
|
|
162
|
-
width?: undefined;
|
|
163
|
-
height?: undefined;
|
|
164
|
-
borderLeft?: undefined;
|
|
165
|
-
borderRight?: undefined;
|
|
166
|
-
borderTop?: undefined;
|
|
167
|
-
top?: undefined;
|
|
168
|
-
borderBottom?: undefined;
|
|
169
|
-
right?: undefined;
|
|
170
|
-
};
|
|
1
|
+
export declare const useTooltipArrow: (position: string) => {};
|
|
171
2
|
//# sourceMappingURL=useTooltipArrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTooltipArrow.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/hooks/useTooltipArrow.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM
|
|
1
|
+
{"version":3,"file":"useTooltipArrow.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/hooks/useTooltipArrow.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,OA2G/C,CAAA"}
|
|
@@ -107,8 +107,8 @@ export declare const COLORS_CSS_VARS: {
|
|
|
107
107
|
readonly tertiary: "var(--ui-color-icon-tertiary-default)";
|
|
108
108
|
readonly blue_soft: "var(--ui-color-icon-all-colors-blue)";
|
|
109
109
|
readonly blue: "var(--ui-color-icon-all-colors-blue)";
|
|
110
|
-
readonly neutral_soft: "var(--ui-color-icon-
|
|
111
|
-
readonly neutral: "var(--ui-color-
|
|
110
|
+
readonly neutral_soft: "var(--ui-color-icon-default)";
|
|
111
|
+
readonly neutral: "var(--ui-color-neutral-500-legacy)";
|
|
112
112
|
readonly red_soft: "var(--ui-color-icon-all-colors-red)";
|
|
113
113
|
readonly red: "var(--ui-color-icon-all-colors-red)";
|
|
114
114
|
readonly green_soft: "var(--ui-color-icon-all-colors-green)";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type AlertColor = '
|
|
1
|
+
export type AlertColor = 'danger' | 'success' | 'info' | 'warning';
|
|
2
2
|
export type VariantAlert = 'contained' | 'outlined' | 'accent' | 'minimal';
|
|
3
3
|
export type AnimationAlert = 'none' | 'fade' | 'slide' | 'zoom' | 'flip' | 'bounce' | 'slide-up';
|
|
4
4
|
export type SizeAlert = 'sm' | 'md';
|
|
@@ -8,7 +8,6 @@ export interface IAlert {
|
|
|
8
8
|
color?: AlertColor;
|
|
9
9
|
isLeaving?: boolean;
|
|
10
10
|
title?: string;
|
|
11
|
-
duration?: number;
|
|
12
11
|
showCloseButton?: boolean;
|
|
13
12
|
variant?: VariantAlert;
|
|
14
13
|
onClick?: () => void;
|
|
@@ -17,12 +16,11 @@ export interface IAlert {
|
|
|
17
16
|
onSecondaryClick?: () => void;
|
|
18
17
|
primaryButtonText?: string;
|
|
19
18
|
secondaryButtonText?: string;
|
|
20
|
-
progressBarColor?: boolean;
|
|
21
19
|
animation?: AnimationAlert;
|
|
22
20
|
className?: string;
|
|
23
21
|
size?: SizeAlert;
|
|
24
22
|
}
|
|
25
|
-
export interface AlertHeaderProps extends Pick<IAlert, 'variant' | 'onClose' | 'title' | 'color' | '
|
|
23
|
+
export interface AlertHeaderProps extends Pick<IAlert, 'variant' | 'onClose' | 'title' | 'color' | 'message' | 'showCloseButton' | 'onPrimaryClick' | 'onSecondaryClick' | 'primaryButtonText' | 'secondaryButtonText'> {
|
|
26
24
|
}
|
|
27
25
|
export interface AlertFooterProps extends Pick<IAlert, 'variant' | 'onSecondaryClick' | 'onPrimaryClick' | 'primaryButtonText' | 'secondaryButtonText' | 'color'> {
|
|
28
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/shared/types/alert.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/shared/types/alert.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAClE,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAA;AAC1E,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAA;AAChG,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;AACnC,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC1D,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,MAAM,EACJ,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,iBAAiB,GACjB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,qBAAqB,CACxB;CAAG;AACN,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,MAAM,EACJ,SAAS,GACT,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,qBAAqB,GACrB,OAAO,CACV;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonTheme, ButtonColors, IconColor, IconType, VisualSlotType, TooltipPosition, TooltipAlignment, TooltipColors, VisualSize } from './types';
|
|
1
|
+
import { ButtonTheme, ButtonColors, IconColor, IconType, VisualSlotType, TooltipPosition, TooltipAlignment, TooltipColors, VisualSize, PillSize } from './types';
|
|
2
2
|
import { BadgeColor } from './badge';
|
|
3
3
|
export interface IInnerButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
ref?: React.RefObject<HTMLButtonElement | HTMLAnchorElement | HTMLDivElement>;
|
|
@@ -45,7 +45,7 @@ export interface IInnerButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
45
45
|
whiteBackground?: boolean;
|
|
46
46
|
strokeWidth?: number;
|
|
47
47
|
transition?: boolean;
|
|
48
|
-
pill?:
|
|
48
|
+
pill?: PillSize;
|
|
49
49
|
}
|
|
50
50
|
export interface IButtonProps extends Omit<IInnerButtonProps, 'iconSizeExtended' | 'defaultSizeIcon' | 'classNameTooltip' | 'tooltipColor'> {
|
|
51
51
|
variant?: 'button' | 'text' | 'outlined' | 'icon' | 'emoji';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared/types/button.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,QAAQ,EAER,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,UAAU,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared/types/button.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InputSize } from './types';
|
|
1
2
|
export type ViewMode = 'days' | 'months' | 'years';
|
|
2
3
|
export interface ViewModeProps {
|
|
3
4
|
currentViewMode: ViewMode;
|
|
@@ -19,6 +20,7 @@ export interface RangeSelectionState {
|
|
|
19
20
|
hoverDate: Date | null;
|
|
20
21
|
}
|
|
21
22
|
export interface DatePickerProps {
|
|
23
|
+
size?: InputSize;
|
|
22
24
|
mode?: 'single' | 'range';
|
|
23
25
|
selectedDate?: Date | null;
|
|
24
26
|
selectedRange?: DateRange;
|