@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.
- package/dist/{chunk-VJ4ZWD5G.cjs → chunk-2YSC3API.cjs} +13 -14
- package/dist/{chunk-R4CLIWAU.js.map → chunk-2YSC3API.cjs.map} +1 -1
- package/dist/{chunk-7L22MF3U.cjs → chunk-6BWZFRUG.cjs} +3 -3
- package/dist/{chunk-7L22MF3U.cjs.map → chunk-6BWZFRUG.cjs.map} +1 -1
- package/dist/{chunk-4XMYOZFO.js → chunk-AGRSALEN.js} +2 -2
- package/dist/{chunk-2V6RCQ5M.cjs → chunk-BVNYQDZE.cjs} +23 -23
- package/dist/{chunk-2V6RCQ5M.cjs.map → chunk-BVNYQDZE.cjs.map} +1 -1
- package/dist/{chunk-LVOBI2M5.js → chunk-CSL3ECOF.js} +2 -2
- package/dist/{chunk-Z5QIVHJW.js → chunk-D4R2MUPA.js} +2 -2
- package/dist/{chunk-KJF7SRKH.js → chunk-EGSAB76W.js} +2 -2
- package/dist/{chunk-4F3X2AOB.js → chunk-RSIFEDZX.js} +2 -2
- package/dist/{chunk-UC5GB255.cjs → chunk-VMRPM24G.cjs} +5 -5
- package/dist/{chunk-UC5GB255.cjs.map → chunk-VMRPM24G.cjs.map} +1 -1
- package/dist/{chunk-R4CLIWAU.js → chunk-Z2EOXZBW.js} +13 -14
- package/dist/chunk-Z2EOXZBW.js.map +1 -0
- package/dist/{chunk-AAK6IY6Y.cjs → chunk-Z4GAFSNM.cjs} +4 -4
- package/dist/{chunk-AAK6IY6Y.cjs.map → chunk-Z4GAFSNM.cjs.map} +1 -1
- package/dist/{chunk-OYXZIPNM.cjs → chunk-ZYBUFVQV.cjs} +25 -25
- package/dist/{chunk-OYXZIPNM.cjs.map → chunk-ZYBUFVQV.cjs.map} +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/paths-display.d.ts +1 -1
- package/dist/components/features/paths-display.d.ts.map +1 -1
- package/dist/components/index.cjs +46 -46
- package/dist/components/index.js +5 -5
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +45 -45
- package/dist/components/tickets/index.js +3 -3
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/.paths-display.md +1 -1
- package/src/components/features/command-box.tsx +1 -1
- package/src/components/features/paths-display.tsx +13 -14
- package/dist/chunk-VJ4ZWD5G.cjs.map +0 -1
- /package/dist/{chunk-4XMYOZFO.js.map → chunk-AGRSALEN.js.map} +0 -0
- /package/dist/{chunk-LVOBI2M5.js.map → chunk-CSL3ECOF.js.map} +0 -0
- /package/dist/{chunk-Z5QIVHJW.js.map → chunk-D4R2MUPA.js.map} +0 -0
- /package/dist/{chunk-KJF7SRKH.js.map → chunk-EGSAB76W.js.map} +0 -0
- /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 {
|
|
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-
|
|
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-
|
|
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
|
|
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
|
|
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
|
|
102
|
+
className="flex items-center gap-4 p-4 border-b border-ods-border last:border-b-0"
|
|
104
103
|
>
|
|
105
|
-
<span className="
|
|
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
|
-
<
|
|
110
|
-
|
|
111
|
-
size="small-legacy"
|
|
108
|
+
<button
|
|
109
|
+
type="button"
|
|
112
110
|
onClick={() => onCopyPath(path)}
|
|
113
|
-
|
|
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
|
-
<
|
|
116
|
-
</
|
|
114
|
+
<Copy02Icon className={copyIconSize} />
|
|
115
|
+
</button>
|
|
117
116
|
)}
|
|
118
117
|
</div>
|
|
119
118
|
))}
|