@flamingo-stack/openframe-frontend-core 0.0.596-2034.5687.1 → 0.0.596

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 (152) hide show
  1. package/dist/{chunk-SQXNSIGS.cjs → chunk-4S5E7NOM.cjs} +5 -5
  2. package/dist/{chunk-SQXNSIGS.cjs.map → chunk-4S5E7NOM.cjs.map} +1 -1
  3. package/dist/{chunk-MRW4QU2L.js → chunk-6EBKO275.js} +3 -3
  4. package/dist/{chunk-5JMMSSMV.js → chunk-7L5ROE3Z.js} +3 -3
  5. package/dist/{chunk-PHNFKPWJ.js → chunk-AVIZUQRW.js} +2 -2
  6. package/dist/{chunk-XW4JIRYE.cjs → chunk-AYVTVUZT.cjs} +15 -15
  7. package/dist/{chunk-XW4JIRYE.cjs.map → chunk-AYVTVUZT.cjs.map} +1 -1
  8. package/dist/{chunk-KQ2X5FUP.cjs → chunk-B3NX4GZS.cjs} +3 -3
  9. package/dist/{chunk-KQ2X5FUP.cjs.map → chunk-B3NX4GZS.cjs.map} +1 -1
  10. package/dist/{chunk-Y3VGUQIW.cjs → chunk-DVSTM6QK.cjs} +33 -33
  11. package/dist/{chunk-Y3VGUQIW.cjs.map → chunk-DVSTM6QK.cjs.map} +1 -1
  12. package/dist/{chunk-WVSUQTPS.cjs → chunk-EQ3DAGD7.cjs} +43 -43
  13. package/dist/{chunk-WVSUQTPS.cjs.map → chunk-EQ3DAGD7.cjs.map} +1 -1
  14. package/dist/{chunk-H7NBAAIH.cjs → chunk-FCNICDWP.cjs} +9 -9
  15. package/dist/{chunk-H7NBAAIH.cjs.map → chunk-FCNICDWP.cjs.map} +1 -1
  16. package/dist/{chunk-6QBKSVAZ.cjs → chunk-FV5VGJE6.cjs} +3 -3
  17. package/dist/{chunk-6QBKSVAZ.cjs.map → chunk-FV5VGJE6.cjs.map} +1 -1
  18. package/dist/{chunk-XIEV46BX.js → chunk-GOD47MJM.js} +6 -4
  19. package/dist/{chunk-XIEV46BX.js.map → chunk-GOD47MJM.js.map} +1 -1
  20. package/dist/{chunk-PMIKKJMI.js → chunk-HFJSBIXL.js} +3 -3
  21. package/dist/{chunk-R6IV75YP.cjs → chunk-IMIR5V6E.cjs} +26 -24
  22. package/dist/chunk-IMIR5V6E.cjs.map +1 -0
  23. package/dist/{chunk-MEHPKLH5.js → chunk-KU3JQWYJ.js} +5 -5
  24. package/dist/{chunk-36PHDSTO.js → chunk-MF324FSD.js} +30 -30
  25. package/dist/chunk-MF324FSD.js.map +1 -0
  26. package/dist/{chunk-KJ4O6NSF.js → chunk-MGBWMZEL.js} +2 -2
  27. package/dist/{chunk-DYTFM2MX.cjs → chunk-MIC4HHVZ.cjs} +23 -21
  28. package/dist/chunk-MIC4HHVZ.cjs.map +1 -0
  29. package/dist/{chunk-PWXQBKFP.js → chunk-N7SFQMCH.js} +2 -2
  30. package/dist/{chunk-VNQ2LF6G.cjs → chunk-OEDUVTPT.cjs} +10 -10
  31. package/dist/{chunk-VNQ2LF6G.cjs.map → chunk-OEDUVTPT.cjs.map} +1 -1
  32. package/dist/{chunk-BTRH2YFY.cjs → chunk-OGTXZFFE.cjs} +71 -70
  33. package/dist/chunk-OGTXZFFE.cjs.map +1 -0
  34. package/dist/{chunk-EWBOBUCM.js → chunk-P2SECY3U.js} +5 -5
  35. package/dist/{chunk-NM5Q56PX.js → chunk-PTXOWFRB.js} +8 -7
  36. package/dist/chunk-PTXOWFRB.js.map +1 -0
  37. package/dist/{chunk-VZMCNCW5.js → chunk-PYWF5JJW.js} +5 -5
  38. package/dist/{chunk-JF56KVHW.cjs → chunk-R5IWJONE.cjs} +187 -187
  39. package/dist/chunk-R5IWJONE.cjs.map +1 -0
  40. package/dist/{chunk-2VGIM6WY.js → chunk-SSSZ64YG.js} +5 -3
  41. package/dist/chunk-SSSZ64YG.js.map +1 -0
  42. package/dist/{chunk-E2ALHISW.cjs → chunk-SXVGFJ24.cjs} +22 -22
  43. package/dist/{chunk-E2ALHISW.cjs.map → chunk-SXVGFJ24.cjs.map} +1 -1
  44. package/dist/{chunk-AOANH6ZJ.js → chunk-TRJJMZSQ.js} +2 -2
  45. package/dist/{chunk-47IZN43H.js → chunk-VD3ZAA2O.js} +3 -3
  46. package/dist/{chunk-E7MTTLKC.js → chunk-VNSRNVPD.js} +2 -2
  47. package/dist/{chunk-E7MTTLKC.js.map → chunk-VNSRNVPD.js.map} +1 -1
  48. package/dist/{chunk-SSUJ4Z62.cjs → chunk-WRWXND3X.cjs} +10 -10
  49. package/dist/{chunk-SSUJ4Z62.cjs.map → chunk-WRWXND3X.cjs.map} +1 -1
  50. package/dist/{chunk-L7GNBUXF.cjs → chunk-YBPFIXV4.cjs} +2 -2
  51. package/dist/{chunk-L7GNBUXF.cjs.map → chunk-YBPFIXV4.cjs.map} +1 -1
  52. package/dist/{chunk-26GIURMP.cjs → chunk-YNO4DEXK.cjs} +4 -4
  53. package/dist/{chunk-26GIURMP.cjs.map → chunk-YNO4DEXK.cjs.map} +1 -1
  54. package/dist/components/case-studies/index.cjs +9 -9
  55. package/dist/components/case-studies/index.js +3 -3
  56. package/dist/components/chat/index.cjs +2 -2
  57. package/dist/components/chat/index.js +1 -1
  58. package/dist/components/contact/contact-form.d.ts.map +1 -1
  59. package/dist/components/contact/index.cjs +4 -4
  60. package/dist/components/contact/index.js +3 -3
  61. package/dist/components/docs/index.cjs +7 -7
  62. package/dist/components/docs/index.js +6 -6
  63. package/dist/components/embeds/index.cjs +4 -4
  64. package/dist/components/embeds/index.js +3 -3
  65. package/dist/components/faq/index.cjs +4 -4
  66. package/dist/components/faq/index.js +3 -3
  67. package/dist/components/features/auth/terms-agreement-label.d.ts.map +1 -1
  68. package/dist/components/features/index.cjs +3 -3
  69. package/dist/components/features/index.js +2 -2
  70. package/dist/components/help-center-pages/index.cjs +23 -23
  71. package/dist/components/help-center-pages/index.js +14 -14
  72. package/dist/components/index.cjs +38 -38
  73. package/dist/components/index.js +13 -13
  74. package/dist/components/meeting-scheduler/booking-form.d.ts +8 -4
  75. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  76. package/dist/components/meeting-scheduler/index.cjs +53 -38
  77. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  78. package/dist/components/meeting-scheduler/index.d.ts +12 -1
  79. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  80. package/dist/components/meeting-scheduler/index.js +31 -16
  81. package/dist/components/meeting-scheduler/index.js.map +1 -1
  82. package/dist/components/navigation/header-global-search.d.ts.map +1 -1
  83. package/dist/components/navigation/index.cjs +6 -6
  84. package/dist/components/navigation/index.js +5 -5
  85. package/dist/components/onboarding-guides/index.cjs +6 -6
  86. package/dist/components/onboarding-guides/index.js +5 -5
  87. package/dist/components/tickets/index.cjs +7 -7
  88. package/dist/components/tickets/index.js +6 -6
  89. package/dist/components/tickets/ticket-open-form.d.ts.map +1 -1
  90. package/dist/components/ui/admin-form-modal.d.ts.map +1 -1
  91. package/dist/components/ui/benefit-card.d.ts +1 -1
  92. package/dist/components/ui/benefit-card.d.ts.map +1 -1
  93. package/dist/components/ui/checkbox-block.d.ts +2 -1
  94. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  95. package/dist/components/ui/icon-tile.d.ts +3 -2
  96. package/dist/components/ui/icon-tile.d.ts.map +1 -1
  97. package/dist/components/ui/index.cjs +3 -3
  98. package/dist/components/ui/index.js +2 -2
  99. package/dist/components/ui/policy-link.d.ts +9 -1
  100. package/dist/components/ui/policy-link.d.ts.map +1 -1
  101. package/dist/index.cjs +9 -7
  102. package/dist/index.cjs.map +1 -1
  103. package/dist/index.js +8 -6
  104. package/dist/index.js.map +1 -1
  105. package/dist/utils/hubspot-collected-forms.d.ts +22 -0
  106. package/dist/utils/hubspot-collected-forms.d.ts.map +1 -0
  107. package/dist/utils/hubspot-meetings-convention.d.ts +3 -1
  108. package/dist/utils/hubspot-meetings-convention.d.ts.map +1 -1
  109. package/dist/utils/index.cjs +5 -1
  110. package/dist/utils/index.cjs.map +1 -1
  111. package/dist/utils/index.d.ts +1 -0
  112. package/dist/utils/index.d.ts.map +1 -1
  113. package/dist/utils/index.js +5 -2
  114. package/dist/utils/index.js.map +1 -1
  115. package/package.json +1 -1
  116. package/src/__tests__/meeting-scheduler-details-first.test.tsx +25 -4
  117. package/src/components/contact/contact-form.tsx +2 -0
  118. package/src/components/features/auth/terms-agreement-label.tsx +6 -16
  119. package/src/components/features/video-center-badge.tsx +2 -2
  120. package/src/components/meeting-scheduler/booking-form.tsx +22 -7
  121. package/src/components/meeting-scheduler/index.tsx +39 -17
  122. package/src/components/navigation/header-global-search.tsx +2 -0
  123. package/src/components/tickets/ticket-open-form.tsx +2 -1
  124. package/src/components/ui/admin-form-modal.tsx +2 -0
  125. package/src/components/ui/benefit-card.tsx +5 -1
  126. package/src/components/ui/checkbox-block.tsx +4 -1
  127. package/src/components/ui/icon-tile.tsx +3 -2
  128. package/src/components/ui/policy-link.tsx +18 -2
  129. package/src/styles/app-globals.css +1 -1
  130. package/src/styles/index.css +1 -0
  131. package/src/styles/ods-effects.css +53 -0
  132. package/src/utils/hubspot-collected-forms.ts +19 -0
  133. package/src/utils/hubspot-meetings-convention.ts +4 -2
  134. package/src/utils/index.ts +1 -0
  135. package/dist/chunk-2VGIM6WY.js.map +0 -1
  136. package/dist/chunk-36PHDSTO.js.map +0 -1
  137. package/dist/chunk-BTRH2YFY.cjs.map +0 -1
  138. package/dist/chunk-DYTFM2MX.cjs.map +0 -1
  139. package/dist/chunk-JF56KVHW.cjs.map +0 -1
  140. package/dist/chunk-NM5Q56PX.js.map +0 -1
  141. package/dist/chunk-R6IV75YP.cjs.map +0 -1
  142. /package/dist/{chunk-MRW4QU2L.js.map → chunk-6EBKO275.js.map} +0 -0
  143. /package/dist/{chunk-5JMMSSMV.js.map → chunk-7L5ROE3Z.js.map} +0 -0
  144. /package/dist/{chunk-PHNFKPWJ.js.map → chunk-AVIZUQRW.js.map} +0 -0
  145. /package/dist/{chunk-PMIKKJMI.js.map → chunk-HFJSBIXL.js.map} +0 -0
  146. /package/dist/{chunk-MEHPKLH5.js.map → chunk-KU3JQWYJ.js.map} +0 -0
  147. /package/dist/{chunk-KJ4O6NSF.js.map → chunk-MGBWMZEL.js.map} +0 -0
  148. /package/dist/{chunk-PWXQBKFP.js.map → chunk-N7SFQMCH.js.map} +0 -0
  149. /package/dist/{chunk-EWBOBUCM.js.map → chunk-P2SECY3U.js.map} +0 -0
  150. /package/dist/{chunk-VZMCNCW5.js.map → chunk-PYWF5JJW.js.map} +0 -0
  151. /package/dist/{chunk-AOANH6ZJ.js.map → chunk-TRJJMZSQ.js.map} +0 -0
  152. /package/dist/{chunk-47IZN43H.js.map → chunk-VD3ZAA2O.js.map} +0 -0
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-LRQCKSZC.js";
5
5
  import {
6
6
  DeliveryRow
7
- } from "./chunk-AOANH6ZJ.js";
7
+ } from "./chunk-TRJJMZSQ.js";
8
8
  import {
9
9
  EmptyState
10
10
  } from "./chunk-2JNCZDJR.js";
11
11
  import {
12
12
  DetailPageSkeleton
13
- } from "./chunk-PWXQBKFP.js";
13
+ } from "./chunk-N7SFQMCH.js";
14
14
  import {
15
15
  useSelfFetch
16
16
  } from "./chunk-WZJOILPU.js";
@@ -29,7 +29,7 @@ import {
29
29
  RichMarkdownRenderer,
30
30
  devSectionAnchorId,
31
31
  resolveContentHref
32
- } from "./chunk-36PHDSTO.js";
32
+ } from "./chunk-MF324FSD.js";
33
33
  import {
34
34
  useHumanitySignals,
35
35
  useScrollToHash
@@ -45,7 +45,7 @@ import {
45
45
  isModifierClick,
46
46
  useCaptions,
47
47
  useIsHydrated
48
- } from "./chunk-E7MTTLKC.js";
48
+ } from "./chunk-VNSRNVPD.js";
49
49
  import {
50
50
  STICKY_HEADER_OFFSET_PX
51
51
  } from "./chunk-5LIDR7HL.js";
@@ -1377,4 +1377,4 @@ export {
1377
1377
  useLegalDocs,
1378
1378
  LegalDocumentPage
1379
1379
  };
1380
- //# sourceMappingURL=chunk-MEHPKLH5.js.map
1380
+ //# sourceMappingURL=chunk-KU3JQWYJ.js.map
@@ -91,7 +91,7 @@ import {
91
91
  useCollapsible,
92
92
  useIsHydrated,
93
93
  useScrollFade
94
- } from "./chunk-E7MTTLKC.js";
94
+ } from "./chunk-VNSRNVPD.js";
95
95
  import {
96
96
  NEAR_VIEWPORT_ROOT_MARGIN,
97
97
  ToolIcon,
@@ -1244,7 +1244,7 @@ var CheckboxBlock = forwardRef4(
1244
1244
  disabled && "[&>span]:text-ods-text-disabled"
1245
1245
  ),
1246
1246
  children: [
1247
- /* @__PURE__ */ jsx8(
1247
+ /* @__PURE__ */ jsxs5(
1248
1248
  "span",
1249
1249
  {
1250
1250
  className: cn(
@@ -1252,7 +1252,10 @@ var CheckboxBlock = forwardRef4(
1252
1252
  "select-none text-ods-text-primary",
1253
1253
  truncateLabel ? "block truncate" : "break-words"
1254
1254
  ),
1255
- children: label
1255
+ children: [
1256
+ label,
1257
+ required && /* @__PURE__ */ jsx8(RequiredMark, {})
1258
+ ]
1256
1259
  }
1257
1260
  ),
1258
1261
  description && /* @__PURE__ */ jsx8("span", { className: cn("!leading-4 text-h6", "select-none break-words text-ods-text-secondary"), children: description })
@@ -4738,6 +4741,11 @@ function UnsavedChangesChip({ detail, className }) {
4738
4741
 
4739
4742
  // src/components/ui/admin-form-modal.tsx
4740
4743
  import { useId as useId4 } from "react";
4744
+
4745
+ // src/utils/hubspot-collected-forms.ts
4746
+ var HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = { "data-hs-do-not-collect": "true" };
4747
+
4748
+ // src/components/ui/admin-form-modal.tsx
4741
4749
  import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
4742
4750
  var SKELETON_FIELD_WIDTHS = ["w-24", "w-32", "w-20", "w-40", "w-28", "w-36"];
4743
4751
  function AdminFormModal({
@@ -4781,6 +4789,7 @@ function AdminFormModal({
4781
4789
  "form",
4782
4790
  {
4783
4791
  id: formId,
4792
+ ...HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
4784
4793
  className: "flex min-h-0 flex-1 flex-col",
4785
4794
  onSubmit: (e) => {
4786
4795
  e.preventDefault();
@@ -11106,7 +11115,7 @@ function parseSchedulingLinkName(name) {
11106
11115
  };
11107
11116
  }
11108
11117
  function isListedSchedulingName(name) {
11109
- return parseSchedulingLinkName(name).audienceLabel !== null;
11118
+ return schedulingAudienceKey(parseSchedulingLinkName(name).audienceLabel ?? "") !== null;
11110
11119
  }
11111
11120
  function schedulingAudienceKey(label) {
11112
11121
  const key = label.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
@@ -17613,12 +17622,22 @@ function IconTile({ className, children }) {
17613
17622
 
17614
17623
  // src/components/ui/policy-link.tsx
17615
17624
  import { jsx as jsx158 } from "react/jsx-runtime";
17616
- function PolicyLink({ href, children }) {
17625
+ var TONE_CLASS2 = {
17626
+ /** Consent rows: the accent, as every form's policy links draw it. */
17627
+ accent: "text-ods-accent underline underline-offset-2 hover:text-ods-accent/80",
17628
+ /** Quiet copy (the sign-up agreement line): secondary text, plain underline. */
17629
+ secondary: "text-ods-text-secondary underline"
17630
+ };
17631
+ function PolicyLink({
17632
+ href,
17633
+ tone = "accent",
17634
+ children
17635
+ }) {
17617
17636
  return /* @__PURE__ */ jsx158(
17618
17637
  "a",
17619
17638
  {
17620
17639
  href,
17621
- className: "text-ods-accent underline underline-offset-2 hover:text-ods-accent/80",
17640
+ className: cn(TONE_CLASS2[tone]),
17622
17641
  target: "_blank",
17623
17642
  rel: "noopener noreferrer",
17624
17643
  onClick: (e) => e.stopPropagation(),
@@ -18161,29 +18180,9 @@ import { jsx as jsx168, jsxs as jsxs131 } from "react/jsx-runtime";
18161
18180
  function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
18162
18181
  return /* @__PURE__ */ jsxs131("span", { className: "text-ods-text-primary text-h4", children: [
18163
18182
  "Agree to ",
18164
- /* @__PURE__ */ jsx168(
18165
- "a",
18166
- {
18167
- href: termsUrl,
18168
- target: "_blank",
18169
- rel: "noopener noreferrer",
18170
- className: "text-ods-text-secondary underline",
18171
- onClick: (event) => event.stopPropagation(),
18172
- children: "Terms"
18173
- }
18174
- ),
18183
+ /* @__PURE__ */ jsx168(PolicyLink, { href: termsUrl, tone: "secondary", children: "Terms" }),
18175
18184
  " & ",
18176
- /* @__PURE__ */ jsx168(
18177
- "a",
18178
- {
18179
- href: privacyPolicyUrl,
18180
- target: "_blank",
18181
- rel: "noopener noreferrer",
18182
- className: "text-ods-text-secondary underline",
18183
- onClick: (event) => event.stopPropagation(),
18184
- children: "Privacy Policy"
18185
- }
18186
- ),
18185
+ /* @__PURE__ */ jsx168(PolicyLink, { href: privacyPolicyUrl, tone: "secondary", children: "Privacy Policy" }),
18187
18186
  " by signing up."
18188
18187
  ] });
18189
18188
  }
@@ -30159,6 +30158,7 @@ export {
30159
30158
  useConfirm,
30160
30159
  useGuardedClose,
30161
30160
  UnsavedChangesChip,
30161
+ HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
30162
30162
  AdminFormModal,
30163
30163
  Separator2 as Separator,
30164
30164
  Sheet,
@@ -30465,6 +30465,7 @@ export {
30465
30465
  PROVIDER_META,
30466
30466
  SsoProviderButtons,
30467
30467
  CompleteAccountForm,
30468
+ PolicyLink,
30468
30469
  TermsAgreementLabel,
30469
30470
  CreateOrganizationForm,
30470
30471
  InviteLinkInvalidModal,
@@ -30583,7 +30584,6 @@ export {
30583
30584
  ViewToggle,
30584
30585
  PolicyConfigurationPanel,
30585
30586
  PhoneInput,
30586
- PolicyLink,
30587
30587
  WaitlistForm,
30588
30588
  NotificationsProvider,
30589
30589
  useNotifications,
@@ -30713,4 +30713,4 @@ export {
30713
30713
  LazyMount,
30714
30714
  IconTile
30715
30715
  };
30716
- //# sourceMappingURL=chunk-36PHDSTO.js.map
30716
+ //# sourceMappingURL=chunk-MF324FSD.js.map