@wordpress/components 29.5.3 → 29.5.4

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
@@ -7,6 +7,10 @@
7
7
  - `ToggleGroupControl`: Fix active background for empty string value ([#69969](https://github.com/WordPress/gutenberg/pull/69969)).
8
8
  - `Button`: Fix tertiary variant displaying incorrect text color in pressed and hover states ([#68542](https://github.com/WordPress/gutenberg/pull/68542)).
9
9
 
10
+ ### Internal
11
+
12
+ - Mark `withIgnoreIMEEvents()` function as private API ([#70056](https://github.com/WordPress/gutenberg/pull/70056)).
13
+
10
14
  ### Enhancement
11
15
 
12
16
  - `QueryControls`: Add menu_order sorting option if supported by the post type. ([#68781](https://github.com/WordPress/gutenberg/pull/68781)).
@@ -11,6 +11,7 @@ var _contextSystemProvider = require("./context/context-system-provider");
11
11
  var _theme = _interopRequireDefault(require("./theme"));
12
12
  var _tabs = require("./tabs");
13
13
  var _strings = require("./utils/strings");
14
+ var _withIgnoreImeEvents = require("./utils/with-ignore-ime-events");
14
15
  var _lockUnlock = require("./lock-unlock");
15
16
  var _badge = _interopRequireDefault(require("./badge"));
16
17
  /**
@@ -25,6 +26,7 @@ const privateApis = exports.privateApis = {};
25
26
  Theme: _theme.default,
26
27
  Menu: _menu.Menu,
27
28
  kebabCase: _strings.kebabCase,
29
+ withIgnoreIMEEvents: _withIgnoreImeEvents.withIgnoreIMEEvents,
28
30
  Badge: _badge.default
29
31
  });
30
32
  //# sourceMappingURL=private-apis.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_utils","require","_menu","_contextSystemProvider","_theme","_interopRequireDefault","_tabs","_strings","_lockUnlock","_badge","privateApis","exports","lock","__experimentalPopoverLegacyPositionToPlacement","ComponentsContext","Tabs","Theme","Menu","kebabCase","Badge"],"sources":["@wordpress/components/src/private-apis.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { positionToPlacement as __experimentalPopoverLegacyPositionToPlacement } from './popover/utils';\nimport { Menu } from './menu';\nimport { ComponentsContext } from './context/context-system-provider';\nimport Theme from './theme';\nimport { Tabs } from './tabs';\nimport { kebabCase } from './utils/strings';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\tBadge,\n} );\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AAVA;AACA;AACA;;AAUO,MAAMS,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,CAAC,CAAC;AAC7B,IAAAE,gBAAI,EAAEF,WAAW,EAAE;EAClBG,8CAA8C,EAA9CA,0BAA8C;EAC9CC,iBAAiB,EAAjBA,wCAAiB;EACjBC,IAAI,EAAJA,UAAI;EACJC,KAAK,EAALA,cAAK;EACLC,IAAI,EAAJA,UAAI;EACJC,SAAS,EAATA,kBAAS;EACTC,KAAK,EAALA;AACD,CAAE,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_utils","require","_menu","_contextSystemProvider","_theme","_interopRequireDefault","_tabs","_strings","_withIgnoreImeEvents","_lockUnlock","_badge","privateApis","exports","lock","__experimentalPopoverLegacyPositionToPlacement","ComponentsContext","Tabs","Theme","Menu","kebabCase","withIgnoreIMEEvents","Badge"],"sources":["@wordpress/components/src/private-apis.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { positionToPlacement as __experimentalPopoverLegacyPositionToPlacement } from './popover/utils';\nimport { Menu } from './menu';\nimport { ComponentsContext } from './context/context-system-provider';\nimport Theme from './theme';\nimport { Tabs } from './tabs';\nimport { kebabCase } from './utils/strings';\nimport { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\twithIgnoreIMEEvents,\n\tBadge,\n} );\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAL,sBAAA,CAAAJ,OAAA;AAXA;AACA;AACA;;AAWO,MAAMU,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,CAAC,CAAC;AAC7B,IAAAE,gBAAI,EAAEF,WAAW,EAAE;EAClBG,8CAA8C,EAA9CA,0BAA8C;EAC9CC,iBAAiB,EAAjBA,wCAAiB;EACjBC,IAAI,EAAJA,UAAI;EACJC,KAAK,EAALA,cAAK;EACLC,IAAI,EAAJA,UAAI;EACJC,SAAS,EAATA,kBAAS;EACTC,mBAAmB,EAAnBA,wCAAmB;EACnBC,KAAK,EAALA;AACD,CAAE,CAAC","ignoreList":[]}
@@ -7,6 +7,7 @@ import { ComponentsContext } from './context/context-system-provider';
7
7
  import Theme from './theme';
8
8
  import { Tabs } from './tabs';
9
9
  import { kebabCase } from './utils/strings';
10
+ import { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';
10
11
  import { lock } from './lock-unlock';
11
12
  import Badge from './badge';
12
13
  export const privateApis = {};
@@ -17,6 +18,7 @@ lock(privateApis, {
17
18
  Theme,
18
19
  Menu,
19
20
  kebabCase,
21
+ withIgnoreIMEEvents,
20
22
  Badge
21
23
  });
22
24
  //# sourceMappingURL=private-apis.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["positionToPlacement","__experimentalPopoverLegacyPositionToPlacement","Menu","ComponentsContext","Theme","Tabs","kebabCase","lock","Badge","privateApis"],"sources":["@wordpress/components/src/private-apis.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { positionToPlacement as __experimentalPopoverLegacyPositionToPlacement } from './popover/utils';\nimport { Menu } from './menu';\nimport { ComponentsContext } from './context/context-system-provider';\nimport Theme from './theme';\nimport { Tabs } from './tabs';\nimport { kebabCase } from './utils/strings';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\tBadge,\n} );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,mBAAmB,IAAIC,8CAA8C,QAAQ,iBAAiB;AACvG,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,iBAAiB,QAAQ,mCAAmC;AACrE,OAAOC,KAAK,MAAM,SAAS;AAC3B,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,IAAI,QAAQ,eAAe;AACpC,OAAOC,KAAK,MAAM,SAAS;AAE3B,OAAO,MAAMC,WAAW,GAAG,CAAC,CAAC;AAC7BF,IAAI,CAAEE,WAAW,EAAE;EAClBR,8CAA8C;EAC9CE,iBAAiB;EACjBE,IAAI;EACJD,KAAK;EACLF,IAAI;EACJI,SAAS;EACTE;AACD,CAAE,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["positionToPlacement","__experimentalPopoverLegacyPositionToPlacement","Menu","ComponentsContext","Theme","Tabs","kebabCase","withIgnoreIMEEvents","lock","Badge","privateApis"],"sources":["@wordpress/components/src/private-apis.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { positionToPlacement as __experimentalPopoverLegacyPositionToPlacement } from './popover/utils';\nimport { Menu } from './menu';\nimport { ComponentsContext } from './context/context-system-provider';\nimport Theme from './theme';\nimport { Tabs } from './tabs';\nimport { kebabCase } from './utils/strings';\nimport { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\twithIgnoreIMEEvents,\n\tBadge,\n} );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,mBAAmB,IAAIC,8CAA8C,QAAQ,iBAAiB;AACvG,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,iBAAiB,QAAQ,mCAAmC;AACrE,OAAOC,KAAK,MAAM,SAAS;AAC3B,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,mBAAmB,QAAQ,gCAAgC;AACpE,SAASC,IAAI,QAAQ,eAAe;AACpC,OAAOC,KAAK,MAAM,SAAS;AAE3B,OAAO,MAAMC,WAAW,GAAG,CAAC,CAAC;AAC7BF,IAAI,CAAEE,WAAW,EAAE;EAClBT,8CAA8C;EAC9CE,iBAAiB;EACjBE,IAAI;EACJD,KAAK;EACLF,IAAI;EACJI,SAAS;EACTC,mBAAmB;EACnBE;AACD,CAAE,CAAC","ignoreList":[]}
@@ -8,6 +8,11 @@ export declare function overlayMiddlewares(): ({
8
8
  fn: (state: MiddlewareState) => import("@floating-ui/core").MiddlewareReturn | Promise<import("@floating-ui/core").MiddlewareReturn>;
9
9
  } | {
10
10
  name: string;
11
- fn({ rects }: MiddlewareState): import("@floating-ui/utils").Rect;
11
+ fn({ rects }: MiddlewareState): {
12
+ x: number;
13
+ y: number;
14
+ height: number;
15
+ width: number;
16
+ };
12
17
  })[];
13
18
  //# sourceMappingURL=overlay-middlewares.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-middlewares.d.ts","sourceRoot":"","sources":["../../src/popover/overlay-middlewares.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG9D,wBAAgB,kBAAkB;;;;;;kBAIhB,eAAe;KAqBhC"}
1
+ {"version":3,"file":"overlay-middlewares.d.ts","sourceRoot":"","sources":["../../src/popover/overlay-middlewares.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG9D,wBAAgB,kBAAkB;;;;;;kBAIhB,eAAe;;;;;;KAqBhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW,IAAK,CAAC"}
1
+ {"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,IAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/components",
3
- "version": "29.5.3",
3
+ "version": "29.5.4",
4
4
  "description": "UI components for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -40,15 +40,15 @@
40
40
  "@emotion/serialize": "^1.0.2",
41
41
  "@emotion/styled": "^11.6.0",
42
42
  "@emotion/utils": "^1.0.0",
43
- "@floating-ui/react-dom": "^2.0.8",
43
+ "@floating-ui/react-dom": "2.0.8",
44
44
  "@types/gradient-parser": "0.1.3",
45
45
  "@types/highlight-words-core": "1.2.1",
46
46
  "@use-gesture/react": "^10.3.1",
47
47
  "@wordpress/a11y": "^4.19.1",
48
- "@wordpress/compose": "^7.19.1",
48
+ "@wordpress/compose": "^7.19.2",
49
49
  "@wordpress/date": "^5.19.1",
50
50
  "@wordpress/deprecated": "^4.19.1",
51
- "@wordpress/dom": "^4.19.1",
51
+ "@wordpress/dom": "^4.19.2",
52
52
  "@wordpress/element": "^6.19.1",
53
53
  "@wordpress/escape-html": "^3.19.1",
54
54
  "@wordpress/hooks": "^4.19.1",
@@ -59,7 +59,7 @@
59
59
  "@wordpress/keycodes": "^4.19.1",
60
60
  "@wordpress/primitives": "^4.19.1",
61
61
  "@wordpress/private-apis": "^1.19.1",
62
- "@wordpress/rich-text": "^7.19.1",
62
+ "@wordpress/rich-text": "^7.19.2",
63
63
  "@wordpress/warning": "^3.19.1",
64
64
  "change-case": "^4.1.2",
65
65
  "clsx": "^2.1.1",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "5bd48f228266e2f6557b29eae70b32e17f8c5f01"
88
+ "gitHead": "018f5b628fb5006dd45a1b7cd63463c73bd9d641"
89
89
  }
@@ -7,6 +7,7 @@ import { ComponentsContext } from './context/context-system-provider';
7
7
  import Theme from './theme';
8
8
  import { Tabs } from './tabs';
9
9
  import { kebabCase } from './utils/strings';
10
+ import { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';
10
11
  import { lock } from './lock-unlock';
11
12
  import Badge from './badge';
12
13
 
@@ -18,5 +19,6 @@ lock( privateApis, {
18
19
  Theme,
19
20
  Menu,
20
21
  kebabCase,
22
+ withIgnoreIMEEvents,
21
23
  Badge,
22
24
  } );