@flamingo-stack/openframe-frontend-core 0.0.796 → 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/case-study-card-K6HYMHL6.cjs +23 -0
- package/dist/{chunk-QVC5CMC5.cjs → chunk-2JCY5KQL.cjs} +4 -4
- package/dist/{chunk-Y3IMXLLL.cjs → chunk-3H3CQ7BQ.cjs} +541 -538
- package/dist/{chunk-IONS6HDF.cjs → chunk-3NGJ7NPT.cjs} +61 -61
- package/dist/{chunk-ZRME3A2D.cjs → chunk-4M5JIVAH.cjs} +3 -3
- package/dist/{chunk-AT4C2YMA.cjs → chunk-4WIJI4AK.cjs} +17 -17
- package/dist/{chunk-UYOGZJPE.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-GP7NV6BK.cjs → chunk-6UKH22NQ.cjs} +29 -29
- package/dist/{chunk-CC7NRWRF.cjs → chunk-7AMU2ZD2.cjs} +60 -60
- package/dist/{chunk-JC43ULIC.cjs → chunk-7GFKJGWH.cjs} +116 -116
- package/dist/{chunk-6YZNUHXT.cjs → chunk-7JWFMAQB.cjs} +8 -2
- package/dist/{chunk-PALMLL5T.cjs → chunk-7MLK7BGF.cjs} +10 -10
- package/dist/{chunk-TUD7BV6O.cjs → chunk-7MV23NNT.cjs} +54 -54
- package/dist/{chunk-K7I3YYYU.cjs → chunk-AHBTZ7DN.cjs} +44 -44
- package/dist/{chunk-ZMWSN2BD.cjs → chunk-BUCCV72E.cjs} +13 -13
- package/dist/{chunk-CWA6J7KC.cjs → chunk-BWR5ACK3.cjs} +45 -45
- package/dist/{chunk-VUP7ZGZS.cjs → chunk-CHF6PHOR.cjs} +46 -46
- package/dist/{chunk-6JCTKXHX.cjs → chunk-CO6FB4DR.cjs} +31 -31
- package/dist/{chunk-G24OX7AC.cjs → chunk-DTBIIFZG.cjs} +63 -63
- package/dist/{chunk-F64GLU75.cjs → chunk-E56LN23H.cjs} +205 -205
- package/dist/{chunk-QMDXG3VF.cjs → chunk-FFEE2ON2.cjs} +2015 -2015
- package/dist/{chunk-W4QITOT7.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-OKAHKZP2.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-VYXNGADV.cjs → chunk-KWINW3FC.cjs} +44 -44
- package/dist/{chunk-XVVQJXOA.cjs → chunk-LAJNO2EW.cjs} +171 -171
- package/dist/{chunk-GD6RPLHX.cjs → chunk-LKQ33CMY.cjs} +3 -3
- package/dist/{chunk-N3J4U7ML.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-XFJ7BZDJ.cjs → chunk-NX4QOEPJ.cjs} +22 -22
- package/dist/{chunk-7SEY3FDF.cjs → chunk-OZUUCVDZ.cjs} +19 -19
- package/dist/{chunk-JXQNECXM.cjs → chunk-P4B6PVSG.cjs} +7 -7
- package/dist/{chunk-7VU4HHUR.cjs → chunk-PBL66EVT.cjs} +51 -51
- package/dist/{chunk-JGURZROB.cjs → chunk-QKXXHOOD.cjs} +321 -321
- package/dist/{chunk-NAJ24ODA.cjs → chunk-RD57WBJK.cjs} +4 -4
- package/dist/{chunk-HCXNFMLO.cjs → chunk-TTZEDDR5.cjs} +14 -14
- package/dist/{chunk-YFHKBIZT.cjs → chunk-UKLSEI7S.cjs} +6 -6
- package/dist/{chunk-QCN46LDL.cjs → chunk-VFCPLZFY.cjs} +110 -110
- package/dist/{chunk-CFXCCQ6T.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-6WXP5IKR.cjs → chunk-YHCC3BLP.cjs} +42 -42
- package/dist/{chunk-NRAH3M66.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-II4A2RUG.cjs → chunk-ZPTHTGHK.cjs} +62 -62
- package/dist/{cloud-tenants-BQUWLMYY.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 +204 -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/index.cjs +32 -32
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +6 -3
- package/dist/{devices-BFQOLI3D.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-INYF23ST.cjs → embeddable-chat-7Z2OQK3X.cjs} +115 -115
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +48 -48
- package/dist/{knowledge-GGYWTYTP.cjs → knowledge-TL4DSXYQ.cjs} +33 -33
- package/dist/{logs-NO55PTIO.cjs → logs-4VRUBGKE.cjs} +41 -41
- package/dist/{policies-AAFYTVOJ.cjs → policies-TLNVCQGG.cjs} +36 -36
- package/dist/{remote-session-2CNWLF3P.cjs → remote-session-4LYKEZSY.cjs} +17 -17
- package/dist/{scripts-H4ECJ65X.cjs → scripts-4LFWHIMH.cjs} +39 -39
- package/dist/{software-update-NEEGQBK3.cjs → software-update-J4ZXQABW.cjs} +36 -36
- package/dist/{tickets-board-CXYRAMDL.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/tabs.tsx +5 -2
- package/dist/case-study-card-KU4ZIONR.cjs +0 -23
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk6UKH22NQcjs = require('./chunk-6UKH22NQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
|
|
13
13
|
|
|
14
14
|
// src/components/ui/avatar-stack.tsx
|
|
15
15
|
var _jsxruntime = require('react/jsx-runtime');
|
|
@@ -35,14 +35,14 @@ function AvatarStackSkeleton({
|
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
37
|
"aria-hidden": true,
|
|
38
|
-
className:
|
|
38
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, STACK_ROW_CLASS, slots && "shrink-0", className),
|
|
39
39
|
style: slotsWidthStyle(size, slots),
|
|
40
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41
|
-
|
|
40
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41
|
+
_chunk4WIJI4AKcjs.UnifiedSkeleton,
|
|
42
42
|
{
|
|
43
43
|
"data-loading-item": true,
|
|
44
44
|
variant: "circular",
|
|
45
|
-
className:
|
|
45
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative shrink-0 ring-2 ring-ods-card", i > 0 && overlapClass(size)),
|
|
46
46
|
width: SIZE_PX[size],
|
|
47
47
|
height: SIZE_PX[size]
|
|
48
48
|
}
|
|
@@ -61,7 +61,7 @@ function AvatarStack({
|
|
|
61
61
|
className,
|
|
62
62
|
loading: loadingProp
|
|
63
63
|
}) {
|
|
64
|
-
const loading =
|
|
64
|
+
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
65
65
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarStackSkeleton, { count: _nullishCoalesce(slots, () => ( max)), size, slots, className });
|
|
66
66
|
if (people.length === 0) return null;
|
|
67
67
|
const groupSize = Math.max(_nullishCoalesce(total, () => ( people.length)), people.length);
|
|
@@ -75,13 +75,13 @@ function AvatarStack({
|
|
|
75
75
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
76
76
|
"div",
|
|
77
77
|
{
|
|
78
|
-
className:
|
|
78
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, STACK_ROW_CLASS, slots && "shrink-0", className),
|
|
79
79
|
style: slotsWidthStyle(size, slots),
|
|
80
80
|
role: "group",
|
|
81
81
|
"aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
|
|
82
82
|
children: [
|
|
83
83
|
visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
84
|
-
|
|
84
|
+
_chunk6UKH22NQcjs.SquareAvatar,
|
|
85
85
|
{
|
|
86
86
|
"data-loading-item": true,
|
|
87
87
|
variant: "round",
|
|
@@ -90,7 +90,7 @@ function AvatarStack({
|
|
|
90
90
|
alt: person.name,
|
|
91
91
|
fallback: person.name,
|
|
92
92
|
title: person.name,
|
|
93
|
-
className:
|
|
93
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative ring-2", ringClassName, i > 0 && overlapClass(size)),
|
|
94
94
|
style: { zIndex: visible.length - i }
|
|
95
95
|
},
|
|
96
96
|
_nullishCoalesce(person.key, () => ( `${person.name}-${i}`))
|
|
@@ -99,7 +99,7 @@ function AvatarStack({
|
|
|
99
99
|
"span",
|
|
100
100
|
{
|
|
101
101
|
title: overflow.length > 0 ? overflow.map((p) => p.name).join(", ") : `${overflowCount} more`,
|
|
102
|
-
className:
|
|
102
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
103
103
|
"relative z-0 flex shrink-0 items-center justify-center rounded-full bg-ods-bg text-ods-text-secondary ring-2",
|
|
104
104
|
ringClassName,
|
|
105
105
|
// The circle tucks under the last face like every other avatar, so
|
|
@@ -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 _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
|
|
11
11
|
|
|
12
12
|
// src/hooks/ui/use-image-edge-color.ts
|
|
13
13
|
var _react = require('react');
|
|
@@ -67,7 +67,7 @@ function extractEdgeColor(img) {
|
|
|
67
67
|
return `rgb(${r}, ${g}, ${b})`;
|
|
68
68
|
}
|
|
69
69
|
function useImageEdgeColor(givenUrl, fallback = "#000000") {
|
|
70
|
-
const imageUrl =
|
|
70
|
+
const imageUrl = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) ? null : givenUrl;
|
|
71
71
|
const [color, setColor] = _react.useState.call(void 0, fallback);
|
|
72
72
|
const [resetFor, setResetFor] = _react.useState.call(void 0, { imageUrl, fallback });
|
|
73
73
|
if (resetFor.imageUrl !== imageUrl || resetFor.fallback !== fallback) {
|
|
@@ -87,7 +87,7 @@ function useImageEdgeColor(givenUrl, fallback = "#000000") {
|
|
|
87
87
|
setColor(fallback);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const sampleUrl =
|
|
90
|
+
const sampleUrl = _chunkKUXHXLJQcjs.resizedImageUrl.call(void 0, imageUrl, EDGE_SAMPLE_WIDTH_PX);
|
|
91
91
|
let triedOriginal = sampleUrl === imageUrl;
|
|
92
92
|
img.onerror = () => {
|
|
93
93
|
if (cancelled) return;
|