@theroutingcompany/components 0.0.27 → 0.0.28-alpha.1

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.27",
3
+ "version": "0.0.28-alpha.1",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -14,9 +14,10 @@ declare const widths: {
14
14
  };
15
15
  export type DrawerSize = keyof typeof widths;
16
16
  type DrawerProps = PropsWithChildren<{
17
+ minWidth?: string | number;
17
18
  size?: DrawerSize;
18
19
  }> & Dialog.DialogPortalProps;
19
- export declare function Drawer({ children, size, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function Drawer({ children, size, minWidth, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
20
21
  export declare const DrawerAccordionRoot: import("react").ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & import("react").RefAttributes<HTMLDivElement>>;
21
22
  export type DrawerSectionProps = AccordionPrimitive.AccordionItemProps;
22
23
  /** CSS Variables to control child styles of section closed/open state
@@ -1,14 +1,14 @@
1
- import type { AlignX } from 'helpers';
1
+ import { type AlignX } from 'helpers';
2
2
  import { type SpacingTokenValues } from 'helpers/tokenUtils';
3
3
  import React from 'react';
4
4
  import type { ResponsiveValue } from 'styled-system';
5
- export type StackProps = {
5
+ import { type BoxProps } from '../Box/Box';
6
+ export interface StackProps extends BoxProps {
6
7
  children?: React.ReactNode;
7
8
  align?: ResponsiveValue<AlignX>;
8
9
  space?: ResponsiveValue<SpacingTokenValues>;
9
- addLastSpace?: boolean;
10
10
  'data-id'?: string;
11
- };
11
+ }
12
12
  export declare function Stack(props: StackProps): JSX.Element;
13
13
  export declare namespace Stack {
14
14
  var displayName: string;