@theroutingcompany/components 0.0.128-alpha.2 → 0.0.128-alpha.3
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 +3294 -3288
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +240 -240
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Input/DateInput/DateInput.d.ts +3 -1
- package/types/components/Input/TimeInput/TimeInput.d.ts +2 -1
package/package.json
CHANGED
|
@@ -16,10 +16,12 @@ interface DateInputProps {
|
|
|
16
16
|
hideLabel?: boolean;
|
|
17
17
|
isInvalid?: boolean;
|
|
18
18
|
isDisabled?: boolean;
|
|
19
|
+
required?: boolean;
|
|
19
20
|
hideIcon?: boolean;
|
|
20
21
|
errorMessage?: string;
|
|
21
22
|
placeholder?: string;
|
|
22
23
|
isDateUnavailable?: (date: CalendarDate) => boolean;
|
|
23
24
|
}
|
|
24
|
-
export declare function DateInput({ label, name, labelId, inputId, timeZone, hideLabel, boldLabel, onChange, isInvalid, isDisabled, placeholder, isDateUnavailable, ...props }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function DateInput({ label, name, labelId, inputId, timeZone, hideLabel, boldLabel, onChange, isInvalid, isDisabled, required, placeholder, isDateUnavailable, ...props }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const getCalendarDateFromInputValue: () => void;
|
|
25
27
|
export {};
|
|
@@ -4,6 +4,7 @@ export declare const TimeWrapper: import("styled-components").StyledComponent<"d
|
|
|
4
4
|
export declare const TimeField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
interface TimeInputProps {
|
|
6
6
|
label?: string;
|
|
7
|
+
name?: string;
|
|
7
8
|
labelId?: string;
|
|
8
9
|
inputId?: string;
|
|
9
10
|
tooltipIcon?: string;
|
|
@@ -24,4 +25,4 @@ interface TimeInputProps {
|
|
|
24
25
|
latestScrollOption?: Time;
|
|
25
26
|
alignScrollOptionIntervalsToMidnight?: boolean;
|
|
26
27
|
}
|
|
27
|
-
export declare function TimeInput({ label, labelId, inputId, hideLabel, boldLabel, interval, hourCycle, defaultValue, onChange, placeholder, isInvalid, isDisabled, earliestScrollOption, latestScrollOption, alignScrollOptionIntervalsToMidnight, ...props }: TimeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function TimeInput({ label, name, labelId, inputId, hideLabel, boldLabel, interval, hourCycle, defaultValue, onChange, placeholder, isInvalid, isDisabled, earliestScrollOption, latestScrollOption, alignScrollOptionIntervalsToMidnight, ...props }: TimeInputProps): import("react/jsx-runtime").JSX.Element;
|