@wordpress/abilities 0.14.1 → 0.15.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.15.0 (2026-06-24)
6
+
5
7
  ## 0.14.1 (2026-06-16)
6
8
 
7
9
  ## 0.14.0 (2026-06-10)
@@ -11,7 +11,7 @@ import type { AbilitiesState } from './types';
11
11
  * @param args Optional query arguments to filter. Defaults to empty object.
12
12
  * @return Array of abilities.
13
13
  */
14
- export declare const getAbilities: ((state: AbilitiesState, { category }?: AbilitiesQueryArgs) => Ability[]) & import("rememo").EnhancedSelector;
14
+ export declare const getAbilities: ((state: AbilitiesState, { category }?: AbilitiesQueryArgs) => Ability[]) & import("@wordpress/data").EnhancedSelector;
15
15
  /**
16
16
  * Returns a specific ability by name.
17
17
  *
@@ -26,7 +26,7 @@ export declare function getAbility(state: AbilitiesState, name: string): Ability
26
26
  * @param state Store state.
27
27
  * @return Array of categories.
28
28
  */
29
- export declare const getAbilityCategories: ((state: AbilitiesState) => AbilityCategory[]) & import("rememo").EnhancedSelector;
29
+ export declare const getAbilityCategories: ((state: AbilitiesState) => AbilityCategory[]) & import("@wordpress/data").EnhancedSelector;
30
30
  /**
31
31
  * Returns a specific ability category by slug.
32
32
  *
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,WAEhB,cAAc,iBACP,kBAAkB,KAC9B,OAAO,EAAE,qCAaZ,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,UAAU,CACzB,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,OAAO,GAAG,SAAS,CAErB;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,WACvB,cAAc,KAAI,eAAe,EAAE,qCAI5C,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,eAAe,GAAG,SAAS,CAE7B"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,WAEhB,cAAc,iBACP,kBAAkB,KAC9B,OAAO,EAAE,8CAaZ,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,UAAU,CACzB,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,OAAO,GAAG,SAAS,CAErB;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,WACvB,cAAc,KAAI,eAAe,EAAE,8CAI5C,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,eAAe,GAAG,SAAS,CAE7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/abilities",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "JavaScript client for WordPress Abilities API.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "types": "build-types",
47
47
  "dependencies": {
48
- "@wordpress/data": "^10.48.1",
49
- "@wordpress/i18n": "^6.21.1",
48
+ "@wordpress/data": "^10.49.0",
49
+ "@wordpress/i18n": "^6.22.0",
50
50
  "ajv": "^8.17.1",
51
51
  "ajv-draft-04": "^1.0.0",
52
52
  "ajv-formats": "^3.0.1"
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "99df7432c5c7cb83ba41146fd1f57f3c19004305"
57
+ "gitHead": "0e7112a4f4fde4ea15bd9060489b8f6fe11eb6ca"
58
58
  }