@arcadeai/design-system 7.7.0 → 7.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-tool-inventory-popover.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/organisms/mcp-tool-inventory-popover.tsx"],"names":[],"mappings":"AAyBA,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAuHF;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,SAAS,GACV,EAAE,4BAA4B,+BAqI9B"}
1
+ {"version":3,"file":"mcp-tool-inventory-popover.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/organisms/mcp-tool-inventory-popover.tsx"],"names":[],"mappings":"AAyBA,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAuHF;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,SAAS,GACV,EAAE,4BAA4B,+BAiJ9B"}
@@ -150,7 +150,15 @@ function w({ groups: c, className: _ }) {
150
150
  group: e,
151
151
  groupIndex: t,
152
152
  isExpanded: e.id === D,
153
- onToggle: () => y(e.id === D ? null : e.id),
153
+ onToggle: (t) => {
154
+ let n = e.id !== D;
155
+ if (y(n ? e.id : null), n && x) {
156
+ let e = t.currentTarget;
157
+ requestAnimationFrame(() => {
158
+ x.scrollTop += e.getBoundingClientRect().top - x.getBoundingClientRect().top;
159
+ });
160
+ }
161
+ },
154
162
  scrollElement: x
155
163
  }, e.id))
156
164
  })]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcadeai/design-system",
3
3
  "private": false,
4
- "version": "7.7.0",
4
+ "version": "7.7.1",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "types": "./dist/main.d.ts",