@mediaradar/design-components 0.45.1 → 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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -228,7 +228,7 @@ function chipTriggerClass(_variant = "box") {
|
|
|
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
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 font-medium text-text-primary", children: value })
|
|
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: [
|
|
@@ -1035,7 +1035,7 @@ function DateRangeFilter({
|
|
|
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
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 font-medium text-text-primary", children: [
|
|
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 ",
|
|
@@ -4194,7 +4194,7 @@ function DateRangePicker({
|
|
|
4194
4194
|
children: [
|
|
4195
4195
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
4196
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 font-medium text-text-primary", children: value })
|
|
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
|
]
|