@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 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: _theme_ui_components.ForwardRef<HTMLProgressElement, ProgressProps>;
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
- Heading: () => import_components8.Heading,
50
- HeadingProps: () => import_components8.HeadingProps,
51
- Image: () => import_components9.Image,
52
- Input: () => import_components10.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: () => import_components11.Link,
55
- Select: () => import_components13.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/Heading/Heading.tsx
248
+ // src/components/Grid/Grid.tsx
250
249
  var import_components8 = require("@theme-ui/components");
251
250
 
252
- // src/components/Image/Image.tsx
251
+ // src/components/Heading/Heading.tsx
253
252
  var import_components9 = require("@theme-ui/components");
254
253
 
255
- // src/components/Input/Input.tsx
254
+ // src/components/Image/Image.tsx
256
255
  var import_components10 = require("@theme-ui/components");
257
256
 
258
- // src/components/Link/Link.tsx
257
+ // src/components/Input/Input.tsx
259
258
  var import_components11 = require("@theme-ui/components");
260
259
 
261
- // src/components/LinearProgress/LinearProgress.tsx
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/Select/Select.tsx
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.1",
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
- "@theme-ui/color": "^0.13.1",
38
- "@theme-ui/components": "^0.13.1",
39
- "@theme-ui/core": "^0.13.1",
40
- "@theme-ui/match-media": "^0.13.1",
41
- "@theme-ui/mdx": "^0.13.1"
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.1",
48
- "@ttoss/test-utils": "^1.14.1"
48
+ "@ttoss/config": "^1.14.4",
49
+ "@ttoss/test-utils": "^1.14.4"
49
50
  },
50
- "gitHead": "c47a7a0773b8ccdf631942994abc660e68f0597e"
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 { default as Button, ButtonProps } from './components/Button/Button';
15
- export { default as Card, CardProps } from './components/Card/Card';
16
- export { Divider, DividerProps } from './components/Divider/Divider';
17
- export { default as Flex, FlexProps } from './components/Flex/Flex';
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 { Heading, HeadingProps } from './components/Heading/Heading';
23
- export { default as Image, ImageProps } from './components/Image/Image';
24
- export { default as Input, InputProps } from './components/Input/Input';
25
- export { default as Link, LinkProps } from './components/Link/Link';
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 { default as Select, SelectProps } from './components/Select/Select';
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';