@wistia/ui 0.13.4-beta.2b044a7a.db3308f → 0.13.4-beta.3f03af7a.192f1d2

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/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.13.4-beta.2b044a7a.db3308f
3
+ * @license @wistia/ui v0.13.4-beta.3f03af7a.192f1d2
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -12234,11 +12234,6 @@ var StyledDataCard = import_styled_components67.default.div`
12234
12234
  position: relative;
12235
12235
  transition: background var(--wui-motion-duration-01) var(--wui-motion-ease);
12236
12236
 
12237
- &:has([data-wui-data-card-subtitle]) {
12238
- grid-template-areas: 'label slot' 'value value' 'subtitle subtitle';
12239
- grid-template-rows: auto auto auto;
12240
- }
12241
-
12242
12237
  &[data-click-region] {
12243
12238
  [data-wui-data-card-hover-icon] {
12244
12239
  opacity: 0;
@@ -12325,9 +12320,6 @@ var StyledDataCardTrendContainer = import_styled_components67.default.div`
12325
12320
  bottom: var(--wui-space-01);
12326
12321
  right: var(--wui-space-01);
12327
12322
  `;
12328
- var StyledSubtitle = (0, import_styled_components67.default)(Text)`
12329
- grid-area: subtitle;
12330
- `;
12331
12323
  var DataCardInner = ({
12332
12324
  label,
12333
12325
  value,
@@ -12335,7 +12327,6 @@ var DataCardInner = ({
12335
12327
  colorScheme = "inherit",
12336
12328
  isLoading = false,
12337
12329
  trend,
12338
- subtitle,
12339
12330
  ...props
12340
12331
  }) => /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
12341
12332
  StyledDataCard,
@@ -12359,16 +12350,8 @@ var DataCardInner = ({
12359
12350
  children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledLoadingValue, {}) : value
12360
12351
  }
12361
12352
  ),
12362
- (0, import_type_guards37.isNotNil)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledSlot, { children: upperRightSlot }),
12363
- (0, import_type_guards37.isNotNil)(subtitle) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12364
- StyledSubtitle,
12365
- {
12366
- "data-wui-data-card-subtitle": true,
12367
- variant: "label4",
12368
- children: subtitle
12369
- }
12370
- ),
12371
- (0, import_type_guards37.isNotNil)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledDataCardTrendContainer, { children: trend })
12353
+ (0, import_type_guards37.isNotNull)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledSlot, { children: upperRightSlot }),
12354
+ (0, import_type_guards37.isNotNull)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledDataCardTrendContainer, { children: trend })
12372
12355
  ]
12373
12356
  }
12374
12357
  );
@@ -12430,7 +12413,6 @@ var DataCards = ({
12430
12413
  ...props,
12431
12414
  $cardMaxWidth: cardMaxWidth,
12432
12415
  $colorScheme: colorScheme,
12433
- alignItems: "stretch",
12434
12416
  direction: "row",
12435
12417
  fill: "horizontal",
12436
12418
  gap: "space-02",