@industry-theme/agent-panels 0.2.39 → 0.2.41

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":"AgenticResourcesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgenticResourcesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAgBpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAurB/D,CAAC"}
1
+ {"version":3,"file":"AgenticResourcesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/AgenticResourcesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAgBpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgrB/D,CAAC"}
@@ -52337,8 +52337,7 @@ const AgenticResourcesPanel = ({
52337
52337
  display: "flex",
52338
52338
  alignItems: "center",
52339
52339
  justifyContent: "space-between",
52340
- gap: "12px",
52341
- flexWrap: "wrap"
52340
+ gap: "12px"
52342
52341
  },
52343
52342
  children: [
52344
52343
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: "4px", background: theme2.colors.backgroundSecondary, padding: "4px", borderRadius: theme2.radii[2], border: `1px solid ${theme2.colors.border}` }, children: [
@@ -52395,109 +52394,104 @@ const AgenticResourcesPanel = ({
52395
52394
  }
52396
52395
  )
52397
52396
  ] }),
52398
- /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px", flex: "1 1 200px", maxWidth: "400px", flexWrap: "nowrap" }, children: [
52399
- (mode === "agents" && allItems.length >= 5 || mode === "skills" && skills.length >= 5) && /* @__PURE__ */ jsxs(
52400
- "div",
52401
- {
52402
- style: {
52403
- position: "relative",
52404
- flex: 1,
52405
- minWidth: "150px"
52406
- },
52407
- children: [
52408
- /* @__PURE__ */ jsx(
52409
- Search,
52410
- {
52411
- size: 16,
52412
- color: theme2.colors.textSecondary,
52413
- style: {
52414
- position: "absolute",
52415
- left: "10px",
52416
- top: "50%",
52417
- transform: "translateY(-50%)",
52418
- pointerEvents: "none"
52419
- }
52420
- }
52421
- ),
52422
- /* @__PURE__ */ jsx(
52423
- "input",
52424
- {
52425
- type: "text",
52426
- placeholder: mode === "agents" ? "Search agents..." : "Search skills...",
52427
- value: searchQuery,
52428
- onChange: (e) => setSearchQuery(e.target.value),
52429
- style: {
52430
- width: "100%",
52431
- padding: "8px 32px 8px 32px",
52432
- fontSize: theme2.fontSizes[1],
52433
- fontFamily: theme2.fonts.body,
52434
- border: `1px solid ${theme2.colors.border}`,
52435
- borderRadius: theme2.radii[2],
52436
- background: theme2.colors.backgroundSecondary,
52437
- color: theme2.colors.text,
52438
- outline: "none",
52439
- boxSizing: "border-box"
52440
- }
52441
- }
52442
- ),
52443
- searchQuery && /* @__PURE__ */ jsx(
52444
- "button",
52445
- {
52446
- onClick: () => setSearchQuery(""),
52447
- style: {
52448
- position: "absolute",
52449
- right: "6px",
52450
- top: "50%",
52451
- transform: "translateY(-50%)",
52452
- background: "transparent",
52453
- border: "none",
52454
- padding: "4px",
52455
- cursor: "pointer",
52456
- display: "flex",
52457
- alignItems: "center",
52458
- justifyContent: "center",
52459
- color: theme2.colors.textSecondary
52460
- },
52461
- "aria-label": "Clear search",
52462
- children: /* @__PURE__ */ jsx(X, { size: 14 })
52463
- }
52464
- )
52465
- ]
52466
- }
52467
- ),
52468
- /* @__PURE__ */ jsx(
52469
- "button",
52470
- {
52471
- onClick: handleRefresh,
52472
- disabled: isRefreshing || isLoading,
52473
- style: {
52474
- background: theme2.colors.backgroundSecondary,
52475
- border: `1px solid ${theme2.colors.border}`,
52476
- borderRadius: theme2.radii[1],
52477
- padding: "8px",
52478
- cursor: "pointer",
52479
- display: "flex",
52480
- alignItems: "center",
52481
- justifyContent: "center",
52482
- transition: "all 0.2s ease",
52483
- marginLeft: "auto",
52484
- flexShrink: 0,
52485
- opacity: isRefreshing ? 0.7 : 1
52486
- },
52487
- title: mode === "agents" ? "Refresh agents" : "Refresh skills",
52488
- children: /* @__PURE__ */ jsx(
52489
- RefreshCw,
52490
- {
52491
- size: 16,
52492
- color: theme2.colors.textSecondary,
52493
- style: {
52494
- animation: isRefreshing ? "spin 1s linear infinite" : "none"
52495
- }
52397
+ /* @__PURE__ */ jsx(
52398
+ "button",
52399
+ {
52400
+ onClick: handleRefresh,
52401
+ disabled: isRefreshing || isLoading,
52402
+ style: {
52403
+ background: theme2.colors.backgroundSecondary,
52404
+ border: `1px solid ${theme2.colors.border}`,
52405
+ borderRadius: theme2.radii[1],
52406
+ padding: "8px",
52407
+ cursor: "pointer",
52408
+ display: "flex",
52409
+ alignItems: "center",
52410
+ justifyContent: "center",
52411
+ transition: "all 0.2s ease",
52412
+ opacity: isRefreshing ? 0.7 : 1
52413
+ },
52414
+ title: mode === "agents" ? "Refresh agents" : "Refresh skills",
52415
+ children: /* @__PURE__ */ jsx(
52416
+ RefreshCw,
52417
+ {
52418
+ size: 16,
52419
+ color: theme2.colors.textSecondary,
52420
+ style: {
52421
+ animation: isRefreshing ? "spin 1s linear infinite" : "none"
52496
52422
  }
52497
- )
52423
+ }
52424
+ )
52425
+ }
52426
+ )
52427
+ ]
52428
+ }
52429
+ ),
52430
+ (mode === "agents" && allItems.length >= 5 || mode === "skills" && skills.length >= 5) && /* @__PURE__ */ jsxs(
52431
+ "div",
52432
+ {
52433
+ style: {
52434
+ flexShrink: 0,
52435
+ position: "relative"
52436
+ },
52437
+ children: [
52438
+ /* @__PURE__ */ jsx(
52439
+ Search,
52440
+ {
52441
+ size: 16,
52442
+ color: theme2.colors.textSecondary,
52443
+ style: {
52444
+ position: "absolute",
52445
+ left: "10px",
52446
+ top: "50%",
52447
+ transform: "translateY(-50%)",
52448
+ pointerEvents: "none"
52498
52449
  }
52499
- )
52500
- ] })
52450
+ }
52451
+ ),
52452
+ /* @__PURE__ */ jsx(
52453
+ "input",
52454
+ {
52455
+ type: "text",
52456
+ placeholder: mode === "agents" ? "Search agents..." : "Search skills...",
52457
+ value: searchQuery,
52458
+ onChange: (e) => setSearchQuery(e.target.value),
52459
+ style: {
52460
+ width: "100%",
52461
+ padding: "8px 32px 8px 32px",
52462
+ fontSize: theme2.fontSizes[1],
52463
+ fontFamily: theme2.fonts.body,
52464
+ border: `1px solid ${theme2.colors.border}`,
52465
+ borderRadius: theme2.radii[2],
52466
+ background: theme2.colors.backgroundSecondary,
52467
+ color: theme2.colors.text,
52468
+ outline: "none",
52469
+ boxSizing: "border-box"
52470
+ }
52471
+ }
52472
+ ),
52473
+ searchQuery && /* @__PURE__ */ jsx(
52474
+ "button",
52475
+ {
52476
+ onClick: () => setSearchQuery(""),
52477
+ style: {
52478
+ position: "absolute",
52479
+ right: "6px",
52480
+ top: "50%",
52481
+ transform: "translateY(-50%)",
52482
+ background: "transparent",
52483
+ border: "none",
52484
+ padding: "4px",
52485
+ cursor: "pointer",
52486
+ display: "flex",
52487
+ alignItems: "center",
52488
+ justifyContent: "center",
52489
+ color: theme2.colors.textSecondary
52490
+ },
52491
+ "aria-label": "Clear search",
52492
+ children: /* @__PURE__ */ jsx(X, { size: 14 })
52493
+ }
52494
+ )
52501
52495
  ]
52502
52496
  }
52503
52497
  ),