@flamingo-stack/openframe-frontend-core 0.0.812 → 0.0.813

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 (114) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/case-study-card-NLT2JVI7.cjs +23 -0
  3. package/dist/{chunk-5QLDHPPU.cjs → chunk-25HBH4J6.cjs} +15 -15
  4. package/dist/{chunk-JMAKYJ3Q.cjs → chunk-2WD7XGWA.cjs} +6 -6
  5. package/dist/{chunk-LKQ33CMY.cjs → chunk-2XCORRJV.cjs} +3 -3
  6. package/dist/{chunk-JTIGKLKJ.cjs → chunk-2XLPRW7V.cjs} +23 -23
  7. package/dist/{chunk-4WIJI4AK.cjs → chunk-3TOWCFIK.cjs} +20 -26
  8. package/dist/{chunk-KUXHXLJQ.cjs → chunk-3V5JWG27.cjs} +5 -5
  9. package/dist/{chunk-CUDJP7R7.cjs → chunk-467T3LCG.cjs} +63 -63
  10. package/dist/{chunk-COTJLBOS.cjs → chunk-4PMD3JUC.cjs} +19 -19
  11. package/dist/{chunk-7HNZHENA.cjs → chunk-5M5JVVSL.cjs} +13 -13
  12. package/dist/{chunk-PQ76VC2P.cjs → chunk-5RBL7A2Y.cjs} +544 -544
  13. package/dist/{chunk-YR74H7Z3.cjs → chunk-5SZ4ILU3.cjs} +7 -7
  14. package/dist/{chunk-TCMUVY3M.cjs → chunk-5V3CNLCB.cjs} +199 -199
  15. package/dist/{chunk-7JWFMAQB.cjs → chunk-63A4GZMB.cjs} +18 -2
  16. package/dist/{chunk-ZD6SZLO2.cjs → chunk-6CZVQ72C.cjs} +3 -3
  17. package/dist/{chunk-NEDFRRLM.cjs → chunk-7BJ22OH2.cjs} +171 -171
  18. package/dist/{chunk-VEN6MGNX.cjs → chunk-7O7EX7HQ.cjs} +45 -45
  19. package/dist/{chunk-U2MHQBL4.cjs → chunk-BOS7OIC4.cjs} +30 -30
  20. package/dist/{chunk-SFUNXMY3.cjs → chunk-EHANO6UE.cjs} +16 -16
  21. package/dist/{chunk-RSLLS6C4.cjs → chunk-EJQRX6S5.cjs} +62 -62
  22. package/dist/{chunk-4ZTGCCNI.cjs → chunk-F4ZJRMMM.cjs} +20 -20
  23. package/dist/{chunk-AHBTZ7DN.cjs → chunk-FCZAUK4D.cjs} +52 -50
  24. package/dist/{chunk-VPYGK4AV.cjs → chunk-FTGXZHLO.cjs} +31 -31
  25. package/dist/{chunk-K7IX2NAG.cjs → chunk-G2AN67DP.cjs} +110 -110
  26. package/dist/{chunk-VT2ACO3Z.cjs → chunk-GAR2IIU6.cjs} +349 -349
  27. package/dist/{chunk-EPMAMFQE.cjs → chunk-GNGXHIBC.cjs} +119 -119
  28. package/dist/{chunk-WFJDKP2Q.cjs → chunk-GTOT4ZQV.cjs} +37 -37
  29. package/dist/{chunk-743MM5B6.cjs → chunk-HM7VCQSX.cjs} +10 -10
  30. package/dist/{chunk-VYLBW6ZV.cjs → chunk-IJCSQFLD.cjs} +209 -209
  31. package/dist/{chunk-XZKYU57A.cjs → chunk-IKB6AZPV.cjs} +8 -8
  32. package/dist/{chunk-FCFLZPID.cjs → chunk-JFA3VHXC.cjs} +51 -51
  33. package/dist/{chunk-TS4PKCG3.cjs → chunk-JOKOQOLJ.cjs} +22 -22
  34. package/dist/{chunk-D322VUSH.cjs → chunk-MBU45QUB.cjs} +2050 -2045
  35. package/dist/{chunk-DA2TWDGJ.cjs → chunk-MUH7X7ZA.cjs} +13 -13
  36. package/dist/{chunk-GD47ZGOU.cjs → chunk-N3MBQRCQ.cjs} +3 -3
  37. package/dist/{chunk-ZFUNSXSH.cjs → chunk-NONMZ5WJ.cjs} +5 -5
  38. package/dist/{chunk-E64HJMY6.cjs → chunk-OBQ5WUNG.cjs} +67 -67
  39. package/dist/{chunk-OKI5KSUV.cjs → chunk-OGHG6REG.cjs} +44 -44
  40. package/dist/{chunk-6LZ4BI7Z.cjs → chunk-PAI4A3UM.cjs} +60 -60
  41. package/dist/{chunk-JMRO7CK2.cjs → chunk-PXR27MXW.cjs} +45 -45
  42. package/dist/{chunk-4IU462LR.cjs → chunk-QDDBOCG3.cjs} +2 -2
  43. package/dist/{chunk-5DBW6ERF.cjs → chunk-QOAA7ZHB.cjs} +2 -2
  44. package/dist/{chunk-7Q2PFKU3.cjs → chunk-QQT23JJ7.cjs} +4 -4
  45. package/dist/{chunk-4SZKJPQJ.cjs → chunk-RD66AGUI.cjs} +6 -6
  46. package/dist/{chunk-NL3G642U.cjs → chunk-S3QXLD4X.cjs} +10 -10
  47. package/dist/{chunk-7RM4NM2C.cjs → chunk-SWF6TNZ3.cjs} +14 -14
  48. package/dist/{chunk-D2EPUQ35.cjs → chunk-TOBROYSJ.cjs} +4 -4
  49. package/dist/{chunk-P4B6PVSG.cjs → chunk-USUVHAQ7.cjs} +7 -7
  50. package/dist/{chunk-2IZHRVKD.cjs → chunk-WKODIG3L.cjs} +46 -46
  51. package/dist/{chunk-XB7VPJNY.cjs → chunk-XWCZSEW7.cjs} +3 -3
  52. package/dist/{chunk-SC3I3YWM.cjs → chunk-Y6MJMPHV.cjs} +126 -126
  53. package/dist/{chunk-7TBXHZLB.cjs → chunk-ZRDVFADQ.cjs} +61 -61
  54. package/dist/{cloud-tenants-CW3I7AIM.cjs → cloud-tenants-ODZVCP5X.cjs} +32 -32
  55. package/dist/components/calendar.cjs +10 -10
  56. package/dist/components/case-studies/index.cjs +52 -52
  57. package/dist/components/chat/index.cjs +26 -26
  58. package/dist/components/contact/index.cjs +33 -33
  59. package/dist/components/docs/index.cjs +36 -36
  60. package/dist/components/embeds/index.cjs +33 -33
  61. package/dist/components/faq/index.cjs +34 -34
  62. package/dist/components/features/index.cjs +32 -32
  63. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -1
  64. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
  65. package/dist/components/features/select-button.js +1 -1
  66. package/dist/components/help-center-pages/index.cjs +165 -165
  67. package/dist/components/index.cjs +220 -218
  68. package/dist/components/meeting-scheduler/index.cjs +196 -196
  69. package/dist/components/navigation/index.cjs +35 -35
  70. package/dist/components/onboarding-guides/index.cjs +35 -35
  71. package/dist/components/platform/ScriptArguments.d.ts +2 -0
  72. package/dist/components/platform/ScriptArguments.d.ts.map +1 -1
  73. package/dist/components/platform/ScriptArguments.js +3 -2
  74. package/dist/components/product-demo/index.cjs +45 -45
  75. package/dist/components/related-content/index.cjs +17 -17
  76. package/dist/components/tickets/index.cjs +39 -39
  77. package/dist/components/ui/button/button-styles.d.ts +8 -0
  78. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  79. package/dist/components/ui/button/button-styles.js +8 -1
  80. package/dist/components/ui/button/button.d.ts.map +1 -1
  81. package/dist/components/ui/button/button.js +6 -4
  82. package/dist/components/ui/button/split-button.d.ts.map +1 -1
  83. package/dist/components/ui/button/split-button.js +3 -2
  84. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  85. package/dist/components/ui/checkbox-block.js +3 -1
  86. package/dist/components/ui/file-manager/index.cjs +55 -55
  87. package/dist/components/ui/index.cjs +34 -32
  88. package/dist/components/ui/input-styles.d.ts +2 -0
  89. package/dist/components/ui/input-styles.d.ts.map +1 -1
  90. package/dist/components/ui/input-styles.js +2 -0
  91. package/dist/{devices-KKRAB4Q2.cjs → devices-GWBR7MJD.cjs} +33 -33
  92. package/dist/embed-shims/index.cjs +4 -4
  93. package/dist/embed-shims/next-image.cjs +4 -4
  94. package/dist/{embeddable-chat-5UO66U4F.cjs → embeddable-chat-4RLUXHDH.cjs} +115 -115
  95. package/dist/hooks/index.cjs +10 -10
  96. package/dist/index.cjs +50 -48
  97. package/dist/{knowledge-Z2PTGBA3.cjs → knowledge-ZNRITHW5.cjs} +33 -33
  98. package/dist/{logs-6T5VK2TY.cjs → logs-QN5H5JT6.cjs} +41 -41
  99. package/dist/{policies-JPIC5YDE.cjs → policies-SCUYEYGJ.cjs} +36 -36
  100. package/dist/{remote-session-VBVUMIUP.cjs → remote-session-BQMTIQTU.cjs} +17 -17
  101. package/dist/{scripts-BSYJJFBQ.cjs → scripts-BP7UTAG5.cjs} +39 -39
  102. package/dist/{software-update-KVEYYORC.cjs → software-update-O4BQJCJ4.cjs} +36 -36
  103. package/dist/{tickets-board-YRZ54JJS.cjs → tickets-board-TRXOX77R.cjs} +17 -17
  104. package/dist/{video-file-player-4QMVTOBE.cjs → video-file-player-IAMWBKEQ.cjs} +14 -14
  105. package/package.json +1 -1
  106. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +4 -2
  107. package/src/components/features/select-button.tsx +1 -1
  108. package/src/components/platform/ScriptArguments.tsx +8 -1
  109. package/src/components/ui/button/button-styles.ts +18 -1
  110. package/src/components/ui/button/button.tsx +7 -4
  111. package/src/components/ui/button/split-button.tsx +3 -2
  112. package/src/components/ui/checkbox-block.tsx +3 -1
  113. package/src/components/ui/input-styles.ts +2 -0
  114. package/dist/case-study-card-3XLKCGLV.cjs +0 -23
@@ -10,6 +10,7 @@ import {
10
10
  BUTTON_KIND_CLASS,
11
11
  BUTTON_SIZE_CLASS,
12
12
  type ButtonKind,
13
+ buttonIconSlotClass,
13
14
  buttonSurfaceClasses,
14
15
  outlineBorderClasses,
15
16
  splitDividerColorClasses,
@@ -297,6 +298,8 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(function ButtonI
297
298
  ) {
298
299
  const isDisabled = disabled || loading;
299
300
  const kind = variant && variant in BUTTON_KIND_CLASS ? (variant as ButtonKind) : null;
301
+ // Beside a label the icon takes the surface's icon tone; without one it is the content and keeps the text colour.
302
+ const labelIconClass = buttonIconSlotClass(children ? variant : null, isDisabled);
300
303
 
301
304
  // splitIcon is only supported for default/small sizes. With other sizes
302
305
  // (icon, small-legacy) we silently fall back to the normal layout.
@@ -313,9 +316,9 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(function ButtonI
313
316
  <>
314
317
  <span className={cn('contents', loading && 'invisible')}>
315
318
  <span className={mainSlotClass}>
316
- {leftIcon && <span className="inline-flex items-center">{leftIcon}</span>}
319
+ {leftIcon && <span className={labelIconClass}>{leftIcon}</span>}
317
320
  {children}
318
- {rightIcon && <span className="inline-flex items-center">{rightIcon}</span>}
321
+ {rightIcon && <span className={labelIconClass}>{rightIcon}</span>}
319
322
  </span>
320
323
  <span aria-hidden="true" className={iconSlotClass}>
321
324
  {splitIcon}
@@ -422,9 +425,9 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(function ButtonI
422
425
  const content = (
423
426
  <>
424
427
  <span className={cn('contents', loading && 'invisible')}>
425
- {leftIcon && <span className="inline-flex items-center">{leftIcon}</span>}
428
+ {leftIcon && <span className={labelIconClass}>{leftIcon}</span>}
426
429
  {children}
427
- {rightIcon && <span className="inline-flex items-center">{rightIcon}</span>}
430
+ {rightIcon && <span className={labelIconClass}>{rightIcon}</span>}
428
431
  </span>
429
432
  {loading && (
430
433
  <span className="absolute inset-0 inline-flex items-center justify-center text-ods-text-primary">
@@ -3,6 +3,7 @@
3
3
  import React from 'react';
4
4
  import { cn } from '../../../utils/cn';
5
5
  import { Button } from './button';
6
+ import { buttonIconSlotClass } from './button-styles';
6
7
 
7
8
  // Two independent interactive halves, each the lib's `Button` (a `<button>`, or a link with `href`) attached to the
8
9
  // other (`attach="start"` / `"end"`): one surface with a seam. For a single-target variant (decorative trailing icon),
@@ -148,9 +149,9 @@ const SplitButton = React.forwardRef<HTMLDivElement, SplitButtonProps>(function
148
149
  type={type}
149
150
  ariaLabel={ariaLabel}
150
151
  >
151
- {leftIcon && <span className="inline-flex items-center">{leftIcon}</span>}
152
+ {leftIcon && <span className={buttonIconSlotClass(variant, disabled || mainDisabled)}>{leftIcon}</span>}
152
153
  <span>{children}</span>
153
- {rightIcon && <span className="inline-flex items-center">{rightIcon}</span>}
154
+ {rightIcon && <span className={buttonIconSlotClass(variant, disabled || mainDisabled)}>{rightIcon}</span>}
154
155
  </Half>
155
156
  <Half
156
157
  variant={variant}
@@ -5,6 +5,7 @@ import { type ComponentRef, type ReactNode, forwardRef } from 'react';
5
5
  import { cn } from '../../utils/cn';
6
6
  import { TextLineSkeleton } from '../loading/unified-skeleton';
7
7
  import { Checkbox } from './checkbox';
8
+ import { INPUT_MIN_HEIGHT_CLASS } from './input-styles';
8
9
  import { Label } from './label';
9
10
  import { loadingItemProps, useLoadingScope } from './loading-scope';
10
11
  import { RequiredMark } from './required-mark';
@@ -85,7 +86,8 @@ const CheckboxBlock = forwardRef<ComponentRef<typeof CheckboxPrimitive.Root>, Ch
85
86
  // Trailing content stacks full-width below the text on mobile.
86
87
  trailing && 'flex-wrap content-md:flex-nowrap',
87
88
  'p-[var(--spacing-system-sf)]',
88
- !description && 'min-h-[44px] content-md:min-h-[48px]',
89
+ // A field's height: the block sits in rows of inputs and choice buttons (`SelectButton`).
90
+ !description && INPUT_MIN_HEIGHT_CLASS,
89
91
  description && 'min-h-[60px] content-md:min-h-[64px]',
90
92
  'bg-ods-card ring-ods-border',
91
93
  'cursor-pointer transition-colors duration-200',
@@ -3,6 +3,8 @@
3
3
  * `Input` and by `InteractiveSkeleton.Input`, so a field's skeleton is the field's box.
4
4
  */
5
5
  export const INPUT_HEIGHT_CLASS = 'h-11 md:h-12';
6
+ /** The same steps as a FLOOR, for a block that sits in a row of fields but may wrap its text (`CheckboxBlock`). */
7
+ export const INPUT_MIN_HEIGHT_CLASS = 'min-h-11 md:min-h-12';
6
8
  export const INPUT_RADIUS_CLASS = 'rounded-[6px]';
7
9
  /** A field's value (or placeholder) while it is read: the `text-h4` bar in the field's value slot. Read by `Input`,
8
10
  * `SelectTrigger` and `InputTrigger`, so every field draws the same bar. */
@@ -1,23 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
- "use client";
3
-
4
-
5
- var _chunkSC3I3YWMcjs = require('./chunk-SC3I3YWM.cjs');
6
- require('./chunk-7Q2PFKU3.cjs');
7
- require('./chunk-P4B6PVSG.cjs');
8
- require('./chunk-S5C3OZCO.cjs');
9
- require('./chunk-4IYNDV3G.cjs');
10
- require('./chunk-4SZKJPQJ.cjs');
11
- require('./chunk-FX35L4Y6.cjs');
12
- require('./chunk-NTPX5GXI.cjs');
13
- require('./chunk-5DBW6ERF.cjs');
14
- require('./chunk-GI3MMBP3.cjs');
15
- require('./chunk-KUXHXLJQ.cjs');
16
- require('./chunk-UJ7AXHRZ.cjs');
17
- require('./chunk-4WIJI4AK.cjs');
18
- require('./chunk-AHBTZ7DN.cjs');
19
- require('./chunk-7JWFMAQB.cjs');
20
- require('./chunk-V45KLJQP.cjs');
21
-
22
-
23
- exports.CaseStudyCard = _chunkSC3I3YWMcjs.CaseStudyCard;