@awell-health/ui-library 0.1.126 → 0.1.127

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/index.js CHANGED
@@ -2234,7 +2234,7 @@ Check the top-level render call using <` + t + ">.");
2234
2234
  };
2235
2235
 
2236
2236
  var CalDotComScheduling = function (_a) {
2237
- var calLink = _a.calLink,_b = _a.hideEventTypeDetails,hideEventTypeDetails = _b === void 0 ? false : _b,onBookingSuccessful = _a.onBookingSuccessful,metadata = _a.metadata;
2237
+ var calLink = _a.calLink,calOrigin = _a.calOrigin,_b = _a.hideEventTypeDetails,hideEventTypeDetails = _b === void 0 ? false : _b,onBookingSuccessful = _a.onBookingSuccessful,metadata = _a.metadata;
2238
2238
  var accentColor = useAccentColor().accentColor;
2239
2239
  var eventListenerRef = React.useRef(false);
2240
2240
  var calApiRef = React.useRef(null);
@@ -2308,7 +2308,7 @@ Check the top-level render call using <` + t + ">.");
2308
2308
  }
2309
2309
  var metadataSeparator = calLink.includes('?') ? '&' : '?';
2310
2310
  var composedCalLink = "".concat(calLink).concat(metadataString ? "".concat(metadataSeparator).concat(metadataString) : '');
2311
- return jsxRuntime.exports.jsx("div", { children: jsxRuntime.exports.jsx(hr, { calLink: composedCalLink, style: { width: '100%', height: '100%', overflow: 'hidden' } }) });
2311
+ return jsxRuntime.exports.jsx("div", { children: jsxRuntime.exports.jsx(hr, { calLink: composedCalLink, calOrigin: calOrigin, style: { width: '100%', height: '100%', overflow: 'hidden' } }) });
2312
2312
  };
2313
2313
 
2314
2314
  var classes$v = {"input_wrapper":"awell__checkboxButton_input_wrapper","checkbox_wrapper":"awell__checkboxButton_checkbox_wrapper","label_wrapper":"awell__checkboxButton_label_wrapper"};
@@ -2,6 +2,7 @@ import { FC } from 'react';
2
2
  import { type BookingSuccessfulFunction } from './calDotComTypes';
3
3
  export interface CalDotComSchedulingProps {
4
4
  calLink: string;
5
+ calOrigin?: string;
5
6
  onBookingSuccessful: BookingSuccessfulFunction;
6
7
  hideEventTypeDetails?: boolean;
7
8
  metadata?: {
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { CalDotComActivityProps } from './types';
3
- export declare const CalDotcomActivity: ({ calLink, onBookingSuccessful, hideEventTypeDetails, }: CalDotComActivityProps) => JSX.Element;
3
+ export declare const CalDotcomActivity: ({ calLink, calOrigin, onBookingSuccessful, hideEventTypeDetails, }: CalDotComActivityProps) => JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { CalDotComBookingSuccessfulFunction } from '../../../../atoms/scheduling/cal.com';
2
2
  export interface CalDotComActivityProps {
3
3
  calLink: string;
4
+ calOrigin?: string;
4
5
  onBookingSuccessful: CalDotComBookingSuccessfulFunction;
5
6
  hideEventTypeDetails: boolean;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.126",
3
+ "version": "0.1.127",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",