gantri-components 1.114.3 → 1.115.2
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/color-picker/color-picker.styles.d.ts +0 -9
- package/dist/components/color-picker/components/color-picker-item/color-picker-item.d.ts +3 -0
- package/dist/components/color-picker/components/color-picker-item/color-picker-item.types.d.ts +9 -0
- package/dist/components/color-picker/components/color-picker-item/color-picker.styles.d.ts +12 -0
- package/dist/components/color-picker/components/color-picker-item/index.d.ts +1 -0
- package/dist/components/color-picker/components/index.d.ts +1 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +1 -1
- package/dist/components/modal/__tests__/modal.test.d.ts +1 -0
- package/dist/components/modal/__tests__/use-modal.test.d.ts +1 -0
- package/dist/components/modal/modal.constants.d.ts +6 -0
- package/dist/components/search-field/search-field.styles.d.ts +1 -1
- package/dist/components/typography/index.d.ts +1 -0
- package/dist/components/typography/typography.types.d.ts +2 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import { ColorPickerVariant } from './color-picker.types';
|
|
2
1
|
export declare const StyledColorPicker: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const StyledColorList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
$readOnly?: boolean | undefined;
|
|
5
4
|
}, never>;
|
|
6
|
-
export declare const StyledColorOutline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
|
-
$selected?: boolean | undefined;
|
|
8
|
-
$variant?: ColorPickerVariant | undefined;
|
|
9
|
-
}, never>;
|
|
10
|
-
export declare const StyledColor: import("styled-components").StyledComponent<import("react-spring").AnimatedComponent<"span">, import("styled-components").DefaultTheme, {
|
|
11
|
-
$variant?: ColorPickerVariant | undefined;
|
|
12
|
-
color: string;
|
|
13
|
-
}, never>;
|
package/dist/components/color-picker/components/color-picker-item/color-picker-item.types.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { ColorPickerVariant, PickerColor } from '../../color-picker.types';
|
|
3
|
+
export interface ColorPickerItemProps {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
color: PickerColor;
|
|
6
|
+
onColorClick: (color: PickerColor) => void;
|
|
7
|
+
size?: Property.Width;
|
|
8
|
+
variant?: ColorPickerVariant;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { ColorPickerVariant } from '../../color-picker.types';
|
|
3
|
+
export declare const StyledColorOutline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
+
$selected?: boolean | undefined;
|
|
5
|
+
$size?: Property.Width<0 | (string & {})> | undefined;
|
|
6
|
+
$variant?: ColorPickerVariant | undefined;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const StyledColor: import("styled-components").StyledComponent<import("react-spring").AnimatedComponent<"span">, import("styled-components").DefaultTheme, {
|
|
9
|
+
$size?: Property.Width<0 | (string & {})> | undefined;
|
|
10
|
+
$variant?: ColorPickerVariant | undefined;
|
|
11
|
+
color: string;
|
|
12
|
+
}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color-picker-item';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color-picker-item';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Property } from 'csstype';
|
|
3
|
-
export declare const StyledOption: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../typography
|
|
3
|
+
export declare const StyledOption: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<unknown>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const StyledSelect: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
5
|
$maxWidth?: Property.Width<string | number> | undefined;
|
|
6
6
|
}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledOption: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../typography
|
|
2
|
+
export declare const StyledOption: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<unknown>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const StyledSelect: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -3,13 +3,14 @@ import { DefaultTheme } from 'styled-components';
|
|
|
3
3
|
import { CSSProperties } from 'react';
|
|
4
4
|
import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
|
|
5
5
|
export declare type TextAlign = 'string' | 'left' | 'center' | 'right' | 'unset';
|
|
6
|
+
export declare type TypographyColor = keyof DefaultTheme['colors']['typography'];
|
|
6
7
|
export declare type TextVariant = 'p0' | 'p1' | 'p2' | 'p3' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'hero';
|
|
7
8
|
export declare type TextStyle = 'regular' | 'bold';
|
|
8
9
|
export interface TypographyProps {
|
|
9
10
|
align?: ResolutionAwareProp<string>;
|
|
10
11
|
alignSelf?: ResolutionAwareProp<Property.AlignSelf>;
|
|
11
12
|
className?: string;
|
|
12
|
-
color?:
|
|
13
|
+
color?: TypographyColor;
|
|
13
14
|
decoration?: Property.TextDecoration;
|
|
14
15
|
display?: ResolutionAwareProp<Property.Display>;
|
|
15
16
|
fontSize?: ResolutionAwareProp<Property.Font>;
|