@ttoss/ui 1.20.3 → 1.21.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 CHANGED
@@ -181,6 +181,9 @@ import { Select } from "theme-ui";
181
181
 
182
182
  // src/components/Spinner/Spinner.tsx
183
183
  import { Spinner } from "theme-ui";
184
+
185
+ // src/components/Radio/Radio.tsx
186
+ import { Radio } from "theme-ui";
184
187
  export {
185
188
  Box,
186
189
  Button,
@@ -194,6 +197,7 @@ export {
194
197
  Label,
195
198
  Progress as LinearProgress,
196
199
  Link,
200
+ Radio,
197
201
  Select,
198
202
  Spinner,
199
203
  Text,
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, Label, LabelProps, 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, Radio, RadioProps, 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
@@ -39,6 +39,7 @@ __export(src_exports, {
39
39
  Label: () => import_theme_ui12.Label,
40
40
  LinearProgress: () => import_theme_ui14.Progress,
41
41
  Link: () => import_theme_ui13.Link,
42
+ Radio: () => import_theme_ui18.Radio,
42
43
  Select: () => import_theme_ui16.Select,
43
44
  Spinner: () => import_theme_ui17.Spinner,
44
45
  Text: () => import_theme_ui15.Text,
@@ -228,6 +229,9 @@ var import_theme_ui16 = require("theme-ui");
228
229
 
229
230
  // src/components/Spinner/Spinner.tsx
230
231
  var import_theme_ui17 = require("theme-ui");
232
+
233
+ // src/components/Radio/Radio.tsx
234
+ var import_theme_ui18 = require("theme-ui");
231
235
  // Annotate the CommonJS export names for ESM import in node:
232
236
  0 && (module.exports = {
233
237
  Box,
@@ -242,6 +246,7 @@ var import_theme_ui17 = require("theme-ui");
242
246
  Label,
243
247
  LinearProgress,
244
248
  Link,
249
+ Radio,
245
250
  Select,
246
251
  Spinner,
247
252
  Text,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/ui",
3
- "version": "1.20.3",
3
+ "version": "1.21.0",
4
4
  "description": "Primitive layout, typographic, and other components for styling applications.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@emotion/react": "^11.10.4",
32
- "@ttoss/config": "^1.18.2",
33
- "@ttoss/test-utils": "^1.16.9",
32
+ "@ttoss/config": "^1.18.3",
33
+ "@ttoss/test-utils": "^1.16.10",
34
34
  "@types/jest": "^29.1.1",
35
35
  "jest": "^29.1.2",
36
36
  "tsup": "^6.2.3"
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "4548135614dd048140cece482703445cf436f39f"
46
+ "gitHead": "8407ac0199e566fb6695f0caddb9f6bed4bf6578"
47
47
  }
@@ -0,0 +1 @@
1
+ export { Radio, type RadioProps } from 'theme-ui';
@@ -6,4 +6,5 @@ test('should export methods', () => {
6
6
  expect(uiModule.useTheme).toBeDefined();
7
7
 
8
8
  expect(uiModule.Divider).toBeDefined();
9
+ expect(uiModule.Radio).toBeDefined();
9
10
  });
package/src/index.ts CHANGED
@@ -26,3 +26,4 @@ export {
26
26
  export { Text, type TextProps } from './components/Text/Text';
27
27
  export { Select, type SelectProps } from './components/Select/Select';
28
28
  export { Spinner, type SpinnerProps } from './components/Spinner/Spinner';
29
+ export { Radio, type RadioProps } from './components/Radio/Radio';