jy-headless 0.1.11 → 0.2.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 (70) hide show
  1. package/README.md +20 -12
  2. package/dist/cjs/_virtual/_tslib.js +37 -0
  3. package/dist/cjs/_virtual/jsx-runtime.js +7 -0
  4. package/dist/cjs/_virtual/jsx-runtime2.js +5 -0
  5. package/dist/cjs/_virtual/react-jsx-runtime.development.js +5 -0
  6. package/dist/cjs/_virtual/react-jsx-runtime.production.js +5 -0
  7. package/dist/cjs/buttons/Button.d.ts +3 -0
  8. package/dist/cjs/buttons/Button.js +26 -0
  9. package/dist/cjs/buttons/index.d.ts +1 -0
  10. package/dist/cjs/index.d.ts +1 -0
  11. package/dist/cjs/index.js +7 -0
  12. package/dist/cjs/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.js +668 -0
  13. package/dist/cjs/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js +46 -0
  14. package/dist/cjs/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js +21 -0
  15. package/dist/cjs/types/buttons/types.d.ts +6 -0
  16. package/dist/cjs/types/index.d.ts +1 -0
  17. package/dist/esm/_virtual/_tslib.js +35 -0
  18. package/dist/esm/_virtual/jsx-runtime.js +5 -0
  19. package/dist/esm/_virtual/jsx-runtime2.js +3 -0
  20. package/dist/esm/_virtual/react-jsx-runtime.development.js +3 -0
  21. package/dist/esm/_virtual/react-jsx-runtime.production.js +3 -0
  22. package/dist/esm/buttons/Button.d.ts +3 -0
  23. package/dist/esm/buttons/Button.js +22 -0
  24. package/dist/esm/buttons/index.d.ts +1 -0
  25. package/dist/esm/index.d.ts +1 -0
  26. package/dist/esm/index.js +1 -0
  27. package/dist/esm/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.js +666 -0
  28. package/dist/esm/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
  29. package/dist/esm/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js +19 -0
  30. package/dist/esm/types/buttons/types.d.ts +6 -0
  31. package/dist/esm/types/index.d.ts +1 -0
  32. package/package.json +27 -8
  33. package/dist/components/accordion/Accordion.d.ts +0 -22
  34. package/dist/components/accordion/AccordionContext.d.ts +0 -6
  35. package/dist/components/button/Button.d.ts +0 -9
  36. package/dist/components/checkbox/Checkbox.d.ts +0 -5
  37. package/dist/components/dropdown/Dropdown.d.ts +0 -20
  38. package/dist/components/dropdown/DropdownContext.d.ts +0 -8
  39. package/dist/components/icons/CallIcon.d.ts +0 -3
  40. package/dist/components/icons/CloseIcon.d.ts +0 -3
  41. package/dist/components/icons/DownArrowIcon.d.ts +0 -3
  42. package/dist/components/icons/HomeIcon.d.ts +0 -3
  43. package/dist/components/icons/ImageIcon.d.ts +0 -3
  44. package/dist/components/icons/ImagePlusIcon.d.ts +0 -3
  45. package/dist/components/icons/SearchIcon.d.ts +0 -3
  46. package/dist/components/icons/UpArrowIcon.d.ts +0 -3
  47. package/dist/components/icons/index.d.ts +0 -17
  48. package/dist/components/input/DesktopKeyboardInput.d.ts +0 -20
  49. package/dist/components/input/ImageInput.d.ts +0 -8
  50. package/dist/components/input/Input.d.ts +0 -12
  51. package/dist/components/input/NumberInput.d.ts +0 -11
  52. package/dist/components/modal/Modal.d.ts +0 -26
  53. package/dist/components/modal/ModalContext.d.ts +0 -6
  54. package/dist/components/radio/RadioGroup.d.ts +0 -28
  55. package/dist/components/radio/RadioInput.d.ts +0 -9
  56. package/dist/components/spinner/Spinner.d.ts +0 -8
  57. package/dist/components/tabs/Tab.d.ts +0 -18
  58. package/dist/components/tabs/TabContext.d.ts +0 -6
  59. package/dist/components/tooltip/Tooltip.d.ts +0 -8
  60. package/dist/components/utils/generateHash.d.ts +0 -2
  61. package/dist/icons/CallIcon.d.ts +0 -4
  62. package/dist/icons/CloseIcon.d.ts +0 -4
  63. package/dist/icons/HomeIcon.d.ts +0 -4
  64. package/dist/icons/SearchIcon.d.ts +0 -4
  65. package/dist/icons/index.d.ts +0 -11
  66. package/dist/index.d.ts +0 -15
  67. package/dist/index.esm.js +0 -1079
  68. package/dist/index.esm.js.map +0 -1
  69. package/dist/index.js +0 -1101
  70. package/dist/index.js.map +0 -1
@@ -0,0 +1,44 @@
1
+ import { __exports as reactJsxRuntime_production } from '../../../../../../_virtual/react-jsx-runtime.production.js';
2
+
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+
13
+ var hasRequiredReactJsxRuntime_production;
14
+
15
+ function requireReactJsxRuntime_production () {
16
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
17
+ hasRequiredReactJsxRuntime_production = 1;
18
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
19
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
20
+ function jsxProd(type, config, maybeKey) {
21
+ var key = null;
22
+ undefined !== maybeKey && (key = "" + maybeKey);
23
+ undefined !== config.key && (key = "" + config.key);
24
+ if ("key" in config) {
25
+ maybeKey = {};
26
+ for (var propName in config)
27
+ "key" !== propName && (maybeKey[propName] = config[propName]);
28
+ } else maybeKey = config;
29
+ config = maybeKey.ref;
30
+ return {
31
+ $$typeof: REACT_ELEMENT_TYPE,
32
+ type: type,
33
+ key: key,
34
+ ref: undefined !== config ? config : null,
35
+ props: maybeKey
36
+ };
37
+ }
38
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
39
+ reactJsxRuntime_production.jsx = jsxProd;
40
+ reactJsxRuntime_production.jsxs = jsxProd;
41
+ return reactJsxRuntime_production;
42
+ }
43
+
44
+ export { requireReactJsxRuntime_production as __require };
@@ -0,0 +1,19 @@
1
+ import { __module as jsxRuntime } from '../../../../../_virtual/jsx-runtime2.js';
2
+ import { __require as requireReactJsxRuntime_production } from './cjs/react-jsx-runtime.production.js';
3
+ import { __require as requireReactJsxRuntime_development } from './cjs/react-jsx-runtime.development.js';
4
+
5
+ var hasRequiredJsxRuntime;
6
+
7
+ function requireJsxRuntime () {
8
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
9
+ hasRequiredJsxRuntime = 1;
10
+
11
+ if (process.env.NODE_ENV === 'production') {
12
+ jsxRuntime.exports = requireReactJsxRuntime_production();
13
+ } else {
14
+ jsxRuntime.exports = requireReactJsxRuntime_development();
15
+ }
16
+ return jsxRuntime.exports;
17
+ }
18
+
19
+ export { requireJsxRuntime as __require };
@@ -0,0 +1,6 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
+ debounce?: boolean;
4
+ loading?: boolean;
5
+ readOnly?: boolean;
6
+ }
@@ -0,0 +1 @@
1
+ export * from './buttons/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jy-headless",
3
- "version": "0.1.11",
3
+ "version": "0.2.0",
4
4
  "description": "A lightweight and customizable headless UI library for React components",
5
5
  "main": "dist/index.cjs",
6
6
  "typings": "dist/index.d.ts",
@@ -15,19 +15,37 @@
15
15
  "dist"
16
16
  ],
17
17
  "exports": {
18
- "types": {
19
- "import": "./dist/index.d.ts",
20
- "require": "./dist/index.d.cts"
18
+ ".": {
19
+ "types": {
20
+ "import": "./dist/index.d.ts",
21
+ "require": "./dist/index.d.cts"
22
+ },
23
+ "import": "./dist/index.esm.js",
24
+ "require": "./dist/index.cjs"
21
25
  },
22
- "import": "./dist/index.esm.js",
23
- "require": "./dist/index.cjs"
26
+ "./types": {
27
+ "types": {
28
+ "import": "./dist/types/index.d.ts",
29
+ "require": "./dist/types/index.d.cts"
30
+ }
31
+ },
32
+ "./buttons": {
33
+ "types": {
34
+ "import": "./dist/buttons/index.d.ts",
35
+ "require": "./dist/buttons/index.d.cts"
36
+ },
37
+ "import": "./dist/buttons/index.js",
38
+ "require": "./dist/buttons/index.js"
39
+ }
24
40
  },
25
- "keywords": [ "react",
41
+ "keywords": [
42
+ "react",
26
43
  "headless-ui",
27
44
  "react-components",
28
45
  "ui-library",
29
46
  "tailwind",
30
- "storybook"],
47
+ "storybook"
48
+ ],
31
49
  "author": "",
32
50
  "license": "MIT",
33
51
  "type": "module",
@@ -66,6 +84,7 @@
66
84
  "typescript": "^5.7.3"
67
85
  },
68
86
  "dependencies": {
87
+ "rollup-plugin-peer-deps-external": "^2.2.4",
69
88
  "tslib": "^2.8.1"
70
89
  }
71
90
  }
@@ -1,22 +0,0 @@
1
- import { HTMLAttributes, JSX, ReactNode } from 'react';
2
- interface AccordionProps extends HTMLAttributes<HTMLDetailsElement> {
3
- isOpen: boolean;
4
- setIsOpen: (value: boolean) => void;
5
- }
6
- declare const Accordion: {
7
- ({ children, isOpen, setIsOpen, ...restProps }: AccordionProps): import("react/jsx-runtime").JSX.Element;
8
- Summary: {
9
- ({ icon, children, ...restProps }: SummaryProps): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
12
- Detail: {
13
- ({ children, ...restProps }: DetailProps): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
16
- };
17
- interface SummaryProps extends HTMLAttributes<HTMLDivElement> {
18
- icon?: ReactNode | JSX.Element;
19
- }
20
- interface DetailProps extends HTMLAttributes<HTMLDivElement> {
21
- }
22
- export default Accordion;
@@ -1,6 +0,0 @@
1
- interface AccordionContextType {
2
- isOpen: boolean;
3
- setIsOpen: (value: boolean) => void;
4
- }
5
- declare const AccordionContext: import("react").Context<AccordionContextType>;
6
- export default AccordionContext;
@@ -1,9 +0,0 @@
1
- import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
- loading?: boolean;
4
- spinner?: ReactNode;
5
- prefixElement?: ReactNode;
6
- suffixElement?: ReactNode;
7
- }
8
- declare const Button: ({ prefixElement, suffixElement, children, loading, spinner, style, ...restProps }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
9
- export default Button;
@@ -1,5 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
3
- }
4
- declare const Checkbox: ({ children, id, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
5
- export default Checkbox;
@@ -1,20 +0,0 @@
1
- import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
2
- interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
3
- value?: string | number | null;
4
- defaultValue?: string | number | null;
5
- icon?: ReactNode;
6
- optionPosition?: 'top' | 'down';
7
- iconPosition?: 'left' | 'right' | 'none';
8
- optionStyle?: CSSProperties;
9
- }
10
- declare const Dropdown: {
11
- ({ children, value, defaultValue, onChange, optionPosition, iconPosition, style, icon, optionStyle, ...restProps }: DropdownProps): import("react/jsx-runtime").JSX.Element;
12
- Item: {
13
- ({ children, value, ...restProps }: DropdownItemProps): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
16
- };
17
- interface DropdownItemProps extends HTMLAttributes<HTMLDivElement> {
18
- value: string | number | null;
19
- }
20
- export default Dropdown;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface DropdownContextType {
3
- selected: string | number | null;
4
- onChangeValue: (value: string | number | null) => void;
5
- onChangeLabel: (label: string | ReactNode) => void;
6
- }
7
- declare const DropdownContext: import("react").Context<DropdownContextType>;
8
- export default DropdownContext;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const CallIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CallIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const CloseIcon: ({ color, size, bgColor, style }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CloseIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const DownArrowIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DownArrowIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const HomeIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default HomeIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const ImageIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ImageIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const ImagePlusIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ImagePlusIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const SearchIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default SearchIcon;
@@ -1,3 +0,0 @@
1
- import { IconProps } from './index';
2
- declare const UpArrowIcon: ({ color, size, bgColor, fill, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default UpArrowIcon;
@@ -1,17 +0,0 @@
1
- import CloseIcon from './CloseIcon';
2
- import CallIcon from './CallIcon';
3
- import HomeIcon from './HomeIcon';
4
- import SearchIcon from './SearchIcon';
5
- import DownArrowIcon from './DownArrowIcon';
6
- import UpArrowIcon from './UpArrowIcon';
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, };
11
- export interface IconProps {
12
- color?: string;
13
- size?: string;
14
- fill?: string;
15
- bgColor?: string;
16
- style?: CSSProperties;
17
- }
@@ -1,20 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- type KeyboardLayout = 'full-size' | 'tenkeyless' | 'compact-96';
3
- interface DesktopKeyboardInputProps {
4
- type?: KeyboardLayout;
5
- hasFunction?: boolean;
6
- hasNumpad?: boolean;
7
- cellStyle?: CSSProperties;
8
- cellClassName?: string;
9
- activeCellStyle?: CSSProperties;
10
- activeCellClassName?: string;
11
- style?: CSSProperties;
12
- className?: string;
13
- resetStyle?: boolean;
14
- isKor?: boolean;
15
- onKeyDown?: (e: any) => void;
16
- onKeyUp?: (e: any) => void;
17
- cellSize?: string;
18
- }
19
- declare const DesktopKeyboardInput: ({ type, hasFunction, hasNumpad, cellStyle, cellClassName, activeCellStyle, activeCellClassName, style, className, onKeyDown, onKeyUp, }: DesktopKeyboardInputProps) => import("react/jsx-runtime").JSX.Element;
20
- export default DesktopKeyboardInput;
@@ -1,8 +0,0 @@
1
- import { HTMLAttributes, JSX, ReactNode } from 'react';
2
- interface ImageInput extends HTMLAttributes<HTMLInputElement> {
3
- onFileChange: (url: string) => void;
4
- defaultElement?: ReactNode | JSX.Element;
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;
@@ -1,12 +0,0 @@
1
- import { CSSProperties, InputHTMLAttributes, JSX, ReactNode } from 'react';
2
- export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
3
- showLimit?: boolean;
4
- containerStyle?: CSSProperties;
5
- containerClassName?: string;
6
- prefixElement?: ReactNode | JSX.Element;
7
- suffixElement?: ReactNode | JSX.Element;
8
- showError?: boolean;
9
- error?: ReactNode | JSX.Element | string;
10
- }
11
- declare const Input: ({ prefixElement, suffixElement, className, style, containerStyle, containerClassName, showError, error, maxLength, showLimit, ...restProps }: InputProps) => import("react/jsx-runtime").JSX.Element;
12
- export default Input;
@@ -1,11 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { InputProps } from './Input';
3
- interface NumberInputProps extends InputProps {
4
- increaseElement?: ReactNode;
5
- decreaseElement?: ReactNode;
6
- min?: number;
7
- max?: number;
8
- step?: number;
9
- }
10
- declare const NumberInput: React.FC<NumberInputProps>;
11
- export default NumberInput;
@@ -1,26 +0,0 @@
1
- import { CSSProperties, JSX, ReactNode } from 'react';
2
- import { ButtonProps } from '../button/Button';
3
- interface ModalProps {
4
- opener: ReactNode | JSX.Element;
5
- children: ReactNode | JSX.Element;
6
- targetSelector?: string;
7
- }
8
- declare const Modal: {
9
- ({ opener, children, targetSelector }: ModalProps): import("react/jsx-runtime").JSX.Element;
10
- Overlay: {
11
- ({ backgroundColor, children, style, className, zIndex, }: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
12
- displayName: string;
13
- };
14
- Close: {
15
- ({ ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
16
- displayName: string;
17
- };
18
- };
19
- interface ModalOverlayProps {
20
- backgroundColor?: string;
21
- zIndex?: number;
22
- children: ReactNode | JSX.Element;
23
- style?: CSSProperties;
24
- className?: string;
25
- }
26
- export default Modal;
@@ -1,6 +0,0 @@
1
- interface ModalContextType {
2
- isShow: boolean;
3
- setIsShow: (value: boolean) => void;
4
- }
5
- declare const ModalContext: import("react").Context<ModalContextType>;
6
- export default ModalContext;
@@ -1,28 +0,0 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { RadioInputProps } from './RadioInput';
3
- export interface RadioGroupProps {
4
- children: ReactNode;
5
- value?: string[];
6
- onChange?: (value: string) => void;
7
- title?: ReactNode | string;
8
- style?: CSSProperties;
9
- className?: string;
10
- allowMultiSelect?: boolean;
11
- clearable?: boolean;
12
- readOnly?: boolean;
13
- disabled?: boolean;
14
- showError?: boolean;
15
- error?: ReactNode | string;
16
- }
17
- declare const RadioGroup: {
18
- ({ title, style, className, children, value, onChange, clearable, allowMultiSelect, readOnly, disabled, showError, error, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
19
- Item: ({ selectedValues, onToggle, clearable, readOnly, disabled, ...restProps }: RadioGroupItemProps) => import("react/jsx-runtime").JSX.Element;
20
- };
21
- interface RadioGroupItemProps extends RadioInputProps {
22
- selectedValues?: string[] | null;
23
- onToggle?: (value: string) => void;
24
- clearable?: boolean;
25
- readOnly?: boolean;
26
- disabled?: boolean;
27
- }
28
- export default RadioGroup;
@@ -1,9 +0,0 @@
1
- import { InputHTMLAttributes, ReactNode } from 'react';
2
- export interface RadioInputProps extends InputHTMLAttributes<HTMLInputElement> {
3
- clearable?: boolean;
4
- onToggle?: (e: any) => void;
5
- showError?: boolean;
6
- error?: ReactNode | string;
7
- }
8
- declare const RadioInput: ({ clearable, children, checked, onChange, onToggle, style, className, id, defaultChecked, readOnly, showError, error, ...restProps }: RadioInputProps) => import("react/jsx-runtime").JSX.Element;
9
- export default RadioInput;
@@ -1,8 +0,0 @@
1
- interface SpinnerProps {
2
- color?: string;
3
- size?: string;
4
- spinTime?: string;
5
- className?: string;
6
- }
7
- declare const Spinner: ({ color, size, spinTime }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
8
- export default Spinner;
@@ -1,18 +0,0 @@
1
- import { CSSProperties, HTMLAttributes } from 'react';
2
- interface TabProps extends HTMLAttributes<HTMLDivElement> {
3
- currentTab: string;
4
- onChangeTab?: (id: string) => void;
5
- }
6
- declare const Tab: {
7
- ({ children, currentTab, onChangeTab, ...restProps }: TabProps): import("react/jsx-runtime").JSX.Element;
8
- Item: {
9
- ({ children, tabId, ...restProps }: TabItemProps): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
12
- };
13
- interface TabItemProps extends HTMLAttributes<HTMLDivElement> {
14
- tabId: string;
15
- activeStyle?: CSSProperties;
16
- activeClassName?: string;
17
- }
18
- export default Tab;
@@ -1,6 +0,0 @@
1
- interface TabContextType {
2
- currentTabId: string;
3
- onChangeTab: (tabId: string) => void;
4
- }
5
- declare const TabContext: import("react").Context<TabContextType>;
6
- export default TabContext;
@@ -1,8 +0,0 @@
1
- declare const Tooltip: ({ tooltip, children, position, style, ...restProps }: {
2
- [x: string]: any;
3
- tooltip: any;
4
- children: any;
5
- position?: string;
6
- style: any;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- export default Tooltip;
@@ -1,2 +0,0 @@
1
- declare const generateHash: () => string;
2
- export default generateHash;
@@ -1,4 +0,0 @@
1
- import { IconProps } from './index';
2
- import React from 'react';
3
- declare const CallIcon: React.FC<IconProps>;
4
- export default CallIcon;
@@ -1,4 +0,0 @@
1
- import { IconProps } from './index';
2
- import React from 'react';
3
- declare const CloseIcon: React.FC<IconProps>;
4
- export default CloseIcon;
@@ -1,4 +0,0 @@
1
- import { IconProps } from './index';
2
- import React from 'react';
3
- declare const HomeIcon: React.FC<IconProps>;
4
- export default HomeIcon;
@@ -1,4 +0,0 @@
1
- import { IconProps } from './index';
2
- import React from 'react';
3
- declare const SearchIcon: React.FC<IconProps>;
4
- export default SearchIcon;
@@ -1,11 +0,0 @@
1
- import CloseIcon from './CloseIcon';
2
- import CallIcon from './CallIcon';
3
- import HomeIcon from './HomeIcon';
4
- import SearchIcon from './SearchIcon';
5
- export { CloseIcon, CallIcon, HomeIcon, SearchIcon };
6
- export interface IconProps {
7
- color?: string;
8
- size?: string;
9
- fill?: string;
10
- bgColor?: string;
11
- }
package/dist/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import Button from './components/button/Button';
2
- import Input from './components/input/Input';
3
- import Spinner from './components/spinner/Spinner';
4
- import RadioInput from './components/radio/RadioInput';
5
- import RadioGroup from './components/radio/RadioGroup';
6
- import Modal from './components/modal/Modal';
7
- import Tab from './components/tabs/Tab';
8
- import Accordion from './components/accordion/Accordion';
9
- import Dropdown from './components/dropdown/Dropdown';
10
- import ImageInput from './components/input/ImageInput';
11
- import generateHash from './components/utils/generateHash';
12
- import Tooltip from './components/tooltip/Tooltip';
13
- import Checkbox from './components/checkbox/Checkbox';
14
- import { CallIcon, CloseIcon, DownArrowIcon, HomeIcon, SearchIcon, UpArrowIcon, ImageIcon, ImagePlusIcon } from './components/icons';
15
- export { CallIcon, CloseIcon, HomeIcon, SearchIcon, DownArrowIcon, UpArrowIcon, ImageIcon, ImagePlusIcon, Button, Input, Spinner, RadioInput, RadioGroup, Modal, Tab, Accordion, Dropdown, ImageInput, generateHash, Tooltip, Checkbox, };