@gravitee/graphene-policy-studio 2.46.0 → 2.47.0-fix-384-command-scroll.3970553
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":"PolicyCatalogPane.d.ts","sourceRoot":"","sources":["../../../src/components/PolicyCatalog/PolicyCatalogPane.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAIvF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACjE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,kBAAuB,EACvB,OAAO,EACP,SAAS,EACT,WAAW,EACX,OAAO,EACP,SAAS,GACV,EAAE,sBAAsB,+
|
|
1
|
+
{"version":3,"file":"PolicyCatalogPane.d.ts","sourceRoot":"","sources":["../../../src/components/PolicyCatalog/PolicyCatalogPane.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAIvF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACjE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,kBAAuB,EACvB,OAAO,EACP,SAAS,EACT,WAAW,EACX,OAAO,EACP,SAAS,GACV,EAAE,sBAAsB,+BA+KxB"}
|
package/dist/index.js
CHANGED
|
@@ -14759,7 +14759,7 @@ function UC({ policies: e, sharedPolicyGroups: t = [], apiType: n, flowPhase: r,
|
|
|
14759
14759
|
}) : /* @__PURE__ */ B("div", {
|
|
14760
14760
|
className: "space-y-3",
|
|
14761
14761
|
children: [...S.entries()].map(([e, t]) => /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
|
|
14762
|
-
className: "mb-1 px-2 text-xs font-medium
|
|
14762
|
+
className: "mb-1 px-2 text-xs font-medium text-muted-foreground capitalize",
|
|
14763
14763
|
children: e
|
|
14764
14764
|
}), /* @__PURE__ */ B("div", {
|
|
14765
14765
|
className: "flex flex-col",
|
|
@@ -14808,9 +14808,9 @@ function UC({ policies: e, sharedPolicyGroups: t = [], apiType: n, flowPhase: r,
|
|
|
14808
14808
|
children: /* @__PURE__ */ B(Mt, { className: "size-4" })
|
|
14809
14809
|
})]
|
|
14810
14810
|
}),
|
|
14811
|
-
/* @__PURE__ */
|
|
14811
|
+
/* @__PURE__ */ V("div", {
|
|
14812
14812
|
className: "shrink-0 border-b px-3 py-2.5",
|
|
14813
|
-
children: /* @__PURE__ */ V("div", {
|
|
14813
|
+
children: [/* @__PURE__ */ V("div", {
|
|
14814
14814
|
className: "flex items-center gap-1.5",
|
|
14815
14815
|
children: [/* @__PURE__ */ V("div", {
|
|
14816
14816
|
className: "relative min-w-0 flex-1",
|
|
@@ -14832,7 +14832,15 @@ function UC({ policies: e, sharedPolicyGroups: t = [], apiType: n, flowPhase: r,
|
|
|
14832
14832
|
onToggle: w,
|
|
14833
14833
|
onClear: T
|
|
14834
14834
|
})]
|
|
14835
|
-
})
|
|
14835
|
+
}), (c || u.length > 0) && /* @__PURE__ */ V("p", {
|
|
14836
|
+
className: "mt-1.5 pl-1 text-xs text-muted-foreground",
|
|
14837
|
+
children: [
|
|
14838
|
+
x.length,
|
|
14839
|
+
" of ",
|
|
14840
|
+
v.length,
|
|
14841
|
+
" policies"
|
|
14842
|
+
]
|
|
14843
|
+
})]
|
|
14836
14844
|
}),
|
|
14837
14845
|
C ? /* @__PURE__ */ V(ke, {
|
|
14838
14846
|
orientation: "vertical",
|
|
@@ -14901,9 +14909,10 @@ function WC({ policies: e, open: t, onOpenChange: n, onAddPolicy: r, onBrowseCat
|
|
|
14901
14909
|
children: /* @__PURE__ */ V(y, {
|
|
14902
14910
|
filter: af,
|
|
14903
14911
|
children: [
|
|
14904
|
-
/* @__PURE__ */ B(S, { placeholder:
|
|
14912
|
+
/* @__PURE__ */ B(S, { placeholder: `Search ${e.length} policies...` }),
|
|
14905
14913
|
/* @__PURE__ */ V(w, { children: [/* @__PURE__ */ B(b, { children: "No policies match your search." }), [...s.entries()].map(([e, t]) => /* @__PURE__ */ B(x, {
|
|
14906
|
-
heading: e
|
|
14914
|
+
heading: e,
|
|
14915
|
+
className: "**:[[cmdk-group-heading]]:capitalize",
|
|
14907
14916
|
children: t.map((t) => /* @__PURE__ */ B(C, {
|
|
14908
14917
|
value: `${t.name} ${e} ${t.description ?? ""}`,
|
|
14909
14918
|
onSelect: () => c(t),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-policy-studio",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.47.0-fix-384-command-scroll.3970553",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Gravitee Policy Studio UI for the Graphene design system.",
|
|
6
6
|
"keywords": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"zod": "4.4.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@gravitee/graphene-core": "
|
|
62
|
+
"@gravitee/graphene-core": "2.47.0-fix-384-command-scroll.3970553",
|
|
63
63
|
"react": "^19.0.0",
|
|
64
64
|
"react-dom": "^19.0.0",
|
|
65
65
|
"tailwindcss": "^4.0.0"
|