highsoft-ui 1.0.178 → 1.0.179

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.
@@ -0,0 +1,60 @@
1
+ import { AnchorHTMLAttributes, HTMLAttributes, MouseEvent, ReactElement, ReactNode } from 'react';
2
+ import { ProductIconName } from '../ProductIcon';
3
+ import { Tracker } from '../../tracking';
4
+ import { ProductNoticeActionTracking, ProductNoticeTracking } from './tracking';
5
+ export type { ProductNoticeActionTracking, ProductNoticeInteraction, ProductNoticeTracking, ProductNoticeTrackingParams } from './tracking';
6
+ export { PRODUCT_NOTICE_EVENTS } from './tracking';
7
+ /** One of the (at most two) buttons of the notice. */
8
+ export interface ProductNoticeAction {
9
+ /** Button text. Also sent as `link_text` on the click event. */
10
+ label: string;
11
+ /** Link destination — the button renders as an `<a>`. Sent as `link_url`. */
12
+ href?: string;
13
+ /** Click handler, for an action that isn't a navigation. */
14
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
15
+ iconLeft?: ReactNode;
16
+ iconRight?: ReactNode;
17
+ /**
18
+ * Extra props forwarded to the Button (`target`, `rel`, `aria-label`, …).
19
+ * Each action renders twice, once per layout, so don't pass an `id`.
20
+ */
21
+ buttonProps?: AnchorHTMLAttributes<HTMLAnchorElement> & Record<string, unknown>;
22
+ /** Override this button's click event, or `false` to not track it. */
23
+ tracking?: ProductNoticeActionTracking | false;
24
+ }
25
+ interface ProductNoticeBaseProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
26
+ /** Semibold run-in lead, e.g. "Highcharts Orbit is here." */
27
+ title?: ReactNode;
28
+ /** Regular text after the title. */
29
+ description?: ReactNode;
30
+ /** Shorter description for the compact layout (under 760px). Defaults to `description`. */
31
+ compactDescription?: ReactNode;
32
+ /** One or two buttons. */
33
+ actions?: readonly [ProductNoticeAction, ProductNoticeAction?];
34
+ /** Show the close button. Default `true`. */
35
+ closable?: boolean;
36
+ /** Called after the notice hides itself. */
37
+ onClose?: () => void;
38
+ /** Accessible name of the close button. Default `'Close'`. */
39
+ closeLabel?: string;
40
+ /** Sends this notice's events instead of the nearest `TrackingProvider`. */
41
+ tracker?: Tracker;
42
+ }
43
+ interface ProductNoticeProductProps {
44
+ /** Product whose icon leads the notice; also its default `promotion_id` and `item_id`. Default `'orbit'`. */
45
+ product?: ProductIconName;
46
+ icon?: undefined;
47
+ /** Event names and parameters, or `false` to send nothing. */
48
+ tracking?: ProductNoticeTracking | false;
49
+ }
50
+ interface ProductNoticeIconProps {
51
+ product?: undefined;
52
+ /** Any other logo or image in place of the product icon. Decorative. */
53
+ icon: ReactElement;
54
+ /** With no product to report as, a tracked notice needs an `id`. */
55
+ tracking: (ProductNoticeTracking & {
56
+ id: string;
57
+ }) | false;
58
+ }
59
+ export type ProductNoticeProps = ProductNoticeBaseProps & (ProductNoticeProductProps | ProductNoticeIconProps);
60
+ export declare function ProductNotice({ product, icon, title, description, compactDescription, actions, closable, onClose, closeLabel, tracking, tracker, className, ...props }: ProductNoticeProps): import("react").JSX.Element | null;
@@ -0,0 +1,40 @@
1
+ import { Tracker, TrackingItem, TrackingParams } from '../../tracking';
2
+ /** The interactions a ProductNotice reports. */
3
+ export type ProductNoticeInteraction = 'view' | 'click' | 'close';
4
+ export type ProductNoticeTrackingParams = TrackingParams;
5
+ export interface ProductNoticeTracking {
6
+ /** Identifies the banner in reports, sent as `promotion_id`. Defaults to `product`. */
7
+ id?: string;
8
+ /** Readable name, sent as `promotion_name`. Defaults to `id`. */
9
+ name?: string;
10
+ /**
11
+ * The event name for each interaction; `false` skips it. Defaults:
12
+ * `view_promotion`, `select_promotion`, `dismiss_promotion`.
13
+ */
14
+ events?: Partial<Record<ProductNoticeInteraction, string | false>>;
15
+ /**
16
+ * The GA4 `items` sent with the view and click events. GA4 requires them on
17
+ * `view_promotion`, and the Promotions report leaves out a `select_promotion`
18
+ * without them. Defaults to the product, `[{ item_id: 'orbit' }]` (with a
19
+ * custom `icon`, the `id`); `false` sends none.
20
+ */
21
+ items?: ReadonlyArray<TrackingItem> | false;
22
+ /** Extra parameters sent with every event, e.g. `{ creative_slot: 'shop' }`. */
23
+ params?: ProductNoticeTrackingParams;
24
+ }
25
+ /** Per-button override of the click event. */
26
+ export interface ProductNoticeActionTracking {
27
+ /** Event name for this button's click; `false` skips it. */
28
+ event?: string | false;
29
+ /** Extra parameters for this button's click, e.g. `{ cta: 'contact_sales' }`. */
30
+ params?: ProductNoticeTrackingParams;
31
+ }
32
+ export declare const PRODUCT_NOTICE_EVENTS: Record<ProductNoticeInteraction, string>;
33
+ /**
34
+ * `product` is what the notice promotes: the default `promotion_id` and
35
+ * `item_id`. It's `undefined` for a notice with a custom icon, which names
36
+ * itself with `tracking.id`.
37
+ */
38
+ export declare function trackProductNotice(send: Tracker, tracking: ProductNoticeTracking | false | undefined, interaction: ProductNoticeInteraction, product: string | undefined, override?: ProductNoticeActionTracking & {
39
+ defaults?: ProductNoticeTrackingParams;
40
+ }): void;
@@ -81,6 +81,10 @@ export { PrefPanel } from './components/PrefPanel';
81
81
  export { PrevNextNav } from './components/PrevNextNav';
82
82
  export { PromoBanner } from './components/PromoBanner';
83
83
  export type { PromoBannerProps, PromoBannerAction, PromoBannerProduct } from './components/PromoBanner';
84
+ export { ProductNotice, PRODUCT_NOTICE_EVENTS } from './components/ProductNotice';
85
+ export type { ProductNoticeProps, ProductNoticeAction, ProductNoticeActionTracking, ProductNoticeInteraction, ProductNoticeTracking, ProductNoticeTrackingParams } from './components/ProductNotice';
86
+ export { TrackingProvider, useTracker, dataLayerTracker, gtagTracker } from './tracking';
87
+ export type { Tracker, TrackingEvent, TrackingItem, TrackingParams } from './tracking';
84
88
  export { Breadcrumb } from './components/Breadcrumb';
85
89
  export type { BreadcrumbProps, BreadcrumbItem, BreadcrumbSeparator } from './components/Breadcrumb';
86
90
  export type { PrevNextNavProps, PrevNextNavItem, PrevNextNavBack } from './components/PrevNextNav';
@@ -0,0 +1,52 @@
1
+ import { ReactNode } from 'react';
2
+ /** One entry of a GA4 `items` array; needs an `item_id` or an `item_name`. */
3
+ export type TrackingItem = Record<string, string | number | undefined>;
4
+ /**
5
+ * Event parameters, GA4 style: snake_case keys, primitive values, plus the
6
+ * `items` array GA4's ecommerce and promotion events carry.
7
+ */
8
+ export type TrackingParams = Record<string, string | number | boolean | undefined | ReadonlyArray<TrackingItem>>;
9
+ /** One analytics event: a GA4 event name and its parameters. */
10
+ export interface TrackingEvent {
11
+ event: string;
12
+ params: TrackingParams;
13
+ }
14
+ /**
15
+ * Sends an event to whatever analytics the site runs. Components call it on
16
+ * the interactions they track; the site decides where the event goes.
17
+ */
18
+ export type Tracker = (event: TrackingEvent) => void;
19
+ /**
20
+ * Google Tag Manager: pushes `{ event, ...params }` onto the data layer, where
21
+ * a Custom Event trigger picks it up. `name` is the data layer variable when a
22
+ * site renamed it in its GTM snippet.
23
+ */
24
+ export declare function dataLayerTracker({ name }?: {
25
+ name?: string;
26
+ }): Tracker;
27
+ /**
28
+ * Google tag (gtag.js): `gtag('event', event, params)`. `sendTo` routes the
29
+ * event to specific GA4 measurement IDs (`'G-XXXXXXX'`) when the page loads
30
+ * more than one. Does nothing until the gtag snippet has run.
31
+ */
32
+ export declare function gtagTracker({ sendTo }?: {
33
+ sendTo?: string | Array<string>;
34
+ }): Tracker;
35
+ /**
36
+ * Sets the tracker for everything inside it. Wrap the app once, and every
37
+ * tracked component sends its events there:
38
+ *
39
+ * ```tsx
40
+ * <TrackingProvider tracker={dataLayerTracker()}>…</TrackingProvider>
41
+ * ```
42
+ */
43
+ export declare function TrackingProvider({ tracker, children }: {
44
+ tracker?: Tracker;
45
+ children?: ReactNode;
46
+ }): import("react").JSX.Element;
47
+ /**
48
+ * The tracker a component should use: its own `tracker` prop if it has one,
49
+ * otherwise the nearest `TrackingProvider`'s. The returned function never
50
+ * throws — an analytics failure must not break the click that triggered it.
51
+ */
52
+ export declare function useTracker(tracker?: Tracker): Tracker;
package/dist/main.js CHANGED
@@ -1,60 +1,63 @@
1
1
  import { c as e, d as t, r as n, s as r, u as i } from "./utils-bAjntFD8.js";
2
- import { t as a } from "./Box-BZgeSeCV.js";
3
- import { t as o } from "./Button-DtCIaVhq.js";
4
- import { n as s } from "./Typography-DI1AkqiO.js";
5
- import { n as c, t as l } from "./Accordion-NPNV0Rdr.js";
6
- import { t as u } from "./BrowserFrame-Bs2fIKzy.js";
7
- import { t as d } from "./Icon-DJTgdvsG.js";
8
- import { Figure as f } from "./components/Figure/index.js";
9
- import { t as p } from "./CopyCode-4IXo0bTs.js";
10
- import { t as m } from "./FrameworkIcon-B8GmMx0r.js";
11
- import { t as h } from "./CodeBlock-BM_Vefdj.js";
12
- import { n as g, t as _ } from "./ClientLogo-Dj7K48YL.js";
13
- import { t as v } from "./LogoCarousel-e-1WK43R.js";
14
- import { t as y } from "./Link-CYR92_U0.js";
15
- import { t as b } from "./ProductIcon-Cr6E2K9a.js";
16
- import { t as x } from "./ButtonGroup-6tLQmpEH.js";
17
- import { t as S } from "./InputSolo-CbnsJlJu.js";
18
- import { t as C } from "./SearchDropdown-cml8LqKq.js";
19
- import { i as w, n as T, r as E, t as D } from "./InputGrouped-y1UNKVd4.js";
20
- import { t as O } from "./Container-BDssaLig.js";
21
- import { t as k } from "./DiscordInvite-DfPVlJ5G.js";
22
- import { t as A } from "./Heading-DNDHqYWO.js";
23
- import { n as j, t as M } from "./List-gHC2SJgK.js";
24
- import { n as N, t as P } from "./Features-BQ5o3wcc.js";
25
- import { t as F } from "./Logo-Bz0G2G-k.js";
26
- import { t as I } from "./NewsletterSignup-Dk1cwk-W.js";
27
- import { n as L, r as R, t as z } from "./Dropdown-BgY76epB.js";
28
- import { t as B } from "./PrefPanel-DTbo6QDa.js";
29
- import { n as V, t as H } from "./Label-DwiX1ZiD.js";
30
- import { VideoCover as U } from "./components/VideoCover/index.js";
31
- import { t as W } from "./VideoPlayer-Cg9MFkP5.js";
32
- import { t as G } from "./VideoPlayerModal-BzYnI2f2.js";
33
- import { t as K } from "./Footer-hAk1PceF.js";
34
- import { n as q } from "./GPTInput-g460kfc6.js";
35
- import { t as J } from "./Notification-D93nzw6M.js";
36
- import { n as Y, t as X } from "./Header-CEV_MWep.js";
37
- import { t as Z } from "./Tabs-TRXBM5Zr.js";
38
- import { n as Q, t as $ } from "./RadioBox-C7bDjItJ.js";
39
- import { n as ee, t as te } from "./Checkbox-CqFkzrVk.js";
40
- import { t as ne } from "./Toggle-BHjptO7-.js";
41
- import { t as re } from "./ToggleCard-kMpxzTnh.js";
42
- import { t as ie } from "./ToggleList-Dh7wb2-W.js";
43
- import { Modal as ae } from "./components/Modal/index.js";
44
- import { t as oe } from "./RoadmapDetails-DIByXo2r.js";
45
- import { ModalContactFooter as se } from "./components/Modal/ModalContactFooter.js";
46
- import { useOptionalSidebarLayout as ce, useSidebarLayout as le } from "./components/Sidebar/context.js";
47
- import { SidebarLayout as ue, SidebarMain as de } from "./components/Sidebar/SidebarLayout.js";
48
- import { SidebarResizer as fe } from "./components/Sidebar/SidebarResizer.js";
49
- import { Sidebar as pe, SidebarBody as me, SidebarHeader as he, SidebarSection as ge } from "./components/Sidebar/Sidebar.js";
50
- import { SidebarSwitcher as _e } from "./components/Sidebar/SidebarSwitcher.js";
51
- import { NavItem as ve } from "./components/Sidebar/NavItem.js";
52
- import { NavGroup as ye } from "./components/Sidebar/NavGroup.js";
53
- import { NavDisclosure as be } from "./components/Sidebar/NavDisclosure.js";
2
+ import { TrackingProvider as a, dataLayerTracker as o, gtagTracker as s, useTracker as c } from "./tracking.js";
3
+ import { t as l } from "./Box-BZgeSeCV.js";
4
+ import { t as u } from "./Button-DtCIaVhq.js";
5
+ import { n as d } from "./Typography-DI1AkqiO.js";
6
+ import { n as f, t as p } from "./Accordion-NPNV0Rdr.js";
7
+ import { t as m } from "./BrowserFrame-Bs2fIKzy.js";
8
+ import { t as h } from "./Icon-DJTgdvsG.js";
9
+ import { Figure as g } from "./components/Figure/index.js";
10
+ import { t as _ } from "./CopyCode-4IXo0bTs.js";
11
+ import { t as v } from "./FrameworkIcon-B8GmMx0r.js";
12
+ import { t as y } from "./CodeBlock-BM_Vefdj.js";
13
+ import { n as b, t as x } from "./ClientLogo-Dj7K48YL.js";
14
+ import { t as S } from "./LogoCarousel-e-1WK43R.js";
15
+ import { t as C } from "./Link-CYR92_U0.js";
16
+ import { t as w } from "./ProductIcon-Cr6E2K9a.js";
17
+ import { t as T } from "./ButtonGroup-6tLQmpEH.js";
18
+ import { t as E } from "./InputSolo-CbnsJlJu.js";
19
+ import { t as D } from "./SearchDropdown-cml8LqKq.js";
20
+ import { i as O, n as k, r as A, t as j } from "./InputGrouped-y1UNKVd4.js";
21
+ import { t as M } from "./Container-BDssaLig.js";
22
+ import { t as N } from "./DiscordInvite-DfPVlJ5G.js";
23
+ import { t as P } from "./Heading-DNDHqYWO.js";
24
+ import { n as F, t as I } from "./List-gHC2SJgK.js";
25
+ import { n as L, t as R } from "./Features-BQ5o3wcc.js";
26
+ import { t as z } from "./Logo-Bz0G2G-k.js";
27
+ import { t as B } from "./NewsletterSignup-Dk1cwk-W.js";
28
+ import { n as V, r as H, t as U } from "./Dropdown-BgY76epB.js";
29
+ import { t as W } from "./PrefPanel-DTbo6QDa.js";
30
+ import { n as G, t as K } from "./Label-DwiX1ZiD.js";
31
+ import { VideoCover as q } from "./components/VideoCover/index.js";
32
+ import { t as J } from "./VideoPlayer-Cg9MFkP5.js";
33
+ import { t as Y } from "./VideoPlayerModal-BzYnI2f2.js";
34
+ import { t as X } from "./Footer-hAk1PceF.js";
35
+ import { n as Z } from "./GPTInput-g460kfc6.js";
36
+ import { t as Q } from "./Notification-D93nzw6M.js";
37
+ import { n as $, t as ee } from "./Header-CEV_MWep.js";
38
+ import { t as te } from "./Tabs-TRXBM5Zr.js";
39
+ import { n as ne, t as re } from "./RadioBox-C7bDjItJ.js";
40
+ import { n as ie, t as ae } from "./Checkbox-CqFkzrVk.js";
41
+ import { t as oe } from "./Toggle-BHjptO7-.js";
42
+ import { t as se } from "./ToggleCard-kMpxzTnh.js";
43
+ import { t as ce } from "./ToggleList-Dh7wb2-W.js";
44
+ import { Modal as le } from "./components/Modal/index.js";
45
+ import { t as ue } from "./RoadmapDetails-DIByXo2r.js";
46
+ import { ModalContactFooter as de } from "./components/Modal/ModalContactFooter.js";
47
+ import { useOptionalSidebarLayout as fe, useSidebarLayout as pe } from "./components/Sidebar/context.js";
48
+ import { SidebarLayout as me, SidebarMain as he } from "./components/Sidebar/SidebarLayout.js";
49
+ import { SidebarResizer as ge } from "./components/Sidebar/SidebarResizer.js";
50
+ import { Sidebar as _e, SidebarBody as ve, SidebarHeader as ye, SidebarSection as be } from "./components/Sidebar/Sidebar.js";
51
+ import { SidebarSwitcher as xe } from "./components/Sidebar/SidebarSwitcher.js";
52
+ import { NavItem as Se } from "./components/Sidebar/NavItem.js";
53
+ import { NavGroup as Ce } from "./components/Sidebar/NavGroup.js";
54
+ import { NavDisclosure as we } from "./components/Sidebar/NavDisclosure.js";
54
55
  import "./components/Sidebar/index.js";
55
- import { t as xe } from "./PrevNextNav-C406puU6.js";
56
- import { PromoBanner as Se } from "./components/PromoBanner/index.js";
57
- import { t as Ce } from "./Breadcrumb-BQzfkMH0.js";
58
- import { t as we } from "./TableOfContents-d26S7KYx.js";
59
- import { ThemeLoader as Te, themeLoaderScript as Ee } from "./components/ThemeLoader/index.js";
60
- export { l as Accordion, c as AccordionItem, a as Box, Ce as Breadcrumb, u as BrowserFrame, o as Button, x as ButtonGroup, te as Checkbox, ee as CheckboxGroup, _ as ClientLogo, h as CodeBlock, O as Container, p as CopyCode, k as DiscordInvite, z as Dropdown, L as DropdownItem, R as DropdownSeparator, P as FeatureItem, N as Features, f as Figure, K as Footer, D as FormGroup, T as FormRow, m as FrameworkIcon, q as GPTInput, X as Header, A as Heading, d as Icon, E as InputGrouped, S as InputSolo, H as Label, y as Link, M as List, j as ListItem, F as Logo, v as LogoCarousel, ae as Modal, se as ModalContactFooter, be as NavDisclosure, ye as NavGroup, ve as NavItem, V as NewTag, I as NewsletterSignup, J as Notification, B as PrefPanel, xe as PrevNextNav, b as ProductIcon, Se as PromoBanner, $ as RadioBox, Q as RadioBoxGroup, oe as RoadmapDetails, C as SearchDropdown, w as SelectGrouped, pe as Sidebar, me as SidebarBody, he as SidebarHeader, ue as SidebarLayout, de as SidebarMain, fe as SidebarResizer, ge as SidebarSection, _e as SidebarSwitcher, Y as SubHeader, we as TableOfContents, Z as Tabs, Te as ThemeLoader, i as ThemeProvider, ne as Toggle, re as ToggleCard, ie as ToggleList, s as Typography, U as VideoCover, W as VideoPlayer, G as VideoPlayerModal, g as clientLogoLabels, Ee as themeLoaderScript, n as useClipboard, t as useNextTheme, ce as useOptionalSidebarLayout, le as useSidebarLayout, r as useSuccessFlash, e as useTheme };
56
+ import { t as Te } from "./PrevNextNav-C406puU6.js";
57
+ import { PromoBanner as Ee } from "./components/PromoBanner/index.js";
58
+ import { PRODUCT_NOTICE_EVENTS as De } from "./components/ProductNotice/tracking.js";
59
+ import { t as Oe } from "./ProductNotice-CtgDdo5_.js";
60
+ import { t as ke } from "./Breadcrumb-BQzfkMH0.js";
61
+ import { t as Ae } from "./TableOfContents-d26S7KYx.js";
62
+ import { ThemeLoader as je, themeLoaderScript as Me } from "./components/ThemeLoader/index.js";
63
+ export { p as Accordion, f as AccordionItem, l as Box, ke as Breadcrumb, m as BrowserFrame, u as Button, T as ButtonGroup, ae as Checkbox, ie as CheckboxGroup, x as ClientLogo, y as CodeBlock, M as Container, _ as CopyCode, N as DiscordInvite, U as Dropdown, V as DropdownItem, H as DropdownSeparator, R as FeatureItem, L as Features, g as Figure, X as Footer, j as FormGroup, k as FormRow, v as FrameworkIcon, Z as GPTInput, ee as Header, P as Heading, h as Icon, A as InputGrouped, E as InputSolo, K as Label, C as Link, I as List, F as ListItem, z as Logo, S as LogoCarousel, le as Modal, de as ModalContactFooter, we as NavDisclosure, Ce as NavGroup, Se as NavItem, G as NewTag, B as NewsletterSignup, Q as Notification, De as PRODUCT_NOTICE_EVENTS, W as PrefPanel, Te as PrevNextNav, w as ProductIcon, Oe as ProductNotice, Ee as PromoBanner, re as RadioBox, ne as RadioBoxGroup, ue as RoadmapDetails, D as SearchDropdown, O as SelectGrouped, _e as Sidebar, ve as SidebarBody, ye as SidebarHeader, me as SidebarLayout, he as SidebarMain, ge as SidebarResizer, be as SidebarSection, xe as SidebarSwitcher, $ as SubHeader, Ae as TableOfContents, te as Tabs, je as ThemeLoader, i as ThemeProvider, oe as Toggle, se as ToggleCard, ce as ToggleList, a as TrackingProvider, d as Typography, q as VideoCover, J as VideoPlayer, Y as VideoPlayerModal, b as clientLogoLabels, o as dataLayerTracker, s as gtagTracker, Me as themeLoaderScript, n as useClipboard, t as useNextTheme, fe as useOptionalSidebarLayout, pe as useSidebarLayout, r as useSuccessFlash, e as useTheme, c as useTracker };
@@ -0,0 +1,47 @@
1
+ "use client";
2
+ import { createContext as e, useCallback as t, useContext as n } from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ //#region lib/tracking.tsx
5
+ function i() {
6
+ return typeof window > "u" ? void 0 : window;
7
+ }
8
+ function a(e) {
9
+ return Object.fromEntries(Object.entries(e).filter(([, e]) => e !== void 0));
10
+ }
11
+ function o({ name: e = "dataLayer" } = {}) {
12
+ return ({ event: t, params: n }) => {
13
+ let r = i();
14
+ r && (Array.isArray(r[e]) || (r[e] = []), r[e].push({
15
+ event: t,
16
+ ...a(n)
17
+ }));
18
+ };
19
+ }
20
+ function s({ sendTo: e } = {}) {
21
+ return ({ event: t, params: n }) => {
22
+ let r = i()?.gtag;
23
+ typeof r == "function" && r("event", t, {
24
+ ...a(n),
25
+ ...e ? { send_to: e } : {}
26
+ });
27
+ };
28
+ }
29
+ var c = e(void 0);
30
+ function l({ tracker: e, children: t }) {
31
+ return /* @__PURE__ */ r(c.Provider, {
32
+ value: e,
33
+ children: t
34
+ });
35
+ }
36
+ function u(e) {
37
+ let r = n(c), i = e ?? r;
38
+ return t((e) => {
39
+ if (i) try {
40
+ i(e);
41
+ } catch (e) {
42
+ console.error("[highsoft-ui] tracker failed", e);
43
+ }
44
+ }, [i]);
45
+ }
46
+ //#endregion
47
+ export { l as TrackingProvider, o as dataLayerTracker, s as gtagTracker, u as useTracker };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.178",
3
+ "version": "1.0.179",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "repository": {