@automattic/charts 0.46.0 → 0.46.2
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 +10 -0
- package/dist/{chunk-7AH76DXF.cjs → chunk-HZZTNJYP.cjs} +59 -59
- package/dist/{chunk-7AH76DXF.cjs.map → chunk-HZZTNJYP.cjs.map} +1 -1
- package/dist/{chunk-4H3J2HCD.js → chunk-Q2RJUTMN.js} +59 -59
- package/dist/{chunk-4H3J2HCD.js.map → chunk-Q2RJUTMN.js.map} +1 -1
- package/dist/components/leaderboard-chart/index.cjs +2 -2
- package/dist/components/leaderboard-chart/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/pie-semi-circle-chart/test/pie-semi-circle-chart.test.tsx +3 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.46.2] - 2025-11-10
|
|
9
|
+
### Changed
|
|
10
|
+
- Update package dependencies. [#45737]
|
|
11
|
+
|
|
12
|
+
## [0.46.1] - 2025-11-03
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fix lints. [#45658]
|
|
15
|
+
|
|
8
16
|
## [0.46.0] - 2025-10-28
|
|
9
17
|
### Added
|
|
10
18
|
- Charts: Add interactive legend support to LeaderboardChart [#45581]
|
|
@@ -535,6 +543,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
535
543
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
536
544
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
537
545
|
|
|
546
|
+
[0.46.2]: https://github.com/Automattic/charts/compare/v0.46.1...v0.46.2
|
|
547
|
+
[0.46.1]: https://github.com/Automattic/charts/compare/v0.46.0...v0.46.1
|
|
538
548
|
[0.46.0]: https://github.com/Automattic/charts/compare/v0.45.0...v0.46.0
|
|
539
549
|
[0.45.0]: https://github.com/Automattic/charts/compare/v0.44.0...v0.45.0
|
|
540
550
|
[0.44.0]: https://github.com/Automattic/charts/compare/v0.43.0...v0.44.0
|
|
@@ -630,7 +630,7 @@ function paramCase(input, options) {
|
|
|
630
630
|
return dotCase(input, _tslib.__assign.call(void 0, { delimiter: "-" }, options));
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
633
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/validateNamespace.js
|
|
634
634
|
function validateNamespace(namespace) {
|
|
635
635
|
if ("string" !== typeof namespace || "" === namespace) {
|
|
636
636
|
console.error("The namespace must be a non-empty string.");
|
|
@@ -646,7 +646,7 @@ function validateNamespace(namespace) {
|
|
|
646
646
|
}
|
|
647
647
|
var validateNamespace_default = validateNamespace;
|
|
648
648
|
|
|
649
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
649
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/validateHookName.js
|
|
650
650
|
function validateHookName(hookName) {
|
|
651
651
|
if ("string" !== typeof hookName || "" === hookName) {
|
|
652
652
|
console.error("The hook name must be a non-empty string.");
|
|
@@ -666,7 +666,7 @@ function validateHookName(hookName) {
|
|
|
666
666
|
}
|
|
667
667
|
var validateHookName_default = validateHookName;
|
|
668
668
|
|
|
669
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
669
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createAddHook.js
|
|
670
670
|
function createAddHook(hooks, storeKey) {
|
|
671
671
|
return function addHook(hookName, namespace, callback, priority = 10) {
|
|
672
672
|
const hooksStore = hooks[storeKey];
|
|
@@ -724,7 +724,7 @@ function createAddHook(hooks, storeKey) {
|
|
|
724
724
|
}
|
|
725
725
|
var createAddHook_default = createAddHook;
|
|
726
726
|
|
|
727
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
727
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createRemoveHook.js
|
|
728
728
|
function createRemoveHook(hooks, storeKey, removeAll = false) {
|
|
729
729
|
return function removeHook(hookName, namespace) {
|
|
730
730
|
const hooksStore = hooks[storeKey];
|
|
@@ -766,7 +766,7 @@ function createRemoveHook(hooks, storeKey, removeAll = false) {
|
|
|
766
766
|
}
|
|
767
767
|
var createRemoveHook_default = createRemoveHook;
|
|
768
768
|
|
|
769
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
769
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createHasHook.js
|
|
770
770
|
function createHasHook(hooks, storeKey) {
|
|
771
771
|
return function hasHook(hookName, namespace) {
|
|
772
772
|
const hooksStore = hooks[storeKey];
|
|
@@ -780,7 +780,7 @@ function createHasHook(hooks, storeKey) {
|
|
|
780
780
|
}
|
|
781
781
|
var createHasHook_default = createHasHook;
|
|
782
782
|
|
|
783
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
783
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createRunHook.js
|
|
784
784
|
function createRunHook(hooks, storeKey, returnFirstArg, async) {
|
|
785
785
|
return function runHook(hookName, ...args) {
|
|
786
786
|
const hooksStore = hooks[storeKey];
|
|
@@ -843,7 +843,7 @@ function createRunHook(hooks, storeKey, returnFirstArg, async) {
|
|
|
843
843
|
}
|
|
844
844
|
var createRunHook_default = createRunHook;
|
|
845
845
|
|
|
846
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
846
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createCurrentHook.js
|
|
847
847
|
function createCurrentHook(hooks, storeKey) {
|
|
848
848
|
return function currentHook() {
|
|
849
849
|
const hooksStore = hooks[storeKey];
|
|
@@ -853,7 +853,7 @@ function createCurrentHook(hooks, storeKey) {
|
|
|
853
853
|
}
|
|
854
854
|
var createCurrentHook_default = createCurrentHook;
|
|
855
855
|
|
|
856
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
856
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createDoingHook.js
|
|
857
857
|
function createDoingHook(hooks, storeKey) {
|
|
858
858
|
return function doingHook(hookName) {
|
|
859
859
|
const hooksStore = hooks[storeKey];
|
|
@@ -867,7 +867,7 @@ function createDoingHook(hooks, storeKey) {
|
|
|
867
867
|
}
|
|
868
868
|
var createDoingHook_default = createDoingHook;
|
|
869
869
|
|
|
870
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
870
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createDidHook.js
|
|
871
871
|
function createDidHook(hooks, storeKey) {
|
|
872
872
|
return function didHook(hookName) {
|
|
873
873
|
const hooksStore = hooks[storeKey];
|
|
@@ -879,7 +879,7 @@ function createDidHook(hooks, storeKey) {
|
|
|
879
879
|
}
|
|
880
880
|
var createDidHook_default = createDidHook;
|
|
881
881
|
|
|
882
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
882
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/createHooks.js
|
|
883
883
|
var _Hooks = class {
|
|
884
884
|
|
|
885
885
|
|
|
@@ -931,7 +931,7 @@ function createHooks() {
|
|
|
931
931
|
}
|
|
932
932
|
var createHooks_default = createHooks;
|
|
933
933
|
|
|
934
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
934
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.34.0/node_modules/@wordpress/hooks/build-module/index.js
|
|
935
935
|
var defaultHooks = createHooks_default();
|
|
936
936
|
var {
|
|
937
937
|
addAction,
|
|
@@ -956,7 +956,7 @@ var {
|
|
|
956
956
|
filters
|
|
957
957
|
} = defaultHooks;
|
|
958
958
|
|
|
959
|
-
// ../../../node_modules/.pnpm/@wordpress+deprecated@4.
|
|
959
|
+
// ../../../node_modules/.pnpm/@wordpress+deprecated@4.34.0/node_modules/@wordpress/deprecated/build-module/index.js
|
|
960
960
|
var logged = /* @__PURE__ */ Object.create(null);
|
|
961
961
|
function deprecated(feature, options = {}) {
|
|
962
962
|
const { since, version, alternative, plugin, link, hint } = options;
|
|
@@ -975,14 +975,14 @@ function deprecated(feature, options = {}) {
|
|
|
975
975
|
logged[message] = true;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
978
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.js
|
|
979
979
|
var _deepmerge = require('deepmerge'); var _deepmerge2 = _interopRequireDefault(_deepmerge);
|
|
980
980
|
var _es6 = require('fast-deep-equal/es6'); var _es62 = _interopRequireDefault(_es6);
|
|
981
981
|
|
|
982
|
-
// ../../../node_modules/.pnpm/@wordpress+warning@3.
|
|
982
|
+
// ../../../node_modules/.pnpm/@wordpress+warning@3.34.0/node_modules/@wordpress/warning/build-module/utils.js
|
|
983
983
|
var logged2 = /* @__PURE__ */ new Set();
|
|
984
984
|
|
|
985
|
-
// ../../../node_modules/.pnpm/@wordpress+warning@3.
|
|
985
|
+
// ../../../node_modules/.pnpm/@wordpress+warning@3.34.0/node_modules/@wordpress/warning/build-module/index.js
|
|
986
986
|
function isDev() {
|
|
987
987
|
return globalThis.SCRIPT_DEBUG === true;
|
|
988
988
|
}
|
|
@@ -1001,12 +1001,12 @@ function warning(message) {
|
|
|
1001
1001
|
logged2.add(message);
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
1004
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/values.js
|
|
1005
1005
|
function isValueDefined(value) {
|
|
1006
1006
|
return value !== void 0 && value !== null;
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
1009
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.js
|
|
1010
1010
|
function useUpdateEffect(effect, deps) {
|
|
1011
1011
|
const mountedRef = _react.useRef.call(void 0, false);
|
|
1012
1012
|
_react.useEffect.call(void 0, () => {
|
|
@@ -1022,7 +1022,7 @@ function useUpdateEffect(effect, deps) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
var use_update_effect_default = useUpdateEffect;
|
|
1024
1024
|
|
|
1025
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.
|
|
1025
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
1026
1026
|
|
|
1027
1027
|
|
|
1028
1028
|
|
|
@@ -1882,7 +1882,7 @@ var createCache = function createCache2(options) {
|
|
|
1882
1882
|
return cache2;
|
|
1883
1883
|
};
|
|
1884
1884
|
|
|
1885
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.
|
|
1885
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
1886
1886
|
var _extends3 = require('@babel/runtime/helpers/esm/extends'); var _extends4 = _interopRequireDefault(_extends3);
|
|
1887
1887
|
|
|
1888
1888
|
// ../../../node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.esm.js
|
|
@@ -2199,7 +2199,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
2199
2199
|
var useInsertionEffect3 = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
|
|
2200
2200
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect3 || syncFallback;
|
|
2201
2201
|
|
|
2202
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.
|
|
2202
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
2203
2203
|
var isDevelopment3 = false;
|
|
2204
2204
|
var isBrowser4 = typeof document !== "undefined";
|
|
2205
2205
|
var EmotionCacheContext = /* @__PURE__ */ React2.createContext(
|
|
@@ -2306,7 +2306,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache2, ref) {
|
|
|
2306
2306
|
});
|
|
2307
2307
|
var Emotion$1 = Emotion;
|
|
2308
2308
|
|
|
2309
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.
|
|
2309
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
2310
2310
|
|
|
2311
2311
|
require('@babel/runtime/helpers/extends');
|
|
2312
2312
|
var import_hoist_non_react_statics = _chunkEMMSS5I5cjs.__toESM.call(void 0, require_hoist_non_react_statics_cjs());
|
|
@@ -2460,7 +2460,7 @@ var css2 = _createEmotion.css;
|
|
|
2460
2460
|
var sheet = _createEmotion.sheet;
|
|
2461
2461
|
var cache = _createEmotion.cache;
|
|
2462
2462
|
|
|
2463
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2463
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-cx.js
|
|
2464
2464
|
var isSerializedStyles = (o2) => typeof o2 !== "undefined" && o2 !== null && ["name", "styles"].every((p2) => typeof o2[p2] !== "undefined");
|
|
2465
2465
|
var useCx = () => {
|
|
2466
2466
|
const cache2 = __unsafe_useEmotionCache();
|
|
@@ -2736,7 +2736,7 @@ function names_default(e2, f2) {
|
|
|
2736
2736
|
}, "name"]);
|
|
2737
2737
|
}
|
|
2738
2738
|
|
|
2739
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2739
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors.js
|
|
2740
2740
|
var colorComputationNode;
|
|
2741
2741
|
k([names_default]);
|
|
2742
2742
|
function getColorComputationNode() {
|
|
@@ -2790,7 +2790,7 @@ function getOptimalTextShade(backgroundColor) {
|
|
|
2790
2790
|
return result === "#000000" ? "dark" : "light";
|
|
2791
2791
|
}
|
|
2792
2792
|
|
|
2793
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2793
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/space.js
|
|
2794
2794
|
var GRID_BASE = "4px";
|
|
2795
2795
|
function space(value) {
|
|
2796
2796
|
if (typeof value === "undefined") {
|
|
@@ -2806,7 +2806,7 @@ function space(value) {
|
|
|
2806
2806
|
return `calc(${GRID_BASE} * ${value})`;
|
|
2807
2807
|
}
|
|
2808
2808
|
|
|
2809
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2809
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors-values.js
|
|
2810
2810
|
var white = "#fff";
|
|
2811
2811
|
var GRAY = {
|
|
2812
2812
|
900: "#1e1e1e",
|
|
@@ -2887,7 +2887,7 @@ var COLORS = Object.freeze({
|
|
|
2887
2887
|
ui: UI
|
|
2888
2888
|
});
|
|
2889
2889
|
|
|
2890
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2890
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/config-values.js
|
|
2891
2891
|
var CONTROL_HEIGHT = "36px";
|
|
2892
2892
|
var CONTROL_PROPS = {
|
|
2893
2893
|
// These values should be shared with TextControl.
|
|
@@ -2957,7 +2957,7 @@ var config_values_default = Object.assign({}, CONTROL_PROPS, {
|
|
|
2957
2957
|
transitionTimingFunctionControl: "cubic-bezier(0.12, 0.8, 0.32, 1)"
|
|
2958
2958
|
});
|
|
2959
2959
|
|
|
2960
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
2960
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.js
|
|
2961
2961
|
var _jsxruntime = require('react/jsx-runtime');
|
|
2962
2962
|
var ComponentsContext = _react.createContext.call(void 0,
|
|
2963
2963
|
/** @type {Record<string, any>} */
|
|
@@ -3000,19 +3000,19 @@ var BaseContextSystemProvider = ({
|
|
|
3000
3000
|
};
|
|
3001
3001
|
var ContextSystemProvider = _react.memo.call(void 0, BaseContextSystemProvider);
|
|
3002
3002
|
|
|
3003
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3003
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/constants.js
|
|
3004
3004
|
var COMPONENT_NAMESPACE = "data-wp-component";
|
|
3005
3005
|
var CONNECTED_NAMESPACE = "data-wp-c16t";
|
|
3006
3006
|
var CONNECT_STATIC_NAMESPACE = "__contextSystemKey__";
|
|
3007
3007
|
|
|
3008
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3008
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/get-styled-class-name-from-key.js
|
|
3009
3009
|
function getStyledClassName(namespace) {
|
|
3010
3010
|
const kebab = paramCase(namespace);
|
|
3011
3011
|
return `components-${kebab}`;
|
|
3012
3012
|
}
|
|
3013
3013
|
var getStyledClassNameFromKey = memize(getStyledClassName);
|
|
3014
3014
|
|
|
3015
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3015
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-connect.js
|
|
3016
3016
|
function contextConnect(Component2, namespace) {
|
|
3017
3017
|
return _contextConnect(Component2, namespace, {
|
|
3018
3018
|
forwardsRef: true
|
|
@@ -3062,7 +3062,7 @@ function hasConnectNamespace(Component2, match2) {
|
|
|
3062
3062
|
return false;
|
|
3063
3063
|
}
|
|
3064
3064
|
|
|
3065
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3065
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/utils.js
|
|
3066
3066
|
function getNamespace(componentName) {
|
|
3067
3067
|
return {
|
|
3068
3068
|
[COMPONENT_NAMESPACE]: componentName
|
|
@@ -3074,7 +3074,7 @@ function getConnectedNamespace() {
|
|
|
3074
3074
|
};
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3077
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/use-context-system.js
|
|
3078
3078
|
function useContextSystem(props, namespace) {
|
|
3079
3079
|
const contextSystemProps = useComponentsContext();
|
|
3080
3080
|
if (typeof namespace === "undefined") {
|
|
@@ -3106,7 +3106,7 @@ function useContextSystem(props, namespace) {
|
|
|
3106
3106
|
return finalComponentProps;
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@18.3.
|
|
3109
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1__@types+react@18.3.26_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
3110
3110
|
|
|
3111
3111
|
|
|
3112
3112
|
|
|
@@ -3119,7 +3119,7 @@ var isPropValid = /* @__PURE__ */ memoize(
|
|
|
3119
3119
|
/* Z+1 */
|
|
3120
3120
|
);
|
|
3121
3121
|
|
|
3122
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@18.3.
|
|
3122
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@18.3.26_react@18.3.1__@types+react@18.3.26_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
3123
3123
|
var isBrowser5 = typeof document !== "undefined";
|
|
3124
3124
|
var isDevelopment4 = false;
|
|
3125
3125
|
var testOmitPropsOnStringTag = isPropValid;
|
|
@@ -3258,7 +3258,7 @@ var createStyled = function createStyled2(tag, options) {
|
|
|
3258
3258
|
};
|
|
3259
3259
|
};
|
|
3260
3260
|
|
|
3261
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3261
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/view/component.js
|
|
3262
3262
|
|
|
3263
3263
|
var PolymorphicDiv = /* @__PURE__ */ createStyled("div", process.env.NODE_ENV === "production" ? {
|
|
3264
3264
|
target: "e19lxcc00"
|
|
@@ -3281,7 +3281,7 @@ var View = Object.assign(_react.forwardRef.call(void 0, UnforwardedView), {
|
|
|
3281
3281
|
});
|
|
3282
3282
|
var component_default = View;
|
|
3283
3283
|
|
|
3284
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3284
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/use-responsive-value.js
|
|
3285
3285
|
var breakpoints = ["40em", "52em", "64em"];
|
|
3286
3286
|
var useBreakpointIndex = (options = {}) => {
|
|
3287
3287
|
const {
|
|
@@ -3330,7 +3330,7 @@ function useResponsiveValue(values, options = {}) {
|
|
|
3330
3330
|
);
|
|
3331
3331
|
}
|
|
3332
3332
|
|
|
3333
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3333
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/flex/styles.js
|
|
3334
3334
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
3335
3335
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3336
3336
|
}
|
|
@@ -3380,7 +3380,7 @@ var ItemsRow = process.env.NODE_ENV === "production" ? {
|
|
|
3380
3380
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
3381
3381
|
};
|
|
3382
3382
|
|
|
3383
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3383
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/flex/flex/hook.js
|
|
3384
3384
|
function useDeprecatedProps(props) {
|
|
3385
3385
|
const {
|
|
3386
3386
|
isReversed,
|
|
@@ -3432,13 +3432,13 @@ function useFlex(props) {
|
|
|
3432
3432
|
};
|
|
3433
3433
|
}
|
|
3434
3434
|
|
|
3435
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3435
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/flex/context.js
|
|
3436
3436
|
var FlexContext = _react.createContext.call(void 0, {
|
|
3437
3437
|
flexItemDisplay: void 0
|
|
3438
3438
|
});
|
|
3439
3439
|
var useFlexContext = () => _react.useContext.call(void 0, FlexContext);
|
|
3440
3440
|
|
|
3441
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3441
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/flex/flex-item/hook.js
|
|
3442
3442
|
function useFlexItem(props) {
|
|
3443
3443
|
const {
|
|
3444
3444
|
className,
|
|
@@ -3459,7 +3459,7 @@ function useFlexItem(props) {
|
|
|
3459
3459
|
};
|
|
3460
3460
|
}
|
|
3461
3461
|
|
|
3462
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3462
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/flex/flex-item/component.js
|
|
3463
3463
|
|
|
3464
3464
|
function UnconnectedFlexItem(props, forwardedRef) {
|
|
3465
3465
|
const flexItemProps = useFlexItem(props);
|
|
@@ -3471,7 +3471,7 @@ function UnconnectedFlexItem(props, forwardedRef) {
|
|
|
3471
3471
|
var FlexItem = contextConnect(UnconnectedFlexItem, "FlexItem");
|
|
3472
3472
|
var component_default2 = FlexItem;
|
|
3473
3473
|
|
|
3474
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3474
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/styles.js
|
|
3475
3475
|
function _EMOTION_STRINGIFIED_CSS_ERROR__2() {
|
|
3476
3476
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3477
3477
|
}
|
|
@@ -3485,7 +3485,7 @@ var Truncate = process.env.NODE_ENV === "production" ? {
|
|
|
3485
3485
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__2
|
|
3486
3486
|
};
|
|
3487
3487
|
|
|
3488
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3488
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/utils.js
|
|
3489
3489
|
var TRUNCATE_ELLIPSIS = "\u2026";
|
|
3490
3490
|
var TRUNCATE_TYPE = {
|
|
3491
3491
|
auto: "auto",
|
|
@@ -3547,7 +3547,7 @@ function truncateContent(words = "", props) {
|
|
|
3547
3547
|
return truncatedContent;
|
|
3548
3548
|
}
|
|
3549
3549
|
|
|
3550
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3550
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/hook.js
|
|
3551
3551
|
function useTruncate(props) {
|
|
3552
3552
|
const {
|
|
3553
3553
|
className,
|
|
@@ -3583,7 +3583,7 @@ function useTruncate(props) {
|
|
|
3583
3583
|
};
|
|
3584
3584
|
}
|
|
3585
3585
|
|
|
3586
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3586
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/styles.js
|
|
3587
3587
|
var styles_exports3 = {};
|
|
3588
3588
|
_chunkEMMSS5I5cjs.__export.call(void 0, styles_exports3, {
|
|
3589
3589
|
Text: () => Text,
|
|
@@ -3621,7 +3621,7 @@ var upperCase = process.env.NODE_ENV === "production" ? {
|
|
|
3621
3621
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__3
|
|
3622
3622
|
};
|
|
3623
3623
|
|
|
3624
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3624
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/utils.js
|
|
3625
3625
|
var import_highlight_words_core = _chunkEMMSS5I5cjs.__toESM.call(void 0, require_dist());
|
|
3626
3626
|
var lowercaseProps = (object) => {
|
|
3627
3627
|
const mapped = {};
|
|
@@ -3705,7 +3705,7 @@ function createHighlighterText({
|
|
|
3705
3705
|
return textContent;
|
|
3706
3706
|
}
|
|
3707
3707
|
|
|
3708
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3708
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/font-size.js
|
|
3709
3709
|
var BASE_FONT_SIZE = 13;
|
|
3710
3710
|
var PRESET_FONT_SIZES = {
|
|
3711
3711
|
body: BASE_FONT_SIZE,
|
|
@@ -3731,7 +3731,7 @@ function getFontSize(size = BASE_FONT_SIZE) {
|
|
|
3731
3731
|
return `calc(${ratio} * ${config_values_default.fontSize})`;
|
|
3732
3732
|
}
|
|
3733
3733
|
|
|
3734
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3734
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/get-line-height.js
|
|
3735
3735
|
function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
3736
3736
|
if (lineHeight) {
|
|
3737
3737
|
return lineHeight;
|
|
@@ -3756,7 +3756,7 @@ function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
|
3756
3756
|
return value;
|
|
3757
3757
|
}
|
|
3758
3758
|
|
|
3759
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3759
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/hook.js
|
|
3760
3760
|
function _EMOTION_STRINGIFIED_CSS_ERROR__4() {
|
|
3761
3761
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3762
3762
|
}
|
|
@@ -3868,7 +3868,7 @@ function useText(props) {
|
|
|
3868
3868
|
};
|
|
3869
3869
|
}
|
|
3870
3870
|
|
|
3871
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3871
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/component.js
|
|
3872
3872
|
|
|
3873
3873
|
function UnconnectedText(props, forwardedRef) {
|
|
3874
3874
|
const textProps = useText(props);
|
|
@@ -3881,7 +3881,7 @@ function UnconnectedText(props, forwardedRef) {
|
|
|
3881
3881
|
var Text2 = contextConnect(UnconnectedText, "Text");
|
|
3882
3882
|
var component_default4 = Text2;
|
|
3883
3883
|
|
|
3884
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3884
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/h-stack/utils.js
|
|
3885
3885
|
var H_ALIGNMENTS = {
|
|
3886
3886
|
bottom: {
|
|
3887
3887
|
align: "flex-end",
|
|
@@ -3984,7 +3984,7 @@ function getAlignmentProps(alignment, direction = "row") {
|
|
|
3984
3984
|
return alignmentProps;
|
|
3985
3985
|
}
|
|
3986
3986
|
|
|
3987
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3987
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/get-valid-children.js
|
|
3988
3988
|
function getValidChildren(children) {
|
|
3989
3989
|
if (typeof children === "string") {
|
|
3990
3990
|
return [children];
|
|
@@ -3992,7 +3992,7 @@ function getValidChildren(children) {
|
|
|
3992
3992
|
return _react.Children.toArray(children).filter((child) => _react.isValidElement.call(void 0, child));
|
|
3993
3993
|
}
|
|
3994
3994
|
|
|
3995
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
3995
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/h-stack/hook.js
|
|
3996
3996
|
|
|
3997
3997
|
function useHStack(props) {
|
|
3998
3998
|
const {
|
|
@@ -4031,7 +4031,7 @@ function useHStack(props) {
|
|
|
4031
4031
|
return flexProps;
|
|
4032
4032
|
}
|
|
4033
4033
|
|
|
4034
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
4034
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/v-stack/hook.js
|
|
4035
4035
|
function useVStack(props) {
|
|
4036
4036
|
const {
|
|
4037
4037
|
expanded = false,
|
|
@@ -4047,7 +4047,7 @@ function useVStack(props) {
|
|
|
4047
4047
|
return hStackProps;
|
|
4048
4048
|
}
|
|
4049
4049
|
|
|
4050
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
4050
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/v-stack/component.js
|
|
4051
4051
|
|
|
4052
4052
|
function UnconnectedVStack(props, forwardedRef) {
|
|
4053
4053
|
const vStackProps = useVStack(props);
|
|
@@ -4059,7 +4059,7 @@ function UnconnectedVStack(props, forwardedRef) {
|
|
|
4059
4059
|
var VStack = contextConnect(UnconnectedVStack, "VStack");
|
|
4060
4060
|
var component_default5 = VStack;
|
|
4061
4061
|
|
|
4062
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
4062
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/utils.js
|
|
4063
4063
|
var ALIGNMENTS = {
|
|
4064
4064
|
bottom: {
|
|
4065
4065
|
alignItems: "flex-end",
|
|
@@ -4110,7 +4110,7 @@ function getAlignmentProps2(alignment) {
|
|
|
4110
4110
|
return alignmentProps;
|
|
4111
4111
|
}
|
|
4112
4112
|
|
|
4113
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
4113
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/hook.js
|
|
4114
4114
|
function useGrid(props) {
|
|
4115
4115
|
const {
|
|
4116
4116
|
align,
|
|
@@ -4156,7 +4156,7 @@ function useGrid(props) {
|
|
|
4156
4156
|
};
|
|
4157
4157
|
}
|
|
4158
4158
|
|
|
4159
|
-
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.
|
|
4159
|
+
// ../../../node_modules/.pnpm/@wordpress+components@30.4.0_@types+react@18.3.26_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/component.js
|
|
4160
4160
|
|
|
4161
4161
|
function UnconnectedGrid(props, forwardedRef) {
|
|
4162
4162
|
const gridProps = useGrid(props);
|
|
@@ -4529,4 +4529,4 @@ is-plain-object/dist/is-plain-object.mjs:
|
|
|
4529
4529
|
* Released under the MIT License.
|
|
4530
4530
|
*)
|
|
4531
4531
|
*/
|
|
4532
|
-
//# sourceMappingURL=chunk-
|
|
4532
|
+
//# sourceMappingURL=chunk-HZZTNJYP.cjs.map
|