@cimplify/sdk 0.95.0 → 0.97.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/react.d.mts +10 -2
- package/dist/react.d.ts +10 -2
- package/dist/react.js +392 -69
- package/dist/react.mjs +393 -70
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/registry/chat-widget.json +1 -1
- package/registry/date-slot-picker.json +1 -1
- package/registry/slot-picker.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -2700,10 +2700,16 @@ interface SlotPickerProps {
|
|
|
2700
2700
|
durationValue?: number;
|
|
2701
2701
|
/** Text shown when no slots available. */
|
|
2702
2702
|
emptyMessage?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* Phone number offered when a day has no bookable times. A service can be
|
|
2705
|
+
* unbookable for reasons the storefront cannot see, and a bare empty grid
|
|
2706
|
+
* reads as a broken site rather than a shop to call.
|
|
2707
|
+
*/
|
|
2708
|
+
contactPhone?: string;
|
|
2703
2709
|
className?: string;
|
|
2704
2710
|
classNames?: SlotPickerClassNames;
|
|
2705
2711
|
}
|
|
2706
|
-
declare function SlotPicker({ slots: slotsProp, serviceId, date, participantCount, selectedSlot, onSlotSelect, groupByTimeOfDay, showPrice, lowCapacityThreshold, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, emptyMessage, className, classNames, }: SlotPickerProps): React$1.ReactElement;
|
|
2712
|
+
declare function SlotPicker({ slots: slotsProp, serviceId, date, participantCount, selectedSlot, onSlotSelect, groupByTimeOfDay, showPrice, lowCapacityThreshold, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, emptyMessage, contactPhone, className, classNames, }: SlotPickerProps): React$1.ReactElement;
|
|
2707
2713
|
|
|
2708
2714
|
interface DateSlotPickerClassNames {
|
|
2709
2715
|
root?: string;
|
|
@@ -2743,10 +2749,12 @@ interface DateSlotPickerProps {
|
|
|
2743
2749
|
hideElapsedSlots?: boolean;
|
|
2744
2750
|
/** Forwarded to `<SlotPicker>` — minimum lead time in minutes. Default: 0. */
|
|
2745
2751
|
minLeadMinutes?: number;
|
|
2752
|
+
/** Forwarded to `<SlotPicker>` — offered when a day has no bookable times. */
|
|
2753
|
+
contactPhone?: string;
|
|
2746
2754
|
className?: string;
|
|
2747
2755
|
classNames?: DateSlotPickerClassNames;
|
|
2748
2756
|
}
|
|
2749
|
-
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, units, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2757
|
+
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, units, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, contactPhone, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2750
2758
|
|
|
2751
2759
|
interface DatePickerClassNames {
|
|
2752
2760
|
/** Outer wrapper around the trigger. */
|
package/dist/react.d.ts
CHANGED
|
@@ -2700,10 +2700,16 @@ interface SlotPickerProps {
|
|
|
2700
2700
|
durationValue?: number;
|
|
2701
2701
|
/** Text shown when no slots available. */
|
|
2702
2702
|
emptyMessage?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* Phone number offered when a day has no bookable times. A service can be
|
|
2705
|
+
* unbookable for reasons the storefront cannot see, and a bare empty grid
|
|
2706
|
+
* reads as a broken site rather than a shop to call.
|
|
2707
|
+
*/
|
|
2708
|
+
contactPhone?: string;
|
|
2703
2709
|
className?: string;
|
|
2704
2710
|
classNames?: SlotPickerClassNames;
|
|
2705
2711
|
}
|
|
2706
|
-
declare function SlotPicker({ slots: slotsProp, serviceId, date, participantCount, selectedSlot, onSlotSelect, groupByTimeOfDay, showPrice, lowCapacityThreshold, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, emptyMessage, className, classNames, }: SlotPickerProps): React$1.ReactElement;
|
|
2712
|
+
declare function SlotPicker({ slots: slotsProp, serviceId, date, participantCount, selectedSlot, onSlotSelect, groupByTimeOfDay, showPrice, lowCapacityThreshold, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, emptyMessage, contactPhone, className, classNames, }: SlotPickerProps): React$1.ReactElement;
|
|
2707
2713
|
|
|
2708
2714
|
interface DateSlotPickerClassNames {
|
|
2709
2715
|
root?: string;
|
|
@@ -2743,10 +2749,12 @@ interface DateSlotPickerProps {
|
|
|
2743
2749
|
hideElapsedSlots?: boolean;
|
|
2744
2750
|
/** Forwarded to `<SlotPicker>` — minimum lead time in minutes. Default: 0. */
|
|
2745
2751
|
minLeadMinutes?: number;
|
|
2752
|
+
/** Forwarded to `<SlotPicker>` — offered when a day has no bookable times. */
|
|
2753
|
+
contactPhone?: string;
|
|
2746
2754
|
className?: string;
|
|
2747
2755
|
classNames?: DateSlotPickerClassNames;
|
|
2748
2756
|
}
|
|
2749
|
-
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, units, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2757
|
+
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, units, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, contactPhone, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2750
2758
|
|
|
2751
2759
|
interface DatePickerClassNames {
|
|
2752
2760
|
/** Outer wrapper around the trigger. */
|