@burdenoff/fe-libs 2026.527.2 → 2026.527.4
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.js +18 -16
- package/dist/chrome/AccountSwitcher.js +10 -7
- package/dist/chrome/AutoBreadcrumbs.js +2 -0
- package/dist/chrome/Breadcrumbs.js +2 -0
- package/dist/chrome/CommandPalette.js +5 -3
- package/dist/chrome/ContextSwitcher.js +90 -338
- package/dist/chrome/DynamicFooter.js +7 -7
- package/dist/chrome/Footer.js +5 -5
- package/dist/chrome/GeographySwitcher.js +3 -3
- package/dist/chrome/GlobalSearch.js +73 -448
- package/dist/chrome/HeaderBar.js +6 -1
- package/dist/chrome/LanguagePickerSheet.js +1 -1
- package/dist/chrome/LanguageSwitcher.js +2 -2
- package/dist/chrome/NotificationCenter.js +69 -694
- package/dist/chrome/PanelTabs.js +7 -4
- package/dist/chrome/PluginContextMenuTarget.js +1 -1
- package/dist/chrome/ProductPickerSheet.js +4 -4
- package/dist/chrome/ProductSideNav.js +1 -1
- package/dist/chrome/ProductSwitcher.js +3 -3
- package/dist/chrome/ProfileSwitcher.js +13 -8
- package/dist/chrome/ShortcutHelpDialog.js +2 -1
- package/dist/chrome/SideNavigation.js +75 -239
- package/dist/chrome/Sidebar.js +1 -0
- package/dist/chrome/contextSwitcher/EmptyState.js +32 -0
- package/dist/chrome/contextSwitcher/OrganizationList.js +34 -0
- package/dist/chrome/contextSwitcher/ProjectList.js +34 -0
- package/dist/chrome/contextSwitcher/SearchInput.js +50 -0
- package/dist/chrome/contextSwitcher/TabButton.js +9 -0
- package/dist/chrome/contextSwitcher/TriggerButton.js +38 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.js +34 -0
- package/dist/chrome/contextSwitcher/icons.js +58 -0
- package/dist/chrome/contextSwitcher/useIsMobile.js +11 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +253 -0
- package/dist/chrome/globalSearch/CategoryTabs.js +28 -0
- package/dist/chrome/globalSearch/ResultsList.js +58 -0
- package/dist/chrome/globalSearch/SearchInput.js +28 -0
- package/dist/chrome/globalSearch/SearchModeBar.js +36 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.js +78 -0
- package/dist/chrome/globalSearch/utils.js +22 -0
- package/dist/chrome/notificationCenter/BellButton.js +27 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.js +129 -0
- package/dist/chrome/notificationCenter/NotificationFilters.js +67 -0
- package/dist/chrome/notificationCenter/NotificationFooter.js +23 -0
- package/dist/chrome/notificationCenter/NotificationHeader.js +75 -0
- package/dist/chrome/notificationCenter/NotificationList.js +75 -0
- package/dist/chrome/notificationCenter/NotificationPanel.js +19 -0
- package/dist/chrome/notificationCenter/SkeletonCard.js +18 -0
- package/dist/chrome/notificationCenter/constants.js +93 -0
- package/dist/chrome/notificationCenter/gql.js +58 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.js +149 -0
- package/dist/chrome/notificationCenter/usePanelChrome.js +36 -0
- package/dist/chrome/sideNavigation/CollapseToggle.js +29 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.js +25 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.js +79 -0
- package/dist/chrome/sideNavigation/SidebarHeader.js +29 -0
- package/dist/chrome/sideNavigation/helpers.js +19 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.js +45 -0
- package/dist/form/Checkbox.js +17 -15
- package/dist/form/FormDescription.js +9 -10
- package/dist/form/FormField.js +11 -12
- package/dist/form/FormLabel.js +13 -13
- package/dist/form/FormMessage.js +10 -11
- package/dist/form/Input.js +11 -10
- package/dist/form/Radio.js +25 -21
- package/dist/form/Select.js +81 -66
- package/dist/form/Textarea.js +10 -9
- package/dist/shared/components/AccessDenied.js +8 -4
- package/dist/shared/components/AppErrorBoundary.js +2 -0
- package/dist/shared/components/ContextConversationWidget.js +173 -767
- package/dist/shared/components/ErrorFallback.js +3 -0
- package/dist/shared/components/PWAInstallBanner.js +8 -4
- package/dist/shared/components/RequireAuth.js +4 -4
- package/dist/shared/components/SSORedirectGuard.js +1 -1
- package/dist/shared/components/contextConversationWidget/Composer.js +66 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.js +124 -0
- package/dist/shared/components/contextConversationWidget/MessageList.js +32 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.js +19 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.js +28 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.js +32 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.js +70 -0
- package/dist/shared/components/contextConversationWidget/queries.js +197 -0
- package/dist/shared/components/contextConversationWidget/types.js +10 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.js +57 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.js +26 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.js +34 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.js +45 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.js +44 -0
- package/dist/shared/components/contextConversationWidget/utils.js +56 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.js +21 -21
- package/dist/shared/geography/GeographyProvider.js +20 -20
- package/dist/shared/graphql/GatewayContext.js +1 -1
- package/dist/shared/motion/MotionList.js +1 -1
- package/dist/shared/pages/AiPage.js +3 -3
- package/dist/shared/pages/SearchPage.js +293 -1071
- package/dist/shared/pages/searchPage/ActiveFilterChips.js +176 -0
- package/dist/shared/pages/searchPage/FiltersPanel.js +329 -0
- package/dist/shared/pages/searchPage/ResultsList.js +119 -0
- package/dist/shared/pages/searchPage/ResultsStatus.js +32 -0
- package/dist/shared/pages/searchPage/SearchInput.js +31 -0
- package/dist/shared/pages/searchPage/SearchPagination.js +37 -0
- package/dist/shared/pages/searchPage/SearchToolbar.js +58 -0
- package/dist/shared/pages/searchPage/constants.js +155 -0
- package/dist/shared/pages/searchPage/utils.js +24 -0
- package/dist/shared/plugins/PluginRuntimeProvider.js +1 -1
- package/dist/shared/providers/shell/ActiveContextProvider.js +12 -12
- package/dist/shared/providers/shell/AppShellContext.js +1 -1
- package/dist/shared/providers/shell/AuthProvider.js +130 -384
- package/dist/shared/providers/shell/AuthTokenProvider.js +6 -6
- package/dist/shared/providers/shell/ContextManagerProvider.js +1 -1
- package/dist/shared/providers/shell/FeatureFlagsProvider.js +5 -5
- package/dist/shared/providers/shell/GlobalUiProvider.js +17 -17
- package/dist/shared/providers/shell/I18nProvider.js +15 -15
- package/dist/shared/providers/shell/PageConversationContextProvider.js +14 -14
- package/dist/shared/providers/shell/PermissionProvider.js +16 -16
- package/dist/shared/providers/shell/ShellUiProvider.js +13 -13
- package/dist/shared/providers/shell/ThemeProvider.js +9 -9
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.js +34 -0
- package/dist/shared/providers/shell/authProvider/jwt.js +13 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.js +38 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.js +170 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.js +86 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.js +32 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.js +35 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.js +37 -0
- package/dist/shared/tours/TourPlayer.js +1 -0
- package/dist/shared/tours/TourPlayerProvider.js +1 -1
- package/dist/shared/tours/TourTooltip.js +3 -0
- package/dist/shared/tours/TourTrigger.js +86 -259
- package/dist/shared/tours/ToursContext.js +108 -398
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.js +48 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.js +68 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.js +36 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.js +47 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.js +30 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.js +22 -0
- package/dist/shared/tours/toursContext/errors.js +18 -0
- package/dist/shared/tours/toursContext/gql.js +152 -0
- package/dist/shared/tours/toursContext/route.js +20 -0
- package/dist/shared/tours/toursContext/session.js +19 -0
- package/dist/shared/tours/toursContext/useIdleReady.js +18 -0
- package/dist/shared/tours/toursContext/useTourMutations.js +118 -0
- package/dist/shared-events.js +3 -3
- package/dist/shared-hooks.js +1 -1
- package/dist/storage/SaveToFilesButton.js +3 -3
- package/dist/storage/SaveToFilesDialog.js +1 -1
- package/dist/tag/TagBadge.js +1 -1
- package/dist/tag/TagsWidget.js +81 -226
- package/dist/tag/tagsWidget/AddTagTrigger.js +14 -0
- package/dist/tag/tagsWidget/TagBadgeList.js +17 -0
- package/dist/tag/tagsWidget/TagSearchPopover.js +80 -0
- package/dist/tag/tagsWidget/operations.js +64 -0
- package/dist/tag/tagsWidget/useVocabResolver.js +30 -0
- package/dist/ui/card.js +44 -39
- package/dist/ui/dropdown-menu.js +82 -66
- package/dist/ui/input.js +10 -10
- package/dist/ui/label.js +13 -11
- package/dist/ui/select.js +80 -66
- package/dist/ui/table.js +61 -54
- package/dist/ui/textarea.js +9 -9
- package/dist/ui/tooltip.js +13 -11
- package/package.json +1 -1
package/dist/form/FormLabel.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
2
|
import { useFormField as t } from "./FormField.js";
|
|
3
|
-
import
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { cva as
|
|
6
|
-
import * as
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { cva as i } from "class-variance-authority";
|
|
6
|
+
import * as a from "@radix-ui/react-label";
|
|
7
7
|
//#region src/form/FormLabel.tsx
|
|
8
|
-
var
|
|
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, children: l, ...u }) {
|
|
9
10
|
let { error: d, formItemId: f } = t();
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
ref:
|
|
12
|
-
className: e(
|
|
11
|
+
return /* @__PURE__ */ r(a.Root, {
|
|
12
|
+
ref: i,
|
|
13
|
+
className: e(o(), d && "text-destructive", s),
|
|
13
14
|
htmlFor: f,
|
|
14
|
-
...
|
|
15
|
-
children: [
|
|
15
|
+
...u,
|
|
16
|
+
children: [l, c && /* @__PURE__ */ n("span", {
|
|
16
17
|
className: "ml-1 text-destructive",
|
|
17
18
|
"aria-label": "required",
|
|
18
19
|
children: "*"
|
|
19
20
|
})]
|
|
20
21
|
});
|
|
21
|
-
}
|
|
22
|
-
c.displayName = "FormLabel";
|
|
22
|
+
}
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { s as FormLabel };
|
package/dist/form/FormMessage.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
2
|
import { useFormField as t } from "./FormField.js";
|
|
3
|
-
import
|
|
4
|
-
import { jsx as
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
5
|
//#region src/form/FormMessage.tsx
|
|
6
|
-
|
|
7
|
-
let { error: s, formMessageId: c } = t(), l = s ? String(s?.message) :
|
|
8
|
-
return l ? /* @__PURE__ */
|
|
9
|
-
ref:
|
|
6
|
+
function r({ ref: r, className: i, children: a, ...o }) {
|
|
7
|
+
let { error: s, formMessageId: c } = t(), l = s ? String(s?.message) : a;
|
|
8
|
+
return l ? /* @__PURE__ */ n("p", {
|
|
9
|
+
ref: r,
|
|
10
10
|
id: c,
|
|
11
|
-
className: e("text-sm font-medium text-destructive",
|
|
11
|
+
className: e("text-sm font-medium text-destructive", i),
|
|
12
12
|
role: "alert",
|
|
13
13
|
"aria-live": "polite",
|
|
14
|
-
...
|
|
14
|
+
...o,
|
|
15
15
|
children: l
|
|
16
16
|
}) : null;
|
|
17
|
-
}
|
|
18
|
-
i.displayName = "FormMessage";
|
|
17
|
+
}
|
|
19
18
|
//#endregion
|
|
20
|
-
export {
|
|
19
|
+
export { r as FormMessage };
|
package/dist/form/Input.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import
|
|
3
|
-
import { jsx as
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region src/form/Input.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
function n({ ref: n, className: r, type: i, ...a }) {
|
|
6
|
+
return /* @__PURE__ */ t("input", {
|
|
7
|
+
type: i,
|
|
8
|
+
className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors", "file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground", "placeholder:text-muted-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", r),
|
|
9
|
+
ref: n,
|
|
10
|
+
...a
|
|
11
|
+
});
|
|
12
|
+
}
|
|
12
13
|
//#endregion
|
|
13
|
-
export {
|
|
14
|
+
export { n as Input };
|
package/dist/form/Radio.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import
|
|
3
|
-
import { Circle as
|
|
4
|
-
import { jsx as
|
|
5
|
-
import * as
|
|
2
|
+
import "react";
|
|
3
|
+
import { Circle as t } from "lucide-react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import * as r from "@radix-ui/react-radio-group";
|
|
6
6
|
//#region src/form/Radio.tsx
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
className: "
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
function i({ ref: t, className: i, ...a }) {
|
|
8
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
9
|
+
className: e("grid gap-2", i),
|
|
10
|
+
...a,
|
|
11
|
+
ref: t
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
i.displayName = r.Root.displayName;
|
|
15
|
+
function a({ ref: i, className: a, ...o }) {
|
|
16
|
+
return /* @__PURE__ */ n(r.Item, {
|
|
17
|
+
ref: i,
|
|
18
|
+
className: e("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow", "focus:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", a),
|
|
19
|
+
...o,
|
|
20
|
+
children: /* @__PURE__ */ n(r.Indicator, {
|
|
21
|
+
className: "flex items-center justify-center",
|
|
22
|
+
children: /* @__PURE__ */ n(t, { className: "size-3.5 fill-primary" })
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
a.displayName = r.Item.displayName;
|
|
23
27
|
//#endregion
|
|
24
|
-
export {
|
|
28
|
+
export { i as RadioGroup, a as RadioGroupItem };
|
package/dist/form/Select.js
CHANGED
|
@@ -1,69 +1,84 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import
|
|
3
|
-
import { Check as
|
|
4
|
-
import { jsx as
|
|
5
|
-
import * as
|
|
2
|
+
import "react";
|
|
3
|
+
import { Check as t, ChevronDown as n, ChevronUp as r } from "lucide-react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import * as o from "@radix-ui/react-select";
|
|
6
6
|
//#region src/form/Select.tsx
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
children: /* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
})
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
7
|
+
var s = o.Root, c = o.Group, l = o.Value;
|
|
8
|
+
function u({ ref: t, className: r, children: s, ...c }) {
|
|
9
|
+
return /* @__PURE__ */ a(o.Trigger, {
|
|
10
|
+
ref: t,
|
|
11
|
+
className: e("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus:outline-none focus:ring-1 focus:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "[&>span]:line-clamp-1", r),
|
|
12
|
+
...c,
|
|
13
|
+
children: [s, /* @__PURE__ */ i(o.Icon, {
|
|
14
|
+
asChild: !0,
|
|
15
|
+
children: /* @__PURE__ */ i(n, { className: "size-4 opacity-50" })
|
|
16
|
+
})]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
u.displayName = o.Trigger.displayName;
|
|
20
|
+
function d({ ref: t, className: n, ...a }) {
|
|
21
|
+
return /* @__PURE__ */ i(o.ScrollUpButton, {
|
|
22
|
+
ref: t,
|
|
23
|
+
className: e("flex cursor-default items-center justify-center py-1", n),
|
|
24
|
+
...a,
|
|
25
|
+
children: /* @__PURE__ */ i(r, { className: "size-4" })
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
d.displayName = o.ScrollUpButton.displayName;
|
|
29
|
+
function f({ ref: t, className: r, ...a }) {
|
|
30
|
+
return /* @__PURE__ */ i(o.ScrollDownButton, {
|
|
31
|
+
ref: t,
|
|
32
|
+
className: e("flex cursor-default items-center justify-center py-1", r),
|
|
33
|
+
...a,
|
|
34
|
+
children: /* @__PURE__ */ i(n, { className: "size-4" })
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
f.displayName = o.ScrollDownButton.displayName;
|
|
38
|
+
function p({ ref: t, className: n, children: r, position: s = "popper", ...c }) {
|
|
39
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ a(o.Content, {
|
|
40
|
+
ref: t,
|
|
41
|
+
className: e("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", s === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", n),
|
|
42
|
+
position: s,
|
|
43
|
+
...c,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ i(d, {}),
|
|
46
|
+
/* @__PURE__ */ i(o.Viewport, {
|
|
47
|
+
className: e("p-1", s === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
48
|
+
children: r
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ i(f, {})
|
|
51
|
+
]
|
|
52
|
+
}) });
|
|
53
|
+
}
|
|
54
|
+
p.displayName = o.Content.displayName;
|
|
55
|
+
function m({ ref: t, className: n, ...r }) {
|
|
56
|
+
return /* @__PURE__ */ i(o.Label, {
|
|
57
|
+
ref: t,
|
|
58
|
+
className: e("px-2 py-1.5 text-sm font-semibold", n),
|
|
59
|
+
...r
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
m.displayName = o.Label.displayName;
|
|
63
|
+
function h({ ref: n, className: r, children: s, ...c }) {
|
|
64
|
+
return /* @__PURE__ */ a(o.Item, {
|
|
65
|
+
ref: n,
|
|
66
|
+
className: e("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r),
|
|
67
|
+
...c,
|
|
68
|
+
children: [/* @__PURE__ */ i("span", {
|
|
69
|
+
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
70
|
+
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
|
|
71
|
+
}), /* @__PURE__ */ i(o.ItemText, { children: s })]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
h.displayName = o.Item.displayName;
|
|
75
|
+
function g({ ref: t, className: n, ...r }) {
|
|
76
|
+
return /* @__PURE__ */ i(o.Separator, {
|
|
77
|
+
ref: t,
|
|
78
|
+
className: e("-mx-1 my-1 h-px bg-muted", n),
|
|
79
|
+
...r
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
g.displayName = o.Separator.displayName;
|
|
68
83
|
//#endregion
|
|
69
|
-
export {
|
|
84
|
+
export { s as Select, p as SelectContent, c as SelectGroup, h as SelectItem, m as SelectLabel, f as SelectScrollDownButton, d as SelectScrollUpButton, g as SelectSeparator, u as SelectTrigger, l as SelectValue };
|
package/dist/form/Textarea.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import
|
|
3
|
-
import { jsx as
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region src/form/Textarea.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
function n({ ref: n, className: r, ...i }) {
|
|
6
|
+
return /* @__PURE__ */ t("textarea", {
|
|
7
|
+
className: e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "resize-y", r),
|
|
8
|
+
ref: n,
|
|
9
|
+
...i
|
|
10
|
+
});
|
|
11
|
+
}
|
|
11
12
|
//#endregion
|
|
12
|
-
export {
|
|
13
|
+
export { n as Textarea };
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
//#region src/shared/components/AccessDenied.tsx
|
|
3
3
|
function n() {
|
|
4
4
|
return /* @__PURE__ */ e("svg", {
|
|
5
|
-
className: "
|
|
5
|
+
className: "size-12 text-status-error-text",
|
|
6
6
|
fill: "none",
|
|
7
7
|
viewBox: "0 0 24 24",
|
|
8
8
|
stroke: "currentColor",
|
|
@@ -16,7 +16,7 @@ function n() {
|
|
|
16
16
|
}
|
|
17
17
|
function r() {
|
|
18
18
|
return /* @__PURE__ */ e("svg", {
|
|
19
|
-
className: "
|
|
19
|
+
className: "size-5 text-status-error-text",
|
|
20
20
|
fill: "none",
|
|
21
21
|
viewBox: "0 0 24 24",
|
|
22
22
|
stroke: "currentColor",
|
|
@@ -35,7 +35,7 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
|
|
|
35
35
|
className: "bg-bg-surface border border-border-default rounded-lg p-8 max-w-md w-full text-center shadow-sm",
|
|
36
36
|
children: [
|
|
37
37
|
/* @__PURE__ */ e("div", {
|
|
38
|
-
className: "
|
|
38
|
+
className: "size-16 mx-auto mb-6 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
|
|
39
39
|
children: s ?? /* @__PURE__ */ e(n, {})
|
|
40
40
|
}),
|
|
41
41
|
/* @__PURE__ */ e("h1", {
|
|
@@ -53,10 +53,12 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
|
|
|
53
53
|
(c || l) && /* @__PURE__ */ t("div", {
|
|
54
54
|
className: "flex flex-col sm:flex-row gap-3 justify-center mt-6",
|
|
55
55
|
children: [l && /* @__PURE__ */ e("button", {
|
|
56
|
+
type: "button",
|
|
56
57
|
onClick: l.onClick,
|
|
57
58
|
className: "px-4 py-2 text-action-secondary-text bg-action-secondary-bg border border-border-default rounded-md hover:bg-action-secondary-bg-hover transition-colors",
|
|
58
59
|
children: l.label
|
|
59
60
|
}), c && /* @__PURE__ */ e("button", {
|
|
61
|
+
type: "button",
|
|
60
62
|
onClick: c.onClick,
|
|
61
63
|
className: "px-4 py-2 text-action-primary-text bg-action-primary-bg rounded-md hover:bg-action-primary-bg-hover transition-colors",
|
|
62
64
|
children: c.label
|
|
@@ -75,7 +77,7 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
|
|
|
75
77
|
className: `bg-bg-surface border border-border-default rounded-lg p-6 text-center ${d}`,
|
|
76
78
|
children: [
|
|
77
79
|
/* @__PURE__ */ e("div", {
|
|
78
|
-
className: "
|
|
80
|
+
className: "size-12 mx-auto mb-4 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
|
|
79
81
|
children: s ?? /* @__PURE__ */ e(n, {})
|
|
80
82
|
}),
|
|
81
83
|
/* @__PURE__ */ e("h2", {
|
|
@@ -93,10 +95,12 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
|
|
|
93
95
|
(c || l) && /* @__PURE__ */ t("div", {
|
|
94
96
|
className: "flex flex-col sm:flex-row gap-2 justify-center mt-4",
|
|
95
97
|
children: [l && /* @__PURE__ */ e("button", {
|
|
98
|
+
type: "button",
|
|
96
99
|
onClick: l.onClick,
|
|
97
100
|
className: "px-3 py-1.5 text-sm text-action-secondary-text bg-action-secondary-bg border border-border-default rounded hover:bg-action-secondary-bg-hover transition-colors",
|
|
98
101
|
children: l.label
|
|
99
102
|
}), c && /* @__PURE__ */ e("button", {
|
|
103
|
+
type: "button",
|
|
100
104
|
onClick: c.onClick,
|
|
101
105
|
className: "px-3 py-1.5 text-sm text-action-primary-text bg-action-primary-bg rounded hover:bg-action-primary-bg-hover transition-colors",
|
|
102
106
|
children: c.label
|
|
@@ -134,6 +134,7 @@ var i = class extends e {
|
|
|
134
134
|
justifyContent: "center"
|
|
135
135
|
},
|
|
136
136
|
children: [/* @__PURE__ */ t("button", {
|
|
137
|
+
type: "button",
|
|
137
138
|
onClick: this.handleReload,
|
|
138
139
|
style: {
|
|
139
140
|
padding: "0.75rem 1.5rem",
|
|
@@ -153,6 +154,7 @@ var i = class extends e {
|
|
|
153
154
|
},
|
|
154
155
|
children: "Reload Application"
|
|
155
156
|
}), r() && /* @__PURE__ */ t("button", {
|
|
157
|
+
type: "button",
|
|
156
158
|
onClick: () => {
|
|
157
159
|
this.setState({
|
|
158
160
|
hasError: !1,
|