@flamingo-stack/openframe-frontend-core 0.0.842 → 0.0.844

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 (77) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-2HRQU4ZL.cjs → chunk-7ERU4NGF.cjs} +10 -10
  3. package/dist/{chunk-RAFWT3WG.cjs → chunk-B4FUDHRE.cjs} +24 -24
  4. package/dist/{chunk-WOYARKPQ.cjs → chunk-C2X73N3E.cjs} +7 -7
  5. package/dist/{chunk-GQJXOX5S.cjs → chunk-EGOCAIZJ.cjs} +158 -86
  6. package/dist/{chunk-IVM35OAW.cjs → chunk-GBB7NLN7.cjs} +3 -3
  7. package/dist/{chunk-IVS23CAK.cjs → chunk-IUWCOK3X.cjs} +3 -3
  8. package/dist/{chunk-7UZYI4GV.cjs → chunk-KSOBM66X.cjs} +2 -2
  9. package/dist/{chunk-3ONBCAD2.cjs → chunk-KSPMB4GV.cjs} +22 -33
  10. package/dist/{chunk-CQQRGM6D.cjs → chunk-M7QI23GE.cjs} +31 -31
  11. package/dist/{chunk-SMZWXY4X.cjs → chunk-QKZQ5Q6E.cjs} +6 -1
  12. package/dist/{chunk-ZOWAYKDN.cjs → chunk-SVI3AB3A.cjs} +3 -3
  13. package/dist/{chunk-YNKXXDOI.cjs → chunk-WUJGPHF2.cjs} +4 -4
  14. package/dist/{cloud-tenants-U6Y2UZVF.cjs → cloud-tenants-5C32YDIE.cjs} +2 -2
  15. package/dist/components/case-studies/index.cjs +11 -11
  16. package/dist/components/contact/index.cjs +3 -3
  17. package/dist/components/docs/index.cjs +4 -4
  18. package/dist/components/embeds/index.cjs +3 -3
  19. package/dist/components/faq/index.cjs +3 -3
  20. package/dist/components/features/devices/device-unread-indicator.d.ts +6 -0
  21. package/dist/components/features/devices/device-unread-indicator.d.ts.map +1 -0
  22. package/dist/components/features/devices/device-unread-indicator.js +12 -0
  23. package/dist/components/features/devices/devices-grid.d.ts.map +1 -1
  24. package/dist/components/features/devices/devices-grid.js +5 -1
  25. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
  26. package/dist/components/features/devices/devices-table-columns.js +3 -1
  27. package/dist/components/features/devices/devices-view-config.d.ts +6 -4
  28. package/dist/components/features/devices/devices-view-config.d.ts.map +1 -1
  29. package/dist/components/features/devices/index.d.ts +1 -0
  30. package/dist/components/features/devices/index.d.ts.map +1 -1
  31. package/dist/components/features/devices/index.js +2 -0
  32. package/dist/components/features/devices/types.d.ts +2 -0
  33. package/dist/components/features/devices/types.d.ts.map +1 -1
  34. package/dist/components/features/index.cjs +4 -2
  35. package/dist/components/features/software/update-settings-fields.d.ts.map +1 -1
  36. package/dist/components/features/software/update-settings-fields.js +1 -1
  37. package/dist/components/help-center-pages/index.cjs +46 -46
  38. package/dist/components/index.cjs +25 -17
  39. package/dist/components/meeting-scheduler/index.cjs +20 -20
  40. package/dist/components/navigation/count-pill.d.ts +10 -0
  41. package/dist/components/navigation/count-pill.d.ts.map +1 -0
  42. package/dist/components/navigation/count-pill.js +18 -0
  43. package/dist/components/navigation/index.cjs +9 -3
  44. package/dist/components/navigation/index.d.ts +4 -0
  45. package/dist/components/navigation/index.d.ts.map +1 -1
  46. package/dist/components/navigation/index.js +5 -0
  47. package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -1
  48. package/dist/components/navigation/navigation-sidebar-grouped.js +1 -12
  49. package/dist/components/navigation/unread-notifications-indicator.d.ts +19 -0
  50. package/dist/components/navigation/unread-notifications-indicator.d.ts.map +1 -0
  51. package/dist/components/navigation/unread-notifications-indicator.js +45 -0
  52. package/dist/components/onboarding-guides/index.cjs +3 -3
  53. package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
  54. package/dist/components/product-demo/fixtures/devices.js +6 -1
  55. package/dist/components/product-demo/index.cjs +11 -11
  56. package/dist/components/tickets/index.cjs +5 -5
  57. package/dist/components/ui/index.cjs +2 -2
  58. package/dist/{devices-HB4GEMJH.cjs → devices-F2ENCTJM.cjs} +5 -5
  59. package/dist/index.cjs +11 -3
  60. package/dist/{knowledge-I53Z6DV7.cjs → knowledge-ZNUNREKL.cjs} +2 -2
  61. package/dist/{logs-SFLAZIQG.cjs → logs-DHZFCX2I.cjs} +9 -9
  62. package/dist/{policies-EIAGQO6T.cjs → policies-2FKRLSOC.cjs} +6 -6
  63. package/dist/{scripts-SNJ4UVRF.cjs → scripts-J3J7XCT4.cjs} +7 -7
  64. package/dist/{software-update-AZFRUC5N.cjs → software-update-AIQHLJ5O.cjs} +7 -7
  65. package/package.json +1 -1
  66. package/src/components/features/devices/device-unread-indicator.tsx +14 -0
  67. package/src/components/features/devices/devices-grid.tsx +9 -1
  68. package/src/components/features/devices/devices-table-columns.tsx +3 -0
  69. package/src/components/features/devices/devices-view-config.tsx +6 -4
  70. package/src/components/features/devices/index.ts +1 -0
  71. package/src/components/features/devices/types.ts +2 -0
  72. package/src/components/features/software/update-settings-fields.tsx +19 -16
  73. package/src/components/navigation/count-pill.tsx +25 -0
  74. package/src/components/navigation/index.ts +4 -0
  75. package/src/components/navigation/navigation-sidebar-grouped.tsx +1 -14
  76. package/src/components/navigation/unread-notifications-indicator.tsx +69 -0
  77. package/src/components/product-demo/fixtures/devices.ts +7 -0
@@ -22,7 +22,7 @@ var _chunk4R4HAFXIcjs = require('../../chunk-4R4HAFXI.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkGQJXOX5Scjs = require('../../chunk-GQJXOX5S.cjs');
25
+ var _chunkEGOCAIZJcjs = require('../../chunk-EGOCAIZJ.cjs');
26
26
 
27
27
 
28
28
 
@@ -2411,7 +2411,7 @@ var FIELD_CONTROLS = {
2411
2411
  }
2412
2412
  ),
2413
2413
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2414
- _chunkGQJXOX5Scjs.Textarea,
2414
+ _chunkEGOCAIZJcjs.Textarea,
2415
2415
  {
2416
2416
  id,
2417
2417
  required: field.required,
@@ -2488,14 +2488,14 @@ var FIELD_CONTROLS = {
2488
2488
  control,
2489
2489
  name: registerName,
2490
2490
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2491
- _chunkGQJXOX5Scjs.RadioGroup,
2491
+ _chunkEGOCAIZJcjs.RadioGroup,
2492
2492
  {
2493
2493
  value: _nullishCoalesce(rhf.value, () => ( "")),
2494
2494
  onValueChange: rhf.onChange,
2495
2495
  "aria-required": field.required || void 0,
2496
2496
  "aria-invalid": Boolean(error),
2497
2497
  children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
2498
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2498
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2499
2499
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2500
2500
  ] }, opt))
2501
2501
  }
@@ -2569,7 +2569,7 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2569
2569
  control,
2570
2570
  name: registerName,
2571
2571
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2572
- _chunkGQJXOX5Scjs.ToggleGroup,
2572
+ _chunkEGOCAIZJcjs.ToggleGroup,
2573
2573
  {
2574
2574
  id,
2575
2575
  type: "single",
@@ -2584,7 +2584,7 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2584
2584
  "aria-required": field.required || void 0,
2585
2585
  "aria-invalid": Boolean(error),
2586
2586
  className: CHIP_ROW_CLASS,
2587
- children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.ToggleGroupItem, { value: opt, className: _chunk63A4GZMBcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2587
+ children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.ToggleGroupItem, { value: opt, className: _chunk63A4GZMBcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2588
2588
  }
2589
2589
  )
2590
2590
  }
@@ -2820,7 +2820,7 @@ function BookingFormBody({
2820
2820
  }
2821
2821
  );
2822
2822
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunk4ASUUB3Acjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
2823
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.HoneypotField, { ...honeypotInputProps }),
2823
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.HoneypotField, { ...honeypotInputProps }),
2824
2824
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { context, slot: contextSlot }),
2825
2825
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2826
2826
  placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
@@ -2834,7 +2834,7 @@ function BookingFormBody({
2834
2834
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
2835
2835
  ] }),
2836
2836
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2837
- _chunkGQJXOX5Scjs.CheckboxBlock,
2837
+ _chunkEGOCAIZJcjs.CheckboxBlock,
2838
2838
  {
2839
2839
  id: "ms-host-consent",
2840
2840
  checked: consented,
@@ -2869,7 +2869,7 @@ function BookingFormBody({
2869
2869
  // same block the waitlist form uses): box + label in one
2870
2870
  // bordered row.
2871
2871
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2872
- _chunkGQJXOX5Scjs.CheckboxBlock,
2872
+ _chunkEGOCAIZJcjs.CheckboxBlock,
2873
2873
  {
2874
2874
  id: `ms-consent-${box.communicationTypeId}`,
2875
2875
  checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _46 => _46.consented]), () => ( false)),
@@ -2922,10 +2922,10 @@ function BookingFormPending({
2922
2922
  !fieldRows && // An empty label keeps the field's own frame (`FieldWrapper` draws no label for it); the bar stands for it.
2923
2923
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { label: "", children: [
2924
2924
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-40" }),
2925
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.Textarea, { tabIndex: -1 })
2925
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.Textarea, { tabIndex: -1 })
2926
2926
  ] }),
2927
2927
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2928
- _chunkGQJXOX5Scjs.CheckboxBlock,
2928
+ _chunkEGOCAIZJcjs.CheckboxBlock,
2929
2929
  {
2930
2930
  id: consentId,
2931
2931
  checked: false,
@@ -2976,7 +2976,7 @@ function FieldSkeleton({
2976
2976
  // An empty label keeps the field's own frame; a read label is the bar under it.
2977
2977
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _50 => _50.required]), className, children: [
2978
2978
  label === void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-32" }),
2979
- !builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { variant: "default", className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkGQJXOX5Scjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.Input, { tabIndex: -1 })
2979
+ !builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { variant: "default", className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkEGOCAIZJcjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.Input, { tabIndex: -1 })
2980
2980
  ] })
2981
2981
  );
2982
2982
  }
@@ -3085,7 +3085,7 @@ function ContextPanelSkeleton({
3085
3085
  ] }),
3086
3086
  timezone !== "hidden" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ASIDE, timezone === "wide" && TIMEZONE_WIDE_ONLY_CLASS), children: [
3087
3087
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3088
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3088
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3089
3089
  ] })
3090
3090
  ] })
3091
3091
  ] });
@@ -3164,7 +3164,7 @@ function SchedulerContextPanel({
3164
3164
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ASIDE, locked && TIMEZONE_WIDE_ONLY_CLASS), children: [
3165
3165
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3166
3166
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3167
- _chunkGQJXOX5Scjs.TimezoneSelect,
3167
+ _chunkEGOCAIZJcjs.TimezoneSelect,
3168
3168
  {
3169
3169
  value: _nullishCoalesce(timezone, () => ( null)),
3170
3170
  loading: !timezone,
@@ -3221,7 +3221,7 @@ function SchedulerModalHeader({
3221
3221
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3222
3222
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3223
3223
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3224
- _chunkGQJXOX5Scjs.TimezoneSelect,
3224
+ _chunkEGOCAIZJcjs.TimezoneSelect,
3225
3225
  {
3226
3226
  value: timezone,
3227
3227
  loading: !timezone,
@@ -3242,7 +3242,7 @@ function SchedulerModalHeaderSkeleton({ showTimezone = true } = {}) {
3242
3242
  ] }),
3243
3243
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3244
3244
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3245
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3245
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3246
3246
  ] })
3247
3247
  ] });
3248
3248
  }
@@ -3328,7 +3328,7 @@ function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDa
3328
3328
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
3329
3329
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _54 => _54.has, 'call', _55 => _55(calendarDayKey(day))]), [slotsByDay]);
3330
3330
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3331
- _chunkGQJXOX5Scjs.DatePickerCalendar,
3331
+ _chunkEGOCAIZJcjs.DatePickerCalendar,
3332
3332
  {
3333
3333
  mode: "single",
3334
3334
  bare: true,
@@ -3997,7 +3997,7 @@ function HubSpotMeetingScheduler({
3997
3997
  }
3998
3998
  )
3999
3999
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4000
- bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
4000
+ bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
4001
4001
  !coldStart && (!timezone || durationMs == null) && durations.length === 0 && !isFetchingAvailability ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, MODAL_STEP_CLASS, "items-start gap-[var(--spacing-system-m)]"), children: [
4002
4002
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
4003
4003
  escapeHatch
@@ -4155,11 +4155,11 @@ function HubSpotMeetingScheduler({
4155
4155
  )
4156
4156
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
4157
4157
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4158
- _chunkGQJXOX5Scjs.Alert,
4158
+ _chunkEGOCAIZJcjs.Alert,
4159
4159
  {
4160
4160
  variant: "warning",
4161
4161
  className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
4162
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4162
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEGOCAIZJcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4163
4163
  }
4164
4164
  ),
4165
4165
  (!timezone || durationMs == null) && durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
@@ -0,0 +1,10 @@
1
+ export interface CountPillProps {
2
+ count: number;
3
+ className?: string;
4
+ }
5
+ /**
6
+ * The navigation's unread count: a 24px accent pill, widening for "99+". The grouped sidebar ends its rows with it,
7
+ * and a list row that counts the same notifications draws the same pill, so the two read alike.
8
+ */
9
+ export declare function CountPill({ count, className }: CountPillProps): import("react").JSX.Element;
10
+ //# sourceMappingURL=count-pill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"count-pill.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/count-pill.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,cAAc,+BAW7D"}
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { cn } from "../../utils/cn.js";
4
+ function CountPill({ count, className }) {
5
+ return /* @__PURE__ */ jsx(
6
+ "span",
7
+ {
8
+ className: cn(
9
+ "flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xxs)]",
10
+ className
11
+ ),
12
+ children: /* @__PURE__ */ jsx("span", { className: "text-ods-text-on-accent text-h5", children: count > 99 ? "99+" : count })
13
+ }
14
+ );
15
+ }
16
+ export {
17
+ CountPill
18
+ };
@@ -33,7 +33,7 @@
33
33
 
34
34
 
35
35
 
36
- var _chunk3ONBCAD2cjs = require('../../chunk-3ONBCAD2.cjs');
36
+ var _chunkKSPMB4GVcjs = require('../../chunk-KSPMB4GV.cjs');
37
37
 
38
38
 
39
39
 
@@ -55,7 +55,10 @@ require('../../chunk-MWQOM2EI.cjs');
55
55
 
56
56
 
57
57
 
58
- var _chunkGQJXOX5Scjs = require('../../chunk-GQJXOX5S.cjs');
58
+
59
+
60
+
61
+ var _chunkEGOCAIZJcjs = require('../../chunk-EGOCAIZJ.cjs');
59
62
  require('../../chunk-WCK5T3UD.cjs');
60
63
  require('../../chunk-744JXTDP.cjs');
61
64
  require('../../chunk-NMLNZCK2.cjs');
@@ -1971,4 +1974,7 @@ require('../../chunk-QDB2JO55.cjs');
1971
1974
 
1972
1975
 
1973
1976
 
1974
- exports.ASK_AI_OPEN_EVENT = _chunkWPMJUYW3cjs.ASK_AI_OPEN_EVENT; exports.ASK_AI_OPEN_WITH_REF_EVENT = _chunkWPMJUYW3cjs.ASK_AI_OPEN_WITH_REF_EVENT; exports.AccountPopover = _chunk3ONBCAD2cjs.AccountPopover; exports.AppHeader = _chunk3ONBCAD2cjs.AppHeader; exports.AppLayout = _chunk3ONBCAD2cjs.AppLayout; exports.AppLayoutDrawer = _chunkGQJXOX5Scjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkGQJXOX5Scjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkGQJXOX5Scjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkGQJXOX5Scjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkGQJXOX5Scjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkGQJXOX5Scjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkGQJXOX5Scjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkGQJXOX5Scjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkGQJXOX5Scjs.AppLayoutDrawerTrigger; exports.HeaderButton = _chunkGQJXOX5Scjs.HeaderButton; exports.HeaderGlobalSearch = _chunk3ONBCAD2cjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunk3ONBCAD2cjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunk3ONBCAD2cjs.HeaderOrganizationFilter; exports.MOBILE_NAV_SHEET_ID = _chunk3ONBCAD2cjs.MOBILE_NAV_SHEET_ID; exports.MingoAiButton = _chunk4ASUUB3Acjs.MingoAiButton; exports.MobileBurgerMenu = _chunk3ONBCAD2cjs.MobileBurgerMenu; exports.MobileNavSheet = _chunk3ONBCAD2cjs.MobileNavSheet; exports.MobileNavigationDropdown = _chunk5CPEMPNPcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunk5CPEMPNPcjs.MultiLevelNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = _chunk3ONBCAD2cjs.NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavItemRow = _chunk3ONBCAD2cjs.NavItemRow; exports.NavPanel = _chunk3ONBCAD2cjs.NavPanel; exports.NavigationItemBadge = _chunk3ONBCAD2cjs.NavigationItemBadge; exports.NavigationSidebar = _chunk3ONBCAD2cjs.NavigationSidebar; exports.NavigationSidebarActionRow = _chunk3ONBCAD2cjs.NavigationSidebarActionRow; exports.NotificationsBellButton = _chunk3ONBCAD2cjs.NotificationsBellButton; exports.PAGE_ANCHOR_GAP_PX = _chunk3ONBCAD2cjs.PAGE_ANCHOR_GAP_PX; exports.PAGE_ANCHOR_SCOPE_CLASS = _chunk3ONBCAD2cjs.PAGE_ANCHOR_SCOPE_CLASS; exports.PAGE_ANCHOR_SCROLL_MARGIN_CLASS = _chunk3ONBCAD2cjs.PAGE_ANCHOR_SCROLL_MARGIN_CLASS; exports.PageSectionBar = _chunk3ONBCAD2cjs.PageSectionBar; exports.SECTION_BAR_HEIGHT_PX = _chunk3ONBCAD2cjs.SECTION_BAR_HEIGHT_PX; exports.SIDE_PANEL_FRAME_WIDTH = _chunk3ONBCAD2cjs.SIDE_PANEL_FRAME_WIDTH; exports.SiteFooter = _chunk3ONBCAD2cjs.SiteFooter; exports.SiteHeader = _chunk3ONBCAD2cjs.SiteHeader; exports.SlidingSidebar = _chunk3ONBCAD2cjs.SlidingSidebar; exports.StickySectionNav = _chunk5CPEMPNPcjs.StickySectionNav; exports.TicketAlertsButton = _chunk3ONBCAD2cjs.TicketAlertsButton; exports.TopNavigation = _chunk3ONBCAD2cjs.TopNavigation; exports.UnreadCountBadge = _chunkGQJXOX5Scjs.UnreadCountBadge; exports.UnreadDot = _chunkGQJXOX5Scjs.UnreadDot; exports.defaultRenderSiteNavLink = _chunk3ONBCAD2cjs.defaultRenderSiteNavLink; exports.isMegaMenu = _chunk3ONBCAD2cjs.isMegaMenu; exports.navLinkLabel = _chunk3ONBCAD2cjs.navLinkLabel; exports.openAskAi = _chunk4ASUUB3Acjs.openAskAi; exports.resolveNavigationActive = _chunk3ONBCAD2cjs.resolveNavigationActive; exports.siteNavHasMobileMenus = _chunk3ONBCAD2cjs.siteNavHasMobileMenus; exports.useAppLayoutDrawerContainer = _chunkOT6P57ZScjs.useAppLayoutDrawerContainer; exports.useScrollSpy = _chunk5CPEMPNPcjs.useScrollSpy; exports.useSectionNavigation = _chunk5CPEMPNPcjs.useSectionNavigation;
1977
+
1978
+
1979
+
1980
+ exports.ASK_AI_OPEN_EVENT = _chunkWPMJUYW3cjs.ASK_AI_OPEN_EVENT; exports.ASK_AI_OPEN_WITH_REF_EVENT = _chunkWPMJUYW3cjs.ASK_AI_OPEN_WITH_REF_EVENT; exports.AccountPopover = _chunkKSPMB4GVcjs.AccountPopover; exports.AppHeader = _chunkKSPMB4GVcjs.AppHeader; exports.AppLayout = _chunkKSPMB4GVcjs.AppLayout; exports.AppLayoutDrawer = _chunkEGOCAIZJcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkEGOCAIZJcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkEGOCAIZJcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkEGOCAIZJcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkEGOCAIZJcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkEGOCAIZJcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkEGOCAIZJcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkEGOCAIZJcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkEGOCAIZJcjs.AppLayoutDrawerTrigger; exports.CountPill = _chunkEGOCAIZJcjs.CountPill; exports.HeaderButton = _chunkEGOCAIZJcjs.HeaderButton; exports.HeaderGlobalSearch = _chunkKSPMB4GVcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkKSPMB4GVcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkKSPMB4GVcjs.HeaderOrganizationFilter; exports.MOBILE_NAV_SHEET_ID = _chunkKSPMB4GVcjs.MOBILE_NAV_SHEET_ID; exports.MingoAiButton = _chunk4ASUUB3Acjs.MingoAiButton; exports.MobileBurgerMenu = _chunkKSPMB4GVcjs.MobileBurgerMenu; exports.MobileNavSheet = _chunkKSPMB4GVcjs.MobileNavSheet; exports.MobileNavigationDropdown = _chunk5CPEMPNPcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunk5CPEMPNPcjs.MultiLevelNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = _chunkKSPMB4GVcjs.NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavItemRow = _chunkKSPMB4GVcjs.NavItemRow; exports.NavPanel = _chunkKSPMB4GVcjs.NavPanel; exports.NavigationItemBadge = _chunkKSPMB4GVcjs.NavigationItemBadge; exports.NavigationSidebar = _chunkKSPMB4GVcjs.NavigationSidebar; exports.NavigationSidebarActionRow = _chunkKSPMB4GVcjs.NavigationSidebarActionRow; exports.NotificationsBellButton = _chunkKSPMB4GVcjs.NotificationsBellButton; exports.PAGE_ANCHOR_GAP_PX = _chunkKSPMB4GVcjs.PAGE_ANCHOR_GAP_PX; exports.PAGE_ANCHOR_SCOPE_CLASS = _chunkKSPMB4GVcjs.PAGE_ANCHOR_SCOPE_CLASS; exports.PAGE_ANCHOR_SCROLL_MARGIN_CLASS = _chunkKSPMB4GVcjs.PAGE_ANCHOR_SCROLL_MARGIN_CLASS; exports.PageSectionBar = _chunkKSPMB4GVcjs.PageSectionBar; exports.SECTION_BAR_HEIGHT_PX = _chunkKSPMB4GVcjs.SECTION_BAR_HEIGHT_PX; exports.SIDE_PANEL_FRAME_WIDTH = _chunkKSPMB4GVcjs.SIDE_PANEL_FRAME_WIDTH; exports.SiteFooter = _chunkKSPMB4GVcjs.SiteFooter; exports.SiteHeader = _chunkKSPMB4GVcjs.SiteHeader; exports.SlidingSidebar = _chunkKSPMB4GVcjs.SlidingSidebar; exports.StickySectionNav = _chunk5CPEMPNPcjs.StickySectionNav; exports.TicketAlertsButton = _chunkKSPMB4GVcjs.TicketAlertsButton; exports.TopNavigation = _chunkKSPMB4GVcjs.TopNavigation; exports.UnreadCountBadge = _chunkEGOCAIZJcjs.UnreadCountBadge; exports.UnreadDot = _chunkEGOCAIZJcjs.UnreadDot; exports.UnreadNotificationsIndicator = _chunkEGOCAIZJcjs.UnreadNotificationsIndicator; exports.defaultRenderSiteNavLink = _chunkKSPMB4GVcjs.defaultRenderSiteNavLink; exports.isMegaMenu = _chunkKSPMB4GVcjs.isMegaMenu; exports.navLinkLabel = _chunkKSPMB4GVcjs.navLinkLabel; exports.openAskAi = _chunk4ASUUB3Acjs.openAskAi; exports.resolveNavigationActive = _chunkKSPMB4GVcjs.resolveNavigationActive; exports.siteNavHasMobileMenus = _chunkKSPMB4GVcjs.siteNavHasMobileMenus; exports.unreadNotificationsLabel = _chunkEGOCAIZJcjs.unreadNotificationsLabel; exports.useAppLayoutDrawerContainer = _chunkOT6P57ZScjs.useAppLayoutDrawerContainer; exports.useScrollSpy = _chunk5CPEMPNPcjs.useScrollSpy; exports.useSectionNavigation = _chunk5CPEMPNPcjs.useSectionNavigation;
@@ -49,6 +49,10 @@ export { HeaderButton } from './header-button';
49
49
  export type { HeaderButtonProps } from './header-button';
50
50
  export { UnreadDot, UnreadCountBadge } from './unread-dot';
51
51
  export type { UnreadDotProps, UnreadCountBadgeProps } from './unread-dot';
52
+ export { CountPill } from './count-pill';
53
+ export type { CountPillProps } from './count-pill';
54
+ export { UnreadNotificationsIndicator, unreadNotificationsLabel } from './unread-notifications-indicator';
55
+ export type { UnreadNotificationsIndicatorProps } from './unread-notifications-indicator';
52
56
  export { NavigationItemBadge } from './navigation-item-badge';
53
57
  export type { NavigationItemBadgeProps } from './navigation-item-badge';
54
58
  export { TicketAlertsButton } from './ticket-alerts-button';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACzE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAC5F,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CA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AAC;AAC1F,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,YAAY,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,OAAO,EACP,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,0BAA0B,EAC1B,OAAO,EACP,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC"}
@@ -40,6 +40,8 @@ import {
40
40
  import { MobileBurgerMenu } from "./mobile-burger-menu.js";
41
41
  import { HeaderButton } from "./header-button.js";
42
42
  import { UnreadDot, UnreadCountBadge } from "./unread-dot.js";
43
+ import { CountPill } from "./count-pill.js";
44
+ import { UnreadNotificationsIndicator, unreadNotificationsLabel } from "./unread-notifications-indicator.js";
43
45
  import { NavigationItemBadge } from "./navigation-item-badge.js";
44
46
  import { TicketAlertsButton } from "./ticket-alerts-button.js";
45
47
  import { TopNavigation } from "./top-navigation.js";
@@ -62,6 +64,7 @@ export {
62
64
  AppLayoutDrawerHeader,
63
65
  AppLayoutDrawerTitle,
64
66
  AppLayoutDrawerTrigger,
67
+ CountPill,
65
68
  HeaderButton,
66
69
  HeaderGlobalSearch,
67
70
  HeaderMingoButton,
@@ -93,12 +96,14 @@ export {
93
96
  TopNavigation,
94
97
  UnreadCountBadge,
95
98
  UnreadDot,
99
+ UnreadNotificationsIndicator,
96
100
  defaultRenderSiteNavLink,
97
101
  isMegaMenu,
98
102
  navLinkLabel,
99
103
  openAskAi,
100
104
  resolveNavigationActive,
101
105
  siteNavHasMobileMenus,
106
+ unreadNotificationsLabel,
102
107
  useAppLayoutDrawerContainer,
103
108
  useScrollSpy,
104
109
  useSectionNavigation
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-sidebar-grouped.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/navigation-sidebar-grouped.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAgC,K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AAO,CAAC;IACnB,yIAAyI;IACzI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,OAAO,EACP,MAAc,EACd,KAAS,EACT,OAAmB,EACnB,QAAgB,EAChB,SAAiB,EACjB,YAAY,EAAE,SAAS,EACvB,SAAS,GACV,EAAE,+BAA+B,+BAkCjC;AAED,wFAAwF;AACxF,wBAAgB,gCAAgC,gCAe/C"}
1
+ {"version":3,"file":"navigation-sidebar-grouped.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/navigation-sidebar-grouped.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAgC,KAAK,UAAU,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAGvG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAwCpE;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,qGAQlE;AA0WD,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,SAAS,qBAAqB,EAAE,CAAC;IACxC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvE,+EAA+E;IAC/E,YAAY,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACrD;AAED,0GAA0G;AAC1G,wBAAgB,+BAA+B,CAAC,EAC9C,KAAK,EACL,QAAQ,EACR,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,WAAW,EACX,YAAY,GACb,EAAE,oCAAoC,+BA8BtC;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,gGAAgG;IAChG,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+FAA+F;IAC/F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oGAAoG;IACpG,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yIAAyI;IACzI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,OAAO,EACP,MAAc,EACd,KAAS,EACT,OAAmB,EACnB,QAAgB,EAChB,SAAiB,EACjB,YAAY,EAAE,SAAS,EACvB,SAAS,GACV,EAAE,+BAA+B,+BAkCjC;AAED,wFAAwF;AACxF,wBAAgB,gCAAgC,gCAe/C"}
@@ -6,6 +6,7 @@ import { useClippedLabelTooltip } from "../../hooks/ui/use-clipped-label-tooltip
6
6
  import { cn } from "../../utils/index.js";
7
7
  import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
8
8
  import { FloatingTooltip } from "../ui/floating-tooltip.js";
9
+ import { CountPill } from "./count-pill.js";
9
10
  import { NavigationItemBadge } from "./navigation-item-badge.js";
10
11
  import { UnreadDot } from "./unread-dot.js";
11
12
  function sizedIcon(icon, size) {
@@ -46,18 +47,6 @@ const idleIcon = (group) => cn(
46
47
  group === "row" ? "group-hover/nav-row:text-ods-text-primary" : "group-hover/nav-child:text-ods-text-primary"
47
48
  );
48
49
  const EXPANDED_ONLY = "opacity-0 transition-opacity duration-150 @[140px]/of-nav-sidebar:opacity-100 motion-reduce:transition-none";
49
- function CountPill({ count, className }) {
50
- return /* @__PURE__ */ jsx(
51
- "span",
52
- {
53
- className: cn(
54
- "flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xxs)]",
55
- className
56
- ),
57
- children: /* @__PURE__ */ jsx("span", { className: "text-ods-text-on-accent text-h5", children: count > 99 ? "99+" : count })
58
- }
59
- );
60
- }
61
50
  function RowEnd({ count }) {
62
51
  return count > 0 ? /* @__PURE__ */ jsx(CountPill, { count, className: "ml-auto" }) : null;
63
52
  }
@@ -0,0 +1,19 @@
1
+ /** What the indicator says to a screen reader: the count, in words. */
2
+ export declare function unreadNotificationsLabel(count: number): string;
3
+ export interface UnreadNotificationsIndicatorProps {
4
+ /** The viewer's unread notifications about one item. Nothing is drawn at 0. */
5
+ count: number;
6
+ /** Where those notifications are listed. Absent: the count alone, not a button. */
7
+ href?: string;
8
+ className?: string;
9
+ }
10
+ /**
11
+ * The viewer's unread notifications about one item of a list (a device, an incident), drawn with the sidebar's own
12
+ * count pill so a row and its section's badge read alike.
13
+ *
14
+ * A button, not a link: the row or card it sits in is usually a link itself, and a link cannot hold another
15
+ * (`data-no-row-click` keeps a table row from following its own). It goes through the lib's navigation executor,
16
+ * so the host decides how `href` opens, and a modifier click asks for a new tab as it would on a link.
17
+ */
18
+ export declare function UnreadNotificationsIndicator({ count, href, className }: UnreadNotificationsIndicatorProps): import("react").JSX.Element | null;
19
+ //# sourceMappingURL=unread-notifications-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unread-notifications-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/unread-notifications-indicator.tsx"],"names":[],"mappings":"AASA,uEAAuE;AACvE,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,MAAM,WAAW,iCAAiC;IAChD,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,iCAAiC,sCAsCzG"}
@@ -0,0 +1,45 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { useChatRuntime } from "../../contexts/chat-runtime-context.js";
4
+ import { cn } from "../../utils/cn.js";
5
+ import { isModifierClick } from "../chat/utils/chat-nav-resolution.js";
6
+ import { executeNavigationImperative, executeNewTabNavigation } from "../chat/utils/execute-navigation.js";
7
+ import { CountPill } from "./count-pill.js";
8
+ function unreadNotificationsLabel(count) {
9
+ return `${count} unread ${count === 1 ? "notification" : "notifications"}`;
10
+ }
11
+ function UnreadNotificationsIndicator({ count, href, className }) {
12
+ const runtime = useChatRuntime();
13
+ if (count <= 0) return null;
14
+ const label = unreadNotificationsLabel(count);
15
+ if (!href) {
16
+ return /* @__PURE__ */ jsx("span", { "data-loading-optional": true, role: "img", "aria-label": label, className: cn("inline-flex shrink-0", className), children: /* @__PURE__ */ jsx(CountPill, { count }) });
17
+ }
18
+ const open = (event) => {
19
+ event.preventDefault();
20
+ event.stopPropagation();
21
+ if (isModifierClick(event)) executeNewTabNavigation({ runtime, href });
22
+ else executeNavigationImperative({ runtime, href });
23
+ };
24
+ return /* @__PURE__ */ jsx(
25
+ "button",
26
+ {
27
+ type: "button",
28
+ "data-loading-optional": true,
29
+ "data-no-row-click": true,
30
+ onClick: open,
31
+ "aria-label": label,
32
+ title: label,
33
+ className: cn(
34
+ "pointer-events-auto inline-flex shrink-0 rounded-md transition-opacity hover:opacity-80",
35
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
36
+ className
37
+ ),
38
+ children: /* @__PURE__ */ jsx(CountPill, { count })
39
+ }
40
+ );
41
+ }
42
+ export {
43
+ UnreadNotificationsIndicator,
44
+ unreadNotificationsLabel
45
+ };
@@ -7,10 +7,10 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkWOYARKPQcjs = require('../../chunk-WOYARKPQ.cjs');
10
+ var _chunkC2X73N3Ecjs = require('../../chunk-C2X73N3E.cjs');
11
11
  require('../../chunk-SC36S7DJ.cjs');
12
12
  require('../../chunk-6M764K5Z.cjs');
13
- require('../../chunk-GQJXOX5S.cjs');
13
+ require('../../chunk-EGOCAIZJ.cjs');
14
14
  require('../../chunk-WCK5T3UD.cjs');
15
15
  require('../../chunk-744JXTDP.cjs');
16
16
  require('../../chunk-NMLNZCK2.cjs');
@@ -1871,4 +1871,4 @@ require('../../chunk-QDB2JO55.cjs');
1871
1871
 
1872
1872
 
1873
1873
 
1874
- exports.ONBOARDING_GUIDE_RELATED_SKELETON_COUNT = _chunkWOYARKPQcjs.ONBOARDING_GUIDE_RELATED_SKELETON_COUNT; exports.OnboardingGuideDetailView = _chunkWOYARKPQcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogView = _chunkWOYARKPQcjs.OnboardingGuidesCatalogView; exports.onboardingGuideKeys = _chunkWOYARKPQcjs.onboardingGuideKeys; exports.useOnboardingGuide = _chunkWOYARKPQcjs.useOnboardingGuide; exports.useOnboardingGuideSections = _chunkWOYARKPQcjs.useOnboardingGuideSections; exports.useOnboardingGuides = _chunkWOYARKPQcjs.useOnboardingGuides;
1874
+ exports.ONBOARDING_GUIDE_RELATED_SKELETON_COUNT = _chunkC2X73N3Ecjs.ONBOARDING_GUIDE_RELATED_SKELETON_COUNT; exports.OnboardingGuideDetailView = _chunkC2X73N3Ecjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogView = _chunkC2X73N3Ecjs.OnboardingGuidesCatalogView; exports.onboardingGuideKeys = _chunkC2X73N3Ecjs.onboardingGuideKeys; exports.useOnboardingGuide = _chunkC2X73N3Ecjs.useOnboardingGuide; exports.useOnboardingGuideSections = _chunkC2X73N3Ecjs.useOnboardingGuideSections; exports.useOnboardingGuides = _chunkC2X73N3Ecjs.useOnboardingGuides;
@@ -1 +1 @@
1
- {"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAyCxC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,2HAA2H;AAC3H,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAgBlE;AAED,uFAAuF;AACvF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAQzE"}
1
+ {"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/product-demo/fixtures/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAgDxC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,2HAA2H;AAC3H,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAgBlE;AAED,uFAAuF;AACvF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAQzE"}
@@ -1,5 +1,9 @@
1
1
  "use client";
2
2
  import { DEMO_FLEET, DEMO_FLEET_SEARCH_OS, demoMinutesAgo } from "./shared.js";
3
+ const DEMO_UNREAD_NOTIFICATIONS = {
4
+ "device-reception": 2,
5
+ "device-leo": 1
6
+ };
3
7
  function device(cast, demo, type, status, lastSeenMinutesAgo) {
4
8
  const organization = cast.organization(demo.organization);
5
9
  return {
@@ -13,7 +17,8 @@ function device(cast, demo, type, status, lastSeenMinutesAgo) {
13
17
  last_seen: demoMinutesAgo(lastSeenMinutesAgo),
14
18
  organizationId: organization.id,
15
19
  organization: organization.name,
16
- organizationImageUrl: organization.logoUrl
20
+ organizationImageUrl: organization.logoUrl,
21
+ unreadNotificationCount: DEMO_UNREAD_NOTIFICATIONS[demo.id]
17
22
  };
18
23
  }
19
24
  function countBy(devices, pick) {
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
 
4
4
 
5
- var _chunkZOWAYKDNcjs = require('../../chunk-ZOWAYKDN.cjs');
5
+ var _chunkSVI3AB3Acjs = require('../../chunk-SVI3AB3A.cjs');
6
6
 
7
7
 
8
8
 
@@ -11,7 +11,7 @@ var _chunkLHV2R6QUcjs = require('../../chunk-LHV2R6QU.cjs');
11
11
  require('../../chunk-FDZOE5TL.cjs');
12
12
 
13
13
 
14
- var _chunkGQJXOX5Scjs = require('../../chunk-GQJXOX5S.cjs');
14
+ var _chunkEGOCAIZJcjs = require('../../chunk-EGOCAIZJ.cjs');
15
15
  require('../../chunk-WCK5T3UD.cjs');
16
16
  require('../../chunk-744JXTDP.cjs');
17
17
  require('../../chunk-NMLNZCK2.cjs');
@@ -1876,14 +1876,14 @@ var _react = require('react');
1876
1876
  // src/components/product-demo/registry.ts
1877
1877
  var PRODUCT_SCREEN_LOADERS = {
1878
1878
  "remote-session": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../remote-session-EE6477O3.cjs"))),
1879
- "software-update": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../software-update-AZFRUC5N.cjs"))),
1880
- devices: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../devices-HB4GEMJH.cjs"))),
1881
- policies: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../policies-EIAGQO6T.cjs"))),
1882
- "cloud-tenants": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../cloud-tenants-U6Y2UZVF.cjs"))),
1879
+ "software-update": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../software-update-AIQHLJ5O.cjs"))),
1880
+ devices: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../devices-F2ENCTJM.cjs"))),
1881
+ policies: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../policies-2FKRLSOC.cjs"))),
1882
+ "cloud-tenants": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../cloud-tenants-5C32YDIE.cjs"))),
1883
1883
  "tickets-board": () => Promise.resolve().then(() => _interopRequireWildcard(require("../../tickets-board-44HO3LR4.cjs"))),
1884
- logs: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../logs-SFLAZIQG.cjs"))),
1885
- knowledge: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../knowledge-I53Z6DV7.cjs"))),
1886
- scripts: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../scripts-SNJ4UVRF.cjs")))
1884
+ logs: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../logs-DHZFCX2I.cjs"))),
1885
+ knowledge: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../knowledge-ZNUNREKL.cjs"))),
1886
+ scripts: () => Promise.resolve().then(() => _interopRequireWildcard(require("../../scripts-J3J7XCT4.cjs")))
1887
1887
  };
1888
1888
 
1889
1889
  // src/components/product-demo/screen-keys.ts
@@ -1910,7 +1910,7 @@ var PRODUCT_SCREEN_OPTIONS = PRODUCT_SCREEN_KEYS.map(
1910
1910
  var _jsxruntime = require('react/jsx-runtime');
1911
1911
  var PRODUCT_SCREEN_LOADING = {
1912
1912
  // The Devices screen while its code loads: the same view, in its own loading state.
1913
- devices: ({ compact = false }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZOWAYKDNcjs.DevicesScreenView, { compact, loading: true })
1913
+ devices: ({ compact = false }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVI3AB3Acjs.DevicesScreenView, { compact, loading: true })
1914
1914
  };
1915
1915
 
1916
1916
  // src/components/product-demo/product-screen.tsx
@@ -1956,7 +1956,7 @@ function ProductScreenShell({
1956
1956
  const layoutWidth = _nullishCoalesce(compactWidth, () => ( // A screen with a minimum keeps it whether or not the host names a width (the frame's default is narrower).
1957
1957
  (minWidth !== void 0 ? Math.max(_nullishCoalesce(designWidth, () => ( minWidth)), minWidth) : designWidth)));
1958
1958
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1959
- _chunkGQJXOX5Scjs.ProductScreenFrame,
1959
+ _chunkEGOCAIZJcjs.ProductScreenFrame,
1960
1960
  {
1961
1961
  ...frame,
1962
1962
  designWidth: layoutWidth,
@@ -15,9 +15,9 @@
15
15
 
16
16
 
17
17
 
18
- var _chunkRAFWT3WGcjs = require('../../chunk-RAFWT3WG.cjs');
19
- require('../../chunk-IVS23CAK.cjs');
20
- require('../../chunk-YNKXXDOI.cjs');
18
+ var _chunkB4FUDHREcjs = require('../../chunk-B4FUDHRE.cjs');
19
+ require('../../chunk-IUWCOK3X.cjs');
20
+ require('../../chunk-WUJGPHF2.cjs');
21
21
  require('../../chunk-CNMXP77I.cjs');
22
22
  require('../../chunk-QPJUQ5YU.cjs');
23
23
  require('../../chunk-4R4HAFXI.cjs');
@@ -27,7 +27,7 @@ require('../../chunk-HEVW75L3.cjs');
27
27
 
28
28
 
29
29
  var _chunkMWQOM2EIcjs = require('../../chunk-MWQOM2EI.cjs');
30
- require('../../chunk-GQJXOX5S.cjs');
30
+ require('../../chunk-EGOCAIZJ.cjs');
31
31
  require('../../chunk-WCK5T3UD.cjs');
32
32
  require('../../chunk-744JXTDP.cjs');
33
33
  require('../../chunk-NMLNZCK2.cjs');
@@ -1904,4 +1904,4 @@ require('../../chunk-QDB2JO55.cjs');
1904
1904
 
1905
1905
 
1906
1906
 
1907
- exports.HelpCenterCard = _chunkRAFWT3WGcjs.HelpCenterCard; exports.HelpCenterCreateForm = _chunkRAFWT3WGcjs.HelpCenterCreateForm; exports.HelpCenterList = _chunkRAFWT3WGcjs.HelpCenterList; exports.TICKET_OPEN_PARAM = _chunk4ASUUB3Acjs.TICKET_OPEN_PARAM; exports.TICKET_TOAST_COPY = _chunkRAFWT3WGcjs.TOAST_COPY; exports.TicketCenter = _chunkRAFWT3WGcjs.TicketCenter; exports.TicketDetailDrawer = _chunkRAFWT3WGcjs.TicketDetailDrawer; exports.TicketLinkedDeliveryCard = _chunkRAFWT3WGcjs.TicketLinkedDeliveryCard; exports.TicketLiveProvider = _chunkMWQOM2EIcjs.TicketLiveProvider; exports.TicketOpenForm = _chunkRAFWT3WGcjs.TicketOpenForm; exports.TicketReplyComposer = _chunkRAFWT3WGcjs.TicketReplyComposer; exports.TicketRow = _chunkRAFWT3WGcjs.TicketRow; exports.buildTicketOpenHref = _chunk4ASUUB3Acjs.buildTicketOpenHref; exports.isOptimistic = _chunkRAFWT3WGcjs.isOptimistic; exports.mapTicketActionError = _chunkRAFWT3WGcjs.mapTicketActionError; exports.useOptionalTicketLive = _chunkMWQOM2EIcjs.useOptionalTicketLive; exports.useTicketActions = _chunkRAFWT3WGcjs.useTicketActions; exports.useTicketEngagements = _chunkRAFWT3WGcjs.useTicketEngagements; exports.useTicketLive = _chunkMWQOM2EIcjs.useTicketLive; exports.useTicketsList = _chunkRAFWT3WGcjs.useTicketsList;
1907
+ exports.HelpCenterCard = _chunkB4FUDHREcjs.HelpCenterCard; exports.HelpCenterCreateForm = _chunkB4FUDHREcjs.HelpCenterCreateForm; exports.HelpCenterList = _chunkB4FUDHREcjs.HelpCenterList; exports.TICKET_OPEN_PARAM = _chunk4ASUUB3Acjs.TICKET_OPEN_PARAM; exports.TICKET_TOAST_COPY = _chunkB4FUDHREcjs.TOAST_COPY; exports.TicketCenter = _chunkB4FUDHREcjs.TicketCenter; exports.TicketDetailDrawer = _chunkB4FUDHREcjs.TicketDetailDrawer; exports.TicketLinkedDeliveryCard = _chunkB4FUDHREcjs.TicketLinkedDeliveryCard; exports.TicketLiveProvider = _chunkMWQOM2EIcjs.TicketLiveProvider; exports.TicketOpenForm = _chunkB4FUDHREcjs.TicketOpenForm; exports.TicketReplyComposer = _chunkB4FUDHREcjs.TicketReplyComposer; exports.TicketRow = _chunkB4FUDHREcjs.TicketRow; exports.buildTicketOpenHref = _chunk4ASUUB3Acjs.buildTicketOpenHref; exports.isOptimistic = _chunkB4FUDHREcjs.isOptimistic; exports.mapTicketActionError = _chunkB4FUDHREcjs.mapTicketActionError; exports.useOptionalTicketLive = _chunkMWQOM2EIcjs.useOptionalTicketLive; exports.useTicketActions = _chunkB4FUDHREcjs.useTicketActions; exports.useTicketEngagements = _chunkB4FUDHREcjs.useTicketEngagements; exports.useTicketLive = _chunkMWQOM2EIcjs.useTicketLive; exports.useTicketsList = _chunkB4FUDHREcjs.useTicketsList;