@theroutingcompany/components 0.0.30-alpha.6 → 0.0.30-alpha.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theroutingcompany/components",
3
- "version": "0.0.30-alpha.6",
3
+ "version": "0.0.30-alpha.9",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -1,5 +1,5 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
1
  import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ import type { ComponentPropsWithRef } from 'react';
3
3
  export declare const overlayStyles: import("styled-components").FlattenSimpleInterpolation;
4
4
  export declare const dialogWidths: {
5
5
  readonly small: "360px";
@@ -1,5 +1,6 @@
1
1
  import type * as Polymorphic from '@radix-ui/react-polymorphic';
2
2
  import { type ComponentPropsWithoutRef } from 'react';
3
+ import { type SpaceProps } from 'styled-system';
3
4
  type TextElements = 'p' | 'div' | 'span' | 'legend' | 'caption' | 'figcaption' | 'strong' | 'em' | 'strong' | 'abbr' | 'mark' | 'q' | 'small' | 'time';
4
5
  interface BodyTextProps extends ComponentPropsWithoutRef<'p'> {
5
6
  type: 'body';
@@ -23,7 +24,7 @@ export type TextProps = Partial<NumberTextProps | CaptionTextProps | BodyTextPro
23
24
  italic?: boolean;
24
25
  as?: TextElements;
25
26
  color?: string;
26
- };
27
+ } & SpaceProps;
27
28
  type PolymorphicText = Polymorphic.ForwardRefComponent<TextElements, TextProps>;
28
29
  export declare const Text: PolymorphicText;
29
30
  export {};