@ttoss/ui 1.36.7 → 1.36.8
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/index.d.ts +6 -5
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Theme, BadgeProps as BadgeProps$1, ButtonProps as ButtonProps$1, InputP
|
|
|
3
3
|
export { BaseStyles, Box, BoxProps, Card, CardProps, Checkbox, CheckboxProps, Container, ContainerProps, Divider, DividerProps, Flex, FlexProps, Global, Grid, GridProps, Heading, HeadingProps, IconButtonProps, Image, ImageProps, Progress as LinearProgress, ProgressProps as LinearProgressProps, Paragraph, ParagraphProps, Radio, RadioProps, SelectProps, Slider, SliderProps, Spinner, SpinnerProps, SxProp, Text, TextProps, Theme } from 'theme-ui';
|
|
4
4
|
export { useBreakpointIndex, useResponsiveValue } from '@theme-ui/match-media';
|
|
5
5
|
export { Keyframes, keyframes } from '@emotion/react';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
7
|
import * as React from 'react';
|
|
7
8
|
import { IconifyIconProps, IconifyIconHTMLElement } from '@iconify-icon/react';
|
|
8
9
|
import { IconifyIcon } from '@iconify/types';
|
|
@@ -15,7 +16,7 @@ type ThemeProviderProps = {
|
|
|
15
16
|
*/
|
|
16
17
|
fonts?: string[];
|
|
17
18
|
};
|
|
18
|
-
declare const ThemeProvider: ({ children, theme, fonts, }: ThemeProviderProps) => JSX.Element;
|
|
19
|
+
declare const ThemeProvider: ({ children, theme, fonts, }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
19
20
|
|
|
20
21
|
declare const useTheme: () => theme_ui.ThemeUIContextValue;
|
|
21
22
|
|
|
@@ -26,7 +27,7 @@ declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttribu
|
|
|
26
27
|
type BadgeProps = BadgeProps$1 & {
|
|
27
28
|
icon?: IconType;
|
|
28
29
|
};
|
|
29
|
-
declare const Badge: ({ icon, children, sx, ...props }: BadgeProps) => JSX.Element;
|
|
30
|
+
declare const Badge: ({ icon, children, sx, ...props }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
30
31
|
|
|
31
32
|
type ButtonProps = ButtonProps$1 & {
|
|
32
33
|
leftIcon?: IconType;
|
|
@@ -46,7 +47,7 @@ type LabelProps = LabelProps$1 & {
|
|
|
46
47
|
tooltip?: boolean;
|
|
47
48
|
onTooltipClick?: () => void;
|
|
48
49
|
};
|
|
49
|
-
declare const Label: ({ children, onTooltipClick, tooltip, sx, ...props }: LabelProps) => JSX.Element;
|
|
50
|
+
declare const Label: ({ children, onTooltipClick, tooltip, sx, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
|
|
50
51
|
|
|
51
52
|
type LinkProps = LinkProps$1 & {
|
|
52
53
|
quiet?: boolean;
|
|
@@ -57,7 +58,7 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> &
|
|
|
57
58
|
|
|
58
59
|
declare const IconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
59
60
|
|
|
60
|
-
declare const InfiniteLinearProgress: () => JSX.Element;
|
|
61
|
+
declare const InfiniteLinearProgress: () => react_jsx_runtime.JSX.Element;
|
|
61
62
|
|
|
62
63
|
interface TextareaProps extends TextareaProps$1 {
|
|
63
64
|
trailingIcon?: IconType;
|
|
@@ -68,7 +69,7 @@ type HelpTextProps = Omit<TextProps, 'variant'> & {
|
|
|
68
69
|
disabled?: boolean;
|
|
69
70
|
negative?: boolean;
|
|
70
71
|
};
|
|
71
|
-
declare const HelpText: ({ sx, disabled, negative, ...props }: HelpTextProps) => JSX.Element;
|
|
72
|
+
declare const HelpText: ({ sx, disabled, negative, ...props }: HelpTextProps) => react_jsx_runtime.JSX.Element;
|
|
72
73
|
|
|
73
74
|
type CloseButtonProps = ButtonProps$1 & {
|
|
74
75
|
label?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.8",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@iconify-icon/react": "^1.0.7",
|
|
20
20
|
"@theme-ui/match-media": "^0.15.7",
|
|
21
21
|
"theme-ui": "^0.15.7",
|
|
22
|
-
"@ttoss/theme": "^1.4.
|
|
22
|
+
"@ttoss/theme": "^1.4.35"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=16.8.0"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"@iconify-icons/mdi-light": "^1.2.5",
|
|
29
29
|
"@iconify/types": "^2.0.0",
|
|
30
30
|
"@types/jest": "^29.5.1",
|
|
31
|
-
"@types/react": "^18.2.
|
|
31
|
+
"@types/react": "^18.2.6",
|
|
32
32
|
"jest": "^29.5.0",
|
|
33
33
|
"react": "^18.2.0",
|
|
34
34
|
"tsup": "^6.7.0",
|
|
35
35
|
"@ttoss/config": "^1.30.0",
|
|
36
|
-
"@ttoss/test-utils": "^1.23.
|
|
36
|
+
"@ttoss/test-utils": "^1.23.1"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"React",
|