@mediaradar/design-components 0.45.0 → 0.45.2
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/approved-components.json +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -136,8 +136,8 @@ 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 }),
|
|
140
|
-
/* @__PURE__ */ jsx3("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
139
|
+
/* @__PURE__ */ jsx3("span", { className: "text-control-caption leading-none uppercase tracking-wide text-text-tertiary", children: caption }),
|
|
140
|
+
/* @__PURE__ */ jsx3("span", { className: "text-xs leading-none font-medium text-text-primary", children: value })
|
|
141
141
|
] });
|
|
142
142
|
if (icon) {
|
|
143
143
|
return /* @__PURE__ */ jsxs3("span", { className: "flex items-center gap-2", children: [
|
|
@@ -943,8 +943,8 @@ 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 }),
|
|
947
|
-
/* @__PURE__ */ jsxs7("span", { className: "text-xs font-medium text-text-primary", children: [
|
|
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
|
+
/* @__PURE__ */ jsxs7("span", { className: "text-xs leading-none font-medium text-text-primary", children: [
|
|
948
948
|
displayValue,
|
|
949
949
|
compareLabel(appliedCmp) && /* @__PURE__ */ jsxs7("span", { className: "font-normal text-text-secondary", children: [
|
|
950
950
|
" \xB7 vs ",
|
|
@@ -4102,8 +4102,8 @@ 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) }),
|
|
4106
|
-
/* @__PURE__ */ jsx39("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
4105
|
+
/* @__PURE__ */ jsx39("span", { className: "text-control-caption leading-none text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
|
|
4106
|
+
/* @__PURE__ */ jsx39("span", { className: "text-xs leading-none 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") })
|
|
4109
4109
|
]
|