@uniformdev/design-system 19.196.0 → 19.196.1-alpha.15
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/esm/{importedIcons-XEGXOSVC.js → importedIcons-SI6R3MYO.js} +11 -1
- package/dist/esm/index.js +57 -29
- package/dist/index.d.mts +30 -8
- package/dist/index.d.ts +30 -8
- package/dist/index.js +68 -30
- package/package.json +4 -4
|
@@ -645,6 +645,11 @@ import { CgYinyang } from "@react-icons/all-files/cg/CgYinyang";
|
|
|
645
645
|
import { CgZoomIn } from "@react-icons/all-files/cg/CgZoomIn";
|
|
646
646
|
import { CgZoomOut } from "@react-icons/all-files/cg/CgZoomOut";
|
|
647
647
|
import { MdCopyAll } from "@react-icons/all-files/md/MdCopyAll";
|
|
648
|
+
import { TbDeviceIpad } from "@react-icons/all-files/tb/TbDeviceIpad";
|
|
649
|
+
import { TbDeviceMobile } from "@react-icons/all-files/tb/TbDeviceMobile";
|
|
650
|
+
import { TbDeviceMobileRotated } from "@react-icons/all-files/tb/TbDeviceMobileRotated";
|
|
651
|
+
import { TbDeviceTablet } from "@react-icons/all-files/tb/TbDeviceTablet";
|
|
652
|
+
import { TbDeviceTv } from "@react-icons/all-files/tb/TbDeviceTv";
|
|
648
653
|
var importedIcons = {
|
|
649
654
|
"add-r": CgAddR,
|
|
650
655
|
add: CgAdd,
|
|
@@ -1289,7 +1294,12 @@ var importedIcons = {
|
|
|
1289
1294
|
"work-alt": CgWorkAlt,
|
|
1290
1295
|
yinyang: CgYinyang,
|
|
1291
1296
|
"zoom-in": CgZoomIn,
|
|
1292
|
-
"zoom-out": CgZoomOut
|
|
1297
|
+
"zoom-out": CgZoomOut,
|
|
1298
|
+
"device-mobile": TbDeviceMobile,
|
|
1299
|
+
"device-tablet": TbDeviceTablet,
|
|
1300
|
+
"device-tv": TbDeviceTv,
|
|
1301
|
+
"device-ipad": TbDeviceIpad,
|
|
1302
|
+
"device-mobile-rotated": TbDeviceMobileRotated
|
|
1293
1303
|
};
|
|
1294
1304
|
export {
|
|
1295
1305
|
importedIcons
|
package/dist/esm/index.js
CHANGED
|
@@ -2156,7 +2156,7 @@ function IconsProvider({ children }) {
|
|
|
2156
2156
|
const [isLoading, setIsLoading] = useState2(true);
|
|
2157
2157
|
const [iconsMap, setIconsMap] = useState2({});
|
|
2158
2158
|
const initializeIconsMap = async () => {
|
|
2159
|
-
const { importedIcons } = await import("./importedIcons-
|
|
2159
|
+
const { importedIcons } = await import("./importedIcons-SI6R3MYO.js");
|
|
2160
2160
|
setIconsMap({ ...importedIcons, ...customIcons });
|
|
2161
2161
|
setIsLoading(false);
|
|
2162
2162
|
};
|
|
@@ -12299,6 +12299,7 @@ var buttonStyle = (bgColor) => css24`
|
|
|
12299
12299
|
background-color var(--duration-fast) var(--timing-ease-out),
|
|
12300
12300
|
outline var(--duration-fast) var(--timing-ease-out);
|
|
12301
12301
|
outline: 1px solid transparent;
|
|
12302
|
+
padding-left: var(--spacing-2xs);
|
|
12302
12303
|
|
|
12303
12304
|
&:hover {
|
|
12304
12305
|
outline-color: var(--gray-300);
|
|
@@ -13029,7 +13030,7 @@ var Input = React10.forwardRef(
|
|
|
13029
13030
|
errorMessage ? inputError : void 0,
|
|
13030
13031
|
icon ? inputWithIcon : ""
|
|
13031
13032
|
],
|
|
13032
|
-
"aria-label":
|
|
13033
|
+
"aria-label": showLabel || typeof label !== "string" ? void 0 : label,
|
|
13033
13034
|
className: typeof classNameControl === "string" ? classNameControl : "",
|
|
13034
13035
|
...props,
|
|
13035
13036
|
ref
|
|
@@ -13925,7 +13926,7 @@ import { css as css39 } from "@emotion/react";
|
|
|
13925
13926
|
var buttonSizeBase = css39`
|
|
13926
13927
|
--icon-padding: var(--spacing-xs);
|
|
13927
13928
|
--svg-size: 1rem;
|
|
13928
|
-
--line-offset: -
|
|
13929
|
+
--line-offset: -1px;
|
|
13929
13930
|
font-size: var(--fs-sm);
|
|
13930
13931
|
|
|
13931
13932
|
button {
|
|
@@ -15149,6 +15150,9 @@ var ChipOutlined = css49`
|
|
|
15149
15150
|
border-color: var(--outline-color);
|
|
15150
15151
|
}
|
|
15151
15152
|
`;
|
|
15153
|
+
var ChipDisabled = css49`
|
|
15154
|
+
opacity: var(--opacity-50);
|
|
15155
|
+
`;
|
|
15152
15156
|
|
|
15153
15157
|
// src/components/Chip/Chip.tsx
|
|
15154
15158
|
import { Fragment as Fragment9, jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
|
|
@@ -15168,6 +15172,7 @@ var Chip = ({
|
|
|
15168
15172
|
theme = "accent-light",
|
|
15169
15173
|
variant = "solid",
|
|
15170
15174
|
chipAction,
|
|
15175
|
+
isDisabled = false,
|
|
15171
15176
|
as = "span",
|
|
15172
15177
|
...props
|
|
15173
15178
|
}) => {
|
|
@@ -15184,7 +15189,8 @@ var Chip = ({
|
|
|
15184
15189
|
ChipContainer,
|
|
15185
15190
|
chipSize[size],
|
|
15186
15191
|
chipTheme[theme],
|
|
15187
|
-
variant === "outlined" ? ChipOutlined : void 0
|
|
15192
|
+
variant === "outlined" ? ChipOutlined : void 0,
|
|
15193
|
+
isDisabled ? ChipDisabled : void 0
|
|
15188
15194
|
],
|
|
15189
15195
|
...props,
|
|
15190
15196
|
children: [
|
|
@@ -18637,8 +18643,9 @@ var modalContentStyles = css80`
|
|
|
18637
18643
|
border-radius: var(--rounded-sm);
|
|
18638
18644
|
${scrollbarStyles}
|
|
18639
18645
|
`;
|
|
18640
|
-
var modalDialogWrapper = css80`
|
|
18641
|
-
|
|
18646
|
+
var modalDialogWrapper = (hasCloseButton) => css80`
|
|
18647
|
+
height: 100%;
|
|
18648
|
+
padding: ${hasCloseButton ? 0 : "var(--spacing-md)"} var(--spacing-lg) var(--spacing-md);
|
|
18642
18649
|
`;
|
|
18643
18650
|
var modalDialogInnerStyles = css80`
|
|
18644
18651
|
// we need to override the gap of the modalInnerStyles when using a modal dialog
|
|
@@ -18662,8 +18669,10 @@ var Modal = React20.forwardRef(
|
|
|
18662
18669
|
modalSize = "lg",
|
|
18663
18670
|
withoutContentPadding = false,
|
|
18664
18671
|
withoutContentBackground = false,
|
|
18672
|
+
disableBodyScroll = false,
|
|
18665
18673
|
...modalProps
|
|
18666
18674
|
}, ref) => {
|
|
18675
|
+
const mouseDownInsideModal = useRef9(false);
|
|
18667
18676
|
const dialogRef = useRef9(null);
|
|
18668
18677
|
const size = {
|
|
18669
18678
|
sm: modalSizeSmall,
|
|
@@ -18672,7 +18681,7 @@ var Modal = React20.forwardRef(
|
|
|
18672
18681
|
};
|
|
18673
18682
|
useShortcut({
|
|
18674
18683
|
handler: () => {
|
|
18675
|
-
onRequestClose();
|
|
18684
|
+
onRequestClose == null ? void 0 : onRequestClose();
|
|
18676
18685
|
},
|
|
18677
18686
|
shortcut: "escape"
|
|
18678
18687
|
});
|
|
@@ -18705,9 +18714,25 @@ var Modal = React20.forwardRef(
|
|
|
18705
18714
|
}
|
|
18706
18715
|
},
|
|
18707
18716
|
css: [modalStyles, !width ? size[modalSize] : void 0],
|
|
18708
|
-
style: {
|
|
18717
|
+
style: {
|
|
18718
|
+
width,
|
|
18719
|
+
height: height === "auto" ? "min-content" : height,
|
|
18720
|
+
// allows menus rendered in the PortalContext to overflow the modal contents
|
|
18721
|
+
// (internal scrolling of contents is handled on a child element)
|
|
18722
|
+
overflow: "visible"
|
|
18723
|
+
},
|
|
18709
18724
|
"data-testid": "side-dialog",
|
|
18710
|
-
onClick:
|
|
18725
|
+
onClick: () => {
|
|
18726
|
+
if (mouseDownInsideModal.current) {
|
|
18727
|
+
return;
|
|
18728
|
+
}
|
|
18729
|
+
onRequestClose == null ? void 0 : onRequestClose();
|
|
18730
|
+
},
|
|
18731
|
+
onMouseUp: () => {
|
|
18732
|
+
setTimeout(() => {
|
|
18733
|
+
mouseDownInsideModal.current = false;
|
|
18734
|
+
});
|
|
18735
|
+
},
|
|
18711
18736
|
onCancel: (e) => {
|
|
18712
18737
|
e.preventDefault();
|
|
18713
18738
|
},
|
|
@@ -18717,10 +18742,13 @@ var Modal = React20.forwardRef(
|
|
|
18717
18742
|
{
|
|
18718
18743
|
css: [modalInnerStyles, { height: height === "auto" ? "auto" : "100%" }],
|
|
18719
18744
|
onClick: (e) => e.stopPropagation(),
|
|
18745
|
+
onMouseDown: () => {
|
|
18746
|
+
mouseDownInsideModal.current = true;
|
|
18747
|
+
},
|
|
18720
18748
|
children: [
|
|
18721
|
-
/* @__PURE__ */ jsxs67("div", { css: modalHeaderStyles, children: [
|
|
18722
|
-
|
|
18723
|
-
/* @__PURE__ */ jsx102(
|
|
18749
|
+
header2 || onRequestClose ? /* @__PURE__ */ jsxs67("div", { css: modalHeaderStyles, children: [
|
|
18750
|
+
header2 ? /* @__PURE__ */ jsx102("div", { css: modalHeaderHeaderStyles, children: header2 }) : null,
|
|
18751
|
+
onRequestClose ? /* @__PURE__ */ jsx102(
|
|
18724
18752
|
Button,
|
|
18725
18753
|
{
|
|
18726
18754
|
type: "button",
|
|
@@ -18731,15 +18759,16 @@ var Modal = React20.forwardRef(
|
|
|
18731
18759
|
"data-testid": "close-dialog",
|
|
18732
18760
|
children: /* @__PURE__ */ jsx102(Icon, { icon: CgClose4, iconColor: "currentColor", size: 24 })
|
|
18733
18761
|
}
|
|
18734
|
-
)
|
|
18735
|
-
] }),
|
|
18762
|
+
) : null
|
|
18763
|
+
] }) : null,
|
|
18736
18764
|
/* @__PURE__ */ jsx102(
|
|
18737
18765
|
"div",
|
|
18738
18766
|
{
|
|
18739
18767
|
css: [
|
|
18740
18768
|
modalContentStyles,
|
|
18741
|
-
|
|
18742
|
-
|
|
18769
|
+
withoutContentPadding ? { padding: 0 } : null,
|
|
18770
|
+
withoutContentBackground ? { background: "transparent" } : null,
|
|
18771
|
+
disableBodyScroll ? { overflow: "visible" } : null
|
|
18743
18772
|
],
|
|
18744
18773
|
children
|
|
18745
18774
|
}
|
|
@@ -18771,9 +18800,9 @@ var ModalDialog = forwardRef16(
|
|
|
18771
18800
|
withoutContentPadding: true,
|
|
18772
18801
|
css: modalDialogInnerStyles,
|
|
18773
18802
|
width: "",
|
|
18774
|
-
children: /* @__PURE__ */ jsxs68(VerticalRhythm, { css: modalDialogWrapper, children: [
|
|
18803
|
+
children: /* @__PURE__ */ jsxs68(VerticalRhythm, { css: modalDialogWrapper(Boolean(onRequestClose)), children: [
|
|
18775
18804
|
/* @__PURE__ */ jsx103("div", { css: modalHeaderStyles, children: header2 }),
|
|
18776
|
-
/* @__PURE__ */ jsx103("div", { children }),
|
|
18805
|
+
/* @__PURE__ */ jsx103("div", { css: { flex: 1 }, children }),
|
|
18777
18806
|
/* @__PURE__ */ jsx103(HorizontalRhythm, { children: buttonGroup })
|
|
18778
18807
|
] })
|
|
18779
18808
|
}
|
|
@@ -19241,7 +19270,7 @@ var ObjectListItem2 = (props) => {
|
|
|
19241
19270
|
/* @__PURE__ */ jsx111(HorizontalRhythm, { gap: "xs", align: renderAs === "multi" ? "flex-start" : "center", children: header2 }),
|
|
19242
19271
|
renderAs === "multi" ? props.children : null
|
|
19243
19272
|
] }),
|
|
19244
|
-
/* @__PURE__ */ jsx111(HorizontalRhythm, { gap: "xs", align: "flex-start", children: rightSlot })
|
|
19273
|
+
/* @__PURE__ */ jsx111(HorizontalRhythm, { gap: "xs", align: renderAs === "multi" ? "flex-start" : "center", children: rightSlot })
|
|
19245
19274
|
] }),
|
|
19246
19275
|
menuItems ? /* @__PURE__ */ jsx111(HorizontalRhythm, { gap: "0", align: "flex-start", children: /* @__PURE__ */ jsx111(
|
|
19247
19276
|
Menu,
|
|
@@ -20151,7 +20180,7 @@ var ParameterImageInner = forwardRef19((props, ref) => {
|
|
|
20151
20180
|
type: "text",
|
|
20152
20181
|
id,
|
|
20153
20182
|
ref,
|
|
20154
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
20183
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
20155
20184
|
autoComplete: "off",
|
|
20156
20185
|
...props
|
|
20157
20186
|
}
|
|
@@ -20176,7 +20205,7 @@ var ParameterInputInner = forwardRef20(
|
|
|
20176
20205
|
css: input3,
|
|
20177
20206
|
id,
|
|
20178
20207
|
type: props.type || "text",
|
|
20179
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
20208
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
20180
20209
|
autoComplete: "off",
|
|
20181
20210
|
ref,
|
|
20182
20211
|
...props
|
|
@@ -20197,7 +20226,7 @@ var ParameterLink = forwardRef21(
|
|
|
20197
20226
|
"data-testid": "link-parameter-editor",
|
|
20198
20227
|
...shellProps,
|
|
20199
20228
|
label: innerProps.value ? shellProps.label : "",
|
|
20200
|
-
title: !innerProps.value ? shellProps.label : void 0,
|
|
20229
|
+
title: !innerProps.value && typeof shellProps.label === "string" ? shellProps.label : void 0,
|
|
20201
20230
|
children: /* @__PURE__ */ jsx126(
|
|
20202
20231
|
ParameterLinkInner,
|
|
20203
20232
|
{
|
|
@@ -20225,7 +20254,7 @@ var ParameterLinkInner = forwardRef21(
|
|
|
20225
20254
|
readOnly: Boolean(props.value),
|
|
20226
20255
|
id,
|
|
20227
20256
|
ref,
|
|
20228
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
20257
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
20229
20258
|
...props
|
|
20230
20259
|
}
|
|
20231
20260
|
),
|
|
@@ -20275,7 +20304,7 @@ var ParameterMultiSelectInner = (props) => {
|
|
|
20275
20304
|
isMulti: true,
|
|
20276
20305
|
isClearable: (_a = props.isClearable) != null ? _a : false,
|
|
20277
20306
|
id,
|
|
20278
|
-
"aria-label": label,
|
|
20307
|
+
"aria-label": typeof label === "string" ? label : void 0,
|
|
20279
20308
|
classNamePrefix: "parameter-multi-select-combobox",
|
|
20280
20309
|
styles: {
|
|
20281
20310
|
menuPortal: (base) => ({
|
|
@@ -23230,7 +23259,7 @@ var ParameterSelectInner = forwardRef23(
|
|
|
23230
23259
|
{
|
|
23231
23260
|
css: [input3, selectInput],
|
|
23232
23261
|
id,
|
|
23233
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
23262
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
23234
23263
|
ref,
|
|
23235
23264
|
...props,
|
|
23236
23265
|
children: [
|
|
@@ -23260,7 +23289,7 @@ var ParameterTextareaInner = forwardRef24(({ ...props }, ref) => {
|
|
|
23260
23289
|
css: [input3, textarea2],
|
|
23261
23290
|
id,
|
|
23262
23291
|
ref,
|
|
23263
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
23292
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
23264
23293
|
...props
|
|
23265
23294
|
}
|
|
23266
23295
|
);
|
|
@@ -24211,16 +24240,15 @@ var StatusBullet = ({
|
|
|
24211
24240
|
Deleted: StatusDeleted
|
|
24212
24241
|
};
|
|
24213
24242
|
const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
|
|
24214
|
-
return /* @__PURE__ */ jsx144(
|
|
24243
|
+
return /* @__PURE__ */ jsx144(Tooltip, { title: message != null ? message : status, children: /* @__PURE__ */ jsx144(
|
|
24215
24244
|
"span",
|
|
24216
24245
|
{
|
|
24217
24246
|
role: "status",
|
|
24218
24247
|
css: [StatusBulletContainer, currentStateStyles[status], statusSize],
|
|
24219
|
-
title: message != null ? message : status,
|
|
24220
24248
|
...props,
|
|
24221
24249
|
children: hideText ? null : message ? message : status
|
|
24222
24250
|
}
|
|
24223
|
-
);
|
|
24251
|
+
) });
|
|
24224
24252
|
};
|
|
24225
24253
|
export {
|
|
24226
24254
|
AddButton,
|
package/dist/index.d.mts
CHANGED
|
@@ -21109,6 +21109,11 @@ declare const allSupportedIcons: {
|
|
|
21109
21109
|
yinyang: _react_icons_all_files.IconType;
|
|
21110
21110
|
'zoom-in': _react_icons_all_files.IconType;
|
|
21111
21111
|
'zoom-out': _react_icons_all_files.IconType;
|
|
21112
|
+
'device-mobile': _react_icons_all_files.IconType;
|
|
21113
|
+
'device-tablet': _react_icons_all_files.IconType;
|
|
21114
|
+
'device-tv': _react_icons_all_files.IconType;
|
|
21115
|
+
'device-ipad': _react_icons_all_files.IconType;
|
|
21116
|
+
'device-mobile-rotated': _react_icons_all_files.IconType;
|
|
21112
21117
|
};
|
|
21113
21118
|
|
|
21114
21119
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
@@ -21385,6 +21390,11 @@ type ChipProps = {
|
|
|
21385
21390
|
* @default 'span'
|
|
21386
21391
|
*/
|
|
21387
21392
|
as?: 'span' | 'button';
|
|
21393
|
+
/**
|
|
21394
|
+
* Whether the chip is visually disabled
|
|
21395
|
+
* @default false
|
|
21396
|
+
*/
|
|
21397
|
+
isDisabled?: boolean;
|
|
21388
21398
|
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
21389
21399
|
/**
|
|
21390
21400
|
* @description Chips are used in a variety of ways
|
|
@@ -21393,7 +21403,7 @@ type ChipProps = {
|
|
|
21393
21403
|
* To represent a different object, as a reference
|
|
21394
21404
|
* @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
|
|
21395
21405
|
*/
|
|
21396
|
-
declare const Chip: ({ icon, iconColor, text, size, theme, variant, chipAction, as, ...props }: ChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
21406
|
+
declare const Chip: ({ icon, iconColor, text, size, theme, variant, chipAction, isDisabled, as, ...props }: ChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
21397
21407
|
type DismissibleChipActionProps = {
|
|
21398
21408
|
onDismiss: () => void;
|
|
21399
21409
|
} & HTMLAttributes<HTMLButtonElement>;
|
|
@@ -21922,7 +21932,7 @@ declare const InfoMessage: ({ message, testId, icon, ...props }: InfoMessageProp
|
|
|
21922
21932
|
|
|
21923
21933
|
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21924
21934
|
/** (optional) sets the label value */
|
|
21925
|
-
label?: string;
|
|
21935
|
+
label?: string | React$1.ReactNode;
|
|
21926
21936
|
/** (optional) sets caption text value */
|
|
21927
21937
|
caption?: string | JSX.Element;
|
|
21928
21938
|
/** (optional) add an input icon to the input field */
|
|
@@ -21965,7 +21975,7 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21965
21975
|
*/
|
|
21966
21976
|
declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21967
21977
|
/** (optional) sets the label value */
|
|
21968
|
-
label?: string;
|
|
21978
|
+
label?: string | React$1.ReactNode;
|
|
21969
21979
|
/** (optional) sets caption text value */
|
|
21970
21980
|
caption?: string | JSX.Element;
|
|
21971
21981
|
/** (optional) add an input icon to the input field */
|
|
@@ -22758,6 +22768,9 @@ declare function MenuItemIcon({ icon }: {
|
|
|
22758
22768
|
*/
|
|
22759
22769
|
declare function MenuItemEmptyIcon(): _emotion_react_jsx_runtime.JSX.Element;
|
|
22760
22770
|
|
|
22771
|
+
/**
|
|
22772
|
+
* @deprecated this is deprecated and will be removed in the next major release. Use MenuGroup instead.
|
|
22773
|
+
*/
|
|
22761
22774
|
declare const MenuItemHeading: ({ children }: {
|
|
22762
22775
|
children: ReactNode;
|
|
22763
22776
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -22826,8 +22839,11 @@ declare const MediaCard: ({ title, subtitle, infoPopover, cover, menuItems, side
|
|
|
22826
22839
|
type ModalProps = {
|
|
22827
22840
|
header?: React__default.ReactNode;
|
|
22828
22841
|
children?: React__default.ReactNode;
|
|
22829
|
-
/**
|
|
22830
|
-
|
|
22842
|
+
/**
|
|
22843
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
22844
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
22845
|
+
*/
|
|
22846
|
+
onRequestClose: (() => void) | undefined;
|
|
22831
22847
|
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
22832
22848
|
* if a width attribute is used the size will be overridden by the width attribute
|
|
22833
22849
|
* @default 'lg'
|
|
@@ -22847,6 +22863,12 @@ type ModalProps = {
|
|
|
22847
22863
|
withoutContentBackground?: boolean;
|
|
22848
22864
|
/** Places buttons at the bottom of the modal */
|
|
22849
22865
|
buttonGroup?: ReactNode;
|
|
22866
|
+
/**
|
|
22867
|
+
* Disables scrolling of the modal body if the content exceeds the height.
|
|
22868
|
+
* Can be required for modals that have comboboxes where the menu items are expected
|
|
22869
|
+
* to overflow the bounds of the modal.
|
|
22870
|
+
*/
|
|
22871
|
+
disableBodyScroll?: boolean;
|
|
22850
22872
|
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
22851
22873
|
/**
|
|
22852
22874
|
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
@@ -22992,7 +23014,7 @@ declare function Pagination({ limit, offset, total, onPageChange, }: {
|
|
|
22992
23014
|
|
|
22993
23015
|
type CommonParameterProps = {
|
|
22994
23016
|
/** sets the label value */
|
|
22995
|
-
label: string;
|
|
23017
|
+
label: string | ReactNode;
|
|
22996
23018
|
/** (optional): allows user to pass a component before the label */
|
|
22997
23019
|
labelLeadingIcon?: ReactNode;
|
|
22998
23020
|
/** (optional): allows user to pass a component after the label */
|
|
@@ -23047,7 +23069,7 @@ type CommonParameterSelectProps = {
|
|
|
23047
23069
|
declare const ParameterShellContext: React$1.Context<CommonParameterProps>;
|
|
23048
23070
|
declare const useParameterShell: () => {
|
|
23049
23071
|
id: string;
|
|
23050
|
-
label:
|
|
23072
|
+
label: React$1.ReactNode;
|
|
23051
23073
|
hiddenLabel: boolean | undefined;
|
|
23052
23074
|
errorMessage: string | undefined;
|
|
23053
23075
|
handleManuallySetErrorMessage: ((message: string | undefined) => void) | undefined;
|
|
@@ -23401,7 +23423,7 @@ declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<Param
|
|
|
23401
23423
|
declare const extractParameterProps: <T>(props: T & CommonParameterInputProps) => {
|
|
23402
23424
|
shellProps: {
|
|
23403
23425
|
id: string;
|
|
23404
|
-
label:
|
|
23426
|
+
label: ReactNode;
|
|
23405
23427
|
caption: string | undefined;
|
|
23406
23428
|
captionTestId: string | undefined;
|
|
23407
23429
|
errorMessage: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -21109,6 +21109,11 @@ declare const allSupportedIcons: {
|
|
|
21109
21109
|
yinyang: _react_icons_all_files.IconType;
|
|
21110
21110
|
'zoom-in': _react_icons_all_files.IconType;
|
|
21111
21111
|
'zoom-out': _react_icons_all_files.IconType;
|
|
21112
|
+
'device-mobile': _react_icons_all_files.IconType;
|
|
21113
|
+
'device-tablet': _react_icons_all_files.IconType;
|
|
21114
|
+
'device-tv': _react_icons_all_files.IconType;
|
|
21115
|
+
'device-ipad': _react_icons_all_files.IconType;
|
|
21116
|
+
'device-mobile-rotated': _react_icons_all_files.IconType;
|
|
21112
21117
|
};
|
|
21113
21118
|
|
|
21114
21119
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
@@ -21385,6 +21390,11 @@ type ChipProps = {
|
|
|
21385
21390
|
* @default 'span'
|
|
21386
21391
|
*/
|
|
21387
21392
|
as?: 'span' | 'button';
|
|
21393
|
+
/**
|
|
21394
|
+
* Whether the chip is visually disabled
|
|
21395
|
+
* @default false
|
|
21396
|
+
*/
|
|
21397
|
+
isDisabled?: boolean;
|
|
21388
21398
|
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
21389
21399
|
/**
|
|
21390
21400
|
* @description Chips are used in a variety of ways
|
|
@@ -21393,7 +21403,7 @@ type ChipProps = {
|
|
|
21393
21403
|
* To represent a different object, as a reference
|
|
21394
21404
|
* @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
|
|
21395
21405
|
*/
|
|
21396
|
-
declare const Chip: ({ icon, iconColor, text, size, theme, variant, chipAction, as, ...props }: ChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
21406
|
+
declare const Chip: ({ icon, iconColor, text, size, theme, variant, chipAction, isDisabled, as, ...props }: ChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
21397
21407
|
type DismissibleChipActionProps = {
|
|
21398
21408
|
onDismiss: () => void;
|
|
21399
21409
|
} & HTMLAttributes<HTMLButtonElement>;
|
|
@@ -21922,7 +21932,7 @@ declare const InfoMessage: ({ message, testId, icon, ...props }: InfoMessageProp
|
|
|
21922
21932
|
|
|
21923
21933
|
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21924
21934
|
/** (optional) sets the label value */
|
|
21925
|
-
label?: string;
|
|
21935
|
+
label?: string | React$1.ReactNode;
|
|
21926
21936
|
/** (optional) sets caption text value */
|
|
21927
21937
|
caption?: string | JSX.Element;
|
|
21928
21938
|
/** (optional) add an input icon to the input field */
|
|
@@ -21965,7 +21975,7 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21965
21975
|
*/
|
|
21966
21976
|
declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21967
21977
|
/** (optional) sets the label value */
|
|
21968
|
-
label?: string;
|
|
21978
|
+
label?: string | React$1.ReactNode;
|
|
21969
21979
|
/** (optional) sets caption text value */
|
|
21970
21980
|
caption?: string | JSX.Element;
|
|
21971
21981
|
/** (optional) add an input icon to the input field */
|
|
@@ -22758,6 +22768,9 @@ declare function MenuItemIcon({ icon }: {
|
|
|
22758
22768
|
*/
|
|
22759
22769
|
declare function MenuItemEmptyIcon(): _emotion_react_jsx_runtime.JSX.Element;
|
|
22760
22770
|
|
|
22771
|
+
/**
|
|
22772
|
+
* @deprecated this is deprecated and will be removed in the next major release. Use MenuGroup instead.
|
|
22773
|
+
*/
|
|
22761
22774
|
declare const MenuItemHeading: ({ children }: {
|
|
22762
22775
|
children: ReactNode;
|
|
22763
22776
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -22826,8 +22839,11 @@ declare const MediaCard: ({ title, subtitle, infoPopover, cover, menuItems, side
|
|
|
22826
22839
|
type ModalProps = {
|
|
22827
22840
|
header?: React__default.ReactNode;
|
|
22828
22841
|
children?: React__default.ReactNode;
|
|
22829
|
-
/**
|
|
22830
|
-
|
|
22842
|
+
/**
|
|
22843
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
22844
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
22845
|
+
*/
|
|
22846
|
+
onRequestClose: (() => void) | undefined;
|
|
22831
22847
|
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
22832
22848
|
* if a width attribute is used the size will be overridden by the width attribute
|
|
22833
22849
|
* @default 'lg'
|
|
@@ -22847,6 +22863,12 @@ type ModalProps = {
|
|
|
22847
22863
|
withoutContentBackground?: boolean;
|
|
22848
22864
|
/** Places buttons at the bottom of the modal */
|
|
22849
22865
|
buttonGroup?: ReactNode;
|
|
22866
|
+
/**
|
|
22867
|
+
* Disables scrolling of the modal body if the content exceeds the height.
|
|
22868
|
+
* Can be required for modals that have comboboxes where the menu items are expected
|
|
22869
|
+
* to overflow the bounds of the modal.
|
|
22870
|
+
*/
|
|
22871
|
+
disableBodyScroll?: boolean;
|
|
22850
22872
|
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
22851
22873
|
/**
|
|
22852
22874
|
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
@@ -22992,7 +23014,7 @@ declare function Pagination({ limit, offset, total, onPageChange, }: {
|
|
|
22992
23014
|
|
|
22993
23015
|
type CommonParameterProps = {
|
|
22994
23016
|
/** sets the label value */
|
|
22995
|
-
label: string;
|
|
23017
|
+
label: string | ReactNode;
|
|
22996
23018
|
/** (optional): allows user to pass a component before the label */
|
|
22997
23019
|
labelLeadingIcon?: ReactNode;
|
|
22998
23020
|
/** (optional): allows user to pass a component after the label */
|
|
@@ -23047,7 +23069,7 @@ type CommonParameterSelectProps = {
|
|
|
23047
23069
|
declare const ParameterShellContext: React$1.Context<CommonParameterProps>;
|
|
23048
23070
|
declare const useParameterShell: () => {
|
|
23049
23071
|
id: string;
|
|
23050
|
-
label:
|
|
23072
|
+
label: React$1.ReactNode;
|
|
23051
23073
|
hiddenLabel: boolean | undefined;
|
|
23052
23074
|
errorMessage: string | undefined;
|
|
23053
23075
|
handleManuallySetErrorMessage: ((message: string | undefined) => void) | undefined;
|
|
@@ -23401,7 +23423,7 @@ declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<Param
|
|
|
23401
23423
|
declare const extractParameterProps: <T>(props: T & CommonParameterInputProps) => {
|
|
23402
23424
|
shellProps: {
|
|
23403
23425
|
id: string;
|
|
23404
|
-
label:
|
|
23426
|
+
label: ReactNode;
|
|
23405
23427
|
caption: string | undefined;
|
|
23406
23428
|
captionTestId: string | undefined;
|
|
23407
23429
|
errorMessage: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var importedIcons_exports = {};
|
|
|
45
45
|
__export(importedIcons_exports, {
|
|
46
46
|
importedIcons: () => importedIcons
|
|
47
47
|
});
|
|
48
|
-
var import_CgAdd, import_CgAddR, import_CgAirplane, import_CgAlarm, import_CgAlbum, import_CgAlignBottom, import_CgAlignCenter, import_CgAlignLeft, import_CgAlignMiddle, import_CgAlignRight, import_CgAlignTop, import_CgAnchor, import_CgAppleWatch, import_CgArrangeBack, import_CgArrangeFront, import_CgArrowAlignH, import_CgArrowAlignV, import_CgArrowBottomLeft, import_CgArrowBottomLeftO, import_CgArrowBottomLeftR, import_CgArrowBottomRight, import_CgArrowBottomRightO, import_CgArrowBottomRightR, import_CgArrowDown, import_CgArrowDownO, import_CgArrowDownR, import_CgArrowLeft, import_CgArrowLeftO, import_CgArrowLeftR, import_CgArrowLongDown, import_CgArrowLongDownC, import_CgArrowLongDownE, import_CgArrowLongDownL, import_CgArrowLongDownR, import_CgArrowLongLeft, import_CgArrowLongLeftC, import_CgArrowLongLeftE, import_CgArrowLongLeftL, import_CgArrowLongLeftR, import_CgArrowLongRight, import_CgArrowLongRightC, import_CgArrowLongRightE, import_CgArrowLongRightL, import_CgArrowLongRightR, import_CgArrowLongUp, import_CgArrowLongUpC, import_CgArrowLongUpE, import_CgArrowLongUpL, import_CgArrowLongUpR, import_CgArrowRight, import_CgArrowRightO, import_CgArrowRightR, import_CgArrowsBreakeH, import_CgArrowsBreakeV, import_CgArrowsExchange, import_CgArrowsExchangeAlt, import_CgArrowsExchangeAltV, import_CgArrowsExchangeV, import_CgArrowsExpandDownLeft, import_CgArrowsExpandDownRight, import_CgArrowsExpandLeft, import_CgArrowsExpandLeftAlt, import_CgArrowsExpandRight, import_CgArrowsExpandRightAlt, import_CgArrowsExpandUpLeft, import_CgArrowsExpandUpRight, import_CgArrowsH, import_CgArrowsHAlt, import_CgArrowsMergeAltH, import_CgArrowsMergeAltV, import_CgArrowsScrollH, import_CgArrowsScrollV, import_CgArrowsShrinkH, import_CgArrowsShrinkV, import_CgArrowsV, import_CgArrowsVAlt, import_CgArrowTopLeft, import_CgArrowTopLeftO, import_CgArrowTopLeftR, import_CgArrowTopRight, import_CgArrowTopRightO, import_CgArrowTopRightR, import_CgArrowUp, import_CgArrowUpO, import_CgArrowUpR, import_CgAssign, import_CgAsterisk, import_CgAttachment, import_CgAttribution, import_CgAwards, import_CgBackspace, import_CgBandAid, import_CgBattery, import_CgBatteryEmpty, import_CgBatteryFull, import_CgBee, import_CgBell, import_CgBitbucket, import_CgBlock, import_CgBoard, import_CgBolt, import_CgBookmark, import_CgBorderAll, import_CgBorderBottom, import_CgBorderLeft, import_CgBorderRight, import_CgBorderStyleDashed, import_CgBorderStyleDotted, import_CgBorderStyleSolid, import_CgBot, import_CgBowl, import_CgBox, import_CgBoy, import_CgBriefcase, import_CgBrowse, import_CgBrowser, import_CgBrush, import_CgBulb, import_CgCalculator, import_CgCalendar, import_CgCalendarDates, import_CgCalendarDue, import_CgCalendarNext, import_CgCalendarToday, import_CgCalendarTwo, import_CgCalibrate, import_CgCamera, import_CgCap, import_CgCaptions, import_CgCardClubs, import_CgCardDiamonds, import_CgCardHearts, import_CgCardSpades, import_CgCarousel, import_CgCast, import_CgChart, import_CgCheck, import_CgCheckO, import_CgCheckR, import_CgChevronDoubleDown, import_CgChevronDoubleDownO, import_CgChevronDoubleDownR, import_CgChevronDoubleLeft, import_CgChevronDoubleLeftO, import_CgChevronDoubleLeftR, import_CgChevronDoubleRight, import_CgChevronDoubleRightO, import_CgChevronDoubleRightR, import_CgChevronDoubleUp, import_CgChevronDoubleUpO, import_CgChevronDoubleUpR, import_CgChevronDown, import_CgChevronDownO, import_CgChevronDownR, import_CgChevronLeft, import_CgChevronLeftO, import_CgChevronLeftR, import_CgChevronRight, import_CgChevronRightO, import_CgChevronRightR, import_CgChevronUp, import_CgChevronUpO, import_CgChevronUpR, import_CgClapperBoard, import_CgClipboard, import_CgClose, import_CgCloseO, import_CgCloseR, import_CgCloud, import_CgCode, import_CgCodeSlash, import_CgCoffee, import_CgCollage, import_CgColorBucket, import_CgColorPicker, import_CgComment, import_CgCommunity, import_CgComponents, import_CgCompress, import_CgCompressLeft, import_CgCompressRight, import_CgCompressV, import_CgController, import_CgCopy, import_CgCopyright, import_CgCornerDoubleDownLeft, import_CgCornerDoubleDownRight, import_CgCornerDoubleLeftDown, import_CgCornerDoubleLeftUp, import_CgCornerDoubleRightDown, import_CgCornerDoubleRightUp, import_CgCornerDoubleUpLeft, import_CgCornerDoubleUpRight, import_CgCornerDownLeft, import_CgCornerDownRight, import_CgCornerLeftDown, import_CgCornerLeftUp, import_CgCornerRightDown, import_CgCornerRightUp, import_CgCornerUpLeft, import_CgCornerUpRight, import_CgCPlusPlus, import_CgCreditCard, import_CgCrop, import_CgCross, import_CgCrown, import_CgDanger, import_CgDarkMode, import_CgData, import_CgDatabase, import_CgDebug, import_CgDesktop, import_CgDetailsLess, import_CgDetailsMore, import_CgDialpad, import_CgDice1, import_CgDice2, import_CgDice3, import_CgDice4, import_CgDice5, import_CgDice6, import_CgDisc, import_CgDisplayFlex, import_CgDisplayFullwidth, import_CgDisplayGrid, import_CgDisplaySpacing, import_CgDistributeHorizontal, import_CgDistributeVertical, import_CgDockBottom, import_CgDockLeft, import_CgDockRight, import_CgDockWindow, import_CgDollar, import_CgDrive, import_CgDrop, import_CgDropInvert, import_CgDropOpacity, import_CgDuplicate, import_CgEditBlackPoint, import_CgEditContrast, import_CgEditExposure, import_CgEditFade, import_CgEditFlipH, import_CgEditFlipV, import_CgEditHighlight, import_CgEditMarkup, import_CgEditMask, import_CgEditNoise, import_CgEditShadows, import_CgEditStraight, import_CgEditUnmask, import_CgEject, import_CgEnter, import_CgErase, import_CgEreader, import_CgEricsson, import_CgEthernet, import_CgEuro, import_CgExpand, import_CgExport, import_CgExtension, import_CgExtensionAdd, import_CgExtensionAlt, import_CgExtensionRemove, import_CgExternal, import_CgEye, import_CgEyeAlt, import_CgFeed, import_CgFile, import_CgFileAdd, import_CgFileDocument, import_CgFileRemove, import_CgFilm, import_CgFilters, import_CgFlag, import_CgFlagAlt, import_CgFolder, import_CgFolderAdd, import_CgFolderRemove, import_CgFontHeight, import_CgFontSpacing, import_CgFormatBold, import_CgFormatCenter, import_CgFormatColor, import_CgFormatHeading, import_CgFormatIndentDecrease, import_CgFormatIndentIncrease, import_CgFormatItalic, import_CgFormatJustify, import_CgFormatLeft, import_CgFormatLineHeight, import_CgFormatRight, import_CgFormatSeparator, import_CgFormatSlash, import_CgFormatStrike, import_CgFormatText, import_CgFormatUnderline, import_CgFormatUppercase, import_CgGames, import_CgGenderFemale, import_CgGenderMale, import_CgGhostCharacter, import_CgGift, import_CgGirl, import_CgGitBranch, import_CgGitCommit, import_CgGitFork, import_CgGitPull, import_CgGlass, import_CgGlassAlt, import_CgGlobe, import_CgGlobeAlt, import_CgGym, import_CgHashtag, import_CgHeadset, import_CgHeart, import_CgHome, import_CgHomeAlt, import_CgHomeScreen, import_CgIcecream, import_CgImage, import_CgImport, import_CgInbox, import_CgInfinity, import_CgInfo, import_CgInpicture, import_CgInsertAfter, import_CgInsertAfterO, import_CgInsertAfterR, import_CgInsertBefore, import_CgInsertBeforeO, import_CgInsertBeforeR, import_CgInsights, import_CgInternal, import_CgKey, import_CgKeyboard, import_CgKeyhole, import_CgLaptop, import_CgLayoutGrid, import_CgLayoutGridSmall, import_CgLayoutList, import_CgLayoutPin, import_CgLink, import_CgList, import_CgListTree, import_CgLivePhoto, import_CgLoadbar, import_CgLoadbarAlt, import_CgLoadbarDoc, import_CgLoadbarSound, import_CgLock, import_CgLockUnlock, import_CgLogIn, import_CgLogOff, import_CgLogOut, import_CgLoupe, import_CgMagnet, import_CgMail, import_CgMailForward, import_CgMailOpen, import_CgMailReply, import_CgMathDivide, import_CgMathEqual, import_CgMathMinus, import_CgMathPercent, import_CgMathPlus, import_CgMaximize, import_CgMaximizeAlt, import_CgMediaLive, import_CgMediaPodcast, import_CgMenu, import_CgMenuBoxed, import_CgMenuCake, import_CgMenuCheese, import_CgMenuGridO, import_CgMenuGridR, import_CgMenuHotdog, import_CgMenuLeft, import_CgMenuLeftAlt, import_CgMenuMotion, import_CgMenuOreos, import_CgMenuRight, import_CgMenuRightAlt, import_CgMenuRound, import_CgMergeHorizontal, import_CgMergeVertical, import_CgMic, import_CgMinimize, import_CgMinimizeAlt, import_CgMiniPlayer, import_CgModem, import_CgMoon, import_CgMore, import_CgMoreAlt, import_CgMoreO, import_CgMoreR, import_CgMoreVertical, import_CgMoreVerticalAlt, import_CgMoreVerticalO, import_CgMoreVerticalR, import_CgMouse, import_CgMoveDown, import_CgMoveLeft, import_CgMoveRight, import_CgMoveTask, import_CgMoveUp, import_CgMusic, import_CgMusicNote, import_CgMusicSpeaker, import_CgNametag, import_CgNotes, import_CgNotifications, import_CgOptions, import_CgOrganisation, import_CgPassword, import_CgPathBack, import_CgPathCrop, import_CgPathDivide, import_CgPathExclude, import_CgPathFront, import_CgPathIntersect, import_CgPathOutline, import_CgPathTrim, import_CgPathUnite, import_CgPen, import_CgPentagonBottomLeft, import_CgPentagonBottomRight, import_CgPentagonDown, import_CgPentagonLeft, import_CgPentagonRight, import_CgPentagonTopLeft, import_CgPentagonTopRight, import_CgPentagonUp, import_CgPerformance, import_CgPhone, import_CgPhotoscan, import_CgPiano, import_CgPill, import_CgPin, import_CgPinAlt, import_CgPinBottom, import_CgPinTop, import_CgPlayBackwards, import_CgPlayButton, import_CgPlayButtonO, import_CgPlayButtonR, import_CgPlayForwards, import_CgPlayList, import_CgPlayListAdd, import_CgPlayListCheck, import_CgPlayListRemove, import_CgPlayListSearch, import_CgPlayPause, import_CgPlayPauseO, import_CgPlayPauseR, import_CgPlayStop, import_CgPlayStopO, import_CgPlayStopR, import_CgPlayTrackNext, import_CgPlayTrackNextO, import_CgPlayTrackNextR, import_CgPlayTrackPrev, import_CgPlayTrackPrevO, import_CgPlayTrackPrevR, import_CgPlug, import_CgPolaroid, import_CgPoll, import_CgPresentation, import_CgPrinter, import_CgProfile, import_CgPullClear, import_CgPushChevronDown, import_CgPushChevronDownO, import_CgPushChevronDownR, import_CgPushChevronLeft, import_CgPushChevronLeftO, import_CgPushChevronLeftR, import_CgPushChevronRight, import_CgPushChevronRightO, import_CgPushChevronRightR, import_CgPushChevronUp, import_CgPushChevronUpO, import_CgPushChevronUpR, import_CgPushDown, import_CgPushLeft, import_CgPushRight, import_CgPushUp, import_CgQr, import_CgQuote, import_CgQuoteO, import_CgRadioCheck, import_CgRadioChecked, import_CgRatio, import_CgRead, import_CgReadme, import_CgRecord, import_CgRedo, import_CgRemote, import_CgRemove, import_CgRemoveR, import_CgRename, import_CgReorder, import_CgRepeat, import_CgRing, import_CgRowFirst, import_CgRowLast, import_CgRuler, import_CgSandClock, import_CgScan, import_CgScreen, import_CgScreenMirror, import_CgScreenShot, import_CgScreenWide, import_CgScrollH, import_CgScrollV, import_CgSearch, import_CgSearchFound, import_CgSearchLoading, import_CgSelect, import_CgSelectO, import_CgSelectR, import_CgServer, import_CgShapeCircle, import_CgShapeHalfCircle, import_CgShapeHexagon, import_CgShapeRhombus, import_CgShapeSquare, import_CgShapeTriangle, import_CgShapeZigzag, import_CgShare, import_CgShield, import_CgShoppingBag, import_CgShoppingCart, import_CgShortcut, import_CgSidebar, import_CgSidebarOpen, import_CgSidebarRight, import_CgSignal, import_CgSize, import_CgSleep, import_CgSmartHomeBoiler, import_CgSmartHomeCooker, import_CgSmartHomeHeat, import_CgSmartHomeLight, import_CgSmartHomeRefrigerator, import_CgSmartHomeWashMachine, import_CgSmartphone, import_CgSmartphoneChip, import_CgSmartphoneRam, import_CgSmartphoneShake, import_CgSmile, import_CgSmileMouthOpen, import_CgSmileNeutral, import_CgSmileNoMouth, import_CgSmileNone, import_CgSmileSad, import_CgSmileUpside, import_CgSoftwareDownload, import_CgSoftwareUpload, import_CgSortAz, import_CgSortZa, import_CgSpaceBetween, import_CgSpaceBetweenV, import_CgSpinner, import_CgSpinnerAlt, import_CgSpinnerTwo, import_CgSpinnerTwoAlt, import_CgStack, import_CgStopwatch, import_CgStories, import_CgStyle, import_CgSun, import_CgSupport, import_CgSwap, import_CgSwapVertical, import_CgSweden, import_CgSwiss, import_CgSync, import_CgTab, import_CgTag, import_CgTapDouble, import_CgTapSingle, import_CgTemplate, import_CgTennis, import_CgTerminal, import_CgTerrain, import_CgThermometer, import_CgThermostat, import_CgTikcode, import_CgTime, import_CgTimelapse, import_CgTimer, import_CgToday, import_CgToggleOff, import_CgToggleOn, import_CgToggleSquare, import_CgToggleSquareOff, import_CgToolbarBottom, import_CgToolbarLeft, import_CgToolbarRight, import_CgToolbarTop, import_CgToolbox, import_CgTouchpad, import_CgTrack, import_CgTranscript, import_CgTrash, import_CgTrashEmpty, import_CgTree, import_CgTrees, import_CgTrending, import_CgTrendingDown, import_CgTrophy, import_CgTv, import_CgUiKit, import_CgUmbrella, import_CgUnavailable, import_CgUnblock, import_CgUndo, import_CgUnsplash, import_CgUsb, import_CgUsbC, import_CgUser, import_CgUserAdd, import_CgUserList, import_CgUserRemove, import_CgViewCols, import_CgViewComfortable, import_CgViewDay, import_CgViewGrid, import_CgViewList, import_CgViewMonth, import_CgViewSplit, import_CgVinyl, import_CgVoicemail, import_CgVoicemailO, import_CgVoicemailR, import_CgVolume, import_CgWebcam, import_CgWebsite, import_CgWorkAlt, import_CgYinyang, import_CgZoomIn, import_CgZoomOut, import_MdCopyAll, importedIcons;
|
|
48
|
+
var import_CgAdd, import_CgAddR, import_CgAirplane, import_CgAlarm, import_CgAlbum, import_CgAlignBottom, import_CgAlignCenter, import_CgAlignLeft, import_CgAlignMiddle, import_CgAlignRight, import_CgAlignTop, import_CgAnchor, import_CgAppleWatch, import_CgArrangeBack, import_CgArrangeFront, import_CgArrowAlignH, import_CgArrowAlignV, import_CgArrowBottomLeft, import_CgArrowBottomLeftO, import_CgArrowBottomLeftR, import_CgArrowBottomRight, import_CgArrowBottomRightO, import_CgArrowBottomRightR, import_CgArrowDown, import_CgArrowDownO, import_CgArrowDownR, import_CgArrowLeft, import_CgArrowLeftO, import_CgArrowLeftR, import_CgArrowLongDown, import_CgArrowLongDownC, import_CgArrowLongDownE, import_CgArrowLongDownL, import_CgArrowLongDownR, import_CgArrowLongLeft, import_CgArrowLongLeftC, import_CgArrowLongLeftE, import_CgArrowLongLeftL, import_CgArrowLongLeftR, import_CgArrowLongRight, import_CgArrowLongRightC, import_CgArrowLongRightE, import_CgArrowLongRightL, import_CgArrowLongRightR, import_CgArrowLongUp, import_CgArrowLongUpC, import_CgArrowLongUpE, import_CgArrowLongUpL, import_CgArrowLongUpR, import_CgArrowRight, import_CgArrowRightO, import_CgArrowRightR, import_CgArrowsBreakeH, import_CgArrowsBreakeV, import_CgArrowsExchange, import_CgArrowsExchangeAlt, import_CgArrowsExchangeAltV, import_CgArrowsExchangeV, import_CgArrowsExpandDownLeft, import_CgArrowsExpandDownRight, import_CgArrowsExpandLeft, import_CgArrowsExpandLeftAlt, import_CgArrowsExpandRight, import_CgArrowsExpandRightAlt, import_CgArrowsExpandUpLeft, import_CgArrowsExpandUpRight, import_CgArrowsH, import_CgArrowsHAlt, import_CgArrowsMergeAltH, import_CgArrowsMergeAltV, import_CgArrowsScrollH, import_CgArrowsScrollV, import_CgArrowsShrinkH, import_CgArrowsShrinkV, import_CgArrowsV, import_CgArrowsVAlt, import_CgArrowTopLeft, import_CgArrowTopLeftO, import_CgArrowTopLeftR, import_CgArrowTopRight, import_CgArrowTopRightO, import_CgArrowTopRightR, import_CgArrowUp, import_CgArrowUpO, import_CgArrowUpR, import_CgAssign, import_CgAsterisk, import_CgAttachment, import_CgAttribution, import_CgAwards, import_CgBackspace, import_CgBandAid, import_CgBattery, import_CgBatteryEmpty, import_CgBatteryFull, import_CgBee, import_CgBell, import_CgBitbucket, import_CgBlock, import_CgBoard, import_CgBolt, import_CgBookmark, import_CgBorderAll, import_CgBorderBottom, import_CgBorderLeft, import_CgBorderRight, import_CgBorderStyleDashed, import_CgBorderStyleDotted, import_CgBorderStyleSolid, import_CgBot, import_CgBowl, import_CgBox, import_CgBoy, import_CgBriefcase, import_CgBrowse, import_CgBrowser, import_CgBrush, import_CgBulb, import_CgCalculator, import_CgCalendar, import_CgCalendarDates, import_CgCalendarDue, import_CgCalendarNext, import_CgCalendarToday, import_CgCalendarTwo, import_CgCalibrate, import_CgCamera, import_CgCap, import_CgCaptions, import_CgCardClubs, import_CgCardDiamonds, import_CgCardHearts, import_CgCardSpades, import_CgCarousel, import_CgCast, import_CgChart, import_CgCheck, import_CgCheckO, import_CgCheckR, import_CgChevronDoubleDown, import_CgChevronDoubleDownO, import_CgChevronDoubleDownR, import_CgChevronDoubleLeft, import_CgChevronDoubleLeftO, import_CgChevronDoubleLeftR, import_CgChevronDoubleRight, import_CgChevronDoubleRightO, import_CgChevronDoubleRightR, import_CgChevronDoubleUp, import_CgChevronDoubleUpO, import_CgChevronDoubleUpR, import_CgChevronDown, import_CgChevronDownO, import_CgChevronDownR, import_CgChevronLeft, import_CgChevronLeftO, import_CgChevronLeftR, import_CgChevronRight, import_CgChevronRightO, import_CgChevronRightR, import_CgChevronUp, import_CgChevronUpO, import_CgChevronUpR, import_CgClapperBoard, import_CgClipboard, import_CgClose, import_CgCloseO, import_CgCloseR, import_CgCloud, import_CgCode, import_CgCodeSlash, import_CgCoffee, import_CgCollage, import_CgColorBucket, import_CgColorPicker, import_CgComment, import_CgCommunity, import_CgComponents, import_CgCompress, import_CgCompressLeft, import_CgCompressRight, import_CgCompressV, import_CgController, import_CgCopy, import_CgCopyright, import_CgCornerDoubleDownLeft, import_CgCornerDoubleDownRight, import_CgCornerDoubleLeftDown, import_CgCornerDoubleLeftUp, import_CgCornerDoubleRightDown, import_CgCornerDoubleRightUp, import_CgCornerDoubleUpLeft, import_CgCornerDoubleUpRight, import_CgCornerDownLeft, import_CgCornerDownRight, import_CgCornerLeftDown, import_CgCornerLeftUp, import_CgCornerRightDown, import_CgCornerRightUp, import_CgCornerUpLeft, import_CgCornerUpRight, import_CgCPlusPlus, import_CgCreditCard, import_CgCrop, import_CgCross, import_CgCrown, import_CgDanger, import_CgDarkMode, import_CgData, import_CgDatabase, import_CgDebug, import_CgDesktop, import_CgDetailsLess, import_CgDetailsMore, import_CgDialpad, import_CgDice1, import_CgDice2, import_CgDice3, import_CgDice4, import_CgDice5, import_CgDice6, import_CgDisc, import_CgDisplayFlex, import_CgDisplayFullwidth, import_CgDisplayGrid, import_CgDisplaySpacing, import_CgDistributeHorizontal, import_CgDistributeVertical, import_CgDockBottom, import_CgDockLeft, import_CgDockRight, import_CgDockWindow, import_CgDollar, import_CgDrive, import_CgDrop, import_CgDropInvert, import_CgDropOpacity, import_CgDuplicate, import_CgEditBlackPoint, import_CgEditContrast, import_CgEditExposure, import_CgEditFade, import_CgEditFlipH, import_CgEditFlipV, import_CgEditHighlight, import_CgEditMarkup, import_CgEditMask, import_CgEditNoise, import_CgEditShadows, import_CgEditStraight, import_CgEditUnmask, import_CgEject, import_CgEnter, import_CgErase, import_CgEreader, import_CgEricsson, import_CgEthernet, import_CgEuro, import_CgExpand, import_CgExport, import_CgExtension, import_CgExtensionAdd, import_CgExtensionAlt, import_CgExtensionRemove, import_CgExternal, import_CgEye, import_CgEyeAlt, import_CgFeed, import_CgFile, import_CgFileAdd, import_CgFileDocument, import_CgFileRemove, import_CgFilm, import_CgFilters, import_CgFlag, import_CgFlagAlt, import_CgFolder, import_CgFolderAdd, import_CgFolderRemove, import_CgFontHeight, import_CgFontSpacing, import_CgFormatBold, import_CgFormatCenter, import_CgFormatColor, import_CgFormatHeading, import_CgFormatIndentDecrease, import_CgFormatIndentIncrease, import_CgFormatItalic, import_CgFormatJustify, import_CgFormatLeft, import_CgFormatLineHeight, import_CgFormatRight, import_CgFormatSeparator, import_CgFormatSlash, import_CgFormatStrike, import_CgFormatText, import_CgFormatUnderline, import_CgFormatUppercase, import_CgGames, import_CgGenderFemale, import_CgGenderMale, import_CgGhostCharacter, import_CgGift, import_CgGirl, import_CgGitBranch, import_CgGitCommit, import_CgGitFork, import_CgGitPull, import_CgGlass, import_CgGlassAlt, import_CgGlobe, import_CgGlobeAlt, import_CgGym, import_CgHashtag, import_CgHeadset, import_CgHeart, import_CgHome, import_CgHomeAlt, import_CgHomeScreen, import_CgIcecream, import_CgImage, import_CgImport, import_CgInbox, import_CgInfinity, import_CgInfo, import_CgInpicture, import_CgInsertAfter, import_CgInsertAfterO, import_CgInsertAfterR, import_CgInsertBefore, import_CgInsertBeforeO, import_CgInsertBeforeR, import_CgInsights, import_CgInternal, import_CgKey, import_CgKeyboard, import_CgKeyhole, import_CgLaptop, import_CgLayoutGrid, import_CgLayoutGridSmall, import_CgLayoutList, import_CgLayoutPin, import_CgLink, import_CgList, import_CgListTree, import_CgLivePhoto, import_CgLoadbar, import_CgLoadbarAlt, import_CgLoadbarDoc, import_CgLoadbarSound, import_CgLock, import_CgLockUnlock, import_CgLogIn, import_CgLogOff, import_CgLogOut, import_CgLoupe, import_CgMagnet, import_CgMail, import_CgMailForward, import_CgMailOpen, import_CgMailReply, import_CgMathDivide, import_CgMathEqual, import_CgMathMinus, import_CgMathPercent, import_CgMathPlus, import_CgMaximize, import_CgMaximizeAlt, import_CgMediaLive, import_CgMediaPodcast, import_CgMenu, import_CgMenuBoxed, import_CgMenuCake, import_CgMenuCheese, import_CgMenuGridO, import_CgMenuGridR, import_CgMenuHotdog, import_CgMenuLeft, import_CgMenuLeftAlt, import_CgMenuMotion, import_CgMenuOreos, import_CgMenuRight, import_CgMenuRightAlt, import_CgMenuRound, import_CgMergeHorizontal, import_CgMergeVertical, import_CgMic, import_CgMinimize, import_CgMinimizeAlt, import_CgMiniPlayer, import_CgModem, import_CgMoon, import_CgMore, import_CgMoreAlt, import_CgMoreO, import_CgMoreR, import_CgMoreVertical, import_CgMoreVerticalAlt, import_CgMoreVerticalO, import_CgMoreVerticalR, import_CgMouse, import_CgMoveDown, import_CgMoveLeft, import_CgMoveRight, import_CgMoveTask, import_CgMoveUp, import_CgMusic, import_CgMusicNote, import_CgMusicSpeaker, import_CgNametag, import_CgNotes, import_CgNotifications, import_CgOptions, import_CgOrganisation, import_CgPassword, import_CgPathBack, import_CgPathCrop, import_CgPathDivide, import_CgPathExclude, import_CgPathFront, import_CgPathIntersect, import_CgPathOutline, import_CgPathTrim, import_CgPathUnite, import_CgPen, import_CgPentagonBottomLeft, import_CgPentagonBottomRight, import_CgPentagonDown, import_CgPentagonLeft, import_CgPentagonRight, import_CgPentagonTopLeft, import_CgPentagonTopRight, import_CgPentagonUp, import_CgPerformance, import_CgPhone, import_CgPhotoscan, import_CgPiano, import_CgPill, import_CgPin, import_CgPinAlt, import_CgPinBottom, import_CgPinTop, import_CgPlayBackwards, import_CgPlayButton, import_CgPlayButtonO, import_CgPlayButtonR, import_CgPlayForwards, import_CgPlayList, import_CgPlayListAdd, import_CgPlayListCheck, import_CgPlayListRemove, import_CgPlayListSearch, import_CgPlayPause, import_CgPlayPauseO, import_CgPlayPauseR, import_CgPlayStop, import_CgPlayStopO, import_CgPlayStopR, import_CgPlayTrackNext, import_CgPlayTrackNextO, import_CgPlayTrackNextR, import_CgPlayTrackPrev, import_CgPlayTrackPrevO, import_CgPlayTrackPrevR, import_CgPlug, import_CgPolaroid, import_CgPoll, import_CgPresentation, import_CgPrinter, import_CgProfile, import_CgPullClear, import_CgPushChevronDown, import_CgPushChevronDownO, import_CgPushChevronDownR, import_CgPushChevronLeft, import_CgPushChevronLeftO, import_CgPushChevronLeftR, import_CgPushChevronRight, import_CgPushChevronRightO, import_CgPushChevronRightR, import_CgPushChevronUp, import_CgPushChevronUpO, import_CgPushChevronUpR, import_CgPushDown, import_CgPushLeft, import_CgPushRight, import_CgPushUp, import_CgQr, import_CgQuote, import_CgQuoteO, import_CgRadioCheck, import_CgRadioChecked, import_CgRatio, import_CgRead, import_CgReadme, import_CgRecord, import_CgRedo, import_CgRemote, import_CgRemove, import_CgRemoveR, import_CgRename, import_CgReorder, import_CgRepeat, import_CgRing, import_CgRowFirst, import_CgRowLast, import_CgRuler, import_CgSandClock, import_CgScan, import_CgScreen, import_CgScreenMirror, import_CgScreenShot, import_CgScreenWide, import_CgScrollH, import_CgScrollV, import_CgSearch, import_CgSearchFound, import_CgSearchLoading, import_CgSelect, import_CgSelectO, import_CgSelectR, import_CgServer, import_CgShapeCircle, import_CgShapeHalfCircle, import_CgShapeHexagon, import_CgShapeRhombus, import_CgShapeSquare, import_CgShapeTriangle, import_CgShapeZigzag, import_CgShare, import_CgShield, import_CgShoppingBag, import_CgShoppingCart, import_CgShortcut, import_CgSidebar, import_CgSidebarOpen, import_CgSidebarRight, import_CgSignal, import_CgSize, import_CgSleep, import_CgSmartHomeBoiler, import_CgSmartHomeCooker, import_CgSmartHomeHeat, import_CgSmartHomeLight, import_CgSmartHomeRefrigerator, import_CgSmartHomeWashMachine, import_CgSmartphone, import_CgSmartphoneChip, import_CgSmartphoneRam, import_CgSmartphoneShake, import_CgSmile, import_CgSmileMouthOpen, import_CgSmileNeutral, import_CgSmileNoMouth, import_CgSmileNone, import_CgSmileSad, import_CgSmileUpside, import_CgSoftwareDownload, import_CgSoftwareUpload, import_CgSortAz, import_CgSortZa, import_CgSpaceBetween, import_CgSpaceBetweenV, import_CgSpinner, import_CgSpinnerAlt, import_CgSpinnerTwo, import_CgSpinnerTwoAlt, import_CgStack, import_CgStopwatch, import_CgStories, import_CgStyle, import_CgSun, import_CgSupport, import_CgSwap, import_CgSwapVertical, import_CgSweden, import_CgSwiss, import_CgSync, import_CgTab, import_CgTag, import_CgTapDouble, import_CgTapSingle, import_CgTemplate, import_CgTennis, import_CgTerminal, import_CgTerrain, import_CgThermometer, import_CgThermostat, import_CgTikcode, import_CgTime, import_CgTimelapse, import_CgTimer, import_CgToday, import_CgToggleOff, import_CgToggleOn, import_CgToggleSquare, import_CgToggleSquareOff, import_CgToolbarBottom, import_CgToolbarLeft, import_CgToolbarRight, import_CgToolbarTop, import_CgToolbox, import_CgTouchpad, import_CgTrack, import_CgTranscript, import_CgTrash, import_CgTrashEmpty, import_CgTree, import_CgTrees, import_CgTrending, import_CgTrendingDown, import_CgTrophy, import_CgTv, import_CgUiKit, import_CgUmbrella, import_CgUnavailable, import_CgUnblock, import_CgUndo, import_CgUnsplash, import_CgUsb, import_CgUsbC, import_CgUser, import_CgUserAdd, import_CgUserList, import_CgUserRemove, import_CgViewCols, import_CgViewComfortable, import_CgViewDay, import_CgViewGrid, import_CgViewList, import_CgViewMonth, import_CgViewSplit, import_CgVinyl, import_CgVoicemail, import_CgVoicemailO, import_CgVoicemailR, import_CgVolume, import_CgWebcam, import_CgWebsite, import_CgWorkAlt, import_CgYinyang, import_CgZoomIn, import_CgZoomOut, import_MdCopyAll, import_TbDeviceIpad, import_TbDeviceMobile, import_TbDeviceMobileRotated, import_TbDeviceTablet, import_TbDeviceTv, importedIcons;
|
|
49
49
|
var init_importedIcons = __esm({
|
|
50
50
|
"src/components/Icons/importedIcons.ts"() {
|
|
51
51
|
"use strict";
|
|
@@ -694,6 +694,11 @@ var init_importedIcons = __esm({
|
|
|
694
694
|
import_CgZoomIn = require("@react-icons/all-files/cg/CgZoomIn");
|
|
695
695
|
import_CgZoomOut = require("@react-icons/all-files/cg/CgZoomOut");
|
|
696
696
|
import_MdCopyAll = require("@react-icons/all-files/md/MdCopyAll");
|
|
697
|
+
import_TbDeviceIpad = require("@react-icons/all-files/tb/TbDeviceIpad");
|
|
698
|
+
import_TbDeviceMobile = require("@react-icons/all-files/tb/TbDeviceMobile");
|
|
699
|
+
import_TbDeviceMobileRotated = require("@react-icons/all-files/tb/TbDeviceMobileRotated");
|
|
700
|
+
import_TbDeviceTablet = require("@react-icons/all-files/tb/TbDeviceTablet");
|
|
701
|
+
import_TbDeviceTv = require("@react-icons/all-files/tb/TbDeviceTv");
|
|
697
702
|
importedIcons = {
|
|
698
703
|
"add-r": import_CgAddR.CgAddR,
|
|
699
704
|
add: import_CgAdd.CgAdd,
|
|
@@ -1338,7 +1343,12 @@ var init_importedIcons = __esm({
|
|
|
1338
1343
|
"work-alt": import_CgWorkAlt.CgWorkAlt,
|
|
1339
1344
|
yinyang: import_CgYinyang.CgYinyang,
|
|
1340
1345
|
"zoom-in": import_CgZoomIn.CgZoomIn,
|
|
1341
|
-
"zoom-out": import_CgZoomOut.CgZoomOut
|
|
1346
|
+
"zoom-out": import_CgZoomOut.CgZoomOut,
|
|
1347
|
+
"device-mobile": import_TbDeviceMobile.TbDeviceMobile,
|
|
1348
|
+
"device-tablet": import_TbDeviceTablet.TbDeviceTablet,
|
|
1349
|
+
"device-tv": import_TbDeviceTv.TbDeviceTv,
|
|
1350
|
+
"device-ipad": import_TbDeviceIpad.TbDeviceIpad,
|
|
1351
|
+
"device-mobile-rotated": import_TbDeviceMobileRotated.TbDeviceMobileRotated
|
|
1342
1352
|
};
|
|
1343
1353
|
}
|
|
1344
1354
|
});
|
|
@@ -14002,6 +14012,7 @@ var buttonStyle = (bgColor) => import_react32.css`
|
|
|
14002
14012
|
background-color var(--duration-fast) var(--timing-ease-out),
|
|
14003
14013
|
outline var(--duration-fast) var(--timing-ease-out);
|
|
14004
14014
|
outline: 1px solid transparent;
|
|
14015
|
+
padding-left: var(--spacing-2xs);
|
|
14005
14016
|
|
|
14006
14017
|
&:hover {
|
|
14007
14018
|
outline-color: var(--gray-300);
|
|
@@ -14764,7 +14775,7 @@ var Input = React10.forwardRef(
|
|
|
14764
14775
|
errorMessage ? inputError : void 0,
|
|
14765
14776
|
icon ? inputWithIcon : ""
|
|
14766
14777
|
],
|
|
14767
|
-
"aria-label":
|
|
14778
|
+
"aria-label": showLabel || typeof label !== "string" ? void 0 : label,
|
|
14768
14779
|
className: typeof classNameControl === "string" ? classNameControl : "",
|
|
14769
14780
|
...props,
|
|
14770
14781
|
ref
|
|
@@ -15670,7 +15681,7 @@ var import_react58 = require("@emotion/react");
|
|
|
15670
15681
|
var buttonSizeBase = import_react58.css`
|
|
15671
15682
|
--icon-padding: var(--spacing-xs);
|
|
15672
15683
|
--svg-size: 1rem;
|
|
15673
|
-
--line-offset: -
|
|
15684
|
+
--line-offset: -1px;
|
|
15674
15685
|
font-size: var(--fs-sm);
|
|
15675
15686
|
|
|
15676
15687
|
button {
|
|
@@ -16917,6 +16928,9 @@ var ChipOutlined = import_react70.css`
|
|
|
16917
16928
|
border-color: var(--outline-color);
|
|
16918
16929
|
}
|
|
16919
16930
|
`;
|
|
16931
|
+
var ChipDisabled = import_react70.css`
|
|
16932
|
+
opacity: var(--opacity-50);
|
|
16933
|
+
`;
|
|
16920
16934
|
|
|
16921
16935
|
// src/components/Chip/Chip.tsx
|
|
16922
16936
|
var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
|
|
@@ -16936,6 +16950,7 @@ var Chip = ({
|
|
|
16936
16950
|
theme = "accent-light",
|
|
16937
16951
|
variant = "solid",
|
|
16938
16952
|
chipAction,
|
|
16953
|
+
isDisabled = false,
|
|
16939
16954
|
as = "span",
|
|
16940
16955
|
...props
|
|
16941
16956
|
}) => {
|
|
@@ -16952,7 +16967,8 @@ var Chip = ({
|
|
|
16952
16967
|
ChipContainer,
|
|
16953
16968
|
chipSize[size],
|
|
16954
16969
|
chipTheme[theme],
|
|
16955
|
-
variant === "outlined" ? ChipOutlined : void 0
|
|
16970
|
+
variant === "outlined" ? ChipOutlined : void 0,
|
|
16971
|
+
isDisabled ? ChipDisabled : void 0
|
|
16956
16972
|
],
|
|
16957
16973
|
...props,
|
|
16958
16974
|
children: [
|
|
@@ -20489,8 +20505,9 @@ var modalContentStyles = import_react118.css`
|
|
|
20489
20505
|
border-radius: var(--rounded-sm);
|
|
20490
20506
|
${scrollbarStyles}
|
|
20491
20507
|
`;
|
|
20492
|
-
var modalDialogWrapper = import_react118.css`
|
|
20493
|
-
|
|
20508
|
+
var modalDialogWrapper = (hasCloseButton) => import_react118.css`
|
|
20509
|
+
height: 100%;
|
|
20510
|
+
padding: ${hasCloseButton ? 0 : "var(--spacing-md)"} var(--spacing-lg) var(--spacing-md);
|
|
20494
20511
|
`;
|
|
20495
20512
|
var modalDialogInnerStyles = import_react118.css`
|
|
20496
20513
|
// we need to override the gap of the modalInnerStyles when using a modal dialog
|
|
@@ -20514,8 +20531,10 @@ var Modal = import_react120.default.forwardRef(
|
|
|
20514
20531
|
modalSize = "lg",
|
|
20515
20532
|
withoutContentPadding = false,
|
|
20516
20533
|
withoutContentBackground = false,
|
|
20534
|
+
disableBodyScroll = false,
|
|
20517
20535
|
...modalProps
|
|
20518
20536
|
}, ref) => {
|
|
20537
|
+
const mouseDownInsideModal = (0, import_react120.useRef)(false);
|
|
20519
20538
|
const dialogRef = (0, import_react120.useRef)(null);
|
|
20520
20539
|
const size = {
|
|
20521
20540
|
sm: modalSizeSmall,
|
|
@@ -20524,7 +20543,7 @@ var Modal = import_react120.default.forwardRef(
|
|
|
20524
20543
|
};
|
|
20525
20544
|
useShortcut({
|
|
20526
20545
|
handler: () => {
|
|
20527
|
-
onRequestClose();
|
|
20546
|
+
onRequestClose == null ? void 0 : onRequestClose();
|
|
20528
20547
|
},
|
|
20529
20548
|
shortcut: "escape"
|
|
20530
20549
|
});
|
|
@@ -20557,9 +20576,25 @@ var Modal = import_react120.default.forwardRef(
|
|
|
20557
20576
|
}
|
|
20558
20577
|
},
|
|
20559
20578
|
css: [modalStyles, !width ? size[modalSize] : void 0],
|
|
20560
|
-
style: {
|
|
20579
|
+
style: {
|
|
20580
|
+
width,
|
|
20581
|
+
height: height === "auto" ? "min-content" : height,
|
|
20582
|
+
// allows menus rendered in the PortalContext to overflow the modal contents
|
|
20583
|
+
// (internal scrolling of contents is handled on a child element)
|
|
20584
|
+
overflow: "visible"
|
|
20585
|
+
},
|
|
20561
20586
|
"data-testid": "side-dialog",
|
|
20562
|
-
onClick:
|
|
20587
|
+
onClick: () => {
|
|
20588
|
+
if (mouseDownInsideModal.current) {
|
|
20589
|
+
return;
|
|
20590
|
+
}
|
|
20591
|
+
onRequestClose == null ? void 0 : onRequestClose();
|
|
20592
|
+
},
|
|
20593
|
+
onMouseUp: () => {
|
|
20594
|
+
setTimeout(() => {
|
|
20595
|
+
mouseDownInsideModal.current = false;
|
|
20596
|
+
});
|
|
20597
|
+
},
|
|
20563
20598
|
onCancel: (e) => {
|
|
20564
20599
|
e.preventDefault();
|
|
20565
20600
|
},
|
|
@@ -20569,10 +20604,13 @@ var Modal = import_react120.default.forwardRef(
|
|
|
20569
20604
|
{
|
|
20570
20605
|
css: [modalInnerStyles, { height: height === "auto" ? "auto" : "100%" }],
|
|
20571
20606
|
onClick: (e) => e.stopPropagation(),
|
|
20607
|
+
onMouseDown: () => {
|
|
20608
|
+
mouseDownInsideModal.current = true;
|
|
20609
|
+
},
|
|
20572
20610
|
children: [
|
|
20573
|
-
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: modalHeaderStyles, children: [
|
|
20574
|
-
|
|
20575
|
-
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
20611
|
+
header2 || onRequestClose ? /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: modalHeaderStyles, children: [
|
|
20612
|
+
header2 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { css: modalHeaderHeaderStyles, children: header2 }) : null,
|
|
20613
|
+
onRequestClose ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
20576
20614
|
Button,
|
|
20577
20615
|
{
|
|
20578
20616
|
type: "button",
|
|
@@ -20583,15 +20621,16 @@ var Modal = import_react120.default.forwardRef(
|
|
|
20583
20621
|
"data-testid": "close-dialog",
|
|
20584
20622
|
children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "currentColor", size: 24 })
|
|
20585
20623
|
}
|
|
20586
|
-
)
|
|
20587
|
-
] }),
|
|
20624
|
+
) : null
|
|
20625
|
+
] }) : null,
|
|
20588
20626
|
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
20589
20627
|
"div",
|
|
20590
20628
|
{
|
|
20591
20629
|
css: [
|
|
20592
20630
|
modalContentStyles,
|
|
20593
|
-
|
|
20594
|
-
|
|
20631
|
+
withoutContentPadding ? { padding: 0 } : null,
|
|
20632
|
+
withoutContentBackground ? { background: "transparent" } : null,
|
|
20633
|
+
disableBodyScroll ? { overflow: "visible" } : null
|
|
20595
20634
|
],
|
|
20596
20635
|
children
|
|
20597
20636
|
}
|
|
@@ -20624,9 +20663,9 @@ var ModalDialog = (0, import_react121.forwardRef)(
|
|
|
20624
20663
|
withoutContentPadding: true,
|
|
20625
20664
|
css: modalDialogInnerStyles,
|
|
20626
20665
|
width: "",
|
|
20627
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(VerticalRhythm, { css: modalDialogWrapper, children: [
|
|
20666
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(VerticalRhythm, { css: modalDialogWrapper(Boolean(onRequestClose)), children: [
|
|
20628
20667
|
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: modalHeaderStyles, children: header2 }),
|
|
20629
|
-
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { children }),
|
|
20668
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: { flex: 1 }, children }),
|
|
20630
20669
|
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(HorizontalRhythm, { children: buttonGroup })
|
|
20631
20670
|
] })
|
|
20632
20671
|
}
|
|
@@ -21118,7 +21157,7 @@ var ObjectListItem2 = (props) => {
|
|
|
21118
21157
|
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(HorizontalRhythm, { gap: "xs", align: renderAs === "multi" ? "flex-start" : "center", children: header2 }),
|
|
21119
21158
|
renderAs === "multi" ? props.children : null
|
|
21120
21159
|
] }),
|
|
21121
|
-
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(HorizontalRhythm, { gap: "xs", align: "flex-start", children: rightSlot })
|
|
21160
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(HorizontalRhythm, { gap: "xs", align: renderAs === "multi" ? "flex-start" : "center", children: rightSlot })
|
|
21122
21161
|
] }),
|
|
21123
21162
|
menuItems ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(HorizontalRhythm, { gap: "0", align: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
21124
21163
|
Menu,
|
|
@@ -22058,7 +22097,7 @@ var ParameterImageInner = (0, import_react142.forwardRef)((props, ref) => {
|
|
|
22058
22097
|
type: "text",
|
|
22059
22098
|
id,
|
|
22060
22099
|
ref,
|
|
22061
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
22100
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
22062
22101
|
autoComplete: "off",
|
|
22063
22102
|
...props
|
|
22064
22103
|
}
|
|
@@ -22084,7 +22123,7 @@ var ParameterInputInner = (0, import_react143.forwardRef)(
|
|
|
22084
22123
|
css: input3,
|
|
22085
22124
|
id,
|
|
22086
22125
|
type: props.type || "text",
|
|
22087
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
22126
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
22088
22127
|
autoComplete: "off",
|
|
22089
22128
|
ref,
|
|
22090
22129
|
...props
|
|
@@ -22106,7 +22145,7 @@ var ParameterLink = (0, import_react144.forwardRef)(
|
|
|
22106
22145
|
"data-testid": "link-parameter-editor",
|
|
22107
22146
|
...shellProps,
|
|
22108
22147
|
label: innerProps.value ? shellProps.label : "",
|
|
22109
|
-
title: !innerProps.value ? shellProps.label : void 0,
|
|
22148
|
+
title: !innerProps.value && typeof shellProps.label === "string" ? shellProps.label : void 0,
|
|
22110
22149
|
children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
22111
22150
|
ParameterLinkInner,
|
|
22112
22151
|
{
|
|
@@ -22134,7 +22173,7 @@ var ParameterLinkInner = (0, import_react144.forwardRef)(
|
|
|
22134
22173
|
readOnly: Boolean(props.value),
|
|
22135
22174
|
id,
|
|
22136
22175
|
ref,
|
|
22137
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
22176
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
22138
22177
|
...props
|
|
22139
22178
|
}
|
|
22140
22179
|
),
|
|
@@ -22185,7 +22224,7 @@ var ParameterMultiSelectInner = (props) => {
|
|
|
22185
22224
|
isMulti: true,
|
|
22186
22225
|
isClearable: (_a = props.isClearable) != null ? _a : false,
|
|
22187
22226
|
id,
|
|
22188
|
-
"aria-label": label,
|
|
22227
|
+
"aria-label": typeof label === "string" ? label : void 0,
|
|
22189
22228
|
classNamePrefix: "parameter-multi-select-combobox",
|
|
22190
22229
|
styles: {
|
|
22191
22230
|
menuPortal: (base) => ({
|
|
@@ -25073,7 +25112,7 @@ var ParameterSelectInner = (0, import_react160.forwardRef)(
|
|
|
25073
25112
|
{
|
|
25074
25113
|
css: [input3, selectInput],
|
|
25075
25114
|
id,
|
|
25076
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
25115
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
25077
25116
|
ref,
|
|
25078
25117
|
...props,
|
|
25079
25118
|
children: [
|
|
@@ -25104,7 +25143,7 @@ var ParameterTextareaInner = (0, import_react161.forwardRef)(({ ...props }, ref)
|
|
|
25104
25143
|
css: [input3, textarea2],
|
|
25105
25144
|
id,
|
|
25106
25145
|
ref,
|
|
25107
|
-
"aria-label": hiddenLabel ? label : void 0,
|
|
25146
|
+
"aria-label": hiddenLabel && typeof label === "string" ? label : void 0,
|
|
25108
25147
|
...props
|
|
25109
25148
|
}
|
|
25110
25149
|
);
|
|
@@ -26072,16 +26111,15 @@ var StatusBullet = ({
|
|
|
26072
26111
|
Deleted: StatusDeleted
|
|
26073
26112
|
};
|
|
26074
26113
|
const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
|
|
26075
|
-
return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
26114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Tooltip, { title: message != null ? message : status, children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
26076
26115
|
"span",
|
|
26077
26116
|
{
|
|
26078
26117
|
role: "status",
|
|
26079
26118
|
css: [StatusBulletContainer, currentStateStyles[status], statusSize],
|
|
26080
|
-
title: message != null ? message : status,
|
|
26081
26119
|
...props,
|
|
26082
26120
|
children: hideText ? null : message ? message : status
|
|
26083
26121
|
}
|
|
26084
|
-
);
|
|
26122
|
+
) });
|
|
26085
26123
|
};
|
|
26086
26124
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26087
26125
|
0 && (module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.196.
|
|
3
|
+
"version": "19.196.1-alpha.15+4874ed22be",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@storybook/theming": "^8.3.3",
|
|
27
27
|
"@types/react": "18.3.3",
|
|
28
28
|
"@types/react-dom": "18.3.0",
|
|
29
|
-
"@uniformdev/canvas": "^19.196.
|
|
30
|
-
"@uniformdev/richtext": "^19.196.
|
|
29
|
+
"@uniformdev/canvas": "^19.196.1-alpha.15+4874ed22be",
|
|
30
|
+
"@uniformdev/richtext": "^19.196.1-alpha.15+4874ed22be",
|
|
31
31
|
"autoprefixer": "10.4.16",
|
|
32
32
|
"hygen": "6.2.11",
|
|
33
33
|
"postcss": "8.4.38",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "4874ed22be393553b6f6a204967e69bb3afb09c2"
|
|
83
83
|
}
|