@ssa-ui-kit/core 2.16.4-canary-4606151-20250507 → 2.16.4
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/dist/components/ColorPicker/ColorPicker.d.ts +4 -18
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/ColorPicker/styles.d.ts +6 -0
- package/dist/components/ColorPicker/types.d.ts +9 -0
- package/dist/components/index.d.ts +3 -3
- package/dist/index.js +7923 -8189
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
- package/dist/components/ColorPicker/components/BaseInput.d.ts +0 -4
- package/dist/components/ColorPicker/components/CopyButton.d.ts +0 -3
- package/dist/components/ColorPicker/components/HexInput.d.ts +0 -6
- package/dist/components/ColorPicker/components/HlsInput.d.ts +0 -6
- package/dist/components/ColorPicker/components/RgbInput.d.ts +0 -6
- package/dist/components/ColorPicker/components/index.d.ts +0 -4
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import '
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
readonly hsl: "HSL";
|
|
6
|
-
};
|
|
7
|
-
type ColorFormat = keyof typeof COLOR_FORMAT;
|
|
8
|
-
export interface ColorPickerProps {
|
|
9
|
-
defaultColor?: string;
|
|
10
|
-
color?: string;
|
|
11
|
-
disabledAlpha?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
format?: ColorFormat;
|
|
14
|
-
defaultFormat?: ColorFormat;
|
|
15
|
-
onChange?: (color: string) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const ColorPicker: ({ color: providedColor, defaultColor, disabledAlpha, disabled, format: providedFormat, defaultFormat, onChange, }: ColorPickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
1
|
+
import { ColorPickerProps, Colors } from './types';
|
|
2
|
+
export declare const mapColors: Colors;
|
|
3
|
+
declare const ColorPicker: ({ onChange, initColor }: ColorPickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ColorPicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from './ColorPicker';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ColorMarker: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
active: boolean;
|
|
6
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Interpolation } from '@emotion/react';
|
|
2
|
+
import { CommonProps, Theme } from '../..';
|
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
4
|
+
export type ColorsList = 'pink' | 'yellow' | 'green' | 'turquoise' | 'purple' | 'blueLight' | 'blue';
|
|
5
|
+
export type Colors = Record<ColorsList, Interpolation<Theme>>;
|
|
6
|
+
export interface ColorPickerProps extends CommonProps {
|
|
7
|
+
onChange: Dispatch<SetStateAction<ColorsList>>;
|
|
8
|
+
initColor?: ColorsList;
|
|
9
|
+
}
|
|
@@ -6,6 +6,7 @@ export { default as CardBase } from './Card/CardBase';
|
|
|
6
6
|
export { default as CardContent } from './CardContent';
|
|
7
7
|
export { default as CardHeader } from './CardHeader';
|
|
8
8
|
export { default as Checkbox } from './Checkbox';
|
|
9
|
+
export { default as ColorPicker } from './ColorPicker';
|
|
9
10
|
export { default as Dropdown } from './Dropdown';
|
|
10
11
|
export { default as DropdownArrow } from './DropdownArrow';
|
|
11
12
|
export { default as DropdownBase } from './DropdownBase';
|
|
@@ -67,10 +68,8 @@ export * from './AccordionGroup';
|
|
|
67
68
|
export * from './AddNewAccountCard';
|
|
68
69
|
export * from './ButtonGroup';
|
|
69
70
|
export * from './CardList';
|
|
70
|
-
export * from './Charts';
|
|
71
71
|
export * from './Checkbox';
|
|
72
72
|
export * from './CollapsibleNavBar';
|
|
73
|
-
export * from './ColorPicker';
|
|
74
73
|
export * from './DatePicker';
|
|
75
74
|
export * from './DateRangePicker';
|
|
76
75
|
export * from './Drawer';
|
|
@@ -88,8 +87,8 @@ export * from './NavBar';
|
|
|
88
87
|
export * from './NestedTable';
|
|
89
88
|
export * from './NotificationCard';
|
|
90
89
|
export * from './NotificationMenu';
|
|
91
|
-
export * from './NumberField';
|
|
92
90
|
export * from './Pagination';
|
|
91
|
+
export * from './Charts';
|
|
93
92
|
export * from './Popover';
|
|
94
93
|
export * from './ProgressInfo';
|
|
95
94
|
export * from './ResponsiveImage';
|
|
@@ -100,6 +99,7 @@ export * from './TableFilters';
|
|
|
100
99
|
export * from './Tag';
|
|
101
100
|
export * from './Textarea';
|
|
102
101
|
export * from './TextField';
|
|
102
|
+
export * from './NumberField';
|
|
103
103
|
export * from './Tooltip';
|
|
104
104
|
export * from './Typeahead';
|
|
105
105
|
export * from './Typography';
|