jy-headless 0.1.1 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/components/icons/CallIcon.d.ts +1 -1
- package/dist/components/icons/CloseIcon.d.ts +1 -1
- package/dist/components/icons/DownArrowIcon.d.ts +1 -1
- package/dist/components/icons/HomeIcon.d.ts +1 -1
- package/dist/components/icons/ImageIcon.d.ts +3 -0
- package/dist/components/icons/ImagePlusIcon.d.ts +3 -0
- package/dist/components/icons/SearchIcon.d.ts +1 -1
- package/dist/components/icons/UpArrowIcon.d.ts +1 -1
- package/dist/components/icons/index.d.ts +5 -1
- package/dist/components/input/ImageInput.d.ts +8 -0
- package/dist/components/utils/generateHash.d.ts +2 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.esm.js +45 -234
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +47 -233
- package/dist/index.js.map +1 -1
- package/package.json +9 -12
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ jy-headless는 React용으로 설계된 현대적이고 경량화된 커스터
|
|
|
13
13
|
## 컴포넌트
|
|
14
14
|
- Button
|
|
15
15
|
- Input
|
|
16
|
-
-
|
|
16
|
+
- ImageInput
|
|
17
17
|
- Spinner
|
|
18
18
|
- Radio
|
|
19
19
|
- RadioInput
|
|
@@ -25,10 +25,13 @@ jy-headless는 React용으로 설계된 현대적이고 경량화된 커스터
|
|
|
25
25
|
- Icons
|
|
26
26
|
- CallIcon
|
|
27
27
|
- CloseIcon
|
|
28
|
+
- SearchIcon
|
|
28
29
|
- HomeIcon
|
|
29
30
|
- SearchIcon
|
|
30
31
|
- DownArrowIcon
|
|
31
32
|
- UpArrowIcon
|
|
33
|
+
- ImageIcon
|
|
34
|
+
- ImagePlusIcon
|
|
32
35
|
|
|
33
36
|
## Storybook
|
|
34
37
|
[Storybook Demo](https://6795bdd4b570ec0f79b87452-vxalvntppc.chromatic.com)에서 `jy-headless` 라이브러리의 컴포넌트들을 실시간으로 확인할 수 있습니다.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const CallIcon: ({ color, size, bgColor, fill, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CallIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CallIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const CloseIcon: ({ color, size, bgColor }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CloseIcon: ({ color, size, bgColor, style }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CloseIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const DownArrowIcon: ({ color, size, bgColor, fill, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const DownArrowIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default DownArrowIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const HomeIcon: ({ color, size, bgColor, fill, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const HomeIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default HomeIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const SearchIcon: ({ color, size, bgColor, fill, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const SearchIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SearchIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './index';
|
|
2
|
-
declare const UpArrowIcon: ({ color, size, bgColor, fill, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const UpArrowIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default UpArrowIcon;
|
|
@@ -4,10 +4,14 @@ import HomeIcon from './HomeIcon';
|
|
|
4
4
|
import SearchIcon from './SearchIcon';
|
|
5
5
|
import DownArrowIcon from './DownArrowIcon';
|
|
6
6
|
import UpArrowIcon from './UpArrowIcon';
|
|
7
|
-
|
|
7
|
+
import { CSSProperties } from 'react';
|
|
8
|
+
import ImageIcon from './ImageIcon';
|
|
9
|
+
import ImagePlusIcon from './ImagePlusIcon';
|
|
10
|
+
export { CloseIcon, CallIcon, HomeIcon, SearchIcon, DownArrowIcon, UpArrowIcon, ImageIcon, ImagePlusIcon, };
|
|
8
11
|
export interface IconProps {
|
|
9
12
|
color?: string;
|
|
10
13
|
size?: string;
|
|
11
14
|
fill?: string;
|
|
12
15
|
bgColor?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
13
17
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
interface ImageInput extends HTMLAttributes<HTMLInputElement> {
|
|
3
|
+
onFileChange: (url: string) => void;
|
|
4
|
+
defaultElement?: ReactNode;
|
|
5
|
+
preview: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ImageInput: ({ id, preview, defaultElement, onFileChange, onChange, style, className, children, }: ImageInput) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ImageInput;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Button from './components/button/Button';
|
|
2
2
|
import Input from './components/input/Input';
|
|
3
|
-
import DesktopKeyboardInput from './components/input/DesktopKeyboardInput';
|
|
4
3
|
import Spinner from './components/spinner/Spinner';
|
|
5
4
|
import RadioInput from './components/radio/RadioInput';
|
|
6
5
|
import RadioGroup from './components/radio/RadioGroup';
|
|
@@ -8,5 +7,7 @@ import Modal from './components/modal/Modal';
|
|
|
8
7
|
import Tab from './components/tabs/Tab';
|
|
9
8
|
import Accordion from './components/accordion/Accordion';
|
|
10
9
|
import Dropdown from './components/dropdown/Dropdown';
|
|
11
|
-
import
|
|
12
|
-
|
|
10
|
+
import ImageInput from './components/input/ImageInput';
|
|
11
|
+
import generateHash from './components/utils/generateHash';
|
|
12
|
+
import { CallIcon, CloseIcon, DownArrowIcon, HomeIcon, SearchIcon, UpArrowIcon, ImageIcon, ImagePlusIcon } from './components/icons';
|
|
13
|
+
export { CallIcon, CloseIcon, HomeIcon, SearchIcon, DownArrowIcon, UpArrowIcon, ImageIcon, ImagePlusIcon, Button, Input, Spinner, RadioInput, RadioGroup, Modal, Tab, Accordion, Dropdown, ImageInput, generateHash, };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState,
|
|
1
|
+
import React, { useState, useMemo, useEffect, createContext, useContext, useRef } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
|
|
4
4
|
/******************************************************************************
|
|
@@ -785,230 +785,14 @@ const Input = (_a) => {
|
|
|
785
785
|
(typeof error === 'string' ? (jsxRuntimeExports.jsx("span", { className: 'error-message', style: { position: 'absolute', top: '100%', left: 0 }, children: error })) : (error))] }));
|
|
786
786
|
};
|
|
787
787
|
|
|
788
|
-
const
|
|
789
|
-
|
|
790
|
-
{ code: 'Escape', label: 'Esc', key: 'Escape' },
|
|
791
|
-
{ code: null, label: '', key: '' },
|
|
792
|
-
],
|
|
793
|
-
[
|
|
794
|
-
{ code: 'F1', label: 'F1', key: 'F1' },
|
|
795
|
-
{ code: 'F2', label: 'F2', key: 'F2' },
|
|
796
|
-
{ code: 'F3', label: 'F3', key: 'F3' },
|
|
797
|
-
{ code: 'F4', label: 'F4', key: 'F4' },
|
|
798
|
-
{ code: null, label: '', key: '' },
|
|
799
|
-
],
|
|
800
|
-
[
|
|
801
|
-
{ code: 'F5', label: 'F5', key: 'F5' },
|
|
802
|
-
{ code: 'F6', label: 'F6', key: 'F6' },
|
|
803
|
-
{ code: 'F7', label: 'F7', key: 'F7' },
|
|
804
|
-
{ code: 'F8', label: 'F8', key: 'F8' },
|
|
805
|
-
{ code: null, label: '', key: '' },
|
|
806
|
-
],
|
|
807
|
-
[
|
|
808
|
-
{ code: 'F9', label: 'F9', key: 'F9' },
|
|
809
|
-
{ code: 'F10', label: 'F10', key: 'F10' },
|
|
810
|
-
{ code: 'F11', label: 'F11', key: 'F11' },
|
|
811
|
-
{ code: 'F12', label: 'F12', key: 'F12' },
|
|
812
|
-
{ code: null, label: '', key: '' },
|
|
813
|
-
],
|
|
814
|
-
[
|
|
815
|
-
{ code: 'PrintScreen', label: 'Print Screen', key: 'PrintScreen' },
|
|
816
|
-
{ code: 'ScrollLock', label: 'Scroll Lock', key: 'ScrollLock' },
|
|
817
|
-
{ code: 'Pause', label: 'Pause', key: 'Pause' },
|
|
818
|
-
],
|
|
819
|
-
];
|
|
820
|
-
const numberRow = [
|
|
821
|
-
{ code: 'Backquote', label: '~', shiftLabel: '¡', key: '`' },
|
|
822
|
-
{ code: 'Digit1', label: '1', shiftLabel: '!', key: '1' },
|
|
823
|
-
{ code: 'Digit2', label: '2', shiftLabel: '@', key: '2' },
|
|
824
|
-
{ code: 'Digit3', label: '3', shiftLabel: '#', key: '3' },
|
|
825
|
-
{ code: 'Digit4', label: '4', shiftLabel: '$', key: '4' },
|
|
826
|
-
{ code: 'Digit5', label: '5', shiftLabel: '%', key: '5' },
|
|
827
|
-
{ code: 'Digit6', label: '6', shiftLabel: '^', key: '6' },
|
|
828
|
-
{ code: 'Digit7', label: '7', shiftLabel: '&', key: '7' },
|
|
829
|
-
{ code: 'Digit8', label: '8', shiftLabel: '*', key: '8' },
|
|
830
|
-
{ code: 'Digit9', label: '9', shiftLabel: '(', key: '9' },
|
|
831
|
-
{ code: 'Digit0', label: '0', shiftLabel: ')', key: '0' },
|
|
832
|
-
{ code: 'Minus', label: '-', shiftLabel: '_', key: '-' },
|
|
833
|
-
{ code: 'Equal', label: '=', shiftLabel: '+', key: '=' },
|
|
834
|
-
{ code: 'Backspace', label: 'Backspace', key: 'Backspace' },
|
|
835
|
-
];
|
|
836
|
-
const qwertyRow = [
|
|
837
|
-
{ code: 'Tab', label: 'Tab', key: 'Tab' },
|
|
838
|
-
{ code: 'KeyQ', label: 'q', shiftLabel: 'Q', kor: 'ㅂ', korShift: 'ㅃ', key: 'q' },
|
|
839
|
-
{ code: 'KeyW', label: 'w', shiftLabel: 'W', kor: 'ㅈ', korShift: 'ㅉ', key: 'w' },
|
|
840
|
-
{ code: 'KeyE', label: 'e', shiftLabel: 'E', kor: 'ㄷ', korShift: 'ㄸ', key: 'e' },
|
|
841
|
-
{ code: 'KeyR', label: 'r', shiftLabel: 'R', kor: 'ㄱ', korShift: 'ㄲ', key: 'r' },
|
|
842
|
-
{ code: 'KeyT', label: 't', shiftLabel: 'T', kor: 'ㅅ', korShift: 'ㅆ', key: 't' },
|
|
843
|
-
{ code: 'KeyY', label: 'y', shiftLabel: 'Y', kor: 'ㅛ', korShift: 'ㅕ', key: 'y' },
|
|
844
|
-
{ code: 'KeyU', label: 'u', shiftLabel: 'U', kor: 'ㅕ', korShift: 'ㅕ', key: 'u' },
|
|
845
|
-
{ code: 'KeyI', label: 'i', shiftLabel: 'I', kor: 'ㅑ', korShift: 'ㅑ', key: 'i' },
|
|
846
|
-
{ code: 'KeyO', label: 'o', shiftLabel: 'O', kor: 'ㅐ', korShift: 'ㅒ', key: 'o' },
|
|
847
|
-
{ code: 'KeyP', label: 'p', shiftLabel: 'P', kor: 'ㅔ', korShift: 'ㅖ', key: 'p' },
|
|
848
|
-
{ code: 'BracketLeft', label: '[', shiftLabel: '{', kor: null, korShift: null, key: '[' },
|
|
849
|
-
{ code: 'BracketRight', label: ']', shiftLabel: '}', kor: null, korShift: null, key: ']' },
|
|
850
|
-
{ code: 'Backslash', label: '\\', shiftLabel: '|', kor: null, korShift: null, key: '\\' },
|
|
851
|
-
];
|
|
852
|
-
const homeRow = [
|
|
853
|
-
{ code: 'CapsLock', label: 'Caps Lock', kor: null, korShift: null, key: 'CapsLock' },
|
|
854
|
-
{ code: 'KeyA', label: 'a', shiftLabel: 'A', kor: 'ㅁ', korShift: 'ㅁ', key: 'a' },
|
|
855
|
-
{ code: 'KeyS', label: 's', shiftLabel: 'S', kor: 'ㄴ', korShift: 'ㄴ', key: 's' },
|
|
856
|
-
{ code: 'KeyD', label: 'd', shiftLabel: 'D', kor: 'ㅇ', korShift: 'ㅇ', key: 'd' },
|
|
857
|
-
{ code: 'KeyF', label: 'f', shiftLabel: 'F', kor: 'ㄹ', korShift: 'ㄹ', key: 'f' },
|
|
858
|
-
{ code: 'KeyG', label: 'g', shiftLabel: 'G', kor: 'ㅎ', korShift: 'ㅎ', key: 'g' },
|
|
859
|
-
{ code: 'KeyH', label: 'h', shiftLabel: 'H', kor: 'ㅗ', korShift: 'ㅗ', key: 'h' },
|
|
860
|
-
{ code: 'KeyJ', label: 'j', shiftLabel: 'J', kor: 'ㅓ', korShift: 'ㅓ', key: 'j' },
|
|
861
|
-
{ code: 'KeyK', label: 'k', shiftLabel: 'K', kor: 'ㅏ', korShift: 'ㅏ', key: 'k' },
|
|
862
|
-
{ code: 'KeyL', label: 'l', shiftLabel: 'L', kor: 'ㅣ', korShift: 'ㅣ', key: 'l' },
|
|
863
|
-
{ code: 'Semicolon', label: ';', shiftLabel: ':', kor: null, korShift: null, key: ';' },
|
|
864
|
-
{ code: 'Quote', label: "'", shiftLabel: '"', kor: null, korShift: null, key: "'" },
|
|
865
|
-
{ code: 'Enter', label: 'Enter', kor: null, korShift: null, key: 'Enter' },
|
|
866
|
-
];
|
|
867
|
-
const bottomRow = [
|
|
868
|
-
{ code: 'ShiftLeft', label: 'Shift', kor: null, key: 'Shift' },
|
|
869
|
-
{ code: 'KeyZ', label: 'z', shiftLabel: 'Z', kor: 'ㅋ', key: 'z' },
|
|
870
|
-
{ code: 'KeyX', label: 'x', shiftLabel: 'X', kor: 'ㅌ', key: 'x' },
|
|
871
|
-
{ code: 'KeyC', label: 'c', shiftLabel: 'C', kor: 'ㅊ', key: 'c' },
|
|
872
|
-
{ code: 'KeyV', label: 'v', shiftLabel: 'V', kor: 'ㅍ', key: 'v' },
|
|
873
|
-
{ code: 'KeyB', label: 'b', shiftLabel: 'B', kor: 'ㅠ', key: 'b' },
|
|
874
|
-
{ code: 'KeyN', label: 'n', shiftLabel: 'N', kor: 'ㅜ', key: 'n' },
|
|
875
|
-
{ code: 'KeyM', label: 'm', shiftLabel: 'M', kor: 'ㅡ', key: 'm' },
|
|
876
|
-
{ code: 'Comma', label: ',', shiftLabel: '<', kor: null, key: ',' },
|
|
877
|
-
{ code: 'Period', label: '.', shiftLabel: '>', kor: null, key: '.' },
|
|
878
|
-
{ code: 'Slash', label: '/', shiftLabel: '?', kor: null, key: '/' },
|
|
879
|
-
{ code: 'ShiftRight', label: 'Shift', kor: null, key: 'Shift' },
|
|
880
|
-
];
|
|
881
|
-
const spaceRow = [
|
|
882
|
-
{ code: 'ControlLeft', label: 'Ctrl', key: 'Control' },
|
|
883
|
-
{ code: 'MetaLeft', label: 'Win', key: 'Meta' },
|
|
884
|
-
{ code: 'AltLeft', label: 'Alt', key: 'Alt' },
|
|
885
|
-
{ code: 'Space', label: 'Space', key: ' ' },
|
|
886
|
-
{ code: 'AltRight', label: 'Alt', key: 'Alt' },
|
|
887
|
-
{ code: 'Fn', label: 'Fn', key: 'Fn' },
|
|
888
|
-
{ code: 'ContextMenu', label: 'Menu', key: 'ContextMenu' },
|
|
889
|
-
{ code: 'ControlRight', label: 'Ctrl', key: 'Control' },
|
|
890
|
-
];
|
|
891
|
-
const DesktopKeyboardInput = ({ type = 'full-size', hasFunction = true, hasNumpad = true, cellStyle = {}, cellClassName = '', activeCellStyle = {}, activeCellClassName = '', style = {}, className = '', onKeyDown, onKeyUp, }) => {
|
|
892
|
-
const [inputKey, setInputKey] = useState([]);
|
|
893
|
-
const [isShift, setIsShift] = useState(false);
|
|
894
|
-
const [isHangulMode, setIsHangulMode] = useState(false);
|
|
895
|
-
const getKeyFromEvent = (keyCode) => {
|
|
896
|
-
var _a, _b;
|
|
897
|
-
let row = null;
|
|
898
|
-
const allRows = [
|
|
899
|
-
...functionRow.flat(),
|
|
900
|
-
...numberRow,
|
|
901
|
-
...qwertyRow,
|
|
902
|
-
...homeRow,
|
|
903
|
-
...bottomRow,
|
|
904
|
-
...spaceRow,
|
|
905
|
-
];
|
|
906
|
-
row = allRows.find((row) => row.code === keyCode);
|
|
907
|
-
return {
|
|
908
|
-
code: (_a = row.code) !== null && _a !== undefined ? _a : '',
|
|
909
|
-
label: (_b = getLabel(row)) !== null && _b !== undefined ? _b : '',
|
|
910
|
-
};
|
|
911
|
-
};
|
|
912
|
-
const getLabel = (key) => {
|
|
913
|
-
if (isHangulMode) {
|
|
914
|
-
if (isShift) {
|
|
915
|
-
return key.korShift || key.kor || key.shiftLabel || key.label;
|
|
916
|
-
}
|
|
917
|
-
return key.kor || key.label;
|
|
918
|
-
}
|
|
919
|
-
if (isShift) {
|
|
920
|
-
return key.shiftLabel || key.label;
|
|
921
|
-
}
|
|
922
|
-
return key.label;
|
|
923
|
-
};
|
|
924
|
-
useEffect(() => {
|
|
925
|
-
const keyDown = (e) => {
|
|
926
|
-
e.preventDefault();
|
|
927
|
-
setInputKey((prevState) => [...prevState, e.code]);
|
|
928
|
-
if (e.key === 'Shift')
|
|
929
|
-
setIsShift(true);
|
|
930
|
-
onKeyDown === null || onKeyDown === undefined ? undefined : onKeyDown(getKeyFromEvent(e.code));
|
|
931
|
-
};
|
|
932
|
-
const keyUp = (e) => {
|
|
933
|
-
e.preventDefault();
|
|
934
|
-
if (e.key === 'HangulMode') {
|
|
935
|
-
setIsHangulMode((prev) => !prev);
|
|
936
|
-
}
|
|
937
|
-
setInputKey((prevState) => prevState.filter((it) => it !== e.code));
|
|
938
|
-
if (e.key === 'Shift')
|
|
939
|
-
setIsShift(false);
|
|
940
|
-
onKeyUp === null || onKeyUp === undefined ? undefined : onKeyUp(getKeyFromEvent(e.code));
|
|
941
|
-
};
|
|
942
|
-
window.addEventListener('keydown', keyDown);
|
|
943
|
-
window.addEventListener('keyup', keyUp);
|
|
944
|
-
return () => {
|
|
945
|
-
window.removeEventListener('keydown', keyDown);
|
|
946
|
-
window.removeEventListener('keyup', keyUp);
|
|
947
|
-
};
|
|
948
|
-
}, [onKeyDown, onKeyUp, isShift, isHangulMode]);
|
|
949
|
-
const renderRow = (row, rowType) => {
|
|
950
|
-
const getCellStyle = (key) => {
|
|
951
|
-
var _a;
|
|
952
|
-
if (key.code === null)
|
|
953
|
-
return;
|
|
954
|
-
const isActive = inputKey.map((it) => it === null || it === undefined ? undefined : it.toUpperCase()).includes((_a = key.code) === null || _a === undefined ? undefined : _a.toUpperCase()) ||
|
|
955
|
-
(inputKey.includes('HangulMode') && key.code === 'AltRight');
|
|
956
|
-
let gridColumn = '';
|
|
957
|
-
switch (key.code) {
|
|
958
|
-
case 'Space':
|
|
959
|
-
gridColumn = '4/12';
|
|
960
|
-
break;
|
|
961
|
-
case 'ShiftRight':
|
|
962
|
-
gridColumn = '13/15';
|
|
963
|
-
break;
|
|
964
|
-
case 'Backspace':
|
|
965
|
-
gridColumn = '14/16';
|
|
966
|
-
break;
|
|
967
|
-
case 'Tab':
|
|
968
|
-
case 'ShiftLeft':
|
|
969
|
-
case 'CapsLock':
|
|
970
|
-
gridColumn = '1/3';
|
|
971
|
-
break;
|
|
972
|
-
case 'Backslash':
|
|
973
|
-
gridColumn = '15/17';
|
|
974
|
-
break;
|
|
975
|
-
case 'Enter':
|
|
976
|
-
gridColumn = '14/16';
|
|
977
|
-
break;
|
|
978
|
-
}
|
|
979
|
-
return {
|
|
980
|
-
style: Object.assign({ gridColumn }, (isActive ? activeCellStyle : cellStyle)),
|
|
981
|
-
className: isActive ? activeCellClassName : cellClassName,
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
|
-
const onMouseDown = (key) => {
|
|
985
|
-
if (!key.code)
|
|
986
|
-
return;
|
|
987
|
-
setInputKey([key.code]);
|
|
988
|
-
if (['ShiftRight', 'ShiftLeft'].includes(key.code))
|
|
989
|
-
setIsShift(true);
|
|
990
|
-
onKeyDown === null || onKeyDown === undefined ? undefined : onKeyDown(getKeyFromEvent(key.code));
|
|
991
|
-
};
|
|
992
|
-
const onMouseUp = (key) => {
|
|
993
|
-
if (!key.code)
|
|
994
|
-
return;
|
|
995
|
-
if (key.code === 'AltRight') {
|
|
996
|
-
setIsHangulMode((prev) => !prev);
|
|
997
|
-
}
|
|
998
|
-
setInputKey((prevState) => prevState.filter((it) => it !== key.code));
|
|
999
|
-
if (['ShiftRight', 'ShiftLeft'].includes(key.code))
|
|
1000
|
-
setIsShift(false);
|
|
1001
|
-
onKeyUp === null || onKeyUp === undefined ? undefined : onKeyUp(getKeyFromEvent(key.code));
|
|
1002
|
-
};
|
|
1003
|
-
return row.map((key, idx) => (jsxRuntimeExports.jsx("div", Object.assign({ onMouseDown: () => onMouseDown(key), onMouseUp: () => onMouseUp(key) }, getCellStyle(key), { children: getLabel(key) }), `${key.code}-${idx}`)));
|
|
1004
|
-
};
|
|
1005
|
-
return (jsxRuntimeExports.jsxs("div", { style: style, className: className, children: [['full-size', 'tenkeyless'].includes(type) && hasFunction && (jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: `repeat(20, 1fr)`, gap: '2px' }, children: renderRow(functionRow.flat()) })), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(numberRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(16, 1fr)', gap: '2px' }, children: renderRow(qwertyRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(homeRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(14, 1fr)', gap: '2px' }, children: renderRow(bottomRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(spaceRow) })] }));
|
|
788
|
+
const generateHash = () => {
|
|
789
|
+
return Math.random().toString(36).substr(2, 9) + Date.now().toString(36);
|
|
1006
790
|
};
|
|
1007
791
|
|
|
1008
792
|
const RadioInput = (_a) => {
|
|
1009
793
|
var { clearable = false, children = '', checked = false, onChange, onToggle, style, className, id, defaultChecked, readOnly, showError = false, error = null } = _a, restProps = __rest(_a, ["clearable", "children", "checked", "onChange", "onToggle", "style", "className", "id", "defaultChecked", "readOnly", "showError", "error"]);
|
|
1010
794
|
const [selected, setSelected] = useState(checked || false);
|
|
1011
|
-
const uniqueId = useMemo(() => id || `radio-${
|
|
795
|
+
const uniqueId = useMemo(() => id || `radio-${generateHash()}`, [id]);
|
|
1012
796
|
useEffect(() => {
|
|
1013
797
|
setSelected(checked || false);
|
|
1014
798
|
}, [checked]);
|
|
@@ -1064,7 +848,7 @@ const RadioGroup = ({ title, style, className, children, value = [], onChange, c
|
|
|
1064
848
|
};
|
|
1065
849
|
const RadioGroupItem = (_a) => {
|
|
1066
850
|
var { selectedValues, onToggle, clearable, readOnly, disabled } = _a, restProps = __rest(_a, ["selectedValues", "onToggle", "clearable", "readOnly", "disabled"]);
|
|
1067
|
-
const uniqueId = useMemo(() => { var _a; return (_a = restProps.id) !== null && _a !== undefined ? _a : `radio-${
|
|
851
|
+
const uniqueId = useMemo(() => { var _a; return (_a = restProps.id) !== null && _a !== undefined ? _a : `radio-${generateHash()}`; }, [restProps.id]);
|
|
1068
852
|
return (jsxRuntimeExports.jsx(RadioInput, Object.assign({}, restProps, { clearable: clearable, readOnly: readOnly, disabled: disabled, id: uniqueId, checked: selectedValues === null || selectedValues === undefined ? undefined : selectedValues.includes(uniqueId), onToggle: (e) => {
|
|
1069
853
|
if (readOnly || disabled)
|
|
1070
854
|
return;
|
|
@@ -1129,8 +913,8 @@ const TabItem = (_a) => {
|
|
|
1129
913
|
};
|
|
1130
914
|
Tab.Item = TabItem;
|
|
1131
915
|
|
|
1132
|
-
const DownArrowIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
1133
|
-
return (jsxRuntimeExports.jsxs("svg", { "data-testid": 'down-arrow-icon', width: size, height: size, fill: color, style: { backgroundColor: bgColor }, viewBox: "0 0 24 24", transform: "matrix(1, 0, 0, -1, 0, 0)", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { d: "M3 19h18a1.002 1.002 0 0 0 .823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 0 0 3 19z" }) })] }));
|
|
916
|
+
const DownArrowIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
917
|
+
return (jsxRuntimeExports.jsxs("svg", { "data-testid": 'down-arrow-icon', width: size, height: size, fill: color, style: Object.assign({ backgroundColor: bgColor }, style), viewBox: "0 0 24 24", transform: "matrix(1, 0, 0, -1, 0, 0)", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { d: "M3 19h18a1.002 1.002 0 0 0 .823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 0 0 3 19z" }) })] }));
|
|
1134
918
|
};
|
|
1135
919
|
|
|
1136
920
|
const Accordion = (_a) => {
|
|
@@ -1199,25 +983,52 @@ const DropdownItem = (_a) => {
|
|
|
1199
983
|
};
|
|
1200
984
|
Dropdown.Item = DropdownItem;
|
|
1201
985
|
|
|
1202
|
-
const
|
|
1203
|
-
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill:
|
|
986
|
+
const ImagePlusIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
987
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill: fill, style: Object.assign({ backgroundColor: bgColor }, style), xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { d: "M14.2647 15.9377L12.5473 14.2346C11.758 13.4519 11.3633 13.0605 10.9089 12.9137C10.5092 12.7845 10.079 12.7845 9.67922 12.9137C9.22485 13.0605 8.83017 13.4519 8.04082 14.2346L4.04193 18.2622M14.2647 15.9377L14.606 15.5991C15.412 14.7999 15.8149 14.4003 16.2773 14.2545C16.6839 14.1262 17.1208 14.1312 17.5244 14.2688C17.9832 14.4253 18.3769 14.834 19.1642 15.6515L20 16.5001M14.2647 15.9377L18.22 19.9628M18.22 19.9628C17.8703 20 17.4213 20 16.8 20H7.2C6.07989 20 5.51984 20 5.09202 19.782C4.7157 19.5903 4.40973 19.2843 4.21799 18.908C4.12583 18.7271 4.07264 18.5226 4.04193 18.2622M18.22 19.9628C18.5007 19.9329 18.7175 19.8791 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C20 18.4802 20 17.9201 20 16.8V13M11 4H7.2C6.07989 4 5.51984 4 5.09202 4.21799C4.7157 4.40973 4.40973 4.71569 4.21799 5.09202C4 5.51984 4 6.0799 4 7.2V16.8C4 17.4466 4 17.9066 4.04193 18.2622M18 9V6M18 6V3M18 6H21M18 6H15", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] }));
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
const ImageInput = ({ id = generateHash(), preview, defaultElement = (jsxRuntimeExports.jsx(ImagePlusIcon, { style: { borderRadius: '10px' }, bgColor: '#cecece', color: '#919191', size: '120px' })), onFileChange, onChange, style, className, children, }) => {
|
|
991
|
+
const onFileInput = (e) => {
|
|
992
|
+
var _a;
|
|
993
|
+
const file = (_a = e.target.files) === null || _a === undefined ? undefined : _a[0];
|
|
994
|
+
const reader = new FileReader();
|
|
995
|
+
if (file) {
|
|
996
|
+
reader.onload = (fileEvent) => {
|
|
997
|
+
var _a;
|
|
998
|
+
if (fileEvent) {
|
|
999
|
+
onFileChange((_a = fileEvent.target) === null || _a === undefined ? undefined : _a.result);
|
|
1000
|
+
reader.readAsDataURL(file);
|
|
1001
|
+
}
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
onChange === null || onChange === undefined ? undefined : onChange(e);
|
|
1005
|
+
};
|
|
1006
|
+
return (jsxRuntimeExports.jsxs("span", { "data-testid": 'image-input-wrapper', children: [jsxRuntimeExports.jsx("label", { htmlFor: id, children: preview ? (jsxRuntimeExports.jsx("span", { "data-testid": 'image-input-preview', style: Object.assign({ display: 'inline-block', background: `url(${preview}) no-repeat center/cover` }, style), className: className, children: children })) : (defaultElement) }), jsxRuntimeExports.jsx("input", { id: id, "data-testid": 'image-input', type: "file", style: { display: 'none' }, accept: 'image/*', onChange: onFileInput })] }));
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
const CloseIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', style }) => {
|
|
1010
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill: "none", style: Object.assign({ backgroundColor: bgColor }, style), xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12 10.5858L17.2929 5.29289C17.6834 4.90237 18.3166 4.90237 18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L13.4142 12L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L12 13.4142L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289 17.2929L10.5858 12L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z", fill: color }) })] }));
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
const CallIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
1014
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 -0.5 25 25", width: size, height: size, fill: fill, style: Object.assign({ backgroundColor: bgColor }, style), xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.36343 6.36195C7.24343 5.43495 7.55443 5.17495 7.92943 5.05395C8.18895 4.98595 8.46112 4.98217 8.72243 5.04295C9.06643 5.14295 9.15743 5.21895 10.2854 6.34295C11.2764 7.32995 11.3754 7.43695 11.4704 7.62995C11.6521 7.96873 11.6805 8.36894 11.5484 8.72995C11.4484 9.00495 11.3064 9.18695 10.7054 9.78995L10.3134 10.183C10.2105 10.2876 10.1863 10.4464 10.2534 10.577C11.1244 12.0628 12.36 13.3019 13.8434 14.177C14.0142 14.2684 14.2245 14.2389 14.3634 14.104L14.7404 13.733C14.9734 13.4941 15.2202 13.2691 15.4794 13.059C15.8866 12.809 16.3939 12.7867 16.8214 13C17.0304 13.1 17.0994 13.162 18.1214 14.182C19.1754 15.233 19.2054 15.266 19.3214 15.507C19.5397 15.9059 19.5374 16.3891 19.3154 16.786C19.2024 17.01 19.1334 17.091 18.5404 17.697C18.1824 18.063 17.8454 18.397 17.7914 18.446C17.3022 18.851 16.6746 19.0497 16.0414 19C14.883 18.8944 13.7617 18.5363 12.7564 17.951C10.5296 16.7711 8.63383 15.0521 7.24243 12.951C6.93937 12.5112 6.66994 12.0492 6.43643 11.569C5.81001 10.4953 5.48653 9.27189 5.50043 8.02895C5.54825 7.37871 5.86008 6.77637 6.36343 6.36195Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })] }));
|
|
1204
1015
|
};
|
|
1205
1016
|
|
|
1206
|
-
const
|
|
1207
|
-
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 -0.5 25 25", width: size, height: size, fill: fill, style: { backgroundColor: bgColor }, xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.
|
|
1017
|
+
const HomeIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
1018
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 -0.5 25 25", width: size, height: size, fill: fill, style: Object.assign({ backgroundColor: bgColor }, style), xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsxs("g", { id: "SVGRepo_iconCarrier", children: [jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.867 15.8321L18.873 10.0391L14.75 5.92908C13.5057 4.69031 11.4942 4.69031 10.25 5.92908L6.13599 10.0291V15.8291C6.1393 17.5833 7.56377 19.0028 9.31799 19.0001H15.685C17.438 19.0029 18.862 17.5851 18.867 15.8321Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("path", { d: "M19.624 6.01807C19.624 5.60385 19.2882 5.26807 18.874 5.26807C18.4598 5.26807 18.124 5.60385 18.124 6.01807H19.624ZM18.874 10.0391H18.124C18.124 10.2384 18.2033 10.4295 18.3445 10.5702L18.874 10.0391ZM19.9705 12.1912C20.2638 12.4837 20.7387 12.4829 21.0311 12.1896C21.3236 11.8962 21.3229 11.4214 21.0295 11.1289L19.9705 12.1912ZM6.66552 10.5602C6.95886 10.2678 6.95959 9.79289 6.66714 9.49955C6.3747 9.20621 5.89982 9.20548 5.60648 9.49793L6.66552 10.5602ZM3.97048 11.1289C3.67714 11.4214 3.67641 11.8962 3.96886 12.1896C4.2613 12.4829 4.73618 12.4837 5.02952 12.1912L3.97048 11.1289ZM13.75 19.0001C13.75 19.4143 14.0858 19.7501 14.5 19.7501C14.9142 19.7501 15.25 19.4143 15.25 19.0001H13.75ZM9.75 19.0001C9.75 19.4143 10.0858 19.7501 10.5 19.7501C10.9142 19.7501 11.25 19.4143 11.25 19.0001H9.75ZM18.124 6.01807V10.0391H19.624V6.01807H18.124ZM18.3445 10.5702L19.9705 12.1912L21.0295 11.1289L19.4035 9.50792L18.3445 10.5702ZM5.60648 9.49793L3.97048 11.1289L5.02952 12.1912L6.66552 10.5602L5.60648 9.49793ZM15.25 19.0001V17.2201H13.75V19.0001H15.25ZM15.25 17.2201C15.25 15.7013 14.0188 14.4701 12.5 14.4701V15.9701C13.1904 15.9701 13.75 16.5297 13.75 17.2201H15.25ZM12.5 14.4701C10.9812 14.4701 9.75 15.7013 9.75 17.2201H11.25C11.25 16.5297 11.8096 15.9701 12.5 15.9701V14.4701ZM9.75 17.2201V19.0001H11.25V17.2201H9.75Z", fill: color })] })] }));
|
|
1208
1019
|
};
|
|
1209
1020
|
|
|
1210
|
-
const
|
|
1211
|
-
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0
|
|
1021
|
+
const SearchIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
1022
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill: fill, style: Object.assign({ backgroundColor: bgColor }, style), xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("g", { id: "Interface / Search_Magnifying_Glass", children: jsxRuntimeExports.jsx("path", { id: "Vector", d: "M15 15L21 21M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] }));
|
|
1212
1023
|
};
|
|
1213
1024
|
|
|
1214
|
-
const
|
|
1215
|
-
return (jsxRuntimeExports.jsxs("svg", {
|
|
1025
|
+
const UpArrowIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
1026
|
+
return (jsxRuntimeExports.jsxs("svg", { width: size, height: size, fill: color, style: Object.assign({ backgroundColor: bgColor }, style), viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { d: "M3 19h18a1.002 1.002 0 0 0 .823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 0 0 3 19z" }) })] }));
|
|
1216
1027
|
};
|
|
1217
1028
|
|
|
1218
|
-
const
|
|
1219
|
-
return (jsxRuntimeExports.jsxs("svg", { width: size, height: size, fill:
|
|
1029
|
+
const ImageIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', style, }) => {
|
|
1030
|
+
return (jsxRuntimeExports.jsxs("svg", { width: size, height: size, fill: fill, style: Object.assign({ backgroundColor: bgColor }, style), viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { d: "M14.2639 15.9375L12.5958 14.2834C11.7909 13.4851 11.3884 13.086 10.9266 12.9401C10.5204 12.8118 10.0838 12.8165 9.68048 12.9536C9.22188 13.1095 8.82814 13.5172 8.04068 14.3326L4.04409 18.2801M14.2639 15.9375L14.6053 15.599C15.4112 14.7998 15.8141 14.4002 16.2765 14.2543C16.6831 14.126 17.12 14.1311 17.5236 14.2687C17.9824 14.4251 18.3761 14.8339 19.1634 15.6514L20 16.4934M14.2639 15.9375L18.275 19.9565M18.275 19.9565C17.9176 20 17.4543 20 16.8 20H7.2C6.07989 20 5.51984 20 5.09202 19.782C4.71569 19.5903 4.40973 19.2843 4.21799 18.908C4.12796 18.7313 4.07512 18.5321 4.04409 18.2801M18.275 19.9565C18.5293 19.9256 18.7301 19.8727 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C20 18.4802 20 17.9201 20 16.8V16.4934M4.04409 18.2801C4 17.9221 4 17.4575 4 16.8V7.2C4 6.0799 4 5.51984 4.21799 5.09202C4.40973 4.71569 4.71569 4.40973 5.09202 4.21799C5.51984 4 6.07989 4 7.2 4H16.8C17.9201 4 18.4802 4 18.908 4.21799C19.2843 4.40973 19.5903 4.71569 19.782 5.09202C20 5.51984 20 6.0799 20 7.2V16.4934M17 8.99989C17 10.1045 16.1046 10.9999 15 10.9999C13.8954 10.9999 13 10.1045 13 8.99989C13 7.89532 13.8954 6.99989 15 6.99989C16.1046 6.99989 17 7.89532 17 8.99989Z", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] }));
|
|
1220
1031
|
};
|
|
1221
1032
|
|
|
1222
|
-
export { Accordion, Button, CallIcon, CloseIcon,
|
|
1033
|
+
export { Accordion, Button, CallIcon, CloseIcon, DownArrowIcon, Dropdown, HomeIcon, ImageIcon, ImageInput, ImagePlusIcon, Input, Modal, RadioGroup, RadioInput, SearchIcon, Spinner, Tab, UpArrowIcon, generateHash };
|
|
1223
1034
|
//# sourceMappingURL=index.esm.js.map
|