@croquiscom/pds 8.34.3 → 8.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +53 -0
- package/assets/icons/BoxMove.svg +4 -0
- package/assets/icons/BoxSearch.svg +4 -0
- package/assets/icons/BoxStock.svg +4 -0
- package/assets/icons/BoxTaped.svg +3 -0
- package/assets/icons/BoxUnload.svg +3 -0
- package/assets/icons/Boxes.svg +3 -0
- package/assets/icons/CartCheck.svg +6 -0
- package/assets/icons/CartClock.svg +6 -0
- package/assets/icons/CartMove.svg +7 -0
- package/assets/icons/Classification.svg +8 -0
- package/assets/icons/Home.svg +3 -0
- package/assets/icons/HomeIn.svg +4 -0
- package/assets/icons/HomeOut.svg +3 -0
- package/assets/icons/HomeSetting.svg +5 -0
- package/assets/icons/Inspection.svg +5 -0
- package/assets/icons/Person.svg +4 -0
- package/assets/icons/Picking.svg +3 -0
- package/assets/icons/PickingOut.svg +4 -0
- package/assets/icons/TruckReturn.svg +4 -0
- package/assets/icons/TruckSetting.svg +5 -0
- package/assets/icons/Warehouse.svg +3 -0
- package/dist/components/badge/Badge.figma.d.ts +1 -0
- package/dist/components/banner/Banner.figma.d.ts +1 -0
- package/dist/components/bottom-sheet/BottomSheet.figma.d.ts +1 -0
- package/dist/components/button/Button.figma.d.ts +1 -0
- package/dist/components/button/IconButton.figma.d.ts +1 -0
- package/dist/components/button/PopoverButton.figma.d.ts +1 -0
- package/dist/components/button/TextButton.figma.d.ts +1 -0
- package/dist/components/category-selector/CategorySelector.figma.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.figma.d.ts +1 -0
- package/dist/components/chip/Chip.figma.d.ts +1 -0
- package/dist/components/chip/SelectChip.figma.d.ts +1 -0
- package/dist/components/color-picker/ColorPicker.figma.d.ts +1 -0
- package/dist/components/column-view-controller/ColumnViewController.figma.d.ts +1 -0
- package/dist/components/date-picker/DatePicker.figma.d.ts +1 -0
- package/dist/components/date-picker/DateRangePicker.figma.d.ts +1 -0
- package/dist/components/date-picker/DateUnitPicker.figma.d.ts +1 -0
- package/dist/components/divider/Divider.figma.d.ts +1 -0
- package/dist/components/dropdown/Dropdown.figma.d.ts +1 -0
- package/dist/components/dropdown/DropdownInput.figma.d.ts +1 -0
- package/dist/components/file-upload/FileUpload.figma.d.ts +1 -0
- package/dist/components/form/FormField.figma.d.ts +1 -0
- package/dist/components/form/FormHelperText.figma.d.ts +1 -0
- package/dist/components/form/FormLabel.figma.d.ts +1 -0
- package/dist/components/icons/generated/BoxMove.d.ts +4 -0
- package/dist/components/icons/generated/BoxSearch.d.ts +4 -0
- package/dist/components/icons/generated/BoxStock.d.ts +4 -0
- package/dist/components/icons/generated/BoxTaped.d.ts +4 -0
- package/dist/components/icons/generated/BoxUnload.d.ts +4 -0
- package/dist/components/icons/generated/Boxes.d.ts +4 -0
- package/dist/components/icons/generated/CartCheck.d.ts +4 -0
- package/dist/components/icons/generated/CartClock.d.ts +4 -0
- package/dist/components/icons/generated/CartMove.d.ts +4 -0
- package/dist/components/icons/generated/Classification.d.ts +4 -0
- package/dist/components/icons/generated/Home.d.ts +4 -0
- package/dist/components/icons/generated/HomeIn.d.ts +4 -0
- package/dist/components/icons/generated/HomeOut.d.ts +4 -0
- package/dist/components/icons/generated/HomeSetting.d.ts +4 -0
- package/dist/components/icons/generated/Inspection.d.ts +4 -0
- package/dist/components/icons/generated/Person.d.ts +4 -0
- package/dist/components/icons/generated/Picking.d.ts +4 -0
- package/dist/components/icons/generated/PickingOut.d.ts +4 -0
- package/dist/components/icons/generated/TruckReturn.d.ts +4 -0
- package/dist/components/icons/generated/TruckSetting.d.ts +4 -0
- package/dist/components/icons/generated/Warehouse.d.ts +4 -0
- package/dist/components/icons/generated/index.d.ts +21 -0
- package/dist/components/icons/generated/index.figma.d.ts +1 -0
- package/dist/components/images/generated/index.figma.d.ts +1 -0
- package/dist/components/input/Input.figma.d.ts +1 -0
- package/dist/components/list-item/ListItem.figma.d.ts +1 -0
- package/dist/components/notification/Notification.figma.d.ts +1 -0
- package/dist/components/page-indicator/PageIndicator.figma.d.ts +1 -0
- package/dist/components/pagination/Pagination.figma.d.ts +1 -0
- package/dist/components/pagination/PaginationArrow.figma.d.ts +1 -0
- package/dist/components/popover/Popover.figma.d.ts +1 -0
- package/dist/components/radio/Radio.figma.d.ts +1 -0
- package/dist/components/radio/RadioGroup.figma.d.ts +1 -0
- package/dist/components/switch/Switch.figma.d.ts +1 -0
- package/dist/components/table/types.d.ts +3 -2
- package/dist/components/tabs/LineTab.figma.d.ts +1 -0
- package/dist/components/tabs/LineTabs.figma.d.ts +1 -0
- package/dist/components/tabs/PanelTabs/PanelTab.figma.d.ts +1 -0
- package/dist/components/tabs/PanelTabs/PanelTabGroup.figma.d.ts +1 -0
- package/dist/components/tabs/PanelTabs/PanelTabs.figma.d.ts +1 -0
- package/dist/components/time-picker/TimePicker.figma.d.ts +1 -0
- package/dist/components/time-picker/TimeRangePicker.figma.d.ts +1 -0
- package/dist/components/toast/Toast.figma.d.ts +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +6 -2
- package/dist/components/tooltip/Tooltip.figma.d.ts +1 -0
- package/dist/container/page-header/PageHeader.figma.d.ts +1 -0
- package/dist/container/section-title/SectionTitle.figma.d.ts +1 -0
- package/dist/container/state/State.figma.d.ts +1 -0
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/docs/figma_copy_link.png +0 -0
- package/docs/figma_main_component.png +0 -0
- package/figma.config.json +8 -0
- package/package.json +3 -2
- package/scripts/figma-import-icons.js +103 -0
|
@@ -13,11 +13,12 @@ export type CellAttributes = {
|
|
|
13
13
|
style?: CSSObject;
|
|
14
14
|
};
|
|
15
15
|
export type RowSelectState<DataType> = ((row: DataType) => boolean) | Array<Key> | null;
|
|
16
|
-
export type CellAttributesProps<DataType> = (row: DataType, index?: number) => Pick<TdHTMLAttributes<any>, 'rowSpan' | 'colSpan'> & CellAttributes;
|
|
17
|
-
export type CellProps<DataType> = ({ row, value, index, }: {
|
|
16
|
+
export type CellAttributesProps<DataType> = (row: DataType, index?: number, rows?: DataTableRowsType<DataType>) => Pick<TdHTMLAttributes<any>, 'rowSpan' | 'colSpan'> & CellAttributes;
|
|
17
|
+
export type CellProps<DataType> = ({ row, value, index, rows, }: {
|
|
18
18
|
row: DataType;
|
|
19
19
|
value: CellValue<any>;
|
|
20
20
|
index: number;
|
|
21
|
+
rows: DataTableRowsType<DataType>;
|
|
21
22
|
}) => ReactNode;
|
|
22
23
|
export type DataTableColumnBase = {
|
|
23
24
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,6 +2,10 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import { Placement } from '../../styles';
|
|
3
3
|
import { TooltipBaseProps } from './TooltipBase';
|
|
4
4
|
export type OpenerTriggerEvent = 'hover' | 'click' | 'none';
|
|
5
|
+
/**
|
|
6
|
+
* 툴팁이 `opened` prop에 의해 변경된 경우에는 `reason`이 `null`이 됩니다.
|
|
7
|
+
*/
|
|
8
|
+
export type TooltipOpenChangeReason = 'click' | 'closeClick' | 'overlayClick' | 'hover' | null;
|
|
5
9
|
type TooltipContentWithCloseAction = (action: {
|
|
6
10
|
close(): void;
|
|
7
11
|
}) => ReactNode;
|
|
@@ -35,8 +39,8 @@ export interface TooltipProps extends TooltipBaseProps {
|
|
|
35
39
|
* @default false
|
|
36
40
|
*/
|
|
37
41
|
closeButton?: boolean;
|
|
38
|
-
onClose?: () => void;
|
|
39
|
-
onOpen?: () => void;
|
|
42
|
+
onClose?: (reason: TooltipOpenChangeReason) => void;
|
|
43
|
+
onOpen?: (reason: TooltipOpenChangeReason) => void;
|
|
40
44
|
}
|
|
41
45
|
export declare const Tooltip: ({ placement, children, className, content, canClickOutside, openerTriggerEvent, opened: openProp, size, kind, zIndex, noUsePortal, closeButton, onClose, onOpen, }: TooltipProps) => React.JSX.Element;
|
|
42
46
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|