@ttoss/ui 1.19.0 → 1.20.0
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 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -10
- package/package.json +19 -23
- package/src/index.ts +2 -1
package/dist/esm/index.js
CHANGED
|
@@ -155,6 +155,9 @@ import { Image } from "theme-ui";
|
|
|
155
155
|
// src/components/Input/Input.tsx
|
|
156
156
|
import { Input } from "theme-ui";
|
|
157
157
|
|
|
158
|
+
// src/components/Label/Label.tsx
|
|
159
|
+
import { Label } from "theme-ui";
|
|
160
|
+
|
|
158
161
|
// src/components/Link/Link.tsx
|
|
159
162
|
import { Link } from "theme-ui";
|
|
160
163
|
|
|
@@ -181,6 +184,7 @@ export {
|
|
|
181
184
|
Heading,
|
|
182
185
|
Image,
|
|
183
186
|
Input,
|
|
187
|
+
Label,
|
|
184
188
|
Progress as LinearProgress,
|
|
185
189
|
Link,
|
|
186
190
|
Select,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as theme_ui from 'theme-ui';
|
|
2
2
|
import { Theme, ButtonProps } from 'theme-ui';
|
|
3
|
-
export { Box, BoxProps, ButtonProps, Card, CardProps, Divider, DividerProps, Flex, FlexProps, Grid, GridProps, Heading, HeadingProps, Image, ImageProps, Input, InputProps, Progress as LinearProgress, ProgressProps as LinearProgressProps, Link, LinkProps, Select, SelectProps, Spinner, SpinnerProps, Text, TextProps, Theme } from 'theme-ui';
|
|
3
|
+
export { Box, BoxProps, ButtonProps, Card, CardProps, Divider, DividerProps, Flex, FlexProps, Grid, GridProps, Heading, HeadingProps, Image, ImageProps, Input, InputProps, Label, LabelProps, Progress as LinearProgress, ProgressProps as LinearProgressProps, Link, LinkProps, Select, SelectProps, Spinner, SpinnerProps, Text, TextProps, Theme } from 'theme-ui';
|
|
4
4
|
export { useBreakpointIndex, useResponsiveValue } from '@theme-ui/match-media';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -32,11 +32,12 @@ __export(src_exports, {
|
|
|
32
32
|
Heading: () => import_theme_ui9.Heading,
|
|
33
33
|
Image: () => import_theme_ui10.Image,
|
|
34
34
|
Input: () => import_theme_ui11.Input,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
Label: () => import_theme_ui12.Label,
|
|
36
|
+
LinearProgress: () => import_theme_ui14.Progress,
|
|
37
|
+
Link: () => import_theme_ui13.Link,
|
|
38
|
+
Select: () => import_theme_ui16.Select,
|
|
39
|
+
Spinner: () => import_theme_ui17.Spinner,
|
|
40
|
+
Text: () => import_theme_ui15.Text,
|
|
40
41
|
ThemeProvider: () => ThemeProvider_default,
|
|
41
42
|
useBreakpointIndex: () => import_match_media.useBreakpointIndex,
|
|
42
43
|
useResponsiveValue: () => import_match_media.useResponsiveValue,
|
|
@@ -199,20 +200,23 @@ var import_theme_ui10 = require("theme-ui");
|
|
|
199
200
|
// src/components/Input/Input.tsx
|
|
200
201
|
var import_theme_ui11 = require("theme-ui");
|
|
201
202
|
|
|
202
|
-
// src/components/
|
|
203
|
+
// src/components/Label/Label.tsx
|
|
203
204
|
var import_theme_ui12 = require("theme-ui");
|
|
204
205
|
|
|
205
|
-
// src/components/
|
|
206
|
+
// src/components/Link/Link.tsx
|
|
206
207
|
var import_theme_ui13 = require("theme-ui");
|
|
207
208
|
|
|
208
|
-
// src/components/
|
|
209
|
+
// src/components/LinearProgress/LinearProgress.tsx
|
|
209
210
|
var import_theme_ui14 = require("theme-ui");
|
|
210
211
|
|
|
211
|
-
// src/components/
|
|
212
|
+
// src/components/Text/Text.tsx
|
|
212
213
|
var import_theme_ui15 = require("theme-ui");
|
|
213
214
|
|
|
214
|
-
// src/components/
|
|
215
|
+
// src/components/Select/Select.tsx
|
|
215
216
|
var import_theme_ui16 = require("theme-ui");
|
|
217
|
+
|
|
218
|
+
// src/components/Spinner/Spinner.tsx
|
|
219
|
+
var import_theme_ui17 = require("theme-ui");
|
|
216
220
|
// Annotate the CommonJS export names for ESM import in node:
|
|
217
221
|
0 && (module.exports = {
|
|
218
222
|
Box,
|
|
@@ -224,6 +228,7 @@ var import_theme_ui16 = require("theme-ui");
|
|
|
224
228
|
Heading,
|
|
225
229
|
Image,
|
|
226
230
|
Input,
|
|
231
|
+
Label,
|
|
227
232
|
LinearProgress,
|
|
228
233
|
Link,
|
|
229
234
|
Select,
|
package/package.json
CHANGED
|
@@ -1,36 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"author": "ttoss",
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
|
|
9
|
+
],
|
|
9
10
|
"main": "dist/index.js",
|
|
10
|
-
"typings": "dist/index.d.ts",
|
|
11
11
|
"module": "dist/esm/index.js",
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
14
|
"src"
|
|
15
15
|
],
|
|
16
|
-
"keywords": [
|
|
17
|
-
"React",
|
|
18
|
-
"ui",
|
|
19
|
-
"user interface"
|
|
20
|
-
],
|
|
21
|
-
"author": "ttoss",
|
|
22
|
-
"contributors": [
|
|
23
|
-
{
|
|
24
|
-
"email": "pedro@arantespp.com",
|
|
25
|
-
"name": "Pedro Arantes",
|
|
26
|
-
"url": "https://arantespp.com/contact"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
16
|
"scripts": {
|
|
30
17
|
"build": "tsup",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
18
|
+
"dev": "yarn workspace @docs/storybook run dev",
|
|
19
|
+
"test": "jest"
|
|
33
20
|
},
|
|
21
|
+
"typings": "dist/index.d.ts",
|
|
34
22
|
"dependencies": {
|
|
35
23
|
"@emotion/react": "^11",
|
|
36
24
|
"@mdx-js/react": "^1",
|
|
@@ -41,11 +29,19 @@
|
|
|
41
29
|
"react": ">=18.0.0"
|
|
42
30
|
},
|
|
43
31
|
"devDependencies": {
|
|
44
|
-
"@ttoss/config": "^1.
|
|
45
|
-
"@ttoss/test-utils": "^1.16.
|
|
32
|
+
"@ttoss/config": "^1.18.0",
|
|
33
|
+
"@ttoss/test-utils": "^1.16.7",
|
|
46
34
|
"@types/jest": "^28.1.3",
|
|
47
35
|
"jest": "^28.1.1",
|
|
48
36
|
"tsup": "^6.1.2"
|
|
49
37
|
},
|
|
50
|
-
"
|
|
38
|
+
"keywords": [
|
|
39
|
+
"React",
|
|
40
|
+
"ui",
|
|
41
|
+
"user interface"
|
|
42
|
+
],
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"gitHead": "a11a42868010b3cba7d8e45adb1c0e80fc63fdc6"
|
|
51
47
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { Grid, type GridProps } from './components/Grid/Grid';
|
|
|
17
17
|
export { Heading, type HeadingProps } from './components/Heading/Heading';
|
|
18
18
|
export { Image, type ImageProps } from './components/Image/Image';
|
|
19
19
|
export { Input, type InputProps } from './components/Input/Input';
|
|
20
|
+
export { Label, type LabelProps } from './components/Label/Label';
|
|
20
21
|
export { Link, type LinkProps } from './components/Link/Link';
|
|
21
22
|
export {
|
|
22
23
|
LinearProgress,
|
|
@@ -24,4 +25,4 @@ export {
|
|
|
24
25
|
} from './components/LinearProgress/LinearProgress';
|
|
25
26
|
export { Text, type TextProps } from './components/Text/Text';
|
|
26
27
|
export { Select, type SelectProps } from './components/Select/Select';
|
|
27
|
-
export { Spinner, type SpinnerProps } from './components/Spinner/Spinner';
|
|
28
|
+
export { Spinner, type SpinnerProps } from './components/Spinner/Spinner';
|