@wordpress/components 32.6.0 → 33.0.1-next.v.202604201441.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.
Files changed (148) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/build/autocomplete/get-autocomplete-match.cjs +11 -2
  3. package/build/autocomplete/get-autocomplete-match.cjs.map +2 -2
  4. package/build/autocomplete/index.cjs +42 -11
  5. package/build/autocomplete/index.cjs.map +2 -2
  6. package/build/external-link/index.cjs +1 -1
  7. package/build/external-link/index.cjs.map +2 -2
  8. package/build/menu/styles.cjs +15 -15
  9. package/build/menu/styles.cjs.map +2 -2
  10. package/build/navigable-container/container.cjs +72 -110
  11. package/build/navigable-container/container.cjs.map +2 -2
  12. package/build-module/autocomplete/get-autocomplete-match.mjs +11 -2
  13. package/build-module/autocomplete/get-autocomplete-match.mjs.map +2 -2
  14. package/build-module/autocomplete/index.mjs +42 -11
  15. package/build-module/autocomplete/index.mjs.map +2 -2
  16. package/build-module/external-link/index.mjs +1 -1
  17. package/build-module/external-link/index.mjs.map +2 -2
  18. package/build-module/menu/styles.mjs +15 -15
  19. package/build-module/menu/styles.mjs.map +2 -2
  20. package/build-module/navigable-container/container.mjs +73 -111
  21. package/build-module/navigable-container/container.mjs.map +2 -2
  22. package/build-types/autocomplete/get-autocomplete-match.d.ts +10 -1
  23. package/build-types/autocomplete/get-autocomplete-match.d.ts.map +1 -1
  24. package/build-types/autocomplete/index.d.ts.map +1 -1
  25. package/build-types/base-control/stories/index.story.d.ts.map +1 -1
  26. package/build-types/button/stories/index.story.d.ts.map +1 -1
  27. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  28. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -1
  29. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  30. package/build-types/color-picker/stories/index.story.d.ts.map +1 -1
  31. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  32. package/build-types/composite/stories/index.story.d.ts.map +1 -1
  33. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  34. package/build-types/disabled/stories/index.story.d.ts.map +1 -1
  35. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  36. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  37. package/build-types/external-link/index.d.ts.map +1 -1
  38. package/build-types/external-link/stories/index.story.d.ts.map +1 -1
  39. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  40. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -1
  41. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
  42. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  43. package/build-types/icon/stories/index.story.d.ts.map +1 -1
  44. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
  45. package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
  46. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  47. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -1
  48. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  49. package/build-types/navigable-container/container.d.ts +3 -8
  50. package/build-types/navigable-container/container.d.ts.map +1 -1
  51. package/build-types/navigable-container/types.d.ts +1 -5
  52. package/build-types/navigable-container/types.d.ts.map +1 -1
  53. package/build-types/navigation/stories/utils/more-examples.d.ts.map +1 -1
  54. package/build-types/navigator/stories/index.story.d.ts.map +1 -1
  55. package/build-types/notice/stories/index.story.d.ts.map +1 -1
  56. package/build-types/panel/stories/index.story.d.ts.map +1 -1
  57. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  58. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  59. package/build-types/radio-control/stories/index.story.d.ts.map +1 -1
  60. package/build-types/range-control/stories/index.story.d.ts.map +1 -1
  61. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  62. package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
  63. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -1
  64. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  65. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  66. package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
  67. package/build-types/slot-fill/stories/index.story.d.ts.map +1 -1
  68. package/build-types/snackbar/stories/index.story.d.ts.map +1 -1
  69. package/build-types/spinner/stories/index.story.d.ts.map +1 -1
  70. package/build-types/text-control/stories/index.story.d.ts.map +1 -1
  71. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -1
  72. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -1
  73. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -1
  74. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  75. package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
  76. package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -1
  77. package/package.json +21 -21
  78. package/src/autocomplete/get-autocomplete-match.ts +25 -4
  79. package/src/autocomplete/index.tsx +69 -21
  80. package/src/autocomplete/test/get-autocomplete-match.ts +97 -75
  81. package/src/base-control/stories/index.story.tsx +1 -0
  82. package/src/button/stories/index.story.tsx +1 -0
  83. package/src/checkbox-control/stories/index.story.tsx +1 -0
  84. package/src/color-indicator/stories/index.story.tsx +1 -0
  85. package/src/color-palette/stories/index.story.tsx +1 -0
  86. package/src/color-picker/stories/index.story.tsx +1 -0
  87. package/src/combobox-control/stories/index.story.tsx +1 -0
  88. package/src/composite/stories/index.story.tsx +1 -0
  89. package/src/confirm-dialog/stories/index.story.tsx +1 -1
  90. package/src/custom-select-control/stories/index.story.tsx +1 -0
  91. package/src/disabled/stories/index.story.tsx +1 -0
  92. package/src/drop-zone/stories/index.story.tsx +1 -0
  93. package/src/dropdown/stories/index.story.tsx +1 -0
  94. package/src/external-link/index.tsx +1 -6
  95. package/src/external-link/stories/index.story.tsx +1 -0
  96. package/src/form-file-upload/stories/index.story.tsx +1 -0
  97. package/src/form-toggle/stories/index.story.tsx +1 -0
  98. package/src/form-token-field/stories/index.story.tsx +1 -0
  99. package/src/gradient-picker/stories/index.story.tsx +1 -0
  100. package/src/icon/stories/index.story.tsx +1 -0
  101. package/src/input-control/stories/index.story.tsx +1 -1
  102. package/src/item-group/stories/index.story.tsx +1 -1
  103. package/src/keyboard-shortcuts/stories/index.story.tsx +1 -0
  104. package/src/menu/styles.ts +1 -1
  105. package/src/menu-group/stories/index.story.tsx +1 -0
  106. package/src/menu-item/stories/index.story.tsx +1 -0
  107. package/src/menu-items-choice/stories/index.story.tsx +1 -0
  108. package/src/mobile/link-settings/index.native.js +1 -1
  109. package/src/modal/stories/index.story.tsx +1 -0
  110. package/src/navigable-container/container.tsx +120 -141
  111. package/src/navigable-container/test/navigable-menu.tsx +24 -0
  112. package/src/navigable-container/types.ts +1 -5
  113. package/src/navigation/stories/utils/more-examples.tsx +2 -1
  114. package/src/navigator/stories/index.story.tsx +1 -0
  115. package/src/notice/stories/index.story.tsx +1 -0
  116. package/src/number-control/stories/index.story.tsx +1 -1
  117. package/src/panel/stories/index.story.tsx +1 -0
  118. package/src/popover/stories/index.story.tsx +1 -0
  119. package/src/progress-bar/stories/index.story.tsx +1 -0
  120. package/src/radio-control/stories/index.story.tsx +1 -0
  121. package/src/range-control/stories/index.story.tsx +1 -0
  122. package/src/resizable-box/stories/index.story.tsx +1 -0
  123. package/src/sandbox/stories/index.story.tsx +1 -0
  124. package/src/scroll-lock/stories/index.story.tsx +1 -0
  125. package/src/search-control/stories/index.story.tsx +1 -0
  126. package/src/select-control/stories/index.story.tsx +1 -0
  127. package/src/shortcut/stories/index.story.tsx +1 -0
  128. package/src/slot-fill/stories/index.story.tsx +1 -0
  129. package/src/snackbar/stories/index.story.tsx +1 -0
  130. package/src/spinner/stories/index.story.tsx +1 -0
  131. package/src/text-control/stories/index.story.tsx +1 -0
  132. package/src/text-highlight/stories/index.story.tsx +1 -0
  133. package/src/textarea-control/stories/index.story.tsx +1 -0
  134. package/src/toggle-control/stories/index.story.tsx +1 -0
  135. package/src/toggle-group-control/stories/index.story.tsx +1 -1
  136. package/src/tooltip/stories/index.story.tsx +1 -0
  137. package/src/tree-grid/stories/index.story.tsx +1 -1
  138. package/src/tree-select/stories/index.story.tsx +1 -0
  139. package/src/truncate/stories/index.story.tsx +1 -1
  140. package/src/unit-control/stories/index.story.tsx +1 -1
  141. package/src/visually-hidden/stories/index.story.tsx +1 -0
  142. package/build/card/context.cjs +0 -36
  143. package/build/card/context.cjs.map +0 -7
  144. package/build-module/card/context.mjs +0 -10
  145. package/build-module/card/context.mjs.map +0 -7
  146. package/build-types/card/context.d.ts +0 -3
  147. package/build-types/card/context.d.ts.map +0 -1
  148. package/src/card/context.ts +0 -9
@@ -25,7 +25,7 @@ const meta: Meta< typeof NumberControl > = {
25
25
  type: { control: { type: 'text' } },
26
26
  value: { control: false },
27
27
  },
28
- tags: [ 'status-experimental' ],
28
+ tags: [ 'status-experimental', 'manifest' ],
29
29
  parameters: {
30
30
  controls: { expanded: true },
31
31
  docs: { canvas: { sourceState: 'shown' } },
@@ -17,6 +17,7 @@ import PanelBody from '../body';
17
17
  import InputControl from '../../input-control';
18
18
 
19
19
  const meta: Meta< typeof Panel > = {
20
+ tags: [ 'manifest' ],
20
21
  title: 'Components/Containers/Panel',
21
22
  id: 'components-panel',
22
23
  component: Panel,
@@ -33,6 +33,7 @@ const AVAILABLE_PLACEMENTS: PopoverProps[ 'placement' ][] = [
33
33
  ];
34
34
 
35
35
  const meta: Meta< typeof Popover > = {
36
+ tags: [ 'manifest' ],
36
37
  title: 'Components/Overlays/Popover',
37
38
  id: 'components-popover',
38
39
  component: Popover,
@@ -9,6 +9,7 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
9
9
  import { ProgressBar } from '..';
10
10
 
11
11
  const meta: Meta< typeof ProgressBar > = {
12
+ tags: [ 'manifest' ],
12
13
  component: ProgressBar,
13
14
  title: 'Components/Feedback/ProgressBar',
14
15
  id: 'components-progressbar',
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import RadioControl from '..';
15
15
 
16
16
  const meta: Meta< typeof RadioControl > = {
17
+ tags: [ 'manifest' ],
17
18
  component: RadioControl,
18
19
  title: 'Components/Selection & Input/Common/RadioControl',
19
20
  id: 'components-radiocontrol',
@@ -18,6 +18,7 @@ import RangeControl from '..';
18
18
  const ICONS = { starEmpty, starFilled, styles, wordpress };
19
19
 
20
20
  const meta: Meta< typeof RangeControl > = {
21
+ tags: [ 'manifest' ],
21
22
  component: RangeControl,
22
23
  title: 'Components/Selection & Input/Common/RangeControl',
23
24
  id: 'components-rangecontrol',
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import ResizableBox from '..';
15
15
 
16
16
  const meta: Meta< typeof ResizableBox > = {
17
+ tags: [ 'manifest' ],
17
18
  title: 'Components/Utilities/ResizableBox',
18
19
  id: 'components-resizablebox',
19
20
  component: ResizableBox,
@@ -10,6 +10,7 @@ import { fn } from 'storybook/test';
10
10
  import SandBox from '..';
11
11
 
12
12
  const meta: Meta< typeof SandBox > = {
13
+ tags: [ 'manifest' ],
13
14
  component: SandBox,
14
15
  title: 'Components/Utilities/SandBox',
15
16
  id: 'components-sandbox',
@@ -16,6 +16,7 @@ import Button from '../../button';
16
16
  import ScrollLock from '..';
17
17
 
18
18
  const meta: Meta< typeof ScrollLock > = {
19
+ tags: [ 'manifest' ],
19
20
  component: ScrollLock,
20
21
  title: 'Components/Utilities/ScrollLock',
21
22
  id: 'components-scrolllock',
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import SearchControl from '..';
15
15
 
16
16
  const meta: Meta< typeof SearchControl > = {
17
+ tags: [ 'manifest' ],
17
18
  title: 'Components/Selection & Input/Common/SearchControl',
18
19
  id: 'components-searchcontrol',
19
20
  component: SearchControl,
@@ -16,6 +16,7 @@ import SelectControl from '../';
16
16
  import { InputControlPrefixWrapper } from '../../input-control/input-prefix-wrapper';
17
17
 
18
18
  const meta: Meta< typeof SelectControl > = {
19
+ tags: [ 'manifest' ],
19
20
  title: 'Components/Selection & Input/Common/SelectControl',
20
21
  id: 'components-selectcontrol',
21
22
  component: SelectControl,
@@ -9,6 +9,7 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
9
9
  import Shortcut from '../';
10
10
 
11
11
  const meta: Meta< typeof Shortcut > = {
12
+ tags: [ 'manifest' ],
12
13
  component: Shortcut,
13
14
  title: 'Components/Utilities/Shortcut',
14
15
  id: 'components-shortcut',
@@ -14,6 +14,7 @@ import { createContext, useContext } from '@wordpress/element';
14
14
  import { Slot, Fill, Provider as SlotFillProvider } from '../';
15
15
 
16
16
  const meta: Meta< typeof Slot > = {
17
+ tags: [ 'manifest' ],
17
18
  component: Slot,
18
19
  title: 'Components/Utilities/SlotFill',
19
20
  id: 'components-slotfill',
@@ -15,6 +15,7 @@ import Icon from '../../icon';
15
15
  import Snackbar from '..';
16
16
 
17
17
  const meta: Meta< typeof Snackbar > = {
18
+ tags: [ 'manifest' ],
18
19
  title: 'Components/Feedback/Snackbar',
19
20
  id: 'components-snackbar',
20
21
  component: Snackbar,
@@ -10,6 +10,7 @@ import Spinner from '../';
10
10
  import { space } from '../../utils/space';
11
11
 
12
12
  const meta: Meta< typeof Spinner > = {
13
+ tags: [ 'manifest' ],
13
14
  title: 'Components/Feedback/Spinner',
14
15
  id: 'components-spinner',
15
16
  component: Spinner,
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import TextControl from '..';
15
15
 
16
16
  const meta: Meta< typeof TextControl > = {
17
+ tags: [ 'manifest' ],
17
18
  component: TextControl,
18
19
  title: 'Components/Selection & Input/Common/TextControl',
19
20
  id: 'components-textcontrol',
@@ -9,6 +9,7 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
9
9
  import TextHighlight from '..';
10
10
 
11
11
  const meta: Meta< typeof TextHighlight > = {
12
+ tags: [ 'manifest' ],
12
13
  component: TextHighlight,
13
14
  title: 'Components/Typography/TextHighlight',
14
15
  id: 'components-texthighlight',
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import TextareaControl from '..';
15
15
 
16
16
  const meta: Meta< typeof TextareaControl > = {
17
+ tags: [ 'manifest' ],
17
18
  component: TextareaControl,
18
19
  title: 'Components/Selection & Input/Common/TextareaControl',
19
20
  id: 'components-textareacontrol',
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import ToggleControl from '..';
15
15
 
16
16
  const meta: Meta< typeof ToggleControl > = {
17
+ tags: [ 'manifest' ],
17
18
  title: 'Components/Selection & Input/Common/ToggleControl',
18
19
  id: 'components-togglecontrol',
19
20
  component: ToggleControl,
@@ -33,7 +33,7 @@ const meta: Meta< typeof ToggleGroupControl > = {
33
33
  onChange: { action: 'onChange' },
34
34
  value: { control: false },
35
35
  },
36
- tags: [ 'status-experimental' ],
36
+ tags: [ 'status-experimental', 'manifest' ],
37
37
  parameters: {
38
38
  controls: { expanded: true },
39
39
  docs: { canvas: { sourceState: 'shown' } },
@@ -15,6 +15,7 @@ import Tooltip from '..';
15
15
  import Button from '../../button';
16
16
 
17
17
  const meta: Meta< typeof Tooltip > = {
18
+ tags: [ 'manifest' ],
18
19
  title: 'Components/Overlays/Tooltip',
19
20
  id: 'components-tooltip',
20
21
  component: Tooltip,
@@ -24,7 +24,7 @@ const meta: Meta< typeof TreeGrid > = {
24
24
  argTypes: {
25
25
  children: { control: false },
26
26
  },
27
- tags: [ 'status-experimental' ],
27
+ tags: [ 'status-experimental', 'manifest' ],
28
28
  args: {
29
29
  onExpandRow: fn(),
30
30
  onCollapseRow: fn(),
@@ -14,6 +14,7 @@ import { useState } from '@wordpress/element';
14
14
  import TreeSelect from '../';
15
15
 
16
16
  const meta: Meta< typeof TreeSelect > = {
17
+ tags: [ 'manifest' ],
17
18
  title: 'Components/Selection & Input/Common/TreeSelect',
18
19
  id: 'components-treeselect',
19
20
  component: TreeSelect,
@@ -16,7 +16,7 @@ const meta: Meta< typeof Truncate > = {
16
16
  children: { control: { type: 'text' } },
17
17
  as: { control: { type: 'text' } },
18
18
  },
19
- tags: [ 'status-experimental' ],
19
+ tags: [ 'status-experimental', 'manifest' ],
20
20
  parameters: {
21
21
  controls: {
22
22
  expanded: true,
@@ -27,7 +27,7 @@ const meta: Meta< typeof UnitControl > = {
27
27
  prefix: { control: { type: 'text' } },
28
28
  value: { control: false },
29
29
  },
30
- tags: [ 'status-experimental' ],
30
+ tags: [ 'status-experimental', 'manifest' ],
31
31
  args: {
32
32
  onChange: fn(),
33
33
  onUnitChange: fn(),
@@ -9,6 +9,7 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
9
9
  import { VisuallyHidden } from '..';
10
10
 
11
11
  const meta: Meta< typeof VisuallyHidden > = {
12
+ tags: [ 'manifest' ],
12
13
  component: VisuallyHidden,
13
14
  title: 'Components/Typography/VisuallyHidden',
14
15
  id: 'components-visuallyhidden',
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // packages/components/src/card/context.ts
21
- var context_exports = {};
22
- __export(context_exports, {
23
- CardContext: () => CardContext,
24
- useCardContext: () => useCardContext
25
- });
26
- module.exports = __toCommonJS(context_exports);
27
- var import_element = require("@wordpress/element");
28
- var CardContext = (0, import_element.createContext)({});
29
- CardContext.displayName = "CardContext";
30
- var useCardContext = () => (0, import_element.useContext)(CardContext);
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- CardContext,
34
- useCardContext
35
- });
36
- //# sourceMappingURL=context.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/card/context.ts"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { createContext, useContext } from '@wordpress/element';\nexport const CardContext = createContext({});\nCardContext.displayName = 'CardContext';\nexport const useCardContext = () => useContext(CardContext);"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,qBAA0C;AACnC,IAAM,kBAAc,8BAAc,CAAC,CAAC;AAC3C,YAAY,cAAc;AACnB,IAAM,iBAAiB,UAAM,2BAAW,WAAW;",
6
- "names": []
7
- }
@@ -1,10 +0,0 @@
1
- // packages/components/src/card/context.ts
2
- import { createContext, useContext } from "@wordpress/element";
3
- var CardContext = createContext({});
4
- CardContext.displayName = "CardContext";
5
- var useCardContext = () => useContext(CardContext);
6
- export {
7
- CardContext,
8
- useCardContext
9
- };
10
- //# sourceMappingURL=context.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/card/context.ts"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { createContext, useContext } from '@wordpress/element';\nexport const CardContext = createContext({});\nCardContext.displayName = 'CardContext';\nexport const useCardContext = () => useContext(CardContext);"],
5
- "mappings": ";AAGA,SAAS,eAAe,kBAAkB;AACnC,IAAM,cAAc,cAAc,CAAC,CAAC;AAC3C,YAAY,cAAc;AACnB,IAAM,iBAAiB,MAAM,WAAW,WAAW;",
6
- "names": []
7
- }
@@ -1,3 +0,0 @@
1
- export declare const CardContext: import("react").Context<{}>;
2
- export declare const useCardContext: () => {};
3
- //# sourceMappingURL=context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/card/context.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,6BAAsB,CAAC;AAG/C,eAAO,MAAM,cAAc,UAAkC,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { createContext, useContext } from '@wordpress/element';
5
-
6
- export const CardContext = createContext( {} );
7
- CardContext.displayName = 'CardContext';
8
-
9
- export const useCardContext = () => useContext( CardContext );