@burdenoff/fe-libs 2026.527.7 → 2026.528.1
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/button/Button.d.ts +2 -2
- package/dist/chrome/AppShellLayout.d.ts +6 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -1
- package/dist/chrome/AppShellLayout.js +9 -3
- package/dist/chrome/PageHeader.d.ts +17 -0
- package/dist/chrome/PageHeader.d.ts.map +1 -0
- package/dist/chrome/PageHeader.js +67 -0
- package/dist/chrome/index.d.ts +2 -0
- package/dist/chrome/index.d.ts.map +1 -1
- package/dist/chrome.js +33 -32
- package/dist/form/FormLabel.d.ts +4 -2
- package/dist/form/FormLabel.d.ts.map +1 -1
- package/dist/form/FormLabel.js +17 -10
- package/dist/form/FormSection.d.ts +18 -0
- package/dist/form/FormSection.d.ts.map +1 -0
- package/dist/form/FormSection.js +78 -0
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.d.ts.map +1 -1
- package/dist/form.js +11 -10
- package/dist/shared/native/SafeAreaView.d.ts +15 -0
- package/dist/shared/native/SafeAreaView.d.ts.map +1 -0
- package/dist/shared/native/SafeAreaView.js +22 -0
- package/dist/shared/native/index.d.ts +1 -0
- package/dist/shared/native/index.d.ts.map +1 -1
- package/dist/shared-hooks.js +10 -10
- package/dist/shared-native.js +9 -8
- package/dist/shared.js +67 -66
- package/dist/storage/SaveToFilesDialog.js +7 -7
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/bottom-sheet.d.ts +16 -0
- package/dist/ui/bottom-sheet.d.ts.map +1 -0
- package/dist/ui/bottom-sheet.js +89 -0
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/empty-state.d.ts +13 -0
- package/dist/ui/empty-state.d.ts.map +1 -0
- package/dist/ui/empty-state.js +34 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/optional-fields.d.ts +16 -0
- package/dist/ui/optional-fields.d.ts.map +1 -0
- package/dist/ui/optional-fields.js +55 -0
- package/dist/ui/responsive-dialog.d.ts +18 -0
- package/dist/ui/responsive-dialog.d.ts.map +1 -0
- package/dist/ui/responsive-dialog.js +38 -0
- package/dist/ui/responsive-stack.d.ts +15 -0
- package/dist/ui/responsive-stack.d.ts.map +1 -0
- package/dist/ui/responsive-stack.js +65 -0
- package/dist/ui/responsive-table.d.ts +24 -0
- package/dist/ui/responsive-table.d.ts.map +1 -0
- package/dist/ui/responsive-table.js +84 -0
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/stepper.d.ts +16 -0
- package/dist/ui/stepper.d.ts.map +1 -0
- package/dist/ui/stepper.js +79 -0
- package/dist/ui.js +31 -24
- package/package.json +1 -1
- package/shared/config/eslint.config.mjs +39 -0
package/dist/button/Button.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -29,6 +29,12 @@ export interface AppShellLayoutProps {
|
|
|
29
29
|
contentPadding?: string;
|
|
30
30
|
/** When true, footer is rendered inside main content area (scrolls with content). Default: false */
|
|
31
31
|
footerInContent?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Apply iOS/Android safe-area-inset padding to the outer shell so notched
|
|
34
|
+
* devices don't overlap header/footer. Reads Capacitor `--safe-*` vars and
|
|
35
|
+
* CSS `env(safe-area-inset-*)`, picking the larger. Default `true`.
|
|
36
|
+
*/
|
|
37
|
+
safeArea?: boolean;
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* AppShellLayout Component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellLayout.d.ts","sourceRoot":"","sources":["../../src/chrome/AppShellLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"AppShellLayout.d.ts","sourceRoot":"","sources":["../../src/chrome/AppShellLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,uBAAuB;IACvB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,wBAAwB;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,uDAAuD;IACvD,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,sDAAsD;IACtD,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;IAEpB,gCAAgC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,gCAAgC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,iCAAiC;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,kGAAkG;IAClG,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,oGAAoG;IACpG,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAsElD,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
//#region src/chrome/AppShellLayout.tsx
|
|
3
|
-
var r = ({ header: r, sidebar: i, footer: a, bottomPanel: o, rightPanel: s, statusBar: c, children: l, headerVisible: u = !0, footerVisible: d = !0, sidebarVisible: f = !0, contentClassName: p, contentPadding: m = "p-6", footerInContent: h = !1 }) => {
|
|
4
|
-
let
|
|
3
|
+
var r = ({ header: r, sidebar: i, footer: a, bottomPanel: o, rightPanel: s, statusBar: c, children: l, headerVisible: u = !0, footerVisible: d = !0, sidebarVisible: f = !0, contentClassName: p, contentPadding: m = "p-6", footerInContent: h = !1, safeArea: g = !0 }) => {
|
|
4
|
+
let _ = h ? `flex-1 overflow-auto bg-bg-canvas flex flex-col ${m}` : `flex-1 overflow-auto bg-bg-canvas ${m}`;
|
|
5
5
|
return /* @__PURE__ */ n("div", {
|
|
6
6
|
className: "flex flex-col h-screen bg-bg-canvas",
|
|
7
|
+
style: g ? {
|
|
8
|
+
paddingTop: "max(var(--safe-top, 0px), env(safe-area-inset-top, 0px))",
|
|
9
|
+
paddingBottom: "max(var(--safe-bottom, 0px), env(safe-area-inset-bottom, 0px))",
|
|
10
|
+
paddingLeft: "max(var(--safe-left, 0px), env(safe-area-inset-left, 0px))",
|
|
11
|
+
paddingRight: "max(var(--safe-right, 0px), env(safe-area-inset-right, 0px))"
|
|
12
|
+
} : {},
|
|
7
13
|
children: [
|
|
8
14
|
u && r,
|
|
9
15
|
/* @__PURE__ */ n("div", {
|
|
@@ -13,7 +19,7 @@ var r = ({ header: r, sidebar: i, footer: a, bottomPanel: o, rightPanel: s, stat
|
|
|
13
19
|
children: [/* @__PURE__ */ n("div", {
|
|
14
20
|
className: "flex flex-col flex-1 overflow-hidden",
|
|
15
21
|
children: [/* @__PURE__ */ t("main", {
|
|
16
|
-
className: p ||
|
|
22
|
+
className: p || _,
|
|
17
23
|
"data-shell-scroll-container": !0,
|
|
18
24
|
children: h ? /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
|
|
19
25
|
className: "flex-1",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface PageHeaderBreadcrumbItem {
|
|
3
|
+
label: React.ReactNode;
|
|
4
|
+
to?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface PageHeaderProps {
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
actions?: React.ReactNode;
|
|
10
|
+
breadcrumb?: PageHeaderBreadcrumbItem[];
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
toolbar?: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Canonical page header. One primary action max. Mobile-aware. */
|
|
16
|
+
export declare function PageHeader({ title, description, actions, breadcrumb, icon, toolbar, className, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../src/chrome/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACxC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,mEAAmE;AACnE,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,OAAO,EACP,UAAU,EACV,IAAI,EACJ,OAAO,EACP,SAAS,GACV,EAAE,eAAe,2CAuDjB"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { cn as e } from "../lib/utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { ChevronRightIcon as t } from "lucide-react";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { Link as i } from "react-router-dom";
|
|
6
|
+
//#region src/chrome/PageHeader.tsx
|
|
7
|
+
function a({ title: a, description: o, actions: s, breadcrumb: c, icon: l, toolbar: u, className: d }) {
|
|
8
|
+
return /* @__PURE__ */ r("header", {
|
|
9
|
+
"data-slot": "page-header",
|
|
10
|
+
className: e("mb-6", d),
|
|
11
|
+
children: [
|
|
12
|
+
c && c.length > 0 ? /* @__PURE__ */ n("nav", {
|
|
13
|
+
className: "mb-2 overflow-x-auto",
|
|
14
|
+
"aria-label": "Breadcrumb",
|
|
15
|
+
children: /* @__PURE__ */ n("ol", {
|
|
16
|
+
className: "flex items-center gap-1.5 text-sm text-text-secondary whitespace-nowrap",
|
|
17
|
+
children: c.map((e, a) => {
|
|
18
|
+
let o = a === c.length - 1;
|
|
19
|
+
return /* @__PURE__ */ r("li", {
|
|
20
|
+
className: "flex items-center gap-1.5",
|
|
21
|
+
children: [a > 0 ? /* @__PURE__ */ n(t, {
|
|
22
|
+
className: "size-3 text-text-tertiary",
|
|
23
|
+
"aria-hidden": "true"
|
|
24
|
+
}) : null, e.to && !o ? /* @__PURE__ */ n(i, {
|
|
25
|
+
to: e.to,
|
|
26
|
+
className: "hover:text-text-primary transition-colors focus-visible:outline-none focus-visible:underline",
|
|
27
|
+
children: e.label
|
|
28
|
+
}) : /* @__PURE__ */ n("span", {
|
|
29
|
+
className: o ? "text-text-primary font-medium" : void 0,
|
|
30
|
+
children: e.label
|
|
31
|
+
})]
|
|
32
|
+
}, a);
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
}) : null,
|
|
36
|
+
/* @__PURE__ */ r("div", {
|
|
37
|
+
className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between",
|
|
38
|
+
children: [/* @__PURE__ */ r("div", {
|
|
39
|
+
className: "min-w-0 flex items-start gap-3 lg:flex-1",
|
|
40
|
+
children: [l ? /* @__PURE__ */ n("div", {
|
|
41
|
+
className: "shrink-0 mt-1",
|
|
42
|
+
children: l
|
|
43
|
+
}) : null, /* @__PURE__ */ r("div", {
|
|
44
|
+
className: "min-w-0",
|
|
45
|
+
children: [/* @__PURE__ */ n("h1", {
|
|
46
|
+
className: "text-2xl font-semibold text-text-primary break-words sm:text-3xl",
|
|
47
|
+
children: a
|
|
48
|
+
}), o ? /* @__PURE__ */ n("p", {
|
|
49
|
+
className: "mt-1 text-sm text-text-secondary sm:text-base",
|
|
50
|
+
children: o
|
|
51
|
+
}) : null]
|
|
52
|
+
})]
|
|
53
|
+
}), s ? /* @__PURE__ */ n("div", {
|
|
54
|
+
"data-slot": "page-header-actions",
|
|
55
|
+
className: "flex flex-shrink-0 flex-wrap items-center gap-2",
|
|
56
|
+
children: s
|
|
57
|
+
}) : null]
|
|
58
|
+
}),
|
|
59
|
+
u ? /* @__PURE__ */ n("div", {
|
|
60
|
+
className: "mt-4",
|
|
61
|
+
children: u
|
|
62
|
+
}) : null
|
|
63
|
+
]
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { a as PageHeader };
|
package/dist/chrome/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
export { AppShellLayout } from './AppShellLayout';
|
|
47
|
+
export { PageHeader } from './PageHeader';
|
|
48
|
+
export type { PageHeaderBreadcrumbItem, PageHeaderProps } from './PageHeader';
|
|
47
49
|
export { HeaderBar } from './HeaderBar';
|
|
48
50
|
export { FooterBar } from './FooterBar';
|
|
49
51
|
export { Footer, DEFAULT_FOOTER_COLUMNS, DEFAULT_SOCIAL_LINKS } from './Footer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chrome/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAs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AC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/chrome.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { ShortcutHelpDialog as e } from "./chrome/ShortcutHelpDialog.js";
|
|
2
2
|
import { AppShellLayout as t } from "./chrome/AppShellLayout.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
|
|
3
|
+
import { PageHeader as n } from "./chrome/PageHeader.js";
|
|
4
|
+
import { HeaderBar as r } from "./chrome/HeaderBar.js";
|
|
5
|
+
import { FooterBar as i } from "./chrome/FooterBar.js";
|
|
6
|
+
import { PluginFooterStrip as a } from "./chrome/PluginFooterStrip.js";
|
|
7
|
+
import { DEFAULT_FOOTER_COLUMNS as o, DEFAULT_SOCIAL_LINKS as s, Footer as c } from "./chrome/Footer.js";
|
|
8
|
+
import { SideNavigation as l } from "./chrome/SideNavigation.js";
|
|
9
|
+
import { GlobalSearch as u } from "./chrome/GlobalSearch.js";
|
|
10
|
+
import { CommandPalette as d } from "./chrome/CommandPalette.js";
|
|
11
|
+
import { Breadcrumbs as f } from "./chrome/Breadcrumbs.js";
|
|
12
|
+
import { NavLink as p } from "./chrome/NavLink.js";
|
|
13
|
+
import { Tabs as m } from "./chrome/Tabs.js";
|
|
14
|
+
import { Sidebar as h } from "./chrome/Sidebar.js";
|
|
15
|
+
import { ProfileSwitcher as g } from "./chrome/ProfileSwitcher.js";
|
|
16
|
+
import { ProductSwitcher as _ } from "./chrome/ProductSwitcher.js";
|
|
17
|
+
import { LanguageSwitcher as v } from "./chrome/LanguageSwitcher.js";
|
|
18
|
+
import { ContextSwitcher as y } from "./chrome/ContextSwitcher.js";
|
|
19
|
+
import { GeographySwitcher as b } from "./chrome/GeographySwitcher.js";
|
|
20
|
+
import { NotificationCenter as x } from "./chrome/NotificationCenter.js";
|
|
21
|
+
import { LanguagePickerSheet as S } from "./chrome/LanguagePickerSheet.js";
|
|
22
|
+
import { ProductPickerSheet as C } from "./chrome/ProductPickerSheet.js";
|
|
23
|
+
import { AccountSwitcher as w } from "./chrome/AccountSwitcher.js";
|
|
24
|
+
import { AutoBreadcrumbs as T, registerBreadcrumbName as E, unregisterBreadcrumbName as D } from "./chrome/AutoBreadcrumbs.js";
|
|
25
|
+
import { ProductSideNav as O } from "./chrome/ProductSideNav.js";
|
|
26
|
+
import { DynamicFooter as k } from "./chrome/DynamicFooter.js";
|
|
27
|
+
import { PanelTabs as A } from "./chrome/PanelTabs.js";
|
|
28
|
+
import { PanelContainer as j } from "./chrome/PanelContainer.js";
|
|
29
|
+
import { StatusBar as M } from "./chrome/StatusBar.js";
|
|
30
|
+
import { PluginRoutes as N } from "./chrome/PluginRoutes.js";
|
|
31
|
+
import { PluginSettingsPage as P } from "./chrome/PluginSettingsPage.js";
|
|
32
|
+
import { PluginToolbar as F } from "./chrome/PluginToolbar.js";
|
|
33
|
+
import { PluginWidgetGrid as I } from "./chrome/PluginWidgetGrid.js";
|
|
34
|
+
import { PluginContextMenuTarget as L } from "./chrome/PluginContextMenuTarget.js";
|
|
35
|
+
export { w as AccountSwitcher, t as AppShellLayout, T as AutoBreadcrumbs, f as Breadcrumbs, d as CommandPalette, y as ContextSwitcher, o as DEFAULT_FOOTER_COLUMNS, s as DEFAULT_SOCIAL_LINKS, k as DynamicFooter, c as Footer, i as FooterBar, b as GeographySwitcher, u as GlobalSearch, r as HeaderBar, S as LanguagePickerSheet, v as LanguageSwitcher, p as NavLink, x as NotificationCenter, n as PageHeader, j as PanelContainer, A as PanelTabs, L as PluginContextMenuTarget, a as PluginFooterStrip, N as PluginRoutes, P as PluginSettingsPage, F as PluginToolbar, I as PluginWidgetGrid, C as ProductPickerSheet, O as ProductSideNav, _ as ProductSwitcher, g as ProfileSwitcher, e as ShortcutHelpDialog, l as SideNavigation, h as Sidebar, M as StatusBar, m as Tabs, E as registerBreadcrumbName, D as unregisterBreadcrumbName };
|
package/dist/form/FormLabel.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ declare const labelVariants: (props?: import('class-variance-authority/types').C
|
|
|
9
9
|
* FormLabel component props
|
|
10
10
|
*/
|
|
11
11
|
export interface FormLabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
|
|
12
|
-
/** Whether the field is required */
|
|
12
|
+
/** Whether the field is required. Renders a red asterisk. */
|
|
13
13
|
required?: boolean;
|
|
14
|
+
/** Whether the field is optional. Renders muted "(optional)" suffix. Ignored if `required`. */
|
|
15
|
+
optional?: boolean;
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
16
18
|
* FormLabel component - Accessible label for form fields
|
|
@@ -36,7 +38,7 @@ export interface FormLabelProps extends React.ComponentPropsWithoutRef<typeof La
|
|
|
36
38
|
* />
|
|
37
39
|
* ```
|
|
38
40
|
*/
|
|
39
|
-
export declare function FormLabel({ ref, className, required, children, ...props }: FormLabelProps & {
|
|
41
|
+
export declare function FormLabel({ ref, className, required, optional, children, ...props }: FormLabelProps & {
|
|
40
42
|
ref?: React.Ref<React.ElementRef<typeof LabelPrimitive.Root>>;
|
|
41
43
|
}): import("react/jsx-runtime").JSX.Element;
|
|
42
44
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../src/form/FormLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;GAEG;AACH,QAAA,MAAM,aAAa,oFAElB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,cACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,
|
|
1
|
+
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../src/form/FormLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;GAEG;AACH,QAAA,MAAM,aAAa,oFAElB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,cACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CAAC,EACxB,GAAG,EACH,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;CAAE,2CAqBpF"}
|
package/dist/form/FormLabel.js
CHANGED
|
@@ -6,18 +6,25 @@ import { cva as i } from "class-variance-authority";
|
|
|
6
6
|
import * as a from "@radix-ui/react-label";
|
|
7
7
|
//#region src/form/FormLabel.tsx
|
|
8
8
|
var o = i("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
9
|
-
function s({ ref: i, className: s, required: c,
|
|
10
|
-
let { error:
|
|
9
|
+
function s({ ref: i, className: s, required: c, optional: l, children: u, ...d }) {
|
|
10
|
+
let { error: f, formItemId: p } = t();
|
|
11
11
|
return /* @__PURE__ */ r(a.Root, {
|
|
12
12
|
ref: i,
|
|
13
|
-
className: e(o(),
|
|
14
|
-
htmlFor:
|
|
15
|
-
...
|
|
16
|
-
children: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
className: e(o(), f && "text-destructive", s),
|
|
14
|
+
htmlFor: p,
|
|
15
|
+
...d,
|
|
16
|
+
children: [
|
|
17
|
+
u,
|
|
18
|
+
c && /* @__PURE__ */ n("span", {
|
|
19
|
+
className: "ml-1 text-destructive",
|
|
20
|
+
"aria-label": "required",
|
|
21
|
+
children: "*"
|
|
22
|
+
}),
|
|
23
|
+
l && !c && /* @__PURE__ */ n("span", {
|
|
24
|
+
className: "ml-1 text-xs font-normal text-text-tertiary",
|
|
25
|
+
children: "(optional)"
|
|
26
|
+
})
|
|
27
|
+
]
|
|
21
28
|
});
|
|
22
29
|
}
|
|
23
30
|
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FormSectionProps {
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
|
+
actions?: React.ReactNode;
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
contentClassName?: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Canonical container for a group of related form fields.
|
|
14
|
+
* `collapsible` opens by default; use OptionalFields from fe-libs/ui for
|
|
15
|
+
* Advanced-class fields (closed by default + single-per-page convention).
|
|
16
|
+
*/
|
|
17
|
+
export declare function FormSection({ title, description, actions, collapsible, defaultOpen, className, contentClassName, children, }: FormSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=FormSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../../src/form/FormSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,OAAO,EACP,WAAmB,EACnB,WAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,QAAQ,GACT,EAAE,gBAAgB,2CAuElB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { cn as e } from "../shared-utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import * as t from "@radix-ui/react-accordion";
|
|
4
|
+
import { ChevronDownIcon as n } from "lucide-react";
|
|
5
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
|
+
//#region src/form/FormSection.tsx
|
|
7
|
+
function a({ title: a, description: o, actions: s, collapsible: c = !1, defaultOpen: l = !0, className: u, contentClassName: d, children: f }) {
|
|
8
|
+
if (!c) return /* @__PURE__ */ i("section", {
|
|
9
|
+
"data-slot": "form-section",
|
|
10
|
+
className: e("rounded-lg border border-border-default bg-bg-surface p-4 sm:p-6", u),
|
|
11
|
+
children: [/* @__PURE__ */ i("header", {
|
|
12
|
+
className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
|
|
13
|
+
children: [/* @__PURE__ */ i("div", {
|
|
14
|
+
className: "min-w-0",
|
|
15
|
+
children: [/* @__PURE__ */ r("h2", {
|
|
16
|
+
className: "text-base font-semibold text-text-primary",
|
|
17
|
+
children: a
|
|
18
|
+
}), o ? /* @__PURE__ */ r("p", {
|
|
19
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
20
|
+
children: o
|
|
21
|
+
}) : null]
|
|
22
|
+
}), s ? /* @__PURE__ */ r("div", {
|
|
23
|
+
className: "flex flex-shrink-0 items-center gap-2",
|
|
24
|
+
children: s
|
|
25
|
+
}) : null]
|
|
26
|
+
}), /* @__PURE__ */ r("div", {
|
|
27
|
+
className: e("space-y-4", d),
|
|
28
|
+
children: f
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
let p = "form-section";
|
|
32
|
+
return /* @__PURE__ */ r(t.Root, {
|
|
33
|
+
type: "single",
|
|
34
|
+
collapsible: !0,
|
|
35
|
+
defaultValue: l ? p : void 0,
|
|
36
|
+
"data-slot": "form-section",
|
|
37
|
+
className: e("rounded-lg border border-border-default bg-bg-surface", u),
|
|
38
|
+
children: /* @__PURE__ */ i(t.Item, {
|
|
39
|
+
value: p,
|
|
40
|
+
className: "border-b-0",
|
|
41
|
+
children: [/* @__PURE__ */ r(t.Header, {
|
|
42
|
+
className: "flex",
|
|
43
|
+
children: /* @__PURE__ */ i(t.Trigger, {
|
|
44
|
+
"data-slot": "form-section-trigger",
|
|
45
|
+
className: e("group flex w-full items-center justify-between gap-3 px-4 py-3 text-left transition-colors sm:px-6", "hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-bg/40", "rounded-lg min-h-11"),
|
|
46
|
+
children: [/* @__PURE__ */ i("div", {
|
|
47
|
+
className: "min-w-0",
|
|
48
|
+
children: [/* @__PURE__ */ r("div", {
|
|
49
|
+
className: "text-base font-semibold text-text-primary",
|
|
50
|
+
children: a
|
|
51
|
+
}), o ? /* @__PURE__ */ r("div", {
|
|
52
|
+
className: "text-sm text-text-secondary",
|
|
53
|
+
children: o
|
|
54
|
+
}) : null]
|
|
55
|
+
}), /* @__PURE__ */ i("div", {
|
|
56
|
+
className: "flex items-center gap-2 flex-shrink-0",
|
|
57
|
+
children: [s ? /* @__PURE__ */ r("div", {
|
|
58
|
+
onClick: (e) => e.stopPropagation(),
|
|
59
|
+
children: s
|
|
60
|
+
}) : null, /* @__PURE__ */ r(n, {
|
|
61
|
+
className: "size-4 shrink-0 text-text-secondary transition-transform duration-200 group-data-[state=open]:rotate-180",
|
|
62
|
+
"aria-hidden": "true"
|
|
63
|
+
})]
|
|
64
|
+
})]
|
|
65
|
+
})
|
|
66
|
+
}), /* @__PURE__ */ r(t.Content, {
|
|
67
|
+
"data-slot": "form-section-content",
|
|
68
|
+
className: "overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
69
|
+
children: /* @__PURE__ */ r("div", {
|
|
70
|
+
className: e("border-t border-border-subtle px-4 py-4 space-y-4 sm:px-6", d),
|
|
71
|
+
children: f
|
|
72
|
+
})
|
|
73
|
+
})]
|
|
74
|
+
})
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { a as FormSection };
|
package/dist/form/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { Form, FormProvider, useForm, useFormContext } from './Form';
|
|
|
2
2
|
export type { FormProps } from './Form';
|
|
3
3
|
export { FormField, FormItem, FormControl, useFormField } from './FormField';
|
|
4
4
|
export type { FormFieldProps, FormItemProps, FormControlProps } from './FormField';
|
|
5
|
+
export { FormSection } from './FormSection';
|
|
6
|
+
export type { FormSectionProps } from './FormSection';
|
|
5
7
|
export { FormLabel } from './FormLabel';
|
|
6
8
|
export type { FormLabelProps } from './FormLabel';
|
|
7
9
|
export { FormMessage } from './FormMessage';
|
package/dist/form/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/form/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACrE,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7E,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGnF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,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|
|
1
1
|
import { Form as e, FormProvider as t, useForm as n, useFormContext as r } from "./form/Form.js";
|
|
2
2
|
import { FormControl as i, FormField as a, FormItem as o, useFormField as s } from "./form/FormField.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
3
|
+
import { FormSection as c } from "./form/FormSection.js";
|
|
4
|
+
import { FormLabel as l } from "./form/FormLabel.js";
|
|
5
|
+
import { FormMessage as u } from "./form/FormMessage.js";
|
|
6
|
+
import { FormDescription as d } from "./form/FormDescription.js";
|
|
7
|
+
import { Input as f } from "./form/Input.js";
|
|
8
|
+
import { Textarea as p } from "./form/Textarea.js";
|
|
9
|
+
import { Select as m, SelectContent as h, SelectGroup as g, SelectItem as _, SelectLabel as v, SelectScrollDownButton as y, SelectScrollUpButton as b, SelectSeparator as x, SelectTrigger as S, SelectValue as C } from "./form/Select.js";
|
|
10
|
+
import { Checkbox as w } from "./form/Checkbox.js";
|
|
11
|
+
import { RadioGroup as T, RadioGroupItem as E } from "./form/Radio.js";
|
|
12
|
+
import { z as D } from "zod";
|
|
13
|
+
export { w as Checkbox, e as Form, i as FormControl, d as FormDescription, a as FormField, o as FormItem, l as FormLabel, u as FormMessage, t as FormProvider, c as FormSection, f as Input, T as RadioGroup, E as RadioGroupItem, m as Select, h as SelectContent, g as SelectGroup, _ as SelectItem, v as SelectLabel, y as SelectScrollDownButton, b as SelectScrollUpButton, x as SelectSeparator, S as SelectTrigger, C as SelectValue, p as Textarea, n as useForm, r as useFormContext, s as useFormField, D as z };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface SafeAreaViewProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
top?: boolean;
|
|
4
|
+
bottom?: boolean;
|
|
5
|
+
left?: boolean;
|
|
6
|
+
right?: boolean;
|
|
7
|
+
asMain?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Wraps content with iOS/Android safe-area-inset padding (Capacitor `--safe-*`
|
|
11
|
+
* vars or CSS `env(safe-area-inset-*)`, whichever is larger). Only use on
|
|
12
|
+
* full-screen pages — pages inside AppShellLayout inherit safe-area.
|
|
13
|
+
*/
|
|
14
|
+
export declare function SafeAreaView({ top, bottom, left, right, asMain, className, style, children, ...props }: SafeAreaViewProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=SafeAreaView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeAreaView.d.ts","sourceRoot":"","sources":["../../../src/shared/native/SafeAreaView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,GAAU,EACV,MAAa,EACb,IAAW,EACX,KAAY,EACZ,MAAc,EACd,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAuBnB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/shared/native/SafeAreaView.tsx
|
|
5
|
+
function n({ top: n = !0, bottom: r = !0, left: i = !0, right: a = !0, asMain: o = !1, className: s, style: c, children: l, ...u }) {
|
|
6
|
+
let d = o ? "main" : "div", f = {
|
|
7
|
+
paddingTop: n ? "max(var(--safe-top, 0px), env(safe-area-inset-top, 0px))" : void 0,
|
|
8
|
+
paddingBottom: r ? "max(var(--safe-bottom, 0px), env(safe-area-inset-bottom, 0px))" : void 0,
|
|
9
|
+
paddingLeft: i ? "max(var(--safe-left, 0px), env(safe-area-inset-left, 0px))" : void 0,
|
|
10
|
+
paddingRight: a ? "max(var(--safe-right, 0px), env(safe-area-inset-right, 0px))" : void 0,
|
|
11
|
+
...c
|
|
12
|
+
};
|
|
13
|
+
return /* @__PURE__ */ t(d, {
|
|
14
|
+
"data-slot": "safe-area-view",
|
|
15
|
+
className: e("w-full", s),
|
|
16
|
+
style: f,
|
|
17
|
+
...u,
|
|
18
|
+
children: l
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { n as SafeAreaView };
|
|
@@ -2,5 +2,6 @@ export type { AppState, AppStateEventDetail, BurdenoffNativeBridge, BurdenoffNat
|
|
|
2
2
|
export { getNativeBridge } from './bridge';
|
|
3
3
|
export { getPlatform, isAndroid, isIOS, isNative, isWeb } from './platform';
|
|
4
4
|
export { nativeConfirm, nativeCopyText, nativeImpact, nativeNotify, nativeOpenUrl, nativeShare, nativeToast, } from './consumers';
|
|
5
|
+
export { SafeAreaView, type SafeAreaViewProps } from './SafeAreaView';
|
|
5
6
|
export * from './hooks';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/native/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,yBAAyB,EACzB,aAAa,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,EACL,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/native/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,yBAAyB,EACzB,aAAa,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,EACL,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,SAAS,CAAC"}
|
package/dist/shared-hooks.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { useMediaQuery as e } from "./shared/hooks/useMediaQuery.js";
|
|
2
|
+
import { LogLevel as t } from "./shared/logger/types.js";
|
|
3
|
+
import { Logger as n } from "./shared/logger/Logger.js";
|
|
4
|
+
import { LogManager as ee, logManager as r } from "./shared/logger/LogManager.js";
|
|
5
|
+
import { ConsoleTransport as i } from "./shared/logger/ConsoleTransport.js";
|
|
6
|
+
import { usePWA as a } from "./shared/hooks/usePWA.js";
|
|
7
|
+
import { detectPlatform as o, formatKeyCombo as s, getDisplayKeysForPlatform as c, getShortcutLabel as l, isMac as u, isMobileDevice as d, isTabletDevice as f, matchesKeyCombo as p, normalizeKey as m, normalizePlatformCombo as h, parseKeyCombo as g, shouldEnableKeyboardShortcuts as _, shouldIgnoreShortcut as v } from "./shared/keyboard/utils.js";
|
|
8
|
+
import { useDebounce as y } from "./shared/hooks/useDebounce.js";
|
|
9
|
+
import { useThrottle as b } from "./shared/hooks/useThrottle.js";
|
|
10
10
|
import { BREAKPOINTS as x, useBreakpoint as S, useMobileBreakpoint as C } from "./shared/hooks/useBreakpoint.js";
|
|
11
11
|
import { useOnClickOutside as w, useOnClickOutsideWithRef as T } from "./shared/hooks/useOnClickOutside.js";
|
|
12
12
|
import { useKeyPress as E, useKeyboardShortcut as D } from "./shared/hooks/useKeyPress.js";
|
|
@@ -38,4 +38,4 @@ function ce() {
|
|
|
38
38
|
return e;
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
|
-
export { x as BREAKPOINTS,
|
|
41
|
+
export { x as BREAKPOINTS, i as ConsoleTransport, U as GLOBAL_SHORTCUT_CATEGORIES, t as LogLevel, ee as LogManager, n as Logger, R as MODIFIER_KEYS, $ as MicrofrontendContext, re as PLAN_USAGE_SNAPSHOT_EVENT, z as PLATFORM_TYPES, Z as QUOTA_EXHAUSTED_EVENT, W as createGlobalShortcuts, o as detectPlatform, Q as dispatchQuotaExhausted, s as formatKeyCombo, c as getDisplayKeysForPlatform, G as getGlobalShortcutsByCategory, l as getShortcutLabel, u as isMac, d as isMobileDevice, f as isTabletDevice, r as logManager, p as matchesKeyCombo, K as mergeShortcuts, m as normalizeKey, h as normalizePlatformCombo, g as parseKeyCombo, ie as publishPlanUsageSnapshot, _ as shouldEnableKeyboardShortcuts, v as shouldIgnoreShortcut, I as useAsync, L as useAsyncImmediate, S as useBreakpoint, N as useConditionalToggle, O as useCopyToClipboard, y as useDebounce, J as useHasAnimated, V as useHotkeys, E as useKeyPress, D as useKeyboardShortcut, B as useKeyboardShortcuts, k as useLocalStorage, q as useLogger, e as useMediaQuery, ce as useMicrofrontendContext, C as useMobileBreakpoint, w as useOnClickOutside, T as useOnClickOutsideWithRef, a as usePWA, A as usePrevious, j as usePreviousDistinct, M as usePreviousHistory, ne as useQuotaErrorToast, X as useRecordProductVisit, Y as useReferralAttribution, te as useSessionStorage, H as useShortcutHelp, b as useThrottle, P as useToggle, F as useToggleObject, ae as useUpgradePrompt };
|
package/dist/shared-native.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { getNativeBridge as e } from "./shared/native/bridge.js";
|
|
2
2
|
import { getPlatform as t, isAndroid as n, isIOS as r, isNative as i, isWeb as a } from "./shared/native/platform.js";
|
|
3
3
|
import { nativeConfirm as o, nativeCopyText as s, nativeImpact as c, nativeNotify as l, nativeOpenUrl as u, nativeShare as d, nativeToast as f } from "./shared/native/consumers.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
4
|
+
import { SafeAreaView as p } from "./shared/native/SafeAreaView.js";
|
|
5
|
+
import { useNativePlatform as m } from "./shared/native/hooks/useNativePlatform.js";
|
|
6
|
+
import { useSafeArea as h } from "./shared/native/hooks/useSafeArea.js";
|
|
7
|
+
import { useNativeKeyboard as g } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
8
|
+
import { useAppState as _ } from "./shared/native/hooks/useAppState.js";
|
|
9
|
+
import { useDeviceInfo as v } from "./shared/native/hooks/useDeviceInfo.js";
|
|
10
|
+
import { useHaptics as y } from "./shared/native/hooks/useHaptics.js";
|
|
11
|
+
import { useStatusBar as b } from "./shared/native/hooks/useStatusBar.js";
|
|
11
12
|
import "./shared/native/hooks/index.js";
|
|
12
|
-
export { e as getNativeBridge, t as getPlatform, n as isAndroid, r as isIOS, i as isNative, a as isWeb, o as nativeConfirm, s as nativeCopyText, c as nativeImpact, l as nativeNotify, u as nativeOpenUrl, d as nativeShare, f as nativeToast,
|
|
13
|
+
export { p as SafeAreaView, e as getNativeBridge, t as getPlatform, n as isAndroid, r as isIOS, i as isNative, a as isWeb, o as nativeConfirm, s as nativeCopyText, c as nativeImpact, l as nativeNotify, u as nativeOpenUrl, d as nativeShare, f as nativeToast, _ as useAppState, v as useDeviceInfo, y as useHaptics, g as useNativeKeyboard, m as useNativePlatform, h as useSafeArea, b as useStatusBar };
|