@contentful/f36-card 4.14.0 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -24,67 +24,68 @@ import {Tooltip as $5DxI1$Tooltip} from "@contentful/f36-tooltip";
24
24
 
25
25
 
26
26
 
27
+
27
28
  const $082b639acf692abe$export$e5c3362273de1eca = ()=>{
28
29
  return {
29
- contentBody: /*#__PURE__*/ $5DxI1$css({
30
+ contentBody: /*#__PURE__*/ (0, $5DxI1$css)({
30
31
  name: "161cbg",
31
32
  styles: "grid-column:content;grid-row:content;white-space:initial;"
32
33
  }),
33
- wrapper: /*#__PURE__*/ $5DxI1$css({
34
+ wrapper: /*#__PURE__*/ (0, $5DxI1$css)({
34
35
  name: "1cjnmwb",
35
36
  styles: "flex:1 1 0;display:grid;grid-template-rows:[header] auto [content] minmax(0, 1fr);grid-template-columns:auto [content] minmax(0, 1fr);"
36
37
  }),
37
- dragHandle: /*#__PURE__*/ $5DxI1$css({
38
- borderBottomLeftRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
39
- borderTopLeftRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
40
- cursor: 'grab'
38
+ dragHandle: /*#__PURE__*/ (0, $5DxI1$css)({
39
+ borderBottomLeftRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
40
+ borderTopLeftRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
41
+ cursor: "grab"
41
42
  }),
42
43
  root: ({ hasHeader: hasHeader , isHovered: isHovered , isSelected: isSelected })=>{
43
44
  const styles = {
44
- backgroundColor: $5DxI1$contentfulf36tokens.colorWhite,
45
- borderColor: $5DxI1$contentfulf36tokens.gray300,
46
- borderRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
47
- borderStyle: 'solid',
45
+ backgroundColor: (0, $5DxI1$contentfulf36tokens).colorWhite,
46
+ borderColor: (0, $5DxI1$contentfulf36tokens).gray300,
47
+ borderRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
48
+ borderStyle: "solid",
48
49
  borderWidth: 1,
49
- color: $5DxI1$contentfulf36tokens.gray900,
50
- display: 'flex',
51
- textAlign: 'left',
52
- width: '100%',
53
- fontSize: $5DxI1$contentfulf36tokens.fontSizeM,
54
- fontWeight: $5DxI1$contentfulf36tokens.fontWeightNormal,
55
- position: 'relative',
56
- textDecoration: 'none',
57
- transition: `border-color ${$5DxI1$contentfulf36tokens.transitionDurationDefault} ${$5DxI1$contentfulf36tokens.transitionEasingDefault},
58
- box-shadow ${$5DxI1$contentfulf36tokens.transitionDurationShort} ${$5DxI1$contentfulf36tokens.transitionEasingDefault}`,
59
- '&:focus': /*#__PURE__*/ $5DxI1$css({
60
- borderColor: isSelected ? $5DxI1$contentfulf36tokens.blue100 : $5DxI1$contentfulf36tokens.colorPrimary,
61
- boxShadow: $5DxI1$contentfulf36tokens.glowPrimary,
62
- outline: 'none'
50
+ color: (0, $5DxI1$contentfulf36tokens).gray900,
51
+ display: "flex",
52
+ textAlign: "left",
53
+ width: "100%",
54
+ fontSize: (0, $5DxI1$contentfulf36tokens).fontSizeM,
55
+ fontWeight: (0, $5DxI1$contentfulf36tokens).fontWeightNormal,
56
+ position: "relative",
57
+ textDecoration: "none",
58
+ transition: `border-color ${(0, $5DxI1$contentfulf36tokens).transitionDurationDefault} ${(0, $5DxI1$contentfulf36tokens).transitionEasingDefault},
59
+ box-shadow ${(0, $5DxI1$contentfulf36tokens).transitionDurationShort} ${(0, $5DxI1$contentfulf36tokens).transitionEasingDefault}`,
60
+ "&:focus": /*#__PURE__*/ (0, $5DxI1$css)({
61
+ borderColor: isSelected ? (0, $5DxI1$contentfulf36tokens).blue100 : (0, $5DxI1$contentfulf36tokens).colorPrimary,
62
+ boxShadow: (0, $5DxI1$contentfulf36tokens).glowPrimary,
63
+ outline: "none"
63
64
  }),
64
- '&:focus:not(:focus-visible)': /*#__PURE__*/ $5DxI1$css({
65
- borderColor: isSelected ? $5DxI1$contentfulf36tokens.colorPrimary : $5DxI1$contentfulf36tokens.gray300,
66
- boxShadow: 'unset'
65
+ "&:focus:not(:focus-visible)": /*#__PURE__*/ (0, $5DxI1$css)({
66
+ borderColor: isSelected ? (0, $5DxI1$contentfulf36tokens).colorPrimary : (0, $5DxI1$contentfulf36tokens).gray300,
67
+ boxShadow: "unset"
67
68
  }),
68
- '&:focus-visible': /*#__PURE__*/ $5DxI1$css({
69
- borderColor: $5DxI1$contentfulf36tokens.colorPrimary,
70
- boxShadow: $5DxI1$contentfulf36tokens.glowPrimary
69
+ "&:focus-visible": /*#__PURE__*/ (0, $5DxI1$css)({
70
+ borderColor: (0, $5DxI1$contentfulf36tokens).colorPrimary,
71
+ boxShadow: (0, $5DxI1$contentfulf36tokens).glowPrimary
71
72
  })
72
73
  };
73
- if (!hasHeader) styles.paddingTop = $5DxI1$contentfulf36tokens.spacingM;
74
+ if (!hasHeader) styles.paddingTop = (0, $5DxI1$contentfulf36tokens).spacingM;
74
75
  if (isHovered) {
75
- styles.borderColor = $5DxI1$contentfulf36tokens.colorPrimary;
76
- styles.cursor = 'pointer';
76
+ styles.borderColor = (0, $5DxI1$contentfulf36tokens).colorPrimary;
77
+ styles.cursor = "pointer";
77
78
  }
78
79
  if (isSelected) {
79
- styles.backgroundColor = $5DxI1$contentfulf36tokens.blue100;
80
- styles.borderColor = $5DxI1$contentfulf36tokens.colorPrimary;
80
+ styles.backgroundColor = (0, $5DxI1$contentfulf36tokens).blue100;
81
+ styles.borderColor = (0, $5DxI1$contentfulf36tokens).colorPrimary;
81
82
  }
82
- return /*#__PURE__*/ $5DxI1$css(styles);
83
+ return /*#__PURE__*/ (0, $5DxI1$css)(styles);
83
84
  },
84
- skeleton: /*#__PURE__*/ $5DxI1$css({
85
- border: `1px solid ${$5DxI1$contentfulf36tokens.gray300}`,
86
- borderRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
87
- padding: $5DxI1$contentfulf36tokens.spacingM
85
+ skeleton: /*#__PURE__*/ (0, $5DxI1$css)({
86
+ border: `1px solid ${(0, $5DxI1$contentfulf36tokens).gray300}`,
87
+ borderRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
88
+ padding: (0, $5DxI1$contentfulf36tokens).spacingM
88
89
  })
89
90
  };
90
91
  };
@@ -102,58 +103,57 @@ const $082b639acf692abe$export$e5c3362273de1eca = ()=>{
102
103
 
103
104
 
104
105
 
105
-
106
106
  const $6e2e1e7b43420737$export$6468e6b9c1bc1de = ()=>{
107
107
  return {
108
- root: /*#__PURE__*/ $5DxI1$css({
109
- minHeight: 'auto',
110
- padding: $5DxI1$contentfulf36tokens.spacing2Xs,
111
- marginLeft: $5DxI1$contentfulf36tokens.spacingXs
108
+ root: /*#__PURE__*/ (0, $5DxI1$css)({
109
+ minHeight: "auto",
110
+ padding: (0, $5DxI1$contentfulf36tokens).spacing2Xs,
111
+ marginLeft: (0, $5DxI1$contentfulf36tokens).spacingXs
112
112
  })
113
113
  };
114
114
  };
115
115
 
116
116
 
117
117
  const $c83d23d1a559d33c$export$9b6a647253f61c5f = ({ buttonProps: buttonProps , children: children })=>{
118
- const styles = $6e2e1e7b43420737$export$6468e6b9c1bc1de();
119
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Menu, null, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Menu.Trigger, null, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$IconButton, {
118
+ const styles = (0, $6e2e1e7b43420737$export$6468e6b9c1bc1de)();
119
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Menu), null, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Menu).Trigger, null, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$IconButton), {
120
120
  "aria-label": "Actions",
121
- icon: /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$MoreHorizontalIcon, null),
121
+ icon: /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$MoreHorizontalIcon), null),
122
122
  ...buttonProps,
123
- className: $5DxI1$cx(styles.root, buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.className),
123
+ className: (0, $5DxI1$cx)(styles.root, buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.className),
124
124
  size: "small",
125
125
  variant: "transparent",
126
126
  testId: "cf-ui-card-actions"
127
- })), /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Menu.List, null, children));
127
+ })), /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Menu).List, null, children));
128
128
  };
129
129
 
130
130
 
131
131
 
132
132
  const $798bf03d82ac02ed$var$getHeaderStyles = ()=>{
133
133
  return {
134
- header: /*#__PURE__*/ $5DxI1$css({
135
- alignItems: 'center',
136
- borderBottomColor: $5DxI1$contentfulf36tokens.gray200,
137
- borderBottomStyle: 'solid',
134
+ header: /*#__PURE__*/ (0, $5DxI1$css)({
135
+ alignItems: "center",
136
+ borderBottomColor: (0, $5DxI1$contentfulf36tokens).gray200,
137
+ borderBottomStyle: "solid",
138
138
  borderBottomWidth: 1,
139
- borderTopLeftRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
140
- borderTopRightRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
141
- boxSizing: 'border-box',
142
- color: $5DxI1$contentfulf36tokens.gray600,
143
- fontSize: $5DxI1$contentfulf36tokens.fontSizeM,
144
- fontWeight: $5DxI1$contentfulf36tokens.fontWeightNormal,
145
- gridColumn: 'content',
146
- gridRow: 'header',
147
- lineHeight: $5DxI1$contentfulf36tokens.lineHeightM,
148
- paddingBottom: $5DxI1$contentfulf36tokens.spacingXs,
149
- paddingLeft: $5DxI1$contentfulf36tokens.spacingM,
150
- paddingRight: $5DxI1$contentfulf36tokens.spacingXs,
151
- paddingTop: $5DxI1$contentfulf36tokens.spacingXs,
152
- minHeight: '37px'
139
+ borderTopLeftRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
140
+ borderTopRightRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
141
+ boxSizing: "border-box",
142
+ color: (0, $5DxI1$contentfulf36tokens).gray600,
143
+ fontSize: (0, $5DxI1$contentfulf36tokens).fontSizeM,
144
+ fontWeight: (0, $5DxI1$contentfulf36tokens).fontWeightNormal,
145
+ gridColumn: "content",
146
+ gridRow: "header",
147
+ lineHeight: (0, $5DxI1$contentfulf36tokens).lineHeightM,
148
+ paddingBottom: (0, $5DxI1$contentfulf36tokens).spacingXs,
149
+ paddingLeft: (0, $5DxI1$contentfulf36tokens).spacingM,
150
+ paddingRight: (0, $5DxI1$contentfulf36tokens).spacingXs,
151
+ paddingTop: (0, $5DxI1$contentfulf36tokens).spacingXs,
152
+ minHeight: "37px"
153
153
  }),
154
- headerWithActions: /*#__PURE__*/ $5DxI1$css({
154
+ headerWithActions: /*#__PURE__*/ (0, $5DxI1$css)({
155
155
  paddingBottom: 0,
156
- paddingRight: $5DxI1$contentfulf36tokens.spacingXs,
156
+ paddingRight: (0, $5DxI1$contentfulf36tokens).spacingXs,
157
157
  paddingTop: 0
158
158
  })
159
159
  };
@@ -165,60 +165,60 @@ const $798bf03d82ac02ed$export$783e10c0b439f264 = (e)=>{
165
165
  const $798bf03d82ac02ed$export$606643aa598b5a97 = (props)=>{
166
166
  const { icon: icon , type: type , actions: actions , actionsButtonProps: actionsButtonProps , badge: badge } = props;
167
167
  const styles = $798bf03d82ac02ed$var$getHeaderStyles();
168
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
169
- className: $5DxI1$cx(styles.header, actions && styles.headerWithActions)
170
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
168
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
169
+ className: (0, $5DxI1$cx)(styles.header, actions && styles.headerWithActions)
170
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
171
171
  flexGrow: 1
172
- }, type && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Text, {
172
+ }, type && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Text), {
173
173
  fontColor: "gray600",
174
174
  isWordBreak: true
175
- }, type)), icon && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
175
+ }, type)), icon && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
176
176
  alignItems: "center",
177
177
  marginLeft: "spacingXs"
178
- }, icon), badge && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
178
+ }, icon), badge && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
179
179
  alignItems: "center",
180
180
  marginLeft: "spacingXs"
181
- }, badge), actions && actions.length > 0 && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex // don't propagate click event, so onClick handler on the card is not triggered
182
- , {
181
+ }, badge), actions && actions.length > 0 && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex // don't propagate click event, so onClick handler on the card is not triggered
182
+ ), {
183
183
  onClick: $798bf03d82ac02ed$export$783e10c0b439f264,
184
184
  alignItems: "center"
185
- }, /*#__PURE__*/ $5DxI1$react.createElement($c83d23d1a559d33c$export$9b6a647253f61c5f, {
185
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $c83d23d1a559d33c$export$9b6a647253f61c5f), {
186
186
  buttonProps: actionsButtonProps
187
187
  }, actions)));
188
188
  };
189
- $798bf03d82ac02ed$export$606643aa598b5a97.displayName = 'DefaultCardHeader';
189
+ $798bf03d82ac02ed$export$606643aa598b5a97.displayName = "DefaultCardHeader";
190
190
 
191
191
 
192
- const $58aab48c7cf09ac0$export$eed7d00d62e881b8 = 'article';
193
- function $58aab48c7cf09ac0$var$_BaseCard({ actions: actions , actionsButtonProps: actionsButtonProps , ariaLabel: ariaLabel , badge: badge , children: children , className: className , contentBodyProps: contentBodyProps , header: header , href: href , icon: icon , isDragging: isDragging = false , isHovered: isHoveredProp , isSelected: isSelected = false , onBlur: onBlur , onClick: onClick , onFocus: onFocus , onKeyDown: onKeyDown , onMouseEnter: onMouseEnter , onMouseLeave: onMouseLeave , target: target , rel: rel , testId: testId = 'cf-ui-base-card' , title: title , type: type , withDragHandle: withDragHandle , dragHandleRender: dragHandleRender , isLoading: isLoading , ...otherProps }, forwardedRef) {
194
- const styles = $082b639acf692abe$export$e5c3362273de1eca();
195
- const [isHovered, setIsHovered] = $5DxI1$useState(isHoveredProp !== null && isHoveredProp !== void 0 ? isHoveredProp : false);
192
+ const $58aab48c7cf09ac0$export$eed7d00d62e881b8 = "article";
193
+ function $58aab48c7cf09ac0$var$_BaseCard({ actions: actions , actionsButtonProps: actionsButtonProps , ariaLabel: ariaLabel , badge: badge , children: children , className: className , contentBodyProps: contentBodyProps , header: header , href: href , icon: icon , isDragging: isDragging = false , isHovered: isHoveredProp , isSelected: isSelected = false , onBlur: onBlur , onClick: onClick , onFocus: onFocus , onKeyDown: onKeyDown , onMouseEnter: onMouseEnter , onMouseLeave: onMouseLeave , target: target , rel: rel , testId: testId = "cf-ui-base-card" , title: title , type: type , withDragHandle: withDragHandle , dragHandleRender: dragHandleRender , isLoading: isLoading , ...otherProps }, forwardedRef) {
194
+ const styles = (0, $082b639acf692abe$export$e5c3362273de1eca)();
195
+ const [isHovered, setIsHovered] = (0, $5DxI1$useState)(isHoveredProp !== null && isHoveredProp !== void 0 ? isHoveredProp : false);
196
196
  const isInteractive = Boolean(onClick || href || withDragHandle);
197
197
  const hasHeader = Boolean(header);
198
- const defaultHeader = type || icon || badge || actions ? /*#__PURE__*/ $5DxI1$react.createElement($798bf03d82ac02ed$export$606643aa598b5a97, {
198
+ const defaultHeader = type || icon || badge || actions ? /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $798bf03d82ac02ed$export$606643aa598b5a97), {
199
199
  type: type,
200
200
  icon: icon,
201
201
  badge: badge,
202
202
  actions: actions,
203
203
  actionsButtonProps: actionsButtonProps
204
204
  }) : null;
205
- const handleFocus = $5DxI1$useCallback((event)=>{
205
+ const handleFocus = (0, $5DxI1$useCallback)((event)=>{
206
206
  if (onFocus) onFocus(event);
207
207
  }, [
208
208
  onFocus
209
209
  ]);
210
- const handleBlur = $5DxI1$useCallback((event)=>{
210
+ const handleBlur = (0, $5DxI1$useCallback)((event)=>{
211
211
  if (onBlur) onBlur(event);
212
212
  }, [
213
213
  onBlur
214
214
  ]);
215
- const handleMouseEnter = $5DxI1$useCallback((event)=>{
215
+ const handleMouseEnter = (0, $5DxI1$useCallback)((event)=>{
216
216
  setIsHovered(true);
217
217
  if (onMouseEnter) onMouseEnter(event);
218
218
  }, [
219
219
  onMouseEnter
220
220
  ]);
221
- const handleMouseLeave = $5DxI1$useCallback((event)=>{
221
+ const handleMouseLeave = (0, $5DxI1$useCallback)((event)=>{
222
222
  setIsHovered(false);
223
223
  if (onMouseLeave) onMouseLeave(event);
224
224
  }, [
@@ -227,31 +227,31 @@ function $58aab48c7cf09ac0$var$_BaseCard({ actions: actions , actionsButtonProps
227
227
  const handleClick = onClick ? (event)=>{
228
228
  onClick(event);
229
229
  } : undefined;
230
- const handleKeyDown = $5DxI1$useCallback((event)=>{
230
+ const handleKeyDown = (0, $5DxI1$useCallback)((event)=>{
231
231
  if (onKeyDown) onKeyDown(event);
232
232
  }, [
233
233
  onKeyDown
234
234
  ]);
235
- if (isLoading) return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonContainer, {
235
+ if (isLoading) return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonContainer), {
236
236
  className: styles.skeleton,
237
237
  svgHeight: "5.6rem"
238
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonDisplayText, {
238
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonDisplayText), {
239
239
  numberOfLines: 1
240
- }), /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonBodyText, {
240
+ }), /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonBodyText), {
241
241
  numberOfLines: 1,
242
242
  offsetTop: 35
243
243
  }));
244
- const drag = /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$DragHandle, {
244
+ const drag = /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$DragHandle), {
245
245
  className: styles.dragHandle,
246
246
  isActive: isDragging,
247
247
  label: "Reorder entry",
248
- onClick: $798bf03d82ac02ed$export$783e10c0b439f264
248
+ onClick: (0, $798bf03d82ac02ed$export$783e10c0b439f264)
249
249
  });
250
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Box, {
250
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Box), {
251
251
  "aria-label": title || ariaLabel,
252
- "aria-pressed": otherProps.as === 'button' ? isSelected ? 'true' : 'false' : undefined,
252
+ "aria-pressed": otherProps.as === "button" ? isSelected ? "true" : "false" : undefined,
253
253
  as: $58aab48c7cf09ac0$export$eed7d00d62e881b8,
254
- className: $5DxI1$cx(styles.root({
254
+ className: (0, $5DxI1$cx)(styles.root({
255
255
  hasHeader: hasHeader,
256
256
  isHovered: isHovered,
257
257
  isSelected: isSelected
@@ -260,11 +260,11 @@ function $58aab48c7cf09ac0$var$_BaseCard({ actions: actions , actionsButtonProps
260
260
  onBlur: handleBlur,
261
261
  onClick: handleClick,
262
262
  onFocus: handleFocus,
263
- onMouseEnter: typeof isHoveredProp === 'undefined' && isInteractive ? handleMouseEnter : undefined,
264
- onMouseLeave: typeof isHoveredProp === 'undefined' && isInteractive ? handleMouseLeave : undefined,
263
+ onMouseEnter: typeof isHoveredProp === "undefined" && isInteractive ? handleMouseEnter : undefined,
264
+ onMouseLeave: typeof isHoveredProp === "undefined" && isInteractive ? handleMouseLeave : undefined,
265
265
  onKeyDown: handleKeyDown,
266
- rel: href && (rel || 'noreferrer'),
267
- role: onClick && !href ? 'button' : undefined,
266
+ rel: href && (rel || "noreferrer"),
267
+ role: onClick && !href ? "button" : undefined,
268
268
  tabIndex: onClick ? 0 : undefined,
269
269
  target: target,
270
270
  ...otherProps,
@@ -274,40 +274,39 @@ function $58aab48c7cf09ac0$var$_BaseCard({ actions: actions , actionsButtonProps
274
274
  }, withDragHandle ? dragHandleRender ? dragHandleRender({
275
275
  drag: drag,
276
276
  isDragging: isDragging
277
- }) : drag : null, /*#__PURE__*/ $5DxI1$react.createElement("div", {
277
+ }) : drag : null, /*#__PURE__*/ (0, $5DxI1$react).createElement("div", {
278
278
  className: styles.wrapper,
279
279
  "data-card-part": "wrapper"
280
- }, header !== null && header !== void 0 ? header : defaultHeader, /*#__PURE__*/ $5DxI1$react.createElement("div", {
280
+ }, header !== null && header !== void 0 ? header : defaultHeader, /*#__PURE__*/ (0, $5DxI1$react).createElement("div", {
281
281
  className: styles.contentBody,
282
282
  "data-card-part": "content"
283
283
  }, children)));
284
284
  }
285
- $58aab48c7cf09ac0$var$_BaseCard.displayName = 'BaseCard';
286
- const $58aab48c7cf09ac0$export$ffd8d1a491a618f2 = /*#__PURE__*/ $5DxI1$forwardRef($58aab48c7cf09ac0$var$_BaseCard);
285
+ $58aab48c7cf09ac0$var$_BaseCard.displayName = "BaseCard";
286
+ const $58aab48c7cf09ac0$export$ffd8d1a491a618f2 = /*#__PURE__*/ (0, $5DxI1$forwardRef)($58aab48c7cf09ac0$var$_BaseCard);
287
287
 
288
288
 
289
289
 
290
290
 
291
291
  const $f5face715e2a2436$export$37a6ca57378bcb83 = ()=>{
292
292
  return {
293
- root: ({ size: size })=>/*#__PURE__*/ $5DxI1$css({
294
- display: 'inline-flex',
295
- width: 'auto',
296
- borderRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
297
- minWidth: `calc(1rem * (120 / ${$5DxI1$contentfulf36tokens.fontBaseDefault}))`,
298
- height: size === 'small' ? `calc(1rem * (188 / ${$5DxI1$contentfulf36tokens.fontBaseDefault}))` : `calc(1rem * (300 / ${$5DxI1$contentfulf36tokens.fontBaseDefault}))`,
293
+ root: ({ size: size })=>/*#__PURE__*/ (0, $5DxI1$css)({
294
+ display: "inline-flex",
295
+ width: "auto",
296
+ borderRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
297
+ minWidth: `calc(1rem * (120 / ${(0, $5DxI1$contentfulf36tokens).fontBaseDefault}))`,
298
+ height: size === "small" ? `calc(1rem * (188 / ${(0, $5DxI1$contentfulf36tokens).fontBaseDefault}))` : `calc(1rem * (300 / ${(0, $5DxI1$contentfulf36tokens).fontBaseDefault}))`,
299
299
  padding: 0,
300
- textAlign: 'center'
301
- })
302
- ,
303
- asset: /*#__PURE__*/ $5DxI1$css({
300
+ textAlign: "center"
301
+ }),
302
+ asset: /*#__PURE__*/ (0, $5DxI1$css)({
304
303
  name: "10klw3m",
305
304
  styles: "height:100%;"
306
305
  }),
307
- skeleton: /*#__PURE__*/ $5DxI1$css({
308
- border: `1px solid ${$5DxI1$contentfulf36tokens.gray300}`,
309
- borderRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
310
- padding: $5DxI1$contentfulf36tokens.spacingM
306
+ skeleton: /*#__PURE__*/ (0, $5DxI1$css)({
307
+ border: `1px solid ${(0, $5DxI1$contentfulf36tokens).gray300}`,
308
+ borderRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
309
+ padding: (0, $5DxI1$contentfulf36tokens).spacingM
311
310
  })
312
311
  };
313
312
  };
@@ -315,28 +314,28 @@ const $f5face715e2a2436$export$37a6ca57378bcb83 = ()=>{
315
314
 
316
315
 
317
316
 
318
- const $e5307476578213bc$export$eff93e4e59ccc3b8 = ({ actions: actions , className: className , icon: icon = null , isSelected: isSelected , size: size = 'default' , src: src , status: status , title: title , type: type , withDragHandle: withDragHandle = false , isLoading: isLoading , testId: testId = 'cf-ui-asset-card' , ...otherProps })=>{
319
- const styles = $f5face715e2a2436$export$37a6ca57378bcb83();
320
- const badge = status ? /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$EntityStatusBadge, {
317
+ const $e5307476578213bc$export$eff93e4e59ccc3b8 = ({ actions: actions , className: className , icon: icon = null , isSelected: isSelected , size: size = "default" , src: src , status: status , title: title , type: type , withDragHandle: withDragHandle = false , isLoading: isLoading , testId: testId = "cf-ui-asset-card" , ...otherProps })=>{
318
+ const styles = (0, $f5face715e2a2436$export$37a6ca57378bcb83)();
319
+ const badge = status ? /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$EntityStatusBadge), {
321
320
  entityStatus: status
322
321
  }) : null;
323
- const header = icon || badge || actions ? /*#__PURE__*/ $5DxI1$react.createElement($798bf03d82ac02ed$export$606643aa598b5a97, {
322
+ const header = icon || badge || actions ? /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $798bf03d82ac02ed$export$606643aa598b5a97), {
324
323
  icon: icon,
325
324
  badge: badge,
326
325
  actions: actions
327
326
  }) : null;
328
- if (isLoading) return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonContainer, {
327
+ if (isLoading) return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonContainer), {
329
328
  className: styles.skeleton,
330
- svgWidth: size === 'default' ? '18rem' : '11rem',
331
- svgHeight: size === 'default' ? '18.75rem' : '12rem'
332
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonImage, {
329
+ svgWidth: size === "default" ? "18rem" : "11rem",
330
+ svgHeight: size === "default" ? "18.75rem" : "12rem"
331
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonImage), {
333
332
  width: "100%",
334
333
  height: "18.75rem"
335
334
  }));
336
- return /*#__PURE__*/ $5DxI1$react.createElement($58aab48c7cf09ac0$export$ffd8d1a491a618f2, {
335
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $58aab48c7cf09ac0$export$ffd8d1a491a618f2), {
337
336
  ...otherProps,
338
337
  badge: badge,
339
- className: $5DxI1$cx(styles.root({
338
+ className: (0, $5DxI1$cx)(styles.root({
340
339
  size: size
341
340
  }), className),
342
341
  header: header,
@@ -344,11 +343,11 @@ const $e5307476578213bc$export$eff93e4e59ccc3b8 = ({ actions: actions , classNam
344
343
  title: title,
345
344
  withDragHandle: withDragHandle,
346
345
  testId: testId
347
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
346
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
348
347
  alignItems: "center",
349
348
  fullHeight: true,
350
349
  justifyContent: "center"
351
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Asset, {
350
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Asset), {
352
351
  className: styles.asset,
353
352
  src: src,
354
353
  status: status,
@@ -369,56 +368,55 @@ const $e5307476578213bc$export$eff93e4e59ccc3b8 = ({ actions: actions , classNam
369
368
 
370
369
  const $2fcc945398035016$var$getCardPaddingValue = (padding)=>{
371
370
  switch(padding){
372
- case 'large':
373
- return $5DxI1$contentfulf36tokens.spacingL;
374
- case 'none':
371
+ case "large":
372
+ return (0, $5DxI1$contentfulf36tokens).spacingL;
373
+ case "none":
375
374
  return 0;
376
375
  default:
377
- return $5DxI1$contentfulf36tokens.spacingM;
376
+ return (0, $5DxI1$contentfulf36tokens).spacingM;
378
377
  }
379
378
  };
380
379
  const $2fcc945398035016$export$164c3dc7db460fb7 = ({ padding: padding })=>({
381
- header: /*#__PURE__*/ $5DxI1$css({
382
- gridColumn: 'content',
383
- gridRow: 'header',
384
- marginBottom: $5DxI1$contentfulf36tokens.spacingM
380
+ header: /*#__PURE__*/ (0, $5DxI1$css)({
381
+ gridColumn: "content",
382
+ gridRow: "header",
383
+ marginBottom: (0, $5DxI1$contentfulf36tokens).spacingM
385
384
  }),
386
- root: /*#__PURE__*/ $5DxI1$css({
385
+ root: /*#__PURE__*/ (0, $5DxI1$css)({
387
386
  padding: $2fcc945398035016$var$getCardPaddingValue(padding)
388
387
  })
389
- })
390
- ;
388
+ });
391
389
 
392
390
 
393
- function $cce5018d103477ad$var$_Card({ actions: actions , badge: badge , icon: icon , padding: padding = 'default' , title: title , className: className , testId: testId = 'cf-ui-card' , ...otherProps }, forwardedRef) {
394
- const styles = $2fcc945398035016$export$164c3dc7db460fb7({
391
+ function $cce5018d103477ad$var$_Card({ actions: actions , badge: badge , icon: icon , padding: padding = "default" , title: title , className: className , testId: testId = "cf-ui-card" , ...otherProps }, forwardedRef) {
392
+ const styles = (0, $2fcc945398035016$export$164c3dc7db460fb7)({
395
393
  padding: padding
396
394
  });
397
395
  const hasHeader = Boolean(title || icon || badge || actions);
398
- return /*#__PURE__*/ $5DxI1$react.createElement($58aab48c7cf09ac0$export$ffd8d1a491a618f2, {
399
- className: $5DxI1$cx(styles.root, className),
396
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $58aab48c7cf09ac0$export$ffd8d1a491a618f2), {
397
+ className: (0, $5DxI1$cx)(styles.root, className),
400
398
  ...otherProps,
401
399
  testId: testId,
402
- header: hasHeader && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
400
+ header: hasHeader && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
403
401
  alignItems: "center",
404
- className: $5DxI1$cx(styles.header)
405
- }, title && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
402
+ className: (0, $5DxI1$cx)(styles.header)
403
+ }, title && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
406
404
  as: "header",
407
405
  flexGrow: 1
408
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Heading, {
406
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Heading), {
409
407
  marginBottom: "none"
410
- }, title)), icon && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
408
+ }, title)), icon && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
411
409
  alignItems: "center",
412
410
  marginLeft: "spacingXs"
413
- }, icon), badge && /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
411
+ }, icon), badge && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
414
412
  alignItems: "center",
415
413
  marginLeft: "spacingXs"
416
- }, badge), actions && /*#__PURE__*/ $5DxI1$react.createElement($c83d23d1a559d33c$export$9b6a647253f61c5f, null, actions)),
414
+ }, badge), actions && /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $c83d23d1a559d33c$export$9b6a647253f61c5f), null, actions)),
417
415
  ref: forwardedRef
418
416
  });
419
417
  }
420
- $cce5018d103477ad$var$_Card.displayName = 'Card';
421
- const $cce5018d103477ad$export$60332b2344f7fe41 = /*#__PURE__*/ $5DxI1$forwardRef($cce5018d103477ad$var$_Card);
418
+ $cce5018d103477ad$var$_Card.displayName = "Card";
419
+ const $cce5018d103477ad$export$60332b2344f7fe41 = /*#__PURE__*/ (0, $5DxI1$forwardRef)($cce5018d103477ad$var$_Card);
422
420
 
423
421
 
424
422
 
@@ -433,116 +431,115 @@ const $cce5018d103477ad$export$60332b2344f7fe41 = /*#__PURE__*/ $5DxI1$forwardRe
433
431
 
434
432
  const $163f0b3a3660f6d4$export$25b6e8fb8b7b795b = ()=>{
435
433
  return {
436
- actionsButton: /*#__PURE__*/ $5DxI1$css({
434
+ actionsButton: /*#__PURE__*/ (0, $5DxI1$css)({
437
435
  borderBottomLeftRadius: 0,
438
436
  borderBottomRightRadius: 0,
439
437
  borderTopLeftRadius: 0,
440
- borderTopRightRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium
438
+ borderTopRightRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium
441
439
  }),
442
- content: (size)=>/*#__PURE__*/ $5DxI1$css({
443
- gridColumn: 'content',
444
- marginTop: size === 'small' ? $5DxI1$contentfulf36tokens.spacingXs : $5DxI1$contentfulf36tokens.spacingS,
445
- marginBottom: size === 'small' ? `calc(-1 * ${$5DxI1$contentfulf36tokens.spacingXs})` : 0
446
- })
447
- ,
448
- root: /*#__PURE__*/ $5DxI1$css({
440
+ content: (size)=>/*#__PURE__*/ (0, $5DxI1$css)({
441
+ gridColumn: "content",
442
+ marginTop: size === "small" ? (0, $5DxI1$contentfulf36tokens).spacingXs : (0, $5DxI1$contentfulf36tokens).spacingS,
443
+ marginBottom: size === "small" ? `calc(-1 * ${(0, $5DxI1$contentfulf36tokens).spacingXs})` : 0
444
+ }),
445
+ root: /*#__PURE__*/ (0, $5DxI1$css)({
449
446
  padding: 0,
450
447
  '[data-card-part="content"]': {
451
- paddingBottom: $5DxI1$contentfulf36tokens.spacingM,
452
- paddingLeft: $5DxI1$contentfulf36tokens.spacingM,
453
- paddingRight: $5DxI1$contentfulf36tokens.spacingM
448
+ paddingBottom: (0, $5DxI1$contentfulf36tokens).spacingM,
449
+ paddingLeft: (0, $5DxI1$contentfulf36tokens).spacingM,
450
+ paddingRight: (0, $5DxI1$contentfulf36tokens).spacingM
454
451
  }
455
452
  }),
456
- header: /*#__PURE__*/ $5DxI1$css({
453
+ header: /*#__PURE__*/ (0, $5DxI1$css)({
457
454
  borderBottomWidth: 1,
458
- borderBottomColor: $5DxI1$contentfulf36tokens.gray200,
459
- borderBottomStyle: 'solid',
460
- minHeight: 'auto',
461
- paddingBottom: $5DxI1$contentfulf36tokens.spacingXs,
462
- paddingLeft: $5DxI1$contentfulf36tokens.spacingM,
463
- paddingRight: $5DxI1$contentfulf36tokens.spacingXs
455
+ borderBottomColor: (0, $5DxI1$contentfulf36tokens).gray200,
456
+ borderBottomStyle: "solid",
457
+ minHeight: "auto",
458
+ paddingBottom: (0, $5DxI1$contentfulf36tokens).spacingXs,
459
+ paddingLeft: (0, $5DxI1$contentfulf36tokens).spacingM,
460
+ paddingRight: (0, $5DxI1$contentfulf36tokens).spacingXs
464
461
  }),
465
- thumbnail: (size)=>/*#__PURE__*/ $5DxI1$css({
466
- margin: `0 0 0 ${$5DxI1$contentfulf36tokens.spacingS}`,
462
+ thumbnail: (size)=>/*#__PURE__*/ (0, $5DxI1$css)({
463
+ margin: `0 0 0 ${(0, $5DxI1$contentfulf36tokens).spacingS}`,
467
464
  padding: 0,
468
- overflow: 'hidden',
469
- position: 'relative',
465
+ overflow: "hidden",
466
+ position: "relative",
470
467
  img: {
471
- width: '100%',
472
- height: '100%',
473
- objectFit: 'cover',
474
- position: 'absolute',
468
+ width: "100%",
469
+ height: "100%",
470
+ objectFit: "cover",
471
+ position: "absolute",
475
472
  zIndex: 1
476
473
  },
477
- ...size === 'small' ? {
478
- height: '40px',
479
- width: '40px'
474
+ ...size === "small" ? {
475
+ height: "40px",
476
+ width: "40px"
480
477
  } : {
481
- height: '70px',
482
- width: '70px'
478
+ height: "70px",
479
+ width: "70px"
483
480
  }
484
481
  })
485
482
  };
486
483
  };
487
484
 
488
485
 
489
- const $b207f531c43dcc46$var$ENTRY_CARD_DEFAULT_TAG = 'article';
486
+ const $b207f531c43dcc46$var$ENTRY_CARD_DEFAULT_TAG = "article";
490
487
  function $b207f531c43dcc46$var$EntryCardTitle({ title: title , titleTag: titleTag }) {
491
488
  if (!title) return null;
492
- const truncatedTitle = $5DxI1$truncate(title, 255, {});
493
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Subheading, {
494
- title: title.length > 255 ? title : '',
489
+ const truncatedTitle = (0, $5DxI1$truncate)(title, 255, {});
490
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Subheading), {
491
+ title: title.length > 255 ? title : "",
495
492
  testId: "title",
496
493
  as: titleTag,
497
494
  marginBottom: "none",
498
495
  isWordBreak: true
499
496
  }, truncatedTitle);
500
497
  }
501
- $b207f531c43dcc46$var$EntryCardTitle.displayName = 'EntryCardTitle';
498
+ $b207f531c43dcc46$var$EntryCardTitle.displayName = "EntryCardTitle";
502
499
  function $b207f531c43dcc46$var$EntryCardDescription({ description: description , size: size }) {
503
- if (!description || size === 'small') return null;
504
- const truncatedDescription = $5DxI1$truncate(description, 95, {});
505
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Paragraph, {
500
+ if (!description || size === "small") return null;
501
+ const truncatedDescription = (0, $5DxI1$truncate)(description, 95, {});
502
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Paragraph), {
506
503
  marginBottom: "none",
507
504
  isWordBreak: true
508
505
  }, truncatedDescription);
509
506
  }
510
- $b207f531c43dcc46$var$EntryCardDescription.displayName = 'EntryCardDescription';
511
- function $b207f531c43dcc46$var$_EntryCard({ actions: actions , children: children , className: className , src: src , status: status , thumbnailElement: thumbnailElement , description: description , withDragHandle: withDragHandle = false , title: title , titleTag: titleTag = 'h2' , size: size , testId: testId = 'cf-ui-entry-card' , contentType: contentType , ...otherProps }, forwardedRef) {
512
- const styles = $163f0b3a3660f6d4$export$25b6e8fb8b7b795b();
513
- const badge = status ? /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$EntityStatusBadge, {
507
+ $b207f531c43dcc46$var$EntryCardDescription.displayName = "EntryCardDescription";
508
+ function $b207f531c43dcc46$var$_EntryCard({ actions: actions , children: children , className: className , src: src , status: status , thumbnailElement: thumbnailElement , description: description , withDragHandle: withDragHandle = false , title: title , titleTag: titleTag = "h2" , size: size , testId: testId = "cf-ui-entry-card" , contentType: contentType , ...otherProps }, forwardedRef) {
509
+ const styles = (0, $163f0b3a3660f6d4$export$25b6e8fb8b7b795b)();
510
+ const badge = status ? /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$EntityStatusBadge), {
514
511
  entityStatus: status
515
512
  }) : null;
516
- return /*#__PURE__*/ $5DxI1$react.createElement($58aab48c7cf09ac0$export$ffd8d1a491a618f2, {
513
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $58aab48c7cf09ac0$export$ffd8d1a491a618f2), {
517
514
  as: $b207f531c43dcc46$var$ENTRY_CARD_DEFAULT_TAG,
518
515
  ...otherProps,
519
516
  actions: actions,
520
517
  badge: badge,
521
- className: $5DxI1$cx(styles.root, className),
518
+ className: (0, $5DxI1$cx)(styles.root, className),
522
519
  withDragHandle: withDragHandle,
523
520
  ref: forwardedRef,
524
521
  type: contentType,
525
522
  testId: testId
526
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
523
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
527
524
  alignItems: "center",
528
525
  className: styles.content(size),
529
526
  flexDirection: "row"
530
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Flex, {
527
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Flex), {
531
528
  flexDirection: "column",
532
529
  flexGrow: 1,
533
530
  gap: "spacingS"
534
- }, /*#__PURE__*/ $5DxI1$react.createElement($b207f531c43dcc46$var$EntryCardTitle, {
531
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement($b207f531c43dcc46$var$EntryCardTitle, {
535
532
  title: title,
536
533
  titleTag: titleTag
537
- }), /*#__PURE__*/ $5DxI1$react.createElement($b207f531c43dcc46$var$EntryCardDescription, {
534
+ }), /*#__PURE__*/ (0, $5DxI1$react).createElement($b207f531c43dcc46$var$EntryCardDescription, {
538
535
  size: size,
539
536
  description: description
540
- }), children), thumbnailElement && size !== 'small' && /*#__PURE__*/ $5DxI1$react.createElement("figure", {
537
+ }), children), thumbnailElement && size !== "small" && /*#__PURE__*/ (0, $5DxI1$react).createElement("figure", {
541
538
  className: styles.thumbnail(size)
542
539
  }, thumbnailElement)));
543
540
  }
544
- $b207f531c43dcc46$var$_EntryCard.displayName = 'EntryCard';
545
- const $b207f531c43dcc46$export$326973e3eb2dbf = /*#__PURE__*/ $5DxI1$forwardRef($b207f531c43dcc46$var$_EntryCard);
541
+ $b207f531c43dcc46$var$_EntryCard.displayName = "EntryCard";
542
+ const $b207f531c43dcc46$export$326973e3eb2dbf = /*#__PURE__*/ (0, $5DxI1$forwardRef)($b207f531c43dcc46$var$_EntryCard);
546
543
 
547
544
 
548
545
 
@@ -556,48 +553,48 @@ const $b207f531c43dcc46$export$326973e3eb2dbf = /*#__PURE__*/ $5DxI1$forwardRef(
556
553
 
557
554
  const $7025bd74e0f685d1$export$ccfc6dbdba6183be = ()=>{
558
555
  return {
559
- actions: /*#__PURE__*/ $5DxI1$css({
560
- display: 'flex',
556
+ actions: /*#__PURE__*/ (0, $5DxI1$css)({
557
+ display: "flex",
561
558
  padding: 0,
562
- marginLeft: $5DxI1$contentfulf36tokens.spacingXs,
563
- minHeight: 'auto'
559
+ marginLeft: (0, $5DxI1$contentfulf36tokens).spacingXs,
560
+ minHeight: "auto"
564
561
  }),
565
562
  root: ({ status: status })=>{
566
- const statusColors = $5DxI1$getEntityStatusStyles({
563
+ const statusColors = (0, $5DxI1$getEntityStatusStyles)({
567
564
  status: status
568
565
  });
569
- return /*#__PURE__*/ $5DxI1$css({
566
+ return /*#__PURE__*/ (0, $5DxI1$css)({
570
567
  borderBottomLeftRadius: 0,
571
568
  borderTopLeftRadius: 0,
572
- display: 'inline-flex',
573
- width: 'auto',
574
- verticalAlign: 'middle',
569
+ display: "inline-flex",
570
+ width: "auto",
571
+ verticalAlign: "middle",
575
572
  paddingBottom: 0,
576
573
  paddingTop: 0,
577
- paddingLeft: $5DxI1$contentfulf36tokens.spacingS,
578
- paddingRight: $5DxI1$contentfulf36tokens.spacing2Xs,
574
+ paddingLeft: (0, $5DxI1$contentfulf36tokens).spacingS,
575
+ paddingRight: (0, $5DxI1$contentfulf36tokens).spacing2Xs,
579
576
  '[data-card-part="wrapper"]': {
580
- display: 'inline-flex',
581
- flexDirection: 'row-reverse'
577
+ display: "inline-flex",
578
+ flexDirection: "row-reverse"
582
579
  },
583
- '&::before': {
580
+ "&::before": {
584
581
  backgroundColor: statusColors.color,
585
582
  bottom: 0,
586
583
  content: '""',
587
- display: 'block',
584
+ display: "block",
588
585
  left: 0,
589
- position: 'absolute',
586
+ position: "absolute",
590
587
  top: 0,
591
- width: $5DxI1$contentfulf36tokens.spacing2Xs
588
+ width: (0, $5DxI1$contentfulf36tokens).spacing2Xs
592
589
  }
593
590
  });
594
591
  },
595
- skeleton: /*#__PURE__*/ $5DxI1$css({
596
- display: 'inline-flex',
597
- border: `1px solid ${$5DxI1$contentfulf36tokens.gray300}`,
598
- borderTopRightRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
599
- borderBottomRightRadius: $5DxI1$contentfulf36tokens.borderRadiusMedium,
600
- padding: $5DxI1$contentfulf36tokens.spacingXs
592
+ skeleton: /*#__PURE__*/ (0, $5DxI1$css)({
593
+ display: "inline-flex",
594
+ border: `1px solid ${(0, $5DxI1$contentfulf36tokens).gray300}`,
595
+ borderTopRightRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
596
+ borderBottomRightRadius: (0, $5DxI1$contentfulf36tokens).borderRadiusMedium,
597
+ padding: (0, $5DxI1$contentfulf36tokens).spacingXs
601
598
  })
602
599
  };
603
600
  };
@@ -605,31 +602,31 @@ const $7025bd74e0f685d1$export$ccfc6dbdba6183be = ()=>{
605
602
 
606
603
 
607
604
 
608
- const $80460818031cae79$export$94c16395f9ec3265 = ({ actions: actions , className: className , children: children , status: status , title: title , isLoading: isLoading , testId: testId = 'cf-ui-inline-entry-card' , ...otherProps })=>{
609
- const styles = $7025bd74e0f685d1$export$ccfc6dbdba6183be();
610
- const header = /*#__PURE__*/ $5DxI1$react.createElement($c83d23d1a559d33c$export$9b6a647253f61c5f, {
605
+ const $80460818031cae79$export$94c16395f9ec3265 = ({ actions: actions , className: className , children: children , status: status , title: title , isLoading: isLoading , testId: testId = "cf-ui-inline-entry-card" , ...otherProps })=>{
606
+ const styles = (0, $7025bd74e0f685d1$export$ccfc6dbdba6183be)();
607
+ const header = /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $c83d23d1a559d33c$export$9b6a647253f61c5f), {
611
608
  buttonProps: {
612
609
  className: styles.actions
613
610
  }
614
611
  }, actions);
615
- if (isLoading) return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonContainer, {
612
+ if (isLoading) return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonContainer), {
616
613
  className: styles.skeleton,
617
614
  svgHeight: "1.25rem",
618
615
  svgWidth: "6rem"
619
- }, /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$SkeletonBodyText, {
616
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$SkeletonBodyText), {
620
617
  numberOfLines: 1
621
618
  }));
622
- return /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Tooltip, {
619
+ return /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Tooltip), {
623
620
  placement: "bottom",
624
621
  content: title
625
- }, /*#__PURE__*/ $5DxI1$react.createElement($58aab48c7cf09ac0$export$ffd8d1a491a618f2, {
622
+ }, /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $58aab48c7cf09ac0$export$ffd8d1a491a618f2), {
626
623
  ...otherProps,
627
- className: $5DxI1$cx(styles.root({
624
+ className: (0, $5DxI1$cx)(styles.root({
628
625
  status: status
629
626
  }), className),
630
627
  header: header,
631
628
  testId: testId
632
- }, children || /*#__PURE__*/ $5DxI1$react.createElement($5DxI1$Text, null, title)));
629
+ }, children || /*#__PURE__*/ (0, $5DxI1$react).createElement((0, $5DxI1$Text), null, title)));
633
630
  };
634
631
 
635
632