@aivenio/aquarium 1.23.0 → 1.25.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/dist/_variables.scss +1 -1
- package/dist/_variables_timescale.scss +1 -1
- package/dist/atoms.cjs +247 -149
- package/dist/atoms.mjs +247 -149
- package/dist/src/atoms/Alert/Alert.d.ts +2 -2
- package/dist/src/atoms/Banner/Banner.d.ts +6 -6
- package/dist/src/atoms/Card/Card.d.ts +6 -6
- package/dist/src/atoms/Card/Card.js +1 -1
- package/dist/src/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/atoms/DataList/DataList.js +2 -2
- package/dist/src/atoms/Dialog/Dialog.d.ts +1 -1
- package/dist/src/atoms/DropdownMenu/DropdownMenu.d.ts +6 -5
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +6 -3
- package/dist/src/atoms/Modal/Modal.d.ts +3 -3
- package/dist/src/atoms/Navigation/Navigation.d.ts +1 -1
- package/dist/src/atoms/PageHeader/PageHeader.d.ts +4 -2
- package/dist/src/atoms/PageHeader/PageHeader.js +3 -3
- package/dist/src/atoms/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/src/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/src/atoms/Section/Section.d.ts +1 -1
- package/dist/src/atoms/Select/Select.d.ts +23 -23
- package/dist/src/atoms/Select/Select.js +3 -3
- package/dist/src/atoms/Stepper/Stepper.d.ts +2 -2
- package/dist/src/atoms/Switch/Switch.d.ts +1 -1
- package/dist/src/atoms/Table/Table.d.ts +4 -4
- package/dist/src/atoms/Table/Table.js +2 -2
- package/dist/src/atoms/Toast/Toast.d.ts +1 -1
- package/dist/src/atoms/Typography/Typography.d.ts +1 -1
- package/dist/src/atoms/Typography/Typography.js +7 -5
- package/dist/src/charts/BarChart/BarChart.d.ts +2 -2
- package/dist/src/charts/lib/utils.d.ts +1 -1
- package/dist/src/icons/loading.js +3 -3
- package/dist/src/js/resolveTheme.d.ts +4 -2
- package/dist/src/molecules/Alert/Alert.d.ts +2 -1
- package/dist/src/molecules/Alert/Alert.js +1 -1
- package/dist/src/molecules/Badge/Badge.d.ts +7 -2
- package/dist/src/molecules/Badge/Badge.js +8 -1
- package/dist/src/molecules/Banner/Banner.d.ts +2 -1
- package/dist/src/molecules/Banner/Banner.js +1 -1
- package/dist/src/molecules/Box/Box.d.ts +17 -17
- package/dist/src/molecules/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/src/molecules/Button/Button.d.ts +8 -8
- package/dist/src/molecules/Button/Button.js +4 -4
- package/dist/src/molecules/Card/Card.d.ts +11 -10
- package/dist/src/molecules/Card/Card.js +5 -3
- package/dist/src/molecules/Card/Compact.d.ts +2 -2
- package/dist/src/molecules/Card/Compact.js +5 -3
- package/dist/src/molecules/Carousel/Carousel.js +20 -12
- package/dist/src/molecules/Chip/Chip.d.ts +3 -3
- package/dist/src/molecules/Combobox/Combobox.d.ts +4 -4
- package/dist/src/molecules/Combobox/Combobox.js +1 -1
- package/dist/src/molecules/ControlLabel/ControlLabel.d.ts +1 -1
- package/dist/src/molecules/DataList/DataList.d.ts +2 -2
- package/dist/src/molecules/DataTable/DataTable.d.ts +2 -2
- package/dist/src/molecules/Dialog/Dialog.js +8 -6
- package/dist/src/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/molecules/Dropdown/Dropdown.js +3 -3
- package/dist/src/molecules/DropdownMenu/DropdownMenu.d.ts +10 -6
- package/dist/src/molecules/DropdownMenu/DropdownMenu.js +3 -3
- package/dist/src/molecules/Element/Element.d.ts +2 -2
- package/dist/src/molecules/EmptyState/EmptyState.d.ts +1 -1
- package/dist/src/molecules/Flexbox/Flexbox.d.ts +7 -7
- package/dist/src/molecules/Flexbox/FlexboxItem.d.ts +7 -7
- package/dist/src/molecules/Grid/Grid.d.ts +7 -7
- package/dist/src/molecules/Grid/GridItem.d.ts +7 -7
- package/dist/src/molecules/Input/Input.js +7 -5
- package/dist/src/molecules/LineClamp/LineClamp.d.ts +15 -15
- package/dist/src/molecules/ListItem/ListItem.js +5 -5
- package/dist/src/molecules/Modal/Modal.js +8 -6
- package/dist/src/molecules/MultiInput/InputChip.d.ts +2 -2
- package/dist/src/molecules/MultiInput/InputChip.js +2 -2
- package/dist/src/molecules/MultiInput/MultiInput.d.ts +5 -5
- package/dist/src/molecules/MultiInput/MultiInput.js +9 -5
- package/dist/src/molecules/MultiSelect/MultiSelect.d.ts +4 -4
- package/dist/src/molecules/MultiSelect/MultiSelect.js +6 -4
- package/dist/src/molecules/NativeSelect/NativeSelect.js +12 -8
- package/dist/src/molecules/Navigation/Navigation.d.ts +6 -2
- package/dist/src/molecules/Navigation/Navigation.js +6 -3
- package/dist/src/molecules/PageHeader/PageHeader.d.ts +44 -8
- package/dist/src/molecules/PageHeader/PageHeader.js +18 -6
- package/dist/src/molecules/Pagination/usePagination.d.ts +1 -1
- package/dist/src/molecules/Pagination/usePagination.js +1 -1
- package/dist/src/molecules/Popover/Popover.d.ts +2 -2
- package/dist/src/molecules/Popover/Popover.js +1 -1
- package/dist/src/molecules/PopoverDialog/PopoverDialog.d.ts +1 -1
- package/dist/src/molecules/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.d.ts +4 -3
- package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/src/molecules/Section/Section.d.ts +1 -1
- package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/dist/src/molecules/SegmentedControl/SegmentedControl.js +2 -2
- package/dist/src/molecules/Select/Select.d.ts +2 -2
- package/dist/src/molecules/Select/Select.js +5 -3
- package/dist/src/molecules/Stepper/Stepper.d.ts +1 -1
- package/dist/src/molecules/Switch/Switch.d.ts +1 -1
- package/dist/src/molecules/Tabs/Tabs.d.ts +13 -9
- package/dist/src/molecules/Tabs/Tabs.js +26 -17
- package/dist/src/molecules/TagLabel/TagLabel.d.ts +1 -1
- package/dist/src/molecules/Tailwindify/Tailwindify.d.ts +5 -5
- package/dist/src/molecules/Tailwindify/Tailwindify.js +7 -4
- package/dist/src/molecules/Template/Template.d.ts +1 -1
- package/dist/src/molecules/Textarea/Textarea.d.ts +3 -3
- package/dist/src/molecules/Timeline/Timeline.d.ts +3 -3
- package/dist/src/molecules/Toast/Toast.d.ts +7 -1
- package/dist/src/molecules/Toast/Toast.js +2 -2
- package/dist/src/molecules/Toast/Toast.spec.js +2 -2
- package/dist/src/molecules/Toast/types.d.ts +5 -5
- package/dist/src/molecules/Toast/types.js +1 -1
- package/dist/src/molecules/Tooltip/Tooltip.d.ts +1 -1
- package/dist/src/molecules/Tooltip/Tooltip.js +5 -3
- package/dist/src/molecules/Tooltip/useTooltipTriggerState.js +9 -5
- package/dist/src/molecules/Typography/Typography.d.ts +4 -4
- package/dist/src/molecules/Typography/Typography.js +9 -9
- package/dist/src/molecules/index.d.ts +2 -2
- package/dist/src/system.js +9 -5
- package/dist/src/utils/form/FormControl/FormControl.js +2 -2
- package/dist/src/utils/form/HelperText/HelperText.js +4 -4
- package/dist/src/utils/form/InputAdornment/InputAdornment.js +6 -6
- package/dist/src/utils/form/Label/Label.d.ts +3 -3
- package/dist/src/utils/form/Label/Label.js +12 -10
- package/dist/src/utils/object.d.ts +1 -1
- package/dist/src/utils/positioner.d.ts +1 -1
- package/dist/src/utils/table/types.d.ts +9 -9
- package/dist/src/utils/table/useTableSort.d.ts +1 -1
- package/dist/src/utils/table/utils.d.ts +1 -1
- package/dist/src/utils/tailwind.js +6 -4
- package/dist/src/utils/themeVariableSamples.d.ts +2 -0
- package/dist/src/utils/themeVariableSamples.js +146 -0
- package/dist/src/utils/useStyle.d.ts +3 -3
- package/dist/src/utils/useStyle.js +30 -22
- package/dist/system.cjs +90 -24
- package/dist/system.mjs +89 -24
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/ActionType.d.ts +1 -0
- package/dist/types/DimensionProps.d.ts +1 -1
- package/dist/types/designTokens.d.ts +2 -2
- package/dist/types/designTokens.js +6 -4
- package/dist/types/tailwind.d.ts +1 -1
- package/dist/types/utils.d.ts +5 -5
- package/package.json +11 -13
package/dist/atoms.mjs
CHANGED
@@ -2358,11 +2358,11 @@ var require_loading = __commonJS({
|
|
2358
2358
|
"src/icons/loading.js"(exports) {
|
2359
2359
|
"use strict";
|
2360
2360
|
var data = {
|
2361
|
-
"body": '<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="
|
2361
|
+
"body": '<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="2" transform="translate(1 1)"><circle cx="18" cy="18" r="18" stroke-opacity=".5"/><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" dur="1s" from="0 18 18" repeatCount="indefinite" to="360 18 18" type="rotate"/></path></g>',
|
2362
2362
|
"left": 0,
|
2363
2363
|
"top": 0,
|
2364
|
-
"width":
|
2365
|
-
"height":
|
2364
|
+
"width": 38,
|
2365
|
+
"height": 38
|
2366
2366
|
};
|
2367
2367
|
exports.__esModule = true;
|
2368
2368
|
exports.default = data;
|
@@ -6156,9 +6156,8 @@ function Tailwindify(Component) {
|
|
6156
6156
|
return React10.cloneElement(child, newProps);
|
6157
6157
|
});
|
6158
6158
|
return /* @__PURE__ */ React10.createElement(Component, __spreadValues({
|
6159
|
-
className
|
6160
|
-
|
6161
|
-
}, componentProps));
|
6159
|
+
className
|
6160
|
+
}, componentProps), childrenWithProps);
|
6162
6161
|
};
|
6163
6162
|
}
|
6164
6163
|
|
@@ -6987,119 +6986,216 @@ var DIALOG_ICONS_AND_COLORS = {
|
|
6987
6986
|
};
|
6988
6987
|
|
6989
6988
|
// src/atoms/DropdownMenu/DropdownMenu.tsx
|
6989
|
+
import React23 from "react";
|
6990
|
+
|
6991
|
+
// src/molecules/Badge/Badge.tsx
|
6990
6992
|
import React21 from "react";
|
6993
|
+
import omit from "lodash/omit";
|
6991
6994
|
|
6992
|
-
// src/molecules/
|
6995
|
+
// src/molecules/Skeleton/Skeleton.tsx
|
6993
6996
|
import React20 from "react";
|
6994
|
-
|
6997
|
+
import isNumber2 from "lodash/isNumber";
|
6998
|
+
import isUndefined7 from "lodash/isUndefined";
|
6999
|
+
var Skeleton = ({
|
7000
|
+
width,
|
7001
|
+
height,
|
7002
|
+
display = "block",
|
7003
|
+
className,
|
7004
|
+
animate = true,
|
7005
|
+
rounded = false
|
7006
|
+
}) => {
|
7007
|
+
const styles = {
|
7008
|
+
width: isNumber2(width) ? `${width}px` : width,
|
7009
|
+
height: isNumber2(height) ? `${height}px` : height
|
7010
|
+
};
|
7011
|
+
return /* @__PURE__ */ React20.createElement("div", {
|
7012
|
+
style: styles,
|
7013
|
+
className: classNames(
|
7014
|
+
"Aquarium-Skeleton",
|
7015
|
+
tw("bg-grey-5", {
|
7016
|
+
"h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]": isUndefined7(height),
|
7017
|
+
"rounded-full": rounded,
|
7018
|
+
"block": display === "block",
|
7019
|
+
"inline-block": display === "inline-block",
|
7020
|
+
"animate-pulse": animate
|
7021
|
+
}),
|
7022
|
+
className
|
7023
|
+
)
|
7024
|
+
});
|
7025
|
+
};
|
7026
|
+
|
7027
|
+
// src/molecules/Badge/Badge.tsx
|
7028
|
+
var isChipBadgeProps = (props) => "dense" in props;
|
7029
|
+
var createBadge = (type, displayName) => {
|
7030
|
+
const Component = (props) => {
|
7031
|
+
var _b;
|
7032
|
+
const _a = props, { kind = "filled", value, textClassname } = _a, rest = __objRest(_a, ["kind", "value", "textClassname"]);
|
7033
|
+
const valueStr = value.toString();
|
7034
|
+
const dense = isChipBadgeProps(props) ? (_b = props.dense) != null ? _b : false : false;
|
7035
|
+
return /* @__PURE__ */ React21.createElement("span", __spreadProps(__spreadValues({}, omit(rest, "dense")), {
|
7036
|
+
className: classNames(
|
7037
|
+
tw("inline-block text-center", {
|
7038
|
+
"rounded-full": type === "default" || type === "chip",
|
7039
|
+
"rounded": type === "tab",
|
7040
|
+
"border border-current": kind === "outlined",
|
7041
|
+
"bg-current": kind === "filled" && type !== "chip",
|
7042
|
+
"bg-white": type === "chip",
|
7043
|
+
"typography-caption-small leading-none py-1 px-2": !dense,
|
7044
|
+
"text-[8px]": dense,
|
7045
|
+
"px-1": dense && valueStr.length > 1,
|
7046
|
+
"px-[4px]": dense && valueStr.length === 1
|
7047
|
+
}),
|
7048
|
+
"Aquarium-Badge"
|
7049
|
+
)
|
7050
|
+
}), /* @__PURE__ */ React21.createElement("span", {
|
7051
|
+
className: classNames(
|
7052
|
+
textClassname,
|
7053
|
+
tw("inline-block", {
|
7054
|
+
"text-white": !textClassname && kind === "filled",
|
7055
|
+
"m-[1px]": kind === "filled"
|
7056
|
+
})
|
7057
|
+
)
|
7058
|
+
}, valueStr));
|
7059
|
+
};
|
7060
|
+
Component.displayName = displayName;
|
7061
|
+
Component.Skeleton = () => /* @__PURE__ */ React21.createElement(Skeleton, {
|
7062
|
+
height: 16,
|
7063
|
+
width: 16,
|
7064
|
+
display: "inline-block",
|
7065
|
+
className: tw(type === "tab" ? "rounded" : "rounded-full")
|
7066
|
+
});
|
7067
|
+
Component.Skeleton.displayName = `${displayName}.Skeleton`;
|
7068
|
+
return Component;
|
7069
|
+
};
|
7070
|
+
var NotificationBadge = ({
|
7071
|
+
children,
|
7072
|
+
top = "-2px",
|
7073
|
+
right = "-2px"
|
7074
|
+
}) => {
|
7075
|
+
return /* @__PURE__ */ React21.createElement("div", {
|
7076
|
+
className: tw("relative inline-flex")
|
7077
|
+
}, children, /* @__PURE__ */ React21.createElement("span", {
|
7078
|
+
style: { top, right },
|
7079
|
+
className: tw("absolute rounded-full w-[6px] h-[6px] bg-error-70")
|
7080
|
+
}));
|
7081
|
+
};
|
7082
|
+
var Badge = createBadge("default", "Badge");
|
7083
|
+
Badge.Notification = NotificationBadge;
|
7084
|
+
Badge.Notification.displayName = "Badge.Notification";
|
7085
|
+
var TabBadge = createBadge("tab", "TabBadge");
|
7086
|
+
var ChipBadge = createBadge("chip", "ChipBadge");
|
7087
|
+
|
7088
|
+
// src/molecules/Typography/Typography.tsx
|
7089
|
+
import React22 from "react";
|
7090
|
+
var Typography2 = (props) => /* @__PURE__ */ React22.createElement(Typography, __spreadValues({}, props));
|
6995
7091
|
Typography2.LargeHeading = (_a) => {
|
6996
7092
|
var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6997
|
-
return /* @__PURE__ */
|
7093
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6998
7094
|
htmlTag,
|
6999
7095
|
variant: "large-heading"
|
7000
7096
|
}));
|
7001
7097
|
};
|
7002
7098
|
Typography2.Heading = (_a) => {
|
7003
7099
|
var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
7004
|
-
return /* @__PURE__ */
|
7100
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7005
7101
|
htmlTag,
|
7006
7102
|
variant: "heading"
|
7007
7103
|
}));
|
7008
7104
|
};
|
7009
7105
|
Typography2.Subheading = (_a) => {
|
7010
7106
|
var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
7011
|
-
return /* @__PURE__ */
|
7107
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7012
7108
|
htmlTag,
|
7013
7109
|
variant: "subheading"
|
7014
7110
|
}));
|
7015
7111
|
};
|
7016
7112
|
Typography2.LargeStrong = (_a) => {
|
7017
7113
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7018
|
-
return /* @__PURE__ */
|
7114
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7019
7115
|
htmlTag,
|
7020
7116
|
variant: "large-strong"
|
7021
7117
|
}));
|
7022
7118
|
};
|
7023
7119
|
Typography2.Large = (_a) => {
|
7024
7120
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7025
|
-
return /* @__PURE__ */
|
7121
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7026
7122
|
htmlTag,
|
7027
7123
|
variant: "large"
|
7028
7124
|
}));
|
7029
7125
|
};
|
7030
7126
|
Typography2.DefaultStrong = (_a) => {
|
7031
7127
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7032
|
-
return /* @__PURE__ */
|
7128
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7033
7129
|
htmlTag,
|
7034
7130
|
variant: "default-strong"
|
7035
7131
|
}));
|
7036
7132
|
};
|
7037
7133
|
Typography2.Default = (_a) => {
|
7038
7134
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7039
|
-
return /* @__PURE__ */
|
7135
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7040
7136
|
htmlTag,
|
7041
7137
|
variant: "default"
|
7042
7138
|
}));
|
7043
7139
|
};
|
7044
7140
|
Typography2.Paragraph = (_a) => {
|
7045
7141
|
var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
7046
|
-
return /* @__PURE__ */
|
7142
|
+
return /* @__PURE__ */ React22.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
|
7047
7143
|
htmlTag
|
7048
7144
|
}));
|
7049
7145
|
};
|
7050
7146
|
Typography2.P = Typography2.Paragraph;
|
7051
7147
|
Typography2.SmallStrong = (_a) => {
|
7052
7148
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7053
|
-
return /* @__PURE__ */
|
7149
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7054
7150
|
htmlTag,
|
7055
7151
|
variant: "small-strong"
|
7056
7152
|
}));
|
7057
7153
|
};
|
7058
7154
|
Typography2.Small = (_a) => {
|
7059
7155
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7060
|
-
return /* @__PURE__ */
|
7156
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7061
7157
|
htmlTag,
|
7062
7158
|
variant: "small"
|
7063
7159
|
}));
|
7064
7160
|
};
|
7065
7161
|
Typography2.Caption = (_a) => {
|
7066
7162
|
var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
7067
|
-
return /* @__PURE__ */
|
7163
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7068
7164
|
htmlTag,
|
7069
7165
|
variant: "caption"
|
7070
7166
|
}));
|
7071
7167
|
};
|
7072
7168
|
Typography2.LargeText = (_a) => {
|
7073
7169
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7074
|
-
return /* @__PURE__ */
|
7170
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7075
7171
|
htmlTag,
|
7076
7172
|
variant: "large-strong"
|
7077
7173
|
}));
|
7078
7174
|
};
|
7079
7175
|
Typography2.MediumText = (_a) => {
|
7080
7176
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7081
|
-
return /* @__PURE__ */
|
7177
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7082
7178
|
htmlTag,
|
7083
7179
|
variant: "default-strong"
|
7084
7180
|
}));
|
7085
7181
|
};
|
7086
7182
|
Typography2.Text = (_a) => {
|
7087
7183
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7088
|
-
return /* @__PURE__ */
|
7184
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7089
7185
|
htmlTag,
|
7090
7186
|
variant: "default"
|
7091
7187
|
}));
|
7092
7188
|
};
|
7093
7189
|
Typography2.SmallText = (_a) => {
|
7094
7190
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7095
|
-
return /* @__PURE__ */
|
7191
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7096
7192
|
htmlTag,
|
7097
7193
|
variant: "small"
|
7098
7194
|
}));
|
7099
7195
|
};
|
7100
7196
|
Typography2.SmallTextBold = (_a) => {
|
7101
7197
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7102
|
-
return /* @__PURE__ */
|
7198
|
+
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7103
7199
|
htmlTag,
|
7104
7200
|
variant: "small-strong"
|
7105
7201
|
}));
|
@@ -7107,36 +7203,36 @@ Typography2.SmallTextBold = (_a) => {
|
|
7107
7203
|
|
7108
7204
|
// src/atoms/DropdownMenu/DropdownMenu.tsx
|
7109
7205
|
var import_tick3 = __toESM(require_tick());
|
7110
|
-
var DropdownMenu =
|
7206
|
+
var DropdownMenu = React23.forwardRef(
|
7111
7207
|
(_a, ref) => {
|
7112
7208
|
var _b = _a, { maxHeight = "450px", minWidth = "125px", maxWidth, className, children } = _b, props = __objRest(_b, ["maxHeight", "minWidth", "maxWidth", "className", "children"]);
|
7113
|
-
return /* @__PURE__ */
|
7209
|
+
return /* @__PURE__ */ React23.createElement("div", __spreadValues({
|
7114
7210
|
ref,
|
7115
7211
|
style: { maxHeight, minWidth, maxWidth },
|
7116
7212
|
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-grey-70")
|
7117
7213
|
}, props), children);
|
7118
7214
|
}
|
7119
7215
|
);
|
7120
|
-
var ContentContainer = ({ children }) => /* @__PURE__ */
|
7216
|
+
var ContentContainer = ({ children }) => /* @__PURE__ */ React23.createElement("div", {
|
7121
7217
|
className: tw("p-3 overflow-y-auto overflow-x-hidden")
|
7122
7218
|
}, children);
|
7123
7219
|
DropdownMenu.ContentContainer = ContentContainer;
|
7124
|
-
var List =
|
7220
|
+
var List = React23.forwardRef(
|
7125
7221
|
(_a, ref) => {
|
7126
7222
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
7127
|
-
return /* @__PURE__ */
|
7223
|
+
return /* @__PURE__ */ React23.createElement("ul", __spreadValues({
|
7128
7224
|
ref,
|
7129
7225
|
className: classNames(className, "outline-none ring-0")
|
7130
7226
|
}, props), children);
|
7131
7227
|
}
|
7132
7228
|
);
|
7133
7229
|
DropdownMenu.List = List;
|
7134
|
-
var Group =
|
7230
|
+
var Group = React23.forwardRef(
|
7135
7231
|
(_a, ref) => {
|
7136
7232
|
var _b = _a, { className, title, titleProps, children } = _b, props = __objRest(_b, ["className", "title", "titleProps", "children"]);
|
7137
|
-
return /* @__PURE__ */
|
7233
|
+
return /* @__PURE__ */ React23.createElement("li", __spreadValues({
|
7138
7234
|
ref
|
7139
|
-
}, props), title && /* @__PURE__ */
|
7235
|
+
}, props), title && /* @__PURE__ */ React23.createElement("div", __spreadValues({
|
7140
7236
|
className: classNames(className, "p-3 text-grey-40 uppercase cursor-default typography-caption", {
|
7141
7237
|
"text-grey-20": props.disabled
|
7142
7238
|
})
|
@@ -7144,10 +7240,10 @@ var Group = React21.forwardRef(
|
|
7144
7240
|
}
|
7145
7241
|
);
|
7146
7242
|
DropdownMenu.Group = Group;
|
7147
|
-
var Item =
|
7243
|
+
var Item = React23.forwardRef(
|
7148
7244
|
(_a, ref) => {
|
7149
|
-
var _b = _a, { kind, highlighted, selected, className, icon, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "children"]);
|
7150
|
-
return /* @__PURE__ */
|
7245
|
+
var _b = _a, { kind, highlighted, selected, className, icon, showNotification = false, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "showNotification", "children"]);
|
7246
|
+
return /* @__PURE__ */ React23.createElement("li", __spreadValues({
|
7151
7247
|
ref,
|
7152
7248
|
className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
|
7153
7249
|
"cursor-pointer hover:bg-grey-0": !props.disabled,
|
@@ -7155,40 +7251,42 @@ var Item = React21.forwardRef(
|
|
7155
7251
|
"text-primary-80": kind === "action",
|
7156
7252
|
"text-grey-20 cursor-not-allowed": props.disabled
|
7157
7253
|
})
|
7158
|
-
}, props), icon && /* @__PURE__ */
|
7254
|
+
}, props), icon && showNotification && /* @__PURE__ */ React23.createElement(Badge.Notification, null, /* @__PURE__ */ React23.createElement(InlineIcon, {
|
7159
7255
|
icon
|
7160
|
-
}), /* @__PURE__ */
|
7256
|
+
})), icon && !showNotification && /* @__PURE__ */ React23.createElement(InlineIcon, {
|
7257
|
+
icon
|
7258
|
+
}), /* @__PURE__ */ React23.createElement("span", {
|
7161
7259
|
className: tw("grow")
|
7162
|
-
}, children), selected && /* @__PURE__ */
|
7260
|
+
}, children), selected && /* @__PURE__ */ React23.createElement(InlineIcon, {
|
7163
7261
|
icon: import_tick3.default
|
7164
7262
|
}));
|
7165
7263
|
}
|
7166
7264
|
);
|
7167
7265
|
DropdownMenu.Item = Item;
|
7168
|
-
var Description = ({ disabled, children }) => /* @__PURE__ */
|
7266
|
+
var Description = ({ disabled, children }) => /* @__PURE__ */ React23.createElement(Typography2.Caption, {
|
7169
7267
|
color: disabled ? "grey-20" : "grey-40"
|
7170
7268
|
}, children);
|
7171
7269
|
DropdownMenu.Description = Description;
|
7172
7270
|
var Separator = (_a) => {
|
7173
7271
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
7174
|
-
return /* @__PURE__ */
|
7272
|
+
return /* @__PURE__ */ React23.createElement("li", __spreadProps(__spreadValues({}, props), {
|
7175
7273
|
className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
|
7176
7274
|
}));
|
7177
7275
|
};
|
7178
7276
|
DropdownMenu.Separator = Separator;
|
7179
7277
|
var EmptyStateContainer = (_a) => {
|
7180
7278
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7181
|
-
return /* @__PURE__ */
|
7279
|
+
return /* @__PURE__ */ React23.createElement("div", __spreadValues({
|
7182
7280
|
className: classNames(tw("border border-dashed border-grey-10 p-3"), className)
|
7183
7281
|
}, props), children);
|
7184
7282
|
};
|
7185
7283
|
DropdownMenu.EmptyStateContainer = EmptyStateContainer;
|
7186
7284
|
|
7187
7285
|
// src/atoms/InputGroup/InputGroup.tsx
|
7188
|
-
import
|
7286
|
+
import React25 from "react";
|
7189
7287
|
|
7190
7288
|
// src/molecules/Grid/Grid.tsx
|
7191
|
-
import
|
7289
|
+
import React24 from "react";
|
7192
7290
|
var Grid = Tailwindify(
|
7193
7291
|
({
|
7194
7292
|
htmlTag = "div",
|
@@ -7241,7 +7339,7 @@ var Grid = Tailwindify(
|
|
7241
7339
|
gridRowEnd: rowEnd
|
7242
7340
|
});
|
7243
7341
|
const HtmlElement = htmlTag;
|
7244
|
-
return /* @__PURE__ */
|
7342
|
+
return /* @__PURE__ */ React24.createElement(HtmlElement, {
|
7245
7343
|
style: __spreadValues(__spreadValues({}, hookStyle), style),
|
7246
7344
|
className
|
7247
7345
|
}, children);
|
@@ -7257,7 +7355,7 @@ var gridColumnStyles = {
|
|
7257
7355
|
};
|
7258
7356
|
var InputGroup = (_a) => {
|
7259
7357
|
var _b = _a, { cols = "1", children } = _b, rest = __objRest(_b, ["cols", "children"]);
|
7260
|
-
return /* @__PURE__ */
|
7358
|
+
return /* @__PURE__ */ React25.createElement(Grid, __spreadProps(__spreadValues({}, rest), {
|
7261
7359
|
display: "inline-grid",
|
7262
7360
|
colGap: "l4",
|
7263
7361
|
rowGap: "3",
|
@@ -7267,19 +7365,19 @@ var InputGroup = (_a) => {
|
|
7267
7365
|
};
|
7268
7366
|
|
7269
7367
|
// src/atoms/Link/Link.tsx
|
7270
|
-
import
|
7368
|
+
import React26 from "react";
|
7271
7369
|
var Link = (_a) => {
|
7272
7370
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
7273
|
-
return /* @__PURE__ */
|
7371
|
+
return /* @__PURE__ */ React26.createElement("a", __spreadValues({
|
7274
7372
|
className: classNames(className, linkStyle)
|
7275
7373
|
}, props), children);
|
7276
7374
|
};
|
7277
7375
|
|
7278
7376
|
// src/atoms/Modal/Modal.tsx
|
7279
|
-
import
|
7377
|
+
import React27 from "react";
|
7280
7378
|
var Modal = (_a) => {
|
7281
7379
|
var _b = _a, { children, className, open } = _b, rest = __objRest(_b, ["children", "className", "open"]);
|
7282
|
-
return open ? /* @__PURE__ */
|
7380
|
+
return open ? /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7283
7381
|
className: classNames(
|
7284
7382
|
tw("inset-0 overflow-y-auto z-modal flex justify-center items-center fixed py-7"),
|
7285
7383
|
className
|
@@ -7288,14 +7386,14 @@ var Modal = (_a) => {
|
|
7288
7386
|
};
|
7289
7387
|
Modal.BackDrop = (_a) => {
|
7290
7388
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7291
|
-
return /* @__PURE__ */
|
7389
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7292
7390
|
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-navyBlue-100 opacity-70"), className)
|
7293
7391
|
}));
|
7294
7392
|
};
|
7295
|
-
Modal.Dialog =
|
7393
|
+
Modal.Dialog = React27.forwardRef(
|
7296
7394
|
(_a, ref) => {
|
7297
7395
|
var _b = _a, { children, className, size = "sm" } = _b, rest = __objRest(_b, ["children", "className", "size"]);
|
7298
|
-
return /* @__PURE__ */
|
7396
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({
|
7299
7397
|
ref,
|
7300
7398
|
"aria-modal": "true"
|
7301
7399
|
}, rest), {
|
@@ -7313,31 +7411,31 @@ Modal.Dialog = React25.forwardRef(
|
|
7313
7411
|
);
|
7314
7412
|
Modal.Header = (_a) => {
|
7315
7413
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7316
|
-
return /* @__PURE__ */
|
7414
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7317
7415
|
className: classNames(tw("px-7 py-6 gap-3 flex items-center"), className)
|
7318
7416
|
}), children);
|
7319
7417
|
};
|
7320
7418
|
Modal.HeaderImage = (_a) => {
|
7321
7419
|
var _b = _a, { backgroundImage, className } = _b, rest = __objRest(_b, ["backgroundImage", "className"]);
|
7322
7420
|
const common = tw("h-[120px] min-h-[120px] w-full ");
|
7323
|
-
return backgroundImage ? /* @__PURE__ */
|
7421
|
+
return backgroundImage ? /* @__PURE__ */ React27.createElement("img", __spreadProps(__spreadValues({
|
7324
7422
|
"aria-hidden": true,
|
7325
7423
|
src: backgroundImage != null ? backgroundImage : void 0
|
7326
7424
|
}, rest), {
|
7327
7425
|
className: classNames(common, tw("object-cover"), className)
|
7328
|
-
})) : /* @__PURE__ */
|
7426
|
+
})) : /* @__PURE__ */ React27.createElement("div", {
|
7329
7427
|
className: classNames(common, tw("bg-grey-5"), className)
|
7330
7428
|
});
|
7331
7429
|
};
|
7332
7430
|
Modal.CloseButtonContainer = (_a) => {
|
7333
7431
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7334
|
-
return /* @__PURE__ */
|
7432
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7335
7433
|
className: classNames(tw("absolute top-[20px] right-[28px]"), className)
|
7336
7434
|
}));
|
7337
7435
|
};
|
7338
7436
|
Modal.Title = (_a) => {
|
7339
7437
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7340
|
-
return /* @__PURE__ */
|
7438
|
+
return /* @__PURE__ */ React27.createElement(Typography, __spreadValues({
|
7341
7439
|
htmlTag: "h2",
|
7342
7440
|
variant: "subheading",
|
7343
7441
|
color: "grey-90",
|
@@ -7346,77 +7444,77 @@ Modal.Title = (_a) => {
|
|
7346
7444
|
};
|
7347
7445
|
Modal.Subtitle = (_a) => {
|
7348
7446
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
7349
|
-
return /* @__PURE__ */
|
7447
|
+
return /* @__PURE__ */ React27.createElement(Typography, __spreadValues({
|
7350
7448
|
variant: "small",
|
7351
7449
|
color: "grey-60"
|
7352
7450
|
}, rest), children);
|
7353
7451
|
};
|
7354
7452
|
Modal.TitleContainer = (_a) => {
|
7355
7453
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7356
|
-
return /* @__PURE__ */
|
7454
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7357
7455
|
className: classNames(tw("flex flex-col grow gap-2"), className)
|
7358
7456
|
}), children);
|
7359
7457
|
};
|
7360
7458
|
Modal.Body = (_a) => {
|
7361
7459
|
var _b = _a, { children, className, noFooter = false, maxHeight, style } = _b, rest = __objRest(_b, ["children", "className", "noFooter", "maxHeight", "style"]);
|
7362
|
-
return /* @__PURE__ */
|
7460
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7363
7461
|
className: classNames(tw("px-7 grow overflow-y-auto", { "pb-6": noFooter }), className),
|
7364
7462
|
style: __spreadValues({ maxHeight }, style)
|
7365
7463
|
}), children);
|
7366
7464
|
};
|
7367
7465
|
Modal.Footer = (_a) => {
|
7368
7466
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7369
|
-
return /* @__PURE__ */
|
7467
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7370
7468
|
className: classNames(tw("px-7 py-6"), className)
|
7371
7469
|
}), children);
|
7372
7470
|
};
|
7373
7471
|
Modal.Actions = (_a) => {
|
7374
7472
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7375
|
-
return /* @__PURE__ */
|
7473
|
+
return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7376
7474
|
className: classNames(tw("flex gap-4 justify-end"), className)
|
7377
7475
|
}), children);
|
7378
7476
|
};
|
7379
7477
|
|
7380
7478
|
// src/atoms/Navigation/Navigation.tsx
|
7381
|
-
import
|
7479
|
+
import React28 from "react";
|
7382
7480
|
var Navigation = (_a) => {
|
7383
7481
|
var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
|
7384
|
-
return /* @__PURE__ */
|
7482
|
+
return /* @__PURE__ */ React28.createElement("nav", {
|
7385
7483
|
className: classNames(tw("bg-grey-0 h-full"))
|
7386
|
-
}, /* @__PURE__ */
|
7484
|
+
}, /* @__PURE__ */ React28.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
7387
7485
|
className: classNames(tw("flex flex-col h-full"), className),
|
7388
7486
|
role: "menu"
|
7389
7487
|
}), children));
|
7390
7488
|
};
|
7391
7489
|
var Header = (_a) => {
|
7392
7490
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7393
|
-
return /* @__PURE__ */
|
7491
|
+
return /* @__PURE__ */ React28.createElement("li", __spreadProps(__spreadValues({}, rest), {
|
7394
7492
|
role: "presentation",
|
7395
7493
|
className: classNames(tw("px-6 py-5"), className)
|
7396
7494
|
}));
|
7397
7495
|
};
|
7398
7496
|
var Footer = (_a) => {
|
7399
7497
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7400
|
-
return /* @__PURE__ */
|
7498
|
+
return /* @__PURE__ */ React28.createElement("li", __spreadProps(__spreadValues({}, rest), {
|
7401
7499
|
role: "presentation",
|
7402
7500
|
className: classNames(tw("px-6 py-5 mt-auto"), className)
|
7403
7501
|
}));
|
7404
7502
|
};
|
7405
7503
|
var Section = (_a) => {
|
7406
7504
|
var _b = _a, { title, className } = _b, rest = __objRest(_b, ["title", "className"]);
|
7407
|
-
return /* @__PURE__ */
|
7505
|
+
return /* @__PURE__ */ React28.createElement("li", {
|
7408
7506
|
role: "presentation",
|
7409
7507
|
className: tw("py-5")
|
7410
|
-
}, title && /* @__PURE__ */
|
7508
|
+
}, title && /* @__PURE__ */ React28.createElement("div", {
|
7411
7509
|
className: classNames(className, "py-2 px-6 text-grey-40 uppercase cursor-default typography-caption")
|
7412
|
-
}, title), /* @__PURE__ */
|
7510
|
+
}, title), /* @__PURE__ */ React28.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
7413
7511
|
role: "group",
|
7414
7512
|
className: classNames(tw("flex flex-col"), className)
|
7415
7513
|
})));
|
7416
7514
|
};
|
7417
7515
|
var Divider = (_a) => {
|
7418
7516
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7419
|
-
return /* @__PURE__ */
|
7517
|
+
return /* @__PURE__ */ React28.createElement("li", __spreadProps(__spreadValues({
|
7420
7518
|
role: "separator"
|
7421
7519
|
}, rest), {
|
7422
7520
|
className: classNames(tw("border-t-2 border-grey-5"), className)
|
@@ -7424,9 +7522,9 @@ var Divider = (_a) => {
|
|
7424
7522
|
};
|
7425
7523
|
var Item2 = (_a) => {
|
7426
7524
|
var _b = _a, { className, active } = _b, rest = __objRest(_b, ["className", "active"]);
|
7427
|
-
return /* @__PURE__ */
|
7525
|
+
return /* @__PURE__ */ React28.createElement("li", {
|
7428
7526
|
role: "presentation"
|
7429
|
-
}, /* @__PURE__ */
|
7527
|
+
}, /* @__PURE__ */ React28.createElement("a", __spreadProps(__spreadValues({}, rest), {
|
7430
7528
|
role: "menuitem",
|
7431
7529
|
className: classNames(
|
7432
7530
|
tw("py-3 px-6 hover:bg-grey-5 cursor-pointer flex gap-4 items-center typography-small focusable", {
|
@@ -7444,10 +7542,10 @@ Navigation.Item = Item2;
|
|
7444
7542
|
Navigation.Divider = Divider;
|
7445
7543
|
|
7446
7544
|
// src/atoms/Popover/Popover.tsx
|
7447
|
-
import
|
7448
|
-
var PopoverPanel =
|
7545
|
+
import React29 from "react";
|
7546
|
+
var PopoverPanel = React29.forwardRef((_a, ref) => {
|
7449
7547
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7450
|
-
return /* @__PURE__ */
|
7548
|
+
return /* @__PURE__ */ React29.createElement("div", __spreadValues({
|
7451
7549
|
ref,
|
7452
7550
|
className: classNames(
|
7453
7551
|
className,
|
@@ -7456,7 +7554,7 @@ var PopoverPanel = React27.forwardRef((_a, ref) => {
|
|
7456
7554
|
}, props), children);
|
7457
7555
|
});
|
7458
7556
|
PopoverPanel.displayName = "Popover.Panel";
|
7459
|
-
var PopoverUnderlay =
|
7557
|
+
var PopoverUnderlay = React29.forwardRef((props, ref) => /* @__PURE__ */ React29.createElement("div", __spreadProps(__spreadValues({
|
7460
7558
|
ref
|
7461
7559
|
}, props), {
|
7462
7560
|
className: tw("fixed inset-0")
|
@@ -7468,23 +7566,23 @@ var Popover = {
|
|
7468
7566
|
};
|
7469
7567
|
|
7470
7568
|
// src/atoms/PopoverDialog/PopoverDialog.tsx
|
7471
|
-
import
|
7569
|
+
import React30 from "react";
|
7472
7570
|
var Header2 = (_a) => {
|
7473
7571
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7474
|
-
return /* @__PURE__ */
|
7572
|
+
return /* @__PURE__ */ React30.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7475
7573
|
className: classNames(tw("p-5 gap-3 flex items-center"), className)
|
7476
7574
|
}), children);
|
7477
7575
|
};
|
7478
7576
|
var Title = (_a) => {
|
7479
7577
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7480
|
-
return /* @__PURE__ */
|
7578
|
+
return /* @__PURE__ */ React30.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
|
7481
7579
|
htmlTag: "h1",
|
7482
7580
|
variant: "small-strong"
|
7483
7581
|
}), children);
|
7484
7582
|
};
|
7485
7583
|
var Body = (_a) => {
|
7486
7584
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7487
|
-
return /* @__PURE__ */
|
7585
|
+
return /* @__PURE__ */ React30.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
|
7488
7586
|
htmlTag: "div",
|
7489
7587
|
variant: "caption",
|
7490
7588
|
className: classNames(tw("px-5 overflow-y-auto"), className)
|
@@ -7492,13 +7590,13 @@ var Body = (_a) => {
|
|
7492
7590
|
};
|
7493
7591
|
var Footer2 = (_a) => {
|
7494
7592
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7495
|
-
return /* @__PURE__ */
|
7593
|
+
return /* @__PURE__ */ React30.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7496
7594
|
className: classNames(tw("p-5"), className)
|
7497
7595
|
}), children);
|
7498
7596
|
};
|
7499
7597
|
var Actions2 = (_a) => {
|
7500
7598
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7501
|
-
return /* @__PURE__ */
|
7599
|
+
return /* @__PURE__ */ React30.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7502
7600
|
className: classNames(tw("flex gap-4"), className)
|
7503
7601
|
}), children);
|
7504
7602
|
};
|
@@ -7511,11 +7609,11 @@ var PopoverDialog = {
|
|
7511
7609
|
};
|
7512
7610
|
|
7513
7611
|
// src/atoms/RadioButton/RadioButton.tsx
|
7514
|
-
import
|
7515
|
-
var RadioButton =
|
7612
|
+
import React31 from "react";
|
7613
|
+
var RadioButton = React31.forwardRef(
|
7516
7614
|
(_a, ref) => {
|
7517
7615
|
var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
|
7518
|
-
return /* @__PURE__ */
|
7616
|
+
return /* @__PURE__ */ React31.createElement("input", __spreadProps(__spreadValues({
|
7519
7617
|
id,
|
7520
7618
|
ref,
|
7521
7619
|
type: "radio",
|
@@ -7539,7 +7637,7 @@ var RadioButton = React29.forwardRef(
|
|
7539
7637
|
);
|
7540
7638
|
|
7541
7639
|
// src/atoms/Select/Select.tsx
|
7542
|
-
import
|
7640
|
+
import React32 from "react";
|
7543
7641
|
var import_chevronDown3 = __toESM(require_chevronDown());
|
7544
7642
|
var import_chevronUp2 = __toESM(require_chevronUp());
|
7545
7643
|
var import_search2 = __toESM(require_search());
|
@@ -7559,16 +7657,16 @@ function isOptionDisabledBuiltin(option) {
|
|
7559
7657
|
}
|
7560
7658
|
var getValues = (children) => {
|
7561
7659
|
var _a;
|
7562
|
-
const values =
|
7660
|
+
const values = React32.Children.map(children, (c) => {
|
7563
7661
|
var _a2;
|
7564
7662
|
return (_a2 = c == null ? void 0 : c.props) == null ? void 0 : _a2.value;
|
7565
7663
|
});
|
7566
7664
|
return (_a = values == null ? void 0 : values.filter((v) => v !== void 0 && v !== null)) != null ? _a : [];
|
7567
7665
|
};
|
7568
|
-
var InputContainer =
|
7666
|
+
var InputContainer = React32.forwardRef(
|
7569
7667
|
(_a, ref) => {
|
7570
7668
|
var _b = _a, { variant = "default", className } = _b, props = __objRest(_b, ["variant", "className"]);
|
7571
|
-
return /* @__PURE__ */
|
7669
|
+
return /* @__PURE__ */ React32.createElement("div", __spreadValues({
|
7572
7670
|
ref,
|
7573
7671
|
className: classNames(
|
7574
7672
|
className,
|
@@ -7587,9 +7685,9 @@ var InputContainer = React30.forwardRef(
|
|
7587
7685
|
}, props));
|
7588
7686
|
}
|
7589
7687
|
);
|
7590
|
-
var Input =
|
7688
|
+
var Input = React32.forwardRef((_a, ref) => {
|
7591
7689
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
7592
|
-
return /* @__PURE__ */
|
7690
|
+
return /* @__PURE__ */ React32.createElement("input", __spreadValues({
|
7593
7691
|
ref,
|
7594
7692
|
type: "text",
|
7595
7693
|
className: classNames(
|
@@ -7603,39 +7701,39 @@ var Input = React30.forwardRef((_a, ref) => {
|
|
7603
7701
|
)
|
7604
7702
|
}, props));
|
7605
7703
|
});
|
7606
|
-
var Menu =
|
7704
|
+
var Menu = React32.forwardRef(
|
7607
7705
|
(_a, ref) => {
|
7608
7706
|
var _b = _a, { maxHeight = "450px", className, children } = _b, props = __objRest(_b, ["maxHeight", "className", "children"]);
|
7609
|
-
return /* @__PURE__ */
|
7707
|
+
return /* @__PURE__ */ React32.createElement("ul", __spreadValues({
|
7610
7708
|
ref,
|
7611
7709
|
style: { maxHeight },
|
7612
7710
|
className
|
7613
7711
|
}, props), children);
|
7614
7712
|
}
|
7615
7713
|
);
|
7616
|
-
var NoResults =
|
7714
|
+
var NoResults = React32.forwardRef(
|
7617
7715
|
(_a, ref) => {
|
7618
7716
|
var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
|
7619
|
-
return /* @__PURE__ */
|
7717
|
+
return /* @__PURE__ */ React32.createElement("li", __spreadProps(__spreadValues({
|
7620
7718
|
ref
|
7621
7719
|
}, rest), {
|
7622
7720
|
className: classNames(tw("p-3 text-grey-40 italic"), className)
|
7623
7721
|
}), children);
|
7624
7722
|
}
|
7625
7723
|
);
|
7626
|
-
var EmptyStateContainer2 =
|
7724
|
+
var EmptyStateContainer2 = React32.forwardRef((_a, ref) => {
|
7627
7725
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7628
|
-
return /* @__PURE__ */
|
7726
|
+
return /* @__PURE__ */ React32.createElement("li", __spreadValues({
|
7629
7727
|
ref,
|
7630
7728
|
className: tw("border border-dashed border-grey-10 m-4 p-6")
|
7631
7729
|
}, props), children);
|
7632
7730
|
});
|
7633
|
-
var Divider2 = (props) => /* @__PURE__ */
|
7731
|
+
var Divider2 = (props) => /* @__PURE__ */ React32.createElement("div", __spreadValues({
|
7634
7732
|
className: tw("border-b-[1px] border-grey-5 mx-3 my-4")
|
7635
7733
|
}, props));
|
7636
|
-
var Group2 =
|
7734
|
+
var Group2 = React32.forwardRef((_a, ref) => {
|
7637
7735
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7638
|
-
return /* @__PURE__ */
|
7736
|
+
return /* @__PURE__ */ React32.createElement("li", __spreadValues({
|
7639
7737
|
ref,
|
7640
7738
|
className: classNames(
|
7641
7739
|
className,
|
@@ -7646,10 +7744,10 @@ var Group2 = React30.forwardRef((_a, ref) => {
|
|
7646
7744
|
)
|
7647
7745
|
}, props), children);
|
7648
7746
|
});
|
7649
|
-
var Item3 =
|
7747
|
+
var Item3 = React32.forwardRef(
|
7650
7748
|
(_a, ref) => {
|
7651
7749
|
var _b = _a, { highlighted, selected, className, children } = _b, props = __objRest(_b, ["highlighted", "selected", "className", "children"]);
|
7652
|
-
return /* @__PURE__ */
|
7750
|
+
return /* @__PURE__ */ React32.createElement("li", __spreadValues({
|
7653
7751
|
ref,
|
7654
7752
|
className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
|
7655
7753
|
"cursor-pointer": !props.disabled,
|
@@ -7657,17 +7755,17 @@ var Item3 = React30.forwardRef(
|
|
7657
7755
|
"text-grey-20": props.disabled,
|
7658
7756
|
"hover:bg-grey-0": !props.disabled
|
7659
7757
|
})
|
7660
|
-
}, props), /* @__PURE__ */
|
7758
|
+
}, props), /* @__PURE__ */ React32.createElement("span", {
|
7661
7759
|
className: tw("grow flex gap-x-3")
|
7662
|
-
}, children), selected && /* @__PURE__ */
|
7760
|
+
}, children), selected && /* @__PURE__ */ React32.createElement(InlineIcon, {
|
7663
7761
|
icon: import_tick4.default
|
7664
7762
|
}));
|
7665
7763
|
}
|
7666
7764
|
);
|
7667
|
-
var ActionItem =
|
7765
|
+
var ActionItem = React32.forwardRef(
|
7668
7766
|
(_a, ref) => {
|
7669
7767
|
var _b = _a, { className, dense, icon, onClick, children } = _b, props = __objRest(_b, ["className", "dense", "icon", "onClick", "children"]);
|
7670
|
-
return /* @__PURE__ */
|
7768
|
+
return /* @__PURE__ */ React32.createElement("li", __spreadValues({
|
7671
7769
|
ref,
|
7672
7770
|
role: "button",
|
7673
7771
|
onClick: () => !props.disabled && (onClick == null ? void 0 : onClick()),
|
@@ -7678,21 +7776,21 @@ var ActionItem = React30.forwardRef(
|
|
7678
7776
|
"text-grey-20": props.disabled,
|
7679
7777
|
"hover:text-primary-70": !props.disabled
|
7680
7778
|
})
|
7681
|
-
}, props), icon && /* @__PURE__ */
|
7779
|
+
}, props), icon && /* @__PURE__ */ React32.createElement(InlineIcon, {
|
7682
7780
|
icon
|
7683
7781
|
}), children);
|
7684
7782
|
}
|
7685
7783
|
);
|
7686
|
-
var Toggle =
|
7784
|
+
var Toggle = React32.forwardRef((_a, ref) => {
|
7687
7785
|
var _b = _a, { hasFocus, isOpen } = _b, props = __objRest(_b, ["hasFocus", "isOpen"]);
|
7688
7786
|
var _a2;
|
7689
|
-
return /* @__PURE__ */
|
7787
|
+
return /* @__PURE__ */ React32.createElement("button", __spreadProps(__spreadValues({
|
7690
7788
|
ref,
|
7691
7789
|
type: "button",
|
7692
7790
|
"aria-label": "Toggle"
|
7693
7791
|
}, props), {
|
7694
7792
|
className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
|
7695
|
-
}), /* @__PURE__ */
|
7793
|
+
}), /* @__PURE__ */ React32.createElement(InlineIcon, {
|
7696
7794
|
color: props.disabled ? "grey-40" : "grey-70",
|
7697
7795
|
icon: hasFocus ? import_search2.default : isOpen ? import_chevronUp2.default : import_chevronDown3.default
|
7698
7796
|
}));
|
@@ -7711,11 +7809,11 @@ var Select = {
|
|
7711
7809
|
};
|
7712
7810
|
|
7713
7811
|
// src/atoms/Stepper/Stepper.tsx
|
7714
|
-
import
|
7812
|
+
import React33 from "react";
|
7715
7813
|
var import_tick5 = __toESM(require_tick());
|
7716
7814
|
var Stepper = (_a) => {
|
7717
7815
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7718
|
-
return /* @__PURE__ */
|
7816
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7719
7817
|
className: classNames(className)
|
7720
7818
|
}));
|
7721
7819
|
};
|
@@ -7729,7 +7827,7 @@ var ConnectorContainer = (_a) => {
|
|
7729
7827
|
"completed",
|
7730
7828
|
"dense"
|
7731
7829
|
]);
|
7732
|
-
return /* @__PURE__ */
|
7830
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7733
7831
|
className: classNames(
|
7734
7832
|
tw("absolute w-full -left-1/2", {
|
7735
7833
|
"top-[3px] px-[14px]": Boolean(dense),
|
@@ -7741,7 +7839,7 @@ var ConnectorContainer = (_a) => {
|
|
7741
7839
|
};
|
7742
7840
|
var Connector = (_a) => {
|
7743
7841
|
var _b = _a, { children, className, completed, dense } = _b, rest = __objRest(_b, ["children", "className", "completed", "dense"]);
|
7744
|
-
return /* @__PURE__ */
|
7842
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7745
7843
|
className: classNames(
|
7746
7844
|
tw("w-full", {
|
7747
7845
|
"bg-grey-20": !completed,
|
@@ -7755,7 +7853,7 @@ var Connector = (_a) => {
|
|
7755
7853
|
};
|
7756
7854
|
var Step = (_a) => {
|
7757
7855
|
var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
|
7758
|
-
return /* @__PURE__ */
|
7856
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7759
7857
|
className: classNames(
|
7760
7858
|
tw("flex flex-col items-center text-grey-90 relative text-center", {
|
7761
7859
|
"text-grey-20": state === "inactive"
|
@@ -7776,13 +7874,13 @@ var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
|
|
7776
7874
|
});
|
7777
7875
|
var Indicator = (_a) => {
|
7778
7876
|
var _b = _a, { children, className, state, dense } = _b, rest = __objRest(_b, ["children", "className", "state", "dense"]);
|
7779
|
-
return /* @__PURE__ */
|
7877
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7780
7878
|
className: classNames(
|
7781
7879
|
tw("rounded-full flex justify-center items-center mx-2 mb-3"),
|
7782
7880
|
dense ? getDenseClassNames(state) : getClassNames(state),
|
7783
7881
|
className
|
7784
7882
|
)
|
7785
|
-
}), state === "completed" ? /* @__PURE__ */
|
7883
|
+
}), state === "completed" ? /* @__PURE__ */ React33.createElement(InlineIcon, {
|
7786
7884
|
icon: import_tick5.default
|
7787
7885
|
}) : dense ? null : children);
|
7788
7886
|
};
|
@@ -7792,13 +7890,13 @@ ConnectorContainer.Connector = Connector;
|
|
7792
7890
|
Stepper.ConnectorContainer = ConnectorContainer;
|
7793
7891
|
|
7794
7892
|
// src/atoms/Switch/Switch.tsx
|
7795
|
-
import
|
7796
|
-
var Switch =
|
7893
|
+
import React34 from "react";
|
7894
|
+
var Switch = React34.forwardRef(
|
7797
7895
|
(_a, ref) => {
|
7798
7896
|
var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
|
7799
|
-
return /* @__PURE__ */
|
7897
|
+
return /* @__PURE__ */ React34.createElement("span", {
|
7800
7898
|
className: tw("relative inline-flex justify-center items-center self-center group")
|
7801
|
-
}, /* @__PURE__ */
|
7899
|
+
}, /* @__PURE__ */ React34.createElement("input", __spreadProps(__spreadValues({
|
7802
7900
|
id,
|
7803
7901
|
ref,
|
7804
7902
|
type: "checkbox",
|
@@ -7817,7 +7915,7 @@ var Switch = React32.forwardRef(
|
|
7817
7915
|
),
|
7818
7916
|
readOnly,
|
7819
7917
|
disabled
|
7820
|
-
})), /* @__PURE__ */
|
7918
|
+
})), /* @__PURE__ */ React34.createElement("span", {
|
7821
7919
|
className: tw(
|
7822
7920
|
"pointer-events-none rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
7823
7921
|
"bg-white peer-disabled/switch:bg-grey-0 left-2 peer-checked/switch:left-1",
|
@@ -7830,32 +7928,32 @@ var Switch = React32.forwardRef(
|
|
7830
7928
|
);
|
7831
7929
|
|
7832
7930
|
// src/atoms/Table/Table.tsx
|
7833
|
-
import
|
7931
|
+
import React35 from "react";
|
7834
7932
|
var import_chevronDown4 = __toESM(require_chevronDown());
|
7835
7933
|
var import_chevronUp3 = __toESM(require_chevronUp());
|
7836
|
-
var HeadContext =
|
7934
|
+
var HeadContext = React35.createContext(null);
|
7837
7935
|
var tableClassNames = tw("w-full relative typography-default border-spacing-0");
|
7838
7936
|
var Table = (_a) => {
|
7839
7937
|
var _b = _a, { children, ariaLabel, className } = _b, rest = __objRest(_b, ["children", "ariaLabel", "className"]);
|
7840
|
-
return /* @__PURE__ */
|
7938
|
+
return /* @__PURE__ */ React35.createElement("table", __spreadProps(__spreadValues({}, rest), {
|
7841
7939
|
className: classNames(tableClassNames, className),
|
7842
7940
|
"aria-label": ariaLabel
|
7843
7941
|
}), children);
|
7844
7942
|
};
|
7845
7943
|
var TableHead = (_a) => {
|
7846
7944
|
var _b = _a, { children, sticky } = _b, rest = __objRest(_b, ["children", "sticky"]);
|
7847
|
-
return /* @__PURE__ */
|
7945
|
+
return /* @__PURE__ */ React35.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React35.createElement("tr", null, /* @__PURE__ */ React35.createElement(HeadContext.Provider, {
|
7848
7946
|
value: { children, sticky }
|
7849
7947
|
}, children)));
|
7850
7948
|
};
|
7851
7949
|
var TableBody = (_a) => {
|
7852
7950
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
7853
|
-
return /* @__PURE__ */
|
7951
|
+
return /* @__PURE__ */ React35.createElement("tbody", __spreadValues({}, rest), children);
|
7854
7952
|
};
|
7855
7953
|
var rowClassNames = tw("children:border-grey-10 group children:last:border-b-0 hover:bg-grey-0");
|
7856
7954
|
var TableRow = (_a) => {
|
7857
7955
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7858
|
-
return /* @__PURE__ */
|
7956
|
+
return /* @__PURE__ */ React35.createElement("tr", __spreadProps(__spreadValues({}, rest), {
|
7859
7957
|
className: classNames(rowClassNames, className)
|
7860
7958
|
}), children);
|
7861
7959
|
};
|
@@ -7882,15 +7980,15 @@ var getHeadCellClassNames = (sticky = true, stickyColumn) => {
|
|
7882
7980
|
};
|
7883
7981
|
var TableCell = (_a) => {
|
7884
7982
|
var _b = _a, { children, className, stickyColumn, align = "left" } = _b, rest = __objRest(_b, ["children", "className", "stickyColumn", "align"]);
|
7885
|
-
const headContext =
|
7886
|
-
return headContext ? /* @__PURE__ */
|
7983
|
+
const headContext = React35.useContext(HeadContext);
|
7984
|
+
return headContext ? /* @__PURE__ */ React35.createElement("th", __spreadProps(__spreadValues({}, rest), {
|
7887
7985
|
className: classNames(
|
7888
7986
|
cellClassNames,
|
7889
7987
|
getHeadCellClassNames(headContext.sticky, stickyColumn),
|
7890
7988
|
getAlignClassNames(align),
|
7891
7989
|
className
|
7892
7990
|
)
|
7893
|
-
}), children) : /* @__PURE__ */
|
7991
|
+
}), children) : /* @__PURE__ */ React35.createElement("td", __spreadProps(__spreadValues({}, rest), {
|
7894
7992
|
className: classNames(
|
7895
7993
|
cellClassNames,
|
7896
7994
|
getBodyCellClassNames(true, stickyColumn),
|
@@ -7901,11 +7999,11 @@ var TableCell = (_a) => {
|
|
7901
7999
|
};
|
7902
8000
|
var TableSelectCell = (_a) => {
|
7903
8001
|
var _b = _a, { ariaLabel } = _b, props = __objRest(_b, ["ariaLabel"]);
|
7904
|
-
return /* @__PURE__ */
|
8002
|
+
return /* @__PURE__ */ React35.createElement(Table.Cell, {
|
7905
8003
|
className: tw("leading-[0px]")
|
7906
|
-
}, props.type === "radio" ? /* @__PURE__ */
|
8004
|
+
}, props.type === "radio" ? /* @__PURE__ */ React35.createElement(RadioButton, __spreadValues({
|
7907
8005
|
"aria-label": ariaLabel
|
7908
|
-
}, props)) : /* @__PURE__ */
|
8006
|
+
}, props)) : /* @__PURE__ */ React35.createElement(Checkbox, __spreadValues({
|
7909
8007
|
"aria-label": ariaLabel
|
7910
8008
|
}, props)));
|
7911
8009
|
};
|
@@ -7915,39 +8013,39 @@ var getSortCellIconClassNames = (active) => {
|
|
7915
8013
|
};
|
7916
8014
|
var TableSortCell = (_a) => {
|
7917
8015
|
var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
|
7918
|
-
return /* @__PURE__ */
|
8016
|
+
return /* @__PURE__ */ React35.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), {
|
7919
8017
|
"aria-sort": direction
|
7920
|
-
}), /* @__PURE__ */
|
8018
|
+
}), /* @__PURE__ */ React35.createElement("span", {
|
7921
8019
|
className: getSortCellButtonClassNames(rest.align),
|
7922
8020
|
role: "button",
|
7923
8021
|
tabIndex: -1,
|
7924
8022
|
onClick
|
7925
|
-
}, children, /* @__PURE__ */
|
8023
|
+
}, children, /* @__PURE__ */ React35.createElement("div", {
|
7926
8024
|
"data-sort-icons": true,
|
7927
8025
|
className: tw("flex flex-col", {
|
7928
8026
|
"invisible group-hover:visible": direction === "none"
|
7929
8027
|
})
|
7930
|
-
}, /* @__PURE__ */
|
8028
|
+
}, /* @__PURE__ */ React35.createElement(InlineIcon, {
|
7931
8029
|
icon: import_chevronUp3.default,
|
7932
8030
|
className: getSortCellIconClassNames(direction === "descending")
|
7933
|
-
}), /* @__PURE__ */
|
8031
|
+
}), /* @__PURE__ */ React35.createElement(InlineIcon, {
|
7934
8032
|
icon: import_chevronDown4.default,
|
7935
8033
|
className: getSortCellIconClassNames(direction === "ascending")
|
7936
8034
|
}))));
|
7937
8035
|
};
|
7938
|
-
var Item4 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */
|
8036
|
+
var Item4 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React35.createElement("div", {
|
7939
8037
|
className: tw("flex gap-4 items-center")
|
7940
|
-
}, image && /* @__PURE__ */
|
8038
|
+
}, image && /* @__PURE__ */ React35.createElement("img", {
|
7941
8039
|
src: image,
|
7942
8040
|
alt: imageAlt,
|
7943
8041
|
style: { width: imageSize, height: imageSize }
|
7944
|
-
}), /* @__PURE__ */
|
7945
|
-
Table.Head =
|
7946
|
-
Table.Body =
|
7947
|
-
Table.Row =
|
7948
|
-
Table.Cell =
|
7949
|
-
Table.SortCell =
|
7950
|
-
Table.SelectCell =
|
8042
|
+
}), /* @__PURE__ */ React35.createElement("div", null, title, caption && /* @__PURE__ */ React35.createElement(Typography2.Caption, null, caption)));
|
8043
|
+
Table.Head = React35.memo(TableHead);
|
8044
|
+
Table.Body = React35.memo(TableBody);
|
8045
|
+
Table.Row = React35.memo(TableRow);
|
8046
|
+
Table.Cell = React35.memo(TableCell);
|
8047
|
+
Table.SortCell = React35.memo(TableSortCell);
|
8048
|
+
Table.SelectCell = React35.memo(TableSelectCell);
|
7951
8049
|
export {
|
7952
8050
|
Alert,
|
7953
8051
|
Card,
|