@gravitee/graphene-policy-studio 3.7.1 → 3.8.0

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,2 +1,10 @@
1
+ /** Capitalizes only the first character — sentence case. For text that reads as a sentence or
2
+ * phrase (a confirmation message, a generated flow name built from user-typed words), this is
3
+ * the correct behavior: `capitalize('a rate limit and a quota')` → `'A rate limit and a quota'`.
4
+ * Do not use this for category/label text — see `capitalizeWords`. */
1
5
  export declare function capitalize(s: string): string;
6
+ /** Capitalizes the first letter of every word — equivalent to CSS `text-transform: capitalize`.
7
+ * Use for category/label text regardless of the source casing (`'traffic management'` →
8
+ * `'Traffic Management'`), not for sentence-like text (see `capitalize`). */
9
+ export declare function capitalizeWords(s: string): string;
2
10
  //# sourceMappingURL=string-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../src/lib/string-utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5C"}
1
+ {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../src/lib/string-utils.ts"],"names":[],"mappings":"AAAA;;;sEAGsE;AACtE,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED;;6EAE6E;AAC7E,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/graphene-policy-studio",
3
- "version": "3.7.1",
3
+ "version": "3.8.0",
4
4
  "type": "module",
5
5
  "description": "Gravitee Policy Studio UI for the Graphene design system.",
6
6
  "keywords": [