@adiba-banking-cloud/backoffice 0.2.6 → 0.2.8
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/build/index.cjs.js/{heatmap-BecrND_v.js → heatmap-DGhkFUjy.js} +1 -1
- package/build/index.cjs.js/{index-Co-HkdSV.js → index-BcjXNWsr.js} +436 -425
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-DWLHgpGo.js → heatmap-CKy0PmPT.js} +1 -1
- package/build/index.esm.js/{index-BfSVOhZ9.js → index-Coanii6M.js} +50 -39
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/modals/loading/Loading.d.ts +3 -0
- package/build/typings/components/modals/loading/Loading.stories.d.ts +6 -0
- package/build/typings/components/modals/loading/Loading.types.d.ts +3 -0
- package/build/typings/components/tables/table-state/TableStateView.d.ts +2 -1
- package/build/typings/components/widgets/merchant/MerchantCard.stories.d.ts +1 -0
- package/build/typings/components/widgets/merchant/MerchantCard.types.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import { modals } from '@mantine/modals';
|
|
4
|
-
import * as React
|
|
4
|
+
import * as React from 'react';
|
|
5
5
|
import React__default, { useRef, useMemo, useEffect, useState } from 'react';
|
|
6
6
|
import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, PillsInput, ActionIcon, Pill, Box, Title, SegmentedControl, Breadcrumbs, Anchor, ColorSwatch, AspectRatio, Overlay, rem, SimpleGrid, Indicator, Table, createTheme, PinInput, Drawer as Drawer$1, ScrollArea, NumberInput, PasswordInput, TextInput, Textarea, Grid, ThemeIcon, MantineProvider } from '@mantine/core';
|
|
7
7
|
import { DotLottieReact } from '@lottiefiles/dotlottie-react';
|
|
@@ -12148,7 +12148,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
12148
12148
|
}
|
|
12149
12149
|
|
|
12150
12150
|
// Fallback: use dynamic import (async, but will work in Vite/Storybook)
|
|
12151
|
-
import('./heatmap-
|
|
12151
|
+
import('./heatmap-CKy0PmPT.js').then(function (n) { return n.h; }).then(heatmapModule => {
|
|
12152
12152
|
const moduleFn = typeof heatmapModule === "function" ? heatmapModule : (heatmapModule === null || heatmapModule === void 0 ? void 0 : heatmapModule.default) || heatmapModule;
|
|
12153
12153
|
if (typeof moduleFn === "function") {
|
|
12154
12154
|
moduleFn(Highcharts);
|
|
@@ -13791,10 +13791,9 @@ const UserProfileCard = _ref => {
|
|
|
13791
13791
|
align: "center"
|
|
13792
13792
|
}, /*#__PURE__*/React__default.createElement(Title, {
|
|
13793
13793
|
order: 2,
|
|
13794
|
-
fz:
|
|
13794
|
+
fz: 14,
|
|
13795
13795
|
fw: 500,
|
|
13796
|
-
c: "#0F193D"
|
|
13797
|
-
lh: 1.2
|
|
13796
|
+
c: "#0F193D"
|
|
13798
13797
|
}, name), score && /*#__PURE__*/React__default.createElement(Badge, {
|
|
13799
13798
|
color: scoreColor,
|
|
13800
13799
|
variant: "outline",
|
|
@@ -13804,25 +13803,23 @@ const UserProfileCard = _ref => {
|
|
|
13804
13803
|
root: {
|
|
13805
13804
|
borderWidth: 1,
|
|
13806
13805
|
textTransform: "none",
|
|
13807
|
-
height:
|
|
13806
|
+
height: 20,
|
|
13808
13807
|
display: "flex",
|
|
13809
13808
|
alignItems: "center"
|
|
13810
13809
|
},
|
|
13811
13810
|
label: {
|
|
13812
|
-
fontWeight:
|
|
13813
|
-
fontSize:
|
|
13811
|
+
fontWeight: 600,
|
|
13812
|
+
fontSize: 10
|
|
13814
13813
|
}
|
|
13815
13814
|
}
|
|
13816
13815
|
}, score)), /*#__PURE__*/React__default.createElement(Text, {
|
|
13817
|
-
size: "
|
|
13816
|
+
size: "13px",
|
|
13818
13817
|
c: "#6F758B",
|
|
13819
|
-
fw: 500
|
|
13820
|
-
lh: "24px"
|
|
13818
|
+
fw: 500
|
|
13821
13819
|
}, userType), /*#__PURE__*/React__default.createElement(Text, {
|
|
13822
|
-
size: "
|
|
13820
|
+
size: "12px",
|
|
13823
13821
|
c: "#5B6767",
|
|
13824
|
-
fw: 300
|
|
13825
|
-
lh: "24px"
|
|
13822
|
+
fw: 300
|
|
13826
13823
|
}, "ID: ", userId))));
|
|
13827
13824
|
};
|
|
13828
13825
|
|
|
@@ -14959,7 +14956,7 @@ const TilePanel = _ref2 => {
|
|
|
14959
14956
|
}))));
|
|
14960
14957
|
};
|
|
14961
14958
|
|
|
14962
|
-
const _excluded$1 = ["name", "logo", "category", "price", "onClick", "dragHandleProps", "variant", "onClose", "className", "style"];
|
|
14959
|
+
const _excluded$1 = ["name", "logo", "category", "price", "onClick", "dragHandleProps", "variant", "onClose", "onAdd", "className", "style"];
|
|
14963
14960
|
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14964
14961
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14965
14962
|
const MerchantCard = _ref => {
|
|
@@ -14972,6 +14969,7 @@ const MerchantCard = _ref => {
|
|
|
14972
14969
|
dragHandleProps,
|
|
14973
14970
|
variant = "default",
|
|
14974
14971
|
onClose,
|
|
14972
|
+
onAdd,
|
|
14975
14973
|
className,
|
|
14976
14974
|
style
|
|
14977
14975
|
} = _ref,
|
|
@@ -14988,7 +14986,7 @@ const MerchantCard = _ref => {
|
|
|
14988
14986
|
className: className
|
|
14989
14987
|
}, others), /*#__PURE__*/React__default.createElement(Group, {
|
|
14990
14988
|
justify: "space-between",
|
|
14991
|
-
align: "center",
|
|
14989
|
+
align: variant === "add" ? "flex-end" : "center",
|
|
14992
14990
|
wrap: "nowrap"
|
|
14993
14991
|
}, /*#__PURE__*/React__default.createElement(Group, {
|
|
14994
14992
|
gap: "md",
|
|
@@ -15056,7 +15054,7 @@ const MerchantCard = _ref => {
|
|
|
15056
15054
|
name: "CloseCircle",
|
|
15057
15055
|
size: 24,
|
|
15058
15056
|
color: "#A1A8AF"
|
|
15059
|
-
})) : /*#__PURE__*/React__default.createElement(ActionIcon, _extends({
|
|
15057
|
+
})) : variant === "default" ? /*#__PURE__*/React__default.createElement(ActionIcon, _extends({
|
|
15060
15058
|
variant: "transparent",
|
|
15061
15059
|
style: {
|
|
15062
15060
|
cursor: "grab",
|
|
@@ -15066,6 +15064,19 @@ const MerchantCard = _ref => {
|
|
|
15066
15064
|
name: "Maximize4",
|
|
15067
15065
|
size: 24,
|
|
15068
15066
|
color: "#1C1C1C"
|
|
15067
|
+
})) : /*#__PURE__*/React__default.createElement(ActionIcon, {
|
|
15068
|
+
bg: "#0F193D",
|
|
15069
|
+
w: 32,
|
|
15070
|
+
h: 32,
|
|
15071
|
+
radius: "100%",
|
|
15072
|
+
onClick: e => {
|
|
15073
|
+
e.stopPropagation();
|
|
15074
|
+
onAdd === null || onAdd === void 0 || onAdd();
|
|
15075
|
+
}
|
|
15076
|
+
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
15077
|
+
name: "Add",
|
|
15078
|
+
size: 24,
|
|
15079
|
+
color: "#FFFFFF"
|
|
15069
15080
|
}))));
|
|
15070
15081
|
};
|
|
15071
15082
|
|
|
@@ -15079,13 +15090,13 @@ const TableStateView = _ref => {
|
|
|
15079
15090
|
iconBgColor = "rgba(255,255,255,0.8)",
|
|
15080
15091
|
borderColor
|
|
15081
15092
|
} = _ref;
|
|
15082
|
-
return /*#__PURE__*/
|
|
15093
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
15083
15094
|
pos: "relative",
|
|
15084
15095
|
style: {
|
|
15085
15096
|
flex: 1,
|
|
15086
15097
|
overflow: "hidden"
|
|
15087
15098
|
}
|
|
15088
|
-
}, /*#__PURE__*/
|
|
15099
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
15089
15100
|
pos: "absolute",
|
|
15090
15101
|
inset: 0,
|
|
15091
15102
|
style: {
|
|
@@ -15093,17 +15104,17 @@ const TableStateView = _ref => {
|
|
|
15093
15104
|
pointerEvents: "none"
|
|
15094
15105
|
},
|
|
15095
15106
|
p: "xl"
|
|
15096
|
-
}, /*#__PURE__*/
|
|
15107
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
15097
15108
|
gap: "40px",
|
|
15098
15109
|
w: "100%"
|
|
15099
15110
|
}, Array.from({
|
|
15100
15111
|
length: 12
|
|
15101
|
-
}).map((_, i) => /*#__PURE__*/
|
|
15112
|
+
}).map((_, i) => /*#__PURE__*/React__default.createElement(Group, {
|
|
15102
15113
|
key: i,
|
|
15103
15114
|
gap: "lg",
|
|
15104
15115
|
wrap: "nowrap",
|
|
15105
15116
|
w: "100%"
|
|
15106
|
-
}, /*#__PURE__*/
|
|
15117
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
15107
15118
|
h: 20,
|
|
15108
15119
|
w: 40,
|
|
15109
15120
|
bg: "gray.1",
|
|
@@ -15111,7 +15122,7 @@ const TableStateView = _ref => {
|
|
|
15111
15122
|
style: {
|
|
15112
15123
|
borderRadius: "4px"
|
|
15113
15124
|
}
|
|
15114
|
-
}), /*#__PURE__*/
|
|
15125
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
15115
15126
|
h: 20,
|
|
15116
15127
|
w: 200,
|
|
15117
15128
|
bg: "gray.1",
|
|
@@ -15119,7 +15130,7 @@ const TableStateView = _ref => {
|
|
|
15119
15130
|
style: {
|
|
15120
15131
|
borderRadius: "4px"
|
|
15121
15132
|
}
|
|
15122
|
-
}), /*#__PURE__*/
|
|
15133
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
15123
15134
|
h: 20,
|
|
15124
15135
|
w: 80,
|
|
15125
15136
|
bg: "gray.1",
|
|
@@ -15128,7 +15139,7 @@ const TableStateView = _ref => {
|
|
|
15128
15139
|
borderRadius: "4px"
|
|
15129
15140
|
},
|
|
15130
15141
|
visibleFrom: "xs"
|
|
15131
|
-
}), /*#__PURE__*/
|
|
15142
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
15132
15143
|
h: 20,
|
|
15133
15144
|
w: 60,
|
|
15134
15145
|
bg: "gray.1",
|
|
@@ -15138,7 +15149,7 @@ const TableStateView = _ref => {
|
|
|
15138
15149
|
flex: "1"
|
|
15139
15150
|
},
|
|
15140
15151
|
visibleFrom: "sm"
|
|
15141
|
-
}), /*#__PURE__*/
|
|
15152
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
15142
15153
|
h: 20,
|
|
15143
15154
|
w: 70,
|
|
15144
15155
|
bg: "gray.1",
|
|
@@ -15148,7 +15159,7 @@ const TableStateView = _ref => {
|
|
|
15148
15159
|
flex: "1"
|
|
15149
15160
|
},
|
|
15150
15161
|
visibleFrom: "md"
|
|
15151
|
-
}), /*#__PURE__*/
|
|
15162
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
15152
15163
|
h: 20,
|
|
15153
15164
|
w: 90,
|
|
15154
15165
|
bg: "gray.1",
|
|
@@ -15156,14 +15167,14 @@ const TableStateView = _ref => {
|
|
|
15156
15167
|
borderRadius: "4px"
|
|
15157
15168
|
},
|
|
15158
15169
|
visibleFrom: "lg"
|
|
15159
|
-
}))))), /*#__PURE__*/
|
|
15170
|
+
}))))), /*#__PURE__*/React__default.createElement(Box, {
|
|
15160
15171
|
pos: "absolute",
|
|
15161
15172
|
inset: 0,
|
|
15162
15173
|
style: {
|
|
15163
15174
|
zIndex: 1,
|
|
15164
15175
|
background: "linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 100%)"
|
|
15165
15176
|
}
|
|
15166
|
-
}), /*#__PURE__*/
|
|
15177
|
+
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
15167
15178
|
pos: "relative",
|
|
15168
15179
|
h: "100%",
|
|
15169
15180
|
align: "center",
|
|
@@ -15175,7 +15186,7 @@ const TableStateView = _ref => {
|
|
|
15175
15186
|
style: {
|
|
15176
15187
|
zIndex: 2
|
|
15177
15188
|
}
|
|
15178
|
-
}, /*#__PURE__*/
|
|
15189
|
+
}, /*#__PURE__*/React__default.createElement(ThemeIcon, {
|
|
15179
15190
|
size: 64,
|
|
15180
15191
|
radius: 16,
|
|
15181
15192
|
variant: "default",
|
|
@@ -15184,14 +15195,14 @@ const TableStateView = _ref => {
|
|
|
15184
15195
|
border: "1px dashed ".concat(borderColor || "var(--mantine-color-".concat(iconColor, "-4)")),
|
|
15185
15196
|
backgroundColor: iconBgColor
|
|
15186
15197
|
}
|
|
15187
|
-
}, icon), /*#__PURE__*/
|
|
15198
|
+
}, icon), /*#__PURE__*/React__default.createElement(Stack, {
|
|
15188
15199
|
gap: 4,
|
|
15189
15200
|
align: "center"
|
|
15190
|
-
}, /*#__PURE__*/
|
|
15201
|
+
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
15191
15202
|
fw: 600,
|
|
15192
15203
|
size: "lg",
|
|
15193
15204
|
c: "dark"
|
|
15194
|
-
}, title), /*#__PURE__*/
|
|
15205
|
+
}, title), /*#__PURE__*/React__default.createElement(Text, {
|
|
15195
15206
|
c: "dimmed",
|
|
15196
15207
|
size: "sm",
|
|
15197
15208
|
ta: "center",
|
|
@@ -15606,9 +15617,9 @@ const ModalContentWrapper = _ref => {
|
|
|
15606
15617
|
let {
|
|
15607
15618
|
children
|
|
15608
15619
|
} = _ref;
|
|
15609
|
-
return /*#__PURE__*/React
|
|
15620
|
+
return /*#__PURE__*/React.createElement(MantineProvider, {
|
|
15610
15621
|
theme: theme
|
|
15611
|
-
}, /*#__PURE__*/React
|
|
15622
|
+
}, /*#__PURE__*/React.createElement(DatesProvider, {
|
|
15612
15623
|
settings: {
|
|
15613
15624
|
locale: "en",
|
|
15614
15625
|
timezone: "UTC"
|
|
@@ -15669,13 +15680,13 @@ function withProviders(Component) {
|
|
|
15669
15680
|
const WrappedComponent = props => {
|
|
15670
15681
|
var _process$env;
|
|
15671
15682
|
const showDevtools = enableDevtools && typeof process !== "undefined" && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === "development";
|
|
15672
|
-
return /*#__PURE__*/React
|
|
15683
|
+
return /*#__PURE__*/React.createElement(QueryClientProvider, {
|
|
15673
15684
|
client: queryClient
|
|
15674
|
-
}, /*#__PURE__*/React
|
|
15685
|
+
}, /*#__PURE__*/React.createElement(MantineProvider, {
|
|
15675
15686
|
theme: customTheme
|
|
15676
|
-
}, /*#__PURE__*/React
|
|
15687
|
+
}, /*#__PURE__*/React.createElement(DatesProvider, {
|
|
15677
15688
|
settings: datesSettings
|
|
15678
|
-
}, /*#__PURE__*/React
|
|
15689
|
+
}, /*#__PURE__*/React.createElement(Component, props), showDevtools && /*#__PURE__*/React.createElement(ReactQueryDevtools, null))));
|
|
15679
15690
|
};
|
|
15680
15691
|
WrappedComponent.displayName = "withProviders(".concat(Component.displayName || Component.name || "Component", ")");
|
|
15681
15692
|
return WrappedComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, Q as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-
|
|
1
|
+
export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, Q as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-Coanii6M.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@mantine/modals';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import { LoadingModal } from "./Loading";
|
|
3
|
+
import "@mantine/core/styles.css";
|
|
4
|
+
declare const _default: Meta<typeof LoadingModal>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const LoadingModalExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@mantine/modals").ContextModalProps<import("./Loading.types").LoadingModalProps>>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { TableStateViewProps } from "./TableStateView.types";
|
|
2
|
-
export declare const TableStateView:
|
|
3
|
+
export declare const TableStateView: React.FC<TableStateViewProps>;
|
|
@@ -6,4 +6,5 @@ export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<imp
|
|
|
6
6
|
export declare const NoLogo: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./MerchantCard.types").MerchantCardProps>;
|
|
7
7
|
export declare const LongName: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./MerchantCard.types").MerchantCardProps>;
|
|
8
8
|
export declare const Removable: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./MerchantCard.types").MerchantCardProps>;
|
|
9
|
+
export declare const AddMerchant: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./MerchantCard.types").MerchantCardProps>;
|
|
9
10
|
export declare const DraggableList: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,7 +13,9 @@ export interface MerchantCardProps extends React.ComponentPropsWithoutRef<"div">
|
|
|
13
13
|
/** Props for the drag handle from dnd-kit */
|
|
14
14
|
dragHandleProps?: any;
|
|
15
15
|
/** Component variant */
|
|
16
|
-
variant?: "default" | "closable";
|
|
16
|
+
variant?: "default" | "closable" | "add";
|
|
17
17
|
/** Close handler (for closable variant) */
|
|
18
18
|
onClose?: () => void;
|
|
19
|
+
/** Add handler (for add variant) */
|
|
20
|
+
onAdd?: () => void;
|
|
19
21
|
}
|
package/package.json
CHANGED