tfy-web-components 0.0.21 → 0.0.22
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/components/atoms/Accordion.d.ts +10 -18
- package/dist/components/atoms/Switch.d.ts +1 -5
- package/dist/components/atoms/Tooltip.d.ts +3 -5
- package/dist/components/molecules/Markdown/ChatFileDownload.d.ts +17 -0
- package/dist/components/molecules/Markdown/ExpandableMarkdown.d.ts +13 -0
- package/dist/components/molecules/Markdown/LimitedLinesMarkdown.d.ts +10 -0
- package/dist/components/molecules/Markdown/Markdown.d.ts +23 -0
- package/dist/components/molecules/Markdown/Markdown.utils.d.ts +8 -0
- package/dist/components/molecules/Markdown/MarkdownLazy.d.ts +16 -0
- package/dist/components/molecules/Markdown/MarkdownWithOpenUI.d.ts +31 -0
- package/dist/components/molecules/Markdown/OpenUiFenceBlock.d.ts +9 -0
- package/dist/components/molecules/Markdown/SandboxArtifactsFenceBlock.d.ts +9 -0
- package/dist/components/molecules/Markdown/codeFencing.d.ts +50 -0
- package/dist/components/molecules/Markdown/components.d.ts +59 -0
- package/dist/components/molecules/Markdown/index.d.ts +7 -0
- package/dist/components/molecules/Markdown/parseSandboxArtifacts.d.ts +15 -0
- package/dist/components/molecules/agent-chat/AskUserQuestionCard.d.ts +36 -0
- package/dist/components/molecules/agent-chat/AssistantMessage.d.ts +9 -0
- package/dist/components/molecules/agent-chat/McpAuthCard.d.ts +16 -0
- package/dist/components/molecules/agent-chat/ReasoningCard.d.ts +16 -0
- package/dist/components/molecules/agent-chat/SandboxToolCall.d.ts +15 -0
- package/dist/components/molecules/agent-chat/StatusDot.d.ts +7 -0
- package/dist/components/molecules/agent-chat/SubAgentCard.d.ts +18 -0
- package/dist/components/molecules/agent-chat/ToolApprovalBlock.d.ts +36 -0
- package/dist/components/molecules/agent-chat/ToolCallCard.d.ts +22 -0
- package/dist/components/molecules/agent-chat/ToolCallContentBlock.d.ts +17 -0
- package/dist/components/molecules/agent-chat/index.d.ts +22 -0
- package/dist/components/molecules/monacoEditorCore/MonacoEditorCore.d.ts +15 -0
- package/dist/components/molecules/monacoEditorCore/useFontReady.d.ts +1 -0
- package/dist/contexts/RootFontSizeContext.d.ts +7 -0
- package/dist/hooks/useContainerDimensions.d.ts +3 -0
- package/dist/index.d.ts +6 -0
- package/dist/tailwindPreset.d.ts +144 -140
- package/dist/types/enum.d.ts +7 -0
- package/dist/utils/classNames.d.ts +2 -0
- package/dist/utils/conversions.d.ts +1 -0
- package/dist/utils/getRootFontSize.d.ts +2 -0
- package/dist/utils/index.d.ts +5 -0
- package/package.json +1 -1
- package/dist/..d.ts +0 -77
- package/dist/Accordion.d.ts +0 -57
- package/dist/Alert.d.ts +0 -73
- package/dist/AudioPlayer.d.ts +0 -10
- package/dist/Avatar.d.ts +0 -19
- package/dist/Badge.d.ts +0 -47
- package/dist/Button.d.ts +0 -64
- package/dist/CopyField.d.ts +0 -82
- package/dist/CustomDrawer.d.ts +0 -37
- package/dist/Dialog.d.ts +0 -18
- package/dist/DropdownMenu.d.ts +0 -25
- package/dist/IconButton.d.ts +0 -17
- package/dist/IconProvider.d.ts +0 -41
- package/dist/ImagesPreview.d.ts +0 -12
- package/dist/Input.d.ts +0 -27
- package/dist/Markdown.d.ts +0 -103
- package/dist/Modal.d.ts +0 -12
- package/dist/Notification.d.ts +0 -12
- package/dist/Notify.d.ts +0 -4
- package/dist/OutlinedRadio.d.ts +0 -9
- package/dist/SimpleCodeEditor.d.ts +0 -63
- package/dist/Skeleton.d.ts +0 -7
- package/dist/Spinner.d.ts +0 -15
- package/dist/Switch.d.ts +0 -20
- package/dist/TabButton.d.ts +0 -20
- package/dist/TabPanel.d.ts +0 -14
- package/dist/ThumbsFeedback.d.ts +0 -18
- package/dist/ToggleButton.d.ts +0 -42
- package/dist/Tooltip.d.ts +0 -32
- package/dist/UserMessage.d.ts +0 -15
- package/dist/UserMessageEdit.d.ts +0 -16
- package/dist/agent-chat.d.ts +0 -222
- package/dist/animation.d.ts +0 -6
- package/dist/backgroundColor.d.ts +0 -5
- package/dist/backgroundImage.d.ts +0 -10
- package/dist/borderWidth.d.ts +0 -6
- package/dist/colors.d.ts +0 -195
- package/dist/components/molecules/Markdown.d.ts +0 -1
- package/dist/components/molecules/agent-chat.d.ts +0 -1
- package/dist/cursor.d.ts +0 -5
- package/dist/dropShadow.d.ts +0 -5
- package/dist/flexGrow.d.ts +0 -5
- package/dist/fontSize.d.ts +0 -8
- package/dist/height.d.ts +0 -8
- package/dist/keyframes.d.ts +0 -20
- package/dist/lightColorPlugin.d.ts +0 -3
- package/dist/maxHeight.d.ts +0 -6
- package/dist/screens.d.ts +0 -8
- package/dist/theme.d.ts +0 -58
- package/dist/transitionProperty.d.ts +0 -6
- package/dist/useTheme.d.ts +0 -32
- package/dist/utils.d.ts +0 -79
- package/dist/zIndex.d.ts +0 -5
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Avatar } from './components/atoms/Avatar';
|
|
2
|
+
export { AvatarFallback, AvatarImage } from './components/atoms/Avatar';
|
|
3
|
+
export { default as OutlinedRadio } from './components/atoms/OutlinedRadio';
|
|
4
|
+
export { default as Spinner } from './components/atoms/Spinner';
|
|
5
|
+
export { default as CustomDrawer } from './components/molecules/CustomDrawer';
|
|
6
|
+
export { default as DropdownMenu } from './components/molecules/DropdownMenu';
|
package/dist/tailwindPreset.d.ts
CHANGED
|
@@ -1,140 +1,144 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* to
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* `
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
'base
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'new-deployment-gradient': string;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
'screen-
|
|
96
|
-
'screen-
|
|
97
|
-
'screen-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
1
|
+
import { tailwindContentPaths } from './components/theme';
|
|
2
|
+
/**
|
|
3
|
+
* Tailwind v3 preset for consumers of tfy-web-components.
|
|
4
|
+
*
|
|
5
|
+
* ── For Tailwind v3 apps ─────────────────────────────────────────────
|
|
6
|
+
*
|
|
7
|
+
* Spread this preset into your own tailwind.config.js so tfy's colour
|
|
8
|
+
* palette, custom scrollbar utilities, and `bg-light-*` / `text-light-*`
|
|
9
|
+
* utilities are available without manually redefining them:
|
|
10
|
+
*
|
|
11
|
+
* import tfyPreset, { tailwindContentPaths } from 'tfy-web-components/tailwind-preset'
|
|
12
|
+
*
|
|
13
|
+
* export default {
|
|
14
|
+
* presets: [tfyPreset],
|
|
15
|
+
* content: ['./src/**/*.{ts,tsx}', ...tailwindContentPaths],
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* `tailwindContentPaths` points at this package's compiled `dist/`
|
|
19
|
+
* directory so Tailwind scans tfy-web-components' own files for
|
|
20
|
+
* utility class usage and generates them in the consumer's build.
|
|
21
|
+
*
|
|
22
|
+
* ── For Tailwind v4 apps ─────────────────────────────────────────────
|
|
23
|
+
*
|
|
24
|
+
* You do NOT need this preset. Use the generated CSS entry instead:
|
|
25
|
+
*
|
|
26
|
+
* @ *
|
|
27
|
+
* That gives you the same palette via CSS variables + `@theme inline`
|
|
28
|
+
* registrations + `@source` scanning — the Tailwind v4 equivalents
|
|
29
|
+
* of everything this preset provides.
|
|
30
|
+
*
|
|
31
|
+
* ── What this preset provides ────────────────────────────────────────
|
|
32
|
+
*
|
|
33
|
+
* • `colors` — maps every palette key (e.g. `gray.250`, `indigo.500`)
|
|
34
|
+
* to `var(--color-gray-250)` / `var(--color-indigo-500)`, so
|
|
35
|
+
* utility classes resolve to the CSS variable rather than a
|
|
36
|
+
* hard-coded hex value. The actual hex values are set at runtime by
|
|
37
|
+
* `ThemeProvider` / `initializeTheme()` or statically by
|
|
38
|
+
* `tokens.css`.
|
|
39
|
+
*
|
|
40
|
+
* • `createLightColorPlugin` — generates `bg-light-*` / `text-light-*`
|
|
41
|
+
* utilities that always resolve to the light-mode palette value
|
|
42
|
+
* regardless of the current `.dark` state.
|
|
43
|
+
*
|
|
44
|
+
* • `scrollbar` — custom scrollbar utilities.
|
|
45
|
+
*
|
|
46
|
+
* • `fontFamily.lab` — the Lab Grotesque font stack used across the
|
|
47
|
+
* TrueFoundry platform UI.
|
|
48
|
+
*/
|
|
49
|
+
export declare const tailwindPreset: {
|
|
50
|
+
darkMode: string;
|
|
51
|
+
theme: {
|
|
52
|
+
extend: {
|
|
53
|
+
colors: any;
|
|
54
|
+
fontFamily: {
|
|
55
|
+
lab: string[];
|
|
56
|
+
};
|
|
57
|
+
fontSize: {
|
|
58
|
+
'base-lg': string;
|
|
59
|
+
'sm-base': string;
|
|
60
|
+
'2xs': string;
|
|
61
|
+
'3xs': string;
|
|
62
|
+
};
|
|
63
|
+
screens: {
|
|
64
|
+
'2xl': string;
|
|
65
|
+
'3xl': string;
|
|
66
|
+
'4xl': string;
|
|
67
|
+
'5xl': string;
|
|
68
|
+
};
|
|
69
|
+
borderWidth: {
|
|
70
|
+
DEFAULT: string;
|
|
71
|
+
1: string;
|
|
72
|
+
};
|
|
73
|
+
dropShadow: (theme: (path: string) => string | undefined) => {
|
|
74
|
+
xl: string[];
|
|
75
|
+
};
|
|
76
|
+
backgroundImage: (theme: (path: string) => string | undefined) => {
|
|
77
|
+
'blue-red-gradient': string;
|
|
78
|
+
'white-indigo-gradient': string;
|
|
79
|
+
'chat-template': string;
|
|
80
|
+
'blue-linear-gradient': string;
|
|
81
|
+
'new-deployment-gradient': string;
|
|
82
|
+
'new-deployment-gradient-text': string;
|
|
83
|
+
};
|
|
84
|
+
backgroundColor: (theme: (path: string) => string | undefined) => {
|
|
85
|
+
app: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
zIndex: {
|
|
88
|
+
'-1': string;
|
|
89
|
+
};
|
|
90
|
+
flexGrow: {
|
|
91
|
+
5: string;
|
|
92
|
+
};
|
|
93
|
+
height: {
|
|
94
|
+
'screen-50': string;
|
|
95
|
+
'screen-60': string;
|
|
96
|
+
'screen-70': string;
|
|
97
|
+
'screen-75': string;
|
|
98
|
+
};
|
|
99
|
+
maxHeight: {
|
|
100
|
+
'screen-menu': string;
|
|
101
|
+
modal: string;
|
|
102
|
+
};
|
|
103
|
+
transitionProperty: {
|
|
104
|
+
position: string;
|
|
105
|
+
textColor: string;
|
|
106
|
+
};
|
|
107
|
+
keyframes: {
|
|
108
|
+
fadeOut: {
|
|
109
|
+
from: {
|
|
110
|
+
opacity: string;
|
|
111
|
+
};
|
|
112
|
+
to: {
|
|
113
|
+
opacity: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
fadeIn: {
|
|
117
|
+
from: {
|
|
118
|
+
opacity: string;
|
|
119
|
+
};
|
|
120
|
+
to: {
|
|
121
|
+
opacity: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
animation: {
|
|
126
|
+
fadeOut: string;
|
|
127
|
+
fadeIn: string;
|
|
128
|
+
};
|
|
129
|
+
cursor: {
|
|
130
|
+
drag: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
plugins: any[];
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Content paths pointing at this package's compiled output. Spread
|
|
138
|
+
* these into your Tailwind config's `content` array so the build scans
|
|
139
|
+
* tfy-web-components' components for utility class usage:
|
|
140
|
+
*
|
|
141
|
+
* content: ['./src/**/*.{ts,tsx}', ...tailwindContentPaths],
|
|
142
|
+
*/
|
|
143
|
+
export { tailwindContentPaths };
|
|
144
|
+
export default tailwindPreset;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toDataTestId: (testId?: string, prefix?: string) => string | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export { default as Spinner } from '../components/atoms/Spinner';
|
|
3
|
+
export { default as CustomDrawer } from '../components/molecules/CustomDrawer';
|
|
4
|
+
export declare function downloadTextFile(content: string, name?: string): void;
|
|
5
|
+
export declare const mergeRefs: <T>(...refs: React.Ref<T>[]) => React.Ref<T>;
|
package/package.json
CHANGED
package/dist/..d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { MenuItemProps } from '@mui/material/MenuItem';
|
|
2
|
-
import { PaperProps } from '@mui/material';
|
|
3
|
-
import { RadioProps } from '@mui/material/Radio';
|
|
4
|
-
import { default as React_2 } from 'react';
|
|
5
|
-
|
|
6
|
-
export declare const Avatar: React_2.FC<AvatarProps>;
|
|
7
|
-
|
|
8
|
-
export declare const AvatarFallback: React_2.FC<AvatarFallbackProps>;
|
|
9
|
-
|
|
10
|
-
declare type AvatarFallbackProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
11
|
-
|
|
12
|
-
export declare const AvatarImage: React_2.FC<AvatarImageProps>;
|
|
13
|
-
|
|
14
|
-
declare type AvatarImageProps = React_2.ImgHTMLAttributes<HTMLImageElement>;
|
|
15
|
-
|
|
16
|
-
declare interface AvatarProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
17
|
-
size?: 'default' | 'sm' | 'lg';
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export declare const CustomDrawer: React_2.FC<DrawerProps>;
|
|
21
|
-
|
|
22
|
-
declare interface DrawerProps {
|
|
23
|
-
children: React_2.ReactNode | JSX.Element | string;
|
|
24
|
-
anchor?: 'right' | 'left' | 'top' | 'bottom' | undefined;
|
|
25
|
-
open: boolean;
|
|
26
|
-
inner?: boolean;
|
|
27
|
-
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
28
|
-
width?: string;
|
|
29
|
-
bodyClassName?: string;
|
|
30
|
-
className?: string;
|
|
31
|
-
overflowY?: boolean;
|
|
32
|
-
confirmOnClose?: boolean;
|
|
33
|
-
confirmOnCloseMessage?: string;
|
|
34
|
-
onClose: () => void;
|
|
35
|
-
hideBackdrop?: boolean;
|
|
36
|
-
paperProps?: PaperProps;
|
|
37
|
-
animateSizeChange?: boolean;
|
|
38
|
-
disableEnforceFocus?: boolean;
|
|
39
|
-
elevatedZIndex?: boolean;
|
|
40
|
-
dataTestPrefix?: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export declare const DropdownMenu: React_2.FC<DropdownMenuProps> & {
|
|
44
|
-
Item: typeof DropdownMenuItem;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
declare const DropdownMenuItem: React_2.FC<DropdownMenuItemProps>;
|
|
48
|
-
|
|
49
|
-
declare interface DropdownMenuItemProps extends MenuItemProps {
|
|
50
|
-
children: React_2.ReactNode;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare interface DropdownMenuProps {
|
|
54
|
-
trigger: React_2.ReactNode;
|
|
55
|
-
children: React_2.ReactNode;
|
|
56
|
-
align?: 'start' | 'center' | 'end';
|
|
57
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
58
|
-
className?: string;
|
|
59
|
-
contentClassName?: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export declare const OutlinedRadio: React_2.FC<OutlinedRadioProps>;
|
|
63
|
-
|
|
64
|
-
declare type OutlinedRadioProps = Omit<RadioProps, 'icon' | 'checkedIcon'>;
|
|
65
|
-
|
|
66
|
-
export declare const Spinner: React_2.FC<SpinnerProps>;
|
|
67
|
-
|
|
68
|
-
declare interface SpinnerProps {
|
|
69
|
-
className?: string;
|
|
70
|
-
small?: boolean;
|
|
71
|
-
big?: boolean;
|
|
72
|
-
medium?: boolean;
|
|
73
|
-
center?: boolean;
|
|
74
|
-
type?: 'normal';
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export { }
|
package/dist/Accordion.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AccordionClasses } from '@mui/material/Accordion';
|
|
2
|
-
import { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
3
|
-
import { AccordionSlotsAndSlotProps } from '@mui/material/Accordion';
|
|
4
|
-
import { AccordionSummaryProps as AccordionSummaryProps_2 } from '@mui/material/AccordionSummary';
|
|
5
|
-
import { CommonProps } from '@mui/material/OverridableComponent';
|
|
6
|
-
import { MUIStyledCommonProps } from '@mui/system';
|
|
7
|
-
import { PaperOwnProps } from '@mui/material';
|
|
8
|
-
import { default as React_2 } from 'react';
|
|
9
|
-
import { StyledComponent } from '@emotion/styled';
|
|
10
|
-
import { SxProps } from '@mui/material/styles';
|
|
11
|
-
import { Theme } from '@mui/material/styles';
|
|
12
|
-
import { TransitionProps } from '@mui/material/transitions';
|
|
13
|
-
|
|
14
|
-
export declare const Accordion: StyledComponent<{
|
|
15
|
-
children: NonNullable<React_2.ReactNode>;
|
|
16
|
-
classes?: Partial<AccordionClasses> | undefined;
|
|
17
|
-
defaultExpanded?: boolean | undefined;
|
|
18
|
-
disabled?: boolean | undefined;
|
|
19
|
-
disableGutters?: boolean | undefined;
|
|
20
|
-
expanded?: boolean | undefined;
|
|
21
|
-
onChange?: ((event: React_2.SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
|
|
22
|
-
sx?: SxProps<Theme> | undefined;
|
|
23
|
-
TransitionComponent?: React_2.JSXElementConstructor<TransitionProps & {
|
|
24
|
-
children?: React_2.ReactElement<unknown, any> | undefined;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
TransitionProps?: TransitionProps | undefined;
|
|
27
|
-
} & AccordionSlotsAndSlotProps & Omit<PaperOwnProps, "onChange" | "classes"> & CommonProps & Omit<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
28
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React_2.RefObject<HTMLDivElement> | null | undefined;
|
|
29
|
-
}, "children" | "onChange" | keyof CommonProps | "disabled" | "sx" | "square" | "elevation" | "expanded" | "TransitionComponent" | "TransitionProps" | "variant" | "disableGutters" | "defaultExpanded" | keyof AccordionSlotsAndSlotProps> & {
|
|
30
|
-
component?: React_2.ElementType<any, keyof React_2.JSX.IntrinsicElements> | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
background?: string | undefined;
|
|
33
|
-
borderColor?: string | undefined;
|
|
34
|
-
} & MUIStyledCommonProps<Theme>, {}, {}>;
|
|
35
|
-
|
|
36
|
-
export declare const AccordionDetails: StyledComponent<AccordionDetailsProps & MUIStyledCommonProps<Theme>, {}, {}>;
|
|
37
|
-
|
|
38
|
-
export declare const AccordionSummary: StyledComponent<AccordionSummaryProps & MUIStyledCommonProps<Theme>, {}, {}>;
|
|
39
|
-
|
|
40
|
-
export declare interface AccordionSummaryProps extends AccordionSummaryProps_2 {
|
|
41
|
-
hideIcon?: boolean;
|
|
42
|
-
chevronDown?: boolean;
|
|
43
|
-
rightIcon?: boolean;
|
|
44
|
-
iconClasses?: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare function CustomizedAccordions({ children, btn, id, discription, sx, tools, }: {
|
|
48
|
-
children: React_2.ReactNode | JSX.Element | string;
|
|
49
|
-
btn: React_2.ReactNode | JSX.Element | string;
|
|
50
|
-
id: string;
|
|
51
|
-
discription?: string;
|
|
52
|
-
sx?: object;
|
|
53
|
-
tools?: React_2.ReactNode | JSX.Element | string;
|
|
54
|
-
}): React_2.JSX.Element;
|
|
55
|
-
export default CustomizedAccordions;
|
|
56
|
-
|
|
57
|
-
export { }
|
package/dist/Alert.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import type { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
2
|
-
import MuiModal from '@mui/material/Modal';
|
|
3
|
-
import { default as React_2 } from 'react';
|
|
4
|
-
import * as React_3 from 'react';
|
|
5
|
-
import { TooltipProps as TooltipProps_2 } from '@mui/material/Tooltip';
|
|
6
|
-
|
|
7
|
-
declare const Alert: React_2.FC<AlertProps>;
|
|
8
|
-
export default Alert;
|
|
9
|
-
|
|
10
|
-
export declare type AlertProps = Omit<ModalProps, 'children'> & {
|
|
11
|
-
title: string;
|
|
12
|
-
message: string | JSX.Element | React_2.ReactNode;
|
|
13
|
-
onConfirm: () => Promise<void>;
|
|
14
|
-
onError?: (e: unknown) => void;
|
|
15
|
-
onCloseAfterConfirm?: () => void;
|
|
16
|
-
confirmButtonText?: string;
|
|
17
|
-
confirmString?: string;
|
|
18
|
-
confirmStringMessage?: string | JSX.Element;
|
|
19
|
-
confirmStringEntity?: string;
|
|
20
|
-
confirmButtonIcon?: ButtonProps['icon'];
|
|
21
|
-
confirmButtonClasses?: string;
|
|
22
|
-
confirmButtonDisabled?: boolean;
|
|
23
|
-
cancelButtonText?: string;
|
|
24
|
-
messageClasses?: string;
|
|
25
|
-
titleClasses?: string;
|
|
26
|
-
hideCancel?: boolean;
|
|
27
|
-
formClasses?: string;
|
|
28
|
-
onClose: (forced: boolean, afterConfirm: boolean) => void;
|
|
29
|
-
dataTestPrefix?: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
declare interface ButtonProps {
|
|
33
|
-
id?: string;
|
|
34
|
-
icon?: FontAwesomeIconProps['icon'] | string;
|
|
35
|
-
text?: React_2.ReactNode | JSX.Element | string;
|
|
36
|
-
block?: boolean;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
loading?: boolean;
|
|
39
|
-
dataTestId?: string;
|
|
40
|
-
iconToRight?: boolean;
|
|
41
|
-
variant?: 'primary' | 'secondary' | 'ghost' | 'tertiary' | 'destructive';
|
|
42
|
-
size?: ButtonSize;
|
|
43
|
-
onClick?: (e: React_2.MouseEvent<HTMLButtonElement>) => void;
|
|
44
|
-
iconClasses?: string;
|
|
45
|
-
type?: 'submit' | 'reset' | 'button';
|
|
46
|
-
tooltipProps?: TooltipProps;
|
|
47
|
-
iconSize?: number;
|
|
48
|
-
removeIconContainer?: boolean;
|
|
49
|
-
isMenuItem?: boolean;
|
|
50
|
-
useLightTooltip?: boolean;
|
|
51
|
-
className?: string;
|
|
52
|
-
autoFocus?: boolean;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare type ButtonSize = 'large' | 'small';
|
|
56
|
-
|
|
57
|
-
declare type CustomTooltipProps = TooltipProps_2 & {
|
|
58
|
-
size?: Sizes;
|
|
59
|
-
border?: boolean;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
declare interface ModalProps extends React_2.ComponentProps<typeof MuiModal> {
|
|
63
|
-
children: JSX.Element;
|
|
64
|
-
disableEnforceFocus?: boolean;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
declare type Sizes = 'large' | 'variable' | 'medium' | 'fit';
|
|
68
|
-
|
|
69
|
-
declare type TooltipProps = Partial<Pick<CustomTooltipProps, 'title' | 'placement' | 'size'>> & {
|
|
70
|
-
disabledTitle?: React_3.ReactNode;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export { }
|
package/dist/AudioPlayer.d.ts
DELETED
package/dist/Avatar.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as React_2 } from 'react';
|
|
2
|
-
|
|
3
|
-
declare const Avatar: React_2.FC<AvatarProps>;
|
|
4
|
-
export { Avatar }
|
|
5
|
-
export default Avatar;
|
|
6
|
-
|
|
7
|
-
export declare const AvatarFallback: React_2.FC<AvatarFallbackProps>;
|
|
8
|
-
|
|
9
|
-
export declare type AvatarFallbackProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
|
|
11
|
-
export declare const AvatarImage: React_2.FC<AvatarImageProps>;
|
|
12
|
-
|
|
13
|
-
export declare type AvatarImageProps = React_2.ImgHTMLAttributes<HTMLImageElement>;
|
|
14
|
-
|
|
15
|
-
export declare interface AvatarProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
16
|
-
size?: 'default' | 'sm' | 'lg';
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { }
|
package/dist/Badge.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { IconProp as IconProp_2 } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { default as React_2 } from 'react';
|
|
3
|
-
|
|
4
|
-
declare type AtleastOne = IconRequired | RightIconRequired | TextRequired;
|
|
5
|
-
|
|
6
|
-
declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export default Badge;
|
|
8
|
-
|
|
9
|
-
export declare type BadgeProps = {
|
|
10
|
-
className?: string;
|
|
11
|
-
iconClasses?: string;
|
|
12
|
-
rightIconClasses?: string;
|
|
13
|
-
textClasses?: string;
|
|
14
|
-
type?: BadgeType;
|
|
15
|
-
iconColor?: string;
|
|
16
|
-
rightIconColor?: string;
|
|
17
|
-
customPadding?: string;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
iconSize?: number;
|
|
20
|
-
rightIconSize?: number;
|
|
21
|
-
dataTestPrefix?: string;
|
|
22
|
-
isBold?: boolean;
|
|
23
|
-
} & React_2.AllHTMLAttributes<HTMLDivElement> & AtleastOne;
|
|
24
|
-
|
|
25
|
-
declare type BadgeType = 'default' | 'warning' | 'waiting' | 'primary' | 'danger' | 'success' | 'gray' | 'light-gray' | 'white' | 'none' | 'tfy-managed' | 'remote' | 'openapi' | 'virtual' | 'stdio' | 'ai';
|
|
26
|
-
|
|
27
|
-
declare type IconProp = string | IconProp_2;
|
|
28
|
-
|
|
29
|
-
declare interface IconRequired {
|
|
30
|
-
icon: IconProp;
|
|
31
|
-
rightIcon?: IconProp;
|
|
32
|
-
text?: React_2.ReactNode | JSX.Element | string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare interface RightIconRequired {
|
|
36
|
-
icon?: IconProp;
|
|
37
|
-
rightIcon: IconProp;
|
|
38
|
-
text?: React_2.ReactNode | JSX.Element | string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare interface TextRequired {
|
|
42
|
-
icon?: IconProp;
|
|
43
|
-
rightIcon?: IconProp;
|
|
44
|
-
text: React_2.ReactNode | JSX.Element | string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { }
|