@calcom/atoms 2.7.2 → 2.8.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/README.md +14 -0
- package/dist/cal-atoms.js +138 -45
- package/dist/{index-D_xjDzPo.js → index-BrBTKoIj.js} +29177 -28818
- package/dist/src/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/badge.d.ts +16 -16
- package/dist/src/components/ui/button.d.ts +1 -1
- package/dist/src/components/ui/checkbox.d.ts +1 -1
- package/dist/src/components/ui/dialog.d.ts +4 -4
- package/dist/src/components/ui/dropdown.d.ts +8 -8
- package/dist/src/components/ui/icon.d.ts +2 -2
- package/dist/src/components/ui/show-toast.d.ts +1 -1
- package/dist/src/components/ui/switch.d.ts +1 -1
- package/dist/src/components/ui/text-field.d.ts +1 -1
- package/dist/src/components/ui/toast.d.ts +5 -5
- package/dist/src/contracts/bookings.d.ts +4 -4
- package/dist/src/event-types/hooks/use-platform-tabs-navigations.d.ts +1 -1
- package/dist/src/hooks/bookings/use-cancel-booking.d.ts +1 -1
- package/dist/src/index.d.ts +81 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/vendor/form-builder/base-schema.d.ts +140 -140
- package/dist/src/vendor/form-builder/schema.d.ts +94 -94
- package/dist/src/vendor/form-builder/utils/variants-config.d.ts +6 -6
- package/dist/{stripe-payment-form-B8jt-Dp0.js → stripe-payment-form-2mrB04BK.js} +1 -1
- package/package.json +1 -1
- package/src/index.ts +130 -0
package/src/index.ts
CHANGED
|
@@ -1,12 +1,113 @@
|
|
|
1
|
+
export { AddMembersWithSwitchPlatformWrapper } from "./add-members-switch/add-members-with-switch-platform-wrapper";
|
|
1
2
|
export { AvailabilitySettingsPlatformWrapper as AvailabilitySettings } from "./availability";
|
|
2
3
|
export type { AvailabilitySettingsScheduleType } from "./availability/availability-settings";
|
|
3
4
|
export type { AvailabilitySettingsFormRef } from "./availability/types";
|
|
4
5
|
export type { AvailabilitySettingsPlatformWrapperProps as AvailabilitySettingsProps } from "./availability/wrappers/availability-settings-platform-wrapper";
|
|
5
6
|
export { BookerPlatformWrapper as Booker } from "./booker/booker-platform-wrapper";
|
|
7
|
+
export { BookerStoreProvider } from "./booker/booker-store-provider";
|
|
8
|
+
export { DryRunMessage } from "./booker/components/dry-run-message";
|
|
9
|
+
export { ExternalRedirectInterstitial } from "./booker/components/external-redirect-interstitial";
|
|
10
|
+
export { Header } from "./booker/components/header";
|
|
11
|
+
export { useOverlayCalendarStore } from "./booker/components/overlay-calendar/store";
|
|
12
|
+
export { RedirectToInstantMeetingModal } from "./booker/components/redirect-to-instant-meeting-modal";
|
|
13
|
+
export { BookerSection } from "./booker/components/section";
|
|
14
|
+
export { TimeFormatToggle } from "./booker/components/time-format-toggle";
|
|
15
|
+
export { NotFound } from "./booker/components/unavailable";
|
|
16
|
+
export { VerifyCodeDialog } from "./booker/components/verify-code-dialog";
|
|
17
|
+
export type { IGetAvailableSlots } from "./booker/hooks/use-available-time-slots";
|
|
18
|
+
export { useAvailableTimeSlots } from "./booker/hooks/use-available-time-slots";
|
|
19
|
+
export type { UseBookerLayoutType } from "./booker/hooks/use-booker-layout";
|
|
20
|
+
export { useBookerLayout } from "./booker/hooks/use-booker-layout";
|
|
21
|
+
export { useBookerTime } from "./booker/hooks/use-booker-time";
|
|
22
|
+
export { useInitializeWeekStart } from "./booker/hooks/use-initialize-week-start";
|
|
23
|
+
export { useIsQuickAvailabilityCheckFeatureEnabled } from "./booker/hooks/use-is-quick-availability-check-feature-enabled";
|
|
24
|
+
export type { HasExternalId } from "./booker/hooks/use-local-set";
|
|
25
|
+
export { useLocalSet } from "./booker/hooks/use-local-set";
|
|
26
|
+
export { useNonEmptyScheduleDays } from "./booker/hooks/use-non-empty-schedule-days";
|
|
27
|
+
export { useOverlayCalendar } from "./booker/hooks/use-overlay-calendar";
|
|
28
|
+
export { useShouldShowArrows } from "./booker/hooks/use-should-show-arrows";
|
|
29
|
+
export { useSkipConfirmStep } from "./booker/hooks/use-skip-confirm-step";
|
|
30
|
+
export { useSlotsForAvailableDates, useSlotsForDate } from "./booker/hooks/use-slots-for-date";
|
|
31
|
+
export { useStableTimezone } from "./booker/hooks/use-stable-timezone";
|
|
32
|
+
export type { BookerStore, CountryCode, StoreInitializeType } from "./booker/store";
|
|
33
|
+
export { createBookerStore, useBookerStore, useInitializeBookerStore } from "./booker/store";
|
|
34
|
+
// --- Auto-added: surface every export Cal.com previously imported via subpath ---
|
|
35
|
+
export type { Slot } from "./booker/types";
|
|
36
|
+
export { useSlotReservationId } from "./booker/use-slot-reservation-id";
|
|
37
|
+
export { FromTime, FromToTime, formatEventFromTime, formatEventFromToTime } from "./booker/utils/dates";
|
|
38
|
+
export { getBookerTimezone } from "./booker/utils/get-booker-timezone";
|
|
39
|
+
export { getBookingDuration } from "./booker/utils/get-booking-duration";
|
|
40
|
+
export { getPrefetchMonthCount } from "./booker/utils/get-prefetch-month-count";
|
|
41
|
+
export { isBookingDryRun } from "./booker/utils/is-booking-dry-run";
|
|
42
|
+
export { isPrefetchNextMonthEnabled } from "./booker/utils/is-prefetch-next-month-enabled";
|
|
43
|
+
export { isTimeSlotAvailable } from "./booker/utils/is-timeslot-available";
|
|
44
|
+
export { validateLayout } from "./booker/utils/layout";
|
|
6
45
|
export { BookerEmbed } from "./booker-embed";
|
|
7
46
|
export { CalOAuthProvider, CalProvider } from "./cal-provider";
|
|
8
47
|
export { CalendarSettingsPlatformWrapper as CalendarSettings } from "./calendar-settings/index";
|
|
48
|
+
export { LargeCalendar } from "./calendar-view/components/large-calendar";
|
|
49
|
+
export { NoAvailabilityDialog } from "./calendar-view/components/no-availability-dialog";
|
|
9
50
|
export { CalendarViewPlatformWrapper as CalendarView } from "./calendar-view/index";
|
|
51
|
+
export { Calendar } from "./calendar-view/scheduler/components/calendar";
|
|
52
|
+
export type {
|
|
53
|
+
AllDayEventSpan,
|
|
54
|
+
UseAllDayEventSpansArgs,
|
|
55
|
+
} from "./calendar-view/scheduler/components/event/all-day-events";
|
|
56
|
+
export {
|
|
57
|
+
AllDayEvents,
|
|
58
|
+
assignLanes,
|
|
59
|
+
isInAllDayBar,
|
|
60
|
+
isOverlapping,
|
|
61
|
+
useAllDayEventBar,
|
|
62
|
+
useAllDayEventSpans,
|
|
63
|
+
} from "./calendar-view/scheduler/components/event/all-day-events";
|
|
64
|
+
export { AvailableCellsForDay, EmptyCell } from "./calendar-view/scheduler/components/event/empty";
|
|
65
|
+
export {
|
|
66
|
+
Event,
|
|
67
|
+
getStatusColorClass,
|
|
68
|
+
STATUS_COLOR_MAP,
|
|
69
|
+
} from "./calendar-view/scheduler/components/event/event";
|
|
70
|
+
export { EventList } from "./calendar-view/scheduler/components/event/event-list";
|
|
71
|
+
export { SchedulerHeading } from "./calendar-view/scheduler/components/heading/scheduler-heading";
|
|
72
|
+
export { Spinner } from "./calendar-view/scheduler/components/spinner/spinner";
|
|
73
|
+
export {
|
|
74
|
+
CalendarStoreContext,
|
|
75
|
+
createCalendarStore,
|
|
76
|
+
useCalendarStore,
|
|
77
|
+
} from "./calendar-view/scheduler/state/store";
|
|
78
|
+
export type { BorderColor } from "./calendar-view/scheduler/types/common";
|
|
79
|
+
export type { BookingStatus, CalendarEvent } from "./calendar-view/scheduler/types/events";
|
|
80
|
+
// --- Auto-added (from cal shim audit) ---
|
|
81
|
+
export type {
|
|
82
|
+
CalendarAvailableTimeslots,
|
|
83
|
+
CalendarComponentProps,
|
|
84
|
+
CalendarPrivateActions,
|
|
85
|
+
CalendarPublicActions,
|
|
86
|
+
CalendarState,
|
|
87
|
+
CalendarStoreProps,
|
|
88
|
+
Hours,
|
|
89
|
+
IFromUser,
|
|
90
|
+
IToUser,
|
|
91
|
+
OutOfOfficeRenderProps,
|
|
92
|
+
TimeRange,
|
|
93
|
+
View,
|
|
94
|
+
} from "./calendar-view/scheduler/types/state";
|
|
95
|
+
export type { GridCellToDateProps } from "./calendar-view/scheduler/utils/index";
|
|
96
|
+
export {
|
|
97
|
+
calculateHourSizeInPx,
|
|
98
|
+
getDaysBetweenDates,
|
|
99
|
+
getHoursToDisplay,
|
|
100
|
+
gridCellToDateTime,
|
|
101
|
+
mergeOverlappingDateRanges,
|
|
102
|
+
weekdayDates,
|
|
103
|
+
} from "./calendar-view/scheduler/utils/index";
|
|
104
|
+
export type { EventLayout, OverlapLayoutConfig } from "./calendar-view/scheduler/utils/overlap";
|
|
105
|
+
export {
|
|
106
|
+
buildOverlapGroups,
|
|
107
|
+
calculateEventLayouts,
|
|
108
|
+
createLayoutMap,
|
|
109
|
+
sortEvents,
|
|
110
|
+
} from "./calendar-view/scheduler/utils/overlap";
|
|
10
111
|
export * as Connect from "./connect";
|
|
11
112
|
export type { ConferencingAppsCustomClassNames } from "./connect/conferencing-apps/conferencing-apps-view-platform-wrapper";
|
|
12
113
|
export { ConferencingAppsViewPlatformWrapper as ConferencingAppsSettings } from "./connect/conferencing-apps/conferencing-apps-view-platform-wrapper";
|
|
@@ -16,7 +117,20 @@ export { StripeConnect } from "./connect/stripe/stripe-connect";
|
|
|
16
117
|
export type { UpdateScheduleInput_2024_06_11 as UpdateScheduleBody } from "./contracts";
|
|
17
118
|
export { CreateScheduleForm } from "./create-schedule/create-schedule-form";
|
|
18
119
|
export { CreateSchedulePlatformWrapper as CreateSchedule } from "./create-schedule/index";
|
|
120
|
+
export { DestinationCalendarSelector } from "./destination-calendar/destination-calendar-selector";
|
|
19
121
|
export { DestinationCalendarSettingsPlatformWrapper as DestinationCalendarSettings } from "./destination-calendar/index";
|
|
122
|
+
export { AssignAllTeamMembers } from "./event-types/components/assign-all-team-members";
|
|
123
|
+
export type { ChildrenEventTypeSelectCustomClassNames } from "./event-types/components/children-event-type-select";
|
|
124
|
+
export { ChildrenEventTypeSelect } from "./event-types/components/children-event-type-select";
|
|
125
|
+
// Default export of CreateEventTypeForm — alias used by calcom/cal
|
|
126
|
+
export { default as CreateEventTypeFormAtoms } from "./event-types/components/create-event-type-form";
|
|
127
|
+
export { LearnMoreLink } from "./event-types/components/learn-more-link";
|
|
128
|
+
export { useAddVerifiedEmail } from "./event-types/hooks/use-add-verified-email";
|
|
129
|
+
export { useEventTypeForm } from "./event-types/hooks/use-event-type-form";
|
|
130
|
+
export { useGetVerifiedEmails } from "./event-types/hooks/use-get-verified-emails";
|
|
131
|
+
export { useHandleRouteChange } from "./event-types/hooks/use-handle-route-change";
|
|
132
|
+
export { useTabsNavigations } from "./event-types/hooks/use-tabs-navigations";
|
|
133
|
+
export { useTeamMembersWithSegmentPlatform } from "./event-types/hooks/use-team-members-with-segment-platform";
|
|
20
134
|
export { ListEventTypesPlatformWrapper as ListEventTypes } from "./event-types/index";
|
|
21
135
|
export { PaymentForm } from "./event-types/payments/payment-form";
|
|
22
136
|
export { CreateEventTypePlatformWrapper as CreateEventType } from "./event-types/wrappers/create-event-type-platform-wrapper";
|
|
@@ -25,10 +139,12 @@ export type { EventSettingsFromRef } from "./event-types/wrappers/types";
|
|
|
25
139
|
export { useBooking } from "./hooks/bookings/use-booking";
|
|
26
140
|
export { useBookings } from "./hooks/bookings/use-bookings";
|
|
27
141
|
export { useCancelBooking } from "./hooks/bookings/use-cancel-booking";
|
|
142
|
+
export { useHandleBookEvent } from "./hooks/bookings/use-handle-book-event";
|
|
28
143
|
export { useAddSelectedCalendar } from "./hooks/calendars/use-add-selected-calendar";
|
|
29
144
|
export { useDeleteCalendarCredentials } from "./hooks/calendars/use-delete-calendar-credentials";
|
|
30
145
|
export { useRemoveSelectedCalendar } from "./hooks/calendars/use-remove-selected-calendar";
|
|
31
146
|
export { useCreateEventType } from "./hooks/event-types/private/use-create-event-type";
|
|
147
|
+
export { useCreateEventTypeForm } from "./hooks/event-types/private/use-create-event-type-form";
|
|
32
148
|
export { useCreateTeamEventType } from "./hooks/event-types/private/use-create-team-event-type";
|
|
33
149
|
export { useEventTypeById } from "./hooks/event-types/private/use-event-type-by-id";
|
|
34
150
|
export { useEventType as useEvent } from "./hooks/event-types/public/use-event-type";
|
|
@@ -42,9 +158,23 @@ export { useAvailableSlots } from "./hooks/use-available-slots";
|
|
|
42
158
|
export { useConnectedCalendars } from "./hooks/use-connected-calendars";
|
|
43
159
|
export { useIsPlatform } from "./hooks/use-is-platform";
|
|
44
160
|
export { useMe } from "./hooks/use-me";
|
|
161
|
+
export { useVerifyCode } from "./hooks/use-verify-code";
|
|
162
|
+
export { useVerifyEmail } from "./hooks/use-verify-email";
|
|
45
163
|
export { ListSchedulesPlatformWrapper as ListSchedules } from "./list-schedules/index";
|
|
46
164
|
export { OnboardingEmbed } from "./onboarding/export";
|
|
47
165
|
export type { OnboardingEmbedProps, OnboardingError } from "./onboarding/types";
|
|
48
166
|
export { Router } from "./router";
|
|
49
167
|
export { SelectedCalendarsSettingsPlatformWrapper as SelectedCalendarsSettings } from "./selected-calendars/index";
|
|
168
|
+
export { CalendarToggleContainerComponent } from "./troubleshooter/components/calendar-toggle-container-component";
|
|
169
|
+
export { EventScheduleItemComponent } from "./troubleshooter/components/event-schedule-item-component";
|
|
170
|
+
export { EventTypeSelectComponent } from "./troubleshooter/components/event-type-select-component";
|
|
171
|
+
export {
|
|
172
|
+
TroubleshooterListItemContainer,
|
|
173
|
+
TroubleshooterListItemHeader,
|
|
174
|
+
} from "./troubleshooter/components/troubleshooter-list-item-container";
|
|
50
175
|
export { TroubleshooterPlatformWrapper as TroubleShooter } from "./troubleshooter/index";
|
|
176
|
+
export { CalendarToggleContainer } from "./troubleshooter/sidebar/calendar-toggle-container";
|
|
177
|
+
export { EventScheduleItem } from "./troubleshooter/sidebar/event-schedule-item";
|
|
178
|
+
export type { TroubleshooterStore } from "./troubleshooter/store";
|
|
179
|
+
export { useInitalizeTroubleshooterStore, useTroubleshooterStore } from "./troubleshooter/store";
|
|
180
|
+
export type { TroubleshooterProps } from "./troubleshooter/types";
|