jcicl 0.0.181 → 0.0.185
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/.chunks/ButtonBase.js +1 -1
- package/.chunks/CircularProgress.js +7 -7
- package/.chunks/DefaultPropsProvider.js +6 -6
- package/.chunks/Select.js +1452 -1213
- package/.chunks/TextField.js +258 -497
- package/.chunks/createSvgIcon.js +1 -1
- package/.chunks/dividerClasses.js +9 -0
- package/.chunks/index.js +1 -1
- package/AppContainer/AppContainer.js +1 -1
- package/Button/Button.js +1 -1
- package/Divider/Divider.js +94 -97
- package/FormInput/FormInput.d.ts +2 -1
- package/FormInput/FormInput.js +8 -7
- package/LabeledCheckbox/LabeledCheckbox.js +1 -1
- package/LabeledDropdown/LabeledDropdown.d.ts +7 -0
- package/LabeledDropdown/LabeledDropdown.js +319 -36
- package/LabeledDropdown/index.d.ts +1 -1
- package/LabeledDropdown/index.js +4 -1
- package/LabeledInput/LabeledInput.js +7 -7
- package/Pagination/Pagination.js +1 -1
- package/Tooltip/Tooltip.js +1 -1
- package/package.json +1 -1
package/.chunks/createSvgIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "react";
|
|
2
2
|
import { jsxs as I, jsx as b } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { a as w, g as C, s as T, e as x, u as N, c as O, P as e, b as R } from "./DefaultPropsProvider.js";
|
|
4
4
|
import { m as j } from "./memoTheme.js";
|
|
5
5
|
function E(o) {
|
|
6
6
|
return w("MuiSvgIcon", o);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { g as t, a as e } from "./DefaultPropsProvider.js";
|
|
2
|
+
function l(i) {
|
|
3
|
+
return e("MuiDivider", i);
|
|
4
|
+
}
|
|
5
|
+
const a = t("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
6
|
+
export {
|
|
7
|
+
a as d,
|
|
8
|
+
l as g
|
|
9
|
+
};
|
package/.chunks/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Button as K } from "../Button/Button.js";
|
|
|
11
11
|
import i from "../theme.js";
|
|
12
12
|
import { l as Ae } from "../.chunks/jocologo.js";
|
|
13
13
|
import { X as je } from "../.chunks/Close.js";
|
|
14
|
-
import { P as t,
|
|
14
|
+
import { P as t, a as Ue, g as Fe, s as ce, r as Ve, e as Z, u as We, c as _, b as Qe } from "../.chunks/DefaultPropsProvider.js";
|
|
15
15
|
import { u as Xe } from "../.chunks/index.js";
|
|
16
16
|
import { u as Ge, e as Ye, H as _e, a as ke, g as Je, T as Ke, r as Ze, b as me } from "../.chunks/Portal.js";
|
|
17
17
|
import { m as Ce } from "../.chunks/memoTheme.js";
|
package/Button/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as H, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as _, g as A, s as c, r as q, e as d, f as J, u as K, c as O, P as t, b as Q, d as v } from "../.chunks/DefaultPropsProvider.js";
|
|
4
4
|
import { m as X } from "../.chunks/memoTheme.js";
|
|
5
5
|
import { c as Y } from "../.chunks/createSimplePaletteValueFilter.js";
|
|
6
6
|
import { B as S } from "../.chunks/ButtonBase.js";
|
package/Divider/Divider.js
CHANGED
|
@@ -1,45 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { n as
|
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { n as D, i as S } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
3
|
import * as A from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { m
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
R("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
10
|
-
const O = (t) => {
|
|
4
|
+
import { s as b, u as C, c as R, P as i, b as T, d as $ } from "../.chunks/DefaultPropsProvider.js";
|
|
5
|
+
import { m } from "../.chunks/memoTheme.js";
|
|
6
|
+
import { g as L } from "../.chunks/dividerClasses.js";
|
|
7
|
+
const W = (e) => {
|
|
11
8
|
const {
|
|
12
|
-
absolute:
|
|
13
|
-
children:
|
|
9
|
+
absolute: t,
|
|
10
|
+
children: r,
|
|
14
11
|
classes: o,
|
|
15
12
|
flexItem: p,
|
|
16
13
|
light: s,
|
|
17
14
|
orientation: a,
|
|
18
|
-
textAlign:
|
|
19
|
-
variant:
|
|
20
|
-
} =
|
|
21
|
-
return
|
|
22
|
-
root: ["root",
|
|
15
|
+
textAlign: n,
|
|
16
|
+
variant: l
|
|
17
|
+
} = e;
|
|
18
|
+
return T({
|
|
19
|
+
root: ["root", t && "absolute", l, s && "light", a === "vertical" && "vertical", p && "flexItem", r && "withChildren", r && a === "vertical" && "withChildrenVertical", n === "right" && a !== "vertical" && "textAlignRight", n === "left" && a !== "vertical" && "textAlignLeft"],
|
|
23
20
|
wrapper: ["wrapper", a === "vertical" && "wrapperVertical"]
|
|
24
|
-
},
|
|
25
|
-
},
|
|
21
|
+
}, L, o);
|
|
22
|
+
}, O = b("div", {
|
|
26
23
|
name: "MuiDivider",
|
|
27
24
|
slot: "Root",
|
|
28
|
-
overridesResolver: (
|
|
25
|
+
overridesResolver: (e, t) => {
|
|
29
26
|
const {
|
|
30
|
-
ownerState:
|
|
31
|
-
} =
|
|
32
|
-
return [
|
|
27
|
+
ownerState: r
|
|
28
|
+
} = e;
|
|
29
|
+
return [t.root, r.absolute && t.absolute, t[r.variant], r.light && t.light, r.orientation === "vertical" && t.vertical, r.flexItem && t.flexItem, r.children && t.withChildren, r.children && r.orientation === "vertical" && t.withChildrenVertical, r.textAlign === "right" && r.orientation !== "vertical" && t.textAlignRight, r.textAlign === "left" && r.orientation !== "vertical" && t.textAlignLeft];
|
|
33
30
|
}
|
|
34
|
-
})(
|
|
35
|
-
theme:
|
|
31
|
+
})(m(({
|
|
32
|
+
theme: e
|
|
36
33
|
}) => ({
|
|
37
34
|
margin: 0,
|
|
38
35
|
// Reset browser default style.
|
|
39
36
|
flexShrink: 0,
|
|
40
37
|
borderWidth: 0,
|
|
41
38
|
borderStyle: "solid",
|
|
42
|
-
borderColor: (
|
|
39
|
+
borderColor: (e.vars || e).palette.divider,
|
|
43
40
|
borderBottomWidth: "thin",
|
|
44
41
|
variants: [{
|
|
45
42
|
props: {
|
|
@@ -56,7 +53,7 @@ const O = (t) => {
|
|
|
56
53
|
light: !0
|
|
57
54
|
},
|
|
58
55
|
style: {
|
|
59
|
-
borderColor:
|
|
56
|
+
borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : $(e.palette.divider, 0.08)
|
|
60
57
|
}
|
|
61
58
|
}, {
|
|
62
59
|
props: {
|
|
@@ -71,8 +68,8 @@ const O = (t) => {
|
|
|
71
68
|
orientation: "horizontal"
|
|
72
69
|
},
|
|
73
70
|
style: {
|
|
74
|
-
marginLeft:
|
|
75
|
-
marginRight:
|
|
71
|
+
marginLeft: e.spacing(2),
|
|
72
|
+
marginRight: e.spacing(2)
|
|
76
73
|
}
|
|
77
74
|
}, {
|
|
78
75
|
props: {
|
|
@@ -80,8 +77,8 @@ const O = (t) => {
|
|
|
80
77
|
orientation: "vertical"
|
|
81
78
|
},
|
|
82
79
|
style: {
|
|
83
|
-
marginTop:
|
|
84
|
-
marginBottom:
|
|
80
|
+
marginTop: e.spacing(1),
|
|
81
|
+
marginBottom: e.spacing(1)
|
|
85
82
|
}
|
|
86
83
|
}, {
|
|
87
84
|
props: {
|
|
@@ -102,8 +99,8 @@ const O = (t) => {
|
|
|
102
99
|
}
|
|
103
100
|
}, {
|
|
104
101
|
props: ({
|
|
105
|
-
ownerState:
|
|
106
|
-
}) => !!
|
|
102
|
+
ownerState: t
|
|
103
|
+
}) => !!t.children,
|
|
107
104
|
style: {
|
|
108
105
|
display: "flex",
|
|
109
106
|
whiteSpace: "nowrap",
|
|
@@ -118,31 +115,31 @@ const O = (t) => {
|
|
|
118
115
|
}
|
|
119
116
|
}, {
|
|
120
117
|
props: ({
|
|
121
|
-
ownerState:
|
|
122
|
-
}) =>
|
|
118
|
+
ownerState: t
|
|
119
|
+
}) => t.children && t.orientation !== "vertical",
|
|
123
120
|
style: {
|
|
124
121
|
"&::before, &::after": {
|
|
125
122
|
width: "100%",
|
|
126
|
-
borderTop: `thin solid ${(
|
|
123
|
+
borderTop: `thin solid ${(e.vars || e).palette.divider}`,
|
|
127
124
|
borderTopStyle: "inherit"
|
|
128
125
|
}
|
|
129
126
|
}
|
|
130
127
|
}, {
|
|
131
128
|
props: ({
|
|
132
|
-
ownerState:
|
|
133
|
-
}) =>
|
|
129
|
+
ownerState: t
|
|
130
|
+
}) => t.orientation === "vertical" && t.children,
|
|
134
131
|
style: {
|
|
135
132
|
flexDirection: "column",
|
|
136
133
|
"&::before, &::after": {
|
|
137
134
|
height: "100%",
|
|
138
|
-
borderLeft: `thin solid ${(
|
|
135
|
+
borderLeft: `thin solid ${(e.vars || e).palette.divider}`,
|
|
139
136
|
borderLeftStyle: "inherit"
|
|
140
137
|
}
|
|
141
138
|
}
|
|
142
139
|
}, {
|
|
143
140
|
props: ({
|
|
144
|
-
ownerState:
|
|
145
|
-
}) =>
|
|
141
|
+
ownerState: t
|
|
142
|
+
}) => t.textAlign === "right" && t.orientation !== "vertical",
|
|
146
143
|
style: {
|
|
147
144
|
"&::before": {
|
|
148
145
|
width: "90%"
|
|
@@ -153,8 +150,8 @@ const O = (t) => {
|
|
|
153
150
|
}
|
|
154
151
|
}, {
|
|
155
152
|
props: ({
|
|
156
|
-
ownerState:
|
|
157
|
-
}) =>
|
|
153
|
+
ownerState: t
|
|
154
|
+
}) => t.textAlign === "left" && t.orientation !== "vertical",
|
|
158
155
|
style: {
|
|
159
156
|
"&::before": {
|
|
160
157
|
width: "10%"
|
|
@@ -164,68 +161,68 @@ const O = (t) => {
|
|
|
164
161
|
}
|
|
165
162
|
}
|
|
166
163
|
}]
|
|
167
|
-
}))),
|
|
164
|
+
}))), I = b("span", {
|
|
168
165
|
name: "MuiDivider",
|
|
169
166
|
slot: "Wrapper",
|
|
170
|
-
overridesResolver: (
|
|
167
|
+
overridesResolver: (e, t) => {
|
|
171
168
|
const {
|
|
172
|
-
ownerState:
|
|
173
|
-
} =
|
|
174
|
-
return [
|
|
169
|
+
ownerState: r
|
|
170
|
+
} = e;
|
|
171
|
+
return [t.wrapper, r.orientation === "vertical" && t.wrapperVertical];
|
|
175
172
|
}
|
|
176
|
-
})(
|
|
177
|
-
theme:
|
|
173
|
+
})(m(({
|
|
174
|
+
theme: e
|
|
178
175
|
}) => ({
|
|
179
176
|
display: "inline-block",
|
|
180
|
-
paddingLeft: `calc(${
|
|
181
|
-
paddingRight: `calc(${
|
|
177
|
+
paddingLeft: `calc(${e.spacing(1)} * 1.2)`,
|
|
178
|
+
paddingRight: `calc(${e.spacing(1)} * 1.2)`,
|
|
182
179
|
variants: [{
|
|
183
180
|
props: {
|
|
184
181
|
orientation: "vertical"
|
|
185
182
|
},
|
|
186
183
|
style: {
|
|
187
|
-
paddingTop: `calc(${
|
|
188
|
-
paddingBottom: `calc(${
|
|
184
|
+
paddingTop: `calc(${e.spacing(1)} * 1.2)`,
|
|
185
|
+
paddingBottom: `calc(${e.spacing(1)} * 1.2)`
|
|
189
186
|
}
|
|
190
187
|
}]
|
|
191
|
-
}))), d = /* @__PURE__ */ A.forwardRef(function(
|
|
192
|
-
const o =
|
|
193
|
-
props:
|
|
188
|
+
}))), d = /* @__PURE__ */ A.forwardRef(function(t, r) {
|
|
189
|
+
const o = C({
|
|
190
|
+
props: t,
|
|
194
191
|
name: "MuiDivider"
|
|
195
192
|
}), {
|
|
196
193
|
absolute: p = !1,
|
|
197
194
|
children: s,
|
|
198
195
|
className: a,
|
|
199
|
-
orientation:
|
|
200
|
-
component:
|
|
201
|
-
flexItem:
|
|
202
|
-
light:
|
|
203
|
-
role: c =
|
|
196
|
+
orientation: n = "horizontal",
|
|
197
|
+
component: l = s || n === "vertical" ? "div" : "hr",
|
|
198
|
+
flexItem: g = !1,
|
|
199
|
+
light: u = !1,
|
|
200
|
+
role: c = l !== "hr" ? "separator" : void 0,
|
|
204
201
|
textAlign: x = "center",
|
|
205
202
|
variant: w = "fullWidth",
|
|
206
203
|
...y
|
|
207
|
-
} = o,
|
|
204
|
+
} = o, f = {
|
|
208
205
|
...o,
|
|
209
206
|
absolute: p,
|
|
210
|
-
component:
|
|
211
|
-
flexItem:
|
|
212
|
-
light:
|
|
213
|
-
orientation:
|
|
207
|
+
component: l,
|
|
208
|
+
flexItem: g,
|
|
209
|
+
light: u,
|
|
210
|
+
orientation: n,
|
|
214
211
|
role: c,
|
|
215
212
|
textAlign: x,
|
|
216
213
|
variant: w
|
|
217
|
-
}, v =
|
|
218
|
-
return /* @__PURE__ */
|
|
219
|
-
as:
|
|
220
|
-
className:
|
|
214
|
+
}, v = W(f);
|
|
215
|
+
return /* @__PURE__ */ h(O, {
|
|
216
|
+
as: l,
|
|
217
|
+
className: R(v.root, a),
|
|
221
218
|
role: c,
|
|
222
|
-
ref:
|
|
223
|
-
ownerState:
|
|
224
|
-
"aria-orientation": c === "separator" && (
|
|
219
|
+
ref: r,
|
|
220
|
+
ownerState: f,
|
|
221
|
+
"aria-orientation": c === "separator" && (l !== "hr" || n === "vertical") ? n : void 0,
|
|
225
222
|
...y,
|
|
226
|
-
children: s ? /* @__PURE__ */
|
|
223
|
+
children: s ? /* @__PURE__ */ h(I, {
|
|
227
224
|
className: v.wrapper,
|
|
228
|
-
ownerState:
|
|
225
|
+
ownerState: f,
|
|
229
226
|
children: s
|
|
230
227
|
}) : null
|
|
231
228
|
});
|
|
@@ -240,71 +237,71 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
240
237
|
* Absolutely position the element.
|
|
241
238
|
* @default false
|
|
242
239
|
*/
|
|
243
|
-
absolute:
|
|
240
|
+
absolute: i.bool,
|
|
244
241
|
/**
|
|
245
242
|
* The content of the component.
|
|
246
243
|
*/
|
|
247
|
-
children:
|
|
244
|
+
children: i.node,
|
|
248
245
|
/**
|
|
249
246
|
* Override or extend the styles applied to the component.
|
|
250
247
|
*/
|
|
251
|
-
classes:
|
|
248
|
+
classes: i.object,
|
|
252
249
|
/**
|
|
253
250
|
* @ignore
|
|
254
251
|
*/
|
|
255
|
-
className:
|
|
252
|
+
className: i.string,
|
|
256
253
|
/**
|
|
257
254
|
* The component used for the root node.
|
|
258
255
|
* Either a string to use a HTML element or a component.
|
|
259
256
|
*/
|
|
260
|
-
component:
|
|
257
|
+
component: i.elementType,
|
|
261
258
|
/**
|
|
262
259
|
* If `true`, a vertical divider will have the correct height when used in flex container.
|
|
263
260
|
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
|
264
261
|
* @default false
|
|
265
262
|
*/
|
|
266
|
-
flexItem:
|
|
263
|
+
flexItem: i.bool,
|
|
267
264
|
/**
|
|
268
265
|
* If `true`, the divider will have a lighter color.
|
|
269
266
|
* @default false
|
|
270
267
|
* @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
271
268
|
*/
|
|
272
|
-
light:
|
|
269
|
+
light: i.bool,
|
|
273
270
|
/**
|
|
274
271
|
* The component orientation.
|
|
275
272
|
* @default 'horizontal'
|
|
276
273
|
*/
|
|
277
|
-
orientation:
|
|
274
|
+
orientation: i.oneOf(["horizontal", "vertical"]),
|
|
278
275
|
/**
|
|
279
276
|
* @ignore
|
|
280
277
|
*/
|
|
281
|
-
role:
|
|
278
|
+
role: i.string,
|
|
282
279
|
/**
|
|
283
280
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
284
281
|
*/
|
|
285
|
-
sx:
|
|
282
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
|
286
283
|
/**
|
|
287
284
|
* The text alignment.
|
|
288
285
|
* @default 'center'
|
|
289
286
|
*/
|
|
290
|
-
textAlign:
|
|
287
|
+
textAlign: i.oneOf(["center", "left", "right"]),
|
|
291
288
|
/**
|
|
292
289
|
* The variant to use.
|
|
293
290
|
* @default 'fullWidth'
|
|
294
291
|
*/
|
|
295
|
-
variant:
|
|
292
|
+
variant: i.oneOfType([i.oneOf(["fullWidth", "inset", "middle"]), i.string])
|
|
296
293
|
});
|
|
297
|
-
const
|
|
298
|
-
shouldForwardProp: (
|
|
299
|
-
})(({ color:
|
|
300
|
-
borderBottomColor: o ? "transparent" :
|
|
301
|
-
borderRightColor: o ?
|
|
302
|
-
opacity:
|
|
303
|
-
margin: o ? `0 ${
|
|
294
|
+
const N = D(d, {
|
|
295
|
+
shouldForwardProp: (e) => S(e) && typeof e == "string"
|
|
296
|
+
})(({ color: e = "midnight", opacity: t = 1, spacing: r = 8, vertical: o }) => ({
|
|
297
|
+
borderBottomColor: o ? "transparent" : e,
|
|
298
|
+
borderRightColor: o ? e : "transparent",
|
|
299
|
+
opacity: t,
|
|
300
|
+
margin: o ? `0 ${r}px` : `${r}px 0`,
|
|
304
301
|
height: o ? "100%" : 0,
|
|
305
302
|
width: o ? 1 : "100%"
|
|
306
|
-
})),
|
|
303
|
+
})), z = ({ orientation: e, ...t }) => /* @__PURE__ */ h(N, { vertical: e === "vertical", ...t });
|
|
307
304
|
export {
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
z as Divider,
|
|
306
|
+
z as default
|
|
310
307
|
};
|
package/FormInput/FormInput.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LabeledInputProps } from '../../../../../../../../../src/components/composite/LabeledInput';
|
|
2
2
|
import { LabeledCheckboxProps } from '../../../../../../../../../src/components/composite/LabeledCheckbox';
|
|
3
|
-
|
|
3
|
+
import { LabeledDropdownProps } from '../../../../../../../../../src/components/composite/LabeledDropdown';
|
|
4
|
+
export type AllInputProps = LabeledInputProps | LabeledCheckboxProps | LabeledDropdownProps;
|
|
4
5
|
export type FormInputProps = AllInputProps & {
|
|
5
6
|
type?: 'text' | 'dropdown' | 'date' | 'number' | 'checkbox' | 'radio' | 'textarea';
|
|
6
7
|
};
|
package/FormInput/FormInput.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { LabeledInput as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { LabeledInput as t } from "../LabeledInput/LabeledInput.js";
|
|
3
3
|
import { LabeledCheckbox as m } from "../LabeledCheckbox/LabeledCheckbox.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { LabeledDropdown as d } from "../LabeledDropdown/LabeledDropdown.js";
|
|
5
|
+
const n = (o) => {
|
|
6
|
+
const { type: e = "text" } = o;
|
|
7
|
+
return e === "dropdown" && (d, { ...o }), e === "checkbox" ? /* @__PURE__ */ r(m, { ...o }) : /* @__PURE__ */ r(t, { ...o, type: e });
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
n as FormInput,
|
|
11
|
+
n as default
|
|
11
12
|
};
|
|
@@ -3,7 +3,7 @@ import { n as oe } from "../.chunks/emotion-styled.browser.esm.js";
|
|
|
3
3
|
import { c as te } from "../.chunks/emotion-react.browser.esm.js";
|
|
4
4
|
import ae from "../theme.js";
|
|
5
5
|
import * as v from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { a as E, g as q, s as O, r as V, c as U, P as e, e as b, b as H, d as T, u as ne } from "../.chunks/DefaultPropsProvider.js";
|
|
7
7
|
import { u as se } from "../.chunks/useFormControl.js";
|
|
8
8
|
import { B as re } from "../.chunks/ButtonBase.js";
|
|
9
9
|
import { u as ce } from "../.chunks/useControlled.js";
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { SelectProps } from '@mui/material/Select';
|
|
2
|
+
export type DropdownOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
};
|
|
2
6
|
export type LabeledDropdownProps = {
|
|
3
7
|
label: string;
|
|
4
8
|
colon?: boolean;
|
|
9
|
+
options: DropdownOption[];
|
|
10
|
+
borderFocusColor?: string;
|
|
11
|
+
minWidth?: string;
|
|
5
12
|
} & SelectProps;
|
|
6
13
|
export declare const LabeledDropdown: React.FC<LabeledDropdownProps>;
|
|
7
14
|
export default LabeledDropdown;
|