@cube-dev/ui-kit 0.6.50 → 0.6.54
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/cjs/components/content/Text.d.ts +1 -0
- package/dist/cjs/components/content/Title.d.ts +2 -2
- package/dist/cjs/components/forms/TextInput/TextInputBase.d.ts +2 -2
- package/dist/cjs/css-properties.d.ts +12 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/list.d.ts +6 -6
- package/dist/mjs/components/content/Text.d.ts +1 -0
- package/dist/mjs/components/content/Title.d.ts +2 -2
- package/dist/mjs/components/forms/TextInput/TextInputBase.d.ts +2 -2
- package/dist/mjs/css-properties.d.ts +12 -0
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +5 -5
- package/dist/mjs/index.js.map +1 -1
- package/dist/mjs/styles/list.d.ts +6 -6
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ declare const Text: import("react").ForwardRefExoticComponent<CubeTextProps & im
|
|
|
33
33
|
Danger: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
34
34
|
Success: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
35
35
|
Strong: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
36
|
+
Emphasis: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
36
37
|
Selection: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
37
38
|
};
|
|
38
39
|
export { Text };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CubeTextProps } from './Text';
|
|
3
|
-
import { BaseProps,
|
|
4
|
-
export interface CubeTitleProps extends BaseProps, CubeTextProps, TagNameProps,
|
|
3
|
+
import { BaseProps, ContainerStyleProps, PositionStyleProps, TagNameProps } from '../types';
|
|
4
|
+
export interface CubeTitleProps extends BaseProps, CubeTextProps, TagNameProps, ContainerStyleProps, PositionStyleProps {
|
|
5
5
|
/** The level of the heading **/
|
|
6
6
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
7
7
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
2
|
import { Styles } from '../../../styles/types';
|
|
3
|
-
import { BaseProps, BlockStyleProps, PositionStyleProps, Props } from '../../types';
|
|
3
|
+
import { BaseProps, BlockStyleProps, DimensionStyleProps, PositionStyleProps, Props } from '../../types';
|
|
4
4
|
import { FormFieldProps } from '../../../shared';
|
|
5
5
|
import { AriaTextFieldProps } from '@react-types/textfield';
|
|
6
6
|
export declare const DEFAULT_INPUT_STYLES: Styles;
|
|
7
|
-
export interface CubeTextInputBaseProps extends BaseProps, PositionStyleProps, BlockStyleProps, AriaTextFieldProps, FormFieldProps {
|
|
7
|
+
export interface CubeTextInputBaseProps extends BaseProps, PositionStyleProps, DimensionStyleProps, BlockStyleProps, AriaTextFieldProps, FormFieldProps {
|
|
8
8
|
/** Input decoration before the main input */
|
|
9
9
|
prefix?: ReactNode;
|
|
10
10
|
/** Input decoration after the main input */
|
|
@@ -121,6 +121,18 @@ declare const PROPS: {
|
|
|
121
121
|
'tag-line-height': string;
|
|
122
122
|
'tag-letter-spacing': string;
|
|
123
123
|
'tag-font-weight': string;
|
|
124
|
+
'strong-font-size': string;
|
|
125
|
+
'strong-line-height': string;
|
|
126
|
+
'strong-letter-spacing': string;
|
|
127
|
+
'strong-font-family': string;
|
|
128
|
+
'strong-font-style': string;
|
|
129
|
+
'strong-font-weight': number;
|
|
130
|
+
'em-font-size': string;
|
|
131
|
+
'em-line-height': string;
|
|
132
|
+
'em-letter-spacing': string;
|
|
133
|
+
'em-font-family': string;
|
|
134
|
+
'em-font-style': string;
|
|
135
|
+
'em-font-weight': string;
|
|
124
136
|
'default-font-size': string;
|
|
125
137
|
'default-line-height': string;
|
|
126
138
|
'default-letter-spacing': string;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export declare const Typography: {
|
|
|
135
135
|
Danger: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
136
136
|
Success: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
137
137
|
Strong: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
138
|
+
Emphasis: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
138
139
|
Selection: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
139
140
|
};
|
|
140
141
|
Title: import("react").ForwardRefExoticComponent<CubeTitleProps & import("react").RefAttributes<unknown>> & {
|