@elaraai/e3-ui-components 1.0.60 → 1.0.61

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/index.cjs CHANGED
@@ -8944,7 +8944,7 @@ const ConflictRow = React.memo(function ConflictRow2({ row, depth, bindingPathSt
8944
8944
  gap: "8px",
8945
8945
  mt: "10px",
8946
8946
  p: "12px",
8947
- bg: "white",
8947
+ bg: "bg.surface",
8948
8948
  border: "1px solid",
8949
8949
  borderColor: "fg.warning",
8950
8950
  borderRadius: "md",
@@ -20466,28 +20466,18 @@ function FiAlertTriangle(props) {
20466
20466
  return GenIcon({ "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, "child": [] }, { "tag": "line", "attr": { "x1": "12", "y1": "9", "x2": "12", "y2": "13" }, "child": [] }, { "tag": "line", "attr": { "x1": "12", "y1": "17", "x2": "12.01", "y2": "17" }, "child": [] }] })(props);
20467
20467
  }
20468
20468
  const NODE_KIND_ACCENT = {
20469
- process: "#3a7780",
20470
- // brand.600
20471
- computation: "#42757d",
20472
- // color-mix(brand.600 60%, gray.500)
20473
- decision: "#2b4b55",
20474
- // brand.700
20475
- objective: "#253333",
20476
- // gray.800
20477
- kpi: "#2f7a5b",
20478
- // status.pos
20479
- agent: "#6d5a7a",
20480
- // color-mix(brand.700 45%, status.warn 15%, gray.500) — plum, people/role tone
20481
- data: "#b8862d",
20482
- // status.warn
20483
- resource: "#56727a",
20484
- // color-mix(brand.600 30%, gray.500)
20485
- policy: "#8d7a5f",
20486
- // color-mix(status.warn 50%, gray.600)
20487
- document: "#bcd1d3",
20488
- // color-mix(brand.600 30%, gray.100)
20489
- group: "#4a5f5f"
20490
- // gray.600
20469
+ process: "brand.600",
20470
+ computation: "color-mix(in srgb, var(--chakra-colors-brand-600) 60%, var(--chakra-colors-gray-500))",
20471
+ decision: "brand.700",
20472
+ objective: "gray.800",
20473
+ kpi: "status.pos",
20474
+ agent: "color-mix(in srgb, var(--chakra-colors-brand-700) 45%, color-mix(in srgb, var(--chakra-colors-status-warn) 15%, var(--chakra-colors-gray-500)))",
20475
+ // plum — people/role tone
20476
+ data: "status.warn",
20477
+ resource: "color-mix(in srgb, var(--chakra-colors-brand-600) 30%, var(--chakra-colors-gray-500))",
20478
+ policy: "color-mix(in srgb, var(--chakra-colors-status-warn) 50%, var(--chakra-colors-gray-600))",
20479
+ document: "color-mix(in srgb, var(--chakra-colors-brand-600) 30%, var(--chakra-colors-gray-100))",
20480
+ group: "gray.600"
20491
20481
  };
20492
20482
  const EDGE_DASH = {
20493
20483
  // flow — solid
@@ -57172,20 +57162,7 @@ function OntologyEditorBody({
57172
57162
  const proOptions = React.useMemo(() => ({ hideAttribution: true }), []);
57173
57163
  const miniMapNodeColor = React.useCallback((node2) => {
57174
57164
  const data4 = node2.data;
57175
- const accent = {
57176
- process: "#3a7780",
57177
- computation: "#42757d",
57178
- decision: "#2b4b55",
57179
- objective: "#253333",
57180
- kpi: "#2f7a5b",
57181
- agent: "#6d5a7a",
57182
- data: "#b8862d",
57183
- resource: "#56727a",
57184
- policy: "#8d7a5f",
57185
- document: "#bcd1d3",
57186
- group: "#4a5f5f"
57187
- };
57188
- return accent[data4.type] ?? "#6b8080";
57165
+ return NODE_KIND_ACCENT[data4.type] ?? "fg.muted";
57189
57166
  }, []);
57190
57167
  const getNode = React.useCallback(
57191
57168
  (id3) => ontology.nodes.find((n2) => n2.id === id3),
@@ -64457,10 +64434,10 @@ function HighlightedLine({
64457
64434
  "span",
64458
64435
  {
64459
64436
  style: {
64460
- backgroundColor: isCurrent ? "#f59e0b" : "#fbbf24",
64461
- color: "#000",
64437
+ backgroundColor: isCurrent ? "var(--chakra-colors-status-warn)" : "var(--chakra-colors-status-warn-subtle-strong)",
64438
+ color: "var(--chakra-colors-fg-default)",
64462
64439
  borderRadius: "2px",
64463
- outline: isCurrent ? "2px solid #f59e0b" : void 0
64440
+ outline: isCurrent ? "2px solid var(--chakra-colors-status-warn)" : void 0
64464
64441
  },
64465
64442
  children: text.slice(match2.start, match2.end)
64466
64443
  },
@@ -64613,7 +64590,7 @@ function VirtualizedLogViewer({ content, tabs }) {
64613
64590
  {
64614
64591
  px: 3,
64615
64592
  py: 2,
64616
- bg: "gray.800",
64593
+ bg: "bg.inverse",
64617
64594
  borderTopRadius: "md",
64618
64595
  align: "center",
64619
64596
  justify: "space-between",
@@ -64621,8 +64598,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64621
64598
  gap: 2,
64622
64599
  children: [
64623
64600
  /* @__PURE__ */ jsxRuntime.jsx(react.Tabs.RootProvider, { value: tabs, size: "sm", variant: "line", children: /* @__PURE__ */ jsxRuntime.jsxs(react.Tabs.List, { borderBottom: "none", children: [
64624
- /* @__PURE__ */ jsxRuntime.jsx(react.Tabs.Trigger, { value: "stdout", color: "gray.300", _selected: { color: "white" }, children: "stdout" }),
64625
- /* @__PURE__ */ jsxRuntime.jsx(react.Tabs.Trigger, { value: "stderr", color: "gray.300", _selected: { color: "white" }, children: "stderr" })
64601
+ /* @__PURE__ */ jsxRuntime.jsx(react.Tabs.Trigger, { value: "stdout", color: "fg.subtle", _selected: { color: "fg.inverse" }, children: "stdout" }),
64602
+ /* @__PURE__ */ jsxRuntime.jsx(react.Tabs.Trigger, { value: "stderr", color: "fg.subtle", _selected: { color: "fg.inverse" }, children: "stderr" })
64626
64603
  ] }) }),
64627
64604
  /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "center", gap: 1, children: [
64628
64605
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -64633,22 +64610,22 @@ function VirtualizedLogViewer({ content, tabs }) {
64633
64610
  value: searchQuery,
64634
64611
  onChange: (e3) => setSearchQuery(e3.target.value),
64635
64612
  onKeyDown: handleSearchKeyDown,
64636
- bg: "gray.700",
64613
+ bg: "bg.inverse",
64637
64614
  border: "none",
64638
- color: "white",
64639
- _placeholder: { color: "gray.400" },
64615
+ color: "fg.inverse",
64616
+ _placeholder: { color: "fg.subtle" },
64640
64617
  width: "min(150px, 40vw)"
64641
64618
  }
64642
64619
  ),
64643
- searchQuery && /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "xs", color: "gray.400", minWidth: "50px", textAlign: "center", children: matches33.length > 0 ? `${currentMatchIndex + 1}/${matches33.length}` : "0/0" }),
64620
+ searchQuery && /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "xs", color: "fg.subtle", minWidth: "50px", textAlign: "center", children: matches33.length > 0 ? `${currentMatchIndex + 1}/${matches33.length}` : "0/0" }),
64644
64621
  /* @__PURE__ */ jsxRuntime.jsx(
64645
64622
  react.IconButton,
64646
64623
  {
64647
64624
  variant: "ghost",
64648
64625
  size: "xs",
64649
64626
  onClick: handlePrevMatch,
64650
- color: "gray.400",
64651
- _hover: { color: "white" },
64627
+ color: "fg.subtle",
64628
+ _hover: { color: "fg.inverse" },
64652
64629
  "aria-label": "Previous match",
64653
64630
  disabled: matches33.length === 0,
64654
64631
  children: /* @__PURE__ */ jsxRuntime.jsx(FontAwesomeIcon, { icon: faChevronUp })
@@ -64660,8 +64637,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64660
64637
  variant: "ghost",
64661
64638
  size: "xs",
64662
64639
  onClick: handleNextMatch,
64663
- color: "gray.400",
64664
- _hover: { color: "white" },
64640
+ color: "fg.subtle",
64641
+ _hover: { color: "fg.inverse" },
64665
64642
  "aria-label": "Next match",
64666
64643
  disabled: matches33.length === 0,
64667
64644
  children: /* @__PURE__ */ jsxRuntime.jsx(FontAwesomeIcon, { icon: faChevronDown })
@@ -64673,8 +64650,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64673
64650
  variant: "ghost",
64674
64651
  size: "xs",
64675
64652
  onClick: handleCopy,
64676
- color: "gray.400",
64677
- _hover: { color: "white" },
64653
+ color: "fg.subtle",
64654
+ _hover: { color: "fg.inverse" },
64678
64655
  "aria-label": "Copy logs",
64679
64656
  children: /* @__PURE__ */ jsxRuntime.jsx(FontAwesomeIcon, { icon: copied ? faCheck : faCopy })
64680
64657
  }
@@ -64695,7 +64672,7 @@ function VirtualizedLogViewer({ content, tabs }) {
64695
64672
  borderTopWidth: "0",
64696
64673
  fontFamily: "mono",
64697
64674
  fontSize: "sm",
64698
- color: "gray.100",
64675
+ color: "fg.inverse",
64699
64676
  onScroll: handleScroll,
64700
64677
  children: /* @__PURE__ */ jsxRuntime.jsx(
64701
64678
  "div",
@@ -64720,12 +64697,12 @@ function VirtualizedLogViewer({ content, tabs }) {
64720
64697
  height: `${virtualItem.size}px`,
64721
64698
  transform: `translateY(${virtualItem.start}px)`
64722
64699
  },
64723
- children: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { px: 3, py: 0.5, _hover: { bg: "gray.800" }, children: [
64700
+ children: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { px: 3, py: 0.5, _hover: { bg: "bg.inverse" }, children: [
64724
64701
  /* @__PURE__ */ jsxRuntime.jsx(
64725
64702
  react.Text,
64726
64703
  {
64727
64704
  as: "span",
64728
- color: "gray.500",
64705
+ color: "fg.muted",
64729
64706
  minWidth: "50px",
64730
64707
  textAlign: "right",
64731
64708
  mr: 3,
@@ -65023,20 +65000,20 @@ function ValueNode({
65023
65000
  }) {
65024
65001
  if (depth > 20) {
65025
65002
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65026
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65003
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65027
65004
  label,
65028
65005
  ":"
65029
65006
  ] }),
65030
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "[max depth reached]" })
65007
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "[max depth reached]" })
65031
65008
  ] });
65032
65009
  }
65033
65010
  if (isPrimitive(type)) {
65034
65011
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65035
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65012
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65036
65013
  label,
65037
65014
  ":"
65038
65015
  ] }),
65039
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: type.type === "String" ? "green.400" : type.type === "Integer" || type.type === "Float" ? "blue.400" : "gray.300", children: formatPrimitive(type, value) }),
65016
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: type.type === "String" ? "fg.success" : type.type === "Integer" || type.type === "Float" ? "link" : "fg.muted", children: formatPrimitive(type, value) }),
65040
65017
  /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "gray", variant: "subtle", children: type.type })
65041
65018
  ] });
65042
65019
  }
@@ -65046,28 +65023,28 @@ function ValueNode({
65046
65023
  const elementType = type.value;
65047
65024
  if (items.length === 0) {
65048
65025
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65049
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65026
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65050
65027
  label,
65051
65028
  ":"
65052
65029
  ] }),
65053
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "[]" }),
65054
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "blue", variant: "subtle", children: "Array[0]" })
65030
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "[]" }),
65031
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: "Array[0]" })
65055
65032
  ] });
65056
65033
  }
65057
65034
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65058
65035
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65059
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65036
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65060
65037
  label,
65061
65038
  ":"
65062
65039
  ] }),
65063
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "blue", variant: "subtle", children: typeLabel })
65040
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: typeLabel })
65064
65041
  ] }),
65065
65042
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { pl: 4, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(
65066
65043
  react.Box,
65067
65044
  {
65068
65045
  py: 1,
65069
65046
  borderBottom: index2 < items.length - 1 ? "1px solid" : void 0,
65070
- borderColor: "gray.700",
65047
+ borderColor: "border.strong",
65071
65048
  children: /* @__PURE__ */ jsxRuntime.jsx(
65072
65049
  ValueNode,
65073
65050
  {
@@ -65087,21 +65064,21 @@ function ValueNode({
65087
65064
  const obj = value;
65088
65065
  if (fields.length === 0) {
65089
65066
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65090
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65067
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65091
65068
  label,
65092
65069
  ":"
65093
65070
  ] }),
65094
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "{}" }),
65095
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "orange", variant: "subtle", children: "Struct" })
65071
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "{}" }),
65072
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "warning", variant: "subtle", children: "Struct" })
65096
65073
  ] });
65097
65074
  }
65098
65075
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65099
65076
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65100
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65077
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65101
65078
  label,
65102
65079
  ":"
65103
65080
  ] }),
65104
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "orange", variant: "subtle", children: typeLabel })
65081
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "warning", variant: "subtle", children: typeLabel })
65105
65082
  ] }),
65106
65083
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { pl: 4, children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
65107
65084
  ValueNode,
@@ -65121,11 +65098,11 @@ function ValueNode({
65121
65098
  const activeCase = cases.find((c2) => c2.name === variant.type);
65122
65099
  if (!activeCase) {
65123
65100
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65124
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65101
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65125
65102
  label,
65126
65103
  ":"
65127
65104
  ] }),
65128
- /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "red.400", children: [
65105
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "fg.danger", children: [
65129
65106
  "Unknown variant: ",
65130
65107
  variant.type
65131
65108
  ] })
@@ -65133,11 +65110,11 @@ function ValueNode({
65133
65110
  }
65134
65111
  if (activeCase.type.type === "Null") {
65135
65112
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65136
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65113
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65137
65114
  label,
65138
65115
  ":"
65139
65116
  ] }),
65140
- /* @__PURE__ */ jsxRuntime.jsxs(react.Badge, { size: "xs", colorPalette: "purple", variant: "subtle", children: [
65117
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: [
65141
65118
  ".",
65142
65119
  variant.type
65143
65120
  ] })
@@ -65145,11 +65122,11 @@ function ValueNode({
65145
65122
  }
65146
65123
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65147
65124
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65148
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65125
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65149
65126
  label,
65150
65127
  ":"
65151
65128
  ] }),
65152
- /* @__PURE__ */ jsxRuntime.jsxs(react.Badge, { size: "xs", colorPalette: "purple", variant: "subtle", children: [
65129
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: [
65153
65130
  ".",
65154
65131
  variant.type
65155
65132
  ] })
@@ -65170,29 +65147,29 @@ function ValueNode({
65170
65147
  const valueType = type.value.value;
65171
65148
  if (map3.size === 0) {
65172
65149
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65173
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65150
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65174
65151
  label,
65175
65152
  ":"
65176
65153
  ] }),
65177
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "Map{}" }),
65178
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "teal", variant: "subtle", children: "Dict[0]" })
65154
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "Map{}" }),
65155
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "info", variant: "subtle", children: "Dict[0]" })
65179
65156
  ] });
65180
65157
  }
65181
65158
  const entries = Array.from(map3.entries());
65182
65159
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65183
65160
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65184
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65161
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65185
65162
  label,
65186
65163
  ":"
65187
65164
  ] }),
65188
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "teal", variant: "subtle", children: typeLabel })
65165
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "info", variant: "subtle", children: typeLabel })
65189
65166
  ] }),
65190
65167
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { pl: 4, children: entries.map(([k2, v3], i) => /* @__PURE__ */ jsxRuntime.jsxs(
65191
65168
  react.Box,
65192
65169
  {
65193
65170
  py: 2,
65194
65171
  borderBottom: i < entries.length - 1 ? "1px solid" : void 0,
65195
- borderColor: "gray.700",
65172
+ borderColor: "border.strong",
65196
65173
  children: [
65197
65174
  /* @__PURE__ */ jsxRuntime.jsx(ValueNode, { type: keyType, value: k2, depth: depth + 1 }),
65198
65175
  /* @__PURE__ */ jsxRuntime.jsx(ValueNode, { type: valueType, value: v3, depth: depth + 1 })
@@ -65207,29 +65184,29 @@ function ValueNode({
65207
65184
  const elementType = type.value;
65208
65185
  if (set3.size === 0) {
65209
65186
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65210
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65187
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65211
65188
  label,
65212
65189
  ":"
65213
65190
  ] }),
65214
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "Set{}" }),
65215
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "pink", variant: "subtle", children: "Set[0]" })
65191
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "Set{}" }),
65192
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: "Set[0]" })
65216
65193
  ] });
65217
65194
  }
65218
65195
  const items = Array.from(set3);
65219
65196
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65220
65197
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65221
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65198
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65222
65199
  label,
65223
65200
  ":"
65224
65201
  ] }),
65225
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "pink", variant: "subtle", children: typeLabel })
65202
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: typeLabel })
65226
65203
  ] }),
65227
65204
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { pl: 4, children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(
65228
65205
  react.Box,
65229
65206
  {
65230
65207
  py: 1,
65231
65208
  borderBottom: i < items.length - 1 ? "1px solid" : void 0,
65232
- borderColor: "gray.700",
65209
+ borderColor: "border.strong",
65233
65210
  children: /* @__PURE__ */ jsxRuntime.jsx(
65234
65211
  ValueNode,
65235
65212
  {
@@ -65247,11 +65224,11 @@ function ValueNode({
65247
65224
  const ref = value;
65248
65225
  return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs("details", { children: [
65249
65226
  /* @__PURE__ */ jsxRuntime.jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65250
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65227
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65251
65228
  label,
65252
65229
  ":"
65253
65230
  ] }),
65254
- /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "red", variant: "subtle", children: "Ref" })
65231
+ /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "danger", variant: "subtle", children: "Ref" })
65255
65232
  ] }),
65256
65233
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { pl: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
65257
65234
  ValueNode,
@@ -65265,20 +65242,20 @@ function ValueNode({
65265
65242
  }
65266
65243
  if (type.type === "Function" || type.type === "AsyncFunction") {
65267
65244
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65268
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65245
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65269
65246
  label,
65270
65247
  ":"
65271
65248
  ] }),
65272
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "gray.500", children: "[function]" }),
65249
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color: "fg.muted", children: "[function]" }),
65273
65250
  /* @__PURE__ */ jsxRuntime.jsx(react.Badge, { size: "xs", colorPalette: "gray", variant: "subtle", children: type.type })
65274
65251
  ] });
65275
65252
  }
65276
65253
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65277
- label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65254
+ label && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65278
65255
  label,
65279
65256
  ":"
65280
65257
  ] }),
65281
- /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "gray.500", children: [
65258
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", color: "fg.muted", children: [
65282
65259
  "[",
65283
65260
  type.type,
65284
65261
  "]"