@flamingo-stack/openframe-frontend-core 0.0.745 → 0.0.746
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/build/export-map.json +1 -1
- package/dist/{chunk-LJ46XYYP.cjs → chunk-2ZVNXD74.cjs} +24 -24
- package/dist/{chunk-75BF7YJR.cjs → chunk-3AUTORMB.cjs} +13 -13
- package/dist/{chunk-FNIFUCXU.cjs → chunk-3KVB5FQZ.cjs} +5 -5
- package/dist/{chunk-HMSCUL4R.cjs → chunk-3OAACQQG.cjs} +4 -4
- package/dist/{chunk-RIGSZEXS.cjs → chunk-5X3F2KL7.cjs} +90 -90
- package/dist/{chunk-M4FKV2U5.cjs → chunk-7AKFKPBV.cjs} +12 -12
- package/dist/{chunk-4N7KGOBS.cjs → chunk-B24U6KNJ.cjs} +3 -3
- package/dist/{chunk-7KHQHYXL.cjs → chunk-DJ4YDVBF.cjs} +18 -18
- package/dist/{chunk-NFINQ7IZ.cjs → chunk-FAN73OTP.cjs} +6 -6
- package/dist/{chunk-QES5NV4T.cjs → chunk-GPSHFEF2.cjs} +645 -635
- package/dist/{chunk-GOTEXQZN.cjs → chunk-GSFANY2L.cjs} +80 -80
- package/dist/{chunk-URVIPSAJ.cjs → chunk-HNLI4OU5.cjs} +14 -14
- package/dist/{chunk-6IQDQQ56.cjs → chunk-IRKUFXVV.cjs} +38 -38
- package/dist/{chunk-ABLUMGCI.cjs → chunk-JHQNUWFM.cjs} +83 -33
- package/dist/{chunk-4A6OF4HI.cjs → chunk-KVPSV4ZI.cjs} +44 -44
- package/dist/{chunk-UY6A6TEY.cjs → chunk-L2IQESTQ.cjs} +2 -2
- package/dist/{chunk-YIOWV7LS.cjs → chunk-NZMQIAQC.cjs} +2 -2
- package/dist/{chunk-YJRMCFX3.cjs → chunk-O4J4NIMB.cjs} +7 -7
- package/dist/{chunk-GAGNKWOC.cjs → chunk-OWABNVDV.cjs} +2 -2
- package/dist/{chunk-PM5ELQBL.cjs → chunk-PLBJ3XVC.cjs} +32 -32
- package/dist/{chunk-OWGLRE74.cjs → chunk-PSIKUDUV.cjs} +8 -8
- package/dist/{chunk-3LX5AGZO.cjs → chunk-SDDZHPVK.cjs} +24 -24
- package/dist/{chunk-GQ2TRIOV.cjs → chunk-SLODGX6D.cjs} +35 -35
- package/dist/{chunk-DJO7YMT3.cjs → chunk-TILK7SC4.cjs} +194 -194
- package/dist/{chunk-U2O5YQRP.cjs → chunk-U6XWGK53.cjs} +33 -33
- package/dist/{chunk-JGZEHBBD.cjs → chunk-VZGCSVH7.cjs} +10 -10
- package/dist/{chunk-GEEKJ7SH.cjs → chunk-X4Y74M5K.cjs} +74 -74
- package/dist/{chunk-HVR7DPAY.cjs → chunk-XQJOYPPN.cjs} +4 -4
- package/dist/{chunk-7PQOZLVP.cjs → chunk-YKF66VQY.cjs} +20 -20
- package/dist/{chunk-5TCIRWHL.cjs → chunk-YRULLK7N.cjs} +5 -5
- package/dist/{cloud-tenants-DECPWIYQ.cjs → cloud-tenants-OKUFSNPW.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +25 -25
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +116 -116
- package/dist/components/index.cjs +119 -125
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/filter-checkbox-item.d.ts +8 -2
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +14 -4
- package/dist/components/ui/index.cjs +13 -13
- package/dist/components/unified-filter-logic.js +1 -1
- package/dist/components/vendor-tag.d.ts +12 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +50 -47
- package/dist/{devices-HJKDRWQX.cjs → devices-URCDMYFU.cjs} +14 -14
- package/dist/{embeddable-chat-3SKFBO2P.cjs → embeddable-chat-B35GB5B6.cjs} +80 -80
- package/dist/index.cjs +20 -18
- package/dist/{knowledge-NH2CGY2C.cjs → knowledge-5MW2PREQ.cjs} +14 -14
- package/dist/{logs-KZYIDYQK.cjs → logs-LJJK5CK4.cjs} +21 -21
- package/dist/{policies-UAVTPIKM.cjs → policies-6TCEWQYG.cjs} +17 -17
- package/dist/{remote-session-N4PJB5FW.cjs → remote-session-IYT4LWJC.cjs} +7 -7
- package/dist/{scripts-FRPY43KU.cjs → scripts-ABB2P6PT.cjs} +20 -20
- package/dist/{software-update-AEJJNLX5.cjs → software-update-4427ZRMO.cjs} +17 -17
- package/dist/{tickets-board-O753S4ZB.cjs → tickets-board-4MT6ZB4F.cjs} +8 -8
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +2 -3
- package/dist/utils/index.cjs +74 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/vendor-classification.d.ts +43 -17
- package/dist/utils/vendor-classification.d.ts.map +1 -1
- package/dist/utils/vendor-classification.js +73 -22
- package/package.json +1 -1
- package/src/components/ui/filter-checkbox-item.tsx +21 -5
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/vendor-tag.tsx +73 -69
- package/src/utils/format.ts +2 -3
- package/src/utils/index.ts +7 -5
- package/src/utils/vendor-classification.ts +113 -34
- package/dist/utils/format-text-stub.d.ts +0 -5
- package/dist/utils/format-text-stub.d.ts.map +0 -1
- package/dist/utils/format-text-stub.js +0 -20
- package/src/utils/format-text-stub.ts +0 -17
|
@@ -1,17 +1,51 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Boxes,
|
|
3
|
+
import { Boxes, Database, DollarSign, Hand, Plug, ShieldCheck, Sparkles } from "lucide-react";
|
|
4
|
+
import { createElement } from "react";
|
|
4
5
|
import { cn } from "../utils/cn.js";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import { formatClassification } from "../utils/format.js";
|
|
7
|
+
import { vendorClassificationCopy } from "../utils/vendor-classification.js";
|
|
8
|
+
import { resolveIcon } from "./chat/utils/icon-library.js";
|
|
9
|
+
const TONE_CLASS = {
|
|
10
|
+
accent: "text-ods-text-on-accent",
|
|
11
|
+
neutral: "text-ods-text-secondary",
|
|
12
|
+
warning: "text-ods-warning"
|
|
13
|
+
};
|
|
14
|
+
function VendorClassificationIcon({
|
|
15
|
+
classification,
|
|
16
|
+
accentColor,
|
|
17
|
+
className
|
|
18
|
+
}) {
|
|
19
|
+
const copy = vendorClassificationCopy(classification);
|
|
20
|
+
if (!copy?.icon) return null;
|
|
21
|
+
const icon = resolveIcon(copy.icon.name);
|
|
22
|
+
if (copy.group !== "license") {
|
|
23
|
+
const bareClass = copy.icon.tone === "accent" ? "text-ods-accent" : TONE_CLASS[copy.icon.tone];
|
|
24
|
+
return createElement(icon, {
|
|
25
|
+
size: copy.group === "openframe" ? 16 : 12,
|
|
26
|
+
className: cn("shrink-0", bareClass, className)
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const accent = copy.icon.tone === "accent";
|
|
30
|
+
return /* @__PURE__ */ jsx(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
className: cn(
|
|
34
|
+
"flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm",
|
|
35
|
+
accent ? "bg-ods-accent" : "bg-ods-border",
|
|
36
|
+
className
|
|
37
|
+
),
|
|
38
|
+
style: accent && accentColor ? { backgroundColor: accentColor } : void 0,
|
|
39
|
+
children: createElement(icon, { size: 10, className: TONE_CLASS[copy.icon.tone] })
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
function classificationTag(value, text, accentColor) {
|
|
44
|
+
const copy = vendorClassificationCopy(value);
|
|
11
45
|
return {
|
|
12
|
-
text: text ||
|
|
13
|
-
textColor: void 0,
|
|
14
|
-
icon: /* @__PURE__ */ jsx(
|
|
46
|
+
text: text || (copy?.group === "openframe" ? copy.word : void 0) || copy?.label || formatClassification(value),
|
|
47
|
+
textColor: copy?.group === "lifecycle" ? "text-ods-warning" : void 0,
|
|
48
|
+
icon: /* @__PURE__ */ jsx(VendorClassificationIcon, { classification: value, accentColor })
|
|
15
49
|
};
|
|
16
50
|
}
|
|
17
51
|
function VendorTag({ type, text, className = "", hidden = false, size = "md", accentColor }) {
|
|
@@ -40,22 +74,9 @@ function VendorTag({ type, text, className = "", hidden = false, size = "md", ac
|
|
|
40
74
|
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm", children: /* @__PURE__ */ jsx(Hand, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
41
75
|
};
|
|
42
76
|
case "open-source":
|
|
43
|
-
return
|
|
44
|
-
text: text || "Open Source",
|
|
45
|
-
icon: /* @__PURE__ */ jsx(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-accent",
|
|
49
|
-
style: accentColor ? { backgroundColor: accentColor } : void 0,
|
|
50
|
-
children: /* @__PURE__ */ jsx(Code, { width: 10, height: 10, className: "text-ods-text-on-accent" })
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
};
|
|
77
|
+
return classificationTag("open_source", text, accentColor);
|
|
54
78
|
case "commercial":
|
|
55
|
-
return
|
|
56
|
-
text: text || "Commercial Vendor",
|
|
57
|
-
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ jsx(DollarSign, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
58
|
-
};
|
|
79
|
+
return classificationTag("commercial", text);
|
|
59
80
|
// platform-capability tags — same neutral icon-box chrome as 'commercial'
|
|
60
81
|
case "api":
|
|
61
82
|
return {
|
|
@@ -102,31 +123,12 @@ function VendorTag({ type, text, className = "", hidden = false, size = "md", ac
|
|
|
102
123
|
text: text || "Recommended",
|
|
103
124
|
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-accent", children: /* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold text-ods-text-on-accent", children: "\u2605" }) })
|
|
104
125
|
};
|
|
105
|
-
case "classification":
|
|
106
|
-
|
|
107
|
-
if (classificationType === "open_source") {
|
|
108
|
-
return {
|
|
109
|
-
text: "Open Source",
|
|
110
|
-
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-accent", children: /* @__PURE__ */ jsx(Code, { width: 10, height: 10, className: "text-ods-text-on-accent" }) })
|
|
111
|
-
};
|
|
112
|
-
} else if (classificationType === "commercial") {
|
|
113
|
-
return {
|
|
114
|
-
text: "Commercial Vendor",
|
|
115
|
-
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ jsx(DollarSign, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
116
|
-
};
|
|
117
|
-
} else if (isOpenFrameClassification(classificationType)) {
|
|
118
|
-
return openFrameTag(classificationType);
|
|
119
|
-
} else {
|
|
120
|
-
return {
|
|
121
|
-
text: text || "Classification",
|
|
122
|
-
icon: /* @__PURE__ */ jsx("div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-accent", children: /* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold text-ods-text-on-accent", children: "C" }) })
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
+
case "classification":
|
|
127
|
+
return classificationTag((text ?? "").toLowerCase(), void 0, accentColor);
|
|
126
128
|
case "openframe_selected":
|
|
127
129
|
case "openframe_connect":
|
|
128
130
|
case "openframe_shipped":
|
|
129
|
-
return
|
|
131
|
+
return classificationTag(type, text);
|
|
130
132
|
default:
|
|
131
133
|
return {
|
|
132
134
|
text: text || type,
|
|
@@ -141,5 +143,6 @@ function VendorTag({ type, text, className = "", hidden = false, size = "md", ac
|
|
|
141
143
|
] });
|
|
142
144
|
}
|
|
143
145
|
export {
|
|
146
|
+
VendorClassificationIcon,
|
|
144
147
|
VendorTag
|
|
145
148
|
};
|
|
@@ -11,10 +11,10 @@ require('./chunk-DKOLQPE7.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkGPSHFEF2cjs = require('./chunk-GPSHFEF2.cjs');
|
|
15
|
+
require('./chunk-HNLI4OU5.cjs');
|
|
16
16
|
require('./chunk-NTGIQP7O.cjs');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-U6XWGK53.cjs');
|
|
18
18
|
require('./chunk-HQQE74RO.cjs');
|
|
19
19
|
require('./chunk-DEY6XXGO.cjs');
|
|
20
20
|
require('./chunk-4FWURR3W.cjs');
|
|
@@ -22,13 +22,13 @@ require('./chunk-LU7TD6QS.cjs');
|
|
|
22
22
|
require('./chunk-24I6RFVU.cjs');
|
|
23
23
|
require('./chunk-A6P6DHEZ.cjs');
|
|
24
24
|
require('./chunk-MZ4KBSH7.cjs');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-OWABNVDV.cjs');
|
|
26
26
|
require('./chunk-YUMFVQIN.cjs');
|
|
27
|
-
require('./chunk-
|
|
28
|
-
require('./chunk-
|
|
29
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-GSFANY2L.cjs');
|
|
28
|
+
require('./chunk-TILK7SC4.cjs');
|
|
29
|
+
require('./chunk-PSIKUDUV.cjs');
|
|
30
30
|
require('./chunk-3RFQPQ7Z.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-YRULLK7N.cjs');
|
|
32
32
|
require('./chunk-B27QEHYR.cjs');
|
|
33
33
|
require('./chunk-ZOZR3QI2.cjs');
|
|
34
34
|
require('./chunk-OMV5S5PI.cjs');
|
|
@@ -1826,12 +1826,12 @@ require('./chunk-7DNL734S.cjs');
|
|
|
1826
1826
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1827
1827
|
require('./chunk-SKI6NKOE.cjs');
|
|
1828
1828
|
require('./chunk-EWPR7662.cjs');
|
|
1829
|
-
require('./chunk-
|
|
1830
|
-
require('./chunk-
|
|
1829
|
+
require('./chunk-VZGCSVH7.cjs');
|
|
1830
|
+
require('./chunk-2ZVNXD74.cjs');
|
|
1831
1831
|
require('./chunk-QYLIHZKZ.cjs');
|
|
1832
1832
|
require('./chunk-63N4FN5V.cjs');
|
|
1833
|
-
require('./chunk-
|
|
1834
|
-
require('./chunk-
|
|
1833
|
+
require('./chunk-L2IQESTQ.cjs');
|
|
1834
|
+
require('./chunk-JHQNUWFM.cjs');
|
|
1835
1835
|
require('./chunk-S5C3OZCO.cjs');
|
|
1836
1836
|
require('./chunk-32ASZMTV.cjs');
|
|
1837
1837
|
require('./chunk-OOYBIS7D.cjs');
|
|
@@ -1865,14 +1865,14 @@ require('./chunk-3ATAYP36.cjs');
|
|
|
1865
1865
|
// src/components/product-demo/screens/devices.tsx
|
|
1866
1866
|
var _react = require('react');
|
|
1867
1867
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1868
|
-
var TOOLBAR = { ...
|
|
1868
|
+
var TOOLBAR = { ..._chunkGPSHFEF2cjs.IDLE_DEVICES_TOOLBAR, searchValue: _chunk7AM3AFM4cjs.DEVICES_SEARCH_QUERY };
|
|
1869
1869
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
1870
1870
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
1871
1871
|
function DevicesScreen({ compact = false }) {
|
|
1872
1872
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1873
1873
|
const fixture = _react.useMemo.call(void 0, () => _chunk7AM3AFM4cjs.buildWindowsDevicesFixture.call(void 0, cast), [cast]);
|
|
1874
1874
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1875
|
-
|
|
1875
|
+
_chunkGPSHFEF2cjs.DevicesPanelView,
|
|
1876
1876
|
{
|
|
1877
1877
|
className: "p-[var(--spacing-system-l)]",
|
|
1878
1878
|
headerSlot: NO_HEADER,
|