@carto/meridian-ds 2.10.2 → 2.11.1-multipleselectfield-custom.0
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/CHANGELOG.md +8 -0
- package/dist/{ListItem-BUH1WVMn.js → ListItem-Ce-ui7dI.js} +1 -1
- package/dist/{ListItem-CzAfw3KD.cjs → ListItem-DQ9_zkrB.cjs} +1 -1
- package/dist/components/index.cjs +502 -17
- package/dist/components/index.js +508 -23
- package/dist/{palette-utils-MuFJ3gQ2.js → palette-utils-BMEVUZ5G.js} +9 -0
- package/dist/{palette-utils-AE0NwrEo.cjs → palette-utils-BsfMFfME.cjs} +9 -0
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +3 -3
- package/dist/types/components/AccordionGroup/AccordionGroup.d.ts +2 -0
- package/dist/types/components/AccordionGroup/AccordionGroup.d.ts.map +1 -1
- package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts +20 -0
- package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts.map +1 -1
- package/dist/types/components/ChipGroup/ChipGroup.d.ts +4 -0
- package/dist/types/components/ChipGroup/ChipGroup.d.ts.map +1 -0
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts +140 -0
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts.map +1 -0
- package/dist/types/components/ChipGroup/ChipGroup.test.d.ts +2 -0
- package/dist/types/components/ChipGroup/ChipGroup.test.d.ts.map +1 -0
- package/dist/types/components/ChipGroup/ChipGroupItem.d.ts +19 -0
- package/dist/types/components/ChipGroup/ChipGroupItem.d.ts.map +1 -0
- package/dist/types/components/ChipGroup/index.d.ts +3 -0
- package/dist/types/components/ChipGroup/index.d.ts.map +1 -0
- package/dist/types/components/ChipGroup/types.d.ts +57 -0
- package/dist/types/components/ChipGroup/types.d.ts.map +1 -0
- package/dist/types/components/LabelWithIndicator/LabelWithIndicator.stories.d.ts.map +1 -1
- package/dist/types/components/MessageField/MessageField.d.ts +4 -0
- package/dist/types/components/MessageField/MessageField.d.ts.map +1 -0
- package/dist/types/components/MessageField/MessageField.stories.d.ts +146 -0
- package/dist/types/components/MessageField/MessageField.stories.d.ts.map +1 -0
- package/dist/types/components/MessageField/MessageField.styled.d.ts +28 -0
- package/dist/types/components/MessageField/MessageField.styled.d.ts.map +1 -0
- package/dist/types/components/MessageField/MessageField.test.d.ts +2 -0
- package/dist/types/components/MessageField/MessageField.test.d.ts.map +1 -0
- package/dist/types/components/MessageField/components/MessageFieldFooter.d.ts +8 -0
- package/dist/types/components/MessageField/components/MessageFieldFooter.d.ts.map +1 -0
- package/dist/types/components/MessageField/index.d.ts +3 -0
- package/dist/types/components/MessageField/index.d.ts.map +1 -0
- package/dist/types/components/MessageField/types.d.ts +91 -0
- package/dist/types/components/MessageField/types.d.ts.map +1 -0
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.d.ts +5 -2
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.d.ts.map +1 -1
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts +13 -1
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts.map +1 -1
- package/dist/types/components/SelectField/types.d.ts +8 -2
- package/dist/types/components/SelectField/types.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +3 -0
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +3 -0
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +3 -0
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +9 -0
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/{utils-dwDSNbwq.cjs → utils-BndCEhGs.cjs} +1 -1
- package/dist/{utils-B-IEyPJ0.js → utils-DYO_K3Z4.js} +1 -1
- package/dist/widgets/index.cjs +2 -2
- package/dist/widgets/index.js +2 -2
- package/package.json +4 -3
|
@@ -1038,6 +1038,9 @@ const en = {
|
|
|
1038
1038
|
leave: "Leave",
|
|
1039
1039
|
keepEditing: "Keep editing",
|
|
1040
1040
|
close: "Close",
|
|
1041
|
+
stop: "Stop",
|
|
1042
|
+
send: "Send",
|
|
1043
|
+
typeToSend: "Type to send",
|
|
1041
1044
|
expand: "Expand",
|
|
1042
1045
|
copy: "Copy",
|
|
1043
1046
|
save: "Save",
|
|
@@ -1193,6 +1196,9 @@ const es = {
|
|
|
1193
1196
|
leave: "Salir",
|
|
1194
1197
|
keepEditing: "Seguir editando",
|
|
1195
1198
|
close: "Cerrar",
|
|
1199
|
+
stop: "Detener",
|
|
1200
|
+
send: "Enviar",
|
|
1201
|
+
typeToSend: "Escribe para enviar",
|
|
1196
1202
|
expand: "Expandir",
|
|
1197
1203
|
copy: "Copiar",
|
|
1198
1204
|
save: "Guardar",
|
|
@@ -1346,6 +1352,9 @@ const id = {
|
|
|
1346
1352
|
leave: "Keluar",
|
|
1347
1353
|
keepEditing: "Terus mengedit",
|
|
1348
1354
|
close: "Tutup",
|
|
1355
|
+
stop: "Berhenti",
|
|
1356
|
+
send: "Kirim",
|
|
1357
|
+
typeToSend: "Ketik untuk mengirim",
|
|
1349
1358
|
expand: "Perluas",
|
|
1350
1359
|
copy: "Salin",
|
|
1351
1360
|
save: "Simpan",
|
|
@@ -1056,6 +1056,9 @@ const en = {
|
|
|
1056
1056
|
leave: "Leave",
|
|
1057
1057
|
keepEditing: "Keep editing",
|
|
1058
1058
|
close: "Close",
|
|
1059
|
+
stop: "Stop",
|
|
1060
|
+
send: "Send",
|
|
1061
|
+
typeToSend: "Type to send",
|
|
1059
1062
|
expand: "Expand",
|
|
1060
1063
|
copy: "Copy",
|
|
1061
1064
|
save: "Save",
|
|
@@ -1211,6 +1214,9 @@ const es = {
|
|
|
1211
1214
|
leave: "Salir",
|
|
1212
1215
|
keepEditing: "Seguir editando",
|
|
1213
1216
|
close: "Cerrar",
|
|
1217
|
+
stop: "Detener",
|
|
1218
|
+
send: "Enviar",
|
|
1219
|
+
typeToSend: "Escribe para enviar",
|
|
1214
1220
|
expand: "Expandir",
|
|
1215
1221
|
copy: "Copiar",
|
|
1216
1222
|
save: "Guardar",
|
|
@@ -1364,6 +1370,9 @@ const id = {
|
|
|
1364
1370
|
leave: "Keluar",
|
|
1365
1371
|
keepEditing: "Terus mengedit",
|
|
1366
1372
|
close: "Tutup",
|
|
1373
|
+
stop: "Berhenti",
|
|
1374
|
+
send: "Kirim",
|
|
1375
|
+
typeToSend: "Ketik untuk mengirim",
|
|
1367
1376
|
expand: "Perluas",
|
|
1368
1377
|
copy: "Salin",
|
|
1369
1378
|
save: "Simpan",
|
package/dist/theme/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const material = require("@mui/material");
|
|
5
|
-
const paletteUtils = require("../palette-utils-
|
|
6
|
-
const utils = require("../utils-
|
|
5
|
+
const paletteUtils = require("../palette-utils-BsfMFfME.cjs");
|
|
6
|
+
const utils = require("../utils-BndCEhGs.cjs");
|
|
7
7
|
const jsxRuntime = require("react/jsx-runtime");
|
|
8
8
|
const iconsMaterial = require("@mui/icons-material");
|
|
9
9
|
const ArrowDown = require("../ArrowDown-84Oc8r9k.cjs");
|
package/dist/theme/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2
2
|
import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
|
|
3
|
-
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, e as ellipsisStyles, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, f as MENU_ITEM_SIZE_DENSE, L as LIST_ITEM_MIN_SIZE, h as LIST_ITEM_SIZE_DENSE, i as LIST_ITEM_SIZE_DEFAULT, A as APPBAR_SIZE, j as commonPalette, B as BREAKPOINTS, S as SPACING } from "../palette-utils-
|
|
4
|
-
import { m, n, l, N, k } from "../palette-utils-
|
|
5
|
-
import { g as getPixelToRem, S as SVG_SELECTOR, a as getIconSizeMap, M as MenuItem } from "../utils-
|
|
3
|
+
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, e as ellipsisStyles, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, f as MENU_ITEM_SIZE_DENSE, L as LIST_ITEM_MIN_SIZE, h as LIST_ITEM_SIZE_DENSE, i as LIST_ITEM_SIZE_DEFAULT, A as APPBAR_SIZE, j as commonPalette, B as BREAKPOINTS, S as SPACING } from "../palette-utils-BMEVUZ5G.js";
|
|
4
|
+
import { m, n, l, N, k } from "../palette-utils-BMEVUZ5G.js";
|
|
5
|
+
import { g as getPixelToRem, S as SVG_SELECTOR, a as getIconSizeMap, M as MenuItem } from "../utils-DYO_K3Z4.js";
|
|
6
6
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
7
7
|
import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined, InfoOutlined } from "@mui/icons-material";
|
|
8
8
|
import { F as ForwardedComponent } from "../ArrowDown-Bho9Ssnw.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
1
2
|
export type AccordionGroupProps = {
|
|
2
3
|
variant?: 'standard' | 'outlined';
|
|
3
4
|
items: {
|
|
@@ -5,6 +6,7 @@ export type AccordionGroupProps = {
|
|
|
5
6
|
content: React.ReactNode;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
defaultExpanded?: boolean;
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
8
10
|
onChange?: (event: React.ChangeEvent<EventTarget>, expanded: boolean) => void;
|
|
9
11
|
}[];
|
|
10
12
|
'aria-label'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,OAAO,EACP,KAAK,EACN,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;QACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,eAAe,CAAC,EAAE,OAAO,CAAA;QAEzB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;QACnB,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,EACrC,QAAQ,EAAE,OAAO,KACd,IAAI,CAAA;KACV,EAAE,CAAA;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAyDD,QAAA,MAAM,cAAc,gHAA8B,CAAA;AAClD,eAAe,cAAc,CAAA"}
|
|
@@ -90,6 +90,26 @@ export declare const WithExpandedItem: {
|
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
|
+
export declare const WithDifferentAccordionBackgrounds: {
|
|
94
|
+
render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
95
|
+
args: {
|
|
96
|
+
items: {
|
|
97
|
+
sx: {
|
|
98
|
+
backgroundColor: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
summary: string;
|
|
101
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
}[];
|
|
103
|
+
'aria-label': string;
|
|
104
|
+
};
|
|
105
|
+
argTypes: {
|
|
106
|
+
disabled: {
|
|
107
|
+
table: {
|
|
108
|
+
disable: boolean;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
93
113
|
export declare const Behavior: {
|
|
94
114
|
render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
95
115
|
argTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.stories.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAkB,mBAAmB,EAAc,MAAM,cAAc,CAAA;AAE9E,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmB0B,CAAA;AACvC,eAAe,OAAO,CAAA;AAsGtB,eAAO,MAAM,UAAU;oBA9CY,mBAAmB;;;;;;;;;;;;;;;;;CAsDrD,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,QAAQ;oBA3DS,mBAAmB;;;;;;;;CA8DhD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBApEM,mBAAmB;;;;;;;;CA4ErD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBA9EM,mBAAmB;;;;;;;;;;;;;;;;CAwFrD,CAAA;AAED,eAAO,MAAM,QAAQ;
|
|
1
|
+
{"version":3,"file":"AccordionGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.stories.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAkB,mBAAmB,EAAc,MAAM,cAAc,CAAA;AAE9E,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmB0B,CAAA;AACvC,eAAe,OAAO,CAAA;AAsGtB,eAAO,MAAM,UAAU;oBA9CY,mBAAmB;;;;;;;;;;;;;;;;;CAsDrD,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,QAAQ;oBA3DS,mBAAmB;;;;;;;;CA8DhD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBApEM,mBAAmB;;;;;;;;CA4ErD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBA9EM,mBAAmB;;;;;;;;;;;;;;;;CAwFrD,CAAA;AAED,eAAO,MAAM,iCAAiC;oBA1FX,mBAAmB;;;;;;;;;;;;;;;;;;CAoGrD,CAAA;AAED,eAAO,MAAM,QAAQ;oBA/EY,mBAAmB;;;;;;;;CAkFnD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsB,cAAc,EAAE,MAAM,SAAS,CAAA;AA+K5D,QAAA,MAAM,SAAS,2GAAyB,CAAA;AAGxC,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { ChipProps } from '@mui/material';
|
|
2
|
+
import { ChipGroupProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Extended props for Playground story with additional controls
|
|
5
|
+
*/
|
|
6
|
+
interface PlaygroundStoryProps extends ChipGroupProps {
|
|
7
|
+
/** Playground control: variant to apply to all chips */
|
|
8
|
+
variant?: ChipProps['variant'];
|
|
9
|
+
/** Playground control: color to apply to all chips */
|
|
10
|
+
color?: ChipProps['color'];
|
|
11
|
+
/** Playground control: size to apply to all chips */
|
|
12
|
+
size?: ChipProps['size'];
|
|
13
|
+
}
|
|
14
|
+
declare const options: {
|
|
15
|
+
title: string;
|
|
16
|
+
component: import('react').ForwardRefExoticComponent<ChipGroupProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
+
tags: string[];
|
|
18
|
+
argTypes: {
|
|
19
|
+
maxVisibleChips: {
|
|
20
|
+
control: {
|
|
21
|
+
type: "number";
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
step: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
maxLengthChip: {
|
|
28
|
+
control: {
|
|
29
|
+
type: "number";
|
|
30
|
+
min: number;
|
|
31
|
+
max: number;
|
|
32
|
+
step: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
chips: {
|
|
36
|
+
control: "object";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
args: {
|
|
40
|
+
chips: string[];
|
|
41
|
+
maxVisibleChips: number;
|
|
42
|
+
};
|
|
43
|
+
parameters: {
|
|
44
|
+
design: {
|
|
45
|
+
type: string;
|
|
46
|
+
url: string;
|
|
47
|
+
};
|
|
48
|
+
status: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default options;
|
|
54
|
+
export declare const Playground: {
|
|
55
|
+
render: ({ chips, variant, color, size, ...rest }: PlaygroundStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
args: {
|
|
57
|
+
variant: string;
|
|
58
|
+
color: string;
|
|
59
|
+
size: string;
|
|
60
|
+
};
|
|
61
|
+
argTypes: {
|
|
62
|
+
variant: {
|
|
63
|
+
options: string[];
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
table: {
|
|
68
|
+
category: string;
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
color: {
|
|
76
|
+
options: string[];
|
|
77
|
+
control: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
table: {
|
|
81
|
+
category: string;
|
|
82
|
+
defaultValue: {
|
|
83
|
+
summary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
size: {
|
|
89
|
+
options: string[];
|
|
90
|
+
control: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
table: {
|
|
94
|
+
category: string;
|
|
95
|
+
defaultValue: {
|
|
96
|
+
summary: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
parameters: {
|
|
103
|
+
docs: {
|
|
104
|
+
canvas: {
|
|
105
|
+
sourceState: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
chromatic: {
|
|
109
|
+
disableSnapshot: boolean;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
export declare const Variant: {
|
|
114
|
+
render: ({ chips, ...rest }: ChipGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
115
|
+
};
|
|
116
|
+
export declare const Color: {
|
|
117
|
+
render: ({ chips, ...rest }: ChipGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
118
|
+
};
|
|
119
|
+
export declare const Size: {
|
|
120
|
+
render: ({ chips, ...rest }: ChipGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
121
|
+
};
|
|
122
|
+
export declare const Disabled: {
|
|
123
|
+
render: ({ chips, variant, color, size, ...rest }: PlaygroundStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
args: {
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export declare const MaxLengthChip: {
|
|
129
|
+
render: ({ chips, variant, color, size, ...rest }: PlaygroundStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
130
|
+
args: {
|
|
131
|
+
maxLengthChip: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export declare const MaxVisibleChips: {
|
|
135
|
+
render: ({ chips, ...rest }: ChipGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
};
|
|
137
|
+
export declare const Behavior: {
|
|
138
|
+
render: ({ ...rest }: ChipGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=ChipGroup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAQ,MAAM,eAAe,CAAA;AAKpD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGxC;;GAEG;AACH,UAAU,oBAAqB,SAAQ,cAAc;IACnD,wDAAwD;IACxD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC9B,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC1B,qDAAqD;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;CACzB;AA4CD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCqB,CAAA;AAClC,eAAe,OAAO,CAAA;AA4QtB,eAAO,MAAM,UAAU;uDApQpB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+QtB,CAAA;AAED,eAAO,MAAM,OAAO;iCA7PyB,cAAc;CA+P1D,CAAA;AAED,eAAO,MAAM,KAAK;iCAnOyB,cAAc;CAqOxD,CAAA;AAED,eAAO,MAAM,IAAI;iCA5LyB,cAAc;CA8LvD,CAAA;AAED,eAAO,MAAM,QAAQ;uDA7RlB,oBAAoB;;;;CAkStB,CAAA;AAED,eAAO,MAAM,aAAa;uDApSvB,oBAAoB;;;;CAyStB,CAAA;AAED,eAAO,MAAM,eAAe;iCAhLyB,cAAc;CAkLlE,CAAA;AAED,eAAO,MAAM,QAAQ;0BAjKkB,cAAc;CAmKpD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroup.test.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroup.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ChipProps } from '@mui/material';
|
|
2
|
+
import { ChipGroupItemProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the ChipGroupItem component.
|
|
5
|
+
* Extends ChipProps with additional display configuration.
|
|
6
|
+
*/
|
|
7
|
+
export interface ChipGroupItemComponentProps extends Omit<ChipProps, 'label'> {
|
|
8
|
+
/** The chip data to render (individual chip configuration) */
|
|
9
|
+
chipData: ChipGroupItemProps;
|
|
10
|
+
/** Unique index for accessibility */
|
|
11
|
+
index: number;
|
|
12
|
+
/** Display label (may be truncated) */
|
|
13
|
+
displayLabel: string;
|
|
14
|
+
/** Whether to show tooltip */
|
|
15
|
+
showTooltip?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const ChipGroupItem: import('react').ForwardRefExoticComponent<Omit<ChipGroupItemComponentProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default ChipGroupItem;
|
|
19
|
+
//# sourceMappingURL=ChipGroupItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroupItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAoC,MAAM,eAAe,CAAA;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC3E,8DAA8D;IAC9D,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,YAAY,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAkED,QAAA,MAAM,aAAa,qIAA6B,CAAA;AAGhD,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ChipProps } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* Extended chip configuration with custom tooltip support.
|
|
4
|
+
* Extends MUI ChipProps with additional properties.
|
|
5
|
+
*
|
|
6
|
+
* @interface ChipGroupItemProps
|
|
7
|
+
* @extends ChipProps
|
|
8
|
+
*/
|
|
9
|
+
export interface ChipGroupItemProps extends ChipProps {
|
|
10
|
+
/** The chip label text - overrides ChipProps to ensure string type */
|
|
11
|
+
label: string;
|
|
12
|
+
/** Custom tooltip text - when provided, always shows tooltip regardless of truncation */
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
/** Optional unique identifier for stable React keys when chips may be reordered or have duplicate labels */
|
|
15
|
+
id?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Props for the ChipGroup component.
|
|
19
|
+
*/
|
|
20
|
+
export interface ChipGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
/**
|
|
22
|
+
* Array of chips to display. Can be simple strings or chip objects with individual properties.
|
|
23
|
+
* @example ['Tag1', 'Tag2'] or [{ label: 'Tag1', color: 'primary', tooltip: 'Custom tooltip' }, { label: 'Tag2', onDelete: handler }]
|
|
24
|
+
*/
|
|
25
|
+
chips: (string | ChipGroupItemProps)[];
|
|
26
|
+
/**
|
|
27
|
+
* Maximum number of chips to show before truncating with a "+N" indicator.
|
|
28
|
+
* Hidden chips appear in a vertical popover on hover.
|
|
29
|
+
* @default 3
|
|
30
|
+
*/
|
|
31
|
+
maxVisibleChips?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Maximum length of chip labels before truncating with "..." indicator.
|
|
34
|
+
* Labels longer than this value will be truncated and show a tooltip with the full text.
|
|
35
|
+
* @default 30
|
|
36
|
+
*/
|
|
37
|
+
maxLengthChip?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Global click handler for all chips. When provided, overrides individual chip onClick handlers.
|
|
40
|
+
* Useful for consistent handling across all chips.
|
|
41
|
+
* @param chip The normalized chip data object
|
|
42
|
+
* @param event The click event
|
|
43
|
+
*/
|
|
44
|
+
onClickAllChips?: (chip: ChipGroupItemProps, event: React.MouseEvent) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Global delete handler for all chips. When provided, overrides individual chip onDelete handlers.
|
|
47
|
+
* Useful for consistent delete behavior across all chips.
|
|
48
|
+
* @param chip The normalized chip data object
|
|
49
|
+
* @param event The click event
|
|
50
|
+
*/
|
|
51
|
+
onDeleteAllChips?: (chip: ChipGroupItemProps, event: React.MouseEvent) => void;
|
|
52
|
+
/**
|
|
53
|
+
* If true, all chips will be disabled.
|
|
54
|
+
*/
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAEzC;;;;;;GAMG;AACH,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAA;IAEb,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,4GAA4G;IAC5G,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E;;;OAGG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,kBAAkB,CAAC,EAAE,CAAA;IAEtC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAE7E;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAE9E;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelWithIndicator.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/LabelWithIndicator/LabelWithIndicator.stories.tsx"],"names":[],"mappings":"AAeA,OAAO,EAGL,uBAAuB,EAOxB,MAAM,cAAc,CAAA;AASrB,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BG,CAAA;AAChB,eAAe,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"LabelWithIndicator.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/LabelWithIndicator/LabelWithIndicator.stories.tsx"],"names":[],"mappings":"AAeA,OAAO,EAGL,uBAAuB,EAOxB,MAAM,cAAc,CAAA;AASrB,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BG,CAAA;AAChB,eAAe,OAAO,CAAA;AAusBtB,eAAO,MAAM,UAAU;mBArsBW,uBAAuB;;;;;;;;;;;;;;;CA2sBxD,CAAA;AAED,eAAO,MAAM,SAAS;mBA7sBY,uBAAuB;;;;;CAgtBxD,CAAA;AAED,eAAO,MAAM,IAAI;mBA5sBW,uBAAuB;;;;CA+sBlD,CAAA;AAED,eAAO,MAAM,IAAI;mBArrBW,uBAAuB;;;;CA0rBlD,CAAA;AAED,eAAO,MAAM,QAAQ;iCA1nByB,uBAAuB;;;;CA6nBpE,CAAA;AAED,eAAO,MAAM,eAAe;mBA3GW,uBAAuB;;;;CA8G7D,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;CAKjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageField.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageField/MessageField.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AA0K3C,QAAA,MAAM,YAAY,2HAA4B,CAAA;AAG9C,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { MessageFieldProps } from './types';
|
|
2
|
+
declare const options: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<MessageFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
variant: {
|
|
8
|
+
options: string[];
|
|
9
|
+
control: {
|
|
10
|
+
type: "select";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
options: string[];
|
|
15
|
+
control: {
|
|
16
|
+
type: "select";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
validationType: {
|
|
20
|
+
options: (string | undefined)[];
|
|
21
|
+
control: {
|
|
22
|
+
type: "select";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
labelButton: {
|
|
26
|
+
control: "text";
|
|
27
|
+
};
|
|
28
|
+
toolbar: {
|
|
29
|
+
control: "object";
|
|
30
|
+
};
|
|
31
|
+
header: {
|
|
32
|
+
control: "object";
|
|
33
|
+
};
|
|
34
|
+
onClick: {
|
|
35
|
+
table: {
|
|
36
|
+
disable: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
onChange: {
|
|
40
|
+
table: {
|
|
41
|
+
disable: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
args: {
|
|
46
|
+
label: string;
|
|
47
|
+
placeholder: string;
|
|
48
|
+
helperText: string;
|
|
49
|
+
size: "small";
|
|
50
|
+
disabled: false;
|
|
51
|
+
disabledButton: false;
|
|
52
|
+
error: false;
|
|
53
|
+
analyzing: false;
|
|
54
|
+
onClick: () => undefined;
|
|
55
|
+
};
|
|
56
|
+
parameters: {
|
|
57
|
+
design: {
|
|
58
|
+
type: string;
|
|
59
|
+
url: string;
|
|
60
|
+
};
|
|
61
|
+
status: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default options;
|
|
67
|
+
export declare const Playground: {
|
|
68
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
parameters: {
|
|
70
|
+
docs: {
|
|
71
|
+
canvas: {
|
|
72
|
+
sourceState: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
chromatic: {
|
|
76
|
+
disableSnapshot: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare const Variant: {
|
|
81
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
};
|
|
83
|
+
export declare const LabelAndHelperText: {
|
|
84
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
85
|
+
};
|
|
86
|
+
export declare const Medium: {
|
|
87
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
88
|
+
args: {
|
|
89
|
+
size: string;
|
|
90
|
+
helperText: string;
|
|
91
|
+
};
|
|
92
|
+
argTypes: {
|
|
93
|
+
variant: {
|
|
94
|
+
table: {
|
|
95
|
+
disable: boolean;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
error: {
|
|
99
|
+
table: {
|
|
100
|
+
disable: boolean;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
defaultValue: {
|
|
104
|
+
table: {
|
|
105
|
+
disable: boolean;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const Small: {
|
|
111
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
112
|
+
args: {
|
|
113
|
+
size: string;
|
|
114
|
+
helperText: string;
|
|
115
|
+
};
|
|
116
|
+
argTypes: {
|
|
117
|
+
variant: {
|
|
118
|
+
table: {
|
|
119
|
+
disable: boolean;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
error: {
|
|
123
|
+
table: {
|
|
124
|
+
disable: boolean;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
defaultValue: {
|
|
128
|
+
table: {
|
|
129
|
+
disable: boolean;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export declare const Action: {
|
|
135
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
};
|
|
137
|
+
export declare const Toolbar: {
|
|
138
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
139
|
+
};
|
|
140
|
+
export declare const Header: {
|
|
141
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
142
|
+
};
|
|
143
|
+
export declare const Behavior: {
|
|
144
|
+
render: (args: MessageFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
145
|
+
};
|
|
146
|
+
//# sourceMappingURL=MessageField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageField.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageField/MessageField.stories.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAI3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDwB,CAAA;AAErC,eAAe,OAAO,CAAA;AAuqBtB,eAAO,MAAM,UAAU;mBArqBW,iBAAiB;;;;;;;;;;;CA0qBlD,CAAA;AAED,eAAO,MAAM,OAAO;mBAhqBW,iBAAiB;CAkqB/C,CAAA;AAED,eAAO,MAAM,kBAAkB;mBAvnBW,iBAAiB;CAynB1D,CAAA;AAED,eAAO,MAAM,MAAM;mBA9jBS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;CAkkB5C,CAAA;AAED,eAAO,MAAM,KAAK;mBApkBU,iBAAiB;;;;;;;;;;;;;;;;;;;;;;CAwkB5C,CAAA;AAED,eAAO,MAAM,MAAM;mBAlcW,iBAAiB;CAoc9C,CAAA;AAED,eAAO,MAAM,OAAO;mBA9WW,iBAAiB;CAgX/C,CAAA;AAED,eAAO,MAAM,MAAM;mBA3PW,iBAAiB;CA6P9C,CAAA;AAED,eAAO,MAAM,QAAQ;mBAtGW,iBAAiB;CAwGhD,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TextFieldProps } from '@mui/material';
|
|
2
|
+
export declare const Header: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
5
|
+
export declare const Content: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
8
|
+
hasToolbar?: boolean;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
export declare const TextFieldBase: import('@emotion/styled').StyledComponent<{
|
|
11
|
+
variant?: import('@mui/material').TextFieldVariants | undefined;
|
|
12
|
+
} & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').OutlinedTextFieldProps | import('@mui/material').StandardTextFieldProps, "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
13
|
+
export declare const InputWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
16
|
+
variant?: TextFieldProps["variant"];
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
error?: boolean;
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
export declare const FooterWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
23
|
+
size?: TextFieldProps["size"];
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export declare const Toolbar: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
27
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
28
|
+
//# sourceMappingURL=MessageField.styled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageField.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageField/MessageField.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAU,MAAM,eAAe,CAAA;AAEtE,eAAO,MAAM,MAAM;;+JAMhB,CAAA;AAEH,eAAO,MAAM,OAAO;;;iBAGL,OAAO;UAQnB,CAAA;AAEH,eAAO,MAAM,aAAa;;wPAiCvB,CAAA;AAEH,eAAO,MAAM,YAAY;;;cAIb,cAAc,CAAC,SAAS,CAAC;eACxB,OAAO;YACV,OAAO;UA6Bd,CAAA;AAEH,eAAO,MAAM,aAAa;;;WAGjB,cAAc,CAAC,MAAM,CAAC;UAO5B,CAAA;AAEH,eAAO,MAAM,OAAO;;+JASjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageField.test.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageField/MessageField.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MessageFieldFooterProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Internal footer component for MessageField.
|
|
4
|
+
* Renders the toolbar on the left and stop/send buttons on the right.
|
|
5
|
+
*/
|
|
6
|
+
declare const MessageFieldFooter: ({ size, toolbar, analyzing, onStop, stopLabel, iconButton, labelButton, onClick, buttonIsDisabled, disabled, typeToSendLabel, sendLabel, }: MessageFieldFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default MessageFieldFooter;
|
|
8
|
+
//# sourceMappingURL=MessageFieldFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageFieldFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageField/components/MessageFieldFooter.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD;;;GAGG;AACH,QAAA,MAAM,kBAAkB,+IAarB,uBAAuB,4CA4DzB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|