@devtable/dashboard 13.39.0 → 13.40.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.
- package/dist/components/widgets/color-picker-popover/color-input.d.ts +10 -0
- package/dist/components/widgets/color-picker-popover/color-picker-popover-for-viz.d.ts +8 -0
- package/dist/components/widgets/color-picker-popover/color-picker-popover.d.ts +13 -0
- package/dist/components/widgets/color-picker-popover/index.d.ts +4 -0
- package/dist/components/widgets/color-picker-popover/utils.d.ts +3 -0
- package/dist/components/widgets/index.d.ts +1 -0
- package/dist/components/widgets/rich-text-editor/color-picker-control/index.d.ts +1 -0
- package/dist/dashboard.es.js +6121 -6137
- package/dist/dashboard.umd.js +74 -74
- package/dist/i18n/en.d.ts +1 -3
- package/dist/i18n/zh.d.ts +1 -3
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
- package/dist/components/panel/settings/common/mantine-color.d.ts +0 -7
- /package/dist/components/widgets/rich-text-editor/{color-picker-control.d.ts → color-picker-control/color-picker-control.d.ts} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const PreviewColor: ({ value }: {
|
|
2
|
+
value: string;
|
|
3
|
+
}) => import('./react/jsx-runtime').JSX.Element;
|
|
4
|
+
type Props = {
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (v: string) => void;
|
|
7
|
+
shouldPatch: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const ColorInput: ({ value, onChange, shouldPatch }: Props) => import('./react/jsx-runtime').JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange: (v: string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const ColorPickerPopoverForViz: import('./react').ForwardRefExoticComponent<Props & import('./react').RefAttributes<HTMLElement>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from './react';
|
|
2
|
+
export type TriggerProps = {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
};
|
|
5
|
+
export type TriggerType = ({ onClick }: TriggerProps) => ReactNode;
|
|
6
|
+
type Props = {
|
|
7
|
+
value: string;
|
|
8
|
+
onChange: (v: string) => void;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
Trigger: TriggerType;
|
|
11
|
+
};
|
|
12
|
+
export declare const ColorPickerPopover: ({ Trigger, value, onChange, clear }: Props) => import('./react/jsx-runtime').JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color-picker-control';
|