@upbound/monarch-blocks 0.6.0 → 0.7.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/cel-filter-bar.js +2 -32
- package/dist/cel-filter-bar.js.map +1 -1
- package/dist/chart.js +1 -31
- package/dist/chart.js.map +1 -1
- package/dist/chat-interface.js +1 -31
- package/dist/chat-interface.js.map +1 -1
- package/dist/code-block.d.ts +20 -5
- package/dist/code-block.js +71 -43
- package/dist/code-block.js.map +1 -1
- package/dist/data-table.d.ts +10 -1
- package/dist/data-table.js +10 -39
- package/dist/data-table.js.map +1 -1
- package/dist/filter-bar.js +2 -32
- package/dist/filter-bar.js.map +1 -1
- package/dist/floating-widget.js +1 -31
- package/dist/floating-widget.js.map +1 -1
- package/dist/graph.js +45 -68
- package/dist/graph.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +128 -92
- package/dist/index.js.map +1 -1
- package/dist/page-header.js +1 -31
- package/dist/page-header.js.map +1 -1
- package/dist/relative-time.js +1 -31
- package/dist/relative-time.js.map +1 -1
- package/dist/section-header.js +1 -31
- package/dist/section-header.js.map +1 -1
- package/dist/section-nav.js +1 -31
- package/dist/section-nav.js.map +1 -1
- package/dist/timeline.js +1 -31
- package/dist/timeline.js.map +1 -1
- package/package.json +4 -5
package/dist/cel-filter-bar.js
CHANGED
|
@@ -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 {
|
|
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
|
}
|
|
@@ -1295,7 +1265,7 @@ function CelAddFilterButton({
|
|
|
1295
1265
|
if (column) onSelect(column.id);
|
|
1296
1266
|
},
|
|
1297
1267
|
children: [
|
|
1298
|
-
/* @__PURE__ */ jsxs(ComboboxTrigger, { "aria-label": "Add filter", render: /* @__PURE__ */ jsx(Button, { variant: "outline" }), children: [
|
|
1268
|
+
/* @__PURE__ */ jsxs(ComboboxTrigger, { "aria-label": "Add filter", showIndicator: false, render: /* @__PURE__ */ jsx(Button, { variant: "outline" }), children: [
|
|
1299
1269
|
/* @__PURE__ */ jsx(Icon, { name: "plus", "data-icon": "inline-start" }),
|
|
1300
1270
|
"Add filter"
|
|
1301
1271
|
] }),
|