@flamingo-stack/openframe-frontend-core 0.0.795 → 0.0.797
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/case-study-card-K6HYMHL6.cjs +23 -0
- package/dist/{chunk-QVC5CMC5.cjs → chunk-2JCY5KQL.cjs} +4 -4
- package/dist/{chunk-QDW64E6T.cjs → chunk-3H3CQ7BQ.cjs} +541 -538
- package/dist/{chunk-ZCMXBX4Z.cjs → chunk-3NGJ7NPT.cjs} +61 -61
- package/dist/{chunk-ZIMPE7D5.cjs → chunk-4M5JIVAH.cjs} +3 -3
- package/dist/{chunk-AT4C2YMA.cjs → chunk-4WIJI4AK.cjs} +17 -17
- package/dist/{chunk-OK467OQJ.cjs → chunk-5CEXT3V7.cjs} +37 -37
- package/dist/{chunk-75PJ2SAZ.cjs → chunk-5RGGUQ4Y.cjs} +2 -2
- package/dist/{chunk-UCHO4BOS.cjs → chunk-6GCXQIUU.cjs} +5 -5
- package/dist/{chunk-7VXMO4XJ.cjs → chunk-6UKH22NQ.cjs} +32 -30
- package/dist/{chunk-43ZVXQJK.cjs → chunk-7AMU2ZD2.cjs} +60 -60
- package/dist/{chunk-4BYNNQBC.cjs → chunk-7GFKJGWH.cjs} +116 -116
- package/dist/{chunk-6YZNUHXT.cjs → chunk-7JWFMAQB.cjs} +8 -2
- package/dist/{chunk-2KLYMAHF.cjs → chunk-7MLK7BGF.cjs} +10 -10
- package/dist/{chunk-BIYLAAFI.cjs → chunk-7MV23NNT.cjs} +54 -54
- package/dist/{chunk-K7I3YYYU.cjs → chunk-AHBTZ7DN.cjs} +44 -44
- package/dist/{chunk-KQPU5N7T.cjs → chunk-BUCCV72E.cjs} +13 -13
- package/dist/{chunk-CWA6J7KC.cjs → chunk-BWR5ACK3.cjs} +45 -45
- package/dist/{chunk-IQTVKPRG.cjs → chunk-CHF6PHOR.cjs} +46 -46
- package/dist/{chunk-FYHXMHY6.cjs → chunk-CO6FB4DR.cjs} +31 -31
- package/dist/{chunk-PQIWR4Q2.cjs → chunk-DTBIIFZG.cjs} +63 -63
- package/dist/{chunk-RPC4P7GY.cjs → chunk-E56LN23H.cjs} +205 -205
- package/dist/{chunk-YPKAMHYA.cjs → chunk-FFEE2ON2.cjs} +2129 -2012
- package/dist/{chunk-A6E5ZNQR.cjs → chunk-GAFNJDZV.cjs} +13 -13
- package/dist/{chunk-JRTDBPJT.cjs → chunk-GD47ZGOU.cjs} +3 -3
- package/dist/{chunk-HBAVHYXO.cjs → chunk-HATRCNXJ.cjs} +2 -2
- package/dist/{chunk-3XAFK4WH.cjs → chunk-IS77JFF6.cjs} +17 -17
- package/dist/{chunk-QVKWKY4O.cjs → chunk-JTIGKLKJ.cjs} +23 -23
- package/dist/{chunk-DRWPSN3A.cjs → chunk-KUXHXLJQ.cjs} +5 -5
- package/dist/{chunk-YYKXX5NA.cjs → chunk-KWINW3FC.cjs} +44 -44
- package/dist/{chunk-U4D4ABXK.cjs → chunk-LAJNO2EW.cjs} +171 -171
- package/dist/{chunk-GD6RPLHX.cjs → chunk-LKQ33CMY.cjs} +3 -3
- package/dist/{chunk-FOWQ4XTB.cjs → chunk-NBUHCGGG.cjs} +8 -8
- package/dist/{chunk-HJBJHQKE.cjs → chunk-NG3RKTQU.cjs} +16 -16
- package/dist/{chunk-HYF4LPXF.cjs → chunk-NL3G642U.cjs} +10 -10
- package/dist/{chunk-NGGEYE5R.cjs → chunk-NX4QOEPJ.cjs} +22 -22
- package/dist/{chunk-6VP5UWZG.cjs → chunk-OZUUCVDZ.cjs} +19 -19
- package/dist/{chunk-JXQNECXM.cjs → chunk-P4B6PVSG.cjs} +7 -7
- package/dist/{chunk-BFCGOHQG.cjs → chunk-PBL66EVT.cjs} +51 -51
- package/dist/{chunk-FYPVCCCV.cjs → chunk-QKXXHOOD.cjs} +321 -321
- package/dist/{chunk-IJ23KNYI.cjs → chunk-RD57WBJK.cjs} +4 -4
- package/dist/{chunk-HCXNFMLO.cjs → chunk-TTZEDDR5.cjs} +14 -14
- package/dist/{chunk-NIW4ETGC.cjs → chunk-UKLSEI7S.cjs} +6 -6
- package/dist/{chunk-CLEZ6TWZ.cjs → chunk-VFCPLZFY.cjs} +110 -110
- package/dist/{chunk-72NE4G63.cjs → chunk-VVLL37EM.cjs} +12 -12
- package/dist/{chunk-LL6PXI6C.cjs → chunk-XR323UBY.cjs} +4 -4
- package/dist/{chunk-UN6LC5PK.cjs → chunk-YBTORXFY.cjs} +110 -110
- package/dist/{chunk-HXL7AUPG.cjs → chunk-YHCC3BLP.cjs} +42 -42
- package/dist/{chunk-F73DM65J.cjs → chunk-YMWK7GOC.cjs} +197 -197
- package/dist/{chunk-RFIBRGXG.cjs → chunk-YR74H7Z3.cjs} +7 -7
- package/dist/{chunk-RKWEFZ6P.cjs → chunk-ZD6SZLO2.cjs} +3 -3
- package/dist/{chunk-6TUI5KQS.cjs → chunk-ZPTHTGHK.cjs} +62 -62
- package/dist/{cloud-tenants-Z3AYAXF5.cjs → cloud-tenants-THCY3N2P.cjs} +32 -32
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/index.cjs +52 -52
- package/dist/components/chat/index.cjs +26 -26
- package/dist/components/contact/index.cjs +33 -33
- package/dist/components/docs/index.cjs +36 -36
- package/dist/components/embeds/index.cjs +33 -33
- package/dist/components/faq/index.cjs +34 -34
- package/dist/components/features/index.cjs +32 -32
- package/dist/components/help-center-pages/index.cjs +163 -163
- package/dist/components/index.cjs +218 -204
- package/dist/components/meeting-scheduler/index.cjs +191 -191
- package/dist/components/navigation/index.cjs +35 -35
- package/dist/components/onboarding-guides/index.cjs +35 -35
- package/dist/components/product-demo/index.cjs +45 -45
- package/dist/components/related-content/index.cjs +17 -17
- package/dist/components/tickets/index.cjs +39 -39
- package/dist/components/ui/button/button-styles.d.ts +6 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +7 -1
- package/dist/components/ui/file-manager/index.cjs +55 -55
- package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
- package/dist/components/ui/floating-tooltip.js +3 -1
- package/dist/components/ui/index.cjs +46 -32
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +6 -3
- package/dist/components/ui/trendline.d.ts +60 -0
- package/dist/components/ui/trendline.d.ts.map +1 -0
- package/dist/components/ui/trendline.js +121 -0
- package/dist/{devices-P6XQL23S.cjs → devices-N4EF5QDS.cjs} +33 -33
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/{embeddable-chat-6BNLOSBB.cjs → embeddable-chat-7Z2OQK3X.cjs} +115 -115
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +62 -48
- package/dist/{knowledge-IU5ORU7U.cjs → knowledge-TL4DSXYQ.cjs} +33 -33
- package/dist/{logs-DCFTQVKA.cjs → logs-4VRUBGKE.cjs} +41 -41
- package/dist/{policies-ESC6XCVH.cjs → policies-TLNVCQGG.cjs} +36 -36
- package/dist/{remote-session-4ZNTOLOQ.cjs → remote-session-4LYKEZSY.cjs} +17 -17
- package/dist/{scripts-24PIP2VO.cjs → scripts-4LFWHIMH.cjs} +39 -39
- package/dist/{software-update-47GDTKMI.cjs → software-update-J4ZXQABW.cjs} +36 -36
- package/dist/{tickets-board-X4GHEKPB.cjs → tickets-board-3FBVYSXR.cjs} +17 -17
- package/dist/{video-file-player-HZPMCCYF.cjs → video-file-player-2FMFCGXE.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/ui/button/button-styles.ts +11 -1
- package/src/components/ui/floating-tooltip.tsx +4 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/tabs.tsx +5 -2
- package/src/components/ui/trendline.tsx +221 -0
- package/dist/case-study-card-KU4ZIONR.cjs +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3H3CQ7BQcjs = require('./chunk-3H3CQ7BQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunk3H3CQ7BQcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkYMWK7GOCcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGD47ZGOUcjs = require('./chunk-GD47ZGOU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
|
|
15
15
|
|
|
16
16
|
// src/components/ui/field-value-skeleton.tsx
|
|
17
17
|
var _jsxruntime = require('react/jsx-runtime');
|
|
18
18
|
function FieldValueSkeleton() {
|
|
19
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: _chunk4WIJI4AKcjs.FIELD_VALUE_SKELETON_CLASS });
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// src/components/ui/required-mark.tsx
|
|
@@ -48,14 +48,14 @@ var FieldWrapper = _react.forwardRef.call(void 0,
|
|
|
48
48
|
children
|
|
49
49
|
}, ref) => {
|
|
50
50
|
const hasChrome = label != null || error != null || errorSlot;
|
|
51
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className:
|
|
51
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, hasChrome ? "relative flex w-full flex-col" : "contents", className), children: [
|
|
52
52
|
label && // Default is text-h6, NOT text-h4: `Field` (ui/field.tsx) renders its label via
|
|
53
53
|
// `Label variant="small"` = text-h6, and every form that mixes
|
|
54
54
|
// Field-wrapped controls with `label=`-prop controls showed two label
|
|
55
55
|
// sizes side by side — the exact inconsistency the admin editors kept
|
|
56
56
|
// reporting. One label scale, owned here and in Field together.
|
|
57
57
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
58
|
-
|
|
58
|
+
_chunkGD47ZGOUcjs.Label,
|
|
59
59
|
{
|
|
60
60
|
id: htmlFor ? fieldLabelId(htmlFor) : void 0,
|
|
61
61
|
className: "mb-1",
|
|
@@ -71,7 +71,7 @@ var FieldWrapper = _react.forwardRef.call(void 0,
|
|
|
71
71
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
72
|
"p",
|
|
73
73
|
{
|
|
74
|
-
className:
|
|
74
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
75
75
|
"absolute bottom-0 left-0 right-0 translate-y-full truncate text-h6",
|
|
76
76
|
errorVariantClasses[errorVariant]
|
|
77
77
|
),
|
|
@@ -112,13 +112,13 @@ var Input = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
112
112
|
const errorSlot = "error" in allProps;
|
|
113
113
|
const variantIsInvalid = errorVariant === "error" || errorVariant === "warning";
|
|
114
114
|
const isInvalid = invalid || !!error && variantIsInvalid;
|
|
115
|
-
const inScope =
|
|
115
|
+
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) && !userValue;
|
|
116
116
|
if (type === "range") {
|
|
117
117
|
const rangeInput = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
118
|
"input",
|
|
119
119
|
{
|
|
120
120
|
type: "range",
|
|
121
|
-
className:
|
|
121
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
122
122
|
"h-1 w-full cursor-pointer appearance-none rounded-full bg-white/30",
|
|
123
123
|
// Webkit (Chrome/Safari) thumb
|
|
124
124
|
"[&::-webkit-slider-thumb]:appearance-none",
|
|
@@ -152,15 +152,15 @@ var Input = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
152
152
|
) : rangeInput;
|
|
153
153
|
}
|
|
154
154
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
155
|
-
|
|
155
|
+
_chunkGD47ZGOUcjs.Label,
|
|
156
156
|
{
|
|
157
157
|
variant: "surface",
|
|
158
158
|
"data-invalid": isInvalid || void 0,
|
|
159
|
-
className:
|
|
159
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
160
160
|
// Layout & spacing
|
|
161
161
|
"flex w-full cursor-text items-center gap-2 border px-3",
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
_chunk4WIJI4AKcjs.INPUT_HEIGHT_CLASS,
|
|
163
|
+
_chunk4WIJI4AKcjs.INPUT_RADIUS_CLASS,
|
|
164
164
|
// Focus-within states
|
|
165
165
|
"has-[:focus-visible]:outline-none",
|
|
166
166
|
"group",
|
|
@@ -191,7 +191,7 @@ var Input = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
191
191
|
{
|
|
192
192
|
type,
|
|
193
193
|
hidden: inScope || props.hidden,
|
|
194
|
-
className:
|
|
194
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
195
195
|
// Layout
|
|
196
196
|
"min-w-0 flex-1 border-none bg-transparent outline-none",
|
|
197
197
|
// Typography
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCO6FB4DRcjs = require('./chunk-CO6FB4DR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFFEE2ON2cjs = require('./chunk-FFEE2ON2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -36,8 +36,8 @@ function FaqDocumentPage({
|
|
|
36
36
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
37
37
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
38
38
|
};
|
|
39
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
39
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
+
_chunkCO6FB4DRcjs.FaqSection,
|
|
41
41
|
{
|
|
42
42
|
initialFaqs,
|
|
43
43
|
heading: null,
|
|
@@ -53,7 +53,7 @@ function FaqDocumentPage({
|
|
|
53
53
|
skeletonNav
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|