@theroutingcompany/components 0.0.74 → 0.0.76-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 +10213 -9773
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +403 -409
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/types/components/Accordion/Accordion.d.ts +3 -2
- package/types/components/FormControl/FormControl.d.ts +1 -1
- package/types/components/Input/DateInput/DateInput.d.ts +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theroutingcompany/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76-alpha.0",
|
|
4
4
|
"description": "The Routing Company Components",
|
|
5
5
|
"main": "./dist/trc-components.umd.js",
|
|
6
6
|
"module": "./dist/trc-components.es.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@react-aria/calendar": "^3.3.0",
|
|
69
69
|
"@react-aria/checkbox": "^3.14.1",
|
|
70
70
|
"@react-aria/combobox": "^3.6.1",
|
|
71
|
-
"@react-aria/datepicker": "^3.
|
|
71
|
+
"@react-aria/datepicker": "^3.9.3",
|
|
72
72
|
"@react-aria/dnd": "^3.2.1",
|
|
73
73
|
"@react-aria/focus": "^3.12.1",
|
|
74
74
|
"@react-aria/i18n": "^3.7.2",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@react-stately/calendar": "^3.2.1",
|
|
89
89
|
"@react-stately/collections": "^3.8.0",
|
|
90
90
|
"@react-stately/combobox": "^3.5.1",
|
|
91
|
-
"@react-stately/datepicker": "^3.
|
|
91
|
+
"@react-stately/datepicker": "^3.9.2",
|
|
92
92
|
"@react-stately/list": "^3.8.1",
|
|
93
93
|
"@react-stately/menu": "^3.5.2",
|
|
94
94
|
"@react-stately/numberfield": "^3.4.2",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@react-stately/tree": "^3.7.6",
|
|
102
102
|
"@react-types/calendar": "^3.2.1",
|
|
103
103
|
"@react-types/combobox": "^3.6.2",
|
|
104
|
-
"@react-types/datepicker": "^3.
|
|
104
|
+
"@react-types/datepicker": "^3.7.2",
|
|
105
105
|
"@react-types/overlays": "^3.7.2",
|
|
106
106
|
"@react-types/select": "^3.8.1",
|
|
107
107
|
"@styled-system/prop-types": "^5.1.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
2
|
import { AccordionItemProps } from '@radix-ui/react-accordion';
|
|
3
|
-
import { type ReactNode } from 'react';
|
|
3
|
+
import { CSSProperties, type ReactNode } from 'react';
|
|
4
4
|
export declare const SectionTitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
5
|
export interface SectionHeaderProps extends AccordionPrimitive.AccordionHeaderProps {
|
|
6
6
|
children: ReactNode;
|
|
@@ -11,8 +11,9 @@ export declare function SectionHeader({ children, icon, bold, ...rest }: Section
|
|
|
11
11
|
type SectionItemProps = {
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
includeBottomDivider?: boolean;
|
|
14
|
+
style: CSSProperties;
|
|
14
15
|
} & AccordionItemProps;
|
|
15
|
-
export declare function SectionItem({ children, includeBottomDivider, ...rest }: SectionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function SectionItem({ children, includeBottomDivider, style, ...rest }: SectionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export interface AccordionProps {
|
|
17
18
|
children: ReactNode;
|
|
18
19
|
type: 'multiple' | 'single';
|
|
@@ -33,7 +33,7 @@ export declare const TextAreaFormControl: import("react").ForwardRefExoticCompon
|
|
|
33
33
|
'aria-describedby'?: string | undefined;
|
|
34
34
|
'aria-details'?: string | undefined;
|
|
35
35
|
'aria-errormessage'?: string | undefined;
|
|
36
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "
|
|
36
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
37
37
|
'aria-label'?: string | undefined;
|
|
38
38
|
'aria-labelledby'?: string | undefined;
|
|
39
39
|
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { AriaDateFieldOptions } from '@react-aria/datepicker';
|
|
1
2
|
import { type CalendarDateTime } from '@internationalized/date';
|
|
3
|
+
import type { DateFieldStateOptions } from '@react-stately/datepicker';
|
|
2
4
|
export declare const DateField: import("styled-components").StyledComponent<"div", any, {
|
|
3
5
|
paddingSize: string;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
4
7
|
}, never>;
|
|
5
|
-
export
|
|
8
|
+
export type DateInputProps = {
|
|
6
9
|
value?: CalendarDateTime;
|
|
7
10
|
defaultValue?: CalendarDateTime;
|
|
8
11
|
onChange?: (value: CalendarDateTime) => void;
|
|
@@ -11,5 +14,5 @@ export interface DateInputProps {
|
|
|
11
14
|
granularity?: 'day' | 'hour' | 'minute';
|
|
12
15
|
paddingSize?: string;
|
|
13
16
|
timeZone: string;
|
|
14
|
-
}
|
|
17
|
+
} & AriaDateFieldOptions<CalendarDateTime> & Omit<DateFieldStateOptions<CalendarDateTime>, 'locale' | 'createCalendar'>;
|
|
15
18
|
export declare function DateInput({ granularity, paddingSize, timeZone, value, defaultValue, onChange, ...props }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|