@flamingo-stack/openframe-frontend-core 0.0.290 → 0.0.291

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 (53) hide show
  1. package/dist/{chunk-VJ4ZWD5G.cjs → chunk-2YSC3API.cjs} +13 -14
  2. package/dist/{chunk-R4CLIWAU.js.map → chunk-2YSC3API.cjs.map} +1 -1
  3. package/dist/{chunk-7L22MF3U.cjs → chunk-6BWZFRUG.cjs} +3 -3
  4. package/dist/{chunk-7L22MF3U.cjs.map → chunk-6BWZFRUG.cjs.map} +1 -1
  5. package/dist/{chunk-4XMYOZFO.js → chunk-AGRSALEN.js} +2 -2
  6. package/dist/{chunk-2V6RCQ5M.cjs → chunk-BVNYQDZE.cjs} +23 -23
  7. package/dist/{chunk-2V6RCQ5M.cjs.map → chunk-BVNYQDZE.cjs.map} +1 -1
  8. package/dist/{chunk-LVOBI2M5.js → chunk-CSL3ECOF.js} +2 -2
  9. package/dist/{chunk-Z5QIVHJW.js → chunk-D4R2MUPA.js} +2 -2
  10. package/dist/{chunk-KJF7SRKH.js → chunk-EGSAB76W.js} +2 -2
  11. package/dist/{chunk-4F3X2AOB.js → chunk-RSIFEDZX.js} +2 -2
  12. package/dist/{chunk-UC5GB255.cjs → chunk-VMRPM24G.cjs} +5 -5
  13. package/dist/{chunk-UC5GB255.cjs.map → chunk-VMRPM24G.cjs.map} +1 -1
  14. package/dist/{chunk-R4CLIWAU.js → chunk-Z2EOXZBW.js} +13 -14
  15. package/dist/chunk-Z2EOXZBW.js.map +1 -0
  16. package/dist/{chunk-AAK6IY6Y.cjs → chunk-Z4GAFSNM.cjs} +4 -4
  17. package/dist/{chunk-AAK6IY6Y.cjs.map → chunk-Z4GAFSNM.cjs.map} +1 -1
  18. package/dist/{chunk-OYXZIPNM.cjs → chunk-ZYBUFVQV.cjs} +25 -25
  19. package/dist/{chunk-OYXZIPNM.cjs.map → chunk-ZYBUFVQV.cjs.map} +1 -1
  20. package/dist/components/chat/index.cjs +2 -2
  21. package/dist/components/chat/index.js +1 -1
  22. package/dist/components/contact/index.cjs +3 -3
  23. package/dist/components/contact/index.js +2 -2
  24. package/dist/components/embeds/index.cjs +3 -3
  25. package/dist/components/embeds/index.js +2 -2
  26. package/dist/components/faq/index.cjs +3 -3
  27. package/dist/components/faq/index.js +2 -2
  28. package/dist/components/features/index.cjs +2 -2
  29. package/dist/components/features/index.js +1 -1
  30. package/dist/components/features/paths-display.d.ts +1 -1
  31. package/dist/components/features/paths-display.d.ts.map +1 -1
  32. package/dist/components/index.cjs +46 -46
  33. package/dist/components/index.js +5 -5
  34. package/dist/components/navigation/index.cjs +2 -2
  35. package/dist/components/navigation/index.js +1 -1
  36. package/dist/components/related-content/index.cjs +3 -3
  37. package/dist/components/related-content/index.js +2 -2
  38. package/dist/components/tickets/index.cjs +45 -45
  39. package/dist/components/tickets/index.js +3 -3
  40. package/dist/components/ui/index.cjs +2 -2
  41. package/dist/components/ui/index.js +1 -1
  42. package/dist/index.cjs +2 -2
  43. package/dist/index.js +1 -1
  44. package/package.json +1 -1
  45. package/src/components/features/.paths-display.md +1 -1
  46. package/src/components/features/command-box.tsx +1 -1
  47. package/src/components/features/paths-display.tsx +13 -14
  48. package/dist/chunk-VJ4ZWD5G.cjs.map +0 -1
  49. /package/dist/{chunk-4XMYOZFO.js.map → chunk-AGRSALEN.js.map} +0 -0
  50. /package/dist/{chunk-LVOBI2M5.js.map → chunk-CSL3ECOF.js.map} +0 -0
  51. /package/dist/{chunk-Z5QIVHJW.js.map → chunk-D4R2MUPA.js.map} +0 -0
  52. /package/dist/{chunk-KJF7SRKH.js.map → chunk-EGSAB76W.js.map} +0 -0
  53. /package/dist/{chunk-4F3X2AOB.js.map → chunk-RSIFEDZX.js.map} +0 -0
@@ -1,8 +1,7 @@
1
1
  'use client'
2
2
 
3
3
  import React from 'react'
4
- import { Copy } from 'lucide-react'
5
- import { Button } from '../ui/button'
4
+ import { Copy02Icon } from '../icons-v2-generated/documents/copy-02-icon'
6
5
  import { cn } from '../../utils/cn'
7
6
 
8
7
  export interface PathsDisplayProps {
@@ -37,7 +36,7 @@ export interface PathsDisplayProps {
37
36
  showCopyButtons?: boolean
38
37
 
39
38
  /**
40
- * Size of the copy icon (default: 'w-5 h-5')
39
+ * Size of the copy icon (default: 'w-6 h-6')
41
40
  */
42
41
  copyIconSize?: string
43
42
  }
@@ -78,7 +77,7 @@ export function PathsDisplay({
78
77
  description,
79
78
  className,
80
79
  showCopyButtons = true,
81
- copyIconSize = 'w-5 h-5'
80
+ copyIconSize = 'w-6 h-6'
82
81
  }: PathsDisplayProps) {
83
82
  if (!paths || paths.length === 0) {
84
83
  return null
@@ -87,12 +86,12 @@ export function PathsDisplay({
87
86
  return (
88
87
  <div className={cn('flex flex-col gap-3', className)}>
89
88
  {title && (
90
- <div className="text-ods-text-primary text-[16px] md:text-[18px]">
89
+ <div className="text-h4 text-ods-text-primary">
91
90
  {title}
92
91
  </div>
93
92
  )}
94
93
  {description && (
95
- <div className="text-ods-text-secondary text-[14px] md:text-[16px]">
94
+ <div className="text-h6 text-ods-text-secondary">
96
95
  {description}
97
96
  </div>
98
97
  )}
@@ -100,20 +99,20 @@ export function PathsDisplay({
100
99
  {paths.map((path) => (
101
100
  <div
102
101
  key={path}
103
- className="flex items-center justify-between p-4 border-b border-ods-border last:border-b-0"
102
+ className="flex items-center gap-4 p-4 border-b border-ods-border last:border-b-0"
104
103
  >
105
- <span className="text-ods-text-primary font-medium text-[14px] md:text-[16px] font-mono break-all">
104
+ <span className="flex-1 min-w-0 text-h4 text-ods-text-primary truncate">
106
105
  {path}
107
106
  </span>
108
107
  {showCopyButtons && onCopyPath && (
109
- <Button
110
- variant="transparent"
111
- size="small-legacy"
108
+ <button
109
+ type="button"
112
110
  onClick={() => onCopyPath(path)}
113
- className="ml-4 shrink-0"
111
+ aria-label={`Copy ${path}`}
112
+ className="shrink-0 rounded-md text-ods-text-secondary transition-colors hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus"
114
113
  >
115
- <Copy className={copyIconSize} />
116
- </Button>
114
+ <Copy02Icon className={copyIconSize} />
115
+ </button>
117
116
  )}
118
117
  </div>
119
118
  ))}