@wordpress/components 30.3.2-next.6870dfe5b.0 → 30.3.2-next.836ecdcae.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 +1 -5
- package/build/private-apis.js +0 -4
- package/build/private-apis.js.map +1 -1
- package/build-module/private-apis.js +1 -5
- package/build-module/private-apis.js.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/private-apis.ts +0 -6
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
## 30.3.1-next.0 (2025-09-
|
|
5
|
+
## 30.3.1-next.0 (2025-09-05)
|
|
6
6
|
|
|
7
7
|
### Bug Fixes
|
|
8
8
|
|
|
9
9
|
- `Modal`: Fix modal headings and labels to use proper editor text color instead of wp-admin colors ([#71311](https://github.com/WordPress/gutenberg/pull/71311)).
|
|
10
10
|
|
|
11
|
-
### Internal
|
|
12
|
-
|
|
13
|
-
- `ValidatedCheckboxControl`: Expose the component under private API's ([#71505](https://github.com/WordPress/gutenberg/pull/71505/)).
|
|
14
|
-
|
|
15
11
|
## 30.3.0 (2025-09-03)
|
|
16
12
|
|
|
17
13
|
### Bug Fixes
|
package/build/private-apis.js
CHANGED
|
@@ -16,7 +16,6 @@ var _lockUnlock = require("./lock-unlock");
|
|
|
16
16
|
var _badge = _interopRequireDefault(require("./badge"));
|
|
17
17
|
var _calendar = require("./calendar");
|
|
18
18
|
var _validatedFormControls = require("./validated-form-controls");
|
|
19
|
-
var _picker = require("./color-picker/picker");
|
|
20
19
|
/**
|
|
21
20
|
* Internal dependencies
|
|
22
21
|
*/
|
|
@@ -35,9 +34,6 @@ const privateApis = exports.privateApis = {};
|
|
|
35
34
|
DateCalendar: _calendar.DateCalendar,
|
|
36
35
|
DateRangeCalendar: _calendar.DateRangeCalendar,
|
|
37
36
|
TZDate: _calendar.TZDate,
|
|
38
|
-
Picker: _picker.Picker,
|
|
39
|
-
ValidatedInputControl: _validatedFormControls.ValidatedInputControl,
|
|
40
|
-
ValidatedCheckboxControl: _validatedFormControls.ValidatedCheckboxControl,
|
|
41
37
|
ValidatedNumberControl: _validatedFormControls.ValidatedNumberControl,
|
|
42
38
|
ValidatedTextControl: _validatedFormControls.ValidatedTextControl,
|
|
43
39
|
ValidatedToggleControl: _validatedFormControls.ValidatedToggleControl
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_utils","require","_menu","_contextSystemProvider","_theme","_interopRequireDefault","_tabs","_strings","_withIgnoreImeEvents","_lockUnlock","_badge","_calendar","_validatedFormControls","
|
|
1
|
+
{"version":3,"names":["_utils","require","_menu","_contextSystemProvider","_theme","_interopRequireDefault","_tabs","_strings","_withIgnoreImeEvents","_lockUnlock","_badge","_calendar","_validatedFormControls","privateApis","exports","lock","__experimentalPopoverLegacyPositionToPlacement","ComponentsContext","Tabs","Theme","Menu","kebabCase","withIgnoreIMEEvents","Badge","normalizeTextString","DateCalendar","DateRangeCalendar","TZDate","ValidatedNumberControl","ValidatedTextControl","ValidatedToggleControl"],"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, normalizeTextString } from './utils/strings';\nimport { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nimport { DateCalendar, DateRangeCalendar, TZDate } from './calendar';\nimport {\n\tValidatedNumberControl,\n\tValidatedTextControl,\n\tValidatedToggleControl,\n} from './validated-form-controls';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\twithIgnoreIMEEvents,\n\tBadge,\n\tnormalizeTextString,\n\tDateCalendar,\n\tDateRangeCalendar,\n\tTZDate,\n\tValidatedNumberControl,\n\tValidatedTextControl,\n\tValidatedToggleControl,\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;AAEA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,sBAAA,GAAAX,OAAA;AAdA;AACA;AACA;;AAkBO,MAAMY,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,cAAK;EACLC,mBAAmB,EAAnBA,4BAAmB;EACnBC,YAAY,EAAZA,sBAAY;EACZC,iBAAiB,EAAjBA,2BAAiB;EACjBC,MAAM,EAANA,gBAAM;EACNC,sBAAsB,EAAtBA,6CAAsB;EACtBC,oBAAoB,EAApBA,2CAAoB;EACpBC,sBAAsB,EAAtBA;AACD,CAAE,CAAC","ignoreList":[]}
|
|
@@ -11,8 +11,7 @@ import { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';
|
|
|
11
11
|
import { lock } from './lock-unlock';
|
|
12
12
|
import Badge from './badge';
|
|
13
13
|
import { DateCalendar, DateRangeCalendar, TZDate } from './calendar';
|
|
14
|
-
import {
|
|
15
|
-
import { Picker } from './color-picker/picker';
|
|
14
|
+
import { ValidatedNumberControl, ValidatedTextControl, ValidatedToggleControl } from './validated-form-controls';
|
|
16
15
|
export const privateApis = {};
|
|
17
16
|
lock(privateApis, {
|
|
18
17
|
__experimentalPopoverLegacyPositionToPlacement,
|
|
@@ -27,9 +26,6 @@ lock(privateApis, {
|
|
|
27
26
|
DateCalendar,
|
|
28
27
|
DateRangeCalendar,
|
|
29
28
|
TZDate,
|
|
30
|
-
Picker,
|
|
31
|
-
ValidatedInputControl,
|
|
32
|
-
ValidatedCheckboxControl,
|
|
33
29
|
ValidatedNumberControl,
|
|
34
30
|
ValidatedTextControl,
|
|
35
31
|
ValidatedToggleControl
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["positionToPlacement","__experimentalPopoverLegacyPositionToPlacement","Menu","ComponentsContext","Theme","Tabs","kebabCase","normalizeTextString","withIgnoreIMEEvents","lock","Badge","DateCalendar","DateRangeCalendar","TZDate","
|
|
1
|
+
{"version":3,"names":["positionToPlacement","__experimentalPopoverLegacyPositionToPlacement","Menu","ComponentsContext","Theme","Tabs","kebabCase","normalizeTextString","withIgnoreIMEEvents","lock","Badge","DateCalendar","DateRangeCalendar","TZDate","ValidatedNumberControl","ValidatedTextControl","ValidatedToggleControl","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, normalizeTextString } from './utils/strings';\nimport { withIgnoreIMEEvents } from './utils/with-ignore-ime-events';\nimport { lock } from './lock-unlock';\nimport Badge from './badge';\n\nimport { DateCalendar, DateRangeCalendar, TZDate } from './calendar';\nimport {\n\tValidatedNumberControl,\n\tValidatedTextControl,\n\tValidatedToggleControl,\n} from './validated-form-controls';\n\nexport const privateApis = {};\nlock( privateApis, {\n\t__experimentalPopoverLegacyPositionToPlacement,\n\tComponentsContext,\n\tTabs,\n\tTheme,\n\tMenu,\n\tkebabCase,\n\twithIgnoreIMEEvents,\n\tBadge,\n\tnormalizeTextString,\n\tDateCalendar,\n\tDateRangeCalendar,\n\tTZDate,\n\tValidatedNumberControl,\n\tValidatedTextControl,\n\tValidatedToggleControl,\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,EAAEC,mBAAmB,QAAQ,iBAAiB;AAChE,SAASC,mBAAmB,QAAQ,gCAAgC;AACpE,SAASC,IAAI,QAAQ,eAAe;AACpC,OAAOC,KAAK,MAAM,SAAS;AAE3B,SAASC,YAAY,EAAEC,iBAAiB,EAAEC,MAAM,QAAQ,YAAY;AACpE,SACCC,sBAAsB,EACtBC,oBAAoB,EACpBC,sBAAsB,QAChB,2BAA2B;AAElC,OAAO,MAAMC,WAAW,GAAG,CAAC,CAAC;AAC7BR,IAAI,CAAEQ,WAAW,EAAE;EAClBhB,8CAA8C;EAC9CE,iBAAiB;EACjBE,IAAI;EACJD,KAAK;EACLF,IAAI;EACJI,SAAS;EACTE,mBAAmB;EACnBE,KAAK;EACLH,mBAAmB;EACnBI,YAAY;EACZC,iBAAiB;EACjBC,MAAM;EACNC,sBAAsB;EACtBC,oBAAoB;EACpBC;AACD,CAAE,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,WAAW,IAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/components",
|
|
3
|
-
"version": "30.3.2-next.
|
|
3
|
+
"version": "30.3.2-next.836ecdcae.0",
|
|
4
4
|
"description": "UI components for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
"@types/gradient-parser": "1.1.0",
|
|
45
45
|
"@types/highlight-words-core": "1.2.1",
|
|
46
46
|
"@use-gesture/react": "^10.3.1",
|
|
47
|
-
"@wordpress/a11y": "^4.30.1-next.
|
|
48
|
-
"@wordpress/compose": "^7.30.1-next.
|
|
49
|
-
"@wordpress/date": "^5.30.1-next.
|
|
50
|
-
"@wordpress/deprecated": "^4.30.1-next.
|
|
51
|
-
"@wordpress/dom": "^4.30.1-next.
|
|
52
|
-
"@wordpress/element": "^6.30.1-next.
|
|
53
|
-
"@wordpress/escape-html": "^3.30.1-next.
|
|
54
|
-
"@wordpress/hooks": "^4.30.1-next.
|
|
55
|
-
"@wordpress/html-entities": "^4.30.1-next.
|
|
56
|
-
"@wordpress/i18n": "^6.3.1-next.
|
|
57
|
-
"@wordpress/icons": "^10.30.1-next.
|
|
58
|
-
"@wordpress/is-shallow-equal": "^5.30.1-next.
|
|
59
|
-
"@wordpress/keycodes": "^4.30.1-next.
|
|
60
|
-
"@wordpress/primitives": "^4.30.1-next.
|
|
61
|
-
"@wordpress/private-apis": "^1.30.1-next.
|
|
62
|
-
"@wordpress/rich-text": "^7.30.1-next.
|
|
63
|
-
"@wordpress/warning": "^3.30.1-next.
|
|
47
|
+
"@wordpress/a11y": "^4.30.1-next.836ecdcae.0",
|
|
48
|
+
"@wordpress/compose": "^7.30.1-next.836ecdcae.0",
|
|
49
|
+
"@wordpress/date": "^5.30.1-next.836ecdcae.0",
|
|
50
|
+
"@wordpress/deprecated": "^4.30.1-next.836ecdcae.0",
|
|
51
|
+
"@wordpress/dom": "^4.30.1-next.836ecdcae.0",
|
|
52
|
+
"@wordpress/element": "^6.30.1-next.836ecdcae.0",
|
|
53
|
+
"@wordpress/escape-html": "^3.30.1-next.836ecdcae.0",
|
|
54
|
+
"@wordpress/hooks": "^4.30.1-next.836ecdcae.0",
|
|
55
|
+
"@wordpress/html-entities": "^4.30.1-next.836ecdcae.0",
|
|
56
|
+
"@wordpress/i18n": "^6.3.1-next.836ecdcae.0",
|
|
57
|
+
"@wordpress/icons": "^10.30.1-next.836ecdcae.0",
|
|
58
|
+
"@wordpress/is-shallow-equal": "^5.30.1-next.836ecdcae.0",
|
|
59
|
+
"@wordpress/keycodes": "^4.30.1-next.836ecdcae.0",
|
|
60
|
+
"@wordpress/primitives": "^4.30.1-next.836ecdcae.0",
|
|
61
|
+
"@wordpress/private-apis": "^1.30.1-next.836ecdcae.0",
|
|
62
|
+
"@wordpress/rich-text": "^7.30.1-next.836ecdcae.0",
|
|
63
|
+
"@wordpress/warning": "^3.30.1-next.836ecdcae.0",
|
|
64
64
|
"change-case": "^4.1.2",
|
|
65
65
|
"clsx": "^2.1.1",
|
|
66
66
|
"colord": "^2.7.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "3e60b4c1e78d7b27acbf1d7dd172bbd64358a0f2"
|
|
90
90
|
}
|
package/src/private-apis.ts
CHANGED
|
@@ -13,13 +13,10 @@ import Badge from './badge';
|
|
|
13
13
|
|
|
14
14
|
import { DateCalendar, DateRangeCalendar, TZDate } from './calendar';
|
|
15
15
|
import {
|
|
16
|
-
ValidatedCheckboxControl,
|
|
17
|
-
ValidatedInputControl,
|
|
18
16
|
ValidatedNumberControl,
|
|
19
17
|
ValidatedTextControl,
|
|
20
18
|
ValidatedToggleControl,
|
|
21
19
|
} from './validated-form-controls';
|
|
22
|
-
import { Picker } from './color-picker/picker';
|
|
23
20
|
|
|
24
21
|
export const privateApis = {};
|
|
25
22
|
lock( privateApis, {
|
|
@@ -35,9 +32,6 @@ lock( privateApis, {
|
|
|
35
32
|
DateCalendar,
|
|
36
33
|
DateRangeCalendar,
|
|
37
34
|
TZDate,
|
|
38
|
-
Picker,
|
|
39
|
-
ValidatedInputControl,
|
|
40
|
-
ValidatedCheckboxControl,
|
|
41
35
|
ValidatedNumberControl,
|
|
42
36
|
ValidatedTextControl,
|
|
43
37
|
ValidatedToggleControl,
|