@knitui/dates 0.14.0 → 1.1.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/lib/commonjs/Calendar/Calendar.js +4 -4
- package/lib/commonjs/Calendar/Calendar.js.map +1 -1
- package/lib/commonjs/CalendarHeader/CalendarHeader.js +24 -152
- package/lib/commonjs/CalendarHeader/CalendarHeader.js.map +1 -1
- package/lib/commonjs/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/DatePickerInput/DatePickerInput.js +1 -1
- package/lib/commonjs/DateTimePicker/DateTimePicker.js +1 -1
- package/lib/commonjs/DatesProvider/DatesProvider.js +1 -1
- package/lib/commonjs/Day/Day.js +74 -142
- package/lib/commonjs/Day/Day.js.map +1 -1
- package/lib/commonjs/DecadeLevel/DecadeLevel.js +5 -5
- package/lib/commonjs/DecadeLevel/DecadeLevel.js.map +1 -1
- package/lib/commonjs/InlineDateTimePicker/InlineDateTimePicker.js +16 -7
- package/lib/commonjs/InlineDateTimePicker/InlineDateTimePicker.js.map +1 -1
- package/lib/commonjs/LevelsGroup/LevelsGroup.js +3 -3
- package/lib/commonjs/LevelsGroup/LevelsGroup.js.map +1 -1
- package/lib/commonjs/MiniCalendar/MiniCalendar.js +37 -173
- package/lib/commonjs/MiniCalendar/MiniCalendar.js.map +1 -1
- package/lib/commonjs/Month/Month.js +15 -62
- package/lib/commonjs/Month/Month.js.map +1 -1
- package/lib/commonjs/MonthLevel/MonthLevel.js +5 -5
- package/lib/commonjs/MonthLevel/MonthLevel.js.map +1 -1
- package/lib/commonjs/MonthPicker/MonthPicker.js +1 -1
- package/lib/commonjs/MonthPickerInput/MonthPickerInput.js +1 -1
- package/lib/commonjs/MonthsList/MonthsList.js +8 -9
- package/lib/commonjs/MonthsList/MonthsList.js.map +1 -1
- package/lib/commonjs/PickerControl/PickerControl.js +41 -121
- package/lib/commonjs/PickerControl/PickerControl.js.map +1 -1
- package/lib/commonjs/PickerInputBase/PickerInputBase.js +1 -1
- package/lib/commonjs/TimeControlsList/TimeControl.js +19 -48
- package/lib/commonjs/TimeControlsList/TimeControl.js.map +1 -1
- package/lib/commonjs/TimeControlsList/TimeControlsList.js +1 -1
- package/lib/commonjs/TimeControlsList/TimeControlsList.js.map +1 -1
- package/lib/commonjs/TimeGrid/TimeGrid.js +50 -97
- package/lib/commonjs/TimeGrid/TimeGrid.js.map +1 -1
- package/lib/commonjs/TimeInput/TimeInput.js +1 -1
- package/lib/commonjs/TimePicker/TimePicker.js +20 -20
- package/lib/commonjs/TimePicker/TimePicker.js.map +1 -1
- package/lib/commonjs/TimePresets/TimePresetControl.js +32 -62
- package/lib/commonjs/TimePresets/TimePresetControl.js.map +1 -1
- package/lib/commonjs/TimePresets/TimePresetGroup.js +5 -5
- package/lib/commonjs/TimePresets/TimePresetGroup.js.map +1 -1
- package/lib/commonjs/TimePresets/TimePresets.js +4 -4
- package/lib/commonjs/TimePresets/TimePresets.js.map +1 -1
- package/lib/commonjs/TimeValue/TimeValue.js +2 -2
- package/lib/commonjs/WeekdaysRow/WeekdaysRow.js +7 -38
- package/lib/commonjs/WeekdaysRow/WeekdaysRow.js.map +1 -1
- package/lib/commonjs/YearLevel/YearLevel.js +5 -5
- package/lib/commonjs/YearLevel/YearLevel.js.map +1 -1
- package/lib/commonjs/YearPicker/YearPicker.js +1 -1
- package/lib/commonjs/YearPickerInput/YearPickerInput.js +1 -1
- package/lib/commonjs/YearsList/YearsList.js +8 -9
- package/lib/commonjs/YearsList/YearsList.js.map +1 -1
- package/lib/commonjs/_reference/ExampleControl.js +26 -91
- package/lib/commonjs/_reference/ExampleControl.js.map +1 -1
- package/lib/commonjs/_reference/README.md +3 -3
- package/lib/commonjs/cell-metrics.js +167 -37
- package/lib/commonjs/cell-metrics.js.map +1 -1
- package/lib/commonjs/internal/a11y.js +5 -3
- package/lib/commonjs/internal/a11y.js.map +1 -1
- package/lib/commonjs/internal/get-input-default-date.js +1 -1
- package/lib/commonjs/internal/select-on-focus.js +1 -1
- package/lib/module/Calendar/Calendar.js +5 -5
- package/lib/module/Calendar/Calendar.js.map +1 -1
- package/lib/module/CalendarHeader/CalendarHeader.js +26 -155
- package/lib/module/CalendarHeader/CalendarHeader.js.map +1 -1
- package/lib/module/DatePicker/DatePicker.js +1 -1
- package/lib/module/DatePickerInput/DatePickerInput.js +1 -1
- package/lib/module/DateTimePicker/DateTimePicker.js +1 -1
- package/lib/module/DatesProvider/DatesProvider.js +1 -1
- package/lib/module/Day/Day.js +76 -144
- package/lib/module/Day/Day.js.map +1 -1
- package/lib/module/DecadeLevel/DecadeLevel.js +6 -6
- package/lib/module/DecadeLevel/DecadeLevel.js.map +1 -1
- package/lib/module/InlineDateTimePicker/InlineDateTimePicker.js +16 -7
- package/lib/module/InlineDateTimePicker/InlineDateTimePicker.js.map +1 -1
- package/lib/module/LevelsGroup/LevelsGroup.js +4 -4
- package/lib/module/LevelsGroup/LevelsGroup.js.map +1 -1
- package/lib/module/MiniCalendar/MiniCalendar.js +39 -175
- package/lib/module/MiniCalendar/MiniCalendar.js.map +1 -1
- package/lib/module/Month/Month.js +17 -64
- package/lib/module/Month/Month.js.map +1 -1
- package/lib/module/MonthLevel/MonthLevel.js +6 -6
- package/lib/module/MonthLevel/MonthLevel.js.map +1 -1
- package/lib/module/MonthPicker/MonthPicker.js +1 -1
- package/lib/module/MonthPickerInput/MonthPickerInput.js +1 -1
- package/lib/module/MonthsList/MonthsList.js +9 -10
- package/lib/module/MonthsList/MonthsList.js.map +1 -1
- package/lib/module/PickerControl/PickerControl.js +42 -122
- package/lib/module/PickerControl/PickerControl.js.map +1 -1
- package/lib/module/PickerInputBase/PickerInputBase.js +1 -1
- package/lib/module/TimeControlsList/TimeControl.js +20 -49
- package/lib/module/TimeControlsList/TimeControl.js.map +1 -1
- package/lib/module/TimeControlsList/TimeControlsList.js +1 -1
- package/lib/module/TimeControlsList/TimeControlsList.js.map +1 -1
- package/lib/module/TimeGrid/TimeGrid.js +53 -100
- package/lib/module/TimeGrid/TimeGrid.js.map +1 -1
- package/lib/module/TimeInput/TimeInput.js +1 -1
- package/lib/module/TimePicker/TimePicker.js +20 -20
- package/lib/module/TimePicker/TimePicker.js.map +1 -1
- package/lib/module/TimePresets/TimePresetControl.js +36 -65
- package/lib/module/TimePresets/TimePresetControl.js.map +1 -1
- package/lib/module/TimePresets/TimePresetGroup.js +6 -6
- package/lib/module/TimePresets/TimePresetGroup.js.map +1 -1
- package/lib/module/TimePresets/TimePresets.js +4 -4
- package/lib/module/TimePresets/TimePresets.js.map +1 -1
- package/lib/module/TimeValue/TimeValue.js +2 -2
- package/lib/module/WeekdaysRow/WeekdaysRow.js +8 -39
- package/lib/module/WeekdaysRow/WeekdaysRow.js.map +1 -1
- package/lib/module/YearLevel/YearLevel.js +6 -6
- package/lib/module/YearLevel/YearLevel.js.map +1 -1
- package/lib/module/YearPicker/YearPicker.js +1 -1
- package/lib/module/YearPickerInput/YearPickerInput.js +1 -1
- package/lib/module/YearsList/YearsList.js +9 -10
- package/lib/module/YearsList/YearsList.js.map +1 -1
- package/lib/module/_reference/ExampleControl.js +28 -93
- package/lib/module/_reference/ExampleControl.js.map +1 -1
- package/lib/module/_reference/README.md +3 -3
- package/lib/module/cell-metrics.js +166 -36
- package/lib/module/cell-metrics.js.map +1 -1
- package/lib/module/internal/a11y.js +5 -3
- package/lib/module/internal/a11y.js.map +1 -1
- package/lib/module/internal/get-input-default-date.js +1 -1
- package/lib/module/internal/select-on-focus.js +1 -1
- package/lib/typescript/Calendar/Calendar.d.ts +28 -21
- package/lib/typescript/Calendar/Calendar.d.ts.map +1 -1
- package/lib/typescript/Calendar/pick-calendar-props/pick-calendar-props.d.ts +1 -1
- package/lib/typescript/CalendarHeader/CalendarHeader.d.ts +190 -53
- package/lib/typescript/CalendarHeader/CalendarHeader.d.ts.map +1 -1
- package/lib/typescript/Day/Day.d.ts +103 -84
- package/lib/typescript/Day/Day.d.ts.map +1 -1
- package/lib/typescript/DecadeLevel/DecadeLevel.d.ts +172 -71
- package/lib/typescript/DecadeLevel/DecadeLevel.d.ts.map +1 -1
- package/lib/typescript/DecadeLevelGroup/DecadeLevelGroup.d.ts +171 -86
- package/lib/typescript/DecadeLevelGroup/DecadeLevelGroup.d.ts.map +1 -1
- package/lib/typescript/InlineDateTimePicker/InlineDateTimePicker.d.ts +64 -12
- package/lib/typescript/InlineDateTimePicker/InlineDateTimePicker.d.ts.map +1 -1
- package/lib/typescript/LevelsGroup/LevelsGroup.d.ts +27 -20
- package/lib/typescript/LevelsGroup/LevelsGroup.d.ts.map +1 -1
- package/lib/typescript/MiniCalendar/MiniCalendar.d.ts +247 -61
- package/lib/typescript/MiniCalendar/MiniCalendar.d.ts.map +1 -1
- package/lib/typescript/Month/Month.d.ts +164 -43
- package/lib/typescript/Month/Month.d.ts.map +1 -1
- package/lib/typescript/MonthLevel/MonthLevel.d.ts +208 -79
- package/lib/typescript/MonthLevel/MonthLevel.d.ts.map +1 -1
- package/lib/typescript/MonthLevelGroup/MonthLevelGroup.d.ts +207 -94
- package/lib/typescript/MonthLevelGroup/MonthLevelGroup.d.ts.map +1 -1
- package/lib/typescript/MonthsList/MonthsList.d.ts +91 -26
- package/lib/typescript/MonthsList/MonthsList.d.ts.map +1 -1
- package/lib/typescript/PickerControl/PickerControl.d.ts +79 -59
- package/lib/typescript/PickerControl/PickerControl.d.ts.map +1 -1
- package/lib/typescript/TimeControlsList/TimeControl.d.ts +19 -4
- package/lib/typescript/TimeControlsList/TimeControl.d.ts.map +1 -1
- package/lib/typescript/TimeControlsList/TimeControlsList.d.ts +66 -12
- package/lib/typescript/TimeControlsList/TimeControlsList.d.ts.map +1 -1
- package/lib/typescript/TimeGrid/TimeGrid.d.ts +98 -34
- package/lib/typescript/TimeGrid/TimeGrid.d.ts.map +1 -1
- package/lib/typescript/TimePicker/TimePicker.d.ts +43 -7
- package/lib/typescript/TimePicker/TimePicker.d.ts.map +1 -1
- package/lib/typescript/TimePresets/TimePresetControl.d.ts +65 -10
- package/lib/typescript/TimePresets/TimePresetControl.d.ts.map +1 -1
- package/lib/typescript/TimePresets/TimePresetGroup.d.ts +132 -44
- package/lib/typescript/TimePresets/TimePresetGroup.d.ts.map +1 -1
- package/lib/typescript/TimePresets/TimePresets.d.ts +237 -64
- package/lib/typescript/TimePresets/TimePresets.d.ts.map +1 -1
- package/lib/typescript/WeekdaysRow/WeekdaysRow.d.ts +81 -27
- package/lib/typescript/WeekdaysRow/WeekdaysRow.d.ts.map +1 -1
- package/lib/typescript/YearLevel/YearLevel.d.ts +172 -71
- package/lib/typescript/YearLevel/YearLevel.d.ts.map +1 -1
- package/lib/typescript/YearLevelGroup/YearLevelGroup.d.ts +171 -86
- package/lib/typescript/YearLevelGroup/YearLevelGroup.d.ts.map +1 -1
- package/lib/typescript/YearsList/YearsList.d.ts +91 -26
- package/lib/typescript/YearsList/YearsList.d.ts.map +1 -1
- package/lib/typescript/_reference/ExampleControl.d.ts +163 -43
- package/lib/typescript/_reference/ExampleControl.d.ts.map +1 -1
- package/lib/typescript/cell-metrics.d.ts +120 -0
- package/lib/typescript/cell-metrics.d.ts.map +1 -1
- package/lib/typescript/internal/a11y.d.ts +0 -14
- package/lib/typescript/internal/a11y.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/Calendar/Calendar.tsx +6 -5
- package/src/CalendarHeader/CalendarHeader.tsx +32 -74
- package/src/DatePicker/DatePicker.tsx +1 -1
- package/src/DatePickerInput/DatePickerInput.tsx +1 -1
- package/src/DateTimePicker/DateTimePicker.tsx +1 -1
- package/src/DatesProvider/DatesProvider.tsx +1 -1
- package/src/Day/Day.tsx +85 -82
- package/src/DecadeLevel/DecadeLevel.tsx +7 -5
- package/src/InlineDateTimePicker/InlineDateTimePicker.tsx +14 -7
- package/src/LevelsGroup/LevelsGroup.tsx +13 -13
- package/src/MiniCalendar/MiniCalendar.tsx +47 -91
- package/src/Month/Month.tsx +21 -37
- package/src/MonthLevel/MonthLevel.tsx +7 -5
- package/src/MonthPicker/MonthPicker.tsx +1 -1
- package/src/MonthPickerInput/MonthPickerInput.tsx +1 -1
- package/src/MonthsList/MonthsList.tsx +9 -10
- package/src/PickerControl/PickerControl.tsx +44 -89
- package/src/PickerInputBase/PickerInputBase.tsx +1 -1
- package/src/TimeControlsList/TimeControl.tsx +17 -28
- package/src/TimeControlsList/TimeControlsList.tsx +1 -1
- package/src/TimeGrid/TimeGrid.tsx +71 -61
- package/src/TimeInput/TimeInput.tsx +1 -1
- package/src/TimePicker/TimePicker.tsx +15 -15
- package/src/TimePresets/TimePresetControl.tsx +30 -45
- package/src/TimePresets/TimePresetGroup.tsx +7 -5
- package/src/TimePresets/TimePresets.tsx +4 -4
- package/src/TimeValue/TimeValue.tsx +2 -2
- package/src/WeekdaysRow/WeekdaysRow.tsx +9 -17
- package/src/YearLevel/YearLevel.tsx +121 -117
- package/src/YearPicker/YearPicker.tsx +1 -1
- package/src/YearPickerInput/YearPickerInput.tsx +1 -1
- package/src/YearsList/YearsList.tsx +142 -141
- package/src/_reference/ExampleControl.tsx +29 -53
- package/src/_reference/README.md +3 -3
- package/src/cell-metrics.ts +110 -36
- package/src/internal/a11y.ts +6 -3
- package/src/internal/get-input-default-date.ts +1 -1
- package/src/internal/select-on-focus.ts +1 -1
- package/lib/commonjs/internal/web-cursor.js +0 -24
- package/lib/commonjs/internal/web-cursor.js.map +0 -1
- package/lib/module/internal/web-cursor.js +0 -20
- package/lib/module/internal/web-cursor.js.map +0 -1
- package/lib/typescript/internal/web-cursor.d.ts +0 -10
- package/lib/typescript/internal/web-cursor.d.ts.map +0 -1
- package/src/internal/web-cursor.ts +0 -15
|
@@ -4,23 +4,54 @@ import { type GetProps, type SlotStyles } from "@knitui/core";
|
|
|
4
4
|
import { type CalendarSize } from "../cell-metrics";
|
|
5
5
|
import type { TimePickerAmPmLabels, TimePickerFormat } from "../types";
|
|
6
6
|
/** The host frame establishing the shared `size` context (web `role="group"`). */
|
|
7
|
-
declare const TimeGridFrame: import("@tamagui/
|
|
7
|
+
declare const TimeGridFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "shadow" | "size"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "shadow" | "size">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
8
8
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
9
|
-
|
|
9
|
+
size?: CalendarSize | undefined;
|
|
10
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, keyof import("@tamagui/core").RNTamaguiViewNonStyleProps> & {
|
|
11
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
12
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
13
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
14
|
+
size?: CalendarSize | undefined;
|
|
15
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
16
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
17
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
18
|
+
size?: CalendarSize | undefined;
|
|
19
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
20
|
+
};
|
|
10
21
|
/**
|
|
11
22
|
* The option label — shares `size` via context. The colour flips on the
|
|
12
23
|
* `selected` variant (a pure boolean, never a dynamic style prop — #15), so the
|
|
13
24
|
* web optimiser can never fold a hide-value class onto the whole cell.
|
|
14
25
|
*/
|
|
15
|
-
declare const TimeGridControlLabel: import("@tamagui/
|
|
16
|
-
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
17
|
-
span?: boolean | undefined;
|
|
18
|
-
selected?: boolean | undefined;
|
|
19
|
-
inherit?: boolean | undefined;
|
|
26
|
+
declare const TimeGridControlLabel: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiTextNonStyleProps, "lineClamp" | "size" | "inherit" | "selected" | "inline" | "span" | "truncate"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").TextStylePropsBase, "lineClamp" | "size" | "inherit" | "selected" | "inline" | "span" | "truncate">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
20
27
|
lineClamp?: number | undefined;
|
|
28
|
+
size?: CalendarSize | undefined;
|
|
29
|
+
inherit?: boolean | undefined;
|
|
30
|
+
selected?: boolean | undefined;
|
|
31
|
+
inline?: boolean | undefined;
|
|
32
|
+
span?: boolean | undefined;
|
|
21
33
|
truncate?: boolean | "end" | "start" | undefined;
|
|
34
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>, keyof import("@tamagui/core").RNTamaguiTextNonStyleProps> & {
|
|
35
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiTextElement> | undefined;
|
|
36
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
37
|
+
lineClamp?: number | undefined;
|
|
38
|
+
size?: CalendarSize | undefined;
|
|
39
|
+
inherit?: boolean | undefined;
|
|
40
|
+
selected?: boolean | undefined;
|
|
22
41
|
inline?: boolean | undefined;
|
|
23
|
-
|
|
42
|
+
span?: boolean | undefined;
|
|
43
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
44
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
45
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
46
|
+
lineClamp?: number | undefined;
|
|
47
|
+
size?: CalendarSize | undefined;
|
|
48
|
+
inherit?: boolean | undefined;
|
|
49
|
+
selected?: boolean | undefined;
|
|
50
|
+
inline?: boolean | undefined;
|
|
51
|
+
span?: boolean | undefined;
|
|
52
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
53
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
54
|
+
};
|
|
24
55
|
/** Props passed to a single control via `getControlProps` / `styles.control`. */
|
|
25
56
|
type TimeGridControlPassthrough = Partial<GetProps<typeof UnstyledButton>>;
|
|
26
57
|
/** The named style slots and the styled part each targets. */
|
|
@@ -69,42 +100,75 @@ export interface TimeGridProps extends TimeGridFrameProps {
|
|
|
69
100
|
/** Per-slot style sugar — props spread onto the matching styled part. */
|
|
70
101
|
styles?: SlotStyles<TimeGridStyles>;
|
|
71
102
|
}
|
|
72
|
-
export declare const TimeGrid: React.
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}>, keyof TimeGridProps> & TimeGridProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TimeGridProps, import("@tamagui/web").StackStyleBase, {
|
|
77
|
-
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
78
|
-
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
79
|
-
__tama: [Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
80
|
-
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
81
|
-
}>, keyof TimeGridProps> & TimeGridProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TimeGridProps, import("@tamagui/web").StackStyleBase, {
|
|
82
|
-
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
83
|
-
}, import("@tamagui/web").StaticConfigPublic];
|
|
103
|
+
export declare const TimeGrid: React.FunctionComponent<TimeGridProps & {
|
|
104
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
105
|
+
}> & import("@tamagui/web").StaticComponentObject<TimeGridProps, import("@tamagui/web").TamaguiElement, TimeGridProps, {}, {}, {}> & Omit<{}, "staticConfig"> & {
|
|
106
|
+
__tama: [TimeGridProps, import("@tamagui/web").TamaguiElement, TimeGridProps, {}, {}, {}];
|
|
84
107
|
} & {
|
|
85
|
-
Frame: import("@tamagui/
|
|
86
|
-
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
87
|
-
}, import("@tamagui/web").StaticConfigPublic>;
|
|
88
|
-
Grid: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
108
|
+
Frame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "shadow" | "size"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "shadow" | "size">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
89
109
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
90
|
-
|
|
110
|
+
size?: CalendarSize | undefined;
|
|
111
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, keyof import("@tamagui/core").RNTamaguiViewNonStyleProps> & {
|
|
112
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
113
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
91
114
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
92
|
-
|
|
93
|
-
|
|
115
|
+
size?: CalendarSize | undefined;
|
|
116
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
117
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
118
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
119
|
+
size?: CalendarSize | undefined;
|
|
120
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
121
|
+
};
|
|
122
|
+
Grid: import("@knitui/core").StyleableComponent<import("@knitui/components").SimpleGridProps, import("@tamagui/web").TamaguiElement>;
|
|
123
|
+
Control: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "shadow" | "size" | "selected"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "shadow" | "size" | "selected">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
94
124
|
disabled?: boolean | undefined;
|
|
95
125
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
96
|
-
size?:
|
|
126
|
+
size?: CalendarSize | undefined;
|
|
97
127
|
selected?: boolean | undefined;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
128
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "render" | "group" | "container" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
129
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
130
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
131
|
+
disabled?: boolean | undefined;
|
|
132
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
133
|
+
size?: CalendarSize | undefined;
|
|
102
134
|
selected?: boolean | undefined;
|
|
103
|
-
|
|
135
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
136
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
137
|
+
disabled?: boolean | undefined;
|
|
138
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
139
|
+
size?: CalendarSize | undefined;
|
|
140
|
+
selected?: boolean | undefined;
|
|
141
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
142
|
+
};
|
|
143
|
+
ControlLabel: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiTextNonStyleProps, "lineClamp" | "size" | "inherit" | "selected" | "inline" | "span" | "truncate"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").TextStylePropsBase, "lineClamp" | "size" | "inherit" | "selected" | "inline" | "span" | "truncate">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
104
144
|
lineClamp?: number | undefined;
|
|
145
|
+
size?: CalendarSize | undefined;
|
|
146
|
+
inherit?: boolean | undefined;
|
|
147
|
+
selected?: boolean | undefined;
|
|
148
|
+
inline?: boolean | undefined;
|
|
149
|
+
span?: boolean | undefined;
|
|
105
150
|
truncate?: boolean | "end" | "start" | undefined;
|
|
151
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>, keyof import("@tamagui/core").RNTamaguiTextNonStyleProps> & {
|
|
152
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiTextElement> | undefined;
|
|
153
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
154
|
+
lineClamp?: number | undefined;
|
|
155
|
+
size?: CalendarSize | undefined;
|
|
156
|
+
inherit?: boolean | undefined;
|
|
157
|
+
selected?: boolean | undefined;
|
|
106
158
|
inline?: boolean | undefined;
|
|
107
|
-
|
|
159
|
+
span?: boolean | undefined;
|
|
160
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
161
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
162
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
163
|
+
lineClamp?: number | undefined;
|
|
164
|
+
size?: CalendarSize | undefined;
|
|
165
|
+
inherit?: boolean | undefined;
|
|
166
|
+
selected?: boolean | undefined;
|
|
167
|
+
inline?: boolean | undefined;
|
|
168
|
+
span?: boolean | undefined;
|
|
169
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
170
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
171
|
+
};
|
|
108
172
|
};
|
|
109
173
|
export {};
|
|
110
174
|
//# sourceMappingURL=TimeGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeGrid.d.ts","sourceRoot":"","sources":["../../../src/TimeGrid/TimeGrid.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,UAAU,EAAQ,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAEL,KAAK,QAAQ,EAEb,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"TimeGrid.d.ts","sourceRoot":"","sources":["../../../src/TimeGrid/TimeGrid.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,UAAU,EAAQ,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAEL,KAAK,QAAQ,EAEb,KAAK,UAAU,EAIhB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,KAAK,YAAY,EAAyC,MAAM,iBAAiB,CAAC;AAG3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAwBvE,kFAAkF;AAClF,QAAA,MAA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4FAA4F;IAC5F,eAAe,CAAC,EAAE,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;IAE9C,uGAAuG;IACvG,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,0BAA0B,CAAC;IAE/D,uDAAuD;IACvD,IAAI,CAAC,EAAE,YAAY,CAAC;IAEpB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IAErD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,yEAAyE;IACzE,MAAM,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;CACrC;AAkHD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC"}
|
|
@@ -9,18 +9,36 @@ export type TimePickerSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
|
9
9
|
/**
|
|
10
10
|
* The bordered field row that holds the editable time segments. Mirrors the kit
|
|
11
11
|
* `Input` root recipe (border/background/radius + `focused`/`error`/`disabled`/
|
|
12
|
-
* `variant`), themed from the active Tamagui theme —
|
|
12
|
+
* `variant`), themed from the active Tamagui theme — `red9` keeps the error
|
|
13
13
|
* border red under every accent. The inner `SpinInput`/`AmPmInput` segments are
|
|
14
14
|
* rendered `variant="unstyled"` so only this frame draws a border.
|
|
15
15
|
*/
|
|
16
|
-
declare const TimePickerFieldFrame: import("@tamagui/
|
|
16
|
+
declare const TimePickerFieldFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "shadow" | "size" | "error" | "variant" | "focused"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "shadow" | "size" | "error" | "variant" | "focused">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
19
19
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
20
20
|
error?: boolean | undefined;
|
|
21
|
-
variant?: "
|
|
21
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
22
22
|
focused?: boolean | undefined;
|
|
23
|
-
}
|
|
23
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "render" | "group" | "container" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
24
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
25
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
26
|
+
disabled?: boolean | undefined;
|
|
27
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
28
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
29
|
+
error?: boolean | undefined;
|
|
30
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
31
|
+
focused?: boolean | undefined;
|
|
32
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
33
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
34
|
+
disabled?: boolean | undefined;
|
|
35
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
36
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
37
|
+
error?: boolean | undefined;
|
|
38
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
39
|
+
focused?: boolean | undefined;
|
|
40
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
41
|
+
};
|
|
24
42
|
type TimePickerFieldFrameProps = GetProps<typeof TimePickerFieldFrame>;
|
|
25
43
|
/** Cross-platform focus handler of a segment input (derived, never a DOM type). */
|
|
26
44
|
type SegmentFocusHandler = NonNullable<SpinInputProps["onFocus"]>;
|
|
@@ -193,14 +211,32 @@ export interface TimePickerProps extends Omit<TimePickerFieldFrameProps, "value"
|
|
|
193
211
|
styles?: SlotStyles<TimePickerStyles>;
|
|
194
212
|
}
|
|
195
213
|
export declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<TamaguiElement>> & {
|
|
196
|
-
Field: import("@tamagui/
|
|
214
|
+
Field: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "shadow" | "size" | "error" | "variant" | "focused"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "shadow" | "size" | "error" | "variant" | "focused">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
215
|
+
disabled?: boolean | undefined;
|
|
216
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
217
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
218
|
+
error?: boolean | undefined;
|
|
219
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
220
|
+
focused?: boolean | undefined;
|
|
221
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "render" | "group" | "container" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
222
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
223
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
197
224
|
disabled?: boolean | undefined;
|
|
198
225
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
199
226
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
200
227
|
error?: boolean | undefined;
|
|
201
|
-
variant?: "
|
|
228
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
202
229
|
focused?: boolean | undefined;
|
|
203
|
-
}, import("@tamagui/web").StaticConfigPublic
|
|
230
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
231
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
232
|
+
disabled?: boolean | undefined;
|
|
233
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
234
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
235
|
+
error?: boolean | undefined;
|
|
236
|
+
variant?: "default" | "filled" | "unstyled" | undefined;
|
|
237
|
+
focused?: boolean | undefined;
|
|
238
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
239
|
+
};
|
|
204
240
|
};
|
|
205
241
|
export {};
|
|
206
242
|
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,GAAG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mE;IACnE,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,mEAAmE;IACnE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,+CAA+C;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,+CAA+C;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE/B,4CAA4C;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,uGAAuG;IACvG,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,0BAA0B,CAAC;IAE9C;;;;;OAKG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;CACvC;AAggBD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC"}
|
|
@@ -5,18 +5,33 @@ import type { TimePickerAmPmLabels, TimePickerFormat } from "../types";
|
|
|
5
5
|
/**
|
|
6
6
|
* One preset time-cell. Accent comes from the active theme's palette ramp via
|
|
7
7
|
* the `theme` prop (no Mantine `color` prop): the active preset fills with
|
|
8
|
-
*
|
|
8
|
+
* `color9`/`color1` text — the `PickerControl`/`TimeGridControl` convention.
|
|
9
9
|
*
|
|
10
|
-
* 12. Interaction lives in real Tamagui pseudo-state (`
|
|
10
|
+
* 12. Interaction lives in real Tamagui pseudo-state (`hover:`/`press:` clauses)
|
|
11
11
|
* and the `active` variant, never a runtime hover state machine.
|
|
12
12
|
* 15. The active highlight is a boolean VARIANT, never a dynamic
|
|
13
13
|
* `opacity`/`display` style prop the web optimiser could fold onto the cell.
|
|
14
14
|
*/
|
|
15
|
-
declare const TimePresetControlFrame: import("@tamagui/
|
|
15
|
+
declare const TimePresetControlFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "shadow" | "size" | "active"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "shadow" | "size" | "active">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
18
|
+
size?: CalendarSize | undefined;
|
|
18
19
|
active?: boolean | undefined;
|
|
19
|
-
}
|
|
20
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "render" | "group" | "container" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
21
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
22
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
23
|
+
disabled?: boolean | undefined;
|
|
24
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
25
|
+
size?: CalendarSize | undefined;
|
|
26
|
+
active?: boolean | undefined;
|
|
27
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
28
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
31
|
+
size?: CalendarSize | undefined;
|
|
32
|
+
active?: boolean | undefined;
|
|
33
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
34
|
+
};
|
|
20
35
|
/** Props for {@link TimePresetControl}. */
|
|
21
36
|
export interface TimePresetControlProps extends Omit<GetProps<typeof TimePresetControlFrame>, "children" | "active" | "onPress" | "onChange" | "value" | "size"> {
|
|
22
37
|
/** Preset value in 24h `"HH:mm[:ss]"` format. */
|
|
@@ -34,16 +49,56 @@ export interface TimePresetControlProps extends Omit<GetProps<typeof TimePresetC
|
|
|
34
49
|
/** Label font size. @default 'sm' */
|
|
35
50
|
size?: CalendarSize;
|
|
36
51
|
}
|
|
37
|
-
export declare const TimePresetControl: React.ForwardRefExoticComponent<TimePresetControlProps & React.RefAttributes<import("
|
|
38
|
-
Frame: import("@tamagui/
|
|
52
|
+
export declare const TimePresetControl: React.ForwardRefExoticComponent<TimePresetControlProps & React.RefAttributes<(HTMLElement & import("@tamagui/web").TamaguiElementMethods) | import("@tamagui/react-native-types").ViewInstance>> & {
|
|
53
|
+
Frame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "shadow" | "size" | "active"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "disabled" | "shadow" | "size" | "active">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
39
54
|
disabled?: boolean | undefined;
|
|
40
55
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
56
|
+
size?: CalendarSize | undefined;
|
|
57
|
+
active?: boolean | undefined;
|
|
58
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "render" | "group" | "container" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "animatedBy" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
59
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
60
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
61
|
+
disabled?: boolean | undefined;
|
|
62
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
63
|
+
size?: CalendarSize | undefined;
|
|
64
|
+
active?: boolean | undefined;
|
|
65
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
66
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
67
|
+
disabled?: boolean | undefined;
|
|
68
|
+
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
69
|
+
size?: CalendarSize | undefined;
|
|
70
|
+
active?: boolean | undefined;
|
|
71
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
72
|
+
};
|
|
73
|
+
Label: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiTextNonStyleProps, "lineClamp" | "size" | "inherit" | "inline" | "active" | "span" | "truncate"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").TextStylePropsBase, "lineClamp" | "size" | "inherit" | "inline" | "active" | "span" | "truncate">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
74
|
+
lineClamp?: number | undefined;
|
|
75
|
+
size?: CalendarSize | undefined;
|
|
76
|
+
inherit?: boolean | undefined;
|
|
77
|
+
inline?: boolean | undefined;
|
|
41
78
|
active?: boolean | undefined;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
79
|
+
span?: boolean | undefined;
|
|
80
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
81
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>, keyof import("@tamagui/core").RNTamaguiTextNonStyleProps> & {
|
|
82
|
+
ref?: React.Ref<import("@tamagui/web").TamaguiTextElement> | undefined;
|
|
83
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
84
|
+
lineClamp?: number | undefined;
|
|
85
|
+
size?: CalendarSize | undefined;
|
|
86
|
+
inherit?: boolean | undefined;
|
|
87
|
+
inline?: boolean | undefined;
|
|
45
88
|
active?: boolean | undefined;
|
|
46
|
-
|
|
89
|
+
span?: boolean | undefined;
|
|
90
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
91
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
92
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
93
|
+
lineClamp?: number | undefined;
|
|
94
|
+
size?: CalendarSize | undefined;
|
|
95
|
+
inherit?: boolean | undefined;
|
|
96
|
+
inline?: boolean | undefined;
|
|
97
|
+
active?: boolean | undefined;
|
|
98
|
+
span?: boolean | undefined;
|
|
99
|
+
truncate?: boolean | "end" | "start" | undefined;
|
|
100
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
101
|
+
};
|
|
47
102
|
};
|
|
48
103
|
export {};
|
|
49
104
|
//# sourceMappingURL=TimePresetControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePresetControl.d.ts","sourceRoot":"","sources":["../../../src/TimePresets/TimePresetControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,QAAQ,EAEb,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"TimePresetControl.d.ts","sourceRoot":"","sources":["../../../src/TimePresets/TimePresetControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,QAAQ,EAEb,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,iBAAiB,CAAC;AAGrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAgBvE;;;;;;;;;GASG;AACH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAsB1B,CAAC;AA6BH,2CAA2C;AAC3C,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,QAAQ,CAAC,OAAO,sBAAsB,CAAC,EACvC,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAClE;IACC,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IAEd,+CAA+C;IAC/C,MAAM,EAAE,OAAO,CAAC;IAEhB,sDAAsD;IACtD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,0BAA0B;IAC1B,MAAM,EAAE,gBAAgB,CAAC;IAEzB,uCAAuC;IACvC,UAAU,EAAE,oBAAoB,CAAC;IAEjC,qCAAqC;IACrC,WAAW,EAAE,OAAO,CAAC;IAErB,qCAAqC;IACrC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AA0DD,eAAO,MAAM,iBAAiB;;;;;;;;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