@team-monolith/cds 0.12.9 → 0.13.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.
Files changed (80) hide show
  1. package/dist/index.d.ts +0 -10
  2. package/dist/index.js +0 -10
  3. package/package.json +2 -1
  4. package/dist/patterns/Card/Card.d.ts +0 -39
  5. package/dist/patterns/Card/Card.js +0 -68
  6. package/dist/patterns/Card/class-icon.svg +0 -28
  7. package/dist/patterns/Card/index.d.ts +0 -2
  8. package/dist/patterns/Card/index.js +0 -2
  9. package/dist/patterns/Card/material-icon.svg +0 -25
  10. package/dist/patterns/Card/problem-icon.svg +0 -25
  11. package/dist/patterns/Card/thumbnail/sample.png +0 -0
  12. package/dist/patterns/Dialog/Dialog.d.ts +0 -12
  13. package/dist/patterns/Dialog/Dialog.js +0 -26
  14. package/dist/patterns/Dialog/DialogContent.d.ts +0 -8
  15. package/dist/patterns/Dialog/DialogContent.js +0 -23
  16. package/dist/patterns/Dialog/DialogNavigation.d.ts +0 -12
  17. package/dist/patterns/Dialog/DialogNavigation.js +0 -25
  18. package/dist/patterns/Dialog/DialogNavigationContext.d.ts +0 -5
  19. package/dist/patterns/Dialog/DialogNavigationContext.js +0 -5
  20. package/dist/patterns/Dialog/DialogNavigationItem.d.ts +0 -10
  21. package/dist/patterns/Dialog/DialogNavigationItem.js +0 -25
  22. package/dist/patterns/Dialog/DialogPanel.d.ts +0 -10
  23. package/dist/patterns/Dialog/DialogPanel.js +0 -31
  24. package/dist/patterns/Dialog/DialogPanels.d.ts +0 -13
  25. package/dist/patterns/Dialog/DialogPanels.js +0 -17
  26. package/dist/patterns/Dialog/DialogPanelsContext.d.ts +0 -5
  27. package/dist/patterns/Dialog/DialogPanelsContext.js +0 -5
  28. package/dist/patterns/Dialog/DialogTitle.d.ts +0 -13
  29. package/dist/patterns/Dialog/DialogTitle.js +0 -26
  30. package/dist/patterns/Dialog/index.d.ts +0 -7
  31. package/dist/patterns/Dialog/index.js +0 -7
  32. package/dist/patterns/Dropdown/Dropdown.d.ts +0 -27
  33. package/dist/patterns/Dropdown/Dropdown.js +0 -41
  34. package/dist/patterns/Dropdown/DropdownItem.d.ts +0 -42
  35. package/dist/patterns/Dropdown/DropdownItem.js +0 -89
  36. package/dist/patterns/Dropdown/DropdownMenu.d.ts +0 -30
  37. package/dist/patterns/Dropdown/DropdownMenu.js +0 -85
  38. package/dist/patterns/Dropdown/index.d.ts +0 -2
  39. package/dist/patterns/Dropdown/index.js +0 -2
  40. package/dist/patterns/EmptyState/EmptyState.d.ts +0 -16
  41. package/dist/patterns/EmptyState/EmptyState.js +0 -36
  42. package/dist/patterns/EmptyState/empty-state-icon.svg +0 -36
  43. package/dist/patterns/EmptyState/index.d.ts +0 -2
  44. package/dist/patterns/EmptyState/index.js +0 -2
  45. package/dist/patterns/Navigation/NavigationContext.d.ts +0 -5
  46. package/dist/patterns/Navigation/NavigationContext.js +0 -5
  47. package/dist/patterns/Navigation/NavigationHorizontal.d.ts +0 -11
  48. package/dist/patterns/Navigation/NavigationHorizontal.js +0 -27
  49. package/dist/patterns/Navigation/NavigationItem.d.ts +0 -9
  50. package/dist/patterns/Navigation/NavigationItem.js +0 -33
  51. package/dist/patterns/Navigation/NavigationVertical.d.ts +0 -14
  52. package/dist/patterns/Navigation/NavigationVertical.js +0 -27
  53. package/dist/patterns/Navigation/index.d.ts +0 -3
  54. package/dist/patterns/Navigation/index.js +0 -3
  55. package/dist/patterns/SegmentedControl/SegmentedControlButton.d.ts +0 -8
  56. package/dist/patterns/SegmentedControl/SegmentedControlButton.js +0 -57
  57. package/dist/patterns/SegmentedControl/SegmentedControlGroup.d.ts +0 -26
  58. package/dist/patterns/SegmentedControl/SegmentedControlGroup.js +0 -50
  59. package/dist/patterns/SegmentedControl/SegmentedControlGroupPropsContext.d.ts +0 -5
  60. package/dist/patterns/SegmentedControl/SegmentedControlGroupPropsContext.js +0 -5
  61. package/dist/patterns/SegmentedControl/SegmentedControlSquareButton.d.ts +0 -8
  62. package/dist/patterns/SegmentedControl/SegmentedControlSquareButton.js +0 -45
  63. package/dist/patterns/SegmentedControl/index.d.ts +0 -3
  64. package/dist/patterns/SegmentedControl/index.js +0 -3
  65. package/dist/patterns/Table/Table.d.ts +0 -18
  66. package/dist/patterns/Table/Table.js +0 -33
  67. package/dist/patterns/Table/TableBody.d.ts +0 -8
  68. package/dist/patterns/Table/TableBody.js +0 -26
  69. package/dist/patterns/Table/TableCell.d.ts +0 -15
  70. package/dist/patterns/Table/TableCell.js +0 -78
  71. package/dist/patterns/Table/TableHead.d.ts +0 -8
  72. package/dist/patterns/Table/TableHead.js +0 -26
  73. package/dist/patterns/Table/TablePropsContext.d.ts +0 -7
  74. package/dist/patterns/Table/TablePropsContext.js +0 -3
  75. package/dist/patterns/Table/TableRow.d.ts +0 -14
  76. package/dist/patterns/Table/TableRow.js +0 -34
  77. package/dist/patterns/Table/TableVariantContext.d.ts +0 -6
  78. package/dist/patterns/Table/TableVariantContext.js +0 -3
  79. package/dist/patterns/Table/index.d.ts +0 -7
  80. package/dist/patterns/Table/index.js +0 -6
package/dist/index.d.ts CHANGED
@@ -25,16 +25,6 @@ export * from "./components/Tooltip";
25
25
  export { default as color } from "./foundation/color";
26
26
  export { default as shadows } from "./foundation/shadows";
27
27
  export * from "./foundation/breakpoints";
28
- export { default as Dropdown } from "./patterns/Dropdown/Dropdown";
29
- export * from "./patterns/Dropdown";
30
- export { default as DropdownItem } from "./patterns/Dropdown/DropdownItem";
31
- export * from "./patterns/Dropdown/DropdownItem";
32
- export { default as DropdownMenu } from "./patterns/Dropdown/DropdownMenu";
33
- export * from "./patterns/Dropdown/DropdownMenu";
34
- export { default as EmptyState } from "./patterns/EmptyState";
35
- export * from "./patterns/EmptyState";
36
- export * from "./patterns/SegmentedControl";
37
- export * from "./patterns/Table";
38
28
  export { default as CodleDesignSystemProvider } from "./CodleDesignSystemProvider";
39
29
  export { light } from "./CodleDesignSystemProvider";
40
30
  export * from "./icons";
package/dist/index.js CHANGED
@@ -25,16 +25,6 @@ export * from "./components/Tooltip";
25
25
  export { default as color } from "./foundation/color";
26
26
  export { default as shadows } from "./foundation/shadows";
27
27
  export * from "./foundation/breakpoints";
28
- export { default as Dropdown } from "./patterns/Dropdown/Dropdown";
29
- export * from "./patterns/Dropdown";
30
- export { default as DropdownItem } from "./patterns/Dropdown/DropdownItem";
31
- export * from "./patterns/Dropdown/DropdownItem";
32
- export { default as DropdownMenu } from "./patterns/Dropdown/DropdownMenu";
33
- export * from "./patterns/Dropdown/DropdownMenu";
34
- export { default as EmptyState } from "./patterns/EmptyState";
35
- export * from "./patterns/EmptyState";
36
- export * from "./patterns/SegmentedControl";
37
- export * from "./patterns/Table";
38
28
  export { default as CodleDesignSystemProvider } from "./CodleDesignSystemProvider";
39
29
  export { light } from "./CodleDesignSystemProvider";
40
30
  export * from "./icons";
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.12.9",
3
+ "version": "0.13.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
+ "sideEffects": false,
6
7
  "dependencies": {
7
8
  "@emotion/react": "^11.8.2",
8
9
  "@emotion/styled": "^11.8.1",
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import { ButtonProps } from "../../components/Button";
3
- import { CheckboxInputProps } from "../../components/CheckboxInput";
4
- import { TagProps } from "../../components/Tag";
5
- import { TableRowProps, TableSize } from "../Table";
6
- export interface CardProps {
7
- className?: string;
8
- component?: React.ElementType;
9
- /** 카드의 상위 요소의 width 전체 차지 여부 */
10
- fullWidth?: boolean;
11
- /** 썸네일 사진의 경로. 지정하지 않으면 썸네일이 없습니다. */
12
- thumbnail?: string;
13
- /** 썸네일의 높이 */
14
- thumbnailHeight?: number;
15
- /** 제목 아이콘 */
16
- titleIcon?: React.ReactNode;
17
- /** 제목. 미지정시 공간을 차지하지 않습니다. */
18
- title?: string;
19
- /** 부제목. 미지정시 공간을 차지하지 않습니다. */
20
- subtitle?: string;
21
- /** 제목 아이콘 row와 제목의 inline 여부 */
22
- titleInline?: boolean;
23
- /** 제목 아이콘 row에 들어가는 태그 props의 배열. 미지정시 태그가 없습니다. */
24
- tagsProps?: TagProps[];
25
- /** 제목 아이콘 row에 들어가는 체크박스 props. 미지정시 체크박스가 없습니다. */
26
- checkboxProps?: CheckboxInputProps;
27
- /** 카드 리스트 영역의 table cell size */
28
- tableSize?: TableSize;
29
- /** 카드 리스트 영역의 table row props의 배열. 미지정시 리스트가 노출되지 않습니다. */
30
- tableRowsProps?: (Omit<TableRowProps, "children"> & {
31
- rowData: React.ReactNode;
32
- })[];
33
- /** 카드 하단 버튼의 props 배열 */
34
- buttonsProps?: ButtonProps[];
35
- }
36
- /**
37
- * [피그마](https://www.figma.com/file/PnQp3tPxiCjgsPZfLUaUL1/Codle-PD-Kit---Patterns?type=design&node-id=181-93325&t=fCBWLZGGE9mwFqvg-0)
38
- */
39
- export default function Card(props: CardProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,68 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- var __rest = (this && this.__rest) || function (s, e) {
17
- var t = {};
18
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
- t[p] = s[p];
20
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
- t[p[i]] = s[p[i]];
24
- }
25
- return t;
26
- };
27
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
28
- /** @jsxImportSource @emotion/react */
29
- import { css, useTheme } from "@emotion/react";
30
- import shadows from "../../foundation/shadows";
31
- import styled from "@emotion/styled";
32
- import Button from "../../components/Button";
33
- import CheckboxInput from "../../components/CheckboxInput";
34
- import Tag from "../../components/Tag";
35
- import { Table, TableBody, TableCell, TableRow, } from "../Table";
36
- /**
37
- * [피그마](https://www.figma.com/file/PnQp3tPxiCjgsPZfLUaUL1/Codle-PD-Kit---Patterns?type=design&node-id=181-93325&t=fCBWLZGGE9mwFqvg-0)
38
- */
39
- export default function Card(props) {
40
- var className = props.className, _a = props.component, Component = _a === void 0 ? "div" : _a, fullWidth = props.fullWidth, thumbnail = props.thumbnail, _b = props.thumbnailHeight, thumbnailHeight = _b === void 0 ? 150 : _b, titleIcon = props.titleIcon, title = props.title, subtitle = props.subtitle, titleInline = props.titleInline, tagsProps = props.tagsProps, checkboxProps = props.checkboxProps, tableSize = props.tableSize, tableRowsProps = props.tableRowsProps, buttonsProps = props.buttonsProps;
41
- var theme = useTheme();
42
- return (_jsxs(Component, __assign({ className: className, css: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: ", ";\n border-radius: 16px;\n width: ", ";\n "], ["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: ", ";\n border-radius: 16px;\n width: ", ";\n "])), theme.color.background.neutralBase, theme.color.background.neutralAlt, shadows.shadow04, fullWidth ? "100%" : "380px") }, { children: [thumbnail && _jsx(StyledImg, { src: thumbnail, height: thumbnailHeight }), _jsxs(CardContainer, { children: [titleInline ? (_jsxs(_Fragment, { children: [(titleIcon || title || tagsProps || checkboxProps) && (_jsxs(CardHeader, { children: [_jsxs(CardHeaderLeftWrapper, { children: [titleIcon && _jsx(IconContainer, { children: titleIcon }), _jsx(TitleContainer, { children: title })] }), _jsxs(CardHeaderRightWrapper, { children: [_jsx(TagsWrapper, { children: tagsProps === null || tagsProps === void 0 ? void 0 : tagsProps.map(function (tagProps, index) { return (_jsx(Tag, __assign({}, tagProps), index)); }) }), checkboxProps && _jsx(StyledCheckboxInput, __assign({}, checkboxProps))] })] })), subtitle &&
43
- (titleIcon ? (_jsxs(SubHeader, { children: [_jsx(Spacer, {}), _jsx(SubTitleContainer, { children: subtitle })] })) : (_jsx(SubTitleContainer, __assign({ fullwidth: true }, { children: subtitle }))))] })) : (_jsxs(_Fragment, { children: [(titleIcon || tagsProps || checkboxProps) && (_jsxs(CardHeader, { children: [_jsx(CardHeaderLeftWrapper, { children: titleIcon && _jsx(IconContainer, { children: titleIcon }) }), _jsxs(CardHeaderRightWrapper, { children: [_jsx(TagsWrapper, { children: tagsProps === null || tagsProps === void 0 ? void 0 : tagsProps.map(function (tagProps, index) { return (_jsx(Tag, __assign({}, tagProps), index)); }) }), checkboxProps && _jsx(StyledCheckboxInput, __assign({}, checkboxProps))] })] })), title && _jsx(TitleContainer, { children: title }), subtitle && (_jsx(SubTitleContainer, __assign({ fullwidth: true }, { children: subtitle })))] })), tableRowsProps && (_jsx(Table, __assign({ size: tableSize !== null && tableSize !== void 0 ? tableSize : "small", css: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 20px;\n border-right: none;\n border-left: none;\n "], ["\n margin-top: 20px;\n border-right: none;\n border-left: none;\n "]))), fullWidth: true }, { children: _jsx(TableBody, { children: tableRowsProps.map(function (rowProps, index) {
44
- var rowData = rowProps.rowData, rowPropsWithoutRowData = __rest(rowProps, ["rowData"]);
45
- return (_jsx(TableRow, __assign({}, rowPropsWithoutRowData, { children: _jsx(TableCell, { children: rowData }) }), index));
46
- }) }) })))] }), buttonsProps && (_jsx(CardFooter, { children: _jsx(ButtonsContainer, { children: buttonsProps === null || buttonsProps === void 0 ? void 0 : buttonsProps.map(function (buttonProps, index) { return (_jsx(Button, __assign({}, buttonProps), index)); }) }) }))] })));
47
- }
48
- var TagsWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 4px;\n gap: 8px;\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 4px;\n gap: 8px;\n"])));
49
- var StyledCheckboxInput = styled(CheckboxInput)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: 4px;\n"], ["\n margin: 4px;\n"])));
50
- var CardFooter = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n justify-content: right;\n flex-direction: row;\n align-items: flex-start;\n padding: 0px 12px 12px;\n"], ["\n display: flex;\n justify-content: right;\n flex-direction: row;\n align-items: flex-start;\n padding: 0px 12px 12px;\n"])));
51
- var ButtonsContainer = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n padding: 4px;\n gap: 8px;\n"], ["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n padding: 4px;\n gap: 8px;\n"])));
52
- var SubTitleContainer = styled.div(function (_a) {
53
- var theme = _a.theme, fullwidth = _a.fullwidth;
54
- return css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n font-weight: 500;\n line-height: 16px;\n gap: 8px;\n color: ", ";\n "], ["\n width: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n font-weight: 500;\n line-height: 16px;\n gap: 8px;\n color: ", ";\n "])), fullwidth ? "100%" : "auto", theme.color.foreground.neutralBaseDisabled);
55
- });
56
- var SubHeader = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n height: auto;\n gap: 8px;\n"], ["\n display: flex;\n width: 100%;\n height: auto;\n gap: 8px;\n"])));
57
- var TitleContainer = styled.div(function (_a) {
58
- var theme = _a.theme;
59
- return css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n \n /* Alt/Heading/20px-Hv */\n font-family: NanumSquare Neo OTF;\n font-size: 20px;\n font-style: normal;\n font-weight: 900;\n line-height: 28px;\n color: ", ";\n "], ["\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n \n /* Alt/Heading/20px-Hv */\n font-family: NanumSquare Neo OTF;\n font-size: 20px;\n font-style: normal;\n font-weight: 900;\n line-height: 28px;\n color: ", ";\n "])), theme.color.foreground.neutralBase);
60
- });
61
- var Spacer = styled.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n width: 32px;\n height: 32px;\n"], ["\n width: 32px;\n height: 32px;\n"])));
62
- var IconContainer = styled.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n width: 32px;\n height: 32px;\n align-items: center;\n justify-content: center;\n"], ["\n width: 32px;\n height: 32px;\n align-items: center;\n justify-content: center;\n"])));
63
- var CardHeaderLeftWrapper = styled.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0px;\n gap: 8px;\n overflow: hidden;\n white-space: nowrap;\n"], ["\n display: flex;\n align-items: center;\n padding: 0px;\n gap: 8px;\n overflow: hidden;\n white-space: nowrap;\n"])));
64
- var CardHeaderRightWrapper = styled.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: 4px;\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: 4px;\n"])));
65
- var CardHeader = styled.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n height: auto;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 6px 0px;\n gap: 10px;\n"], ["\n display: flex;\n width: 100%;\n height: auto;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 6px 0px;\n gap: 10px;\n"])));
66
- var CardContainer = styled.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 16px 24px 24px;\n gap: 4px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 16px 24px 24px;\n gap: 4px;\n"])));
67
- var StyledImg = styled.img(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n object-fit: cover;\n width: 100%;\n height: ", "px;\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n overflow: hidden;\n"], ["\n object-fit: cover;\n width: 100%;\n height: ", "px;\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n overflow: hidden;\n"])), function (props) { return props.height; });
68
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
@@ -1,28 +0,0 @@
1
- <svg
2
- width="32"
3
- height="32"
4
- viewBox="0 0 32 32"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <rect x="2" y="2" width="28" height="28" rx="10" fill="#FFFAE6" />
9
- <g clipPath="url(#clip0_125_11773)">
10
- <path
11
- d="M15.7321 16.0674C15.4626 15.5284 14.8164 15.3404 14.2782 15.6099L12.2854 16.6329C12.2854 16.6329 11.1817 15.8519 10.8315 15.6099C10.6161 15.4485 9.94322 14.9096 9.29618 14.6942C8.59588 14.4521 6.76442 14.29 6.2529 15.5018C5.71396 16.7677 5.79543 20.0256 5.82207 22.3686C5.82207 22.584 5.9568 22.7187 6.17222 22.7187H10.0231C10.2652 22.7187 10.3466 22.584 10.3733 22.3952C10.3999 22.2871 10.6153 19.6214 10.5887 18.4636V18.0594L11.6117 18.7597C11.8005 18.8944 11.9885 18.9485 12.2039 18.9485C12.3653 18.9485 12.5275 18.9219 12.6888 18.8404L15.2739 17.4938C15.8128 17.2244 16.0008 16.5781 15.7313 16.0666L15.7321 16.0674Z"
12
- fill="#FF9100"
13
- />
14
- <path
15
- d="M25.5528 9.4967H13.2724C12.9222 9.4967 12.6261 9.79281 12.6261 10.143V14.4224L13.1133 14.1725C13.5113 13.9735 13.9374 13.8724 14.3604 13.8724C15.3748 13.8724 16.2866 14.431 16.7433 15.3302C17.0692 15.9585 17.1319 16.7034 16.9149 17.3763C16.6948 18.0618 16.2169 18.6171 15.5707 18.9399L13.0092 20.2739C12.8838 20.3366 12.7553 20.3859 12.6269 20.4274V21.991C12.6269 22.3411 12.923 22.6372 13.2731 22.6372H25.5528C25.9029 22.6372 26.199 22.3411 26.199 21.991V10.143C26.199 9.79281 25.9029 9.4967 25.5528 9.4967Z"
16
- fill="#FFE98A"
17
- />
18
- <path
19
- d="M8.48775 13.9672C9.78174 13.9672 10.8307 12.9182 10.8307 11.6242C10.8307 10.3302 9.78174 9.28125 8.48775 9.28125C7.19376 9.28125 6.14478 10.3302 6.14478 11.6242C6.14478 12.9182 7.19376 13.9672 8.48775 13.9672Z"
20
- fill="#FF9100"
21
- />
22
- </g>
23
- <defs>
24
- <clipPath id="clip0_125_11773">
25
- <rect width="24" height="24" fill="white" transform="translate(4 4)" />
26
- </clipPath>
27
- </defs>
28
- </svg>
@@ -1,2 +0,0 @@
1
- export * from "./Card";
2
- export { default } from "./Card";
@@ -1,2 +0,0 @@
1
- export * from "./Card";
2
- export { default } from "./Card";
@@ -1,25 +0,0 @@
1
- <svg
2
- width="32"
3
- height="32"
4
- viewBox="0 0 32 32"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <rect x="2" y="2" width="28" height="28" rx="10" fill="#ECF3FF" />
9
- <path
10
- d="M22.8152 7H9.68479C9.30659 7 9 7.29859 9 7.66693V25.3331C9 25.7014 9.30659 26 9.68479 26H22.8152C23.1934 26 23.5 25.7014 23.5 25.3331V7.66693C23.5 7.29859 23.1934 7 22.8152 7Z"
11
- fill="#C5DBFF"
12
- />
13
- <path
14
- d="M20.255 9.5H12.245C11.2813 9.5 10.5 10.2833 10.5 11.2496V11.2504C10.5 12.2167 11.2813 13 12.245 13H20.255C21.2187 13 22 12.2167 22 11.2504V11.2496C22 10.2833 21.2187 9.5 20.255 9.5Z"
15
- fill="#82ACE8"
16
- />
17
- <path
18
- d="M21.0614 15H11.4386C11.1963 15 11 15.2239 11 15.5C11 15.7761 11.1963 16 11.4386 16H21.0614C21.3037 16 21.5 15.7761 21.5 15.5C21.5 15.2239 21.3037 15 21.0614 15Z"
19
- fill="#82ACE8"
20
- />
21
- <path
22
- d="M15.8574 18.4383L11.643 16.5636C11.5494 16.5215 11.4462 16.5 11.3413 16.5H7.68565C7.30697 16.5 7 16.7791 7 17.1233V25.3767C7 25.7209 7.30697 26 7.68565 26H24.3144C24.693 26 25 25.7209 25 25.3767V19.1252C25 18.781 24.693 18.5019 24.3144 18.5019H16.1592C16.0551 18.5019 15.9519 18.4805 15.8574 18.4383Z"
23
- fill="#5599FF"
24
- />
25
- </svg>
@@ -1,25 +0,0 @@
1
- <svg
2
- width="32"
3
- height="32"
4
- viewBox="0 0 32 32"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <rect x="2" y="2" width="28" height="28" rx="10" fill="#F4FAE8" />
9
- <path
10
- d="M23.5624 11.3143V25.204C23.5624 25.6434 23.2068 26 22.7687 26H9.7818C9.34374 26 8.98816 25.6434 8.98816 25.204V7.12958C8.98816 6.69024 9.34374 6.33362 9.7818 6.33362H18.5961C18.8069 6.33362 19.0085 6.41726 19.1579 6.56707L23.3296 10.7509C23.478 10.8998 23.5624 11.1029 23.5624 11.3143Z"
11
- fill="#B3ECCD"
12
- />
13
- <path
14
- d="M18.6548 6.59832V11.0496C18.6548 11.1957 18.773 11.3134 18.9178 11.3134H23.2975C23.5312 11.3134 23.6494 11.0303 23.4854 10.8639L19.1057 6.41265C18.9398 6.24446 18.6548 6.3621 18.6548 6.59832Z"
15
- fill="#43C422"
16
- />
17
- <path
18
- d="M11.6596 17.558C11.8383 17.478 11.9657 17.353 12.0427 17.1839C12.1197 17.0148 12.1581 16.7896 12.1581 16.5093V15.6086C12.1581 14.9808 12.2699 14.5047 12.4936 14.1793C12.7172 13.854 13.015 13.637 13.3862 13.5286C13.7573 13.4201 14.2614 13.3668 14.8974 13.3668V14.6242C14.5885 14.6242 14.3521 14.6646 14.189 14.7446C14.0259 14.8245 13.9131 14.9468 13.8517 15.1113C13.7903 15.2758 13.7601 15.4964 13.7601 15.774V16.9597C13.7601 17.2639 13.6831 17.5249 13.5301 17.7427C13.377 17.9606 13.0929 18.137 12.6778 18.2712C12.2626 18.4063 11.6825 18.4734 10.9365 18.4734V17.6802C11.2399 17.6802 11.4809 17.6398 11.6596 17.5598V17.558ZM10.9365 17.6784H12.346V19.1922H10.9365V17.6784ZM13.3862 23.3494C13.015 23.2428 12.7172 23.0258 12.4936 22.7005C12.2699 22.3751 12.1581 21.8981 12.1581 21.2712V20.3659C12.1581 20.0856 12.1197 19.8604 12.0427 19.6894C11.9657 19.5185 11.8374 19.3935 11.6596 19.3126C11.4809 19.2326 11.2399 19.1922 10.9365 19.1922V18.4036C11.6816 18.4036 12.2626 18.4698 12.6778 18.6021C13.0929 18.7345 13.377 18.9109 13.5301 19.1306C13.6831 19.3512 13.7601 19.6132 13.7601 19.9174V21.103C13.7601 21.3806 13.7903 21.6012 13.8517 21.7657C13.9131 21.9303 14.0249 22.0525 14.189 22.1325C14.353 22.2124 14.5885 22.2529 14.8974 22.2529V23.5102C14.2614 23.5102 13.7573 23.4569 13.3862 23.3503V23.3494Z"
19
- fill="#1FBB26"
20
- />
21
- <path
22
- d="M19.1643 13.5256C19.5354 13.6322 19.8333 13.8482 20.0569 14.1745C20.2805 14.4999 20.3923 14.9769 20.3923 15.6037V16.5091C20.3923 16.7894 20.4308 17.0155 20.5078 17.1855C20.5848 17.3565 20.7131 17.4815 20.8909 17.5624C21.0687 17.6432 21.3106 17.6828 21.6139 17.6828V18.4714C20.8689 18.4714 20.2878 18.4052 19.8727 18.2728C19.4576 18.1405 19.1735 17.964 19.0204 17.7443C18.8674 17.5238 18.7913 17.2618 18.7913 16.9576V15.7719C18.7913 15.4943 18.7611 15.2738 18.6997 15.1092C18.6383 14.9447 18.5255 14.8225 18.3624 14.7425C18.1993 14.6625 17.9628 14.6221 17.654 14.6221V13.3647C18.29 13.3647 18.794 13.4181 19.1652 13.5247L19.1643 13.5256ZM20.8909 19.316C20.7122 19.396 20.5848 19.521 20.5078 19.6901C20.4308 19.8602 20.3923 20.0844 20.3923 20.3648V21.2655C20.3923 21.8932 20.2805 22.3694 20.0569 22.6947C19.8333 23.0201 19.5354 23.237 19.1643 23.3455C18.7931 23.4539 18.2891 23.5072 17.6531 23.5072V22.2499C17.9619 22.2499 18.1984 22.2094 18.3615 22.1295C18.5246 22.0495 18.6373 21.9273 18.6987 21.7627C18.7601 21.5982 18.7904 21.3776 18.7904 21.1V19.9144C18.7904 19.6102 18.8664 19.3491 19.0195 19.1313C19.1725 18.9135 19.4566 18.7379 19.8718 18.6028C20.2869 18.4677 20.867 18.4006 21.613 18.4006V19.1938C21.3097 19.1938 21.0687 19.2342 20.89 19.3142L20.8909 19.316ZM21.6139 19.1956H20.2045V17.6818H21.6139V19.1956Z"
23
- fill="#1FBB26"
24
- />
25
- </svg>
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- export interface DialogProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /** `true` 값일때 모달이 노출됩니다. */
6
- open: boolean;
7
- /** 모달이 닫힐 때 호출되는 callback */
8
- onClose?: () => void;
9
- /** 모달의 내용으로 표기될 값 */
10
- children: React.ReactNode;
11
- }
12
- export declare function Dialog(props: DialogProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,26 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
17
- /** @jsxImportSource @emotion/react */
18
- import { Modal as MuiModal } from "@mui/material";
19
- import { css, useTheme } from "@emotion/react";
20
- import shadows from "../../foundation/shadows";
21
- export function Dialog(props) {
22
- var className = props.className, _a = props.component, Component = _a === void 0 ? "div" : _a, open = props.open, onClose = props.onClose, children = props.children;
23
- var theme = useTheme();
24
- return (_jsx(MuiModal, __assign({ open: open, onClose: onClose }, { children: _jsx(Component, __assign({ className: className, css: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n box-shadow: ", ";\n border-radius: 16px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n box-sizing: border-box;\n\n display: flex;\n width: 800px;\n height: 600px;\n padding: 16px 0px;\n flex-direction: column;\n gap: 12px;\n "], ["\n background: ", ";\n box-shadow: ", ";\n border-radius: 16px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n box-sizing: border-box;\n\n display: flex;\n width: 800px;\n height: 600px;\n padding: 16px 0px;\n flex-direction: column;\n gap: 12px;\n "])), theme.color.background.neutralBase, shadows.shadow04) }, { children: children })) })));
25
- }
26
- var templateObject_1;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- export interface DialogContentProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /** Content 내용으로 표기될 값 */
6
- children: React.ReactNode;
7
- }
8
- export declare function DialogContent(props: DialogContentProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,23 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
17
- /** @jsxImportSource @emotion/react */
18
- import { css } from "@emotion/react";
19
- export function DialogContent(props) {
20
- var className = props.className, _a = props.component, Component = _a === void 0 ? "div" : _a, children = props.children;
21
- return (_jsx(Component, __assign({ className: className, css: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n padding: 0px 24px;\n align-items: flex-start;\n gap: 24px;\n "], ["\n display: flex;\n padding: 0px 24px;\n align-items: flex-start;\n gap: 24px;\n "]))) }, { children: children })));
22
- }
23
- var templateObject_1;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface DialogNavigationProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /** 현재 선택된 값 */
6
- value: string;
7
- /** DialogNavigationItem이 클릭될 때 호출되는 함수 */
8
- onChange: (newValue: string) => void;
9
- /** Content 내용으로 표기될 값 */
10
- children: React.ReactNode;
11
- }
12
- export declare function DialogNavigation(props: DialogNavigationProps): JSX.Element;
@@ -1,25 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- import styled from "@emotion/styled";
18
- import { NavigationVertical } from "../Navigation";
19
- import { DialogNavigationContext } from "./DialogNavigationContext";
20
- export function DialogNavigation(props) {
21
- var value = props.value, onChange = props.onChange;
22
- return (_jsx(DialogNavigationContext.Provider, __assign({ value: { value: value, onChange: onChange } }, { children: _jsx(StyledNavigationVertical, __assign({}, props, { size: "small" })) })));
23
- }
24
- var StyledNavigationVertical = styled(NavigationVertical)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 160px;\n"], ["\n width: 160px;\n"])));
25
- var templateObject_1;
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export declare const DialogNavigationContext: React.Context<{
3
- value: string;
4
- onChange: (newValue: string) => void;
5
- }>;
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export var DialogNavigationContext = React.createContext({
3
- value: "",
4
- onChange: function () { },
5
- });
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export interface DialogNavigationItemProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /** 표기될 문구 */
6
- label: string;
7
- /** 이 아이템이 대표하는 값 */
8
- value: string;
9
- }
10
- export declare function DialogNavigationItem(props: DialogNavigationItemProps): JSX.Element;
@@ -1,25 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { useContext } from "react";
14
- import { NavigationItem } from "../Navigation";
15
- import { DialogNavigationContext } from "./DialogNavigationContext";
16
- export function DialogNavigationItem(props) {
17
- return (_jsx(NavigationItem, { component: NavigationItemComponent, to: props.value, label: props.label }));
18
- }
19
- function NavigationItemComponent(props) {
20
- var to = props.to;
21
- var _a = useContext(DialogNavigationContext), value = _a.value, onChange = _a.onChange;
22
- return (_jsx("span", __assign({ onClick: function () {
23
- onChange(to);
24
- } }, { children: props.children({ isActive: value === to }) })));
25
- }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export interface DialogPanelProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /** Content 내용으로 표기될 값 */
6
- children: React.ReactNode;
7
- /** 이 패널이 활성화 될 값 */
8
- value: string;
9
- }
10
- export declare function DialogPanel(props: DialogPanelProps): React.ReactElement;
@@ -1,31 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- import { jsx as _jsx, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
17
- /** @jsxImportSource @emotion/react */
18
- import { css } from "@emotion/react";
19
- import { useContext } from "react";
20
- import { DialogPanelsContext } from "./DialogPanelsContext";
21
- export function DialogPanel(props) {
22
- var className = props.className, _a = props.component, Component = _a === void 0 ? "div" : _a, children = props.children, value = props.value;
23
- var _b = useContext(DialogPanelsContext), selectedValue = _b.value, renderStrategy = _b.renderStrategy;
24
- if (renderStrategy === "hidden") {
25
- return (_jsx(Component, __assign({ className: className, css: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n width: 100%;\n "], ["\n display: ", ";\n width: 100%;\n "])), value === selectedValue ? "block" : "none") }, { children: children })));
26
- }
27
- else {
28
- return value === selectedValue ? (_jsx(Component, __assign({ className: className }, { children: children }))) : (_jsx(_Fragment, {}));
29
- }
30
- }
31
- var templateObject_1;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- export interface DialogPanelsProps {
3
- /** Content 내용으로 표기될 값 */
4
- children: React.ReactNode;
5
- /** 현재 선택된 값 */
6
- value: string;
7
- /** 활성화되지 않은 패널을 처리하는 전략
8
- * hidden: display: none으로 가립니다.
9
- * unmount: 컴포넌트를 unmount합니다.
10
- */
11
- renderStrategy: "hidden" | "unmount";
12
- }
13
- export declare function DialogPanels(props: DialogPanelsProps): React.ReactElement;
@@ -1,17 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { DialogPanelsContext } from "./DialogPanelsContext";
14
- export function DialogPanels(props) {
15
- var children = props.children, value = props.value, renderStrategy = props.renderStrategy;
16
- return (_jsx(DialogPanelsContext.Provider, __assign({ value: { value: value, renderStrategy: renderStrategy } }, { children: children })));
17
- }
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export declare const DialogPanelsContext: React.Context<{
3
- value: string;
4
- renderStrategy: "hidden" | "unmount";
5
- }>;
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export var DialogPanelsContext = React.createContext({
3
- value: "",
4
- renderStrategy: "unmount",
5
- });
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- export interface DialogTitleProps {
3
- className?: string;
4
- component?: React.ElementType;
5
- /**
6
- * 제목의 X 버튼을 누르를 때 호출되는 callback.
7
- * 이 속성이 전달되면 X 버튼을 Title 영역에 그립니다.
8
- */
9
- onClose?: () => void;
10
- /** Content 내용으로 표기될 값 */
11
- children: React.ReactNode;
12
- }
13
- export declare function DialogTitle(props: DialogTitleProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,26 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
17
- /** @jsxImportSource @emotion/react */
18
- import { css, useTheme } from "@emotion/react";
19
- import SquareButton from "../../components/SquareButton";
20
- import { CloseFillIcon } from "../../icons";
21
- export function DialogTitle(props) {
22
- var className = props.className, _a = props.component, Component = _a === void 0 ? "div" : _a, onClose = props.onClose, children = props.children;
23
- var theme = useTheme();
24
- return (_jsx(_Fragment, { children: _jsxs(Component, __assign({ className: className, css: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n padding: 0px 16px 0px 24px;\n justify-content: space-between;\n align-items: center;\n\n text-align: center;\n /* Alt/Paragraph/16px-Eb */\n font-size: 16px;\n font-family: NanumSquareNeo;\n font-weight: 800;\n line-height: 24px;\n color: ", ";\n "], ["\n display: flex;\n padding: 0px 16px 0px 24px;\n justify-content: space-between;\n align-items: center;\n\n text-align: center;\n /* Alt/Paragraph/16px-Eb */\n font-size: 16px;\n font-family: NanumSquareNeo;\n font-weight: 800;\n line-height: 24px;\n color: ", ";\n "])), theme.color.foreground.neutralBase) }, { children: [children, onClose && (_jsx(SquareButton, { color: "icon", size: "small", icon: _jsx(CloseFillIcon, {}), onClick: onClose }))] })) }));
25
- }
26
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- export * from "./Dialog";
2
- export * from "./DialogTitle";
3
- export * from "./DialogContent";
4
- export * from "./DialogNavigation";
5
- export * from "./DialogNavigationItem";
6
- export * from "./DialogPanels";
7
- export * from "./DialogPanel";
@@ -1,7 +0,0 @@
1
- export * from "./Dialog";
2
- export * from "./DialogTitle";
3
- export * from "./DialogContent";
4
- export * from "./DialogNavigation";
5
- export * from "./DialogNavigationItem";
6
- export * from "./DialogPanels";
7
- export * from "./DialogPanel";
@@ -1,27 +0,0 @@
1
- import React from "react";
2
- import { ButtonColor, ButtonSize } from "../../components/Button";
3
- import { DropdownMenuProps } from "./DropdownMenu";
4
- export interface DropdownProps {
5
- className?: string;
6
- component?: React.ElementType;
7
- /** 버튼 비활성화 여부 */
8
- disabled?: boolean;
9
- /** 버튼 컴포넌트 색상 */
10
- color?: ButtonColor;
11
- /** 버튼 컴포넌트 크기 */
12
- size?: ButtonSize;
13
- /** 버튼 컴포넌트 내 좌측에 표기될 아이콘 */
14
- startIcon?: React.ReactNode;
15
- /** 버튼 컴포넌트 내 우측에 표기될 아이콘 */
16
- endIcon?: React.ReactNode;
17
- /** 버튼 컴포넌트 내 표기될 문자열 */
18
- label: string;
19
- /** 버튼 클릭 시 호출될 콜백 함수 */
20
- onClick?: () => void;
21
- /** 드롭다운 메뉴의 props */
22
- menuProps: DropdownMenuProps;
23
- }
24
- /**
25
- * [피그마](https://www.figma.com/file/PnQp3tPxiCjgsPZfLUaUL1/Codle-PD-Kit---Patterns?type=design&node-id=203-95329&t=FwczLZ1IVvskUVbT-0)
26
- */
27
- export default function Dropdown(props: DropdownProps): JSX.Element;