@theroutingcompany/components 0.0.60 → 0.0.61-alpha.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/trc-components.es.js +4913 -4866
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +1058 -1038
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Accordion/Accordion.d.ts +1 -0
- package/types/components/Input/TimeInput/TimeInput.d.ts +3 -1
- package/types/components/Panel/Panel.d.ts +12 -0
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ declare const Accordion: {
|
|
|
23
23
|
Item: typeof SectionItem;
|
|
24
24
|
Header: typeof SectionHeader;
|
|
25
25
|
Content: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<AccordionPrimitive.AccordionContentProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
26
|
+
Trigger: import("react").ForwardRefExoticComponent<AccordionPrimitive.AccordionTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
26
27
|
};
|
|
27
28
|
export default Accordion;
|
|
28
29
|
export { Accordion };
|
|
@@ -6,5 +6,7 @@ interface TimeInputProps {
|
|
|
6
6
|
value?: TODOFIXME;
|
|
7
7
|
onChange?: TODOFIXME;
|
|
8
8
|
hourCycle?: 12 | 24;
|
|
9
|
+
errorMessage?: string;
|
|
10
|
+
includeTimesWrapper?: boolean;
|
|
9
11
|
}
|
|
10
|
-
export declare function TimeInput(props: TimeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function TimeInput({ includeTimesWrapper, ...props }: TimeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { type BoxProps } from 'components/Box/Box';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
type Size = 'small' | 'medium' | 'large';
|
|
4
|
+
export declare const small: import("styled-components").FlattenSimpleInterpolation;
|
|
5
|
+
export declare const medium: import("styled-components").FlattenSimpleInterpolation;
|
|
6
|
+
export declare const large: import("styled-components").FlattenSimpleInterpolation;
|
|
7
|
+
export declare const getSize: (size: Size) => import("styled-components").FlattenSimpleInterpolation | undefined;
|
|
8
|
+
export declare const StyledPanelBox: import("styled-components").StyledComponent<import("../..").ForwardRefComponent<"div", BoxProps>, any, Omit<BoxProps, "as"> & {
|
|
9
|
+
'data-id'?: string | undefined;
|
|
10
|
+
size?: Size | undefined;
|
|
11
|
+
}, never>;
|
|
3
12
|
export type PanelBoxProps = Omit<BoxProps, 'as'> & {
|
|
4
13
|
'data-id'?: string;
|
|
14
|
+
size?: Size;
|
|
5
15
|
};
|
|
6
16
|
export declare const Panel: React.ForwardRefExoticComponent<Omit<BoxProps, "as"> & {
|
|
7
17
|
'data-id'?: string | undefined;
|
|
18
|
+
size?: Size | undefined;
|
|
8
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export {};
|