@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.cjs
CHANGED
|
@@ -227,8 +227,8 @@ function chipTriggerClass(_variant = "box") {
|
|
|
227
227
|
}
|
|
228
228
|
function ChipContent({ caption, value, icon }) {
|
|
229
229
|
const stack = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
230
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-control-caption uppercase tracking-wide text-text-tertiary", children: caption }),
|
|
231
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
230
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-control-caption leading-none uppercase tracking-wide text-text-tertiary", children: caption }),
|
|
231
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-xs leading-none font-medium text-text-primary", children: value })
|
|
232
232
|
] });
|
|
233
233
|
if (icon) {
|
|
234
234
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "flex items-center gap-2", children: [
|
|
@@ -1034,8 +1034,8 @@ function DateRangeFilter({
|
|
|
1034
1034
|
children: [
|
|
1035
1035
|
icon && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "shrink-0 text-text-tertiary", children: icon }),
|
|
1036
1036
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
1037
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: showDates && displayDatesLine ? "text-micro text-text-tertiary" : "text-control-caption uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
|
|
1038
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-xs font-medium text-text-primary", children: [
|
|
1037
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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 }),
|
|
1038
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-xs leading-none font-medium text-text-primary", children: [
|
|
1039
1039
|
displayValue,
|
|
1040
1040
|
compareLabel(appliedCmp) && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "font-normal text-text-secondary", children: [
|
|
1041
1041
|
" \xB7 vs ",
|
|
@@ -4193,8 +4193,8 @@ function DateRangePicker({
|
|
|
4193
4193
|
className: chipTriggerClass(),
|
|
4194
4194
|
children: [
|
|
4195
4195
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
4196
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-control-caption text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
|
|
4197
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
4196
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-control-caption leading-none text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
|
|
4197
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-xs leading-none font-medium text-text-primary", children: value })
|
|
4198
4198
|
] }),
|
|
4199
4199
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react22.ChevronDown, { size: 14, "aria-hidden": "true", className: cn("shrink-0 text-text-secondary transition-transform", open && "rotate-180") })
|
|
4200
4200
|
]
|