@noraent/nora-datagrid 0.0.281 → 0.0.282

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.281",
3
+ "version": "0.0.282",
4
4
  "module": "./dist/nora_datagrid.es.js",
5
5
  "main": "./dist/nora_datagrid.cjs.js",
6
6
  "private": false,
@@ -29,3 +29,11 @@ export default useUpdateEffect;
29
29
  * @returns
30
30
  */
31
31
  export declare function range(from: number, to: number): number[];
32
+ export declare function adjustSaturation(hex: string, amount: number): string;
33
+ /**
34
+ * HEX 색상에 투명도(alpha) 적용
35
+ * @param hex - '#RRGGBB' 형식
36
+ * @param opacity - 0 ~ 1 (투명도)
37
+ * @returns 'rgba(r,g,b,a)' 문자열
38
+ */
39
+ export declare function alpha(hex: string, opacity: number): string;
@@ -0,0 +1,10 @@
1
+ import { ColorMode, ComponentColors, GridTheme, Palette } from '../../types/palette';
2
+ export declare const defaultDarkTheme: {
3
+ palette: Palette;
4
+ components: ComponentColors;
5
+ };
6
+ export declare const defaultLightTheme: {
7
+ palette: Palette;
8
+ components: ComponentColors;
9
+ };
10
+ export declare const createTheme: (mode: ColorMode) => GridTheme;
@@ -1,15 +1,18 @@
1
1
  import { default as React } from 'react';
2
+ import { GridTheme } from '../../../types/palette';
2
3
  export declare const RawTableRow: import('@emotion/styled').StyledComponent<{
3
4
  theme?: import('@emotion/react').Theme;
4
5
  as?: React.ElementType;
5
6
  } & {
6
7
  rowUUID: string;
8
+ theme?: GridTheme;
7
9
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
10
  export declare const TableRow: React.NamedExoticComponent<{
9
11
  theme?: import('@emotion/react').Theme;
10
12
  as?: React.ElementType;
11
13
  } & {
12
14
  rowUUID: string;
15
+ theme?: GridTheme;
13
16
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>>;
14
17
  export declare const Skeleton: import('@emotion/styled').StyledComponent<{
15
18
  theme?: import('@emotion/react').Theme;
@@ -20,6 +23,7 @@ export declare const TableBody: import('@emotion/styled').StyledComponent<{
20
23
  as?: React.ElementType;
21
24
  } & {
22
25
  lineHeight?: number;
26
+ theme?: GridTheme;
23
27
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
28
  export declare const TableCell: import('@emotion/styled').StyledComponent<{
25
29
  theme?: import('@emotion/react').Theme;
@@ -61,3 +65,7 @@ export declare const NoraDataGridStyled: import('@emotion/styled').StyledCompone
61
65
  theme?: import('@emotion/react').Theme;
62
66
  as?: React.ElementType;
63
67
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
68
+ export declare const NoraDataGridBodyStyled: import('@emotion/styled').StyledComponent<{
69
+ theme?: import('@emotion/react').Theme;
70
+ as?: React.ElementType;
71
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;