@flamingo-stack/openframe-frontend-core 0.0.713 → 0.0.714

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.
Files changed (68) hide show
  1. package/dist/{chunk-STPC2AQU.js → chunk-2LZ3IYGT.js} +1 -1
  2. package/dist/{chunk-3BB3IEJI.js → chunk-4GFAKUHF.js} +1 -1
  3. package/dist/{chunk-KGAFUXGZ.cjs → chunk-5MMCYJAJ.cjs} +11 -11
  4. package/dist/{chunk-IU4IO3CG.js → chunk-AQI74KC7.js} +3 -3
  5. package/dist/{chunk-6MNAIQNR.js → chunk-BIFUUH4K.js} +3 -3
  6. package/dist/{chunk-P6QCJXLD.js → chunk-DI5VLY3G.js} +1 -1
  7. package/dist/{chunk-TC4W7QDC.cjs → chunk-E25A235W.cjs} +3 -3
  8. package/dist/{chunk-IJKMILMG.cjs → chunk-EORJFB2Z.cjs} +2 -2
  9. package/dist/{chunk-YIUSW4DB.cjs → chunk-GXHWSAV6.cjs} +15 -15
  10. package/dist/{chunk-KPUHSVJU.js → chunk-JHSPIDV5.js} +1 -1
  11. package/dist/{chunk-RBVUIOIM.js → chunk-KSEOIICU.js} +2 -2
  12. package/dist/{chunk-KMB7JHGG.cjs → chunk-LTLHCAZY.cjs} +4 -4
  13. package/dist/{chunk-RRYNHAEL.js → chunk-OQVGA3YE.js} +1 -1
  14. package/dist/{chunk-CGHOH3GN.js → chunk-QW7KTWLB.js} +2 -2
  15. package/dist/{chunk-3QGUDPIH.cjs → chunk-S66W6HNZ.cjs} +10 -10
  16. package/dist/{chunk-F2EACDOR.cjs → chunk-U4WCFIYB.cjs} +22 -22
  17. package/dist/{chunk-H4J72PRA.js → chunk-VBDGMXZO.js} +1 -1
  18. package/dist/{chunk-6F4QOCGB.js → chunk-VKIRTB7K.js} +1 -1
  19. package/dist/{chunk-QU4AHNRL.cjs → chunk-W4CS6UJS.cjs} +3 -3
  20. package/dist/{chunk-QQQ46DFT.cjs → chunk-WEEZSGFD.cjs} +23 -23
  21. package/dist/{chunk-J7YIQJPS.cjs → chunk-XFFIUXVI.cjs} +2 -2
  22. package/dist/{chunk-OQKRXLTZ.cjs → chunk-ZSJ6WWFH.cjs} +1 -1
  23. package/dist/{cloud-tenants-HRJYNUJM.cjs → cloud-tenants-MI7APZJD.cjs} +2 -2
  24. package/dist/{cloud-tenants-SM7WLEGG.js → cloud-tenants-NSEVWC26.js} +1 -1
  25. package/dist/components/case-studies/index.cjs +10 -10
  26. package/dist/components/case-studies/index.js +2 -2
  27. package/dist/components/contact/index.cjs +3 -3
  28. package/dist/components/contact/index.js +2 -2
  29. package/dist/components/docs/index.cjs +5 -5
  30. package/dist/components/docs/index.js +4 -4
  31. package/dist/components/embeds/index.cjs +3 -3
  32. package/dist/components/embeds/index.js +2 -2
  33. package/dist/components/faq/index.cjs +3 -3
  34. package/dist/components/faq/index.js +2 -2
  35. package/dist/components/features/approval-level.d.ts +5 -1
  36. package/dist/components/features/approval-level.d.ts.map +1 -1
  37. package/dist/components/features/index.cjs +2 -2
  38. package/dist/components/features/index.js +1 -1
  39. package/dist/components/help-center-pages/index.cjs +39 -39
  40. package/dist/components/help-center-pages/index.js +10 -10
  41. package/dist/components/index.cjs +18 -18
  42. package/dist/components/index.js +8 -8
  43. package/dist/components/meeting-scheduler/index.cjs +11 -11
  44. package/dist/components/meeting-scheduler/index.js +1 -1
  45. package/dist/components/navigation/index.cjs +3 -3
  46. package/dist/components/navigation/index.js +2 -2
  47. package/dist/components/onboarding-guides/index.cjs +4 -4
  48. package/dist/components/onboarding-guides/index.js +3 -3
  49. package/dist/components/product-demo/index.cjs +6 -6
  50. package/dist/components/product-demo/index.js +6 -6
  51. package/dist/components/tickets/index.cjs +5 -5
  52. package/dist/components/tickets/index.js +4 -4
  53. package/dist/components/ui/index.cjs +2 -2
  54. package/dist/components/ui/index.js +1 -1
  55. package/dist/{devices-6XKQTQM5.cjs → devices-6NMK4EXV.cjs} +3 -3
  56. package/dist/{devices-LXSFGGEZ.js → devices-W3VKQEVZ.js} +1 -1
  57. package/dist/index.cjs +3 -3
  58. package/dist/index.js +2 -2
  59. package/dist/{knowledge-7PDZLXPO.cjs → knowledge-GDMGHFEC.cjs} +2 -2
  60. package/dist/{knowledge-Q4SPFOTN.js → knowledge-YWCB7HNC.js} +1 -1
  61. package/dist/{logs-TO3NELGJ.cjs → logs-7QDRV3GN.cjs} +10 -10
  62. package/dist/{logs-SZ4VB4FE.js → logs-E742S5A2.js} +1 -1
  63. package/dist/{policies-533GQVFM.cjs → policies-BEVF6AEM.cjs} +6 -6
  64. package/dist/{policies-LB7VW2UB.js → policies-XTPAKRHI.js} +1 -1
  65. package/dist/{software-update-ENZNVGKP.js → software-update-FXWIEKSW.js} +1 -1
  66. package/dist/{software-update-DT2XSG7M.cjs → software-update-KPHX4XQ7.cjs} +6 -6
  67. package/package.json +1 -1
  68. package/src/components/features/approval-level.tsx +6 -2
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  isMegaMenu,
34
34
  navLinkLabel,
35
35
  siteNavHasMobileMenus
36
- } from "./chunk-KPUHSVJU.js";
36
+ } from "./chunk-JHSPIDV5.js";
37
37
  import {
38
38
  MobileNavigationDropdown,
39
39
  MultiLevelNavigation,
@@ -565,7 +565,7 @@ import {
565
565
  useTrackerClock,
566
566
  useWalkthroughVideo,
567
567
  usersCountLabel
568
- } from "./chunk-STPC2AQU.js";
568
+ } from "./chunk-2LZ3IYGT.js";
569
569
  import {
570
570
  Board,
571
571
  BoardColumn,
@@ -8,7 +8,7 @@ var _chunkII4QMH26cjs = require('./chunk-II4QMH26.cjs');
8
8
  var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
9
9
 
10
10
 
11
- var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
11
+ var _chunkZSJ6WWFHcjs = require('./chunk-ZSJ6WWFH.cjs');
12
12
  require('./chunk-4HJRHEXD.cjs');
13
13
  require('./chunk-HQQE74RO.cjs');
14
14
  require('./chunk-DEY6XXGO.cjs');
@@ -96,7 +96,7 @@ function KnowledgeScreen(_props) {
96
96
  const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
97
97
  const fixture = _react.useMemo.call(void 0, () => buildKnowledgeFixture(cast), [cast]);
98
98
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
99
- _chunkOQKRXLTZcjs.KnowledgeBaseArticleView,
99
+ _chunkZSJ6WWFHcjs.KnowledgeBaseArticleView,
100
100
  {
101
101
  ...fixture.article,
102
102
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHETQETPVcjs.SimpleMarkdownRenderer, { content: fixture.content, textSize: "compact" })
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-CYUUHFXL.js";
9
9
  import {
10
10
  KnowledgeBaseArticleView
11
- } from "./chunk-STPC2AQU.js";
11
+ } from "./chunk-2LZ3IYGT.js";
12
12
  import "./chunk-ILNN6QRW.js";
13
13
  import "./chunk-LQYXMEYF.js";
14
14
  import "./chunk-4JPLYOS6.js";
@@ -16,7 +16,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
19
+ var _chunkZSJ6WWFHcjs = require('./chunk-ZSJ6WWFH.cjs');
20
20
  require('./chunk-4HJRHEXD.cjs');
21
21
  require('./chunk-HQQE74RO.cjs');
22
22
  require('./chunk-DEY6XXGO.cjs');
@@ -77,7 +77,7 @@ function entry(logId, minutesAgo, severity, toolType, device2, summary) {
77
77
  id: logId,
78
78
  logId,
79
79
  timestamp: displayTime(_chunkKHXZFLINcjs.demoMinutesAgo.call(void 0, minutesAgo)),
80
- status: { label: severity, variant: _chunkOQKRXLTZcjs.logSeverityVariant.call(void 0, severity) },
80
+ status: { label: severity, variant: _chunkZSJ6WWFHcjs.logSeverityVariant.call(void 0, severity) },
81
81
  source: { name: toolType, toolType },
82
82
  device: device2,
83
83
  description: { title: summary }
@@ -149,13 +149,13 @@ var NO_FILTERS = {};
149
149
  var ACTION_COLUMNS = ["copy", "quickView", "open"];
150
150
  var BESIDE_DRAWER_HIDDEN = [...ACTION_COLUMNS, "tool", "source"];
151
151
  var logHref = () => "#";
152
- var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.LogCopyIconButton, {});
152
+ var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSJ6WWFHcjs.LogCopyIconButton, {});
153
153
  function LogsScreen({ compact = false }) {
154
154
  const [dock, setDock] = _react.useState.call(void 0, null);
155
155
  const selected = LOGS_FIXTURE_SELECTED;
156
156
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full bg-ods-bg", children: [
157
157
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-clip", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
158
- _chunkOQKRXLTZcjs.LogsPageView,
158
+ _chunkZSJ6WWFHcjs.LogsPageView,
159
159
  {
160
160
  showHeader: false,
161
161
  className: "p-[var(--spacing-system-l)]",
@@ -163,7 +163,7 @@ function LogsScreen({ compact = false }) {
163
163
  onSearchChange: noop,
164
164
  onOpenFilters: noop,
165
165
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
166
- _chunkOQKRXLTZcjs.LogsTableView,
166
+ _chunkZSJ6WWFHcjs.LogsTableView,
167
167
  {
168
168
  logs: LOGS_FIXTURE_ENTRIES,
169
169
  facets: LOGS_FIXTURE_FACETS,
@@ -177,8 +177,8 @@ function LogsScreen({ compact = false }) {
177
177
  )
178
178
  }
179
179
  ) }),
180
- !compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setDock, className: "relative w-[calc(400px+var(--spacing-system-m))] shrink-0", children: dock && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
181
- _chunkOQKRXLTZcjs.LogDrawer,
180
+ !compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setDock, className: "relative w-[calc(400px+var(--spacing-system-m))] shrink-0", children: dock && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSJ6WWFHcjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
181
+ _chunkZSJ6WWFHcjs.LogDrawer,
182
182
  {
183
183
  docked: true,
184
184
  isOpen: true,
@@ -190,12 +190,12 @@ function LogsScreen({ compact = false }) {
190
190
  { label: "Log ID", value: selected.logId },
191
191
  {
192
192
  label: "Source",
193
- value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.ToolBadge, { toolType: _chunkHETQETPVcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
193
+ value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSJ6WWFHcjs.ToolBadge, { toolType: _chunkHETQETPVcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
194
194
  },
195
- { label: "Device", value: _chunkOQKRXLTZcjs.logSourceLabels.call(void 0, selected.device).deviceName }
195
+ { label: "Device", value: _chunkZSJ6WWFHcjs.logSourceLabels.call(void 0, selected.device).deviceName }
196
196
  ],
197
197
  deviceCard: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
198
- _chunkOQKRXLTZcjs.DeviceCard,
198
+ _chunkZSJ6WWFHcjs.DeviceCard,
199
199
  {
200
200
  ...LOGS_FIXTURE_DEVICE,
201
201
  actions: {
@@ -16,7 +16,7 @@ import {
16
16
  ToolBadge,
17
17
  logSeverityVariant,
18
18
  logSourceLabels
19
- } from "./chunk-STPC2AQU.js";
19
+ } from "./chunk-2LZ3IYGT.js";
20
20
  import "./chunk-ILNN6QRW.js";
21
21
  import "./chunk-LQYXMEYF.js";
22
22
  import "./chunk-4JPLYOS6.js";
@@ -10,7 +10,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
13
+ var _chunkZSJ6WWFHcjs = require('./chunk-ZSJ6WWFH.cjs');
14
14
  require('./chunk-4HJRHEXD.cjs');
15
15
  require('./chunk-HQQE74RO.cjs');
16
16
  require('./chunk-DEY6XXGO.cjs');
@@ -82,14 +82,14 @@ var POLICIES = [
82
82
  policy("policy-local-admins", "No local admins", "No everyday account is a local administrator.", false, 0)
83
83
  ];
84
84
  var POLICIES_FIXTURE = {
85
- summary: _chunkOQKRXLTZcjs.computePolicySummary.call(void 0, POLICIES),
85
+ summary: _chunkZSJ6WWFHcjs.computePolicySummary.call(void 0, POLICIES),
86
86
  rows: POLICIES.map((item) => ({
87
87
  id: item.id,
88
88
  name: item.name,
89
89
  description: item.description,
90
90
  critical: item.critical,
91
91
  severityLabel: item.critical ? "Critical" : "Low",
92
- status: _chunkOQKRXLTZcjs.getPolicyTableStatus.call(void 0, item),
92
+ status: _chunkZSJ6WWFHcjs.getPolicyTableStatus.call(void 0, item),
93
93
  actions: [
94
94
  { label: "Policy Details", onClick: noop },
95
95
  { label: "Delete Policy", onClick: noop }
@@ -103,16 +103,16 @@ var POLICIES_FIXTURE = {
103
103
  var _jsxruntime = require('react/jsx-runtime');
104
104
  function PoliciesScreen({ compact = false }) {
105
105
  const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
106
- _chunkOQKRXLTZcjs.PoliciesTable,
106
+ _chunkZSJ6WWFHcjs.PoliciesTable,
107
107
  {
108
108
  rows: POLICIES_FIXTURE.rows,
109
109
  rowAsLink: true,
110
- rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.DataTable.RowCount, {}),
110
+ rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSJ6WWFHcjs.DataTable.RowCount, {}),
111
111
  emptyMessage: "No policies found."
112
112
  }
113
113
  );
114
114
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col gap-[var(--spacing-system-l)] bg-ods-bg p-[var(--spacing-system-l)]", children: [
115
- !compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
115
+ !compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSJ6WWFHcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
116
116
  table
117
117
  ] });
118
118
  }
@@ -10,7 +10,7 @@ import {
10
10
  PolicySummaryCards,
11
11
  computePolicySummary,
12
12
  getPolicyTableStatus
13
- } from "./chunk-STPC2AQU.js";
13
+ } from "./chunk-2LZ3IYGT.js";
14
14
  import "./chunk-ILNN6QRW.js";
15
15
  import "./chunk-LQYXMEYF.js";
16
16
  import "./chunk-4JPLYOS6.js";
@@ -16,7 +16,7 @@ import {
16
16
  PACKAGE_SEARCH_LABEL,
17
17
  PACKAGE_SEARCH_PLACEHOLDER,
18
18
  SoftwareActionForm
19
- } from "./chunk-STPC2AQU.js";
19
+ } from "./chunk-2LZ3IYGT.js";
20
20
  import "./chunk-ILNN6QRW.js";
21
21
  import "./chunk-LQYXMEYF.js";
22
22
  import "./chunk-4JPLYOS6.js";
@@ -16,7 +16,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
19
+ var _chunkZSJ6WWFHcjs = require('./chunk-ZSJ6WWFH.cjs');
20
20
  require('./chunk-4HJRHEXD.cjs');
21
21
  require('./chunk-HQQE74RO.cjs');
22
22
  require('./chunk-DEY6XXGO.cjs');
@@ -114,14 +114,14 @@ var noop = () => {
114
114
  var HIDDEN_WHEN_COMPACT = ["organization"];
115
115
  function StaticPackageField({ value }) {
116
116
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
117
- _chunkOQKRXLTZcjs.Autocomplete,
117
+ _chunkZSJ6WWFHcjs.Autocomplete,
118
118
  {
119
- label: _chunkOQKRXLTZcjs.PACKAGE_SEARCH_LABEL,
119
+ label: _chunkZSJ6WWFHcjs.PACKAGE_SEARCH_LABEL,
120
120
  labelVariant: "large",
121
121
  options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
122
122
  value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
123
123
  onChange: noop,
124
- placeholder: _chunkOQKRXLTZcjs.PACKAGE_SEARCH_PLACEHOLDER
124
+ placeholder: _chunkZSJ6WWFHcjs.PACKAGE_SEARCH_PLACEHOLDER
125
125
  }
126
126
  );
127
127
  }
@@ -135,7 +135,7 @@ function SoftwareUpdateScreen({ compact = false }) {
135
135
  [fixture.devices, fixture.selectedIds]
136
136
  );
137
137
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
138
- _chunkOQKRXLTZcjs.SoftwareActionForm,
138
+ _chunkZSJ6WWFHcjs.SoftwareActionForm,
139
139
  {
140
140
  action: fixture.action,
141
141
  showHeader: false,
@@ -147,7 +147,7 @@ function SoftwareUpdateScreen({ compact = false }) {
147
147
  initialValues: fixture.initialValues,
148
148
  renderPackageSearch,
149
149
  renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkOQKRXLTZcjs.DeviceSelector,
150
+ _chunkZSJ6WWFHcjs.DeviceSelector,
151
151
  {
152
152
  devices: selected,
153
153
  loading: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flamingo-stack/openframe-frontend-core",
3
- "version": "0.0.713",
3
+ "version": "0.0.714",
4
4
  "description": "Shared design system and components for all Flamingo platforms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -11,8 +11,12 @@ import { ToggleGroup, ToggleGroupItem } from '../toggle-group';
11
11
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../ui/tooltip';
12
12
  import { TouchFriendlyTooltip } from '../ui/touch-friendly-tooltip';
13
13
 
14
- /** The approval levels, in the order a choice reads: from "runs on its own" to "never runs". */
15
- export const APPROVAL_LEVELS: readonly ApprovalLevel[] = ['ALLOW', 'ASK_USER', 'ASK_TECHNICIAN', 'DENY'];
14
+ /**
15
+ * The approval levels, in the order a choice reads: the two that need nobody
16
+ * (allow, never) side by side, then the two that ask someone (a technician,
17
+ * the user) side by side.
18
+ */
19
+ export const APPROVAL_LEVELS: readonly ApprovalLevel[] = ['ALLOW', 'DENY', 'ASK_TECHNICIAN', 'ASK_USER'];
16
20
 
17
21
  export interface ApprovalLevelMeta {
18
22
  /** The level's name, as every surface writes it. */