@elaraai/e3-ui-components 1.0.59 → 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.js CHANGED
@@ -8926,7 +8926,7 @@ const ConflictRow = memo(function ConflictRow2({ row, depth, bindingPathStr, ser
8926
8926
  gap: "8px",
8927
8927
  mt: "10px",
8928
8928
  p: "12px",
8929
- bg: "white",
8929
+ bg: "bg.surface",
8930
8930
  border: "1px solid",
8931
8931
  borderColor: "fg.warning",
8932
8932
  borderRadius: "md",
@@ -20448,28 +20448,18 @@ function FiAlertTriangle(props) {
20448
20448
  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);
20449
20449
  }
20450
20450
  const NODE_KIND_ACCENT = {
20451
- process: "#3a7780",
20452
- // brand.600
20453
- computation: "#42757d",
20454
- // color-mix(brand.600 60%, gray.500)
20455
- decision: "#2b4b55",
20456
- // brand.700
20457
- objective: "#253333",
20458
- // gray.800
20459
- kpi: "#2f7a5b",
20460
- // status.pos
20461
- agent: "#6d5a7a",
20462
- // color-mix(brand.700 45%, status.warn 15%, gray.500) — plum, people/role tone
20463
- data: "#b8862d",
20464
- // status.warn
20465
- resource: "#56727a",
20466
- // color-mix(brand.600 30%, gray.500)
20467
- policy: "#8d7a5f",
20468
- // color-mix(status.warn 50%, gray.600)
20469
- document: "#bcd1d3",
20470
- // color-mix(brand.600 30%, gray.100)
20471
- group: "#4a5f5f"
20472
- // gray.600
20451
+ process: "brand.600",
20452
+ computation: "color-mix(in srgb, var(--chakra-colors-brand-600) 60%, var(--chakra-colors-gray-500))",
20453
+ decision: "brand.700",
20454
+ objective: "gray.800",
20455
+ kpi: "status.pos",
20456
+ 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)))",
20457
+ // plum — people/role tone
20458
+ data: "status.warn",
20459
+ resource: "color-mix(in srgb, var(--chakra-colors-brand-600) 30%, var(--chakra-colors-gray-500))",
20460
+ policy: "color-mix(in srgb, var(--chakra-colors-status-warn) 50%, var(--chakra-colors-gray-600))",
20461
+ document: "color-mix(in srgb, var(--chakra-colors-brand-600) 30%, var(--chakra-colors-gray-100))",
20462
+ group: "gray.600"
20473
20463
  };
20474
20464
  const EDGE_DASH = {
20475
20465
  // flow — solid
@@ -57154,20 +57144,7 @@ function OntologyEditorBody({
57154
57144
  const proOptions = useMemo(() => ({ hideAttribution: true }), []);
57155
57145
  const miniMapNodeColor = useCallback((node2) => {
57156
57146
  const data4 = node2.data;
57157
- const accent = {
57158
- process: "#3a7780",
57159
- computation: "#42757d",
57160
- decision: "#2b4b55",
57161
- objective: "#253333",
57162
- kpi: "#2f7a5b",
57163
- agent: "#6d5a7a",
57164
- data: "#b8862d",
57165
- resource: "#56727a",
57166
- policy: "#8d7a5f",
57167
- document: "#bcd1d3",
57168
- group: "#4a5f5f"
57169
- };
57170
- return accent[data4.type] ?? "#6b8080";
57147
+ return NODE_KIND_ACCENT[data4.type] ?? "fg.muted";
57171
57148
  }, []);
57172
57149
  const getNode = useCallback(
57173
57150
  (id3) => ontology.nodes.find((n2) => n2.id === id3),
@@ -64439,10 +64416,10 @@ function HighlightedLine({
64439
64416
  "span",
64440
64417
  {
64441
64418
  style: {
64442
- backgroundColor: isCurrent ? "#f59e0b" : "#fbbf24",
64443
- color: "#000",
64419
+ backgroundColor: isCurrent ? "var(--chakra-colors-status-warn)" : "var(--chakra-colors-status-warn-subtle-strong)",
64420
+ color: "var(--chakra-colors-fg-default)",
64444
64421
  borderRadius: "2px",
64445
- outline: isCurrent ? "2px solid #f59e0b" : void 0
64422
+ outline: isCurrent ? "2px solid var(--chakra-colors-status-warn)" : void 0
64446
64423
  },
64447
64424
  children: text.slice(match2.start, match2.end)
64448
64425
  },
@@ -64595,7 +64572,7 @@ function VirtualizedLogViewer({ content, tabs }) {
64595
64572
  {
64596
64573
  px: 3,
64597
64574
  py: 2,
64598
- bg: "gray.800",
64575
+ bg: "bg.inverse",
64599
64576
  borderTopRadius: "md",
64600
64577
  align: "center",
64601
64578
  justify: "space-between",
@@ -64603,8 +64580,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64603
64580
  gap: 2,
64604
64581
  children: [
64605
64582
  /* @__PURE__ */ jsx$1(Tabs.RootProvider, { value: tabs, size: "sm", variant: "line", children: /* @__PURE__ */ jsxs(Tabs.List, { borderBottom: "none", children: [
64606
- /* @__PURE__ */ jsx$1(Tabs.Trigger, { value: "stdout", color: "gray.300", _selected: { color: "white" }, children: "stdout" }),
64607
- /* @__PURE__ */ jsx$1(Tabs.Trigger, { value: "stderr", color: "gray.300", _selected: { color: "white" }, children: "stderr" })
64583
+ /* @__PURE__ */ jsx$1(Tabs.Trigger, { value: "stdout", color: "fg.subtle", _selected: { color: "fg.inverse" }, children: "stdout" }),
64584
+ /* @__PURE__ */ jsx$1(Tabs.Trigger, { value: "stderr", color: "fg.subtle", _selected: { color: "fg.inverse" }, children: "stderr" })
64608
64585
  ] }) }),
64609
64586
  /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 1, children: [
64610
64587
  /* @__PURE__ */ jsx$1(
@@ -64615,22 +64592,22 @@ function VirtualizedLogViewer({ content, tabs }) {
64615
64592
  value: searchQuery,
64616
64593
  onChange: (e3) => setSearchQuery(e3.target.value),
64617
64594
  onKeyDown: handleSearchKeyDown,
64618
- bg: "gray.700",
64595
+ bg: "bg.inverse",
64619
64596
  border: "none",
64620
- color: "white",
64621
- _placeholder: { color: "gray.400" },
64597
+ color: "fg.inverse",
64598
+ _placeholder: { color: "fg.subtle" },
64622
64599
  width: "min(150px, 40vw)"
64623
64600
  }
64624
64601
  ),
64625
- searchQuery && /* @__PURE__ */ jsx$1(Text, { fontSize: "xs", color: "gray.400", minWidth: "50px", textAlign: "center", children: matches33.length > 0 ? `${currentMatchIndex + 1}/${matches33.length}` : "0/0" }),
64602
+ searchQuery && /* @__PURE__ */ jsx$1(Text, { fontSize: "xs", color: "fg.subtle", minWidth: "50px", textAlign: "center", children: matches33.length > 0 ? `${currentMatchIndex + 1}/${matches33.length}` : "0/0" }),
64626
64603
  /* @__PURE__ */ jsx$1(
64627
64604
  IconButton,
64628
64605
  {
64629
64606
  variant: "ghost",
64630
64607
  size: "xs",
64631
64608
  onClick: handlePrevMatch,
64632
- color: "gray.400",
64633
- _hover: { color: "white" },
64609
+ color: "fg.subtle",
64610
+ _hover: { color: "fg.inverse" },
64634
64611
  "aria-label": "Previous match",
64635
64612
  disabled: matches33.length === 0,
64636
64613
  children: /* @__PURE__ */ jsx$1(FontAwesomeIcon, { icon: faChevronUp })
@@ -64642,8 +64619,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64642
64619
  variant: "ghost",
64643
64620
  size: "xs",
64644
64621
  onClick: handleNextMatch,
64645
- color: "gray.400",
64646
- _hover: { color: "white" },
64622
+ color: "fg.subtle",
64623
+ _hover: { color: "fg.inverse" },
64647
64624
  "aria-label": "Next match",
64648
64625
  disabled: matches33.length === 0,
64649
64626
  children: /* @__PURE__ */ jsx$1(FontAwesomeIcon, { icon: faChevronDown })
@@ -64655,8 +64632,8 @@ function VirtualizedLogViewer({ content, tabs }) {
64655
64632
  variant: "ghost",
64656
64633
  size: "xs",
64657
64634
  onClick: handleCopy,
64658
- color: "gray.400",
64659
- _hover: { color: "white" },
64635
+ color: "fg.subtle",
64636
+ _hover: { color: "fg.inverse" },
64660
64637
  "aria-label": "Copy logs",
64661
64638
  children: /* @__PURE__ */ jsx$1(FontAwesomeIcon, { icon: copied ? faCheck : faCopy })
64662
64639
  }
@@ -64677,7 +64654,7 @@ function VirtualizedLogViewer({ content, tabs }) {
64677
64654
  borderTopWidth: "0",
64678
64655
  fontFamily: "mono",
64679
64656
  fontSize: "sm",
64680
- color: "gray.100",
64657
+ color: "fg.inverse",
64681
64658
  onScroll: handleScroll,
64682
64659
  children: /* @__PURE__ */ jsx$1(
64683
64660
  "div",
@@ -64702,12 +64679,12 @@ function VirtualizedLogViewer({ content, tabs }) {
64702
64679
  height: `${virtualItem.size}px`,
64703
64680
  transform: `translateY(${virtualItem.start}px)`
64704
64681
  },
64705
- children: /* @__PURE__ */ jsxs(Flex, { px: 3, py: 0.5, _hover: { bg: "gray.800" }, children: [
64682
+ children: /* @__PURE__ */ jsxs(Flex, { px: 3, py: 0.5, _hover: { bg: "bg.inverse" }, children: [
64706
64683
  /* @__PURE__ */ jsx$1(
64707
64684
  Text,
64708
64685
  {
64709
64686
  as: "span",
64710
- color: "gray.500",
64687
+ color: "fg.muted",
64711
64688
  minWidth: "50px",
64712
64689
  textAlign: "right",
64713
64690
  mr: 3,
@@ -65005,20 +64982,20 @@ function ValueNode({
65005
64982
  }) {
65006
64983
  if (depth > 20) {
65007
64984
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65008
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
64985
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65009
64986
  label,
65010
64987
  ":"
65011
64988
  ] }),
65012
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "[max depth reached]" })
64989
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "[max depth reached]" })
65013
64990
  ] });
65014
64991
  }
65015
64992
  if (isPrimitive(type)) {
65016
64993
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65017
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
64994
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65018
64995
  label,
65019
64996
  ":"
65020
64997
  ] }),
65021
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: type.type === "String" ? "green.400" : type.type === "Integer" || type.type === "Float" ? "blue.400" : "gray.300", children: formatPrimitive(type, value) }),
64998
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: type.type === "String" ? "fg.success" : type.type === "Integer" || type.type === "Float" ? "link" : "fg.muted", children: formatPrimitive(type, value) }),
65022
64999
  /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "gray", variant: "subtle", children: type.type })
65023
65000
  ] });
65024
65001
  }
@@ -65028,28 +65005,28 @@ function ValueNode({
65028
65005
  const elementType = type.value;
65029
65006
  if (items.length === 0) {
65030
65007
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65031
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65008
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65032
65009
  label,
65033
65010
  ":"
65034
65011
  ] }),
65035
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "[]" }),
65036
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "blue", variant: "subtle", children: "Array[0]" })
65012
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "[]" }),
65013
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: "Array[0]" })
65037
65014
  ] });
65038
65015
  }
65039
65016
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65040
65017
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65041
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65018
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65042
65019
  label,
65043
65020
  ":"
65044
65021
  ] }),
65045
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "blue", variant: "subtle", children: typeLabel })
65022
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: typeLabel })
65046
65023
  ] }),
65047
65024
  /* @__PURE__ */ jsx$1(Box, { pl: 4, children: items.map((item, index2) => /* @__PURE__ */ jsx$1(
65048
65025
  Box,
65049
65026
  {
65050
65027
  py: 1,
65051
65028
  borderBottom: index2 < items.length - 1 ? "1px solid" : void 0,
65052
- borderColor: "gray.700",
65029
+ borderColor: "border.strong",
65053
65030
  children: /* @__PURE__ */ jsx$1(
65054
65031
  ValueNode,
65055
65032
  {
@@ -65069,21 +65046,21 @@ function ValueNode({
65069
65046
  const obj = value;
65070
65047
  if (fields.length === 0) {
65071
65048
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65072
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65049
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65073
65050
  label,
65074
65051
  ":"
65075
65052
  ] }),
65076
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "{}" }),
65077
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "orange", variant: "subtle", children: "Struct" })
65053
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "{}" }),
65054
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "warning", variant: "subtle", children: "Struct" })
65078
65055
  ] });
65079
65056
  }
65080
65057
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65081
65058
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65082
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65059
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65083
65060
  label,
65084
65061
  ":"
65085
65062
  ] }),
65086
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "orange", variant: "subtle", children: typeLabel })
65063
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "warning", variant: "subtle", children: typeLabel })
65087
65064
  ] }),
65088
65065
  /* @__PURE__ */ jsx$1(Box, { pl: 4, children: fields.map((field) => /* @__PURE__ */ jsx$1(
65089
65066
  ValueNode,
@@ -65103,11 +65080,11 @@ function ValueNode({
65103
65080
  const activeCase = cases.find((c2) => c2.name === variant2.type);
65104
65081
  if (!activeCase) {
65105
65082
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65106
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65083
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65107
65084
  label,
65108
65085
  ":"
65109
65086
  ] }),
65110
- /* @__PURE__ */ jsxs(Text, { as: "span", color: "red.400", children: [
65087
+ /* @__PURE__ */ jsxs(Text, { as: "span", color: "fg.danger", children: [
65111
65088
  "Unknown variant: ",
65112
65089
  variant2.type
65113
65090
  ] })
@@ -65115,11 +65092,11 @@ function ValueNode({
65115
65092
  }
65116
65093
  if (activeCase.type.type === "Null") {
65117
65094
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65118
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65095
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65119
65096
  label,
65120
65097
  ":"
65121
65098
  ] }),
65122
- /* @__PURE__ */ jsxs(Badge, { size: "xs", colorPalette: "purple", variant: "subtle", children: [
65099
+ /* @__PURE__ */ jsxs(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: [
65123
65100
  ".",
65124
65101
  variant2.type
65125
65102
  ] })
@@ -65127,11 +65104,11 @@ function ValueNode({
65127
65104
  }
65128
65105
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65129
65106
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65130
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65107
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65131
65108
  label,
65132
65109
  ":"
65133
65110
  ] }),
65134
- /* @__PURE__ */ jsxs(Badge, { size: "xs", colorPalette: "purple", variant: "subtle", children: [
65111
+ /* @__PURE__ */ jsxs(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: [
65135
65112
  ".",
65136
65113
  variant2.type
65137
65114
  ] })
@@ -65152,29 +65129,29 @@ function ValueNode({
65152
65129
  const valueType = type.value.value;
65153
65130
  if (map3.size === 0) {
65154
65131
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65155
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65132
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65156
65133
  label,
65157
65134
  ":"
65158
65135
  ] }),
65159
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "Map{}" }),
65160
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "teal", variant: "subtle", children: "Dict[0]" })
65136
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "Map{}" }),
65137
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "info", variant: "subtle", children: "Dict[0]" })
65161
65138
  ] });
65162
65139
  }
65163
65140
  const entries = Array.from(map3.entries());
65164
65141
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65165
65142
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65166
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65143
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65167
65144
  label,
65168
65145
  ":"
65169
65146
  ] }),
65170
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "teal", variant: "subtle", children: typeLabel })
65147
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "info", variant: "subtle", children: typeLabel })
65171
65148
  ] }),
65172
65149
  /* @__PURE__ */ jsx$1(Box, { pl: 4, children: entries.map(([k2, v3], i) => /* @__PURE__ */ jsxs(
65173
65150
  Box,
65174
65151
  {
65175
65152
  py: 2,
65176
65153
  borderBottom: i < entries.length - 1 ? "1px solid" : void 0,
65177
- borderColor: "gray.700",
65154
+ borderColor: "border.strong",
65178
65155
  children: [
65179
65156
  /* @__PURE__ */ jsx$1(ValueNode, { type: keyType, value: k2, depth: depth + 1 }),
65180
65157
  /* @__PURE__ */ jsx$1(ValueNode, { type: valueType, value: v3, depth: depth + 1 })
@@ -65189,29 +65166,29 @@ function ValueNode({
65189
65166
  const elementType = type.value;
65190
65167
  if (set3.size === 0) {
65191
65168
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65192
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65169
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65193
65170
  label,
65194
65171
  ":"
65195
65172
  ] }),
65196
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "Set{}" }),
65197
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "pink", variant: "subtle", children: "Set[0]" })
65173
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "Set{}" }),
65174
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: "Set[0]" })
65198
65175
  ] });
65199
65176
  }
65200
65177
  const items = Array.from(set3);
65201
65178
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65202
65179
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65203
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65180
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65204
65181
  label,
65205
65182
  ":"
65206
65183
  ] }),
65207
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "pink", variant: "subtle", children: typeLabel })
65184
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "brand", variant: "subtle", children: typeLabel })
65208
65185
  ] }),
65209
65186
  /* @__PURE__ */ jsx$1(Box, { pl: 4, children: items.map((item, i) => /* @__PURE__ */ jsx$1(
65210
65187
  Box,
65211
65188
  {
65212
65189
  py: 1,
65213
65190
  borderBottom: i < items.length - 1 ? "1px solid" : void 0,
65214
- borderColor: "gray.700",
65191
+ borderColor: "border.strong",
65215
65192
  children: /* @__PURE__ */ jsx$1(
65216
65193
  ValueNode,
65217
65194
  {
@@ -65229,11 +65206,11 @@ function ValueNode({
65229
65206
  const ref = value;
65230
65207
  return /* @__PURE__ */ jsx$1(Box, { children: /* @__PURE__ */ jsxs("details", { children: [
65231
65208
  /* @__PURE__ */ jsxs("summary", { style: { cursor: "pointer", padding: "2px 0", display: "flex", alignItems: "center", gap: "8px" }, children: [
65232
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65209
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65233
65210
  label,
65234
65211
  ":"
65235
65212
  ] }),
65236
- /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "red", variant: "subtle", children: "Ref" })
65213
+ /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "danger", variant: "subtle", children: "Ref" })
65237
65214
  ] }),
65238
65215
  /* @__PURE__ */ jsx$1(Box, { pl: 4, children: /* @__PURE__ */ jsx$1(
65239
65216
  ValueNode,
@@ -65247,20 +65224,20 @@ function ValueNode({
65247
65224
  }
65248
65225
  if (type.type === "Function" || type.type === "AsyncFunction") {
65249
65226
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65250
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65227
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65251
65228
  label,
65252
65229
  ":"
65253
65230
  ] }),
65254
- /* @__PURE__ */ jsx$1(Text, { as: "span", color: "gray.500", children: "[function]" }),
65231
+ /* @__PURE__ */ jsx$1(Text, { as: "span", color: "fg.muted", children: "[function]" }),
65255
65232
  /* @__PURE__ */ jsx$1(Badge, { size: "xs", colorPalette: "gray", variant: "subtle", children: type.type })
65256
65233
  ] });
65257
65234
  }
65258
65235
  return /* @__PURE__ */ jsxs(Box, { py: 0.5, display: "flex", alignItems: "center", gap: 2, children: [
65259
- label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "purple.400", fontWeight: "medium", children: [
65236
+ label && /* @__PURE__ */ jsxs(Text, { as: "span", color: "accent.purple", fontWeight: "medium", children: [
65260
65237
  label,
65261
65238
  ":"
65262
65239
  ] }),
65263
- /* @__PURE__ */ jsxs(Text, { as: "span", color: "gray.500", children: [
65240
+ /* @__PURE__ */ jsxs(Text, { as: "span", color: "fg.muted", children: [
65264
65241
  "[",
65265
65242
  type.type,
65266
65243
  "]"