@powerhousedao/design-system 6.2.3-staging.0 → 6.3.0-dev.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.
Files changed (147) hide show
  1. package/dist/PinFilled-cSbUqZCA.js +41 -0
  2. package/dist/PinFilled-cSbUqZCA.js.map +1 -0
  3. package/dist/add-local-drive-form.impl-COIpcmgW.js +76 -0
  4. package/dist/add-local-drive-form.impl-COIpcmgW.js.map +1 -0
  5. package/dist/add-remote-drive-form.impl-_SqOzbSt.js +123 -0
  6. package/dist/add-remote-drive-form.impl-_SqOzbSt.js.map +1 -0
  7. package/dist/address-DVC3zalI.js +92 -0
  8. package/dist/address-DVC3zalI.js.map +1 -0
  9. package/dist/{checkbox-BmTXBcCE.d.ts → checkbox-BIAGwP7d.d.ts} +2 -2
  10. package/dist/{checkbox-BmTXBcCE.d.ts.map → checkbox-BIAGwP7d.d.ts.map} +1 -1
  11. package/dist/combobox.impl-CQHG0NgO.js +144 -0
  12. package/dist/combobox.impl-CQHG0NgO.js.map +1 -0
  13. package/dist/connect/components/toast/toast.js +2 -2
  14. package/dist/connect/index.d.ts +189 -35
  15. package/dist/connect/index.d.ts.map +1 -1
  16. package/dist/connect/index.js +542 -1648
  17. package/dist/connect/index.js.map +1 -1
  18. package/dist/{content-BMXLcwWY.d.ts → content-Cv0kRppo.d.ts} +2 -2
  19. package/dist/{content-BMXLcwWY.d.ts.map → content-Cv0kRppo.d.ts.map} +1 -1
  20. package/dist/default-editor.impl-a6EOuEme.js +30 -0
  21. package/dist/default-editor.impl-a6EOuEme.js.map +1 -0
  22. package/dist/document-timeline.impl-zx6f7k2d.js +254 -0
  23. package/dist/document-timeline.impl-zx6f7k2d.js.map +1 -0
  24. package/dist/drive-settings-form.impl-yV9u4h5c.js +172 -0
  25. package/dist/drive-settings-form.impl-yV9u4h5c.js.map +1 -0
  26. package/dist/{enum-field-qgV9wsyI.d.ts → enum-field-Cub1rt3e.d.ts} +3 -3
  27. package/dist/{enum-field-qgV9wsyI.d.ts.map → enum-field-Cub1rt3e.d.ts.map} +1 -1
  28. package/dist/formatted-json-viewer.impl-COERJCiE.js +58 -0
  29. package/dist/formatted-json-viewer.impl-COERJCiE.js.map +1 -0
  30. package/dist/icon-DQ2yrWYv.js +358 -0
  31. package/dist/icon-DQ2yrWYv.js.map +1 -0
  32. package/dist/{icon-01W_S_9A.js → icon-components-NK-y5dkv.js} +5 -479
  33. package/dist/icon-components-NK-y5dkv.js.map +1 -0
  34. package/dist/{id-autocomplete-CHvGhffo.d.ts → id-autocomplete-8LcmtjSR.d.ts} +2 -2
  35. package/dist/id-autocomplete-8LcmtjSR.d.ts.map +1 -0
  36. package/dist/{id-autocomplete-input-container-BqRQGpcs.d.ts → id-autocomplete-input-container-D2L7p-Yh.d.ts} +2 -2
  37. package/dist/{id-autocomplete-input-container-BqRQGpcs.d.ts.map → id-autocomplete-input-container-D2L7p-Yh.d.ts.map} +1 -1
  38. package/dist/{id-autocomplete-list-ChQsiJDg.d.ts → id-autocomplete-list-BXvN07Hr.d.ts} +2 -2
  39. package/dist/{id-autocomplete-list-ChQsiJDg.d.ts.map → id-autocomplete-list-BXvN07Hr.d.ts.map} +1 -1
  40. package/dist/{id-autocomplete-list-option-MsqKeLXD.d.ts → id-autocomplete-list-option-D_1BOv50.d.ts} +3 -2
  41. package/dist/id-autocomplete-list-option-D_1BOv50.d.ts.map +1 -0
  42. package/dist/{index-C05uhexJ.d.ts → index-5FEr1tXH.d.ts} +12 -15
  43. package/dist/index-5FEr1tXH.d.ts.map +1 -0
  44. package/dist/index-C-Tup7Br.d.ts +4 -0
  45. package/dist/index-i-xHUsLr.d.ts +30 -0
  46. package/dist/index-jfVVOU-H.d.ts +2 -0
  47. package/dist/index.d.ts +2 -1
  48. package/dist/index.js +2 -2
  49. package/dist/label-nH2HoKfI.js +15 -0
  50. package/dist/label-nH2HoKfI.js.map +1 -0
  51. package/dist/location-info-C3YbSsV0.js +47 -0
  52. package/dist/location-info-C3YbSsV0.js.map +1 -0
  53. package/dist/{radio-group-field-CjX_Zt0C.d.ts → radio-group-field-X18o287K.d.ts} +2 -2
  54. package/dist/{radio-group-field-CjX_Zt0C.d.ts.map → radio-group-field-X18o287K.d.ts.map} +1 -1
  55. package/dist/revision-history.impl-DRbeai2m.js +642 -0
  56. package/dist/revision-history.impl-DRbeai2m.js.map +1 -0
  57. package/dist/{select-field-BuXjM43L.d.ts → select-field-DHaCiAso.d.ts} +2 -2
  58. package/dist/{select-field-BuXjM43L.d.ts.map → select-field-DHaCiAso.d.ts.map} +1 -1
  59. package/dist/{selected-content-C49jmTLU.d.ts → selected-content-CSTFkQr9.d.ts} +2 -2
  60. package/dist/{selected-content-C49jmTLU.d.ts.map → selected-content-CSTFkQr9.d.ts.map} +1 -1
  61. package/dist/{sidebar-4juLhREX.d.ts → sidebar-DFqreKf1.d.ts} +2 -2
  62. package/dist/{sidebar-4juLhREX.d.ts.map → sidebar-DFqreKf1.d.ts.map} +1 -1
  63. package/dist/{sidebar-provider-CMG6WQWo.d.ts → sidebar-provider-CZHhqW5n.d.ts} +2 -2
  64. package/dist/{sidebar-provider-CMG6WQWo.d.ts.map → sidebar-provider-CZHhqW5n.d.ts.map} +1 -1
  65. package/dist/{splitted-input-diff-DBkgDh9Q.d.ts → splitted-input-diff-DNKcSOAB.d.ts} +2 -2
  66. package/dist/{splitted-input-diff-DBkgDh9Q.d.ts.map → splitted-input-diff-DNKcSOAB.d.ts.map} +1 -1
  67. package/dist/{src-CrUksCLW.js → src-DhSJCeu5.js} +165 -12
  68. package/dist/src-DhSJCeu5.js.map +1 -0
  69. package/dist/style.css +144 -62
  70. package/dist/{text-field-3j4fLJ-7.d.ts → text-field-Dq1DTC_t.d.ts} +3 -3
  71. package/dist/{text-field-3j4fLJ-7.d.ts.map → text-field-Dq1DTC_t.d.ts.map} +1 -1
  72. package/dist/{text-input-tkqggbWx.d.ts → text-input-CRjOT54_.d.ts} +2 -2
  73. package/dist/{text-input-tkqggbWx.d.ts.map → text-input-CRjOT54_.d.ts.map} +1 -1
  74. package/dist/{text-input-diff-B7iFyzTK.d.ts → text-input-diff-CcF0QblL.d.ts} +2 -2
  75. package/dist/{text-input-diff-B7iFyzTK.d.ts.map → text-input-diff-CcF0QblL.d.ts.map} +1 -1
  76. package/dist/{types-DDSmPhHp.d.ts → types-FTqFl5du.d.ts} +2 -2
  77. package/dist/{types-DDSmPhHp.d.ts.map → types-FTqFl5du.d.ts.map} +1 -1
  78. package/dist/types-TZijOYrE.d.ts +17 -0
  79. package/dist/types-TZijOYrE.d.ts.map +1 -0
  80. package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
  81. package/dist/ui/components/command/command.js +1 -1
  82. package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
  83. package/dist/ui/components/enum-field/types.d.ts +1 -1
  84. package/dist/ui/components/form-label/form-label.js +1 -1
  85. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
  86. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +1 -1
  87. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
  88. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +1 -1
  89. package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
  90. package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +1 -1
  91. package/dist/ui/components/id-autocomplete/types.d.ts +1 -1
  92. package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +1 -1
  93. package/dist/ui/components/index.d.ts +20 -20
  94. package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
  95. package/dist/ui/components/input/splitted-input-diff.js +1 -1
  96. package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
  97. package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
  98. package/dist/ui/components/select-field/content.d.ts +1 -1
  99. package/dist/ui/components/select-field/content.js +1 -1
  100. package/dist/ui/components/select-field/select-field.d.ts +1 -1
  101. package/dist/ui/components/select-field/selected-content.d.ts +1 -1
  102. package/dist/ui/components/select-field/selected-content.js +1 -1
  103. package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
  104. package/dist/ui/components/select-field/subcomponents/CommandItemList.js +1 -1
  105. package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
  106. package/dist/ui/components/sidebar/index.d.ts +4 -4
  107. package/dist/ui/components/sidebar/sidebar.d.ts +1 -1
  108. package/dist/ui/components/sidebar/sidebar.js +1 -1
  109. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +1 -1
  110. package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts +1 -1
  111. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +2 -1
  112. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
  113. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +2 -2
  114. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +1 -1
  115. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +1 -1
  116. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +1 -1
  117. package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts +1 -1
  118. package/dist/ui/components/sidebar/subcomponents/status-icon.js +1 -1
  119. package/dist/ui/components/sidebar/types.d.ts +1 -1
  120. package/dist/ui/components/sidebar/utils.d.ts +1 -1
  121. package/dist/ui/components/text-field/text-field.d.ts +1 -1
  122. package/dist/ui/components/text-input/text-input-diff.d.ts +1 -1
  123. package/dist/ui/components/text-input/text-input.d.ts +1 -1
  124. package/dist/ui/components/types.d.ts +1 -1
  125. package/dist/ui/components/value-transformer/value-transformer.d.ts +1 -1
  126. package/dist/ui/components/with-field-validation/with-field-validation.d.ts +1 -1
  127. package/dist/ui/index.d.ts +21 -21
  128. package/dist/ui/types.d.ts +1 -1
  129. package/dist/{use-id-autocomplete-wdw3CfYc.d.ts → use-id-autocomplete-m9Bf0qCy.d.ts} +2 -2
  130. package/dist/{use-id-autocomplete-wdw3CfYc.d.ts.map → use-id-autocomplete-m9Bf0qCy.d.ts.map} +1 -1
  131. package/dist/{value-transformer-BAD6r8Ol.d.ts → value-transformer-BtUh3-UP.d.ts} +2 -2
  132. package/dist/{value-transformer-BAD6r8Ol.d.ts.map → value-transformer-BtUh3-UP.d.ts.map} +1 -1
  133. package/dist/{with-field-validation-Bt02MQn2.d.ts → with-field-validation-Bh26a6fr.d.ts} +2 -2
  134. package/dist/{with-field-validation-Bt02MQn2.d.ts.map → with-field-validation-Bh26a6fr.d.ts.map} +1 -1
  135. package/package.json +14 -8
  136. package/plugins.css +6 -0
  137. package/tailwind.css +213 -0
  138. package/vendor.css +3 -0
  139. package/dist/icon-01W_S_9A.js.map +0 -1
  140. package/dist/id-autocomplete-CHvGhffo.d.ts.map +0 -1
  141. package/dist/id-autocomplete-list-option-MsqKeLXD.d.ts.map +0 -1
  142. package/dist/index-C05uhexJ.d.ts.map +0 -1
  143. package/dist/index-CpSqVZKp.d.ts +0 -2
  144. package/dist/index-DSknqh8u.d.ts +0 -30
  145. package/dist/index-DU-WgcAh.d.ts +0 -4
  146. package/dist/index-DaRBrjZI.d.ts +0 -3
  147. package/dist/src-CrUksCLW.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { C as SelectProps } from "../../../../index-C05uhexJ.js";
1
+ import { C as SelectProps } from "../../../../index-5FEr1tXH.js";
2
2
  import React from "react";
3
3
  //#region src/ui/components/select-field/subcomponents/CommandItemList.d.ts
4
4
  interface FavoriteOptionsProps {
@@ -1,4 +1,4 @@
1
- import { t as Icon } from "../../../../icon-01W_S_9A.js";
1
+ import { t as Icon } from "../../../../icon-DQ2yrWYv.js";
2
2
  import { CommandItem } from "../../command/command.js";
3
3
  import "react";
4
4
  import { twMerge } from "tailwind-merge";
@@ -1,4 +1,4 @@
1
- import { C as SelectProps } from "../../../index-C05uhexJ.js";
1
+ import { C as SelectProps } from "../../../index-5FEr1tXH.js";
2
2
  //#region src/ui/components/select-field/use-select-field.d.ts
3
3
  interface UseSelectFieldProps {
4
4
  options?: SelectProps["options"];
@@ -1,6 +1,6 @@
1
- import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../../../types-DDSmPhHp.js";
2
- import { n as SidebarProps, t as Sidebar } from "../../../sidebar-4juLhREX.js";
3
- import { n as useSidebar, t as SidebarProvider } from "../../../sidebar-provider-CMG6WQWo.js";
4
- import "../../../index-DU-WgcAh.js";
1
+ import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../../../types-FTqFl5du.js";
2
+ import { n as SidebarProps, t as Sidebar } from "../../../sidebar-DFqreKf1.js";
3
+ import { n as useSidebar, t as SidebarProvider } from "../../../sidebar-provider-CZHhqW5n.js";
4
+ import "../../../index-C-Tup7Br.js";
5
5
  export { type FlattenedNode, type NodeSortComparisonFn, type NodeSortOrder, type NodeSortType, type NodeStatus, Sidebar, type SidebarIcon, type SidebarNode, SidebarProps, SidebarProvider, useSidebar };
6
6
  export {};
@@ -1,3 +1,3 @@
1
- import { n as SidebarProps, t as Sidebar } from "../../../sidebar-4juLhREX.js";
1
+ import { n as SidebarProps, t as Sidebar } from "../../../sidebar-DFqreKf1.js";
2
2
  export { Sidebar, SidebarProps };
3
3
  export {};
@@ -1,4 +1,4 @@
1
- import { t as Icon } from "../../../icon-01W_S_9A.js";
1
+ import { t as Icon } from "../../../icon-DQ2yrWYv.js";
2
2
  import { triggerEvent } from "./utils.js";
3
3
  import { useSidebar } from "./subcomponents/sidebar-provider/sidebar-provider.js";
4
4
  import { SidebarContentArea } from "./subcomponents/sidebar-content-area.js";
@@ -1,4 +1,4 @@
1
- import { t as Icon } from "../../../../icon-01W_S_9A.js";
1
+ import { t as Icon } from "../../../../icon-DQ2yrWYv.js";
2
2
  import { SidebarItem } from "./sidebar-item.js";
3
3
  import { useSidebar } from "./sidebar-provider/sidebar-provider.js";
4
4
  import { SidebarSkeleton } from "./sidebar-skeleton.js";
@@ -1,4 +1,4 @@
1
- import { s as SidebarNode, t as FlattenedNode } from "../../../../types-DDSmPhHp.js";
1
+ import { s as SidebarNode, t as FlattenedNode } from "../../../../types-FTqFl5du.js";
2
2
  //#region src/ui/components/sidebar/subcomponents/sidebar-item.d.ts
3
3
  interface SidebarItemProps {
4
4
  node: FlattenedNode;
@@ -1,5 +1,6 @@
1
- import { a as PinFilled, o as Pin, s as CaretDown, t as Icon } from "../../../../icon-01W_S_9A.js";
1
+ import { S as CaretDown, t as Icon } from "../../../../icon-DQ2yrWYv.js";
2
2
  import { Tooltip, TooltipProvider as Provider } from "../../tooltip/tooltip.js";
3
+ import { n as Pin, t as PinFilled } from "../../../../PinFilled-cSbUqZCA.js";
3
4
  import { NodeStatus } from "../types.js";
4
5
  import { useEllipsis } from "../use-ellipsis.js";
5
6
  import { StatusIcon } from "./status-icon.js";
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar-item.js","names":["cloneElement","forwardRef","useMemo","useRef","twMerge","CaretDown","Pin","PinFilled","Icon","Tooltip","TooltipProvider","NodeStatus","useEllipsis","StatusIcon","TOOLTIP_DELAY","TOOLTIP_DELAY_LONG","SidebarItem","node","toggleNode","togglePin","searchTerm","searchResults","activeSearchIndex","allowPinning","pinnedMode","isPinned","isActive","style","onChange","paddingLeft","depth","isSearchActive","length","id","IconComponent","isExpanded","expandedIcon","icon","isDescendenceModified","check","n","status","UNCHANGED","children","some","child","hasStatus","computedStyle","ellipsisRef","hasEllipsis","title","className","e","stopPropagation","undefined","RenderTitle","ref","toLowerCase","includes","highlightClass","parts","remaining","lowerTerm","i","idx","indexOf","push","slice","displayName","PinnedModeCircleIcon"],"sources":["../../../../../src/ui/components/sidebar/subcomponents/sidebar-item.tsx"],"sourcesContent":["import { cloneElement, forwardRef, useMemo, useRef } from \"react\";\nimport { twMerge } from \"tailwind-merge\";\nimport CaretDown from \"../../../../powerhouse/components/icon-components/CaretDown.js\";\nimport Pin from \"../../../../powerhouse/components/icon-components/Pin.js\";\nimport PinFilled from \"../../../../powerhouse/components/icon-components/PinFilled.js\";\nimport { Icon } from \"../../../../powerhouse/index.js\";\nimport { Tooltip, TooltipProvider } from \"../../tooltip/tooltip.js\";\nimport { type FlattenedNode, NodeStatus, type SidebarNode } from \"../types.js\";\nimport { useEllipsis } from \"../use-ellipsis.js\";\nimport { StatusIcon } from \"./status-icon.js\";\n\ninterface SidebarItemProps {\n node: FlattenedNode;\n toggleNode?: (nodeId: string) => void;\n togglePin: (nodeId: string) => void;\n searchTerm: string;\n searchResults: SidebarNode[];\n activeSearchIndex: number;\n allowPinning: boolean;\n pinnedMode?: boolean;\n isPinned?: boolean;\n isActive?: boolean;\n style?: React.CSSProperties;\n onChange?: (node: SidebarNode) => void;\n}\n\nconst TOOLTIP_DELAY = 700;\nconst TOOLTIP_DELAY_LONG = 172800000; // 2 days to simulate no tooltip\n\nexport const SidebarItem = ({\n node,\n toggleNode,\n togglePin,\n searchTerm,\n searchResults,\n activeSearchIndex,\n allowPinning,\n pinnedMode = false,\n isPinned = false,\n isActive = false,\n style,\n onChange,\n}: SidebarItemProps) => {\n const paddingLeft = node.depth * 24;\n const isSearchActive =\n searchResults.length > 0 && searchResults[activeSearchIndex].id === node.id;\n const IconComponent = node.isExpanded\n ? (node.expandedIcon ?? node.icon)\n : node.icon;\n const isDescendenceModified = useMemo(() => {\n const check = (n: SidebarNode): boolean => {\n // Check current node's status first\n if (n.status !== NodeStatus.UNCHANGED && n.status) {\n return true;\n }\n\n // Then recursively check all children\n if (n.children && n.children.length > 0) {\n return n.children.some((child) => check(child));\n }\n\n return false;\n };\n\n return check(node);\n }, [node]);\n const hasStatus =\n (node.status && node.status !== NodeStatus.UNCHANGED) ||\n isDescendenceModified;\n\n const computedStyle = { ...style, paddingLeft };\n\n // Check if the title has ellipsis to determine if the tooltip should be delayed\n const ellipsisRef = useRef<HTMLDivElement | null>(null);\n const hasEllipsis = useEllipsis(ellipsisRef);\n\n return (\n <TooltipProvider>\n <Tooltip\n content={node.title}\n triggerAsChild\n side=\"bottom\"\n delayDuration={hasEllipsis ? TOOLTIP_DELAY : TOOLTIP_DELAY_LONG}\n >\n <div\n style={computedStyle}\n className={twMerge(\n \"group/sidebar-item-wrapper flex w-full items-center\",\n !pinnedMode && \"pb-2\",\n )}\n >\n <div\n tabIndex={0}\n data-testid=\"sidebar-item\"\n id={`sidebar-item-${node.id}`}\n className={twMerge(\n \"group/sidebar-item relative flex w-full cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-foreground select-none hover:hover-effect\",\n hasStatus && \"pr-6\",\n allowPinning && (hasStatus ? \"hover:pr-12\" : \"hover:pr-6\"),\n isPinned && (hasStatus ? \"pr-12\" : \"pr-6\"),\n isSearchActive && \"bg-warning/10\",\n // line between pinned items\n pinnedMode &&\n \"after:absolute after:-top-2.5 after:left-[15px] after:h-4 after:w-px after:bg-secondary first:group-first/sidebar-item-wrapper:after:hidden hover:hover-effect\",\n isActive &&\n \"bg-sidebar-accent font-medium text-sidebar-accent-foreground hover:hover-effect\",\n node.className,\n )}\n onClick={() => {\n toggleNode?.(node.id);\n onChange?.(node);\n }}\n >\n <div className=\"flex max-w-full items-center gap-2\">\n {!pinnedMode && (\n <div\n className=\"-m-2 -mr-1 h-full rounded-md py-2 pr-1 pl-2 hover:hover-effect\"\n onClick={(e) => {\n e.stopPropagation();\n toggleNode?.(node.id);\n }}\n >\n <CaretDown\n width=\"16\"\n height=\"16\"\n className={twMerge(\n \"min-w-4\",\n node.isExpanded &&\n node.children &&\n node.children.length > 0\n ? \"\"\n : \"-rotate-90\",\n node.children === undefined || node.children.length === 0\n ? \"text-muted-foreground\"\n : \"text-foreground\",\n )}\n />\n </div>\n )}\n\n {IconComponent ? (\n typeof IconComponent === \"string\" ? (\n <Icon name={IconComponent} size={16} className=\"min-w-4\" />\n ) : (\n // @ts-expect-error -- this is a workaround\n cloneElement(IconComponent, { className: \"min-w-4 w-4\" })\n )\n ) : pinnedMode ? (\n <PinnedModeCircleIcon isPinned={isPinned} />\n ) : null}\n\n <RenderTitle\n ref={ellipsisRef}\n title={node.title}\n searchTerm={searchTerm}\n isSearchActive={isSearchActive}\n pinnedMode={pinnedMode}\n className=\"\"\n />\n\n {allowPinning && (\n <div\n className={twMerge(\n \"absolute top-1/2 flex -translate-y-1/2 items-center justify-center\",\n hasStatus ? \"right-8\" : \"right-2\",\n isPinned\n ? \"text-foreground hover:hover-effect\"\n : \"invisible text-muted-foreground group-hover/sidebar-item:visible hover:hover-effect\",\n )}\n onClick={(e) => {\n e.stopPropagation();\n togglePin(node.id);\n }}\n >\n {isPinned ? (\n <PinFilled width=\"16\" height=\"16\" />\n ) : (\n <Pin width=\"16\" height=\"16\" />\n )}\n </div>\n )}\n {hasStatus && (\n <div\n className={twMerge(\n \"absolute top-1/2 right-2 flex -translate-y-1/2 items-center justify-center\",\n \"text-foreground group-hover/sidebar-item:visible hover:hover-effect\",\n )}\n onClick={(e) => {\n e.stopPropagation();\n togglePin(node.id);\n }}\n >\n <StatusIcon\n status={node.status ?? NodeStatus.UNCHANGED}\n isDescendenceModified={isDescendenceModified}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </Tooltip>\n </TooltipProvider>\n );\n};\n\nconst RenderTitle = forwardRef<\n HTMLDivElement,\n {\n title: string;\n searchTerm: string;\n isSearchActive: boolean;\n pinnedMode: boolean;\n className?: string;\n }\n>(({ title, searchTerm, isSearchActive, pinnedMode, className }, ref) => {\n return (\n <div ref={ref} className={twMerge(\"truncate text-sm/5\", className)}>\n {searchTerm &&\n title.toLowerCase().includes(searchTerm.toLowerCase()) &&\n !pinnedMode\n ? (() => {\n const highlightClass = isSearchActive\n ? \"bg-warning/10\"\n : \"bg-secondary\";\n const parts: React.ReactNode[] = [];\n let remaining = title;\n const lowerTerm = searchTerm.toLowerCase();\n let i = 0;\n while (remaining.length > 0) {\n const idx = remaining.toLowerCase().indexOf(lowerTerm);\n if (idx === -1) {\n parts.push(remaining);\n break;\n }\n if (idx > 0) parts.push(remaining.slice(0, idx));\n parts.push(\n <span key={i++} className={highlightClass}>\n {remaining.slice(idx, idx + searchTerm.length)}\n </span>,\n );\n remaining = remaining.slice(idx + searchTerm.length);\n }\n return <>{parts}</>;\n })()\n : title}\n </div>\n );\n});\n\nRenderTitle.displayName = \"RenderTitle\";\n\nconst PinnedModeCircleIcon = ({ isPinned }: { isPinned: boolean }) => (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"min-w-4\"\n >\n <rect width=\"16\" height=\"16\" rx=\"6.4\" fill=\"transparent\" />\n <path\n d=\"M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8Z\"\n fill=\"currentColor\"\n className={isPinned ? \"text-muted-foreground\" : \"text-foreground\"}\n />\n </svg>\n);\n"],"mappings":";;;;;;;;;AA0BA,MAAMc,gBAAgB;AACtB,MAAMC,qBAAqB;AAE3B,MAAaC,eAAe,EAC1BC,MACAC,YACAC,WACAC,YACAC,eACAC,mBACAC,cACAC,aAAa,OACbC,WAAW,OACXC,WAAW,OACXC,OACAC,eACsB;CACtB,MAAMC,cAAcZ,KAAKa,QAAQ;CACjC,MAAMC,iBACJV,cAAcW,SAAS,KAAKX,cAAcC,kBAAkB,CAACW,OAAOhB,KAAKgB;CAC3E,MAAMC,gBAAgBjB,KAAKkB,aACtBlB,KAAKmB,gBAAgBnB,KAAKoB,OAC3BpB,KAAKoB;CACT,MAAMC,wBAAwBpC,cAAc;EAC1C,MAAMqC,SAASC,MAA4B;GAEzC,IAAIA,EAAEC,WAAW9B,WAAW+B,aAAaF,EAAEC,QACzC,OAAO;GAIT,IAAID,EAAEG,YAAYH,EAAEG,SAASX,SAAS,GAC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AChB,MAAMY,YAAY1C,WAAWqC,YAAY;GACzC,IAAIM,IAAI;GACR,OAAOF,UAAU7B,SAAS,GAAG;IAC3B,MAAMgC,MAAMH,UAAUJ,YAAY,CAAC,CAACQ,QAAQH,SAAS;IACrD,IAAIE,QAAQ,IAAI;KACdJ,MAAMM,KAAKL,SAAS;KACpB;IACF;IACA,IAAIG,MAAM,GAAGJ,MAAMM,KAAKL,UAAUM,MAAM,GAAGH,GAAG,CAAC;IAC/CJ,MAAMM,KACJ,oBAAC,QAAD;KAAgB,WAAWP;KACxBE,UAAAA,UAAUM,MAAMH,KAAKA,MAAM5C,WAAWY,MAAM;IACzC,GAFK+B,GAEL,CACR;IACAF,YAAYA,UAAUM,MAAMH,MAAM5C,WAAWY,MAAM;GACrD;GACA,OAAO,oBAAA,YAAA,EAAA,UAAG4B,MAAM,CAAA;EAClB,EAAA,CAAG,IACHV;CACD,CAAA;AAET,CAAC;AAEDK,YAAYa,cAAc;AAE1B,MAAMC,wBAAwB,EAAE5C,eAC9B,qBAAC,OAAD;CACE,OAAM;CACN,QAAO;CACP,SAAQ;CACR,MAAK;CACL,OAAM;CACN,WAAU;CANZ,UAAA,CAQE,oBAAC,QAAD;EAAM,OAAM;EAAK,QAAO;EAAK,IAAG;EAAM,MAAK;CAAa,CAAA,GACxD,oBAAC,QAAD;EACE,GAAE;EACF,MAAK;EACL,WAAWA,WAAW,0BAA0B;CAAkB,CAAA,CAEjE"}
1
+ {"version":3,"file":"sidebar-item.js","names":["cloneElement","forwardRef","useMemo","useRef","twMerge","CaretDown","Pin","PinFilled","Icon","Tooltip","TooltipProvider","NodeStatus","useEllipsis","StatusIcon","TOOLTIP_DELAY","TOOLTIP_DELAY_LONG","SidebarItem","node","toggleNode","togglePin","searchTerm","searchResults","activeSearchIndex","allowPinning","pinnedMode","isPinned","isActive","style","onChange","paddingLeft","depth","isSearchActive","length","id","IconComponent","isExpanded","expandedIcon","icon","isDescendenceModified","check","n","status","UNCHANGED","children","some","child","hasStatus","computedStyle","ellipsisRef","hasEllipsis","title","className","e","stopPropagation","undefined","RenderTitle","ref","toLowerCase","includes","highlightClass","parts","remaining","lowerTerm","i","idx","indexOf","push","slice","displayName","PinnedModeCircleIcon"],"sources":["../../../../../src/ui/components/sidebar/subcomponents/sidebar-item.tsx"],"sourcesContent":["import { cloneElement, forwardRef, useMemo, useRef } from \"react\";\nimport { twMerge } from \"tailwind-merge\";\nimport CaretDown from \"../../../../powerhouse/components/icon-components/CaretDown.js\";\nimport Pin from \"../../../../powerhouse/components/icon-components/Pin.js\";\nimport PinFilled from \"../../../../powerhouse/components/icon-components/PinFilled.js\";\nimport { Icon } from \"../../../../powerhouse/index.js\";\nimport { Tooltip, TooltipProvider } from \"../../tooltip/tooltip.js\";\nimport { type FlattenedNode, NodeStatus, type SidebarNode } from \"../types.js\";\nimport { useEllipsis } from \"../use-ellipsis.js\";\nimport { StatusIcon } from \"./status-icon.js\";\n\ninterface SidebarItemProps {\n node: FlattenedNode;\n toggleNode?: (nodeId: string) => void;\n togglePin: (nodeId: string) => void;\n searchTerm: string;\n searchResults: SidebarNode[];\n activeSearchIndex: number;\n allowPinning: boolean;\n pinnedMode?: boolean;\n isPinned?: boolean;\n isActive?: boolean;\n style?: React.CSSProperties;\n onChange?: (node: SidebarNode) => void;\n}\n\nconst TOOLTIP_DELAY = 700;\nconst TOOLTIP_DELAY_LONG = 172800000; // 2 days to simulate no tooltip\n\nexport const SidebarItem = ({\n node,\n toggleNode,\n togglePin,\n searchTerm,\n searchResults,\n activeSearchIndex,\n allowPinning,\n pinnedMode = false,\n isPinned = false,\n isActive = false,\n style,\n onChange,\n}: SidebarItemProps) => {\n const paddingLeft = node.depth * 24;\n const isSearchActive =\n searchResults.length > 0 && searchResults[activeSearchIndex].id === node.id;\n const IconComponent = node.isExpanded\n ? (node.expandedIcon ?? node.icon)\n : node.icon;\n const isDescendenceModified = useMemo(() => {\n const check = (n: SidebarNode): boolean => {\n // Check current node's status first\n if (n.status !== NodeStatus.UNCHANGED && n.status) {\n return true;\n }\n\n // Then recursively check all children\n if (n.children && n.children.length > 0) {\n return n.children.some((child) => check(child));\n }\n\n return false;\n };\n\n return check(node);\n }, [node]);\n const hasStatus =\n (node.status && node.status !== NodeStatus.UNCHANGED) ||\n isDescendenceModified;\n\n const computedStyle = { ...style, paddingLeft };\n\n // Check if the title has ellipsis to determine if the tooltip should be delayed\n const ellipsisRef = useRef<HTMLDivElement | null>(null);\n const hasEllipsis = useEllipsis(ellipsisRef);\n\n return (\n <TooltipProvider>\n <Tooltip\n content={node.title}\n triggerAsChild\n side=\"bottom\"\n delayDuration={hasEllipsis ? TOOLTIP_DELAY : TOOLTIP_DELAY_LONG}\n >\n <div\n style={computedStyle}\n className={twMerge(\n \"group/sidebar-item-wrapper flex w-full items-center\",\n !pinnedMode && \"pb-2\",\n )}\n >\n <div\n tabIndex={0}\n data-testid=\"sidebar-item\"\n id={`sidebar-item-${node.id}`}\n className={twMerge(\n \"group/sidebar-item relative flex w-full cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-foreground select-none hover:hover-effect\",\n hasStatus && \"pr-6\",\n allowPinning && (hasStatus ? \"hover:pr-12\" : \"hover:pr-6\"),\n isPinned && (hasStatus ? \"pr-12\" : \"pr-6\"),\n isSearchActive && \"bg-warning/10\",\n // line between pinned items\n pinnedMode &&\n \"after:absolute after:-top-2.5 after:left-[15px] after:h-4 after:w-px after:bg-secondary first:group-first/sidebar-item-wrapper:after:hidden hover:hover-effect\",\n isActive &&\n \"bg-sidebar-accent font-medium text-sidebar-accent-foreground hover:hover-effect\",\n node.className,\n )}\n onClick={() => {\n toggleNode?.(node.id);\n onChange?.(node);\n }}\n >\n <div className=\"flex max-w-full items-center gap-2\">\n {!pinnedMode && (\n <div\n className=\"-m-2 -mr-1 h-full rounded-md py-2 pr-1 pl-2 hover:hover-effect\"\n onClick={(e) => {\n e.stopPropagation();\n toggleNode?.(node.id);\n }}\n >\n <CaretDown\n width=\"16\"\n height=\"16\"\n className={twMerge(\n \"min-w-4\",\n node.isExpanded &&\n node.children &&\n node.children.length > 0\n ? \"\"\n : \"-rotate-90\",\n node.children === undefined || node.children.length === 0\n ? \"text-muted-foreground\"\n : \"text-foreground\",\n )}\n />\n </div>\n )}\n\n {IconComponent ? (\n typeof IconComponent === \"string\" ? (\n <Icon name={IconComponent} size={16} className=\"min-w-4\" />\n ) : (\n // @ts-expect-error -- this is a workaround\n cloneElement(IconComponent, { className: \"min-w-4 w-4\" })\n )\n ) : pinnedMode ? (\n <PinnedModeCircleIcon isPinned={isPinned} />\n ) : null}\n\n <RenderTitle\n ref={ellipsisRef}\n title={node.title}\n searchTerm={searchTerm}\n isSearchActive={isSearchActive}\n pinnedMode={pinnedMode}\n className=\"\"\n />\n\n {allowPinning && (\n <div\n className={twMerge(\n \"absolute top-1/2 flex -translate-y-1/2 items-center justify-center\",\n hasStatus ? \"right-8\" : \"right-2\",\n isPinned\n ? \"text-foreground hover:hover-effect\"\n : \"invisible text-muted-foreground group-hover/sidebar-item:visible hover:hover-effect\",\n )}\n onClick={(e) => {\n e.stopPropagation();\n togglePin(node.id);\n }}\n >\n {isPinned ? (\n <PinFilled width=\"16\" height=\"16\" />\n ) : (\n <Pin width=\"16\" height=\"16\" />\n )}\n </div>\n )}\n {hasStatus && (\n <div\n className={twMerge(\n \"absolute top-1/2 right-2 flex -translate-y-1/2 items-center justify-center\",\n \"text-foreground group-hover/sidebar-item:visible hover:hover-effect\",\n )}\n onClick={(e) => {\n e.stopPropagation();\n togglePin(node.id);\n }}\n >\n <StatusIcon\n status={node.status ?? NodeStatus.UNCHANGED}\n isDescendenceModified={isDescendenceModified}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </Tooltip>\n </TooltipProvider>\n );\n};\n\nconst RenderTitle = forwardRef<\n HTMLDivElement,\n {\n title: string;\n searchTerm: string;\n isSearchActive: boolean;\n pinnedMode: boolean;\n className?: string;\n }\n>(({ title, searchTerm, isSearchActive, pinnedMode, className }, ref) => {\n return (\n <div ref={ref} className={twMerge(\"truncate text-sm/5\", className)}>\n {searchTerm &&\n title.toLowerCase().includes(searchTerm.toLowerCase()) &&\n !pinnedMode\n ? (() => {\n const highlightClass = isSearchActive\n ? \"bg-warning/10\"\n : \"bg-secondary\";\n const parts: React.ReactNode[] = [];\n let remaining = title;\n const lowerTerm = searchTerm.toLowerCase();\n let i = 0;\n while (remaining.length > 0) {\n const idx = remaining.toLowerCase().indexOf(lowerTerm);\n if (idx === -1) {\n parts.push(remaining);\n break;\n }\n if (idx > 0) parts.push(remaining.slice(0, idx));\n parts.push(\n <span key={i++} className={highlightClass}>\n {remaining.slice(idx, idx + searchTerm.length)}\n </span>,\n );\n remaining = remaining.slice(idx + searchTerm.length);\n }\n return <>{parts}</>;\n })()\n : title}\n </div>\n );\n});\n\nRenderTitle.displayName = \"RenderTitle\";\n\nconst PinnedModeCircleIcon = ({ isPinned }: { isPinned: boolean }) => (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"min-w-4\"\n >\n <rect width=\"16\" height=\"16\" rx=\"6.4\" fill=\"transparent\" />\n <path\n d=\"M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8Z\"\n fill=\"currentColor\"\n className={isPinned ? \"text-muted-foreground\" : \"text-foreground\"}\n />\n </svg>\n);\n"],"mappings":";;;;;;;;;;AA0BA,MAAMc,gBAAgB;AACtB,MAAMC,qBAAqB;AAE3B,MAAaC,eAAe,EAC1BC,MACAC,YACAC,WACAC,YACAC,eACAC,mBACAC,cACAC,aAAa,OACbC,WAAW,OACXC,WAAW,OACXC,OACAC,eACsB;CACtB,MAAMC,cAAcZ,KAAKa,QAAQ;CACjC,MAAMC,iBACJV,cAAcW,SAAS,KAAKX,cAAcC,kBAAkB,CAACW,OAAOhB,KAAKgB;CAC3E,MAAMC,gBAAgBjB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OAAD;EAAUA;EAAK,WAAWpD,QAAQ,sBAAsB+C,SAAS;EAC9D/B,UAAAA,cACD8B,MAAMO,YAAY,CAAC,CAACC,SAAStC,WAAWqC,YAAY,CAAC,KACrD,CAACjC,oBACU;GACL,MAAMmC,iBAAiB5B,iBACnB,kBACA;GACJ,MAAM6B,QAA2B,CAAA;GACjC,IAAIC,YAAYX;GAChB,MAAMY,YAAY1C,WAAWqC,YAAY;GACzC,IAAIM,IAAI;GACR,OAAOF,UAAU7B,SAAS,GAAG;IAC3B,MAAMgC,MAAMH,UAAUJ,YAAY,CAAC,CAACQ,QAAQH,SAAS;IACrD,IAAIE,QAAQ,IAAI;KACdJ,MAAMM,KAAKL,SAAS;KACpB;IACF;IACA,IAAIG,MAAM,GAAGJ,MAAMM,KAAKL,UAAUM,MAAM,GAAGH,GAAG,CAAC;IAC/CJ,MAAMM,KACJ,oBAAC,QAAD;KAAgB,WAAWP;KACxBE,UAAAA,UAAUM,MAAMH,KAAKA,MAAM5C,WAAWY,MAAM;IACzC,GAFK+B,GAEL,CACR;IACAF,YAAYA,UAAUM,MAAMH,MAAM5C,WAAWY,MAAM;GACrD;GACA,OAAO,oBAAA,YAAA,EAAA,UAAG4B,MAAM,CAAA;EAClB,EAAA,CAAG,IACHV;CACD,CAAA;AAET,CAAC;AAEDK,YAAYa,cAAc;AAE1B,MAAMC,wBAAwB,EAAE5C,eAC9B,qBAAC,OAAD;CACE,OAAM;CACN,QAAO;CACP,SAAQ;CACR,MAAK;CACL,OAAM;CACN,WAAU;CANZ,UAAA,CAQE,oBAAC,QAAD;EAAM,OAAM;EAAK,QAAO;EAAK,IAAG;EAAM,MAAK;CAAa,CAAA,GACxD,oBAAC,QAAD;EACE,GAAE;EACF,MAAK;EACL,WAAWA,WAAW,0BAA0B;CAAkB,CAAA,CAEjE"}
@@ -1,4 +1,4 @@
1
- import { n as useSidebar, t as SidebarProvider } from "../../../../../sidebar-provider-CMG6WQWo.js";
2
- import "../../../../../index-CpSqVZKp.js";
1
+ import { n as useSidebar, t as SidebarProvider } from "../../../../../sidebar-provider-CZHhqW5n.js";
2
+ import "../../../../../index-jfVVOU-H.js";
3
3
  export { SidebarProvider, useSidebar };
4
4
  export {};
@@ -1,3 +1,3 @@
1
- import { n as useSidebar, t as SidebarProvider } from "../../../../../sidebar-provider-CMG6WQWo.js";
1
+ import { n as useSidebar, t as SidebarProvider } from "../../../../../sidebar-provider-CZHhqW5n.js";
2
2
  export { SidebarProvider, useSidebar };
3
3
  export {};
@@ -1,4 +1,4 @@
1
- import { i as NodeSortType, r as NodeSortOrder, s as SidebarNode } from "../../../../../types-DDSmPhHp.js";
1
+ import { i as NodeSortType, r as NodeSortOrder, s as SidebarNode } from "../../../../../types-FTqFl5du.js";
2
2
  //#region src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts
3
3
  export interface SidebarState {
4
4
  nodes: SidebarNode[];
@@ -1,8 +1,8 @@
1
- import { n as Search, r as CrossCircle, t as Tabler } from "../../../../../Tabler-rjLxlzUV.js";
2
1
  import { Input } from "../../../input/input.js";
3
2
  import { useSidebar } from "../sidebar-provider/sidebar-provider.js";
4
3
  import { SearchNavigationArrow } from "./search-navigation-arrow.js";
5
4
  import { SearchResultCounter } from "./search-result-counter.js";
5
+ import { n as Search, r as CrossCircle, t as Tabler } from "../../../../../Tabler-rjLxlzUV.js";
6
6
  import { useLayoutEffect, useRef, useState } from "react";
7
7
  import { twMerge } from "tailwind-merge";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { a as NodeStatus } from "../../../../types-DDSmPhHp.js";
1
+ import { a as NodeStatus } from "../../../../types-FTqFl5du.js";
2
2
  //#region src/ui/components/sidebar/subcomponents/status-icon.d.ts
3
3
  interface StatusIconProps {
4
4
  status: NodeStatus;
@@ -1,5 +1,5 @@
1
- import { a as DescendenceModified, i as Duplicated, n as Moved, o as Created, r as Modified, t as Removed } from "../../../../Removed-OP4eTrAN.js";
2
1
  import { NodeStatus } from "../types.js";
2
+ import { a as DescendenceModified, i as Duplicated, n as Moved, o as Created, r as Modified, t as Removed } from "../../../../Removed-OP4eTrAN.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/ui/components/sidebar/subcomponents/status-icon.tsx
5
5
  const STATUS_ICON_MAP = {
@@ -1,3 +1,3 @@
1
- import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../../../types-DDSmPhHp.js";
1
+ import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../../../types-FTqFl5du.js";
2
2
  export { FlattenedNode, NodeSortComparisonFn, NodeSortOrder, NodeSortType, NodeStatus, SidebarIcon, SidebarNode };
3
3
  export {};
@@ -1,4 +1,4 @@
1
- import { a as NodeStatus, i as NodeSortType, r as NodeSortOrder, s as SidebarNode } from "../../../types-DDSmPhHp.js";
1
+ import { a as NodeStatus, i as NodeSortType, r as NodeSortOrder, s as SidebarNode } from "../../../types-FTqFl5du.js";
2
2
  //#region src/ui/components/sidebar/utils.d.ts
3
3
  export declare const nodesSearch: (nodes: SidebarNode[], searchTerm: string, searchType?: "bfs" | "dfs") => SidebarNode[];
4
4
  export declare const getOpenLevels: (items: SidebarNode[], level: number) => Set<string>;
@@ -1,3 +1,3 @@
1
- import { n as TextFieldProps, t as TextField } from "../../../text-field-3j4fLJ-7.js";
1
+ import { n as TextFieldProps, t as TextField } from "../../../text-field-Dq1DTC_t.js";
2
2
  export { TextField, TextFieldProps };
3
3
  export {};
@@ -1,3 +1,3 @@
1
- import { t as TextInputDiff } from "../../../text-input-diff-B7iFyzTK.js";
1
+ import { t as TextInputDiff } from "../../../text-input-diff-CcF0QblL.js";
2
2
  export { TextInputDiff as default };
3
3
  export {};
@@ -1,3 +1,3 @@
1
- import { n as TextInputProps, t as TextInput } from "../../../text-input-tkqggbWx.js";
1
+ import { n as TextInputProps, t as TextInput } from "../../../text-input-CRjOT54_.js";
2
2
  export { TextInput, type TextInputProps };
3
3
  export {};
@@ -1,3 +1,3 @@
1
- import { C as SelectProps, S as SelectOption, b as RadioGroupProps, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../../index-C05uhexJ.js";
1
+ import { C as SelectProps, S as SelectOption, b as RadioGroupProps, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../../index-5FEr1tXH.js";
2
2
  export type { IdAutocompleteOption, IdAutocompleteProps, RadioGroupProps, SelectBaseProps, SelectOption, SelectProps };
3
3
  export {};
@@ -1,3 +1,3 @@
1
- import { t as ValueTransformer } from "../../../value-transformer-BAD6r8Ol.js";
1
+ import { t as ValueTransformer } from "../../../value-transformer-BtUh3-UP.js";
2
2
  export { ValueTransformer };
3
3
  export {};
@@ -1,3 +1,3 @@
1
- import { n as withFieldValidation, t as ValidationOptions } from "../../../with-field-validation-Bt02MQn2.js";
1
+ import { n as withFieldValidation, t as ValidationOptions } from "../../../with-field-validation-Bh26a6fr.js";
2
2
  export { ValidationOptions, withFieldValidation };
3
3
  export {};
@@ -1,13 +1,13 @@
1
- import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-C05uhexJ.js";
1
+ import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-5FEr1tXH.js";
2
2
  import { a as TransformerType, c as WeekStartDayNumber, i as TransformerTrigger, n as DatePickerView, o as ValueTransformerFn, r as TransformerObject, s as ValueTransformerProps, t as DateFieldValue } from "../types-CpFPFB1a.js";
3
3
  import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-BYcXvZXr.js";
4
4
  import { n as CharacterCounterProps, t as CharacterCounter } from "../character-counter-BZmZZCHN.js";
5
5
  import { n as CheckboxValue, t as CheckboxBase } from "../checkbox-base-Bm0GPWgm.js";
6
- import { n as CheckboxProps, t as Checkbox } from "../checkbox-BmTXBcCE.js";
6
+ import { n as CheckboxProps, t as Checkbox } from "../checkbox-BIAGwP7d.js";
7
7
  import { a as CommandItem, i as CommandInput, n as CommandEmpty, o as CommandList, r as CommandGroup, s as CommandLoading, t as Command } from "../command-DHHTsHfH.js";
8
- import { n as RadioGroupFieldProps, t as RadioGroupField } from "../radio-group-field-CjX_Zt0C.js";
9
- import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../select-field-BuXjM43L.js";
10
- import { n as EnumFieldProps, t as EnumField } from "../enum-field-qgV9wsyI.js";
8
+ import { n as RadioGroupFieldProps, t as RadioGroupField } from "../radio-group-field-X18o287K.js";
9
+ import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../select-field-DHaCiAso.js";
10
+ import { n as EnumFieldProps, t as EnumField } from "../enum-field-Cub1rt3e.js";
11
11
  import { n as FormDescriptionProps, t as FormDescription } from "../form-description-DJrDJzJi.js";
12
12
  import { t as FormGroup } from "../form-group-Ckd28lpW.js";
13
13
  import { n as FormLabelProps, t as FormLabel } from "../form-label-C8ghd_lR.js";
@@ -15,13 +15,13 @@ import { n as FormMessageProps, r as FormMessageType, t as FormMessage } from ".
15
15
  import { t as FormServerErrorMessage } from "../form-server-error-message-D2tFtDZ0.js";
16
16
  import { t as FormMessageList } from "../message-list-D8d2ltLd.js";
17
17
  import { t as Form } from "../form-Brj5AQNr.js";
18
- import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../id-autocomplete-input-container-BqRQGpcs.js";
19
- import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../id-autocomplete-list-option-MsqKeLXD.js";
20
- import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../id-autocomplete-list-ChQsiJDg.js";
21
- import { t as IdAutocomplete } from "../id-autocomplete-CHvGhffo.js";
22
- import { t as useIdAutocomplete } from "../use-id-autocomplete-wdw3CfYc.js";
18
+ import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../id-autocomplete-input-container-D2L7p-Yh.js";
19
+ import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../id-autocomplete-list-option-D_1BOv50.js";
20
+ import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../id-autocomplete-list-BXvN07Hr.js";
21
+ import { t as IdAutocomplete } from "../id-autocomplete-8LcmtjSR.js";
22
+ import { t as useIdAutocomplete } from "../use-id-autocomplete-m9Bf0qCy.js";
23
23
  import { n as InputProps, t as Input } from "../input-WDvjJFqf.js";
24
- import { t as SplittedInputDiff } from "../splitted-input-diff-DBkgDh9Q.js";
24
+ import { t as SplittedInputDiff } from "../splitted-input-diff-DNKcSOAB.js";
25
25
  import { t as JsonViewer } from "../json-viewer-Kg0IBIt-.js";
26
26
  import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../popover-TvQxa0RU.js";
27
27
  import { n as RadioGroup, t as CustomizableRadioGroupProps } from "../radio-group-CROIwgYz.js";
@@ -29,16 +29,16 @@ import { n as RadioProps, t as Radio } from "../radio-CTS4WsNy.js";
29
29
  import { n as SearchAutocompleteProps, r as SearchAutocompleteRowContext, t as SearchAutocompleteOption } from "../types-D4CirgNk.js";
30
30
  import { t as SearchAutocomplete } from "../search-autocomplete-COvFRZIb.js";
31
31
  import { t as useSearchAutocomplete } from "../use-search-autocomplete-vSvcsvcB.js";
32
- import { t as Content } from "../content-BMXLcwWY.js";
33
- import { t as SelectedContent } from "../selected-content-C49jmTLU.js";
34
- import { n as TextInputProps, t as TextInput } from "../text-input-tkqggbWx.js";
35
- import { n as TextFieldProps, t as TextField } from "../text-field-3j4fLJ-7.js";
36
- import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../types-DDSmPhHp.js";
37
- import { n as SidebarProps, t as Sidebar } from "../sidebar-4juLhREX.js";
38
- import { n as useSidebar, t as SidebarProvider } from "../sidebar-provider-CMG6WQWo.js";
32
+ import { t as Content } from "../content-Cv0kRppo.js";
33
+ import { t as SelectedContent } from "../selected-content-CSTFkQr9.js";
34
+ import { n as TextInputProps, t as TextInput } from "../text-input-CRjOT54_.js";
35
+ import { n as TextFieldProps, t as TextField } from "../text-field-Dq1DTC_t.js";
36
+ import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../types-FTqFl5du.js";
37
+ import { n as SidebarProps, t as Sidebar } from "../sidebar-DFqreKf1.js";
38
+ import { n as useSidebar, t as SidebarProvider } from "../sidebar-provider-CZHhqW5n.js";
39
39
  import { a as TooltipProps, i as TooltipContent, n as Root, o as Trigger, r as Tooltip, t as Provider } from "../tooltip-B4uQJPUm.js";
40
- import { t as ValueTransformer } from "../value-transformer-BAD6r8Ol.js";
41
- import { n as withFieldValidation, t as ValidationOptions } from "../with-field-validation-Bt02MQn2.js";
42
- import "../index-DaRBrjZI.js";
40
+ import { t as ValueTransformer } from "../value-transformer-BtUh3-UP.js";
41
+ import { n as withFieldValidation, t as ValidationOptions } from "../with-field-validation-Bh26a6fr.js";
42
+ import "../index-i-xHUsLr.js";
43
43
  export { type Amount, type AmountCrypto, type AmountCurrency, type AmountFiat, type AmountInputPropsGeneric, type AmountPercentage, type AmountValue, Button, ButtonProps, CharacterCounter, CharacterCounterProps, Checkbox, CheckboxBase, CheckboxProps, type CheckboxValue, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, Content, type Currency, type CurrencyTicker, CustomizableRadioGroupProps, type DateFieldValue, type DatePickerView, type DiffMode, EnumField, EnumFieldProps, type ErrorMessage, type FieldErrorHandling, type FlattenedNode, Form, FormDescription, FormDescriptionProps, FormGroup, FormLabel, FormLabelProps, FormMessage, FormMessageList, FormMessageProps, FormMessageType, FormServerErrorMessage, IdAutocomplete, IdAutocompleteInputContainer, type IdAutocompleteInputContainerProps, IdAutocompleteList, IdAutocompleteListOption, type IdAutocompleteListOptionProps, type IdAutocompleteListProps, type IdAutocompleteOption, type IdAutocompleteProps, Input, type InputBaseProps, InputProps, JsonViewer, type NodeSortComparisonFn, type NodeSortOrder, type NodeSortType, type NodeStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Radio, RadioGroup, RadioGroupField, RadioGroupFieldProps, type RadioGroupProps, RadioProps, SearchAutocomplete, type SearchAutocompleteOption, type SearchAutocompleteProps, type SearchAutocompleteRowContext, type SelectBaseProps, SelectField, SelectFieldProps, SelectFieldRaw, type SelectOption, type SelectProps, SelectedContent, Sidebar, type SidebarIcon, type SidebarNode, SidebarProps, SidebarProvider, SplittedInputDiff, TextField, TextFieldProps, TextInput, type TextInputProps, Tooltip, TooltipContent, type TooltipProps, Provider as TooltipProvider, Root as TooltipRoot, Trigger as TooltipTrigger, type TransformerObject, type TransformerTrigger, type TransformerType, ValidationOptions, type ValidatorHandler, type ValidatorResult, ValueTransformer, type ValueTransformerFn, type ValueTransformerProps, type ViewMode, type WeekStartDayNumber, type WithDifference, buttonVariants, useIdAutocomplete, useSearchAutocomplete, useSidebar, withFieldValidation };
44
44
  export {};
@@ -1,4 +1,4 @@
1
- import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-C05uhexJ.js";
1
+ import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-5FEr1tXH.js";
2
2
  import { a as TransformerType, c as WeekStartDayNumber, i as TransformerTrigger, n as DatePickerView, o as ValueTransformerFn, r as TransformerObject, s as ValueTransformerProps, t as DateFieldValue } from "../types-CpFPFB1a.js";
3
3
  export { Amount, AmountCrypto, AmountCurrency, AmountFiat, AmountInputPropsGeneric, AmountPercentage, AmountValue, Currency, CurrencyTicker, type DateFieldValue, type DatePickerView, DiffMode, ErrorMessage, FieldErrorHandling, type IdAutocompleteOption, type IdAutocompleteProps, InputBaseProps, type RadioGroupProps, type SelectBaseProps, type SelectOption, type SelectProps, type TransformerObject, type TransformerTrigger, type TransformerType, ValidatorHandler, ValidatorResult, type ValueTransformerFn, type ValueTransformerProps, ViewMode, type WeekStartDayNumber, WithDifference };
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-C05uhexJ.js";
1
+ import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-5FEr1tXH.js";
2
2
  //#region src/ui/components/id-autocomplete/use-id-autocomplete.d.ts
3
3
  interface UseIdAutocompleteParams {
4
4
  autoComplete: IdAutocompleteProps["autoComplete"];
@@ -33,4 +33,4 @@ declare function useIdAutocomplete({ autoComplete, defaultValue, value, isOpenBy
33
33
  //#endregion
34
34
  export { useIdAutocomplete as t };
35
35
  export {};
36
- //# sourceMappingURL=use-id-autocomplete-wdw3CfYc.d.ts.map
36
+ //# sourceMappingURL=use-id-autocomplete-m9Bf0qCy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-id-autocomplete-wdw3CfYc.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/use-id-autocomplete.ts"],"mappings":";;UAKU;EACR,cAAc;EACd;EACA;EACA,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,SAAS,MAAM,kBAAkB;EACjC,cAAc;EACd,qBAAqB;;iBAGP,oBACd,cACA,cACA,OACA,iBACA,gBACA,UACA,QACA,cACA,uBACC;;;;;;;;;;;EAuIe,eAAA;EAVP,mBAAA;EAqCH,gBAAA,GAAA,MAAM,WAAW;EAfjB,eAAA,GAAA,MAAM,YAAY;EAUuB,qBAAA;EAjFrC,4BAAA;EA+FJ,cAAA,GAAA,MAAM,eAAe"}
1
+ {"version":3,"file":"use-id-autocomplete-m9Bf0qCy.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/use-id-autocomplete.ts"],"mappings":";;UAKU;EACR,cAAc;EACd;EACA;EACA,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,SAAS,MAAM,kBAAkB;EACjC,cAAc;EACd,qBAAqB;;iBAGP,oBACd,cACA,cACA,OACA,iBACA,gBACA,UACA,QACA,cACA,uBACC;;;;;;;;;;;EAuIe,eAAA;EAVP,mBAAA;EAqCH,gBAAA,GAAA,MAAM,WAAW;EAfjB,eAAA,GAAA,MAAM,YAAY;EAUuB,qBAAA;EAjFrC,4BAAA;EA+FJ,cAAA,GAAA,MAAM,eAAe"}
@@ -1,4 +1,4 @@
1
- import "./index-C05uhexJ.js";
1
+ import "./index-5FEr1tXH.js";
2
2
  import { s as ValueTransformerProps } from "./types-CpFPFB1a.js";
3
3
  import React from "react";
4
4
  //#region src/ui/components/value-transformer/value-transformer.d.ts
@@ -40,4 +40,4 @@ declare function ValueTransformer({ transformers, children }: ValueTransformerPr
40
40
  //#endregion
41
41
  export { ValueTransformer as t };
42
42
  export {};
43
- //# sourceMappingURL=value-transformer-BAD6r8Ol.d.ts.map
43
+ //# sourceMappingURL=value-transformer-BtUh3-UP.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"value-transformer-BAD6r8Ol.d.ts","names":[],"sources":["../src/ui/components/value-transformer/value-transformer.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2FgB,mBACd,cACA,YACC,wBAAqB,MAAA,+BAAA,MAAA"}
1
+ {"version":3,"file":"value-transformer-BtUh3-UP.d.ts","names":[],"sources":["../src/ui/components/value-transformer/value-transformer.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2FgB,mBACd,cACA,YACC,wBAAqB,MAAA,+BAAA,MAAA"}
@@ -1,4 +1,4 @@
1
- import { f as FieldErrorHandling, m as ValidatorHandler, p as InputBaseProps } from "./index-C05uhexJ.js";
1
+ import { f as FieldErrorHandling, m as ValidatorHandler, p as InputBaseProps } from "./index-5FEr1tXH.js";
2
2
  import { ComponentType, ElementRef, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
3
3
  //#region src/ui/components/with-field-validation/with-field-validation.d.ts
4
4
  interface PossibleProps extends InputBaseProps<unknown>, FieldErrorHandling {
@@ -16,4 +16,4 @@ declare const withFieldValidation: <T extends PossibleProps, R extends ElementRe
16
16
  //#endregion
17
17
  export { withFieldValidation as n, ValidationOptions as t };
18
18
  export {};
19
- //# sourceMappingURL=with-field-validation-Bt02MQn2.d.ts.map
19
+ //# sourceMappingURL=with-field-validation-Bh26a6fr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-field-validation-Bt02MQn2.d.ts","names":[],"sources":["../src/ui/components/with-field-validation/with-field-validation.tsx"],"mappings":";;;UAiBU,sBAAsB,yBAAyB;EACvD,UAAU;EACV;EACA;EACA;EACA;;UAQe,kBAAkB;EACjC,cAAc,gBAAgB,aAAa,MAAM;EACjD,kBAAkB;;cAGP,sBACX,UAAU,eACV,UAAU,kBAAkB,iBAAe,WAEhC,cAAc,IAAE,UACjB,kBAAkB,OAC3B,0BAA0B,gBAAgB,KAAK,cAAc"}
1
+ {"version":3,"file":"with-field-validation-Bh26a6fr.d.ts","names":[],"sources":["../src/ui/components/with-field-validation/with-field-validation.tsx"],"mappings":";;;UAiBU,sBAAsB,yBAAyB;EACvD,UAAU;EACV;EACA;EACA;EACA;;UAQe,kBAAkB;EACjC,cAAc,gBAAgB,aAAa,MAAM;EACjD,kBAAkB;;cAGP,sBACX,UAAU,eACV,UAAU,kBAAkB,iBAAe,WAEhC,cAAc,IAAE,UACjB,kBAAkB,OAC3B,0BAA0B,gBAAgB,KAAK,cAAc"}
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@powerhousedao/design-system",
3
- "version": "6.2.3-staging.0",
3
+ "version": "6.3.0-dev.1",
4
4
  "description": "Powerhouse document-engineering design system — GraphQL scalar UI components for building consistent Powerhouse editors.",
5
5
  "files": [
6
6
  "dist",
7
- "theme.css"
7
+ "theme.css",
8
+ "tailwind.css",
9
+ "plugins.css",
10
+ "vendor.css"
8
11
  ],
9
12
  "type": "module",
10
13
  "repository": {
@@ -56,6 +59,9 @@
56
59
  "import": "./dist/connect/components/toast/toast.js"
57
60
  },
58
61
  "./style.css": "./dist/style.css",
62
+ "./tailwind.css": "./tailwind.css",
63
+ "./plugins.css": "./plugins.css",
64
+ "./vendor.css": "./vendor.css",
59
65
  "./theme.css": "./theme.css"
60
66
  },
61
67
  "author": {
@@ -70,7 +76,7 @@
70
76
  "@babel/core": "^7.29.0",
71
77
  "@babel/plugin-transform-react-pure-annotations": "^7.27.1",
72
78
  "@babel/preset-typescript": "^7.28.5",
73
- "@powerhousedao/config": "6.2.3-staging.0",
79
+ "@powerhousedao/config": "6.3.0-dev.1",
74
80
  "@prettier/sync": "^0.5.2",
75
81
  "@rollup/plugin-babel": "^7.0.0",
76
82
  "@storybook/addon-actions": "^8.6.18",
@@ -104,20 +110,19 @@
104
110
  "react-dom": "19.2.6",
105
111
  "storybook": "^8.6.18",
106
112
  "storybook-addon-pseudo-states": "^4.0.4",
107
- "tailwind-scrollbar": "^4.0.1",
108
113
  "tailwindcss": "4.2.2",
109
114
  "tsdown": "0.23.0",
110
115
  "tsx": "4.23.13",
111
- "vite": "8.3.0",
112
- "vitest": "4.1.1"
116
+ "vite": "8.3.4",
117
+ "vitest": "5.0.3"
113
118
  },
114
119
  "peerDependencies": {
115
120
  "react": ">=19.0.0",
116
121
  "react-dom": ">=19.0.0"
117
122
  },
118
123
  "dependencies": {
119
- "@powerhousedao/reactor-browser": "6.2.3-staging.0",
120
- "@powerhousedao/shared": "6.2.3-staging.0",
124
+ "@powerhousedao/reactor-browser": "6.3.0-dev.1",
125
+ "@powerhousedao/shared": "6.3.0-dev.1",
121
126
  "@radix-ui/react-checkbox": "^1.1.2",
122
127
  "@radix-ui/react-dialog": "^1.1.2",
123
128
  "@radix-ui/react-dropdown-menu": "^2.1.5",
@@ -143,6 +148,7 @@
143
148
  "react-virtualized": "^9.22.6",
144
149
  "remeda": "2.33.7",
145
150
  "tailwind-merge": "3.4.0",
151
+ "tailwind-scrollbar": "^4.0.1",
146
152
  "type-fest": "5.6.0",
147
153
  "usehooks-ts": "^3.1.1"
148
154
  },
package/plugins.css ADDED
@@ -0,0 +1,6 @@
1
+ /* The design system's Tailwind plugins: imported by tailwind.css, and referenced
2
+ by packages through @powerhousedao/connect/theme.css. */
3
+ @plugin "tailwind-scrollbar" {
4
+ nocompatible: true;
5
+ preferredstrategy: "pseudoelements";
6
+ }