@upbound/monarch-blocks 0.7.0 → 0.7.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.
@@ -35,37 +35,7 @@ import * as React from "react";
35
35
  import { Icon } from "@upbound/monarch-core";
36
36
 
37
37
  // src/lib/utils.ts
38
- import { clsx } from "clsx";
39
- import { extendTailwindMerge } from "tailwind-merge";
40
- var twMerge = extendTailwindMerge({
41
- extend: {
42
- classGroups: {
43
- "font-size": [
44
- {
45
- text: [
46
- "display-hero",
47
- "display-kpi-sm",
48
- "display-kpi",
49
- "display-kpi-lg",
50
- "display-feature",
51
- "h1",
52
- "h2",
53
- "h3",
54
- "h4",
55
- "body-lg",
56
- "body",
57
- "body-sm",
58
- "caption",
59
- "eyebrow"
60
- ]
61
- }
62
- ]
63
- }
64
- }
65
- });
66
- function cn(...inputs) {
67
- return twMerge(clsx(inputs));
68
- }
38
+ import { cn } from "@upbound/monarch-core/utils";
69
39
  function sortBy(items, getKey) {
70
40
  return [...items].sort((a, b) => getKey(a).localeCompare(getKey(b)));
71
41
  }
@@ -1291,6 +1261,7 @@ function CelAddFilterButton({
1291
1261
  items: groups,
1292
1262
  itemToStringValue: (item) => item.title,
1293
1263
  itemToStringLabel: (item) => item.title,
1264
+ value: null,
1294
1265
  onValueChange: (column) => {
1295
1266
  if (column) onSelect(column.id);
1296
1267
  },