enerdot-front-system 0.0.29-beta.1 → 0.0.29-beta.3

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.
@@ -4,6 +4,7 @@ interface ButtonProps {
4
4
  level?: "small" | "medium" | "large";
5
5
  isOpen?: boolean;
6
6
  width?: string;
7
+ disabled?: boolean;
7
8
  }
8
9
  declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export default Button;
@@ -14,6 +14,7 @@ export interface DropdownProps {
14
14
  allCheckText?: string;
15
15
  unit?: string;
16
16
  width?: "auto" | `${number}px` | "100%";
17
+ disabled?: boolean;
17
18
  }
18
- export declare const Dropdown: ({ initialPlaceholder, level, type, options, values, onChange, isAllChecked, allCheckText, unit, width, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const Dropdown: ({ initialPlaceholder, level, type, options, values, onChange, isAllChecked, allCheckText, unit, width, disabled, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
19
20
  export default Dropdown;
@@ -1,5 +1,7 @@
1
+ type TooltipPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
1
2
  export declare const useTooltipPosition: ({ isOpen, containerRef, tooltipRef, }: {
2
3
  isOpen: boolean;
3
4
  containerRef: React.MutableRefObject<HTMLDivElement>;
4
5
  tooltipRef: React.MutableRefObject<HTMLDivElement>;
5
- }) => "left" | "right";
6
+ }) => TooltipPosition;
7
+ export {};
@@ -3,7 +3,7 @@ interface VirtualScrollProps {
3
3
  overScanCount: number;
4
4
  ref: React.MutableRefObject<HTMLElement>;
5
5
  }
6
- declare const useVirtualScroll: ({ rowHeight, overScanCount, ref, }: VirtualScrollProps) => {
6
+ export declare const useVirtualScroll: ({ rowHeight, overScanCount, ref, }: VirtualScrollProps) => {
7
7
  showCount: number;
8
8
  showFirstIndex: number;
9
9
  };
@@ -19,4 +19,6 @@ export * from './components/Radio/RadioButtons';
19
19
  export * from './components/Segment';
20
20
  export * from './components/Tab';
21
21
  export * from './components/Textarea';
22
+ export { useTooltipPosition } from './hooks/useTooltipPosition';
23
+ export { useVirtualScroll } from './hooks/useVirtualScroll';
22
24
  export * from './theme/color.style';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "enerdot-front-system",
3
3
  "private": false,
4
- "version": "0.0.29-beta.1",
4
+ "version": "0.0.29-beta.3",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "enerdot-front-system",
@@ -27,8 +27,8 @@
27
27
  "lint": "eslint .",
28
28
  "preview": "vite preview",
29
29
  "prepare": "rm -rf dist && tsc && vite build",
30
- "add:package": "yarn add ./enerdot-front-system-v0.0.29-beta.1.tgz",
31
- "reset:package": "yarn remove enerdot-front-system && yarn cache clean && rm -rf ./enerdot-front-system-v0.0.29-beta.1.tgz"
30
+ "add:package": "yarn add ./enerdot-front-system-v0.0.29-beta.3.tgz",
31
+ "reset:package": "yarn remove enerdot-front-system && yarn cache clean && rm -rf ./enerdot-front-system-v0.0.29-beta.3.tgz"
32
32
  },
33
33
  "exports": {
34
34
  ".": {