@ssa-ui-kit/core 2.16.3 → 2.16.4-canary-4606151-20250507
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 +18 -4
- package/dist/components/ColorPicker/components/BaseInput.d.ts +4 -0
- package/dist/components/ColorPicker/components/CopyButton.d.ts +3 -0
- package/dist/components/ColorPicker/components/HexInput.d.ts +6 -0
- package/dist/components/ColorPicker/components/HlsInput.d.ts +6 -0
- package/dist/components/ColorPicker/components/RgbInput.d.ts +6 -0
- package/dist/components/ColorPicker/components/index.d.ts +4 -0
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/index.js +8295 -8029
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/components/ColorPicker/styles.d.ts +0 -6
- package/dist/components/ColorPicker/types.d.ts +0 -9
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import '@rc-component/color-picker/assets/index.css';
|
|
2
|
+
declare const COLOR_FORMAT: {
|
|
3
|
+
readonly hex: "HEX";
|
|
4
|
+
readonly rgb: "RGB";
|
|
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 {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Color } from '@rc-component/color-picker';
|
|
2
|
+
export interface HexInputProps {
|
|
3
|
+
color?: Color | string;
|
|
4
|
+
onChange: (color: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const HexInput: ({ color, onChange }: HexInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Color } from '@rc-component/color-picker';
|
|
2
|
+
export interface HlsInputProps {
|
|
3
|
+
color?: Color | string;
|
|
4
|
+
onChange: (color: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const HlsInput: ({ color, onChange }: HlsInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Color } from '@rc-component/color-picker';
|
|
2
|
+
export interface RgbInputProps {
|
|
3
|
+
color?: Color | string;
|
|
4
|
+
onChange: (color: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const RgbInput: ({ color, onChange }: RgbInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './ColorPicker';
|
|
@@ -6,7 +6,6 @@ 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';
|
|
10
9
|
export { default as Dropdown } from './Dropdown';
|
|
11
10
|
export { default as DropdownArrow } from './DropdownArrow';
|
|
12
11
|
export { default as DropdownBase } from './DropdownBase';
|
|
@@ -68,8 +67,10 @@ export * from './AccordionGroup';
|
|
|
68
67
|
export * from './AddNewAccountCard';
|
|
69
68
|
export * from './ButtonGroup';
|
|
70
69
|
export * from './CardList';
|
|
70
|
+
export * from './Charts';
|
|
71
71
|
export * from './Checkbox';
|
|
72
72
|
export * from './CollapsibleNavBar';
|
|
73
|
+
export * from './ColorPicker';
|
|
73
74
|
export * from './DatePicker';
|
|
74
75
|
export * from './DateRangePicker';
|
|
75
76
|
export * from './Drawer';
|
|
@@ -87,8 +88,8 @@ export * from './NavBar';
|
|
|
87
88
|
export * from './NestedTable';
|
|
88
89
|
export * from './NotificationCard';
|
|
89
90
|
export * from './NotificationMenu';
|
|
91
|
+
export * from './NumberField';
|
|
90
92
|
export * from './Pagination';
|
|
91
|
-
export * from './Charts';
|
|
92
93
|
export * from './Popover';
|
|
93
94
|
export * from './ProgressInfo';
|
|
94
95
|
export * from './ResponsiveImage';
|
|
@@ -99,7 +100,6 @@ export * from './TableFilters';
|
|
|
99
100
|
export * from './Tag';
|
|
100
101
|
export * from './Textarea';
|
|
101
102
|
export * from './TextField';
|
|
102
|
-
export * from './NumberField';
|
|
103
103
|
export * from './Tooltip';
|
|
104
104
|
export * from './Typeahead';
|
|
105
105
|
export * from './Typography';
|