@mediaradar/design-components 0.45.0 → 0.45.1

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.js CHANGED
@@ -136,7 +136,7 @@ function chipTriggerClass(_variant = "box") {
136
136
  }
137
137
  function ChipContent({ caption, value, icon }) {
138
138
  const stack = /* @__PURE__ */ jsxs3("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
139
- /* @__PURE__ */ jsx3("span", { className: "text-control-caption uppercase tracking-wide text-text-tertiary", children: caption }),
139
+ /* @__PURE__ */ jsx3("span", { className: "text-control-caption leading-none uppercase tracking-wide text-text-tertiary", children: caption }),
140
140
  /* @__PURE__ */ jsx3("span", { className: "text-xs font-medium text-text-primary", children: value })
141
141
  ] });
142
142
  if (icon) {
@@ -943,7 +943,7 @@ function DateRangeFilter({
943
943
  children: [
944
944
  icon && /* @__PURE__ */ jsx8("span", { className: "shrink-0 text-text-tertiary", children: icon }),
945
945
  /* @__PURE__ */ jsxs7("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
946
- /* @__PURE__ */ jsx8("span", { className: showDates && displayDatesLine ? "text-micro text-text-tertiary" : "text-control-caption uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
946
+ /* @__PURE__ */ jsx8("span", { className: showDates && displayDatesLine ? "text-micro leading-none text-text-tertiary" : "text-control-caption leading-none uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
947
947
  /* @__PURE__ */ jsxs7("span", { className: "text-xs font-medium text-text-primary", children: [
948
948
  displayValue,
949
949
  compareLabel(appliedCmp) && /* @__PURE__ */ jsxs7("span", { className: "font-normal text-text-secondary", children: [
@@ -4102,7 +4102,7 @@ function DateRangePicker({
4102
4102
  className: chipTriggerClass(),
4103
4103
  children: [
4104
4104
  /* @__PURE__ */ jsxs35("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
4105
- /* @__PURE__ */ jsx39("span", { className: "text-control-caption text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
4105
+ /* @__PURE__ */ jsx39("span", { className: "text-control-caption leading-none text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
4106
4106
  /* @__PURE__ */ jsx39("span", { className: "text-xs font-medium text-text-primary", children: value })
4107
4107
  ] }),
4108
4108
  /* @__PURE__ */ jsx39(ChevronDown9, { size: 14, "aria-hidden": "true", className: cn("shrink-0 text-text-secondary transition-transform", open && "rotate-180") })