@react-spectrum/card 3.0.0-alpha.32 → 3.0.0-alpha.33

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 (62) hide show
  1. package/dist/BaseLayout.main.js +12 -12
  2. package/dist/BaseLayout.mjs +13 -13
  3. package/dist/BaseLayout.module.js +12 -12
  4. package/dist/Card.main.js +2 -2
  5. package/dist/Card.mjs +3 -3
  6. package/dist/Card.module.js +2 -2
  7. package/dist/CardBase.main.js +36 -36
  8. package/dist/CardBase.mjs +37 -37
  9. package/dist/CardBase.module.js +36 -36
  10. package/dist/CardView.main.js +21 -21
  11. package/dist/CardView.mjs +22 -22
  12. package/dist/CardView.module.js +21 -21
  13. package/dist/CardViewContext.mjs +1 -1
  14. package/dist/GalleryLayout.main.js +10 -10
  15. package/dist/GalleryLayout.main.js.map +1 -1
  16. package/dist/GalleryLayout.mjs +11 -11
  17. package/dist/GalleryLayout.module.js +10 -10
  18. package/dist/GalleryLayout.module.js.map +1 -1
  19. package/dist/GridLayout.main.js +19 -19
  20. package/dist/GridLayout.mjs +20 -20
  21. package/dist/GridLayout.module.js +19 -19
  22. package/dist/WaterfallLayout.main.js +7 -7
  23. package/dist/WaterfallLayout.mjs +8 -8
  24. package/dist/WaterfallLayout.module.js +7 -7
  25. package/dist/ar-AE.mjs +1 -1
  26. package/dist/bg-BG.mjs +1 -1
  27. package/dist/card_vars_css.mjs +1 -1
  28. package/dist/cs-CZ.mjs +1 -1
  29. package/dist/da-DK.mjs +1 -1
  30. package/dist/de-DE.mjs +1 -1
  31. package/dist/el-GR.mjs +1 -1
  32. package/dist/en-US.mjs +1 -1
  33. package/dist/es-ES.mjs +1 -1
  34. package/dist/et-EE.mjs +1 -1
  35. package/dist/fi-FI.mjs +1 -1
  36. package/dist/fr-FR.mjs +1 -1
  37. package/dist/he-IL.mjs +1 -1
  38. package/dist/hr-HR.mjs +1 -1
  39. package/dist/hu-HU.mjs +1 -1
  40. package/dist/intlStrings.mjs +1 -1
  41. package/dist/it-IT.mjs +1 -1
  42. package/dist/ja-JP.mjs +1 -1
  43. package/dist/ko-KR.mjs +1 -1
  44. package/dist/lt-LT.mjs +1 -1
  45. package/dist/lv-LV.mjs +1 -1
  46. package/dist/nb-NO.mjs +1 -1
  47. package/dist/nl-NL.mjs +1 -1
  48. package/dist/pl-PL.mjs +1 -1
  49. package/dist/pt-BR.mjs +1 -1
  50. package/dist/pt-PT.mjs +1 -1
  51. package/dist/ro-RO.mjs +1 -1
  52. package/dist/ru-RU.mjs +1 -1
  53. package/dist/sk-SK.mjs +1 -1
  54. package/dist/sl-SI.mjs +1 -1
  55. package/dist/sr-SP.mjs +1 -1
  56. package/dist/sv-SE.mjs +1 -1
  57. package/dist/tr-TR.mjs +1 -1
  58. package/dist/uk-UA.mjs +1 -1
  59. package/dist/zh-CN.mjs +1 -1
  60. package/dist/zh-TW.mjs +1 -1
  61. package/package.json +18 -18
  62. package/src/GalleryLayout.tsx +2 -2
@@ -26,8 +26,8 @@ class $5ee605f09afaa4de$export$64943d2e59d72a29 extends (0, $kQhHy$reactstatelyv
26
26
  // Remove layout info that doesn't exist in new collection
27
27
  if (this.lastCollection) {
28
28
  for (let key of this.lastCollection.getKeys())if (!this.collection.getItem(key)) this.layoutInfos.delete(key);
29
- if (!this.isLoading) this.layoutInfos.delete("loader");
30
- if (this.collection.size > 0) this.layoutInfos.delete("placeholder");
29
+ if (!this.isLoading) this.layoutInfos.delete('loader');
30
+ if (this.collection.size > 0) this.layoutInfos.delete('placeholder');
31
31
  }
32
32
  this.lastCollection = this.collection;
33
33
  }
@@ -49,12 +49,12 @@ class $5ee605f09afaa4de$export$64943d2e59d72a29 extends (0, $kQhHy$reactstatelyv
49
49
  }
50
50
  getInitialLayoutInfo(layoutInfo) {
51
51
  layoutInfo.opacity = 0;
52
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
52
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
53
53
  return layoutInfo;
54
54
  }
55
55
  getFinalLayoutInfo(layoutInfo) {
56
56
  layoutInfo.opacity = 0;
57
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
57
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
58
58
  return layoutInfo;
59
59
  }
60
60
  _findClosestLayoutInfo(target, rect) {
@@ -62,7 +62,7 @@ class $5ee605f09afaa4de$export$64943d2e59d72a29 extends (0, $kQhHy$reactstatelyv
62
62
  let best = null;
63
63
  let bestDistance = Infinity;
64
64
  // Calculates distance as the distance between the center of 2 rects.
65
- for (let cur of layoutInfos)if (cur.type === "item") {
65
+ for (let cur of layoutInfos)if (cur.type === 'item') {
66
66
  let curRect = cur.rect;
67
67
  let targetMidX = (target.x + target.maxX) / 2;
68
68
  let targetMidY = (target.y + target.maxY) / 2;
@@ -101,25 +101,25 @@ class $5ee605f09afaa4de$export$64943d2e59d72a29 extends (0, $kQhHy$reactstatelyv
101
101
  getKeyRightOf(key) {
102
102
  // Expected key is the currently focused cell so we need the parent row key
103
103
  let parentRowKey = this.collection.getItem(key).parentKey;
104
- key = this.direction === "rtl" ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
104
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
105
105
  while(key != null){
106
106
  var _getFirstItem;
107
107
  let item = this.collection.getItem(key);
108
108
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
109
- if (item.type === "item") return (_getFirstItem = (0, $kQhHy$reactstatelycollections.getFirstItem)((0, $kQhHy$reactstatelycollections.getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
110
- key = this.direction === "rtl" ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
109
+ if (item.type === 'item') return (_getFirstItem = (0, $kQhHy$reactstatelycollections.getFirstItem)((0, $kQhHy$reactstatelycollections.getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
110
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
111
111
  }
112
112
  }
113
113
  getKeyLeftOf(key) {
114
114
  // Expected key is the currently focused cell so we need the parent row key
115
115
  let parentRowKey = this.collection.getItem(key).parentKey;
116
- key = this.direction === "rtl" ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
116
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
117
117
  while(key != null){
118
118
  var _getFirstItem;
119
119
  let item = this.collection.getItem(key);
120
120
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
121
- if (item.type === "item") return (_getFirstItem = (0, $kQhHy$reactstatelycollections.getFirstItem)((0, $kQhHy$reactstatelycollections.getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
122
- key = this.direction === "rtl" ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
121
+ if (item.type === 'item') return (_getFirstItem = (0, $kQhHy$reactstatelycollections.getFirstItem)((0, $kQhHy$reactstatelycollections.getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
122
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
123
123
  }
124
124
  }
125
125
  getFirstKey() {
@@ -209,7 +209,7 @@ class $5ee605f09afaa4de$export$64943d2e59d72a29 extends (0, $kQhHy$reactstatelyv
209
209
  this.layoutInfos = new Map();
210
210
  this.collator = options.collator;
211
211
  this.lastCollection = null;
212
- this.scale = options.scale || "medium";
212
+ this.scale = options.scale || 'medium';
213
213
  this.margin = options.margin || 24;
214
214
  }
215
215
  }
@@ -20,8 +20,8 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
20
20
  // Remove layout info that doesn't exist in new collection
21
21
  if (this.lastCollection) {
22
22
  for (let key of this.lastCollection.getKeys())if (!this.collection.getItem(key)) this.layoutInfos.delete(key);
23
- if (!this.isLoading) this.layoutInfos.delete("loader");
24
- if (this.collection.size > 0) this.layoutInfos.delete("placeholder");
23
+ if (!this.isLoading) this.layoutInfos.delete('loader');
24
+ if (this.collection.size > 0) this.layoutInfos.delete('placeholder');
25
25
  }
26
26
  this.lastCollection = this.collection;
27
27
  }
@@ -43,12 +43,12 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
43
43
  }
44
44
  getInitialLayoutInfo(layoutInfo) {
45
45
  layoutInfo.opacity = 0;
46
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
46
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
47
47
  return layoutInfo;
48
48
  }
49
49
  getFinalLayoutInfo(layoutInfo) {
50
50
  layoutInfo.opacity = 0;
51
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
51
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
52
52
  return layoutInfo;
53
53
  }
54
54
  _findClosestLayoutInfo(target, rect) {
@@ -56,7 +56,7 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
56
56
  let best = null;
57
57
  let bestDistance = Infinity;
58
58
  // Calculates distance as the distance between the center of 2 rects.
59
- for (let cur of layoutInfos)if (cur.type === "item") {
59
+ for (let cur of layoutInfos)if (cur.type === 'item') {
60
60
  let curRect = cur.rect;
61
61
  let targetMidX = (target.x + target.maxX) / 2;
62
62
  let targetMidY = (target.y + target.maxY) / 2;
@@ -95,25 +95,25 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
95
95
  getKeyRightOf(key) {
96
96
  // Expected key is the currently focused cell so we need the parent row key
97
97
  let parentRowKey = this.collection.getItem(key).parentKey;
98
- key = this.direction === "rtl" ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
98
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
99
99
  while(key != null){
100
100
  var _getFirstItem;
101
101
  let item = this.collection.getItem(key);
102
102
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
103
- if (item.type === "item") return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
104
- key = this.direction === "rtl" ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
103
+ if (item.type === 'item') return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
104
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
105
105
  }
106
106
  }
107
107
  getKeyLeftOf(key) {
108
108
  // Expected key is the currently focused cell so we need the parent row key
109
109
  let parentRowKey = this.collection.getItem(key).parentKey;
110
- key = this.direction === "rtl" ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
110
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
111
111
  while(key != null){
112
112
  var _getFirstItem;
113
113
  let item = this.collection.getItem(key);
114
114
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
115
- if (item.type === "item") return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
116
- key = this.direction === "rtl" ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
115
+ if (item.type === 'item') return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
116
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
117
117
  }
118
118
  }
119
119
  getFirstKey() {
@@ -203,11 +203,11 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
203
203
  this.layoutInfos = new Map();
204
204
  this.collator = options.collator;
205
205
  this.lastCollection = null;
206
- this.scale = options.scale || "medium";
206
+ this.scale = options.scale || 'medium';
207
207
  this.margin = options.margin || 24;
208
208
  }
209
209
  }
210
210
 
211
211
 
212
212
  export {$3d424c147206bac9$export$64943d2e59d72a29 as BaseLayout};
213
- //# sourceMappingURL=BaseLayout.mjs.map
213
+ //# sourceMappingURL=BaseLayout.module.js.map
@@ -20,8 +20,8 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
20
20
  // Remove layout info that doesn't exist in new collection
21
21
  if (this.lastCollection) {
22
22
  for (let key of this.lastCollection.getKeys())if (!this.collection.getItem(key)) this.layoutInfos.delete(key);
23
- if (!this.isLoading) this.layoutInfos.delete("loader");
24
- if (this.collection.size > 0) this.layoutInfos.delete("placeholder");
23
+ if (!this.isLoading) this.layoutInfos.delete('loader');
24
+ if (this.collection.size > 0) this.layoutInfos.delete('placeholder');
25
25
  }
26
26
  this.lastCollection = this.collection;
27
27
  }
@@ -43,12 +43,12 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
43
43
  }
44
44
  getInitialLayoutInfo(layoutInfo) {
45
45
  layoutInfo.opacity = 0;
46
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
46
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
47
47
  return layoutInfo;
48
48
  }
49
49
  getFinalLayoutInfo(layoutInfo) {
50
50
  layoutInfo.opacity = 0;
51
- layoutInfo.transform = "scale3d(0.8, 0.8, 0.8)";
51
+ layoutInfo.transform = 'scale3d(0.8, 0.8, 0.8)';
52
52
  return layoutInfo;
53
53
  }
54
54
  _findClosestLayoutInfo(target, rect) {
@@ -56,7 +56,7 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
56
56
  let best = null;
57
57
  let bestDistance = Infinity;
58
58
  // Calculates distance as the distance between the center of 2 rects.
59
- for (let cur of layoutInfos)if (cur.type === "item") {
59
+ for (let cur of layoutInfos)if (cur.type === 'item') {
60
60
  let curRect = cur.rect;
61
61
  let targetMidX = (target.x + target.maxX) / 2;
62
62
  let targetMidY = (target.y + target.maxY) / 2;
@@ -95,25 +95,25 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
95
95
  getKeyRightOf(key) {
96
96
  // Expected key is the currently focused cell so we need the parent row key
97
97
  let parentRowKey = this.collection.getItem(key).parentKey;
98
- key = this.direction === "rtl" ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
98
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(parentRowKey) : this.collection.getKeyAfter(parentRowKey);
99
99
  while(key != null){
100
100
  var _getFirstItem;
101
101
  let item = this.collection.getItem(key);
102
102
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
103
- if (item.type === "item") return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
104
- key = this.direction === "rtl" ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
103
+ if (item.type === 'item') return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
104
+ key = this.direction === 'rtl' ? this.collection.getKeyBefore(key) : this.collection.getKeyAfter(key);
105
105
  }
106
106
  }
107
107
  getKeyLeftOf(key) {
108
108
  // Expected key is the currently focused cell so we need the parent row key
109
109
  let parentRowKey = this.collection.getItem(key).parentKey;
110
- key = this.direction === "rtl" ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
110
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(parentRowKey) : this.collection.getKeyBefore(parentRowKey);
111
111
  while(key != null){
112
112
  var _getFirstItem;
113
113
  let item = this.collection.getItem(key);
114
114
  // Don't check if item is disabled because we want to be able to focus disabled items in a grid (double check this)
115
- if (item.type === "item") return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
116
- key = this.direction === "rtl" ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
115
+ if (item.type === 'item') return (_getFirstItem = (0, $1JdnP$getFirstItem)((0, $1JdnP$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key;
116
+ key = this.direction === 'rtl' ? this.collection.getKeyAfter(key) : this.collection.getKeyBefore(key);
117
117
  }
118
118
  }
119
119
  getFirstKey() {
@@ -203,7 +203,7 @@ class $3d424c147206bac9$export$64943d2e59d72a29 extends (0, $1JdnP$Layout) {
203
203
  this.layoutInfos = new Map();
204
204
  this.collator = options.collator;
205
205
  this.lastCollection = null;
206
- this.scale = options.scale || "medium";
206
+ this.scale = options.scale || 'medium';
207
207
  this.margin = options.margin || 24;
208
208
  }
209
209
  }
package/dist/Card.main.js CHANGED
@@ -37,10 +37,10 @@ let $6b630ac4b78ba7f3$var$Card = /*#__PURE__*/ (0, $495a5$react.forwardRef)((pro
37
37
  $6b630ac4b78ba7f3$var$Card.getCollectionNode = function* getCollectionNode(props) {
38
38
  let { children: children, textValue: textValue } = props;
39
39
  yield {
40
- type: "item",
40
+ type: 'item',
41
41
  props: props,
42
42
  rendered: children,
43
- "aria-label": props["aria-label"],
43
+ 'aria-label': props['aria-label'],
44
44
  hasChildNodes: false,
45
45
  textValue: textValue
46
46
  };
package/dist/Card.mjs CHANGED
@@ -27,10 +27,10 @@ let $d2d1c099b89e366a$var$Card = /*#__PURE__*/ (0, $kaPls$forwardRef)((props, re
27
27
  $d2d1c099b89e366a$var$Card.getCollectionNode = function* getCollectionNode(props) {
28
28
  let { children: children, textValue: textValue } = props;
29
29
  yield {
30
- type: "item",
30
+ type: 'item',
31
31
  props: props,
32
32
  rendered: children,
33
- "aria-label": props["aria-label"],
33
+ 'aria-label': props['aria-label'],
34
34
  hasChildNodes: false,
35
35
  textValue: textValue
36
36
  };
@@ -39,4 +39,4 @@ let $d2d1c099b89e366a$export$60332b2344f7fe41 = $d2d1c099b89e366a$var$Card;
39
39
 
40
40
 
41
41
  export {$d2d1c099b89e366a$export$60332b2344f7fe41 as Card};
42
- //# sourceMappingURL=Card.mjs.map
42
+ //# sourceMappingURL=Card.module.js.map
@@ -27,10 +27,10 @@ let $d2d1c099b89e366a$var$Card = /*#__PURE__*/ (0, $kaPls$forwardRef)((props, re
27
27
  $d2d1c099b89e366a$var$Card.getCollectionNode = function* getCollectionNode(props) {
28
28
  let { children: children, textValue: textValue } = props;
29
29
  yield {
30
- type: "item",
30
+ type: 'item',
31
31
  props: props,
32
32
  rendered: children,
33
- "aria-label": props["aria-label"],
33
+ 'aria-label': props['aria-label'],
34
34
  hasChildNodes: false,
35
35
  textValue: textValue
36
36
  };
@@ -43,7 +43,7 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
43
43
  let context = (0, $e57ab98cef2f01a5$exports.useCardViewContext)() || {}; // we can call again here, won't change from Card.tsx
44
44
  let { state: state } = context;
45
45
  let manager = state === null || state === void 0 ? void 0 : state.selectionManager;
46
- let { isQuiet: isQuiet, orientation: orientation = "vertical", articleProps: articleProps = {}, item: item, layout: layout, children: children } = props;
46
+ let { isQuiet: isQuiet, orientation: orientation = 'vertical', articleProps: articleProps = {}, item: item, layout: layout, children: children } = props;
47
47
  let key = item === null || item === void 0 ? void 0 : item.key;
48
48
  let isSelected = manager === null || manager === void 0 ? void 0 : manager.isSelected(key);
49
49
  let isDisabled = state === null || state === void 0 ? void 0 : state.disabledKeys.has(key);
@@ -55,7 +55,7 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
55
55
  let checkboxRef = (0, $1rjnI$react.useRef)(null);
56
56
  // cards are only interactive if there is a selection manager and it allows selection
57
57
  let { hoverProps: hoverProps, isHovered: isHovered } = (0, $1rjnI$reactariainteractions.useHover)({
58
- isDisabled: manager === undefined || (manager === null || manager === void 0 ? void 0 : manager.selectionMode) === "none" || isDisabled
58
+ isDisabled: manager === undefined || (manager === null || manager === void 0 ? void 0 : manager.selectionMode) === 'none' || isDisabled
59
59
  });
60
60
  let [isFocused, setIsFocused] = (0, $1rjnI$react.useState)(false);
61
61
  let { focusWithinProps: focusWithinProps } = (0, $1rjnI$reactariainteractions.useFocusWithin)({
@@ -63,13 +63,13 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
63
63
  isDisabled: isDisabled
64
64
  });
65
65
  // ToDo: see css for comment about avatar under selector .spectrum-Card--noLayout.spectrum-Card--default
66
- let hasPreviewImage = (0, $1rjnI$reactspectrumutils.useHasChild)(`.${(0, ($parcel$interopDefault($71570f0038472fa2$exports)))["spectrum-Card-image"]}`, gridRef);
67
- let hasPreviewIllustration = (0, $1rjnI$reactspectrumutils.useHasChild)(`.${(0, ($parcel$interopDefault($71570f0038472fa2$exports)))["spectrum-Card-illustration"]}`, gridRef);
66
+ let hasPreviewImage = (0, $1rjnI$reactspectrumutils.useHasChild)(`.${(0, ($parcel$interopDefault($71570f0038472fa2$exports)))['spectrum-Card-image']}`, gridRef);
67
+ let hasPreviewIllustration = (0, $1rjnI$reactspectrumutils.useHasChild)(`.${(0, ($parcel$interopDefault($71570f0038472fa2$exports)))['spectrum-Card-illustration']}`, gridRef);
68
68
  let hasPreview = hasPreviewImage || hasPreviewIllustration;
69
69
  // this is for horizontal cards
70
70
  let [height, setHeight] = (0, $1rjnI$react.useState)(NaN);
71
71
  let updateHeight = (0, $1rjnI$react.useCallback)(()=>{
72
- if (orientation !== "horizontal") return;
72
+ if (orientation !== 'horizontal') return;
73
73
  let cardHeight = gridRef.current.getBoundingClientRect().height;
74
74
  setHeight(cardHeight);
75
75
  }, [
@@ -82,35 +82,35 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
82
82
  onResize: updateHeight
83
83
  });
84
84
  let aspectRatioEnforce = undefined;
85
- if (orientation === "horizontal" && !isNaN(height)) aspectRatioEnforce = {
85
+ if (orientation === 'horizontal' && !isNaN(height)) aspectRatioEnforce = {
86
86
  height: `${height}px`,
87
87
  width: `${height}px`
88
88
  };
89
89
  let slots = (0, $1rjnI$react.useMemo)(()=>({
90
90
  image: {
91
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-image"),
92
- objectFit: orientation === "horizontal" ? "cover" : "contain",
93
- alt: "",
91
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-image'),
92
+ objectFit: orientation === 'horizontal' ? 'cover' : 'contain',
93
+ alt: '',
94
94
  ...aspectRatioEnforce
95
95
  },
96
96
  illustration: {
97
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-illustration"),
97
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-illustration'),
98
98
  ...aspectRatioEnforce
99
99
  },
100
100
  avatar: {
101
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-avatar"),
102
- size: "avatar-size-400"
101
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-avatar'),
102
+ size: 'avatar-size-400'
103
103
  },
104
104
  heading: {
105
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-heading"),
105
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-heading'),
106
106
  ...titleProps
107
107
  },
108
108
  content: {
109
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-content"),
109
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-content'),
110
110
  ...contentProps
111
111
  },
112
112
  detail: {
113
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-detail")
113
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-detail')
114
114
  }
115
115
  }), [
116
116
  titleProps,
@@ -125,7 +125,7 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
125
125
  let nextNode = walker.nextNode();
126
126
  while(nextNode != null){
127
127
  if (checkboxRef.current && !checkboxRef.current.UNSAFE_getDOMNode().contains(nextNode)) {
128
- console.warn("Card does not support focusable elements, please contact the team regarding your use case.");
128
+ console.warn('Card does not support focusable elements, please contact the team regarding your use case.');
129
129
  break;
130
130
  }
131
131
  nextNode = walker.nextNode();
@@ -135,42 +135,42 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
135
135
  children
136
136
  ]);
137
137
  return /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement((0, $1rjnI$reactariafocus.FocusRing), {
138
- focusRingClass: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "focus-ring")
138
+ focusRingClass: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'focus-ring')
139
139
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement("article", {
140
140
  ...styleProps,
141
141
  ...(0, $1rjnI$reactariautils.mergeProps)(cardProps, focusWithinProps, hoverProps, (0, $1rjnI$reactariautils.filterDOMProps)(props), articleProps),
142
142
  ref: domRef,
143
- className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card", {
144
- "spectrum-Card--default": !isQuiet && orientation !== "horizontal",
145
- "spectrum-Card--isQuiet": isQuiet && orientation !== "horizontal",
146
- "spectrum-Card--horizontal": orientation === "horizontal",
147
- "spectrum-Card--noPreview": !hasPreview,
148
- "is-hovered": isHovered,
149
- "is-focused": isFocused,
150
- "is-selected": isSelected,
151
- "spectrum-Card--waterfall": layout === "waterfall",
152
- "spectrum-Card--gallery": layout === "gallery",
153
- "spectrum-Card--grid": layout === "grid",
154
- "spectrum-Card--noLayout": layout !== "waterfall" && layout !== "gallery" && layout !== "grid"
143
+ className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card', {
144
+ 'spectrum-Card--default': !isQuiet && orientation !== 'horizontal',
145
+ 'spectrum-Card--isQuiet': isQuiet && orientation !== 'horizontal',
146
+ 'spectrum-Card--horizontal': orientation === 'horizontal',
147
+ 'spectrum-Card--noPreview': !hasPreview,
148
+ 'is-hovered': isHovered,
149
+ 'is-focused': isFocused,
150
+ 'is-selected': isSelected,
151
+ 'spectrum-Card--waterfall': layout === 'waterfall',
152
+ 'spectrum-Card--gallery': layout === 'gallery',
153
+ 'spectrum-Card--grid': layout === 'grid',
154
+ 'spectrum-Card--noLayout': layout !== 'waterfall' && layout !== 'gallery' && layout !== 'grid'
155
155
  }, styleProps.className)
156
156
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement("div", {
157
157
  ref: gridRef,
158
- className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-grid")
159
- }, manager && manager.selectionMode !== "none" && /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement("div", {
160
- className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-checkboxWrapper")
158
+ className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-grid')
159
+ }, manager && manager.selectionMode !== 'none' && /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement("div", {
160
+ className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-checkboxWrapper')
161
161
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement((0, $1rjnI$reactspectrumcheckbox.Checkbox), {
162
162
  ref: checkboxRef,
163
163
  isDisabled: isDisabled,
164
164
  excludeFromTabOrder: true,
165
165
  isSelected: isSelected,
166
166
  onChange: onChange,
167
- UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-checkbox"),
167
+ UNSAFE_className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-checkbox'),
168
168
  isEmphasized: true,
169
169
  "aria-label": "select"
170
170
  })), /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement((0, $1rjnI$reactspectrumutils.SlotProvider), {
171
171
  slots: slots
172
172
  }, children), /*#__PURE__*/ (0, ($parcel$interopDefault($1rjnI$react))).createElement("div", {
173
- className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), "spectrum-Card-decoration")
173
+ className: (0, $1rjnI$reactspectrumutils.classNames)((0, ($parcel$interopDefault($71570f0038472fa2$exports))), 'spectrum-Card-decoration')
174
174
  }))));
175
175
  }
176
176
  function $7888205ff7de382f$var$useCard(props) {
@@ -189,8 +189,8 @@ function $7888205ff7de382f$var$useCard(props) {
189
189
  return {
190
190
  cardProps: {
191
191
  ...(0, $1rjnI$reactariautils.filterDOMProps)(props),
192
- "aria-labelledby": titleId,
193
- "aria-describedby": descriptionId,
192
+ 'aria-labelledby': titleId,
193
+ 'aria-describedby': descriptionId,
194
194
  tabIndex: 0
195
195
  },
196
196
  titleProps: titleProps,
package/dist/CardBase.mjs CHANGED
@@ -37,7 +37,7 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
37
37
  let context = (0, $8d180a244893de14$export$fea0b38586ec8f13)() || {}; // we can call again here, won't change from Card.tsx
38
38
  let { state: state } = context;
39
39
  let manager = state === null || state === void 0 ? void 0 : state.selectionManager;
40
- let { isQuiet: isQuiet, orientation: orientation = "vertical", articleProps: articleProps = {}, item: item, layout: layout, children: children } = props;
40
+ let { isQuiet: isQuiet, orientation: orientation = 'vertical', articleProps: articleProps = {}, item: item, layout: layout, children: children } = props;
41
41
  let key = item === null || item === void 0 ? void 0 : item.key;
42
42
  let isSelected = manager === null || manager === void 0 ? void 0 : manager.isSelected(key);
43
43
  let isDisabled = state === null || state === void 0 ? void 0 : state.disabledKeys.has(key);
@@ -49,7 +49,7 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
49
49
  let checkboxRef = (0, $8eFIe$useRef)(null);
50
50
  // cards are only interactive if there is a selection manager and it allows selection
51
51
  let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8eFIe$useHover)({
52
- isDisabled: manager === undefined || (manager === null || manager === void 0 ? void 0 : manager.selectionMode) === "none" || isDisabled
52
+ isDisabled: manager === undefined || (manager === null || manager === void 0 ? void 0 : manager.selectionMode) === 'none' || isDisabled
53
53
  });
54
54
  let [isFocused, setIsFocused] = (0, $8eFIe$useState)(false);
55
55
  let { focusWithinProps: focusWithinProps } = (0, $8eFIe$useFocusWithin)({
@@ -57,13 +57,13 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
57
57
  isDisabled: isDisabled
58
58
  });
59
59
  // ToDo: see css for comment about avatar under selector .spectrum-Card--noLayout.spectrum-Card--default
60
- let hasPreviewImage = (0, $8eFIe$useHasChild)(`.${(0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs)))["spectrum-Card-image"]}`, gridRef);
61
- let hasPreviewIllustration = (0, $8eFIe$useHasChild)(`.${(0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs)))["spectrum-Card-illustration"]}`, gridRef);
60
+ let hasPreviewImage = (0, $8eFIe$useHasChild)(`.${(0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs)))['spectrum-Card-image']}`, gridRef);
61
+ let hasPreviewIllustration = (0, $8eFIe$useHasChild)(`.${(0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs)))['spectrum-Card-illustration']}`, gridRef);
62
62
  let hasPreview = hasPreviewImage || hasPreviewIllustration;
63
63
  // this is for horizontal cards
64
64
  let [height, setHeight] = (0, $8eFIe$useState)(NaN);
65
65
  let updateHeight = (0, $8eFIe$useCallback)(()=>{
66
- if (orientation !== "horizontal") return;
66
+ if (orientation !== 'horizontal') return;
67
67
  let cardHeight = gridRef.current.getBoundingClientRect().height;
68
68
  setHeight(cardHeight);
69
69
  }, [
@@ -76,35 +76,35 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
76
76
  onResize: updateHeight
77
77
  });
78
78
  let aspectRatioEnforce = undefined;
79
- if (orientation === "horizontal" && !isNaN(height)) aspectRatioEnforce = {
79
+ if (orientation === 'horizontal' && !isNaN(height)) aspectRatioEnforce = {
80
80
  height: `${height}px`,
81
81
  width: `${height}px`
82
82
  };
83
83
  let slots = (0, $8eFIe$useMemo)(()=>({
84
84
  image: {
85
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-image"),
86
- objectFit: orientation === "horizontal" ? "cover" : "contain",
87
- alt: "",
85
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-image'),
86
+ objectFit: orientation === 'horizontal' ? 'cover' : 'contain',
87
+ alt: '',
88
88
  ...aspectRatioEnforce
89
89
  },
90
90
  illustration: {
91
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-illustration"),
91
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-illustration'),
92
92
  ...aspectRatioEnforce
93
93
  },
94
94
  avatar: {
95
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-avatar"),
96
- size: "avatar-size-400"
95
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-avatar'),
96
+ size: 'avatar-size-400'
97
97
  },
98
98
  heading: {
99
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-heading"),
99
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-heading'),
100
100
  ...titleProps
101
101
  },
102
102
  content: {
103
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-content"),
103
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-content'),
104
104
  ...contentProps
105
105
  },
106
106
  detail: {
107
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-detail")
107
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-detail')
108
108
  }
109
109
  }), [
110
110
  titleProps,
@@ -119,7 +119,7 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
119
119
  let nextNode = walker.nextNode();
120
120
  while(nextNode != null){
121
121
  if (checkboxRef.current && !checkboxRef.current.UNSAFE_getDOMNode().contains(nextNode)) {
122
- console.warn("Card does not support focusable elements, please contact the team regarding your use case.");
122
+ console.warn('Card does not support focusable elements, please contact the team regarding your use case.');
123
123
  break;
124
124
  }
125
125
  nextNode = walker.nextNode();
@@ -129,42 +129,42 @@ function $643dd8fa80926f94$var$CardBase(props, ref) {
129
129
  children
130
130
  ]);
131
131
  return /*#__PURE__*/ (0, $8eFIe$react).createElement((0, $8eFIe$FocusRing), {
132
- focusRingClass: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "focus-ring")
132
+ focusRingClass: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'focus-ring')
133
133
  }, /*#__PURE__*/ (0, $8eFIe$react).createElement("article", {
134
134
  ...styleProps,
135
135
  ...(0, $8eFIe$mergeProps)(cardProps, focusWithinProps, hoverProps, (0, $8eFIe$filterDOMProps)(props), articleProps),
136
136
  ref: domRef,
137
- className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card", {
138
- "spectrum-Card--default": !isQuiet && orientation !== "horizontal",
139
- "spectrum-Card--isQuiet": isQuiet && orientation !== "horizontal",
140
- "spectrum-Card--horizontal": orientation === "horizontal",
141
- "spectrum-Card--noPreview": !hasPreview,
142
- "is-hovered": isHovered,
143
- "is-focused": isFocused,
144
- "is-selected": isSelected,
145
- "spectrum-Card--waterfall": layout === "waterfall",
146
- "spectrum-Card--gallery": layout === "gallery",
147
- "spectrum-Card--grid": layout === "grid",
148
- "spectrum-Card--noLayout": layout !== "waterfall" && layout !== "gallery" && layout !== "grid"
137
+ className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card', {
138
+ 'spectrum-Card--default': !isQuiet && orientation !== 'horizontal',
139
+ 'spectrum-Card--isQuiet': isQuiet && orientation !== 'horizontal',
140
+ 'spectrum-Card--horizontal': orientation === 'horizontal',
141
+ 'spectrum-Card--noPreview': !hasPreview,
142
+ 'is-hovered': isHovered,
143
+ 'is-focused': isFocused,
144
+ 'is-selected': isSelected,
145
+ 'spectrum-Card--waterfall': layout === 'waterfall',
146
+ 'spectrum-Card--gallery': layout === 'gallery',
147
+ 'spectrum-Card--grid': layout === 'grid',
148
+ 'spectrum-Card--noLayout': layout !== 'waterfall' && layout !== 'gallery' && layout !== 'grid'
149
149
  }, styleProps.className)
150
150
  }, /*#__PURE__*/ (0, $8eFIe$react).createElement("div", {
151
151
  ref: gridRef,
152
- className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-grid")
153
- }, manager && manager.selectionMode !== "none" && /*#__PURE__*/ (0, $8eFIe$react).createElement("div", {
154
- className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-checkboxWrapper")
152
+ className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-grid')
153
+ }, manager && manager.selectionMode !== 'none' && /*#__PURE__*/ (0, $8eFIe$react).createElement("div", {
154
+ className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-checkboxWrapper')
155
155
  }, /*#__PURE__*/ (0, $8eFIe$react).createElement((0, $8eFIe$Checkbox), {
156
156
  ref: checkboxRef,
157
157
  isDisabled: isDisabled,
158
158
  excludeFromTabOrder: true,
159
159
  isSelected: isSelected,
160
160
  onChange: onChange,
161
- UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-checkbox"),
161
+ UNSAFE_className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-checkbox'),
162
162
  isEmphasized: true,
163
163
  "aria-label": "select"
164
164
  })), /*#__PURE__*/ (0, $8eFIe$react).createElement((0, $8eFIe$SlotProvider), {
165
165
  slots: slots
166
166
  }, children), /*#__PURE__*/ (0, $8eFIe$react).createElement("div", {
167
- className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), "spectrum-Card-decoration")
167
+ className: (0, $8eFIe$classNames)((0, ($parcel$interopDefault($8eFIe$card_vars_cssmodulejs))), 'spectrum-Card-decoration')
168
168
  }))));
169
169
  }
170
170
  function $643dd8fa80926f94$var$useCard(props) {
@@ -183,8 +183,8 @@ function $643dd8fa80926f94$var$useCard(props) {
183
183
  return {
184
184
  cardProps: {
185
185
  ...(0, $8eFIe$filterDOMProps)(props),
186
- "aria-labelledby": titleId,
187
- "aria-describedby": descriptionId,
186
+ 'aria-labelledby': titleId,
187
+ 'aria-describedby': descriptionId,
188
188
  tabIndex: 0
189
189
  },
190
190
  titleProps: titleProps,
@@ -197,4 +197,4 @@ function $643dd8fa80926f94$var$useCard(props) {
197
197
 
198
198
 
199
199
  export {$643dd8fa80926f94$export$7a6ccaf429ad93a8 as CardBase};
200
- //# sourceMappingURL=CardBase.mjs.map
200
+ //# sourceMappingURL=CardBase.module.js.map