@trinityui/design-system 1.0.8 → 1.0.9

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/charts.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as t, Fragment as bt } from "react/jsx-runtime";
2
2
  import $t, { useId as Ft, useMemo as Q, useState as It, useCallback as pt } from "react";
3
3
  import { ResponsiveContainer as Z, LineChart as xt, CartesianGrid as lt, XAxis as at, YAxis as et, Tooltip as nt, Legend as st, ReferenceLine as tt, Area as dt, Line as yt, BarChart as vt, Bar as kt, AreaChart as St, PieChart as Kt, Pie as Rt, Cell as gt, Sector as Dt, ScatterChart as Tt, ZAxis as Ot, Scatter as Bt, RadialBarChart as Ct, RadialBar as zt, PolarAngleAxis as Et, ComposedChart as jt } from "recharts";
4
4
  import { Box as l, Skeleton as ut, Typography as z, useTheme as _t } from "@mui/material";
5
- import { b as K, a as wt, s as V } from "./navigation.js";
5
+ import { b as K, a as wt, s as V } from "./app-shell.js";
6
6
  const H = wt.colors.gray, M = [
7
7
  K.primary.light,
8
8
  // Purple (#7841C9)
@@ -8,7 +8,7 @@ import Br from "@mui/icons-material/FileDownload";
8
8
  import Oe from "@mui/icons-material/Add";
9
9
  import je from "@mui/icons-material/Close";
10
10
  import Tr from "@mui/icons-material/Check";
11
- import { b as i, s as ie } from "./navigation.js";
11
+ import { b as i, s as ie } from "./app-shell.js";
12
12
  import Fr from "@mui/icons-material/MoreVert";
13
13
  import "@mui/icons-material/CheckCircle";
14
14
  import "@mui/icons-material/Error";
package/dist/data.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { useTheme as B, Card as M, CardContent as O, Box as i, Skeleton as C, Typography as p, Tooltip as R, IconButton as L } from "@mui/material";
3
3
  import { InfoOutlined as A, MoreVert as F, TrendingFlat as G, TrendingDown as U, TrendingUp as Y } from "@mui/icons-material";
4
- import { s as x } from "./navigation.js";
4
+ import { s as x } from "./app-shell.js";
5
5
  const q = ({ data: r, color: l, height: o = 40 }) => {
6
6
  if (!r || r.length < 2) return null;
7
7
  const d = Math.min(...r), S = Math.max(...r) - d || 1, a = 100, h = r.map((g, y) => {
@@ -1,5 +1,5 @@
1
1
  import { brandColors as Se, darkTheme as Re, lightTheme as Ie, useTrinityTokens as Ae } from "./theme.js";
2
- import { a as je, s as we } from "./navigation.js";
2
+ import { a as je, s as we } from "./app-shell.js";
3
3
  import { C as Oe, I as Ve, M as We, S as _e, a as Be, c as He, T as Le, u as Me, b as Ne } from "./Legend.js";
4
4
  import { D as qe } from "./data.js";
5
5
  import { jsxs as k, jsx as t, Fragment as ae } from "react/jsx-runtime";
package/dist/index.js CHANGED
@@ -1,20 +1,19 @@
1
- import { s as B, b as he, o as ve, l as ie, f as Ze, c as Ct, g as wt, p as St, i as $e, k as kt, a as zt, j as Tt } from "./navigation.js";
2
- import { v as Kn, u as Nn, A as Un, C as Gn, H as _n, I as qn, R as Yn, S as Jn, T as Xn, q as Zn, r as Qn, U as eo, e as to, d as ro, m as no, n as oo, h as io, t as ao } from "./navigation.js";
1
+ import { s as B, b as he, o as ve, l as ie, f as Ze, c as Ct, g as wt, p as St, i as $e, k as kt, a as zt, j as Tt } from "./app-shell.js";
2
+ import { $ as Kn, O as Nn, a8 as Un, a7 as Gn, _ as _n, a0 as qn, a1 as Yn, P as Jn, w as Xn, N as Zn, F as Qn, K as eo, a2 as to, aa as ro, Y as no, G as oo, a6 as io, V as ao, X as lo, W as so, Z as co, J as uo, a9 as ho, E as po, u as fo, A as mo, z as go, B as yo, y as xo, C as bo, a5 as vo, a3 as Co, H as wo, I as So, ac as ko, x as zo, D as To, v as Do, Q as Ao, R as Io, S as Mo, a4 as Eo, T as Fo, q as Lo, r as Po, M as Ro, U as Bo, L as Wo, ab as Ho, e as Oo, d as $o, m as jo, n as Vo, h as Ko, t as No } from "./app-shell.js";
3
3
  import { jsx as t, jsxs as g, Fragment as fe } from "react/jsx-runtime";
4
4
  import * as y from "react";
5
5
  import Dt, { useState as oe, useEffect as le, useRef as ge, useCallback as q, useMemo as Qe, createContext as At, useContext as It, useId as Mt } from "react";
6
6
  import { useTheme as ee, useMediaQuery as ue, Box as m, Typography as j, Divider as ye, Link as et, Skeleton as we, Breadcrumbs as Et, Stack as Be, Chip as Se, Button as ae, IconButton as Q, Tabs as tt, Tab as rt, alpha as _, Paper as ke, Menu as We, MenuItem as ce, Tooltip as Ce, ToggleButtonGroup as Ft, ToggleButton as Ne, Avatar as Lt, Collapse as nt, TextField as me, InputAdornment as Fe, Checkbox as Le, List as Ie, ListItem as Pe, ListItemButton as Me, ListItemIcon as de, ListItemText as pe, ClickAwayListener as Pt, InputBase as ot, Popper as Rt, Fade as it, Badge as Bt, Popover as Wt, FormControl as Ht, Select as Ot, Dialog as $t, DialogContent as jt } from "@mui/material";
7
- import { w as so, i as co, E as uo, A as ho, v as po, x as fo, y as mo, r as go, q as yo, h as xo, o as bo, z as vo, F as Co, d as wo, m as So, D as ko, s as zo, c as To, t as Do, u as Ao, n as Io, e as Mo, g as Eo, k as Fo, l as Lo, C as Po, B as Ro, G as Bo, I as Wo, H as Ho, j as Oo, f as $o, Q as jo, S as Vo, p as Ko, U as No, a as Uo } from "./ai.js";
8
- import { C as _o, I as qo, M as Yo, S as Jo, a as Xo, c as Zo, T as Qo, U as ei, u as ti, b as ri } from "./Legend.js";
7
+ import { C as Go, I as _o, M as qo, S as Yo, a as Jo, c as Xo, T as Zo, U as Qo, u as ei, b as ti } from "./Legend.js";
9
8
  import { createTrinityThemePreset as Te, brandColors as Vt } from "./theme.js";
10
- import { accessibleCombinations as oi, createTrinityTheme as ii, darkTheme as ai, generateCssVariables as li, generateDarkModeCssVariables as si, getContrastRatio as ci, injectDarkModeCssVariables as di, injectTrinityCssVariables as ui, lightTheme as hi, useTrinityTokens as pi, validateAccessibility as fi } from "./theme.js";
9
+ import { accessibleCombinations as ni, createTrinityTheme as oi, darkTheme as ii, generateCssVariables as ai, generateDarkModeCssVariables as li, getContrastRatio as si, injectDarkModeCssVariables as ci, injectTrinityCssVariables as di, lightTheme as ui, useTrinityTokens as hi, validateAccessibility as pi } from "./theme.js";
11
10
  import Kt from "@mui/icons-material/NavigateNext";
12
11
  import Nt from "@mui/icons-material/Home";
13
12
  import Ut from "@mui/icons-material/MoreVert";
14
13
  import { DragIndicator as at, Close as ze, PushPin as Ue, Minimize as Ge, Maximize as _e, MoreVert as Gt, OpenInNew as _t, ContentCopy as qe, ViewStream as qt, ViewColumn as Yt, ExpandLess as lt, ExpandMore as Ee, Clear as st, Search as Re, InsertDriveFile as Jt, Folder as Xt, FolderOpen as Zt, ChevronRight as ct, KeyboardDoubleArrowRight as Qt, ChevronLeft as er, KeyboardDoubleArrowLeft as tr, TrendingUp as rr, ArrowForward as nr, History as or, FilterList as ir, BookmarkBorder as ar, Refresh as Ye, Check as lr, Add as sr, ArrowUpward as cr, ArrowDownward as dr, KeyboardReturn as ur } from "@mui/icons-material";
15
- import { D as gi } from "./data.js";
16
- import { C as xi, F as bi, R as vi } from "./forms.js";
17
- import { A as wi, B as Si, a as ki, c as zi, C as Ti, f as Di, d as Ai, D as Ii, G as Mi, I as Ei, L as Fi, P as Li, g as Pi, R as Ri, S as Bi, e as Wi, b as Hi } from "./charts.js";
14
+ import { D as mi } from "./data.js";
15
+ import { C as yi, F as xi, R as bi } from "./forms.js";
16
+ import { A as Ci, B as wi, a as Si, c as ki, C as zi, f as Ti, d as Di, D as Ai, G as Ii, I as Mi, L as Ei, P as Fi, g as Li, R as Pi, S as Ri, e as Bi, b as Wi } from "./charts.js";
18
17
  const hr = [
19
18
  {
20
19
  label: "Privacy Policy",
@@ -4944,99 +4943,99 @@ const Mn = {
4944
4943
  colors: xt
4945
4944
  }, On = bt.theme, $n = vt.theme;
4946
4945
  export {
4947
- so as AIActionsGroup,
4948
- co as AIAvatar,
4949
- uo as AIChatInput,
4950
- ho as AIChatMessage,
4951
- po as AICircularAction,
4952
- fo as AIContainer,
4953
- mo as AIExpandableSection,
4954
- go as AIExplainability,
4955
- Kn as AIFabLayout,
4956
- yo as AILabel,
4957
- xo as AIListeningIndicator,
4958
- bo as AIMessage,
4959
- vo as AIPersonaCard,
4960
- Co as AIQuickReply,
4961
- wo as AIRelatedQuestions,
4962
- So as AIResponseRenderer,
4963
- ko as AIShimmer,
4964
- zo as AISource,
4965
- To as AISourcesPanel,
4966
- Do as AISourcesSection,
4967
- Ao as AISuggestedAction,
4968
- Io as AITextBlock,
4969
- Mo as AITypingIndicator,
4970
- Eo as AIVoiceOverlay,
4971
- Nn as AppLayout,
4972
- Un as AppsMenu,
4973
- wi as AreaChart,
4974
- Si as BarChart,
4975
- ki as BubbleChart,
4976
- zi as ChartWrapper,
4977
- Fo as ChatHeader,
4978
- Lo as ChatHistoryList,
4979
- Po as ChatThread,
4980
- Gn as ClientMenu,
4981
- xi as Combobox,
4946
+ Kn as AIActionsGroup,
4947
+ Nn as AIAvatar,
4948
+ Un as AIChatInput,
4949
+ Gn as AIChatMessage,
4950
+ _n as AICircularAction,
4951
+ qn as AIContainer,
4952
+ Yn as AIExpandableSection,
4953
+ Jn as AIExplainability,
4954
+ Xn as AIFabLayout,
4955
+ Zn as AILabel,
4956
+ Qn as AIListeningIndicator,
4957
+ eo as AIMessage,
4958
+ to as AIPersonaCard,
4959
+ ro as AIQuickReply,
4960
+ no as AIRelatedQuestions,
4961
+ oo as AIResponseRenderer,
4962
+ io as AIShimmer,
4963
+ ao as AISource,
4964
+ lo as AISourcesPanel,
4965
+ so as AISourcesSection,
4966
+ co as AISuggestedAction,
4967
+ uo as AITextBlock,
4968
+ ho as AITypingIndicator,
4969
+ po as AIVoiceOverlay,
4970
+ fo as AppLayout,
4971
+ mo as AppsMenu,
4972
+ Ci as AreaChart,
4973
+ wi as BarChart,
4974
+ Si as BubbleChart,
4975
+ ki as ChartWrapper,
4976
+ go as ChatHeader,
4977
+ yo as ChatHistoryList,
4978
+ xo as ChatThread,
4979
+ bo as ClientMenu,
4980
+ yi as Combobox,
4982
4981
  Gr as CommandPalette,
4983
- Ti as ComposedChart,
4984
- _o as ConfirmDialog,
4985
- Di as CustomLegend,
4986
- Ai as CustomTooltip,
4987
- gi as DataCard,
4982
+ zi as ComposedChart,
4983
+ Go as ConfirmDialog,
4984
+ Ti as CustomLegend,
4985
+ Di as CustomTooltip,
4986
+ mi as DataCard,
4988
4987
  $r as DiffViewer,
4989
4988
  Or as DockLayout,
4990
- Ii as DonutChart,
4991
- bi as FileUpload,
4989
+ Ai as DonutChart,
4990
+ xi as FileUpload,
4992
4991
  Ur as FilterBar,
4993
4992
  Br as Footer,
4994
4993
  dn as FormProvider,
4995
- Mi as GaugeChart,
4996
- Ro as GradientIconBadge,
4997
- Bo as GradientText,
4998
- _n as HeaderActions,
4999
- Wo as Icon,
5000
- Ho as IconProvider,
5001
- qo as IllustratedMessage,
5002
- Oo as InsightEngine,
5003
- $o as InsightEngineInput,
5004
- qn as InsightEnginePanel,
5005
- Ei as InteractiveLegend,
5006
- Fi as LineChart,
5007
- Yo as Modal,
4994
+ Ii as GaugeChart,
4995
+ vo as GradientIconBadge,
4996
+ Co as GradientText,
4997
+ wo as HeaderActions,
4998
+ So as Icon,
4999
+ ko as IconProvider,
5000
+ _o as IllustratedMessage,
5001
+ zo as InsightEngine,
5002
+ To as InsightEngineInput,
5003
+ Do as InsightEnginePanel,
5004
+ Mi as InteractiveLegend,
5005
+ Ei as LineChart,
5006
+ qo as Modal,
5008
5007
  Wr as PageHeader,
5009
- Li as PieChart,
5010
- Pi as PieLegend,
5011
- jo as QueryInput,
5012
- Ri as RadialBarChart,
5013
- Yn as ResizablePanel,
5014
- vi as RichTextEditor,
5015
- Bi as ScatterChart,
5016
- Jn as SearchBar,
5008
+ Fi as PieChart,
5009
+ Li as PieLegend,
5010
+ Ao as QueryInput,
5011
+ Pi as RadialBarChart,
5012
+ Io as ResizablePanel,
5013
+ bi as RichTextEditor,
5014
+ Ri as ScatterChart,
5015
+ Mo as SearchBar,
5017
5016
  Nr as SearchInput,
5018
- Wi as SimpleTooltip,
5017
+ Bi as SimpleTooltip,
5019
5018
  an as SkipLink,
5020
- Hi as Sparkline,
5019
+ Wi as Sparkline,
5021
5020
  Hr as SplitPane,
5022
- Vo as StatCard,
5023
- Jo as StatusIndicator,
5024
- Xo as StatusLegend,
5021
+ Eo as StatCard,
5022
+ Yo as StatusIndicator,
5023
+ Jo as StatusLegend,
5025
5024
  jr as Timeline,
5026
- Zo as Toast,
5027
- Qo as ToastProvider,
5028
- Xn as TopNavHeader,
5029
- Zn as TopNavWithSidebar,
5025
+ Xo as Toast,
5026
+ Zo as ToastProvider,
5027
+ Fo as TopNavHeader,
5028
+ Lo as TopNavWithSidebar,
5030
5029
  Kr as TransferList,
5031
5030
  Vr as TreeView,
5032
- Qn as TrinityLogo,
5033
- ei as UploadDropZone,
5034
- Ko as UserAvatar,
5035
- eo as UserMenu,
5036
- No as UserMessage,
5031
+ Po as TrinityLogo,
5032
+ Qo as UploadDropZone,
5033
+ Ro as UserAvatar,
5034
+ Bo as UserMenu,
5035
+ Wo as UserMessage,
5037
5036
  sn as VisuallyHidden,
5038
- oi as accessibleCombinations,
5039
- Uo as aiTokens,
5037
+ ni as accessibleCombinations,
5038
+ Ho as aiTokens,
5040
5039
  Ke as analyticsConfig,
5041
5040
  $n as analyticsDarkTheme,
5042
5041
  On as analyticsLightTheme,
@@ -5047,28 +5046,28 @@ export {
5047
5046
  Cn as attentionStyles,
5048
5047
  zt as baseTokens,
5049
5048
  Vt as brandColors,
5050
- to as componentTokens,
5049
+ Oo as componentTokens,
5051
5050
  Tt as contrastHierarchy,
5052
- ii as createTrinityTheme,
5051
+ oi as createTrinityTheme,
5053
5052
  Te as createTrinityThemePreset,
5054
5053
  je as crmConfig,
5055
5054
  Pn as crmDarkTheme,
5056
5055
  Ln as crmLightTheme,
5057
5056
  Fn as crmPreset,
5058
5057
  bn as custom,
5059
- ro as darkModeTokens,
5060
- ai as darkTheme,
5058
+ $o as darkModeTokens,
5059
+ ii as darkTheme,
5061
5060
  xt as dataVizColors,
5062
5061
  Ze as elevationHierarchy,
5063
5062
  pn as email,
5064
5063
  kn as ensureTouchTarget,
5065
- li as generateCssVariables,
5066
- si as generateDarkModeCssVariables,
5064
+ ai as generateCssVariables,
5065
+ li as generateDarkModeCssVariables,
5067
5066
  ve as getAttentionColor,
5068
5067
  zr as getAttentionStyles,
5069
5068
  Dn as getContrastColors,
5070
- ci as getContrastRatio,
5071
- no as getElevation,
5069
+ si as getContrastRatio,
5070
+ jo as getElevation,
5072
5071
  re as getElevationStyles,
5073
5072
  Xe as getFocusRingStyles,
5074
5073
  St as getHierarchySpacing,
@@ -5076,14 +5075,14 @@ export {
5076
5075
  zn as getInteractiveStyles,
5077
5076
  wn as getScaledSize,
5078
5077
  Tr as getSpacing,
5079
- oo as getTypography,
5078
+ Vo as getTypography,
5080
5079
  X as getTypographyStyles,
5081
- io as hierarchy,
5080
+ Ko as hierarchy,
5082
5081
  Tn as hoverEffect,
5083
- di as injectDarkModeCssVariables,
5084
- ui as injectTrinityCssVariables,
5082
+ ci as injectDarkModeCssVariables,
5083
+ di as injectTrinityCssVariables,
5085
5084
  kt as interactiveHierarchy,
5086
- hi as lightTheme,
5085
+ ui as lightTheme,
5087
5086
  xn as max,
5088
5087
  mn as maxLength,
5089
5088
  An as meetsWCAG,
@@ -5099,14 +5098,14 @@ export {
5099
5098
  B as semanticTokens,
5100
5099
  se as spacing,
5101
5100
  ie as spacingHierarchy,
5102
- ao as tokens,
5101
+ No as tokens,
5103
5102
  Ct as typographicHierarchy,
5104
5103
  kr as typographyPresets,
5105
5104
  vn as uiElevation,
5106
5105
  Mn as uiPatterns,
5107
5106
  ln as useAriaLive,
5108
5107
  Yr as useClipboard,
5109
- ti as useConfirmDialog,
5108
+ ei as useConfirmDialog,
5110
5109
  _r as useDebounce,
5111
5110
  qr as useDebouncedCallback,
5112
5111
  nn as useFocusTrap,
@@ -5119,9 +5118,9 @@ export {
5119
5118
  Qr as usePrevious,
5120
5119
  on as useReducedMotion,
5121
5120
  cn as useRovingTabIndex,
5122
- ri as useToast,
5121
+ ti as useToast,
5123
5122
  Zr as useToggle,
5124
5123
  Xr as useTrinityBreakpoints,
5125
- pi as useTrinityTokens,
5126
- fi as validateAccessibility
5124
+ hi as useTrinityTokens,
5125
+ pi as validateAccessibility
5127
5126
  };
package/dist/theme.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createTheme as M, useTheme as C } from "@mui/material/styles";
2
- import { t as p, c as o, d as m, e as R, s as v, a as h } from "./navigation.js";
3
- import { g as Z, j as q, f as J, o as K, m as Q, p as U, n as Y, h as _, k, i as S, l as rr } from "./navigation.js";
2
+ import { t as p, c as o, d as m, e as R, s as v, a as h } from "./app-shell.js";
3
+ import { g as Z, j as q, f as J, o as K, m as Q, p as U, n as Y, h as _, k, i as S, l as rr } from "./app-shell.js";
4
4
  import { useMemo as O } from "react";
5
5
  function w(...r) {
6
6
  return `--trinity-${r.join("-").replace(/([A-Z])/g, "-$1").toLowerCase()}`;
package/dist/tokens.js CHANGED
@@ -1,4 +1,4 @@
1
- import { g as s, a as r, b as t, x as n, e as o, j as i, w as c, d as h, t as y, f as d, o as g, y as k, m as p, p as H, n as l, h as T, k as m, i as b, s as f, l as v, t as S, c as w } from "./navigation.js";
1
+ import { g as s, a as r, b as t, ae as n, e as o, j as i, ad as c, d as h, t as y, f as d, o as g, af as k, m as p, p as H, n as l, h as T, k as m, i as b, s as f, l as v, t as S, c as C } from "./app-shell.js";
2
2
  export {
3
3
  s as attentionHierarchy,
4
4
  r as baseTokens,
@@ -21,5 +21,5 @@ export {
21
21
  f as semanticTokens,
22
22
  v as spacingHierarchy,
23
23
  S as tokens,
24
- w as typographicHierarchy
24
+ C as typographicHierarchy
25
25
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trinityui/design-system",
3
3
  "private": false,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "type": "module",
6
6
  "description": "Trinity Design System - A customizable MUI-based component library",
7
7
  "main": "dist/index.js",