@devalok/shilp-sutra 0.8.4 → 0.9.0
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/_chunks/avatar.js +50 -0
- package/dist/_chunks/button.js +95 -0
- package/dist/_chunks/card.js +40 -0
- package/dist/_chunks/checkbox.js +14 -0
- package/dist/_chunks/form.js +27 -0
- package/dist/_chunks/primitives.js +6965 -0
- package/dist/_chunks/sidebar.js +592 -0
- package/dist/_chunks/spinner.js +34 -0
- package/dist/_chunks/tiptap.js +15254 -0
- package/dist/_chunks/tooltip.js +13 -0
- package/dist/_chunks/tree-view.js +304 -0
- package/dist/_chunks/use-calendar.js +990 -0
- package/dist/_chunks/utils.js +15 -0
- package/dist/_chunks/vendor.js +5823 -0
- package/dist/composed/avatar-group.js +20 -20
- package/dist/composed/command-palette.js +1 -1
- package/dist/composed/confirm-dialog.js +5 -5
- package/dist/composed/content-card.d.ts +1 -1
- package/dist/composed/content-card.js +6 -6
- package/dist/composed/date-picker/index.js +13 -0
- package/dist/composed/empty-state.js +10 -10
- package/dist/composed/error-boundary.js +2 -2
- package/dist/composed/global-loading.js +4 -4
- package/dist/composed/index.js +45 -53
- package/dist/composed/loading-skeleton.js +2 -2
- package/dist/composed/member-picker.js +5 -5
- package/dist/composed/page-header.js +4 -4
- package/dist/composed/page-skeletons.js +1 -1
- package/dist/composed/priority-indicator.js +6 -6
- package/dist/composed/rich-text-editor.js +422 -209
- package/dist/composed/schedule-view.js +1 -1
- package/dist/composed/simple-tooltip.js +6 -6
- package/dist/composed/status-badge.d.ts +1 -1
- package/dist/composed/status-badge.js +2 -2
- package/dist/shell/bottom-navbar.js +1 -1
- package/dist/shell/notification-center.js +2 -2
- package/dist/shell/notification-preferences.js +32 -33
- package/dist/shell/sidebar.js +24 -24
- package/dist/shell/top-bar.js +22 -22
- package/dist/ui/accordion.js +17 -17
- package/dist/ui/alert-dialog.js +29 -29
- package/dist/ui/alert.d.ts +2 -2
- package/dist/ui/alert.js +65 -44
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/autocomplete.js +11 -11
- package/dist/ui/avatar.d.ts +1 -1
- package/dist/ui/avatar.js +67 -25
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.js +115 -91
- package/dist/ui/banner.d.ts +1 -1
- package/dist/ui/banner.js +5 -5
- package/dist/ui/breadcrumb.js +14 -14
- package/dist/ui/button-group.js +30 -15
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/button.js +114 -71
- package/dist/ui/card.js +66 -22
- package/dist/ui/charts/index.js +1221 -18
- package/dist/ui/checkbox.js +25 -5
- package/dist/ui/chip.d.ts +4 -4
- package/dist/ui/chip.js +2 -2
- package/dist/ui/code.js +1 -1
- package/dist/ui/collapsible.js +5 -5
- package/dist/ui/color-input.js +11 -11
- package/dist/ui/combobox.js +12 -12
- package/dist/ui/container.js +4 -4
- package/dist/ui/context-menu.js +37 -37
- package/dist/ui/data-table-toolbar.js +18 -18
- package/dist/ui/data-table.js +2 -2
- package/dist/ui/dialog.js +33 -33
- package/dist/ui/dropdown-menu.js +60 -60
- package/dist/ui/file-upload.js +1 -1
- package/dist/ui/form.js +36 -15
- package/dist/ui/hover-card.js +7 -7
- package/dist/ui/icon-button.js +9 -9
- package/dist/ui/index.js +523 -325
- package/dist/ui/input-otp.d.ts +2 -2
- package/dist/ui/input-otp.js +14 -14
- package/dist/ui/input.js +56 -28
- package/dist/ui/label.js +18 -4
- package/dist/ui/lib/utils.js +4 -5
- package/dist/ui/link.js +9 -9
- package/dist/ui/menubar.js +81 -81
- package/dist/ui/navigation-menu.js +42 -42
- package/dist/ui/number-input.js +13 -13
- package/dist/ui/pagination.js +5 -5
- package/dist/ui/popover.js +9 -9
- package/dist/ui/progress.d.ts +1 -1
- package/dist/ui/progress.js +15 -15
- package/dist/ui/radio.js +10 -10
- package/dist/ui/search-input.js +5 -5
- package/dist/ui/segmented-control.js +91 -83
- package/dist/ui/select.js +52 -52
- package/dist/ui/separator.js +20 -5
- package/dist/ui/sheet.js +28 -28
- package/dist/ui/sidebar.js +36 -560
- package/dist/ui/skeleton.d.ts +1 -1
- package/dist/ui/skeleton.js +9 -9
- package/dist/ui/slider.js +11 -11
- package/dist/ui/spinner.js +37 -2
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stat-card.js +1 -1
- package/dist/ui/stepper.js +15 -15
- package/dist/ui/switch.js +22 -3
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.js +59 -32
- package/dist/ui/text.js +2 -2
- package/dist/ui/textarea.js +7 -7
- package/dist/ui/toast.d.ts +1 -1
- package/dist/ui/toast.js +28 -28
- package/dist/ui/toggle-group.js +11 -11
- package/dist/ui/toggle.js +9 -9
- package/dist/ui/tooltip.js +17 -6
- package/dist/ui/transitions.js +68 -58
- package/dist/ui/tree-view/index.js +7 -0
- package/dist/ui/visually-hidden.js +3 -3
- package/llms-full.txt +1 -1
- package/llms.txt +7 -0
- package/package.json +656 -706
- package/dist/_virtual/client.js +0 -5
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/react-dom-client.development.js +0 -5
- package/dist/_virtual/react-dom-client.production.js +0 -5
- package/dist/_virtual/scheduler.development.js +0 -5
- package/dist/_virtual/scheduler.production.js +0 -5
- package/dist/composed/date-picker/calendar-grid.js +0 -194
- package/dist/composed/date-picker/date-picker.js +0 -124
- package/dist/composed/date-picker/date-range-picker.js +0 -167
- package/dist/composed/date-picker/date-time-picker.js +0 -193
- package/dist/composed/date-picker/month-picker.js +0 -53
- package/dist/composed/date-picker/presets.js +0 -84
- package/dist/composed/date-picker/time-picker.js +0 -181
- package/dist/composed/date-picker/use-calendar.js +0 -17
- package/dist/composed/date-picker/year-picker.js +0 -45
- package/dist/composed/extensions/emoji-suggestion.js +0 -119
- package/dist/composed/extensions/file-attachment.js +0 -55
- package/dist/composed/extensions/mention-suggestion.js +0 -79
- package/dist/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.js +0 -40141
- package/dist/node_modules/.pnpm/@emoji-mart_react@1.1.1_emoji-mart@5.6.0_react@19.2.4/node_modules/@emoji-mart/react/dist/module.js +0 -17
- package/dist/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.js +0 -2958
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js +0 -17062
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js +0 -9790
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js +0 -20
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js +0 -237
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js +0 -234
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js +0 -11
- package/dist/primitives/_internal/number.js +0 -6
- package/dist/primitives/_internal/primitive.js +0 -9
- package/dist/primitives/_internal/react-arrow.js +0 -13
- package/dist/primitives/_internal/react-collection.js +0 -48
- package/dist/primitives/_internal/react-compose-refs.js +0 -29
- package/dist/primitives/_internal/react-context.js +0 -76
- package/dist/primitives/_internal/react-direction.js +0 -10
- package/dist/primitives/_internal/react-dismissable-layer.js +0 -103
- package/dist/primitives/_internal/react-focus-guards.js +0 -17
- package/dist/primitives/_internal/react-focus-scope.js +0 -137
- package/dist/primitives/_internal/react-id.js +0 -14
- package/dist/primitives/_internal/react-popper.js +0 -137
- package/dist/primitives/_internal/react-portal.js +0 -16
- package/dist/primitives/_internal/react-presence.js +0 -71
- package/dist/primitives/_internal/react-primitive.js +0 -36
- package/dist/primitives/_internal/react-use-callback-ref.js +0 -13
- package/dist/primitives/_internal/react-use-controllable-state.js +0 -44
- package/dist/primitives/_internal/react-use-escape-keydown.js +0 -14
- package/dist/primitives/_internal/react-use-is-hydrated.js +0 -15
- package/dist/primitives/_internal/react-use-layout-effect.js +0 -6
- package/dist/primitives/_internal/react-use-previous.js +0 -8
- package/dist/primitives/_internal/react-use-size.js +0 -27
- package/dist/primitives/react-accordion.js +0 -239
- package/dist/primitives/react-alert-dialog.js +0 -127
- package/dist/primitives/react-aspect-ratio.js +0 -43
- package/dist/primitives/react-avatar.js +0 -75
- package/dist/primitives/react-checkbox.js +0 -251
- package/dist/primitives/react-collapsible.js +0 -120
- package/dist/primitives/react-context-menu.js +0 -240
- package/dist/primitives/react-dialog.js +0 -262
- package/dist/primitives/react-dropdown-menu.js +0 -227
- package/dist/primitives/react-hover-card.js +0 -187
- package/dist/primitives/react-label.js +0 -20
- package/dist/primitives/react-menu.js +0 -652
- package/dist/primitives/react-menubar.js +0 -355
- package/dist/primitives/react-navigation-menu.js +0 -607
- package/dist/primitives/react-popover.js +0 -243
- package/dist/primitives/react-progress.js +0 -84
- package/dist/primitives/react-radio-group.js +0 -238
- package/dist/primitives/react-roving-focus.js +0 -183
- package/dist/primitives/react-select.js +0 -862
- package/dist/primitives/react-separator.js +0 -24
- package/dist/primitives/react-slider.js +0 -437
- package/dist/primitives/react-slot.js +0 -70
- package/dist/primitives/react-switch.js +0 -132
- package/dist/primitives/react-tabs.js +0 -163
- package/dist/primitives/react-toast.js +0 -446
- package/dist/primitives/react-toggle-group.js +0 -137
- package/dist/primitives/react-toggle.js +0 -33
- package/dist/primitives/react-tooltip.js +0 -338
- package/dist/primitives/react-visually-hidden.js +0 -32
- package/dist/ui/charts/_internal/animation.js +0 -18
- package/dist/ui/charts/_internal/axes.js +0 -42
- package/dist/ui/charts/_internal/colors.js +0 -21
- package/dist/ui/charts/_internal/grid-lines.js +0 -43
- package/dist/ui/charts/_internal/legend.js +0 -29
- package/dist/ui/charts/_internal/tooltip.js +0 -39
- package/dist/ui/charts/_internal/types.js +0 -10
- package/dist/ui/charts/area-chart.js +0 -245
- package/dist/ui/charts/bar-chart.js +0 -153
- package/dist/ui/charts/chart-container.js +0 -27
- package/dist/ui/charts/gauge-chart.js +0 -72
- package/dist/ui/charts/line-chart.js +0 -163
- package/dist/ui/charts/pie-chart.js +0 -132
- package/dist/ui/charts/radar-chart.js +0 -223
- package/dist/ui/charts/sparkline.js +0 -124
- package/dist/ui/lib/motion.js +0 -32
- package/dist/ui/lib/use-reduced-motion.js +0 -15
- package/dist/ui/lib/use-ripple.js +0 -14
- package/dist/ui/tree-view/tree-item.js +0 -139
- package/dist/ui/tree-view/tree-view.js +0 -140
- package/dist/ui/tree-view/use-tree.js +0 -38
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs as w, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import * as $ from "react";
|
|
4
4
|
import { startOfWeek as S, addDays as E, format as u, isSameDay as D, isToday as I, getHours as N, getMinutes as v, differenceInMinutes as A } from "date-fns";
|
|
5
|
-
import {
|
|
5
|
+
import { c as y } from "../_chunks/utils.js";
|
|
6
6
|
const O = {
|
|
7
7
|
primary: "bg-interactive-subtle border-interactive text-interactive",
|
|
8
8
|
success: "bg-success-surface border-success text-success-text",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
3
|
+
import { T as s, a, b as T, c as m } from "../_chunks/tooltip.js";
|
|
4
|
+
const n = ({
|
|
5
5
|
content: i,
|
|
6
6
|
side: t = "top",
|
|
7
7
|
align: r = "center",
|
|
8
8
|
delayDuration: e = 300,
|
|
9
9
|
children: l
|
|
10
|
-
}) => /* @__PURE__ */ o(
|
|
10
|
+
}) => /* @__PURE__ */ o(s, { delayDuration: e, children: /* @__PURE__ */ p(a, { children: [
|
|
11
11
|
/* @__PURE__ */ o(T, { asChild: !0, children: l }),
|
|
12
|
-
/* @__PURE__ */ o(
|
|
12
|
+
/* @__PURE__ */ o(m, { side: t, align: r, children: i })
|
|
13
13
|
] }) });
|
|
14
|
-
|
|
14
|
+
n.displayName = "SimpleTooltip";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
n as SimpleTooltip
|
|
17
17
|
};
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const statusBadgeVariants: (props?: ({
|
|
4
4
|
status?: "active" | "completed" | "pending" | "approved" | "rejected" | "blocked" | "cancelled" | "draft" | null | undefined;
|
|
5
|
-
color?: "error" | "
|
|
5
|
+
color?: "error" | "info" | "success" | "warning" | "neutral" | null | undefined;
|
|
6
6
|
size?: "sm" | "md" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
interface StatusBadgeBaseProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children' | 'color'> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { m as y } from "../_chunks/vendor.js";
|
|
4
|
+
import { c as r } from "../_chunks/utils.js";
|
|
5
5
|
const g = y(
|
|
6
6
|
"inline-flex items-center gap-ds-02b rounded-ds-full font-body",
|
|
7
7
|
{
|
|
@@ -4,7 +4,7 @@ import * as g from "react";
|
|
|
4
4
|
import { useState as N } from "react";
|
|
5
5
|
import { useLink as p } from "./link-context.js";
|
|
6
6
|
import { IconX as y, IconDots as w } from "@tabler/icons-react";
|
|
7
|
-
import {
|
|
7
|
+
import { c as r } from "../_chunks/utils.js";
|
|
8
8
|
function k({
|
|
9
9
|
item: a,
|
|
10
10
|
isActive: n,
|
|
@@ -3,9 +3,9 @@ import { jsxs as r, jsx as t, Fragment as S } from "react/jsx-runtime";
|
|
|
3
3
|
import * as H from "react";
|
|
4
4
|
import { useRef as z, useCallback as b } from "react";
|
|
5
5
|
import { Popover as B, PopoverTrigger as G, PopoverContent as L } from "../ui/popover.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as O, b as X, c as _ } from "../_chunks/tooltip.js";
|
|
7
7
|
import { IconBell as q, IconChecks as F, IconInbox as J, IconX as Q } from "@tabler/icons-react";
|
|
8
|
-
import {
|
|
8
|
+
import { c as x } from "../_chunks/utils.js";
|
|
9
9
|
function U(e) {
|
|
10
10
|
const l = Date.now(), i = new Date(e).getTime(), d = l - i, c = Math.floor(d / 1e3), n = Math.floor(c / 60), a = Math.floor(n / 60), m = Math.floor(a / 24);
|
|
11
11
|
return c < 60 ? "just now" : n < 60 ? `${n}m ago` : a < 24 ? `${a}h ago` : m < 7 ? `${m}d ago` : new Date(e).toLocaleDateString(void 0, {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as t, Fragment as
|
|
3
|
-
import { useState as
|
|
4
|
-
import {
|
|
5
|
-
import { Select as d, SelectTrigger as o, SelectValue as m, SelectContent as h, SelectItem as
|
|
6
|
-
import { Dialog as
|
|
7
|
-
import {
|
|
8
|
-
import { Card as K, CardHeader as Q, CardTitle as W, CardContent as X } from "../ui/card.js";
|
|
2
|
+
import { jsxs as t, Fragment as M, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { useState as n } from "react";
|
|
4
|
+
import { B as b } from "../_chunks/button.js";
|
|
5
|
+
import { Select as d, SelectTrigger as o, SelectValue as m, SelectContent as h, SelectItem as s } from "../ui/select.js";
|
|
6
|
+
import { Dialog as V, DialogContent as D, DialogHeader as z, DialogTitle as q, DialogDescription as J } from "../ui/dialog.js";
|
|
7
|
+
import { C as K, a as Q, b as W, c as X, S as k } from "../_chunks/card.js";
|
|
9
8
|
import { IconPlus as Y, IconTrash as Z, IconMessage as $, IconBell as U } from "@tabler/icons-react";
|
|
10
|
-
import {
|
|
9
|
+
import { c as ee } from "../_chunks/utils.js";
|
|
11
10
|
const _ = {
|
|
12
11
|
IN_APP: { label: "In-App", icon: /* @__PURE__ */ e(U, {}) },
|
|
13
12
|
GOOGLE_CHAT: { label: "Google Chat", icon: /* @__PURE__ */ e($, {}) }
|
|
@@ -26,7 +25,7 @@ function le({
|
|
|
26
25
|
onDelete: p,
|
|
27
26
|
className: T
|
|
28
27
|
}) {
|
|
29
|
-
const [E,
|
|
28
|
+
const [E, i] = n(!1), [N, C] = n("global"), [I, w] = n("IN_APP"), [y, A] = n("INFO"), [P, S] = n(!1), [j, O] = n(!1), R = async () => {
|
|
30
29
|
if (g) {
|
|
31
30
|
O(!0);
|
|
32
31
|
try {
|
|
@@ -35,7 +34,7 @@ function le({
|
|
|
35
34
|
channel: I,
|
|
36
35
|
minTier: y,
|
|
37
36
|
muted: P
|
|
38
|
-
}),
|
|
37
|
+
}), i(!1), F();
|
|
39
38
|
} catch (l) {
|
|
40
39
|
console.error("[Preferences] Failed to save:", l);
|
|
41
40
|
} finally {
|
|
@@ -43,13 +42,13 @@ function le({
|
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
44
|
}, F = () => {
|
|
46
|
-
C("global"), w("IN_APP"), A("INFO"),
|
|
47
|
-
},
|
|
45
|
+
C("global"), w("IN_APP"), A("INFO"), S(!1);
|
|
46
|
+
}, B = (l) => {
|
|
48
47
|
if (!l) return "Global (all projects)";
|
|
49
|
-
const
|
|
50
|
-
return (
|
|
48
|
+
const a = v.find((c) => c.id === l);
|
|
49
|
+
return (a == null ? void 0 : a.title) || "Unknown project";
|
|
51
50
|
};
|
|
52
|
-
return /* @__PURE__ */ t(
|
|
51
|
+
return /* @__PURE__ */ t(M, { children: [
|
|
53
52
|
/* @__PURE__ */ t(K, { className: T, children: [
|
|
54
53
|
/* @__PURE__ */ t(Q, { className: "flex flex-row items-center justify-between space-y-0 pb-ds-04", children: [
|
|
55
54
|
/* @__PURE__ */ e(W, { className: "text-ds-md font-semibold", children: "Notification Preferences" }),
|
|
@@ -58,7 +57,7 @@ function le({
|
|
|
58
57
|
{
|
|
59
58
|
size: "sm",
|
|
60
59
|
variant: "outline",
|
|
61
|
-
onClick: () =>
|
|
60
|
+
onClick: () => i(!0),
|
|
62
61
|
children: [
|
|
63
62
|
/* @__PURE__ */ e(Y, { className: "mr-ds-02b h-ico-sm w-ico-sm" }),
|
|
64
63
|
"Add Rule"
|
|
@@ -66,20 +65,20 @@ function le({
|
|
|
66
65
|
}
|
|
67
66
|
)
|
|
68
67
|
] }),
|
|
69
|
-
/* @__PURE__ */ e(X, { children: L ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ e("div", { className: "h-ico-md w-ico-md animate-spin rounded-ds-full border-2 border-border border-t-interactive" }) }) : f.length === 0 ? /* @__PURE__ */ e("div", { className: "py-ds-07 text-center", children: /* @__PURE__ */ e("p", { className: "text-ds-md text-text-placeholder", children: "No custom preferences set. All notifications are delivered by default." }) }) : /* @__PURE__ */ e("div", { className: "flex flex-col", children: f.map((l,
|
|
70
|
-
const
|
|
68
|
+
/* @__PURE__ */ e(X, { children: L ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ e("div", { className: "h-ico-md w-ico-md animate-spin rounded-ds-full border-2 border-border border-t-interactive" }) }) : f.length === 0 ? /* @__PURE__ */ e("div", { className: "py-ds-07 text-center", children: /* @__PURE__ */ e("p", { className: "text-ds-md text-text-placeholder", children: "No custom preferences set. All notifications are delivered by default." }) }) : /* @__PURE__ */ e("div", { className: "flex flex-col", children: f.map((l, a) => {
|
|
69
|
+
const c = _[l.channel] || _.IN_APP;
|
|
71
70
|
return /* @__PURE__ */ t(
|
|
72
71
|
"div",
|
|
73
72
|
{
|
|
74
73
|
className: ee(
|
|
75
74
|
"flex items-center gap-ds-05 py-ds-04",
|
|
76
|
-
|
|
75
|
+
a < f.length - 1 && "border-b border-border"
|
|
77
76
|
),
|
|
78
77
|
children: [
|
|
79
|
-
/* @__PURE__ */ e("div", { className: "flex h-ds-sm w-ds-sm shrink-0 items-center justify-center rounded-ds-lg bg-layer-02", children: /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm text-text-secondary", "aria-hidden": "true", children:
|
|
78
|
+
/* @__PURE__ */ e("div", { className: "flex h-ds-sm w-ds-sm shrink-0 items-center justify-center rounded-ds-lg bg-layer-02", children: /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm text-text-secondary", "aria-hidden": "true", children: c.icon }) }),
|
|
80
79
|
/* @__PURE__ */ t("div", { className: "min-w-0 flex-1", children: [
|
|
81
|
-
/* @__PURE__ */ e("p", { className: "text-ds-md font-medium text-text-primary", children:
|
|
82
|
-
/* @__PURE__ */ e("p", { className: "text-ds-sm text-text-placeholder", children:
|
|
80
|
+
/* @__PURE__ */ e("p", { className: "text-ds-md font-medium text-text-primary", children: c.label }),
|
|
81
|
+
/* @__PURE__ */ e("p", { className: "text-ds-sm text-text-placeholder", children: B(l.projectId) })
|
|
83
82
|
] }),
|
|
84
83
|
/* @__PURE__ */ t(
|
|
85
84
|
d,
|
|
@@ -88,7 +87,7 @@ function le({
|
|
|
88
87
|
onValueChange: (r) => x == null ? void 0 : x(l, r),
|
|
89
88
|
children: [
|
|
90
89
|
/* @__PURE__ */ e(o, { className: "h-ds-xs-plus w-[130px] text-ds-sm", children: /* @__PURE__ */ e(m, {}) }),
|
|
91
|
-
/* @__PURE__ */ e(h, { children: Object.entries(G).map(([r,
|
|
90
|
+
/* @__PURE__ */ e(h, { children: Object.entries(G).map(([r, H]) => /* @__PURE__ */ e(s, { value: r, children: H }, r)) })
|
|
92
91
|
]
|
|
93
92
|
}
|
|
94
93
|
),
|
|
@@ -117,7 +116,7 @@ function le({
|
|
|
117
116
|
);
|
|
118
117
|
}) }) })
|
|
119
118
|
] }),
|
|
120
|
-
/* @__PURE__ */ e(
|
|
119
|
+
/* @__PURE__ */ e(V, { open: E, onOpenChange: i, children: /* @__PURE__ */ t(D, { className: "sm:max-w-md", children: [
|
|
121
120
|
/* @__PURE__ */ t(z, { children: [
|
|
122
121
|
/* @__PURE__ */ e(q, { children: "Add Notification Rule" }),
|
|
123
122
|
/* @__PURE__ */ e(J, { children: "Customize how you receive notifications for a specific channel and project." })
|
|
@@ -128,8 +127,8 @@ function le({
|
|
|
128
127
|
/* @__PURE__ */ t(d, { value: N, onValueChange: C, children: [
|
|
129
128
|
/* @__PURE__ */ e(o, { id: "pref-scope", children: /* @__PURE__ */ e(m, { placeholder: "Select scope" }) }),
|
|
130
129
|
/* @__PURE__ */ t(h, { children: [
|
|
131
|
-
/* @__PURE__ */ e(
|
|
132
|
-
v.map((l) => /* @__PURE__ */ e(
|
|
130
|
+
/* @__PURE__ */ e(s, { value: "global", children: "Global (all projects)" }),
|
|
131
|
+
v.map((l) => /* @__PURE__ */ e(s, { value: l.id, children: l.title }, l.id))
|
|
133
132
|
] })
|
|
134
133
|
] })
|
|
135
134
|
] }),
|
|
@@ -138,8 +137,8 @@ function le({
|
|
|
138
137
|
/* @__PURE__ */ t(d, { value: I, onValueChange: w, children: [
|
|
139
138
|
/* @__PURE__ */ e(o, { id: "pref-channel", children: /* @__PURE__ */ e(m, {}) }),
|
|
140
139
|
/* @__PURE__ */ t(h, { children: [
|
|
141
|
-
/* @__PURE__ */ e(
|
|
142
|
-
/* @__PURE__ */ e(
|
|
140
|
+
/* @__PURE__ */ e(s, { value: "IN_APP", children: "In-App" }),
|
|
141
|
+
/* @__PURE__ */ e(s, { value: "GOOGLE_CHAT", children: "Google Chat" })
|
|
143
142
|
] })
|
|
144
143
|
] })
|
|
145
144
|
] }),
|
|
@@ -147,12 +146,12 @@ function le({
|
|
|
147
146
|
/* @__PURE__ */ e("label", { htmlFor: "pref-min-tier", className: "text-ds-sm font-medium text-text-secondary", children: "Minimum Tier" }),
|
|
148
147
|
/* @__PURE__ */ t(d, { value: y, onValueChange: A, children: [
|
|
149
148
|
/* @__PURE__ */ e(o, { id: "pref-min-tier", children: /* @__PURE__ */ e(m, {}) }),
|
|
150
|
-
/* @__PURE__ */ e(h, { children: Object.entries(G).map(([l,
|
|
149
|
+
/* @__PURE__ */ e(h, { children: Object.entries(G).map(([l, a]) => /* @__PURE__ */ e(s, { value: l, children: a }, l)) })
|
|
151
150
|
] })
|
|
152
151
|
] }),
|
|
153
152
|
/* @__PURE__ */ t("div", { className: "flex items-center justify-between", children: [
|
|
154
153
|
/* @__PURE__ */ e("label", { htmlFor: "pref-muted", className: "text-ds-md text-text-primary", children: "Mute this channel" }),
|
|
155
|
-
/* @__PURE__ */ e(k, { id: "pref-muted", checked: P, onCheckedChange:
|
|
154
|
+
/* @__PURE__ */ e(k, { id: "pref-muted", checked: P, onCheckedChange: S })
|
|
156
155
|
] }),
|
|
157
156
|
/* @__PURE__ */ t("div", { className: "flex justify-end gap-ds-03 pt-ds-03", children: [
|
|
158
157
|
/* @__PURE__ */ e(
|
|
@@ -160,7 +159,7 @@ function le({
|
|
|
160
159
|
{
|
|
161
160
|
variant: "ghost",
|
|
162
161
|
onClick: () => {
|
|
163
|
-
|
|
162
|
+
i(!1), F();
|
|
164
163
|
},
|
|
165
164
|
children: "Cancel"
|
|
166
165
|
}
|
|
@@ -169,8 +168,8 @@ function le({
|
|
|
169
168
|
b,
|
|
170
169
|
{
|
|
171
170
|
onClick: R,
|
|
172
|
-
disabled:
|
|
173
|
-
children:
|
|
171
|
+
disabled: j,
|
|
172
|
+
children: j ? "Saving..." : "Save Rule"
|
|
174
173
|
}
|
|
175
174
|
)
|
|
176
175
|
] })
|
package/dist/shell/sidebar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import * as N from "react";
|
|
4
4
|
import { useLink as m } from "./link-context.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { S as u, a as S, b as o, c as y, d as A, e as w, f as L, g as j, h as C, i as M, j as k } from "../_chunks/sidebar.js";
|
|
6
|
+
import { A as G, a as F, b as I } from "../_chunks/avatar.js";
|
|
7
|
+
import { c as p } from "../_chunks/utils.js";
|
|
8
8
|
function R({ item: t, isActive: a }) {
|
|
9
9
|
const i = m();
|
|
10
|
-
return /* @__PURE__ */ e(
|
|
10
|
+
return /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
11
11
|
k,
|
|
12
12
|
{
|
|
13
13
|
asChild: !0,
|
|
@@ -17,7 +17,7 @@ function R({ item: t, isActive: a }) {
|
|
|
17
17
|
"relative gap-ds-04 rounded-ds-lg px-ds-04 py-ds-03 transition-colors",
|
|
18
18
|
a ? "bg-interactive-subtle text-interactive after:absolute after:right-0 after:top-0 after:h-full after:w-ds-01 after:rounded-l-ds-full after:bg-interactive after:content-['']" : "text-text-helper hover:bg-layer-02 hover:text-text-primary"
|
|
19
19
|
),
|
|
20
|
-
children: /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ s(
|
|
21
21
|
i,
|
|
22
22
|
{
|
|
23
23
|
href: t.href,
|
|
@@ -40,15 +40,15 @@ const z = N.forwardRef(
|
|
|
40
40
|
logo: h,
|
|
41
41
|
footerLinks: n = [],
|
|
42
42
|
className: x,
|
|
43
|
-
...
|
|
44
|
-
},
|
|
43
|
+
...b
|
|
44
|
+
}, f) => {
|
|
45
45
|
var c;
|
|
46
|
-
const
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
const g = m(), v = (r, l = !1) => l || r === "/" ? t === r : t.startsWith(r);
|
|
47
|
+
return /* @__PURE__ */ s(
|
|
48
48
|
u,
|
|
49
49
|
{
|
|
50
|
-
...
|
|
51
|
-
ref:
|
|
50
|
+
...b,
|
|
51
|
+
ref: f,
|
|
52
52
|
"aria-label": "Main navigation",
|
|
53
53
|
className: p(
|
|
54
54
|
"z-raised hidden h-full flex-col border-r border-border bg-layer-01 md:flex",
|
|
@@ -56,35 +56,35 @@ const z = N.forwardRef(
|
|
|
56
56
|
),
|
|
57
57
|
children: [
|
|
58
58
|
/* @__PURE__ */ e(S, { className: "px-ds-06 py-ds-06", children: h ?? /* @__PURE__ */ e("span", { className: "text-ds-lg font-semibold text-text-primary", children: "Logo" }) }),
|
|
59
|
-
a && /* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
59
|
+
a && /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-04 px-ds-06 pb-ds-05", children: [
|
|
60
|
+
/* @__PURE__ */ s(G, { className: "h-ds-sm-plus w-ds-sm-plus", children: [
|
|
61
61
|
a.image ? /* @__PURE__ */ e(F, { src: a.image, alt: a.name }) : null,
|
|
62
62
|
/* @__PURE__ */ e(I, { className: "bg-layer-03 text-text-primary", children: (c = a.name) == null ? void 0 : c.charAt(0).toUpperCase() })
|
|
63
63
|
] }),
|
|
64
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ s("div", { className: "flex min-w-0 flex-col", children: [
|
|
65
65
|
/* @__PURE__ */ e("span", { className: "truncate text-ds-md text-text-primary", children: a.name }),
|
|
66
66
|
/* @__PURE__ */ e("span", { className: "truncate text-ds-sm text-text-placeholder", children: a.designation || a.role })
|
|
67
67
|
] })
|
|
68
68
|
] }),
|
|
69
69
|
/* @__PURE__ */ e(o, {}),
|
|
70
|
-
/* @__PURE__ */ e(y, { className: "no-scrollbar px-ds-04", children: i.map((r,
|
|
71
|
-
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
/* @__PURE__ */ e(
|
|
74
|
-
/* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(
|
|
70
|
+
/* @__PURE__ */ e(y, { className: "no-scrollbar px-ds-04", children: i.map((r, l) => /* @__PURE__ */ s("div", { children: [
|
|
71
|
+
l > 0 && /* @__PURE__ */ e(o, {}),
|
|
72
|
+
/* @__PURE__ */ s(A, { children: [
|
|
73
|
+
/* @__PURE__ */ e(w, { className: "px-ds-04 text-ds-sm text-text-placeholder", children: r.label }),
|
|
74
|
+
/* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(j, { children: r.items.map((d) => /* @__PURE__ */ e(
|
|
75
75
|
R,
|
|
76
76
|
{
|
|
77
77
|
item: d,
|
|
78
|
-
isActive:
|
|
78
|
+
isActive: v(d.href, d.exact)
|
|
79
79
|
},
|
|
80
80
|
d.href
|
|
81
81
|
)) }) })
|
|
82
82
|
] })
|
|
83
83
|
] }, r.label)) }),
|
|
84
|
-
n.length > 0 && /* @__PURE__ */ e(
|
|
85
|
-
|
|
84
|
+
n.length > 0 && /* @__PURE__ */ e(C, { className: "px-ds-06 py-ds-05", children: /* @__PURE__ */ e("div", { className: "flex items-center justify-start gap-ds-03", children: n.map((r, l) => /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-03", children: [
|
|
85
|
+
l > 0 && /* @__PURE__ */ e("div", { className: "h-[16px] w-px bg-border" }),
|
|
86
86
|
/* @__PURE__ */ e(
|
|
87
|
-
|
|
87
|
+
g,
|
|
88
88
|
{
|
|
89
89
|
className: "text-ds-md text-text-placeholder transition-colors hover:text-interactive",
|
|
90
90
|
href: r.href,
|
package/dist/shell/top-bar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as s, jsx as e, Fragment as
|
|
2
|
+
import { jsxs as s, jsx as e, Fragment as D } from "react/jsx-runtime";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import { useColorMode as
|
|
5
|
-
import {
|
|
6
|
-
import { DropdownMenu as U, DropdownMenuTrigger as B, DropdownMenuContent as E, DropdownMenuItem as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { useColorMode as I } from "../hooks/use-color-mode.js";
|
|
5
|
+
import { A as j, a as K, b as F } from "../_chunks/avatar.js";
|
|
6
|
+
import { DropdownMenu as U, DropdownMenuTrigger as B, DropdownMenuContent as E, DropdownMenuItem as a, DropdownMenuSeparator as w } from "../ui/dropdown-menu.js";
|
|
7
|
+
import { a as c, b as n, c as i } from "../_chunks/tooltip.js";
|
|
8
|
+
import { k as R } from "../_chunks/sidebar.js";
|
|
9
9
|
import { IconSearch as z, IconSparkles as L, IconUser as O, IconSun as P, IconMoon as q, IconLogout as G } from "@tabler/icons-react";
|
|
10
|
-
import {
|
|
10
|
+
import { c as d } from "../_chunks/utils.js";
|
|
11
11
|
const H = g.forwardRef(
|
|
12
12
|
({
|
|
13
13
|
pageTitle: m = "",
|
|
@@ -18,12 +18,12 @@ const H = g.forwardRef(
|
|
|
18
18
|
onAiChatClick: x,
|
|
19
19
|
mobileLogo: b,
|
|
20
20
|
notificationSlot: N,
|
|
21
|
-
userMenuItems:
|
|
21
|
+
userMenuItems: o,
|
|
22
22
|
className: C,
|
|
23
23
|
...k
|
|
24
24
|
}, v) => {
|
|
25
25
|
var u;
|
|
26
|
-
const { colorMode: f, toggleColorMode: M } =
|
|
26
|
+
const { colorMode: f, toggleColorMode: M } = I(), S = () => {
|
|
27
27
|
h ? h() : document.dispatchEvent(
|
|
28
28
|
new KeyboardEvent("keydown", {
|
|
29
29
|
key: "k",
|
|
@@ -37,7 +37,7 @@ const H = g.forwardRef(
|
|
|
37
37
|
{
|
|
38
38
|
...k,
|
|
39
39
|
ref: v,
|
|
40
|
-
className:
|
|
40
|
+
className: d(
|
|
41
41
|
"z-sticky flex w-full items-center border-b border-border bg-layer-01 px-ds-05 py-ds-04 md:px-ds-06",
|
|
42
42
|
C
|
|
43
43
|
),
|
|
@@ -77,7 +77,7 @@ const H = g.forwardRef(
|
|
|
77
77
|
] }),
|
|
78
78
|
l && /* @__PURE__ */ s(U, { children: [
|
|
79
79
|
/* @__PURE__ */ s(c, { children: [
|
|
80
|
-
/* @__PURE__ */ e(n, { asChild: !0, children: /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e("button", { type: "button", className: "flex items-center gap-ds-03 outline-none", children: /* @__PURE__ */ s(
|
|
80
|
+
/* @__PURE__ */ e(n, { asChild: !0, children: /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e("button", { type: "button", className: "flex items-center gap-ds-03 outline-none", children: /* @__PURE__ */ s(j, { className: "h-ds-sm-plus w-ds-sm-plus cursor-pointer", children: [
|
|
81
81
|
l.image ? /* @__PURE__ */ e(K, { src: l.image, alt: l.name }) : null,
|
|
82
82
|
/* @__PURE__ */ e(F, { className: "bg-layer-02 text-text-primary", children: (u = l.name) == null ? void 0 : u.charAt(0).toUpperCase() })
|
|
83
83
|
] }) }) }) }),
|
|
@@ -95,7 +95,7 @@ const H = g.forwardRef(
|
|
|
95
95
|
l.email && /* @__PURE__ */ e("p", { className: "text-ds-sm text-text-placeholder", children: l.email })
|
|
96
96
|
] }),
|
|
97
97
|
/* @__PURE__ */ s(
|
|
98
|
-
|
|
98
|
+
a,
|
|
99
99
|
{
|
|
100
100
|
className: "flex w-full cursor-pointer items-center gap-ds-03 px-ds-05 py-ds-04 hover:bg-layer-02",
|
|
101
101
|
onClick: () => t == null ? void 0 : t("/profile"),
|
|
@@ -105,19 +105,19 @@ const H = g.forwardRef(
|
|
|
105
105
|
]
|
|
106
106
|
}
|
|
107
107
|
),
|
|
108
|
-
|
|
109
|
-
const
|
|
108
|
+
o == null ? void 0 : o.map((r, T) => {
|
|
109
|
+
const A = {
|
|
110
110
|
error: "text-error",
|
|
111
111
|
success: "text-success",
|
|
112
112
|
warning: "text-warning",
|
|
113
113
|
info: "text-info"
|
|
114
|
-
}, y = r.color ?
|
|
114
|
+
}, y = r.color ? A[r.color] ?? "text-text-secondary" : "text-text-secondary";
|
|
115
115
|
return /* @__PURE__ */ s(g.Fragment, { children: [
|
|
116
116
|
r.separator && /* @__PURE__ */ e(w, { className: "bg-border" }),
|
|
117
117
|
/* @__PURE__ */ s(
|
|
118
|
-
|
|
118
|
+
a,
|
|
119
119
|
{
|
|
120
|
-
className:
|
|
120
|
+
className: d(
|
|
121
121
|
"flex w-full cursor-pointer items-center gap-ds-03 px-ds-05 py-ds-04 hover:bg-layer-02",
|
|
122
122
|
r.disabled && "pointer-events-none opacity-[0.38]"
|
|
123
123
|
),
|
|
@@ -126,8 +126,8 @@ const H = g.forwardRef(
|
|
|
126
126
|
r.disabled || (r.onClick ? r.onClick() : r.href && (t == null || t(r.href)));
|
|
127
127
|
},
|
|
128
128
|
children: [
|
|
129
|
-
r.icon && /* @__PURE__ */ e("span", { className:
|
|
130
|
-
/* @__PURE__ */ e("span", { className:
|
|
129
|
+
r.icon && /* @__PURE__ */ e("span", { className: d("[&>svg]:h-ico-sm [&>svg]:w-ico-sm", y), children: r.icon }),
|
|
130
|
+
/* @__PURE__ */ e("span", { className: d("text-ds-md", y), children: r.label }),
|
|
131
131
|
r.badge != null && r.badge !== !1 && (typeof r.badge == "string" ? /* @__PURE__ */ e("span", { className: "ml-auto inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-ds-full bg-error px-ds-02 text-[10px] font-semibold leading-none text-text-on-color", children: r.badge }) : /* @__PURE__ */ e("span", { className: "ml-auto h-[8px] w-[8px] rounded-ds-full bg-error" }))
|
|
132
132
|
]
|
|
133
133
|
}
|
|
@@ -135,7 +135,7 @@ const H = g.forwardRef(
|
|
|
135
135
|
] }, r.label + T);
|
|
136
136
|
}),
|
|
137
137
|
/* @__PURE__ */ s(
|
|
138
|
-
|
|
138
|
+
a,
|
|
139
139
|
{
|
|
140
140
|
className: "flex w-full cursor-pointer items-center gap-ds-03 px-ds-05 py-ds-04 hover:bg-layer-02",
|
|
141
141
|
onClick: M,
|
|
@@ -145,10 +145,10 @@ const H = g.forwardRef(
|
|
|
145
145
|
]
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
p && /* @__PURE__ */ s(
|
|
148
|
+
p && /* @__PURE__ */ s(D, { children: [
|
|
149
149
|
/* @__PURE__ */ e(w, { className: "bg-border" }),
|
|
150
150
|
/* @__PURE__ */ s(
|
|
151
|
-
|
|
151
|
+
a,
|
|
152
152
|
{
|
|
153
153
|
className: "flex w-full cursor-pointer items-center gap-ds-03 px-ds-05 py-ds-04 hover:bg-layer-02",
|
|
154
154
|
onClick: p,
|
package/dist/ui/accordion.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
2
|
+
import { jsx as a, jsxs as c } from "react/jsx-runtime";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { c as m, H as l, T as n, d, e as f } from "../_chunks/primitives.js";
|
|
5
5
|
import { IconChevronDown as p } from "@tabler/icons-react";
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
6
|
+
import { c as i } from "../_chunks/utils.js";
|
|
7
|
+
const y = f, u = r.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ a(
|
|
8
|
+
m,
|
|
9
9
|
{
|
|
10
10
|
ref: t,
|
|
11
11
|
className: i("border-b border-border-subtle", e),
|
|
@@ -13,10 +13,10 @@ const h = m, u = s.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
|
13
13
|
}
|
|
14
14
|
));
|
|
15
15
|
u.displayName = "AccordionItem";
|
|
16
|
-
const x =
|
|
17
|
-
|
|
16
|
+
const x = r.forwardRef(({ className: e, children: o, ...t }, s) => /* @__PURE__ */ a(l, { className: "flex", children: /* @__PURE__ */ c(
|
|
17
|
+
n,
|
|
18
18
|
{
|
|
19
|
-
ref:
|
|
19
|
+
ref: s,
|
|
20
20
|
className: i(
|
|
21
21
|
"flex flex-1 items-center justify-between py-ds-05 text-left text-ds-md font-medium transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus [&[data-state=open]>svg]:rotate-180",
|
|
22
22
|
e
|
|
@@ -24,23 +24,23 @@ const x = s.forwardRef(({ className: e, children: o, ...t }, a) => /* @__PURE__
|
|
|
24
24
|
...t,
|
|
25
25
|
children: [
|
|
26
26
|
o,
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ a(p, { className: "h-ico-sm w-ico-sm shrink-0 text-text-secondary transition-transform duration-moderate-02" })
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
) }));
|
|
31
|
-
x.displayName =
|
|
32
|
-
const N =
|
|
33
|
-
|
|
31
|
+
x.displayName = n.displayName;
|
|
32
|
+
const N = r.forwardRef(({ className: e, children: o, ...t }, s) => /* @__PURE__ */ a(
|
|
33
|
+
d,
|
|
34
34
|
{
|
|
35
|
-
ref:
|
|
35
|
+
ref: s,
|
|
36
36
|
className: "transition-all duration-moderate-02 ease-productive-standard data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down w-full overflow-hidden text-ds-md",
|
|
37
37
|
...t,
|
|
38
|
-
children: /* @__PURE__ */
|
|
38
|
+
children: /* @__PURE__ */ a("div", { className: i("pb-ds-05 pt-0", e), children: o })
|
|
39
39
|
}
|
|
40
40
|
));
|
|
41
|
-
N.displayName =
|
|
41
|
+
N.displayName = d.displayName;
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
y as Accordion,
|
|
44
44
|
N as AccordionContent,
|
|
45
45
|
u as AccordionItem,
|
|
46
46
|
x as AccordionTrigger
|