@embedreach/components 0.1.7 → 0.1.9
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/reach.es.js +6 -5
- package/dist/reach.umd.js +2 -2
- package/package.json +1 -1
package/dist/reach.es.js
CHANGED
|
@@ -10,8 +10,8 @@ import { clsx } from "clsx";
|
|
|
10
10
|
import { twMerge } from "tailwind-merge";
|
|
11
11
|
import { AnimatePresence, motion } from "framer-motion";
|
|
12
12
|
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
|
13
|
-
import { Outlet, useNavigate, Routes, Route, Navigate, MemoryRouter } from "react-router-dom";
|
|
14
13
|
import { useFlags, useLDClient, LDProvider } from "launchdarkly-react-client-sdk";
|
|
14
|
+
import { Outlet, useNavigate, Routes, Route, Navigate, MemoryRouter } from "react-router-dom";
|
|
15
15
|
import { useTranslation, initReactI18next, I18nextProvider } from "react-i18next";
|
|
16
16
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
17
17
|
import { cva } from "class-variance-authority";
|
|
@@ -540,7 +540,7 @@ const NameAndDescription = ({ nameAndDescriptionState, setNameAndDescriptionStat
|
|
|
540
540
|
const styles$d = {
|
|
541
541
|
container: "relative p-6 border border-gray-200 rounded-lg"
|
|
542
542
|
};
|
|
543
|
-
const
|
|
543
|
+
const SegmentBuilder = ({
|
|
544
544
|
onClose,
|
|
545
545
|
tailwindClassDefinitions,
|
|
546
546
|
iconDefinitions
|
|
@@ -15564,7 +15564,7 @@ const navigationConfig = [
|
|
|
15564
15564
|
description: "Segment Builder",
|
|
15565
15565
|
feature: "automations",
|
|
15566
15566
|
icon: BarChart3,
|
|
15567
|
-
component:
|
|
15567
|
+
component: SegmentBuilder,
|
|
15568
15568
|
featureFlag: "show-automations"
|
|
15569
15569
|
}
|
|
15570
15570
|
];
|
|
@@ -17010,6 +17010,7 @@ const ReachProvider = ({
|
|
|
17010
17010
|
feature,
|
|
17011
17011
|
authToken: authToken2,
|
|
17012
17012
|
tenantId,
|
|
17013
|
+
children,
|
|
17013
17014
|
...props
|
|
17014
17015
|
}) => {
|
|
17015
17016
|
const [queryClient] = React__default.useState(() => {
|
|
@@ -17040,7 +17041,7 @@ const ReachProvider = ({
|
|
|
17040
17041
|
useCamelCaseFlagKeys: false,
|
|
17041
17042
|
sendEventsOnFlagRead: true
|
|
17042
17043
|
},
|
|
17043
|
-
children: /* @__PURE__ */ jsx(Provider, { children: /* @__PURE__ */ jsx(Provider$1, { children: /* @__PURE__ */ jsx(MemoryRouter, { initialEntries, initialIndex: 0, children: /* @__PURE__ */ jsx(
|
|
17044
|
+
children: /* @__PURE__ */ jsx(Provider, { children: /* @__PURE__ */ jsx(Provider$1, { children: /* @__PURE__ */ jsx(MemoryRouter, { initialEntries, initialIndex: 0, children: children || /* @__PURE__ */ jsx(
|
|
17044
17045
|
App,
|
|
17045
17046
|
{
|
|
17046
17047
|
feature,
|
|
@@ -17057,5 +17058,5 @@ const ReachProvider = ({
|
|
|
17057
17058
|
export {
|
|
17058
17059
|
Button,
|
|
17059
17060
|
ReachProvider,
|
|
17060
|
-
|
|
17061
|
+
SegmentBuilder
|
|
17061
17062
|
};
|