@ttoss/ui 1.14.1 → 1.14.4
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/esm/index.js +4 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +17 -16
- package/package.json +10 -9
- package/src/components/Grid/Grid.tsx +1 -0
- package/src/index.ts +21 -14
package/dist/esm/index.js
CHANGED
|
@@ -201,6 +201,9 @@ var FormField = ({ children, label, error }) => {
|
|
|
201
201
|
};
|
|
202
202
|
var FormField_default = FormField;
|
|
203
203
|
|
|
204
|
+
// src/components/Grid/Grid.tsx
|
|
205
|
+
import { Grid } from "@theme-ui/components";
|
|
206
|
+
|
|
204
207
|
// src/components/Heading/Heading.tsx
|
|
205
208
|
import { Heading, HeadingProps } from "@theme-ui/components";
|
|
206
209
|
|
|
@@ -224,11 +227,10 @@ export {
|
|
|
224
227
|
Button_default as Button,
|
|
225
228
|
Card,
|
|
226
229
|
Divider,
|
|
227
|
-
DividerProps,
|
|
228
230
|
Flex,
|
|
229
231
|
FormField_default as FormField,
|
|
232
|
+
Grid,
|
|
230
233
|
Heading,
|
|
231
|
-
HeadingProps,
|
|
232
234
|
Image,
|
|
233
235
|
Input,
|
|
234
236
|
LinearProgress,
|
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export { Theme } from '@theme-ui/core';
|
|
|
6
6
|
export { useBreakpointIndex, useResponsiveValue } from '@theme-ui/match-media';
|
|
7
7
|
export { Themed } from '@theme-ui/mdx';
|
|
8
8
|
import * as React from 'react';
|
|
9
|
-
import * as _theme_ui_components from '@theme-ui/components';
|
|
10
9
|
import { ButtonProps, ProgressProps } from '@theme-ui/components';
|
|
11
|
-
export { Box, BoxProps, ButtonProps, Card, CardProps, Divider, DividerProps, Flex, FlexProps, Heading, HeadingProps, Image, ImageProps, Input, InputProps, Link, LinkProps, Select, SelectProps, Text, TextProps } from '@theme-ui/components';
|
|
10
|
+
export { Box, BoxProps, ButtonProps, Card, CardProps, Divider, DividerProps, Flex, FlexProps, Grid, GridProps, Heading, HeadingProps, Image, ImageProps, Input, InputProps, Link, LinkProps, Select, SelectProps, Text, TextProps } from '@theme-ui/components';
|
|
11
|
+
import * as _theme_ui_components_dist_declarations_src_types from '@theme-ui/components/dist/declarations/src/types';
|
|
12
12
|
|
|
13
13
|
declare type ThemeProviderProps = {
|
|
14
14
|
children?: React.ReactNode;
|
|
@@ -32,6 +32,6 @@ declare type FormFieldProps = {
|
|
|
32
32
|
declare const FormField: ({ children, label, error }: FormFieldProps) => JSX.Element;
|
|
33
33
|
|
|
34
34
|
declare type LinearProgressProps = ProgressProps;
|
|
35
|
-
declare const LinearProgress:
|
|
35
|
+
declare const LinearProgress: _theme_ui_components_dist_declarations_src_types.ForwardRef<HTMLProgressElement, ProgressProps>;
|
|
36
36
|
|
|
37
37
|
export { Button, FormField, FormFieldProps, LinearProgress, LinearProgressProps, ThemeProvider, ThemeProviderProps, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -43,16 +43,15 @@ __export(src_exports, {
|
|
|
43
43
|
Button: () => Button_default,
|
|
44
44
|
Card: () => import_components3.Card,
|
|
45
45
|
Divider: () => import_components4.Divider,
|
|
46
|
-
DividerProps: () => import_components4.DividerProps,
|
|
47
46
|
Flex: () => import_components5.Flex,
|
|
48
47
|
FormField: () => FormField_default,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Image: () =>
|
|
52
|
-
Input: () =>
|
|
48
|
+
Grid: () => import_components8.Grid,
|
|
49
|
+
Heading: () => import_components9.Heading,
|
|
50
|
+
Image: () => import_components10.Image,
|
|
51
|
+
Input: () => import_components11.Input,
|
|
53
52
|
LinearProgress: () => LinearProgress,
|
|
54
|
-
Link: () =>
|
|
55
|
-
Select: () =>
|
|
53
|
+
Link: () => import_components12.Link,
|
|
54
|
+
Select: () => import_components14.Select,
|
|
56
55
|
Text: () => import_components7.Text,
|
|
57
56
|
ThemeProvider: () => ThemeProvider_default,
|
|
58
57
|
Themed: () => import_mdx.Themed,
|
|
@@ -246,35 +245,37 @@ var FormField = ({ children, label, error }) => {
|
|
|
246
245
|
};
|
|
247
246
|
var FormField_default = FormField;
|
|
248
247
|
|
|
249
|
-
// src/components/
|
|
248
|
+
// src/components/Grid/Grid.tsx
|
|
250
249
|
var import_components8 = require("@theme-ui/components");
|
|
251
250
|
|
|
252
|
-
// src/components/
|
|
251
|
+
// src/components/Heading/Heading.tsx
|
|
253
252
|
var import_components9 = require("@theme-ui/components");
|
|
254
253
|
|
|
255
|
-
// src/components/
|
|
254
|
+
// src/components/Image/Image.tsx
|
|
256
255
|
var import_components10 = require("@theme-ui/components");
|
|
257
256
|
|
|
258
|
-
// src/components/
|
|
257
|
+
// src/components/Input/Input.tsx
|
|
259
258
|
var import_components11 = require("@theme-ui/components");
|
|
260
259
|
|
|
261
|
-
// src/components/
|
|
260
|
+
// src/components/Link/Link.tsx
|
|
262
261
|
var import_components12 = require("@theme-ui/components");
|
|
263
|
-
var LinearProgress = import_components12.Progress;
|
|
264
262
|
|
|
265
|
-
// src/components/
|
|
263
|
+
// src/components/LinearProgress/LinearProgress.tsx
|
|
266
264
|
var import_components13 = require("@theme-ui/components");
|
|
265
|
+
var LinearProgress = import_components13.Progress;
|
|
266
|
+
|
|
267
|
+
// src/components/Select/Select.tsx
|
|
268
|
+
var import_components14 = require("@theme-ui/components");
|
|
267
269
|
// Annotate the CommonJS export names for ESM import in node:
|
|
268
270
|
0 && (module.exports = {
|
|
269
271
|
Box,
|
|
270
272
|
Button,
|
|
271
273
|
Card,
|
|
272
274
|
Divider,
|
|
273
|
-
DividerProps,
|
|
274
275
|
Flex,
|
|
275
276
|
FormField,
|
|
277
|
+
Grid,
|
|
276
278
|
Heading,
|
|
277
|
-
HeadingProps,
|
|
278
279
|
Image,
|
|
279
280
|
Input,
|
|
280
281
|
LinearProgress,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,18 +34,19 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@emotion/react": "^11",
|
|
36
36
|
"@emotion/styled": "^11",
|
|
37
|
-
"@
|
|
38
|
-
"@theme-ui/
|
|
39
|
-
"@theme-ui/
|
|
40
|
-
"@theme-ui/
|
|
41
|
-
"@theme-ui/
|
|
37
|
+
"@mdx-js/react": "^1",
|
|
38
|
+
"@theme-ui/color": "^0.14.3",
|
|
39
|
+
"@theme-ui/components": "^0.14.3",
|
|
40
|
+
"@theme-ui/core": "^0.14.3",
|
|
41
|
+
"@theme-ui/match-media": "^0.14.3",
|
|
42
|
+
"@theme-ui/mdx": "^0.14.3"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"react": ">=16.8.0"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@ttoss/config": "^1.14.
|
|
48
|
-
"@ttoss/test-utils": "^1.14.
|
|
48
|
+
"@ttoss/config": "^1.14.4",
|
|
49
|
+
"@ttoss/test-utils": "^1.14.4"
|
|
49
50
|
},
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "ea90cc502669e1a4fd43c780454fd9fa48602304"
|
|
51
52
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Grid, type GridProps } from '@theme-ui/components';
|
package/src/index.ts
CHANGED
|
@@ -5,27 +5,34 @@ export { Themed } from '@theme-ui/mdx';
|
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
default as ThemeProvider,
|
|
8
|
-
ThemeProviderProps,
|
|
8
|
+
type ThemeProviderProps,
|
|
9
9
|
} from './theme/ThemeProvider';
|
|
10
10
|
|
|
11
11
|
export { useTheme } from './theme/useTheme';
|
|
12
12
|
|
|
13
|
-
export { default as Box, BoxProps } from './components/Box/Box';
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
export { default as Box, type BoxProps } from './components/Box/Box';
|
|
14
|
+
export {
|
|
15
|
+
default as Button,
|
|
16
|
+
type ButtonProps,
|
|
17
|
+
} from './components/Button/Button';
|
|
18
|
+
export { default as Card, type CardProps } from './components/Card/Card';
|
|
19
|
+
export { Divider, type DividerProps } from './components/Divider/Divider';
|
|
20
|
+
export { default as Flex, type FlexProps } from './components/Flex/Flex';
|
|
18
21
|
export {
|
|
19
22
|
default as FormField,
|
|
20
|
-
FormFieldProps,
|
|
23
|
+
type FormFieldProps,
|
|
21
24
|
} from './components/FormField/FormField';
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
25
|
+
export { Grid, type GridProps } from './components/Grid/Grid';
|
|
26
|
+
export { Heading, type HeadingProps } from './components/Heading/Heading';
|
|
27
|
+
export { default as Image, type ImageProps } from './components/Image/Image';
|
|
28
|
+
export { default as Input, type InputProps } from './components/Input/Input';
|
|
29
|
+
export { default as Link, type LinkProps } from './components/Link/Link';
|
|
26
30
|
export {
|
|
27
31
|
LinearProgress,
|
|
28
|
-
LinearProgressProps,
|
|
32
|
+
type LinearProgressProps,
|
|
29
33
|
} from './components/LinearProgress/LinearProgress';
|
|
30
|
-
export { default as Text, TextProps } from './components/Text/Text';
|
|
31
|
-
export {
|
|
34
|
+
export { default as Text, type TextProps } from './components/Text/Text';
|
|
35
|
+
export {
|
|
36
|
+
default as Select,
|
|
37
|
+
type SelectProps,
|
|
38
|
+
} from './components/Select/Select';
|