@devalok/shilp-sutra 0.6.0 → 0.6.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.
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const contentCardVariants: (props?: ({
4
- variant?: "outline" | "ghost" | "default" | null | undefined;
4
+ variant?: "default" | "outline" | "ghost" | null | undefined;
5
5
  padding?: "default" | "none" | "compact" | "spacious" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface ContentCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof contentCardVariants> {
@@ -44,4 +44,5 @@ export { SimpleTooltip } from './simple-tooltip';
44
44
  export type { SimpleTooltipProps } from './simple-tooltip';
45
45
  export { ScheduleView } from './schedule-view';
46
46
  export type { ScheduleViewProps, ScheduleEvent } from './schedule-view';
47
+ export { getInitials } from './lib/string-utils';
47
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAElF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACpJ,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAE9M,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC7F,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAElF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACpJ,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAE9M,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC7F,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEvE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
@@ -4,56 +4,58 @@ import { ContentCard as a, contentCardVariants as m } from "./content-card.js";
4
4
  import { StatusBadge as i, statusBadgeVariants as x } from "./status-badge.js";
5
5
  import { EmptyState as n } from "./empty-state.js";
6
6
  import { AvatarGroup as d } from "./avatar-group.js";
7
- import { PriorityIndicator as c } from "./priority-indicator.js";
7
+ import { PriorityIndicator as s } from "./priority-indicator.js";
8
8
  import { RichTextEditor as P, RichTextViewer as S } from "./rich-text-editor.js";
9
- import { BoardSkeleton as T, CardSkeleton as D, ListSkeleton as g, TableSkeleton as h } from "./loading-skeleton.js";
9
+ import { BoardSkeleton as T, CardSkeleton as g, ListSkeleton as D, TableSkeleton as h } from "./loading-skeleton.js";
10
10
  import { DashboardSkeleton as b, ProjectListSkeleton as V, TaskDetailSkeleton as y } from "./page-skeletons.js";
11
11
  import { ErrorDisplay as E } from "./error-boundary.js";
12
12
  import { GlobalLoading as L } from "./global-loading.js";
13
13
  import { CommandPalette as w } from "./command-palette.js";
14
- import { MemberPicker as j } from "./member-picker.js";
15
- import { SimpleTooltip as A } from "./simple-tooltip.js";
16
- import { ScheduleView as I } from "./schedule-view.js";
17
- import { CalendarGrid as q } from "./date-picker/calendar-grid.js";
18
- import { DatePicker as F } from "./date-picker/date-picker.js";
19
- import { DateRangePicker as K } from "./date-picker/date-range-picker.js";
20
- import { DateTimePicker as O } from "./date-picker/date-time-picker.js";
21
- import { MonthPicker as U } from "./date-picker/month-picker.js";
22
- import { Presets as X } from "./date-picker/presets.js";
23
- import { TimePicker as _ } from "./date-picker/time-picker.js";
24
- import { YearPicker as ee } from "./date-picker/year-picker.js";
25
- import { useCalendar as oe } from "./date-picker/use-calendar.js";
14
+ import { MemberPicker as M } from "./member-picker.js";
15
+ import { SimpleTooltip as v } from "./simple-tooltip.js";
16
+ import { ScheduleView as H } from "./schedule-view.js";
17
+ import { getInitials as q } from "./lib/string-utils.js";
18
+ import { CalendarGrid as F } from "./date-picker/calendar-grid.js";
19
+ import { DatePicker as K } from "./date-picker/date-picker.js";
20
+ import { DateRangePicker as O } from "./date-picker/date-range-picker.js";
21
+ import { DateTimePicker as U } from "./date-picker/date-time-picker.js";
22
+ import { MonthPicker as X } from "./date-picker/month-picker.js";
23
+ import { Presets as _ } from "./date-picker/presets.js";
24
+ import { TimePicker as ee } from "./date-picker/time-picker.js";
25
+ import { YearPicker as oe } from "./date-picker/year-picker.js";
26
+ import { useCalendar as ae } from "./date-picker/use-calendar.js";
26
27
  export {
27
28
  d as AvatarGroup,
28
29
  T as BoardSkeleton,
29
- q as CalendarGrid,
30
- D as CardSkeleton,
30
+ F as CalendarGrid,
31
+ g as CardSkeleton,
31
32
  w as CommandPalette,
32
33
  a as ContentCard,
33
34
  b as DashboardSkeleton,
34
- F as DatePicker,
35
- K as DateRangePicker,
36
- O as DateTimePicker,
35
+ K as DatePicker,
36
+ O as DateRangePicker,
37
+ U as DateTimePicker,
37
38
  n as EmptyState,
38
39
  E as ErrorDisplay,
39
40
  L as GlobalLoading,
40
- g as ListSkeleton,
41
- j as MemberPicker,
42
- U as MonthPicker,
41
+ D as ListSkeleton,
42
+ M as MemberPicker,
43
+ X as MonthPicker,
43
44
  o as PageHeader,
44
- X as Presets,
45
- c as PriorityIndicator,
45
+ _ as Presets,
46
+ s as PriorityIndicator,
46
47
  V as ProjectListSkeleton,
47
48
  P as RichTextEditor,
48
49
  S as RichTextViewer,
49
- I as ScheduleView,
50
- A as SimpleTooltip,
50
+ H as ScheduleView,
51
+ v as SimpleTooltip,
51
52
  i as StatusBadge,
52
53
  h as TableSkeleton,
53
54
  y as TaskDetailSkeleton,
54
- _ as TimePicker,
55
- ee as YearPicker,
55
+ ee as TimePicker,
56
+ oe as YearPicker,
56
57
  m as contentCardVariants,
58
+ q as getInitials,
57
59
  x as statusBadgeVariants,
58
- oe as useCalendar
60
+ ae as useCalendar
59
61
  };
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
- export type Priority = 'LOW' | 'MEDIUM' | 'HIGH' | 'URGENT';
3
+ export type Priority = 'LOW' | 'MEDIUM' | 'HIGH' | 'URGENT' | 'low' | 'medium' | 'high' | 'urgent';
4
4
  declare const priorityVariants: (props?: ({
5
5
  display?: "compact" | "full" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAUjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgC3D,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,QAAA,MAAM,iBAAiB,+FA0CtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAUjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgClG,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,QAAA,MAAM,iBAAiB,+FA2CtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,9 +1,9 @@
1
- import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { cva as d } from "class-variance-authority";
1
+ import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
+ import * as d from "react";
3
+ import { cva as f } from "class-variance-authority";
4
4
  import { cn as e } from "../ui/lib/utils.js";
5
- import { IconAlertTriangle as f, IconArrowUp as g, IconMinus as b, IconArrowDown as x } from "@tabler/icons-react";
6
- const p = {
5
+ import { IconAlertTriangle as g, IconArrowUp as b, IconMinus as p, IconArrowDown as x } from "@tabler/icons-react";
6
+ const u = {
7
7
  LOW: {
8
8
  icon: x,
9
9
  color: "text-category-slate-text",
@@ -11,24 +11,24 @@ const p = {
11
11
  label: "Low"
12
12
  },
13
13
  MEDIUM: {
14
- icon: b,
14
+ icon: p,
15
15
  color: "text-warning-text",
16
16
  bgColor: "bg-warning-surface",
17
17
  label: "Medium"
18
18
  },
19
19
  HIGH: {
20
- icon: g,
20
+ icon: b,
21
21
  color: "text-error-text",
22
22
  bgColor: "bg-error-surface",
23
23
  label: "High"
24
24
  },
25
25
  URGENT: {
26
- icon: f,
26
+ icon: g,
27
27
  color: "text-error-text",
28
28
  bgColor: "bg-error-surface",
29
29
  label: "Urgent"
30
30
  }
31
- }, u = d(
31
+ }, y = f(
32
32
  "inline-flex items-center gap-ds-02b font-body",
33
33
  {
34
34
  variants: {
@@ -41,9 +41,9 @@ const p = {
41
41
  display: "full"
42
42
  }
43
43
  }
44
- ), y = m.forwardRef(
44
+ ), w = d.forwardRef(
45
45
  ({ priority: s, display: t, className: i, ...c }, n) => {
46
- const o = p[s], l = o.icon;
46
+ const a = s.toUpperCase(), o = u[a], l = o.icon;
47
47
  return t === "compact" ? /* @__PURE__ */ r(
48
48
  "div",
49
49
  {
@@ -57,11 +57,11 @@ const p = {
57
57
  ...c,
58
58
  children: /* @__PURE__ */ r(l, { className: e("h-ico-sm w-ico-sm", o.color), stroke: 2 })
59
59
  }
60
- ) : /* @__PURE__ */ a(
60
+ ) : /* @__PURE__ */ m(
61
61
  "div",
62
62
  {
63
63
  ref: n,
64
- className: e(u({ display: t }), i),
64
+ className: e(y({ display: t }), i),
65
65
  ...c,
66
66
  children: [
67
67
  /* @__PURE__ */ r(
@@ -80,7 +80,7 @@ const p = {
80
80
  );
81
81
  }
82
82
  );
83
- y.displayName = "PriorityIndicator";
83
+ w.displayName = "PriorityIndicator";
84
84
  export {
85
- y as PriorityIndicator
85
+ w as PriorityIndicator
86
86
  };
@@ -2,7 +2,7 @@
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  declare const badgeVariants: (props?: ({
5
- variant?: "solid" | "outline" | "subtle" | null | undefined;
5
+ variant?: "solid" | "outline" | "destructive" | "subtle" | "secondary" | null | undefined;
6
6
  color?: "accent" | "default" | "error" | "warning" | "success" | "cyan" | "indigo" | "orange" | "teal" | "info" | "brand" | "amber" | "slate" | "emerald" | null | undefined;
7
7
  size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;;;8EAoFlB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,oFAwBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;;;8EA2FlB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,oFAwBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
package/dist/ui/badge.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { jsxs as b, jsx as r } from "react/jsx-runtime";
3
- import { IconX as d } from "@tabler/icons-react";
2
+ import { jsxs as d, jsx as r } from "react/jsx-runtime";
3
+ import { IconX as b } from "@tabler/icons-react";
4
4
  import * as g from "react";
5
5
  import { cva as x } from "class-variance-authority";
6
6
  import { cn as m } from "./lib/utils.js";
@@ -10,8 +10,12 @@ const u = x(
10
10
  variants: {
11
11
  variant: {
12
12
  subtle: "",
13
+ secondary: "",
14
+ // alias → subtle
13
15
  solid: "",
14
- outline: ""
16
+ outline: "",
17
+ destructive: ""
18
+ // alias → solid + error
15
19
  },
16
20
  color: {
17
21
  default: "",
@@ -38,6 +42,11 @@ const u = x(
38
42
  compoundVariants: [
39
43
  // subtle (surface bg)
40
44
  { variant: "subtle", color: "default", className: "bg-field text-text-secondary border-border" },
45
+ // "secondary" alias → same as subtle + default
46
+ { variant: "secondary", color: "default", className: "bg-field text-text-secondary border-border" },
47
+ // "destructive" alias → solid + error
48
+ { variant: "destructive", color: "default", className: "bg-error text-text-on-color border-transparent" },
49
+ { variant: "destructive", color: "error", className: "bg-error text-text-on-color border-transparent" },
41
50
  { variant: "subtle", color: "info", className: "bg-info-surface text-info-text border-info-border" },
42
51
  { variant: "subtle", color: "success", className: "bg-success-surface text-success-text border-success-border" },
43
52
  { variant: "subtle", color: "error", className: "bg-error-surface text-error-text border-error-border" },
@@ -88,8 +97,8 @@ const u = x(
88
97
  size: "md"
89
98
  }
90
99
  }
91
- ), y = g.forwardRef(
92
- ({ className: t, variant: a, color: o, size: s, dot: n, onDismiss: e, children: c, ...l }, i) => /* @__PURE__ */ b("span", { ref: i, className: m(u({ variant: a, color: o, size: s }), t), ...l, children: [
100
+ ), v = g.forwardRef(
101
+ ({ className: t, variant: a, color: o, size: s, dot: n, onDismiss: e, children: c, ...l }, i) => /* @__PURE__ */ d("span", { ref: i, className: m(u({ variant: a, color: o, size: s }), t), ...l, children: [
93
102
  n && /* @__PURE__ */ r(
94
103
  "span",
95
104
  {
@@ -105,13 +114,13 @@ const u = x(
105
114
  onClick: e,
106
115
  className: "ml-ds-01 min-h-6 min-w-6 flex items-center justify-center rounded-ds-full text-icon-secondary transition-colors hover:text-icon-primary hover:bg-field focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus",
107
116
  "aria-label": "Remove",
108
- children: /* @__PURE__ */ r(d, { className: "h-ico-sm w-ico-sm" })
117
+ children: /* @__PURE__ */ r(b, { className: "h-ico-sm w-ico-sm" })
109
118
  }
110
119
  )
111
120
  ] })
112
121
  );
113
- y.displayName = "Badge";
122
+ v.displayName = "Badge";
114
123
  export {
115
- y as Badge,
124
+ v as Badge,
116
125
  u as badgeVariants
117
126
  };
@@ -2,9 +2,9 @@
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  export declare const buttonVariants: (props?: ({
5
- variant?: "link" | "solid" | "outline" | "ghost" | null | undefined;
5
+ variant?: "link" | "solid" | "default" | "outline" | "ghost" | "destructive" | null | undefined;
6
6
  color?: "default" | "error" | null | undefined;
7
- size?: "sm" | "md" | "lg" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
9
  /**
10
10
  * Props for Button — the primary action component with a two-axis variant system,
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,eAAO,MAAM,cAAc;;;;8EA2C1B,CAAA;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yFAAyF;IACzF,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;IAC5C,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,QAAA,MAAM,MAAM,uFAgHX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,eAAO,MAAM,cAAc;;;;8EAoD1B,CAAA;AAwBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yFAAyF;IACzF,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;IAC5C,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,QAAA,MAAM,MAAM,uFAgHX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
package/dist/ui/button.js CHANGED
@@ -4,7 +4,7 @@ import { cva as B } from "class-variance-authority";
4
4
  import { Root as R, Slottable as E } from "../primitives/react-slot.js";
5
5
  import * as G from "react";
6
6
  import { useButtonGroup as M } from "./button-group.js";
7
- import { cn as o } from "./lib/utils.js";
7
+ import { cn as t } from "./lib/utils.js";
8
8
  import { Spinner as q } from "./spinner.js";
9
9
  const x = B(
10
10
  "inline-flex items-center justify-center gap-ds-03 whitespace-nowrap font-sans font-semibold select-none border border-transparent transition-[color,background-color,border-color,box-shadow] duration-fast-01 ease-productive-standard focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[0.38]",
@@ -12,8 +12,12 @@ const x = B(
12
12
  variants: {
13
13
  variant: {
14
14
  solid: "",
15
+ default: "",
16
+ // alias → solid
15
17
  outline: "",
16
18
  ghost: "",
19
+ destructive: "",
20
+ // alias → solid + error
17
21
  link: "text-text-link underline-offset-4 hover:underline active:opacity-[0.8]"
18
22
  },
19
23
  color: {
@@ -24,6 +28,8 @@ const x = B(
24
28
  sm: "h-ds-sm rounded-ds-md px-ds-04 text-ds-sm",
25
29
  md: "h-ds-md rounded-ds-md px-ds-05 text-ds-md",
26
30
  lg: "h-ds-lg rounded-ds-lg px-ds-06 text-ds-base",
31
+ icon: "h-ds-md w-ds-md rounded-ds-md",
32
+ // alias → icon-md
27
33
  "icon-sm": "h-ds-sm w-ds-sm rounded-ds-md",
28
34
  "icon-md": "h-ds-md w-ds-md rounded-ds-md",
29
35
  "icon-lg": "h-ds-lg w-ds-lg rounded-ds-lg"
@@ -32,6 +38,12 @@ const x = B(
32
38
  compoundVariants: [
33
39
  // solid + default (primary)
34
40
  { variant: "solid", color: "default", className: "bg-interactive text-text-on-color hover:bg-interactive-hover active:bg-interactive-active shadow-01 hover:shadow-brand" },
41
+ // "default" alias → same as solid + default
42
+ { variant: "default", color: "default", className: "bg-interactive text-text-on-color hover:bg-interactive-hover active:bg-interactive-active shadow-01 hover:shadow-brand" },
43
+ { variant: "default", color: "error", className: "bg-error text-text-on-color hover:bg-error-hover active:bg-error-hover shadow-01" },
44
+ // "destructive" alias → solid + error
45
+ { variant: "destructive", color: "default", className: "bg-error text-text-on-color hover:bg-error-hover active:bg-error-hover shadow-01" },
46
+ { variant: "destructive", color: "error", className: "bg-error text-text-on-color hover:bg-error-hover active:bg-error-hover shadow-01" },
35
47
  // solid + error
36
48
  { variant: "solid", color: "error", className: "bg-error text-text-on-color hover:bg-error-hover active:bg-error-hover shadow-01" },
37
49
  // outline + default (secondary)
@@ -53,6 +65,7 @@ const x = B(
53
65
  sm: "h-ico-sm w-ico-sm [&>svg]:h-ico-sm [&>svg]:w-ico-sm",
54
66
  md: "h-ico-sm w-ico-sm [&>svg]:h-ico-sm [&>svg]:w-ico-sm",
55
67
  lg: "h-ico-md w-ico-md [&>svg]:h-ico-md [&>svg]:w-ico-md",
68
+ icon: "h-ico-sm w-ico-sm [&>svg]:h-ico-sm [&>svg]:w-ico-sm",
56
69
  "icon-sm": "h-ico-sm w-ico-sm [&>svg]:h-ico-sm [&>svg]:w-ico-sm",
57
70
  "icon-md": "h-ico-sm w-ico-sm [&>svg]:h-ico-sm [&>svg]:w-ico-sm",
58
71
  "icon-lg": "h-ico-md w-ico-md [&>svg]:h-ico-md [&>svg]:w-ico-md"
@@ -60,6 +73,7 @@ const x = B(
60
73
  sm: "sm",
61
74
  md: "sm",
62
75
  lg: "md",
76
+ icon: "sm",
63
77
  "icon-sm": "sm",
64
78
  "icon-md": "sm",
65
79
  "icon-lg": "md"
@@ -67,46 +81,46 @@ const x = B(
67
81
  ({
68
82
  className: c,
69
83
  variant: w,
70
- color: y,
71
- size: N,
84
+ color: N,
85
+ size: y,
72
86
  asChild: z = !1,
73
87
  startIcon: d,
74
88
  endIcon: l,
75
89
  loading: e = !1,
76
- loadingPosition: t = "start",
90
+ loadingPosition: s = "start",
77
91
  fullWidth: m = !1,
78
92
  disabled: v,
79
93
  children: i,
80
94
  ...u
81
- }, f) => {
82
- const n = M(), b = w ?? n.variant, h = y ?? n.color, s = N ?? n.size ?? "md", g = A[s], S = D[s], a = e ? /* @__PURE__ */ r(q, { size: S }) : null;
95
+ }, h) => {
96
+ const a = M(), b = w ?? a.variant, f = N ?? a.color, o = y ?? a.size ?? "md", g = A[o], S = D[o], n = e ? /* @__PURE__ */ r(q, { size: S }) : null;
83
97
  if (z) {
84
98
  const V = {
85
- className: o(
86
- x({ variant: b, color: h, size: s }),
99
+ className: t(
100
+ x({ variant: b, color: f, size: o }),
87
101
  m && "w-full",
88
102
  c
89
103
  ),
90
- ref: f,
104
+ ref: h,
91
105
  disabled: v || e,
92
106
  "aria-busy": e || void 0,
93
107
  ...u
94
108
  };
95
109
  return /* @__PURE__ */ r(R, { ...V, children: /* @__PURE__ */ r(E, { children: i }) });
96
110
  }
97
- const j = () => e && t === "start" ? a : d ? /* @__PURE__ */ r("span", { className: o("inline-flex shrink-0 items-center justify-center", g), children: d }) : null, k = () => e && t === "end" ? a : l ? /* @__PURE__ */ r("span", { className: o("inline-flex shrink-0 items-center justify-center", g), children: l }) : null, C = () => e && t === "center" ? /* @__PURE__ */ p("span", { className: "relative inline-flex items-center justify-center", children: [
111
+ const j = () => e && s === "start" ? n : d ? /* @__PURE__ */ r("span", { className: t("inline-flex shrink-0 items-center justify-center", g), children: d }) : null, k = () => e && s === "end" ? n : l ? /* @__PURE__ */ r("span", { className: t("inline-flex shrink-0 items-center justify-center", g), children: l }) : null, C = () => e && s === "center" ? /* @__PURE__ */ p("span", { className: "relative inline-flex items-center justify-center", children: [
98
112
  /* @__PURE__ */ r("span", { className: "invisible", children: i }),
99
- /* @__PURE__ */ r("span", { className: "absolute inset-0 flex items-center justify-center", children: a })
113
+ /* @__PURE__ */ r("span", { className: "absolute inset-0 flex items-center justify-center", children: n })
100
114
  ] }) : i;
101
115
  return /* @__PURE__ */ p(
102
116
  "button",
103
117
  {
104
- className: o(
105
- x({ variant: b, color: h, size: s }),
118
+ className: t(
119
+ x({ variant: b, color: f, size: o }),
106
120
  m && "w-full",
107
121
  c
108
122
  ),
109
- ref: f,
123
+ ref: h,
110
124
  disabled: v || e,
111
125
  "aria-busy": e || void 0,
112
126
  ...u,
package/dist/ui/card.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  declare const cardVariants: (props?: ({
5
- variant?: "flat" | "outline" | "default" | "elevated" | null | undefined;
5
+ variant?: "flat" | "default" | "outline" | "elevated" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  /**
8
8
  * Props for Card — a general-purpose content container with 4 elevation/style variants and
@@ -46,7 +46,7 @@ declare const SidebarMenuButton: import('react').ForwardRefExoticComponent<Omit<
46
46
  isActive?: boolean;
47
47
  tooltip?: string | ComponentProps<typeof TooltipContent>;
48
48
  } & VariantProps<(props?: ({
49
- variant?: "outline" | "default" | null | undefined;
49
+ variant?: "default" | "outline" | null | undefined;
50
50
  size?: "sm" | "md" | "lg" | null | undefined;
51
51
  } & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
52
52
  declare const SidebarMenuAction: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
@@ -41,7 +41,10 @@ import * as React from 'react';
41
41
  * // These are just a few ways — feel free to combine props creatively!
42
42
  */
43
43
  export interface StatCardProps extends React.HTMLAttributes<HTMLDivElement> {
44
- label: string;
44
+ /** Heading text for the metric. `title` is an alias for `label`. */
45
+ label?: string;
46
+ /** Alias for `label` — use whichever feels natural. */
47
+ title?: string;
45
48
  value: string | number;
46
49
  delta?: {
47
50
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../src/ui/stat-card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;KACrC,CAAA;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,QAAQ,sFAgEb,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../src/ui/stat-card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;KACrC,CAAA;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,QAAQ,sFAiEb,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  import { jsxs as n, jsx as s } from "react/jsx-runtime";
3
- import { IconTrendingUp as p, IconTrendingDown as x, IconMinus as h } from "@tabler/icons-react";
3
+ import { IconTrendingUp as h, IconTrendingDown as f, IconMinus as g } from "@tabler/icons-react";
4
4
  import * as m from "react";
5
5
  import { cn as d } from "./lib/utils.js";
6
- const f = m.forwardRef(
7
- ({ className: o, label: c, value: a, delta: e, icon: r, loading: u, ...t }, i) => {
8
- if (u)
6
+ const w = m.forwardRef(
7
+ ({ className: o, label: c, title: a, value: u, delta: e, icon: r, loading: b, ...t }, i) => {
8
+ const l = a ?? c ?? "";
9
+ if (b)
9
10
  return /* @__PURE__ */ n(
10
11
  "div",
11
12
  {
@@ -22,7 +23,7 @@ const f = m.forwardRef(
22
23
  ]
23
24
  }
24
25
  );
25
- const b = (e == null ? void 0 : e.direction) === "up" ? p : (e == null ? void 0 : e.direction) === "down" ? x : h, l = (e == null ? void 0 : e.direction) === "up" ? "text-success" : (e == null ? void 0 : e.direction) === "down" ? "text-error" : "text-text-secondary";
26
+ const p = (e == null ? void 0 : e.direction) === "up" ? h : (e == null ? void 0 : e.direction) === "down" ? f : g, x = (e == null ? void 0 : e.direction) === "up" ? "text-success" : (e == null ? void 0 : e.direction) === "down" ? "text-error" : "text-text-secondary";
26
27
  return /* @__PURE__ */ n(
27
28
  "div",
28
29
  {
@@ -34,12 +35,12 @@ const f = m.forwardRef(
34
35
  ...t,
35
36
  children: [
36
37
  /* @__PURE__ */ n("div", { className: "flex items-center justify-between mb-ds-04", children: [
37
- /* @__PURE__ */ s("p", { className: "text-ds-md font-medium text-text-secondary", children: c }),
38
+ /* @__PURE__ */ s("p", { className: "text-ds-md font-medium text-text-secondary", children: l }),
38
39
  r && /* @__PURE__ */ s("span", { className: "text-text-secondary", "aria-hidden": "true", children: typeof r == "function" ? m.createElement(r, { className: "h-ico-lg w-ico-lg" }) : r })
39
40
  ] }),
40
- /* @__PURE__ */ s("p", { className: "text-ds-3xl font-semibold text-text-primary tabular-nums", children: a }),
41
- e && /* @__PURE__ */ n("div", { className: d("mt-ds-03 flex items-center gap-ds-02 text-ds-sm font-medium", l), children: [
42
- /* @__PURE__ */ s(b, { className: "h-ico-sm w-ico-sm", "aria-hidden": "true" }),
41
+ /* @__PURE__ */ s("p", { className: "text-ds-3xl font-semibold text-text-primary tabular-nums", children: u }),
42
+ e && /* @__PURE__ */ n("div", { className: d("mt-ds-03 flex items-center gap-ds-02 text-ds-sm font-medium", x), children: [
43
+ /* @__PURE__ */ s(p, { className: "h-ico-sm w-ico-sm", "aria-hidden": "true" }),
43
44
  /* @__PURE__ */ s("span", { children: e.value })
44
45
  ] })
45
46
  ]
@@ -47,7 +48,7 @@ const f = m.forwardRef(
47
48
  );
48
49
  }
49
50
  );
50
- f.displayName = "StatCard";
51
+ w.displayName = "StatCard";
51
52
  export {
52
- f as StatCard
53
+ w as StatCard
53
54
  };
@@ -4,11 +4,11 @@ import { toggleVariants } from './toggle';
4
4
  import * as React from 'react';
5
5
  import * as ToggleGroupPrimitive from '../primitives/react-toggle-group';
6
6
  declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
7
- variant?: "outline" | "default" | null | undefined;
7
+ variant?: "default" | "outline" | null | undefined;
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & import('class-variance-authority/types').ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
10
10
  declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
11
- variant?: "outline" | "default" | null | undefined;
11
+ variant?: "default" | "outline" | null | undefined;
12
12
  size?: "sm" | "md" | "lg" | null | undefined;
13
13
  } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
14
14
  export type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
@@ -3,11 +3,11 @@ import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  import * as TogglePrimitive from '../primitives/react-toggle';
5
5
  declare const toggleVariants: (props?: ({
6
- variant?: "outline" | "default" | null | undefined;
6
+ variant?: "default" | "outline" | null | undefined;
7
7
  size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
9
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
10
- variant?: "outline" | "default" | null | undefined;
10
+ variant?: "default" | "outline" | null | undefined;
11
11
  size?: "sm" | "md" | "lg" | null | undefined;
12
12
  } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
13
13
  export type ToggleProps = React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Devalok Design System — tokens, components, and patterns for Next.js",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,107 +12,387 @@
12
12
  "**/primitives/**"
13
13
  ],
14
14
  "exports": {
15
- ".": { "import": "./dist/ui/index.js", "types": "./dist/ui/index.d.ts" },
15
+ ".": {
16
+ "import": "./dist/ui/index.js",
17
+ "types": "./dist/ui/index.d.ts"
18
+ },
16
19
  "./tokens": "./dist/tokens/index.css",
17
-
18
- "./ui": { "import": "./dist/ui/index.js", "types": "./dist/ui/index.d.ts" },
19
- "./ui/accordion": { "import": "./dist/ui/accordion.js", "types": "./dist/ui/accordion.d.ts" },
20
- "./ui/alert": { "import": "./dist/ui/alert.js", "types": "./dist/ui/alert.d.ts" },
21
- "./ui/alert-dialog": { "import": "./dist/ui/alert-dialog.js", "types": "./dist/ui/alert-dialog.d.ts" },
22
- "./ui/aspect-ratio": { "import": "./dist/ui/aspect-ratio.js", "types": "./dist/ui/aspect-ratio.d.ts" },
23
- "./ui/autocomplete": { "import": "./dist/ui/autocomplete.js", "types": "./dist/ui/autocomplete.d.ts" },
24
- "./ui/avatar": { "import": "./dist/ui/avatar.js", "types": "./dist/ui/avatar.d.ts" },
25
- "./ui/badge": { "import": "./dist/ui/badge.js", "types": "./dist/ui/badge.d.ts" },
26
- "./ui/banner": { "import": "./dist/ui/banner.js", "types": "./dist/ui/banner.d.ts" },
27
- "./ui/breadcrumb": { "import": "./dist/ui/breadcrumb.js", "types": "./dist/ui/breadcrumb.d.ts" },
28
- "./ui/button": { "import": "./dist/ui/button.js", "types": "./dist/ui/button.d.ts" },
29
- "./ui/button-group": { "import": "./dist/ui/button-group.js", "types": "./dist/ui/button-group.d.ts" },
30
- "./ui/card": { "import": "./dist/ui/card.js", "types": "./dist/ui/card.d.ts" },
31
- "./ui/checkbox": { "import": "./dist/ui/checkbox.js", "types": "./dist/ui/checkbox.d.ts" },
32
- "./ui/chip": { "import": "./dist/ui/chip.js", "types": "./dist/ui/chip.d.ts" },
33
- "./ui/code": { "import": "./dist/ui/code.js", "types": "./dist/ui/code.d.ts" },
34
- "./ui/collapsible": { "import": "./dist/ui/collapsible.js", "types": "./dist/ui/collapsible.d.ts" },
35
- "./ui/combobox": { "import": "./dist/ui/combobox.js", "types": "./dist/ui/combobox.d.ts" },
36
- "./ui/container": { "import": "./dist/ui/container.js", "types": "./dist/ui/container.d.ts" },
37
- "./ui/context-menu": { "import": "./dist/ui/context-menu.js", "types": "./dist/ui/context-menu.d.ts" },
38
- "./ui/data-table": { "import": "./dist/ui/data-table.js", "types": "./dist/ui/data-table.d.ts" },
39
- "./ui/data-table-toolbar": { "import": "./dist/ui/data-table-toolbar.js", "types": "./dist/ui/data-table-toolbar.d.ts" },
40
- "./ui/dialog": { "import": "./dist/ui/dialog.js", "types": "./dist/ui/dialog.d.ts" },
41
- "./ui/dropdown-menu": { "import": "./dist/ui/dropdown-menu.js", "types": "./dist/ui/dropdown-menu.d.ts" },
42
- "./ui/file-upload": { "import": "./dist/ui/file-upload.js", "types": "./dist/ui/file-upload.d.ts" },
43
- "./ui/form": { "import": "./dist/ui/form.js", "types": "./dist/ui/form.d.ts" },
44
- "./ui/hover-card": { "import": "./dist/ui/hover-card.js", "types": "./dist/ui/hover-card.d.ts" },
45
- "./ui/icon-button": { "import": "./dist/ui/icon-button.js", "types": "./dist/ui/icon-button.d.ts" },
46
- "./ui/input": { "import": "./dist/ui/input.js", "types": "./dist/ui/input.d.ts" },
47
- "./ui/input-otp": { "import": "./dist/ui/input-otp.js", "types": "./dist/ui/input-otp.d.ts" },
48
- "./ui/label": { "import": "./dist/ui/label.js", "types": "./dist/ui/label.d.ts" },
49
- "./ui/link": { "import": "./dist/ui/link.js", "types": "./dist/ui/link.d.ts" },
50
- "./ui/menubar": { "import": "./dist/ui/menubar.js", "types": "./dist/ui/menubar.d.ts" },
51
- "./ui/navigation-menu": { "import": "./dist/ui/navigation-menu.js", "types": "./dist/ui/navigation-menu.d.ts" },
52
- "./ui/number-input": { "import": "./dist/ui/number-input.js", "types": "./dist/ui/number-input.d.ts" },
53
- "./ui/pagination": { "import": "./dist/ui/pagination.js", "types": "./dist/ui/pagination.d.ts" },
54
- "./ui/popover": { "import": "./dist/ui/popover.js", "types": "./dist/ui/popover.d.ts" },
55
- "./ui/progress": { "import": "./dist/ui/progress.js", "types": "./dist/ui/progress.d.ts" },
56
- "./ui/radio": { "import": "./dist/ui/radio.js", "types": "./dist/ui/radio.d.ts" },
57
- "./ui/search-input": { "import": "./dist/ui/search-input.js", "types": "./dist/ui/search-input.d.ts" },
58
- "./ui/segmented-control": { "import": "./dist/ui/segmented-control.js", "types": "./dist/ui/segmented-control.d.ts" },
59
- "./ui/select": { "import": "./dist/ui/select.js", "types": "./dist/ui/select.d.ts" },
60
- "./ui/separator": { "import": "./dist/ui/separator.js", "types": "./dist/ui/separator.d.ts" },
61
- "./ui/sheet": { "import": "./dist/ui/sheet.js", "types": "./dist/ui/sheet.d.ts" },
62
- "./ui/sidebar": { "import": "./dist/ui/sidebar.js", "types": "./dist/ui/sidebar.d.ts" },
63
- "./ui/skeleton": { "import": "./dist/ui/skeleton.js", "types": "./dist/ui/skeleton.d.ts" },
64
- "./ui/slider": { "import": "./dist/ui/slider.js", "types": "./dist/ui/slider.d.ts" },
65
- "./ui/spinner": { "import": "./dist/ui/spinner.js", "types": "./dist/ui/spinner.d.ts" },
66
- "./ui/stack": { "import": "./dist/ui/stack.js", "types": "./dist/ui/stack.d.ts" },
67
- "./ui/stat-card": { "import": "./dist/ui/stat-card.js", "types": "./dist/ui/stat-card.d.ts" },
68
- "./ui/stepper": { "import": "./dist/ui/stepper.js", "types": "./dist/ui/stepper.d.ts" },
69
- "./ui/switch": { "import": "./dist/ui/switch.js", "types": "./dist/ui/switch.d.ts" },
70
- "./ui/table": { "import": "./dist/ui/table.js", "types": "./dist/ui/table.d.ts" },
71
- "./ui/tabs": { "import": "./dist/ui/tabs.js", "types": "./dist/ui/tabs.d.ts" },
72
- "./ui/text": { "import": "./dist/ui/text.js", "types": "./dist/ui/text.d.ts" },
73
- "./ui/textarea": { "import": "./dist/ui/textarea.js", "types": "./dist/ui/textarea.d.ts" },
74
- "./ui/toast": { "import": "./dist/ui/toast.js", "types": "./dist/ui/toast.d.ts" },
75
- "./ui/toaster": { "import": "./dist/ui/toaster.js", "types": "./dist/ui/toaster.d.ts" },
76
- "./ui/toggle": { "import": "./dist/ui/toggle.js", "types": "./dist/ui/toggle.d.ts" },
77
- "./ui/toggle-group": { "import": "./dist/ui/toggle-group.js", "types": "./dist/ui/toggle-group.d.ts" },
78
- "./ui/tooltip": { "import": "./dist/ui/tooltip.js", "types": "./dist/ui/tooltip.d.ts" },
79
- "./ui/transitions": { "import": "./dist/ui/transitions.js", "types": "./dist/ui/transitions.d.ts" },
80
- "./ui/visually-hidden": { "import": "./dist/ui/visually-hidden.js", "types": "./dist/ui/visually-hidden.d.ts" },
81
- "./ui/charts": { "import": "./dist/ui/charts/index.js", "types": "./dist/ui/charts/index.d.ts" },
82
- "./ui/tree-view": { "import": "./dist/ui/tree-view/index.js", "types": "./dist/ui/tree-view/index.d.ts" },
83
-
84
- "./composed": { "import": "./dist/composed/index.js", "types": "./dist/composed/index.d.ts" },
85
- "./composed/avatar-group": { "import": "./dist/composed/avatar-group.js", "types": "./dist/composed/avatar-group.d.ts" },
86
- "./composed/command-palette": { "import": "./dist/composed/command-palette.js", "types": "./dist/composed/command-palette.d.ts" },
87
- "./composed/content-card": { "import": "./dist/composed/content-card.js", "types": "./dist/composed/content-card.d.ts" },
88
- "./composed/empty-state": { "import": "./dist/composed/empty-state.js", "types": "./dist/composed/empty-state.d.ts" },
89
- "./composed/error-boundary": { "import": "./dist/composed/error-boundary.js", "types": "./dist/composed/error-boundary.d.ts" },
90
- "./composed/global-loading": { "import": "./dist/composed/global-loading.js", "types": "./dist/composed/global-loading.d.ts" },
91
- "./composed/loading-skeleton": { "import": "./dist/composed/loading-skeleton.js", "types": "./dist/composed/loading-skeleton.d.ts" },
92
- "./composed/member-picker": { "import": "./dist/composed/member-picker.js", "types": "./dist/composed/member-picker.d.ts" },
93
- "./composed/page-header": { "import": "./dist/composed/page-header.js", "types": "./dist/composed/page-header.d.ts" },
94
- "./composed/page-skeletons": { "import": "./dist/composed/page-skeletons.js", "types": "./dist/composed/page-skeletons.d.ts" },
95
- "./composed/priority-indicator": { "import": "./dist/composed/priority-indicator.js", "types": "./dist/composed/priority-indicator.d.ts" },
96
- "./composed/rich-text-editor": { "import": "./dist/composed/rich-text-editor.js", "types": "./dist/composed/rich-text-editor.d.ts" },
97
- "./composed/simple-tooltip": { "import": "./dist/composed/simple-tooltip.js", "types": "./dist/composed/simple-tooltip.d.ts" },
98
- "./composed/status-badge": { "import": "./dist/composed/status-badge.js", "types": "./dist/composed/status-badge.d.ts" },
99
- "./composed/schedule-view": { "import": "./dist/composed/schedule-view.js", "types": "./dist/composed/schedule-view.d.ts" },
100
- "./composed/date-picker": { "import": "./dist/composed/date-picker/index.js", "types": "./dist/composed/date-picker/index.d.ts" },
101
-
102
- "./shell": { "import": "./dist/shell/index.js", "types": "./dist/shell/index.d.ts" },
103
- "./shell/app-command-palette": { "import": "./dist/shell/app-command-palette.js", "types": "./dist/shell/app-command-palette.d.ts" },
104
- "./shell/bottom-navbar": { "import": "./dist/shell/bottom-navbar.js", "types": "./dist/shell/bottom-navbar.d.ts" },
105
- "./shell/link-context": { "import": "./dist/shell/link-context.js", "types": "./dist/shell/link-context.d.ts" },
106
- "./shell/notification-center": { "import": "./dist/shell/notification-center.js", "types": "./dist/shell/notification-center.d.ts" },
107
- "./shell/notification-preferences": { "import": "./dist/shell/notification-preferences.js", "types": "./dist/shell/notification-preferences.d.ts" },
108
- "./shell/sidebar": { "import": "./dist/shell/sidebar.js", "types": "./dist/shell/sidebar.d.ts" },
109
- "./shell/top-bar": { "import": "./dist/shell/top-bar.js", "types": "./dist/shell/top-bar.d.ts" },
110
-
111
- "./hooks": { "import": "./dist/hooks/index.js", "types": "./dist/hooks/index.d.ts" },
112
- "./hooks/use-color-mode": { "import": "./dist/hooks/use-color-mode.js", "types": "./dist/hooks/use-color-mode.d.ts" },
113
- "./hooks/use-mobile": { "import": "./dist/hooks/use-mobile.js", "types": "./dist/hooks/use-mobile.d.ts" },
114
- "./hooks/use-toast": { "import": "./dist/hooks/use-toast.js", "types": "./dist/hooks/use-toast.d.ts" },
115
-
20
+ "./ui": {
21
+ "import": "./dist/ui/index.js",
22
+ "types": "./dist/ui/index.d.ts"
23
+ },
24
+ "./ui/accordion": {
25
+ "import": "./dist/ui/accordion.js",
26
+ "types": "./dist/ui/accordion.d.ts"
27
+ },
28
+ "./ui/alert": {
29
+ "import": "./dist/ui/alert.js",
30
+ "types": "./dist/ui/alert.d.ts"
31
+ },
32
+ "./ui/alert-dialog": {
33
+ "import": "./dist/ui/alert-dialog.js",
34
+ "types": "./dist/ui/alert-dialog.d.ts"
35
+ },
36
+ "./ui/aspect-ratio": {
37
+ "import": "./dist/ui/aspect-ratio.js",
38
+ "types": "./dist/ui/aspect-ratio.d.ts"
39
+ },
40
+ "./ui/autocomplete": {
41
+ "import": "./dist/ui/autocomplete.js",
42
+ "types": "./dist/ui/autocomplete.d.ts"
43
+ },
44
+ "./ui/avatar": {
45
+ "import": "./dist/ui/avatar.js",
46
+ "types": "./dist/ui/avatar.d.ts"
47
+ },
48
+ "./ui/badge": {
49
+ "import": "./dist/ui/badge.js",
50
+ "types": "./dist/ui/badge.d.ts"
51
+ },
52
+ "./ui/banner": {
53
+ "import": "./dist/ui/banner.js",
54
+ "types": "./dist/ui/banner.d.ts"
55
+ },
56
+ "./ui/breadcrumb": {
57
+ "import": "./dist/ui/breadcrumb.js",
58
+ "types": "./dist/ui/breadcrumb.d.ts"
59
+ },
60
+ "./ui/button": {
61
+ "import": "./dist/ui/button.js",
62
+ "types": "./dist/ui/button.d.ts"
63
+ },
64
+ "./ui/button-group": {
65
+ "import": "./dist/ui/button-group.js",
66
+ "types": "./dist/ui/button-group.d.ts"
67
+ },
68
+ "./ui/card": {
69
+ "import": "./dist/ui/card.js",
70
+ "types": "./dist/ui/card.d.ts"
71
+ },
72
+ "./ui/checkbox": {
73
+ "import": "./dist/ui/checkbox.js",
74
+ "types": "./dist/ui/checkbox.d.ts"
75
+ },
76
+ "./ui/chip": {
77
+ "import": "./dist/ui/chip.js",
78
+ "types": "./dist/ui/chip.d.ts"
79
+ },
80
+ "./ui/code": {
81
+ "import": "./dist/ui/code.js",
82
+ "types": "./dist/ui/code.d.ts"
83
+ },
84
+ "./ui/collapsible": {
85
+ "import": "./dist/ui/collapsible.js",
86
+ "types": "./dist/ui/collapsible.d.ts"
87
+ },
88
+ "./ui/combobox": {
89
+ "import": "./dist/ui/combobox.js",
90
+ "types": "./dist/ui/combobox.d.ts"
91
+ },
92
+ "./ui/container": {
93
+ "import": "./dist/ui/container.js",
94
+ "types": "./dist/ui/container.d.ts"
95
+ },
96
+ "./ui/context-menu": {
97
+ "import": "./dist/ui/context-menu.js",
98
+ "types": "./dist/ui/context-menu.d.ts"
99
+ },
100
+ "./ui/data-table": {
101
+ "import": "./dist/ui/data-table.js",
102
+ "types": "./dist/ui/data-table.d.ts"
103
+ },
104
+ "./ui/data-table-toolbar": {
105
+ "import": "./dist/ui/data-table-toolbar.js",
106
+ "types": "./dist/ui/data-table-toolbar.d.ts"
107
+ },
108
+ "./ui/dialog": {
109
+ "import": "./dist/ui/dialog.js",
110
+ "types": "./dist/ui/dialog.d.ts"
111
+ },
112
+ "./ui/dropdown-menu": {
113
+ "import": "./dist/ui/dropdown-menu.js",
114
+ "types": "./dist/ui/dropdown-menu.d.ts"
115
+ },
116
+ "./ui/file-upload": {
117
+ "import": "./dist/ui/file-upload.js",
118
+ "types": "./dist/ui/file-upload.d.ts"
119
+ },
120
+ "./ui/form": {
121
+ "import": "./dist/ui/form.js",
122
+ "types": "./dist/ui/form.d.ts"
123
+ },
124
+ "./ui/hover-card": {
125
+ "import": "./dist/ui/hover-card.js",
126
+ "types": "./dist/ui/hover-card.d.ts"
127
+ },
128
+ "./ui/icon-button": {
129
+ "import": "./dist/ui/icon-button.js",
130
+ "types": "./dist/ui/icon-button.d.ts"
131
+ },
132
+ "./ui/input": {
133
+ "import": "./dist/ui/input.js",
134
+ "types": "./dist/ui/input.d.ts"
135
+ },
136
+ "./ui/input-otp": {
137
+ "import": "./dist/ui/input-otp.js",
138
+ "types": "./dist/ui/input-otp.d.ts"
139
+ },
140
+ "./ui/label": {
141
+ "import": "./dist/ui/label.js",
142
+ "types": "./dist/ui/label.d.ts"
143
+ },
144
+ "./ui/link": {
145
+ "import": "./dist/ui/link.js",
146
+ "types": "./dist/ui/link.d.ts"
147
+ },
148
+ "./ui/menubar": {
149
+ "import": "./dist/ui/menubar.js",
150
+ "types": "./dist/ui/menubar.d.ts"
151
+ },
152
+ "./ui/navigation-menu": {
153
+ "import": "./dist/ui/navigation-menu.js",
154
+ "types": "./dist/ui/navigation-menu.d.ts"
155
+ },
156
+ "./ui/number-input": {
157
+ "import": "./dist/ui/number-input.js",
158
+ "types": "./dist/ui/number-input.d.ts"
159
+ },
160
+ "./ui/pagination": {
161
+ "import": "./dist/ui/pagination.js",
162
+ "types": "./dist/ui/pagination.d.ts"
163
+ },
164
+ "./ui/popover": {
165
+ "import": "./dist/ui/popover.js",
166
+ "types": "./dist/ui/popover.d.ts"
167
+ },
168
+ "./ui/progress": {
169
+ "import": "./dist/ui/progress.js",
170
+ "types": "./dist/ui/progress.d.ts"
171
+ },
172
+ "./ui/radio": {
173
+ "import": "./dist/ui/radio.js",
174
+ "types": "./dist/ui/radio.d.ts"
175
+ },
176
+ "./ui/search-input": {
177
+ "import": "./dist/ui/search-input.js",
178
+ "types": "./dist/ui/search-input.d.ts"
179
+ },
180
+ "./ui/segmented-control": {
181
+ "import": "./dist/ui/segmented-control.js",
182
+ "types": "./dist/ui/segmented-control.d.ts"
183
+ },
184
+ "./ui/select": {
185
+ "import": "./dist/ui/select.js",
186
+ "types": "./dist/ui/select.d.ts"
187
+ },
188
+ "./ui/separator": {
189
+ "import": "./dist/ui/separator.js",
190
+ "types": "./dist/ui/separator.d.ts"
191
+ },
192
+ "./ui/sheet": {
193
+ "import": "./dist/ui/sheet.js",
194
+ "types": "./dist/ui/sheet.d.ts"
195
+ },
196
+ "./ui/sidebar": {
197
+ "import": "./dist/ui/sidebar.js",
198
+ "types": "./dist/ui/sidebar.d.ts"
199
+ },
200
+ "./ui/skeleton": {
201
+ "import": "./dist/ui/skeleton.js",
202
+ "types": "./dist/ui/skeleton.d.ts"
203
+ },
204
+ "./ui/slider": {
205
+ "import": "./dist/ui/slider.js",
206
+ "types": "./dist/ui/slider.d.ts"
207
+ },
208
+ "./ui/spinner": {
209
+ "import": "./dist/ui/spinner.js",
210
+ "types": "./dist/ui/spinner.d.ts"
211
+ },
212
+ "./ui/stack": {
213
+ "import": "./dist/ui/stack.js",
214
+ "types": "./dist/ui/stack.d.ts"
215
+ },
216
+ "./ui/stat-card": {
217
+ "import": "./dist/ui/stat-card.js",
218
+ "types": "./dist/ui/stat-card.d.ts"
219
+ },
220
+ "./ui/stepper": {
221
+ "import": "./dist/ui/stepper.js",
222
+ "types": "./dist/ui/stepper.d.ts"
223
+ },
224
+ "./ui/switch": {
225
+ "import": "./dist/ui/switch.js",
226
+ "types": "./dist/ui/switch.d.ts"
227
+ },
228
+ "./ui/table": {
229
+ "import": "./dist/ui/table.js",
230
+ "types": "./dist/ui/table.d.ts"
231
+ },
232
+ "./ui/tabs": {
233
+ "import": "./dist/ui/tabs.js",
234
+ "types": "./dist/ui/tabs.d.ts"
235
+ },
236
+ "./ui/text": {
237
+ "import": "./dist/ui/text.js",
238
+ "types": "./dist/ui/text.d.ts"
239
+ },
240
+ "./ui/textarea": {
241
+ "import": "./dist/ui/textarea.js",
242
+ "types": "./dist/ui/textarea.d.ts"
243
+ },
244
+ "./ui/toast": {
245
+ "import": "./dist/ui/toast.js",
246
+ "types": "./dist/ui/toast.d.ts"
247
+ },
248
+ "./ui/toaster": {
249
+ "import": "./dist/ui/toaster.js",
250
+ "types": "./dist/ui/toaster.d.ts"
251
+ },
252
+ "./ui/toggle": {
253
+ "import": "./dist/ui/toggle.js",
254
+ "types": "./dist/ui/toggle.d.ts"
255
+ },
256
+ "./ui/toggle-group": {
257
+ "import": "./dist/ui/toggle-group.js",
258
+ "types": "./dist/ui/toggle-group.d.ts"
259
+ },
260
+ "./ui/tooltip": {
261
+ "import": "./dist/ui/tooltip.js",
262
+ "types": "./dist/ui/tooltip.d.ts"
263
+ },
264
+ "./ui/transitions": {
265
+ "import": "./dist/ui/transitions.js",
266
+ "types": "./dist/ui/transitions.d.ts"
267
+ },
268
+ "./ui/visually-hidden": {
269
+ "import": "./dist/ui/visually-hidden.js",
270
+ "types": "./dist/ui/visually-hidden.d.ts"
271
+ },
272
+ "./ui/charts": {
273
+ "import": "./dist/ui/charts/index.js",
274
+ "types": "./dist/ui/charts/index.d.ts"
275
+ },
276
+ "./ui/tree-view": {
277
+ "import": "./dist/ui/tree-view/index.js",
278
+ "types": "./dist/ui/tree-view/index.d.ts"
279
+ },
280
+ "./composed": {
281
+ "import": "./dist/composed/index.js",
282
+ "types": "./dist/composed/index.d.ts"
283
+ },
284
+ "./composed/avatar-group": {
285
+ "import": "./dist/composed/avatar-group.js",
286
+ "types": "./dist/composed/avatar-group.d.ts"
287
+ },
288
+ "./composed/command-palette": {
289
+ "import": "./dist/composed/command-palette.js",
290
+ "types": "./dist/composed/command-palette.d.ts"
291
+ },
292
+ "./composed/content-card": {
293
+ "import": "./dist/composed/content-card.js",
294
+ "types": "./dist/composed/content-card.d.ts"
295
+ },
296
+ "./composed/empty-state": {
297
+ "import": "./dist/composed/empty-state.js",
298
+ "types": "./dist/composed/empty-state.d.ts"
299
+ },
300
+ "./composed/error-boundary": {
301
+ "import": "./dist/composed/error-boundary.js",
302
+ "types": "./dist/composed/error-boundary.d.ts"
303
+ },
304
+ "./composed/global-loading": {
305
+ "import": "./dist/composed/global-loading.js",
306
+ "types": "./dist/composed/global-loading.d.ts"
307
+ },
308
+ "./composed/loading-skeleton": {
309
+ "import": "./dist/composed/loading-skeleton.js",
310
+ "types": "./dist/composed/loading-skeleton.d.ts"
311
+ },
312
+ "./composed/member-picker": {
313
+ "import": "./dist/composed/member-picker.js",
314
+ "types": "./dist/composed/member-picker.d.ts"
315
+ },
316
+ "./composed/page-header": {
317
+ "import": "./dist/composed/page-header.js",
318
+ "types": "./dist/composed/page-header.d.ts"
319
+ },
320
+ "./composed/page-skeletons": {
321
+ "import": "./dist/composed/page-skeletons.js",
322
+ "types": "./dist/composed/page-skeletons.d.ts"
323
+ },
324
+ "./composed/priority-indicator": {
325
+ "import": "./dist/composed/priority-indicator.js",
326
+ "types": "./dist/composed/priority-indicator.d.ts"
327
+ },
328
+ "./composed/rich-text-editor": {
329
+ "import": "./dist/composed/rich-text-editor.js",
330
+ "types": "./dist/composed/rich-text-editor.d.ts"
331
+ },
332
+ "./composed/simple-tooltip": {
333
+ "import": "./dist/composed/simple-tooltip.js",
334
+ "types": "./dist/composed/simple-tooltip.d.ts"
335
+ },
336
+ "./composed/status-badge": {
337
+ "import": "./dist/composed/status-badge.js",
338
+ "types": "./dist/composed/status-badge.d.ts"
339
+ },
340
+ "./composed/schedule-view": {
341
+ "import": "./dist/composed/schedule-view.js",
342
+ "types": "./dist/composed/schedule-view.d.ts"
343
+ },
344
+ "./composed/date-picker": {
345
+ "import": "./dist/composed/date-picker/index.js",
346
+ "types": "./dist/composed/date-picker/index.d.ts"
347
+ },
348
+ "./shell": {
349
+ "import": "./dist/shell/index.js",
350
+ "types": "./dist/shell/index.d.ts"
351
+ },
352
+ "./shell/app-command-palette": {
353
+ "import": "./dist/shell/app-command-palette.js",
354
+ "types": "./dist/shell/app-command-palette.d.ts"
355
+ },
356
+ "./shell/bottom-navbar": {
357
+ "import": "./dist/shell/bottom-navbar.js",
358
+ "types": "./dist/shell/bottom-navbar.d.ts"
359
+ },
360
+ "./shell/link-context": {
361
+ "import": "./dist/shell/link-context.js",
362
+ "types": "./dist/shell/link-context.d.ts"
363
+ },
364
+ "./shell/notification-center": {
365
+ "import": "./dist/shell/notification-center.js",
366
+ "types": "./dist/shell/notification-center.d.ts"
367
+ },
368
+ "./shell/notification-preferences": {
369
+ "import": "./dist/shell/notification-preferences.js",
370
+ "types": "./dist/shell/notification-preferences.d.ts"
371
+ },
372
+ "./shell/sidebar": {
373
+ "import": "./dist/shell/sidebar.js",
374
+ "types": "./dist/shell/sidebar.d.ts"
375
+ },
376
+ "./shell/top-bar": {
377
+ "import": "./dist/shell/top-bar.js",
378
+ "types": "./dist/shell/top-bar.d.ts"
379
+ },
380
+ "./hooks": {
381
+ "import": "./dist/hooks/index.js",
382
+ "types": "./dist/hooks/index.d.ts"
383
+ },
384
+ "./hooks/use-color-mode": {
385
+ "import": "./dist/hooks/use-color-mode.js",
386
+ "types": "./dist/hooks/use-color-mode.d.ts"
387
+ },
388
+ "./hooks/use-mobile": {
389
+ "import": "./dist/hooks/use-mobile.js",
390
+ "types": "./dist/hooks/use-mobile.d.ts"
391
+ },
392
+ "./hooks/use-toast": {
393
+ "import": "./dist/hooks/use-toast.js",
394
+ "types": "./dist/hooks/use-toast.d.ts"
395
+ },
116
396
  "./tailwind": {
117
397
  "require": "./dist/tailwind/index.cjs",
118
398
  "import": "./dist/tailwind/index.js",
@@ -156,24 +436,60 @@
156
436
  "react-markdown": "^10.0.0"
157
437
  },
158
438
  "peerDependenciesMeta": {
159
- "@tabler/icons-react": { "optional": true },
160
- "@tanstack/react-table": { "optional": true },
161
- "@tanstack/react-virtual": { "optional": true },
162
- "@tiptap/react": { "optional": true },
163
- "@tiptap/starter-kit": { "optional": true },
164
- "@tiptap/extension-placeholder": { "optional": true },
165
- "d3-array": { "optional": true },
166
- "d3-axis": { "optional": true },
167
- "d3-format": { "optional": true },
168
- "d3-interpolate": { "optional": true },
169
- "d3-scale": { "optional": true },
170
- "d3-selection": { "optional": true },
171
- "d3-shape": { "optional": true },
172
- "d3-time-format": { "optional": true },
173
- "d3-transition": { "optional": true },
174
- "date-fns": { "optional": true },
175
- "input-otp": { "optional": true },
176
- "react-markdown": { "optional": true }
439
+ "@tabler/icons-react": {
440
+ "optional": true
441
+ },
442
+ "@tanstack/react-table": {
443
+ "optional": true
444
+ },
445
+ "@tanstack/react-virtual": {
446
+ "optional": true
447
+ },
448
+ "@tiptap/react": {
449
+ "optional": true
450
+ },
451
+ "@tiptap/starter-kit": {
452
+ "optional": true
453
+ },
454
+ "@tiptap/extension-placeholder": {
455
+ "optional": true
456
+ },
457
+ "d3-array": {
458
+ "optional": true
459
+ },
460
+ "d3-axis": {
461
+ "optional": true
462
+ },
463
+ "d3-format": {
464
+ "optional": true
465
+ },
466
+ "d3-interpolate": {
467
+ "optional": true
468
+ },
469
+ "d3-scale": {
470
+ "optional": true
471
+ },
472
+ "d3-selection": {
473
+ "optional": true
474
+ },
475
+ "d3-shape": {
476
+ "optional": true
477
+ },
478
+ "d3-time-format": {
479
+ "optional": true
480
+ },
481
+ "d3-transition": {
482
+ "optional": true
483
+ },
484
+ "date-fns": {
485
+ "optional": true
486
+ },
487
+ "input-otp": {
488
+ "optional": true
489
+ },
490
+ "react-markdown": {
491
+ "optional": true
492
+ }
177
493
  },
178
494
  "dependencies": {
179
495
  "@floating-ui/react-dom": "^2.1.7",