@embedreach/components 0.1.58 → 0.1.59

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.
@@ -46934,9 +46934,10 @@ export {
46934
46934
  ReachProvider as W,
46935
46935
  CreateAutomationModal as X,
46936
46936
  Engage as Y,
46937
- SegmentBuilderDialog as Z,
46938
- ViewAutomationModal as _,
46937
+ SegmentBuilder as Z,
46938
+ SegmentBuilderDialog as _,
46939
46939
  createComponent as a,
46940
+ ViewAutomationModal as a0,
46940
46941
  createSignal as b,
46941
46942
  createMemo as c,
46942
46943
  delegateEvents as d,
package/dist/index.d.ts CHANGED
@@ -106,6 +106,12 @@ declare interface SDKCallbacks {
106
106
  onTenantInformationRequested?: () => void;
107
107
  }
108
108
 
109
+ export declare function SegmentBuilder({ segmentId, setOpen, onSegmentUpdated, }: {
110
+ segmentId?: string;
111
+ setOpen: (open: boolean) => void;
112
+ onSegmentUpdated?: SegmentBuilderDialogProps['onSegmentUpdated'];
113
+ }): JSX_2.Element;
114
+
109
115
  export declare function SegmentBuilderDialog({ open, setOpen, segmentId, onSegmentUpdated, }: SegmentBuilderDialogProps): JSX_2.Element;
110
116
 
111
117
  declare interface SegmentBuilderDialogProps {
package/dist/index.es.js CHANGED
@@ -1,8 +1,9 @@
1
- import { X, Y, W, Z, _ } from "./chunks/index.js";
1
+ import { X, Y, W, Z, _, a0 } from "./chunks/index.js";
2
2
  export {
3
3
  X as CreateAutomationModal,
4
4
  Y as Engage,
5
5
  W as ReachProvider,
6
- Z as SegmentBuilderDialog,
7
- _ as ViewAutomationModal
6
+ Z as SegmentBuilder,
7
+ _ as SegmentBuilderDialog,
8
+ a0 as ViewAutomationModal
8
9
  };
package/dist/index.umd.js CHANGED
@@ -1248,4 +1248,4 @@
1248
1248
  opacity: 0.6;
1249
1249
  cursor: not-allowed;
1250
1250
  }
1251
- `}},bY=e=>yY("light",e),xY=e=>yY("dark",e);It(["click","mousedown","input"]);const wY=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{const[t,n]=lz({prefix:"TanstackQueryDevtools"}),r=or(),o=Re((()=>{const e=t.theme_preference||fz;return"system"!==e?e:r()}));return dt(gz.Provider,{value:e,get children(){return dt(bz,{localStore:t,setLocalStore:n,get children(){return dt(wz.Provider,{value:o,get children(){return dt(eY,{localStore:t,setLocalStore:n})}})}})}})}},Symbol.toStringTag,{value:"Module"}));Symbol;e.CreateAutomationModal=Vx,e.Engage=({iconDefinitions:e})=>{const n=Cx(e);return t.jsx(kA,{iconDefinitionsPassed:n})},e.ReachProvider=({authToken:e,tenantExternalId:r,language:o,children:i,theme:s,debug:a})=>{const[l]=n.useState((()=>(e&&(ua=e),new G({defaultOptions:{queries:{retry:(e,t)=>!(t instanceof Error&&"Unauthorized"===t.message)&&e<3,...ca}}}))));return t.jsx("div",{"data-reach-root":!0,children:t.jsxs(re,{client:l,children:[t.jsx(ia,{clientSideID:"67a3c277012e1f09c67de499",context:{kind:"user",key:r||"anonymous",custom:{businessId:r}},options:{streaming:!1},timeout:2,reactOptions:{useCamelCaseFlagKeys:!1,sendEventsOnFlagRead:!0},children:t.jsx(Fl,{initialLanguage:o,children:t.jsx(ka,{initialTheme:s,children:t.jsxs(va,{children:[i,t.jsx(ih,{})]})})})}),a&&t.jsx(cr,{})]})})},e.SegmentBuilderDialog=SA,e.ViewAutomationModal=({inRouter:e=!1,...n})=>e?t.jsx(nz,{...n}):t.jsx(Jw,{children:t.jsx(nz,{...n})}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1251
+ `}},bY=e=>yY("light",e),xY=e=>yY("dark",e);It(["click","mousedown","input"]);const wY=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{const[t,n]=lz({prefix:"TanstackQueryDevtools"}),r=or(),o=Re((()=>{const e=t.theme_preference||fz;return"system"!==e?e:r()}));return dt(gz.Provider,{value:e,get children(){return dt(bz,{localStore:t,setLocalStore:n,get children(){return dt(wz.Provider,{value:o,get children(){return dt(eY,{localStore:t,setLocalStore:n})}})}})}})}},Symbol.toStringTag,{value:"Module"}));Symbol;e.CreateAutomationModal=Vx,e.Engage=({iconDefinitions:e})=>{const n=Cx(e);return t.jsx(kA,{iconDefinitionsPassed:n})},e.ReachProvider=({authToken:e,tenantExternalId:r,language:o,children:i,theme:s,debug:a})=>{const[l]=n.useState((()=>(e&&(ua=e),new G({defaultOptions:{queries:{retry:(e,t)=>!(t instanceof Error&&"Unauthorized"===t.message)&&e<3,...ca}}}))));return t.jsx("div",{"data-reach-root":!0,children:t.jsxs(re,{client:l,children:[t.jsx(ia,{clientSideID:"67a3c277012e1f09c67de499",context:{kind:"user",key:r||"anonymous",custom:{businessId:r}},options:{streaming:!1},timeout:2,reactOptions:{useCamelCaseFlagKeys:!1,sendEventsOnFlagRead:!0},children:t.jsx(Fl,{initialLanguage:o,children:t.jsx(ka,{initialTheme:s,children:t.jsxs(va,{children:[i,t.jsx(ih,{})]})})})}),a&&t.jsx(cr,{})]})})},e.SegmentBuilder=wA,e.SegmentBuilderDialog=SA,e.ViewAutomationModal=({inRouter:e=!1,...n})=>e?t.jsx(nz,{...n}):t.jsx(Jw,{children:t.jsx(nz,{...n})}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedreach/components",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",