@automattic/charts 0.53.2 → 0.53.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 +10 -0
- package/dist/charts/leaderboard-chart/index.cjs +2 -2
- package/dist/charts/leaderboard-chart/index.js +1 -1
- package/dist/{chunk-HPJ5XSZM.js → chunk-LK5JTV76.js} +77 -77
- package/dist/chunk-LK5JTV76.js.map +1 -0
- package/dist/{chunk-GX4XTD6V.cjs → chunk-PNDL3WWM.cjs} +78 -78
- package/dist/chunk-PNDL3WWM.cjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +5 -6
- package/src/charts/bar-chart/test/bar-chart.test.tsx +0 -4
- package/src/charts/bar-list-chart/test/bar-list-chart.test.tsx +0 -4
- package/src/charts/geo-chart/test/geo-chart.test.tsx +0 -4
- package/src/charts/line-chart/test/line-chart-annotation.test.tsx +0 -4
- package/src/charts/line-chart/test/line-chart.test.tsx +0 -3
- package/src/charts/pie-chart/test/pie-chart.test.tsx +0 -4
- package/src/charts/sparkline/test/sparkline.test.tsx +0 -4
- package/src/utils/test/get-longest-tick-width.test.ts +0 -3
- package/src/utils/test/get-styles.test.ts +0 -3
- package/src/utils/test/is-safari.test.ts +0 -3
- package/src/utils/test/resolve-css-var.test.ts +0 -3
- package/dist/chunk-GX4XTD6V.cjs.map +0 -1
- package/dist/chunk-HPJ5XSZM.js.map +0 -1
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.53.4] - 2026-01-19
|
|
9
|
+
### Changed
|
|
10
|
+
- Update package dependencies. [#46647]
|
|
11
|
+
|
|
12
|
+
## [0.53.3] - 2026-01-14
|
|
13
|
+
### Changed
|
|
14
|
+
- Update package dependencies. [#46552]
|
|
15
|
+
|
|
8
16
|
## [0.53.2] - 2026-01-07
|
|
9
17
|
### Changed
|
|
10
18
|
- Update package dependencies. [#46456]
|
|
@@ -624,6 +632,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
624
632
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
625
633
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
626
634
|
|
|
635
|
+
[0.53.4]: https://github.com/Automattic/charts/compare/v0.53.3...v0.53.4
|
|
636
|
+
[0.53.3]: https://github.com/Automattic/charts/compare/v0.53.2...v0.53.3
|
|
627
637
|
[0.53.2]: https://github.com/Automattic/charts/compare/v0.53.1...v0.53.2
|
|
628
638
|
[0.53.1]: https://github.com/Automattic/charts/compare/v0.53.0...v0.53.1
|
|
629
639
|
[0.53.0]: https://github.com/Automattic/charts/compare/v0.52.0...v0.53.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPNDL3WWMcjs = require('../../chunk-PNDL3WWM.cjs');
|
|
6
6
|
require('../../chunk-HIWNB5PK.cjs');
|
|
7
7
|
require('../../chunk-ZPJHWKEK.cjs');
|
|
8
8
|
require('../../chunk-MUUSZ7J5.cjs');
|
|
@@ -16,5 +16,5 @@ require('../../chunk-EMMSS5I5.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.LeaderboardChart =
|
|
19
|
+
exports.LeaderboardChart = _chunkPNDL3WWMcjs.LeaderboardChartResponsive; exports.LeaderboardChartUnresponsive = _chunkPNDL3WWMcjs.LeaderboardChart; exports.formatMetricValue = _chunkZVGEDXDPcjs.formatMetricValue; exports.useLeaderboardLegendItems = _chunkPNDL3WWMcjs.useLeaderboardLegendItems;
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -565,7 +565,7 @@ var require_dist = __commonJS({
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
|
|
568
|
-
// ../../../node_modules/.pnpm/@wordpress+element@6.
|
|
568
|
+
// ../../../node_modules/.pnpm/@wordpress+element@6.38.0/node_modules/@wordpress/element/build-module/react.mjs
|
|
569
569
|
import {
|
|
570
570
|
Children,
|
|
571
571
|
cloneElement,
|
|
@@ -664,7 +664,7 @@ function paramCase(input, options) {
|
|
|
664
664
|
return dotCase(input, __assign2({ delimiter: "-" }, options));
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
667
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/validateNamespace.mjs
|
|
668
668
|
function validateNamespace(namespace) {
|
|
669
669
|
if ("string" !== typeof namespace || "" === namespace) {
|
|
670
670
|
console.error("The namespace must be a non-empty string.");
|
|
@@ -680,7 +680,7 @@ function validateNamespace(namespace) {
|
|
|
680
680
|
}
|
|
681
681
|
var validateNamespace_default = validateNamespace;
|
|
682
682
|
|
|
683
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
683
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/validateHookName.mjs
|
|
684
684
|
function validateHookName(hookName) {
|
|
685
685
|
if ("string" !== typeof hookName || "" === hookName) {
|
|
686
686
|
console.error("The hook name must be a non-empty string.");
|
|
@@ -700,7 +700,7 @@ function validateHookName(hookName) {
|
|
|
700
700
|
}
|
|
701
701
|
var validateHookName_default = validateHookName;
|
|
702
702
|
|
|
703
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
703
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createAddHook.mjs
|
|
704
704
|
function createAddHook(hooks, storeKey) {
|
|
705
705
|
return function addHook(hookName, namespace, callback, priority = 10) {
|
|
706
706
|
const hooksStore = hooks[storeKey];
|
|
@@ -758,7 +758,7 @@ function createAddHook(hooks, storeKey) {
|
|
|
758
758
|
}
|
|
759
759
|
var createAddHook_default = createAddHook;
|
|
760
760
|
|
|
761
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
761
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createRemoveHook.mjs
|
|
762
762
|
function createRemoveHook(hooks, storeKey, removeAll = false) {
|
|
763
763
|
return function removeHook(hookName, namespace) {
|
|
764
764
|
const hooksStore = hooks[storeKey];
|
|
@@ -800,7 +800,7 @@ function createRemoveHook(hooks, storeKey, removeAll = false) {
|
|
|
800
800
|
}
|
|
801
801
|
var createRemoveHook_default = createRemoveHook;
|
|
802
802
|
|
|
803
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
803
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createHasHook.mjs
|
|
804
804
|
function createHasHook(hooks, storeKey) {
|
|
805
805
|
return function hasHook(hookName, namespace) {
|
|
806
806
|
const hooksStore = hooks[storeKey];
|
|
@@ -814,7 +814,7 @@ function createHasHook(hooks, storeKey) {
|
|
|
814
814
|
}
|
|
815
815
|
var createHasHook_default = createHasHook;
|
|
816
816
|
|
|
817
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
817
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createRunHook.mjs
|
|
818
818
|
function createRunHook(hooks, storeKey, returnFirstArg, async) {
|
|
819
819
|
return function runHook(hookName, ...args) {
|
|
820
820
|
const hooksStore = hooks[storeKey];
|
|
@@ -877,7 +877,7 @@ function createRunHook(hooks, storeKey, returnFirstArg, async) {
|
|
|
877
877
|
}
|
|
878
878
|
var createRunHook_default = createRunHook;
|
|
879
879
|
|
|
880
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
880
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createCurrentHook.mjs
|
|
881
881
|
function createCurrentHook(hooks, storeKey) {
|
|
882
882
|
return function currentHook() {
|
|
883
883
|
const hooksStore = hooks[storeKey];
|
|
@@ -887,7 +887,7 @@ function createCurrentHook(hooks, storeKey) {
|
|
|
887
887
|
}
|
|
888
888
|
var createCurrentHook_default = createCurrentHook;
|
|
889
889
|
|
|
890
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
890
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createDoingHook.mjs
|
|
891
891
|
function createDoingHook(hooks, storeKey) {
|
|
892
892
|
return function doingHook(hookName) {
|
|
893
893
|
const hooksStore = hooks[storeKey];
|
|
@@ -901,7 +901,7 @@ function createDoingHook(hooks, storeKey) {
|
|
|
901
901
|
}
|
|
902
902
|
var createDoingHook_default = createDoingHook;
|
|
903
903
|
|
|
904
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
904
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createDidHook.mjs
|
|
905
905
|
function createDidHook(hooks, storeKey) {
|
|
906
906
|
return function didHook(hookName) {
|
|
907
907
|
const hooksStore = hooks[storeKey];
|
|
@@ -913,7 +913,7 @@ function createDidHook(hooks, storeKey) {
|
|
|
913
913
|
}
|
|
914
914
|
var createDidHook_default = createDidHook;
|
|
915
915
|
|
|
916
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
916
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/createHooks.mjs
|
|
917
917
|
var _Hooks = class {
|
|
918
918
|
actions;
|
|
919
919
|
filters;
|
|
@@ -965,7 +965,7 @@ function createHooks() {
|
|
|
965
965
|
}
|
|
966
966
|
var createHooks_default = createHooks;
|
|
967
967
|
|
|
968
|
-
// ../../../node_modules/.pnpm/@wordpress+hooks@4.
|
|
968
|
+
// ../../../node_modules/.pnpm/@wordpress+hooks@4.38.0/node_modules/@wordpress/hooks/build-module/index.mjs
|
|
969
969
|
var defaultHooks = createHooks_default();
|
|
970
970
|
var {
|
|
971
971
|
addAction,
|
|
@@ -990,7 +990,7 @@ var {
|
|
|
990
990
|
filters
|
|
991
991
|
} = defaultHooks;
|
|
992
992
|
|
|
993
|
-
// ../../../node_modules/.pnpm/@wordpress+deprecated@4.
|
|
993
|
+
// ../../../node_modules/.pnpm/@wordpress+deprecated@4.38.0/node_modules/@wordpress/deprecated/build-module/index.mjs
|
|
994
994
|
var logged = /* @__PURE__ */ Object.create(null);
|
|
995
995
|
function deprecated(feature, options = {}) {
|
|
996
996
|
const { since, version, alternative, plugin, link, hint } = options;
|
|
@@ -1009,38 +1009,12 @@ function deprecated(feature, options = {}) {
|
|
|
1009
1009
|
logged[message] = true;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
1013
|
-
import deepmerge from "deepmerge";
|
|
1014
|
-
import fastDeepEqual from "fast-deep-equal/es6";
|
|
1015
|
-
|
|
1016
|
-
// ../../../node_modules/.pnpm/@wordpress+warning@3.37.0_patch_hash=2659f08edd4c0250f15fb428f013852a17e84da9c745e6dae6307de837e4d30b/node_modules/@wordpress/warning/build-module/utils.js
|
|
1017
|
-
var logged2 = /* @__PURE__ */ new Set();
|
|
1018
|
-
|
|
1019
|
-
// ../../../node_modules/.pnpm/@wordpress+warning@3.37.0_patch_hash=2659f08edd4c0250f15fb428f013852a17e84da9c745e6dae6307de837e4d30b/node_modules/@wordpress/warning/build-module/index.js
|
|
1020
|
-
function isDev() {
|
|
1021
|
-
return globalThis.SCRIPT_DEBUG === true;
|
|
1022
|
-
}
|
|
1023
|
-
function warning(message) {
|
|
1024
|
-
if (!isDev()) {
|
|
1025
|
-
return;
|
|
1026
|
-
}
|
|
1027
|
-
if (logged2.has(message)) {
|
|
1028
|
-
return;
|
|
1029
|
-
}
|
|
1030
|
-
console.warn(message);
|
|
1031
|
-
try {
|
|
1032
|
-
throw Error(message);
|
|
1033
|
-
} catch (x2) {
|
|
1034
|
-
}
|
|
1035
|
-
logged2.add(message);
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
// ../../../node_modules/.pnpm/@wordpress+components@31.0.0_patch_hash=2659f08edd4c0250f15fb428f013852a17e84da9c745e6d_93d8ce197f0e1a8b571f9071ef7ebfef/node_modules/@wordpress/components/build-module/utils/values.js
|
|
1012
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
1039
1013
|
function isValueDefined(value) {
|
|
1040
1014
|
return value !== void 0 && value !== null;
|
|
1041
1015
|
}
|
|
1042
1016
|
|
|
1043
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
1017
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
1044
1018
|
function useUpdateEffect(effect, deps) {
|
|
1045
1019
|
const mountedRef = useRef(false);
|
|
1046
1020
|
useEffect(() => {
|
|
@@ -2494,7 +2468,7 @@ var css2 = _createEmotion.css;
|
|
|
2494
2468
|
var sheet = _createEmotion.sheet;
|
|
2495
2469
|
var cache = _createEmotion.cache;
|
|
2496
2470
|
|
|
2497
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
2471
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2498
2472
|
var isSerializedStyles = (o2) => typeof o2 !== "undefined" && o2 !== null && ["name", "styles"].every((p2) => typeof o2[p2] !== "undefined");
|
|
2499
2473
|
var useCx = () => {
|
|
2500
2474
|
const cache2 = __unsafe_useEmotionCache();
|
|
@@ -2770,7 +2744,7 @@ function names_default(e2, f2) {
|
|
|
2770
2744
|
}, "name"]);
|
|
2771
2745
|
}
|
|
2772
2746
|
|
|
2773
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
2747
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2774
2748
|
var colorComputationNode;
|
|
2775
2749
|
k([names_default]);
|
|
2776
2750
|
function getColorComputationNode() {
|
|
@@ -2824,7 +2798,7 @@ function getOptimalTextShade(backgroundColor) {
|
|
|
2824
2798
|
return result === "#000000" ? "dark" : "light";
|
|
2825
2799
|
}
|
|
2826
2800
|
|
|
2827
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
2801
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2828
2802
|
var white = "#fff";
|
|
2829
2803
|
var GRAY = {
|
|
2830
2804
|
900: "#1e1e1e",
|
|
@@ -2905,7 +2879,7 @@ var COLORS = Object.freeze({
|
|
|
2905
2879
|
ui: UI
|
|
2906
2880
|
});
|
|
2907
2881
|
|
|
2908
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
2882
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2909
2883
|
var CONTROL_HEIGHT = "36px";
|
|
2910
2884
|
var CONTROL_PROPS = {
|
|
2911
2885
|
// These values should be shared with TextControl.
|
|
@@ -2973,7 +2947,33 @@ var config_values_default = Object.assign({}, CONTROL_PROPS, {
|
|
|
2973
2947
|
transitionTimingFunctionControl: "cubic-bezier(0.12, 0.8, 0.32, 1)"
|
|
2974
2948
|
});
|
|
2975
2949
|
|
|
2976
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
2950
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2951
|
+
import deepmerge from "deepmerge";
|
|
2952
|
+
import fastDeepEqual from "fast-deep-equal/es6/index.js";
|
|
2953
|
+
|
|
2954
|
+
// ../../../node_modules/.pnpm/@wordpress+warning@3.38.0/node_modules/@wordpress/warning/build-module/utils.mjs
|
|
2955
|
+
var logged2 = /* @__PURE__ */ new Set();
|
|
2956
|
+
|
|
2957
|
+
// ../../../node_modules/.pnpm/@wordpress+warning@3.38.0/node_modules/@wordpress/warning/build-module/index.mjs
|
|
2958
|
+
function isDev() {
|
|
2959
|
+
return globalThis.SCRIPT_DEBUG === true;
|
|
2960
|
+
}
|
|
2961
|
+
function warning(message) {
|
|
2962
|
+
if (!isDev()) {
|
|
2963
|
+
return;
|
|
2964
|
+
}
|
|
2965
|
+
if (logged2.has(message)) {
|
|
2966
|
+
return;
|
|
2967
|
+
}
|
|
2968
|
+
console.warn(message);
|
|
2969
|
+
try {
|
|
2970
|
+
throw Error(message);
|
|
2971
|
+
} catch (x2) {
|
|
2972
|
+
}
|
|
2973
|
+
logged2.add(message);
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
2977
2977
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2978
2978
|
var ComponentsContext = createContext(
|
|
2979
2979
|
/** @type {Record<string, any>} */
|
|
@@ -3016,19 +3016,19 @@ var BaseContextSystemProvider = ({
|
|
|
3016
3016
|
};
|
|
3017
3017
|
var ContextSystemProvider = memo(BaseContextSystemProvider);
|
|
3018
3018
|
|
|
3019
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3019
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3020
3020
|
var COMPONENT_NAMESPACE = "data-wp-component";
|
|
3021
3021
|
var CONNECTED_NAMESPACE = "data-wp-c16t";
|
|
3022
3022
|
var CONNECT_STATIC_NAMESPACE = "__contextSystemKey__";
|
|
3023
3023
|
|
|
3024
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3024
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3025
3025
|
function getStyledClassName(namespace) {
|
|
3026
3026
|
const kebab = paramCase(namespace);
|
|
3027
3027
|
return `components-${kebab}`;
|
|
3028
3028
|
}
|
|
3029
3029
|
var getStyledClassNameFromKey = memize(getStyledClassName);
|
|
3030
3030
|
|
|
3031
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3031
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3032
3032
|
function contextConnect(Component2, namespace) {
|
|
3033
3033
|
return _contextConnect(Component2, namespace, {
|
|
3034
3034
|
forwardsRef: true
|
|
@@ -3078,7 +3078,7 @@ function hasConnectNamespace(Component2, match2) {
|
|
|
3078
3078
|
return false;
|
|
3079
3079
|
}
|
|
3080
3080
|
|
|
3081
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3081
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3082
3082
|
function getNamespace(componentName) {
|
|
3083
3083
|
return {
|
|
3084
3084
|
[COMPONENT_NAMESPACE]: componentName
|
|
@@ -3090,7 +3090,7 @@ function getConnectedNamespace() {
|
|
|
3090
3090
|
};
|
|
3091
3091
|
}
|
|
3092
3092
|
|
|
3093
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3093
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3094
3094
|
function useContextSystem(props, namespace) {
|
|
3095
3095
|
const contextSystemProps = useComponentsContext();
|
|
3096
3096
|
if (typeof namespace === "undefined") {
|
|
@@ -3274,7 +3274,7 @@ var createStyled = function createStyled2(tag, options) {
|
|
|
3274
3274
|
};
|
|
3275
3275
|
};
|
|
3276
3276
|
|
|
3277
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3277
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3278
3278
|
import { jsx as _jsx2 } from "react/jsx-runtime";
|
|
3279
3279
|
var PolymorphicDiv = /* @__PURE__ */ createStyled("div", process.env.NODE_ENV === "production" ? {
|
|
3280
3280
|
target: "e19lxcc00"
|
|
@@ -3297,7 +3297,7 @@ var View = Object.assign(forwardRef(UnforwardedView), {
|
|
|
3297
3297
|
});
|
|
3298
3298
|
var component_default = View;
|
|
3299
3299
|
|
|
3300
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3300
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3301
3301
|
var breakpoints = ["40em", "52em", "64em"];
|
|
3302
3302
|
var useBreakpointIndex = (options = {}) => {
|
|
3303
3303
|
const {
|
|
@@ -3346,7 +3346,7 @@ function useResponsiveValue(values, options = {}) {
|
|
|
3346
3346
|
);
|
|
3347
3347
|
}
|
|
3348
3348
|
|
|
3349
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3349
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3350
3350
|
var GRID_BASE = "4px";
|
|
3351
3351
|
function space(value) {
|
|
3352
3352
|
if (typeof value === "undefined") {
|
|
@@ -3362,7 +3362,7 @@ function space(value) {
|
|
|
3362
3362
|
return `calc(${GRID_BASE} * ${value})`;
|
|
3363
3363
|
}
|
|
3364
3364
|
|
|
3365
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3365
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3366
3366
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
3367
3367
|
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).";
|
|
3368
3368
|
}
|
|
@@ -3412,7 +3412,7 @@ var ItemsRow = process.env.NODE_ENV === "production" ? {
|
|
|
3412
3412
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
3413
3413
|
};
|
|
3414
3414
|
|
|
3415
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3415
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3416
3416
|
function useDeprecatedProps(props) {
|
|
3417
3417
|
const {
|
|
3418
3418
|
isReversed,
|
|
@@ -3464,13 +3464,13 @@ function useFlex(props) {
|
|
|
3464
3464
|
};
|
|
3465
3465
|
}
|
|
3466
3466
|
|
|
3467
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3467
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3468
3468
|
var FlexContext = createContext({
|
|
3469
3469
|
flexItemDisplay: void 0
|
|
3470
3470
|
});
|
|
3471
3471
|
var useFlexContext = () => useContext(FlexContext);
|
|
3472
3472
|
|
|
3473
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3473
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3474
3474
|
function useFlexItem(props) {
|
|
3475
3475
|
const {
|
|
3476
3476
|
className,
|
|
@@ -3491,7 +3491,7 @@ function useFlexItem(props) {
|
|
|
3491
3491
|
};
|
|
3492
3492
|
}
|
|
3493
3493
|
|
|
3494
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3494
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3495
3495
|
import { jsx as _jsx3 } from "react/jsx-runtime";
|
|
3496
3496
|
function UnconnectedFlexItem(props, forwardedRef) {
|
|
3497
3497
|
const flexItemProps = useFlexItem(props);
|
|
@@ -3503,7 +3503,7 @@ function UnconnectedFlexItem(props, forwardedRef) {
|
|
|
3503
3503
|
var FlexItem = contextConnect(UnconnectedFlexItem, "FlexItem");
|
|
3504
3504
|
var component_default2 = FlexItem;
|
|
3505
3505
|
|
|
3506
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3506
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3507
3507
|
function _EMOTION_STRINGIFIED_CSS_ERROR__2() {
|
|
3508
3508
|
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).";
|
|
3509
3509
|
}
|
|
@@ -3517,7 +3517,7 @@ var Truncate = process.env.NODE_ENV === "production" ? {
|
|
|
3517
3517
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__2
|
|
3518
3518
|
};
|
|
3519
3519
|
|
|
3520
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3520
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3521
3521
|
var TRUNCATE_ELLIPSIS = "\u2026";
|
|
3522
3522
|
var TRUNCATE_TYPE = {
|
|
3523
3523
|
auto: "auto",
|
|
@@ -3579,7 +3579,7 @@ function truncateContent(words = "", props) {
|
|
|
3579
3579
|
return truncatedContent;
|
|
3580
3580
|
}
|
|
3581
3581
|
|
|
3582
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3582
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3583
3583
|
function useTruncate(props) {
|
|
3584
3584
|
const {
|
|
3585
3585
|
className,
|
|
@@ -3615,7 +3615,7 @@ function useTruncate(props) {
|
|
|
3615
3615
|
};
|
|
3616
3616
|
}
|
|
3617
3617
|
|
|
3618
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3618
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3619
3619
|
var styles_exports3 = {};
|
|
3620
3620
|
__export(styles_exports3, {
|
|
3621
3621
|
Text: () => Text,
|
|
@@ -3653,7 +3653,7 @@ var upperCase = process.env.NODE_ENV === "production" ? {
|
|
|
3653
3653
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__3
|
|
3654
3654
|
};
|
|
3655
3655
|
|
|
3656
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3656
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3657
3657
|
var import_highlight_words_core = __toESM(require_dist(), 1);
|
|
3658
3658
|
var lowercaseProps = (object) => {
|
|
3659
3659
|
const mapped = {};
|
|
@@ -3737,7 +3737,7 @@ function createHighlighterText({
|
|
|
3737
3737
|
return textContent;
|
|
3738
3738
|
}
|
|
3739
3739
|
|
|
3740
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3740
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3741
3741
|
var BASE_FONT_SIZE = 13;
|
|
3742
3742
|
var PRESET_FONT_SIZES = {
|
|
3743
3743
|
body: BASE_FONT_SIZE,
|
|
@@ -3763,7 +3763,7 @@ function getFontSize(size = BASE_FONT_SIZE) {
|
|
|
3763
3763
|
return `calc(${ratio} * ${config_values_default.fontSize})`;
|
|
3764
3764
|
}
|
|
3765
3765
|
|
|
3766
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3766
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3767
3767
|
function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
3768
3768
|
if (lineHeight) {
|
|
3769
3769
|
return lineHeight;
|
|
@@ -3788,7 +3788,7 @@ function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
|
3788
3788
|
return value;
|
|
3789
3789
|
}
|
|
3790
3790
|
|
|
3791
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3791
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3792
3792
|
function _EMOTION_STRINGIFIED_CSS_ERROR__4() {
|
|
3793
3793
|
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).";
|
|
3794
3794
|
}
|
|
@@ -3900,7 +3900,7 @@ function useText(props) {
|
|
|
3900
3900
|
};
|
|
3901
3901
|
}
|
|
3902
3902
|
|
|
3903
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3903
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3904
3904
|
import { jsx as _jsx4 } from "react/jsx-runtime";
|
|
3905
3905
|
function UnconnectedText(props, forwardedRef) {
|
|
3906
3906
|
const textProps = useText(props);
|
|
@@ -3913,7 +3913,7 @@ function UnconnectedText(props, forwardedRef) {
|
|
|
3913
3913
|
var Text2 = contextConnect(UnconnectedText, "Text");
|
|
3914
3914
|
var component_default4 = Text2;
|
|
3915
3915
|
|
|
3916
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
3916
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
3917
3917
|
var H_ALIGNMENTS = {
|
|
3918
3918
|
bottom: {
|
|
3919
3919
|
align: "flex-end",
|
|
@@ -4016,7 +4016,7 @@ function getAlignmentProps(alignment, direction = "row") {
|
|
|
4016
4016
|
return alignmentProps;
|
|
4017
4017
|
}
|
|
4018
4018
|
|
|
4019
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4019
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4020
4020
|
function getValidChildren(children) {
|
|
4021
4021
|
if (typeof children === "string") {
|
|
4022
4022
|
return [children];
|
|
@@ -4024,7 +4024,7 @@ function getValidChildren(children) {
|
|
|
4024
4024
|
return Children.toArray(children).filter((child) => isValidElement(child));
|
|
4025
4025
|
}
|
|
4026
4026
|
|
|
4027
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4027
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4028
4028
|
import { jsx as _jsx5 } from "react/jsx-runtime";
|
|
4029
4029
|
function useHStack(props) {
|
|
4030
4030
|
const {
|
|
@@ -4063,7 +4063,7 @@ function useHStack(props) {
|
|
|
4063
4063
|
return flexProps;
|
|
4064
4064
|
}
|
|
4065
4065
|
|
|
4066
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4066
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4067
4067
|
function useVStack(props) {
|
|
4068
4068
|
const {
|
|
4069
4069
|
expanded = false,
|
|
@@ -4079,7 +4079,7 @@ function useVStack(props) {
|
|
|
4079
4079
|
return hStackProps;
|
|
4080
4080
|
}
|
|
4081
4081
|
|
|
4082
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4082
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4083
4083
|
import { jsx as _jsx6 } from "react/jsx-runtime";
|
|
4084
4084
|
function UnconnectedVStack(props, forwardedRef) {
|
|
4085
4085
|
const vStackProps = useVStack(props);
|
|
@@ -4091,7 +4091,7 @@ function UnconnectedVStack(props, forwardedRef) {
|
|
|
4091
4091
|
var VStack = contextConnect(UnconnectedVStack, "VStack");
|
|
4092
4092
|
var component_default5 = VStack;
|
|
4093
4093
|
|
|
4094
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4094
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4095
4095
|
var ALIGNMENTS = {
|
|
4096
4096
|
bottom: {
|
|
4097
4097
|
alignItems: "flex-end",
|
|
@@ -4142,7 +4142,7 @@ function getAlignmentProps2(alignment) {
|
|
|
4142
4142
|
return alignmentProps;
|
|
4143
4143
|
}
|
|
4144
4144
|
|
|
4145
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4145
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4146
4146
|
function useGrid(props) {
|
|
4147
4147
|
const {
|
|
4148
4148
|
align,
|
|
@@ -4188,7 +4188,7 @@ function useGrid(props) {
|
|
|
4188
4188
|
};
|
|
4189
4189
|
}
|
|
4190
4190
|
|
|
4191
|
-
// ../../../node_modules/.pnpm/@wordpress+components@
|
|
4191
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.0.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.mjs
|
|
4192
4192
|
import { jsx as _jsx7 } from "react/jsx-runtime";
|
|
4193
4193
|
function UnconnectedGrid(props, forwardedRef) {
|
|
4194
4194
|
const gridProps = useGrid(props);
|
|
@@ -4580,4 +4580,4 @@ is-plain-object/dist/is-plain-object.mjs:
|
|
|
4580
4580
|
* Released under the MIT License.
|
|
4581
4581
|
*)
|
|
4582
4582
|
*/
|
|
4583
|
-
//# sourceMappingURL=chunk-
|
|
4583
|
+
//# sourceMappingURL=chunk-LK5JTV76.js.map
|