@apipass/design-system 1.2.5 → 1.2.6
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/lib/index.cjs +1 -1
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.js +20 -10
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/style.css +1 -1
- package/dist/types/ui/components/Card/Card.d.ts +11 -0
- package/dist/types/ui/components/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/lib/index.js
CHANGED
|
@@ -2757,7 +2757,16 @@ function e2({
|
|
|
2757
2757
|
/* @__PURE__ */ e("svg", { viewBox: "0 0 10 5", children: /* @__PURE__ */ e("path", { d: "M0 0 L5 5 L10 0" }) })
|
|
2758
2758
|
] });
|
|
2759
2759
|
}
|
|
2760
|
-
function Tr({
|
|
2760
|
+
function Tr({ title: r, headerIcon: t, children: o, bodyPadding: n = "24px", className: c, style: l }) {
|
|
2761
|
+
return /* @__PURE__ */ s("div", { className: a("info-card", c), style: l, children: [
|
|
2762
|
+
/* @__PURE__ */ s("div", { className: "info-card-header", children: [
|
|
2763
|
+
/* @__PURE__ */ e("span", { className: "info-card-header-title", children: r }),
|
|
2764
|
+
t && /* @__PURE__ */ e("span", { className: "info-card-header-icon", children: t })
|
|
2765
|
+
] }),
|
|
2766
|
+
/* @__PURE__ */ e("div", { className: "info-card-body", style: { padding: n }, children: o })
|
|
2767
|
+
] });
|
|
2768
|
+
}
|
|
2769
|
+
function Sr({
|
|
2761
2770
|
isOpen: r,
|
|
2762
2771
|
title: t,
|
|
2763
2772
|
message: o,
|
|
@@ -2884,7 +2893,7 @@ function t2({
|
|
|
2884
2893
|
)
|
|
2885
2894
|
] });
|
|
2886
2895
|
}
|
|
2887
|
-
function
|
|
2896
|
+
function $r({
|
|
2888
2897
|
columns: r,
|
|
2889
2898
|
data: t,
|
|
2890
2899
|
actions: o,
|
|
@@ -2959,7 +2968,7 @@ function Sr({
|
|
|
2959
2968
|
)
|
|
2960
2969
|
] });
|
|
2961
2970
|
}
|
|
2962
|
-
function
|
|
2971
|
+
function Or({
|
|
2963
2972
|
isOpen: r,
|
|
2964
2973
|
title: t,
|
|
2965
2974
|
submitLabel: o = "Save",
|
|
@@ -2999,13 +3008,13 @@ function $r({
|
|
|
2999
3008
|
)
|
|
3000
3009
|
] }) }) : null;
|
|
3001
3010
|
}
|
|
3002
|
-
function
|
|
3011
|
+
function Dr({ title: r, subtitle: t }) {
|
|
3003
3012
|
return /* @__PURE__ */ s(F, { direction: "column", gap: "200", className: "page-header", children: [
|
|
3004
3013
|
/* @__PURE__ */ e(M3, { elementType: "h1", className: "page-header-title", children: r }),
|
|
3005
3014
|
t && /* @__PURE__ */ e(M3, { className: "page-header-subtitle", children: t })
|
|
3006
3015
|
] });
|
|
3007
3016
|
}
|
|
3008
|
-
function
|
|
3017
|
+
function Ar({ items: r, currentRoute: t, onNavigate: o }) {
|
|
3009
3018
|
const n = t.replace(/^\//, "");
|
|
3010
3019
|
function c(l) {
|
|
3011
3020
|
return n === l || n.startsWith(l + "/");
|
|
@@ -3037,14 +3046,15 @@ export {
|
|
|
3037
3046
|
$ as Button,
|
|
3038
3047
|
i6 as ButtonDanger,
|
|
3039
3048
|
V7 as ButtonGroup,
|
|
3049
|
+
Tr as Card,
|
|
3040
3050
|
x3 as Checkbox,
|
|
3041
3051
|
j7 as CheckboxField,
|
|
3042
3052
|
w7 as CheckboxGroup,
|
|
3043
3053
|
o6 as CodeEditor,
|
|
3044
3054
|
M7 as CodeEditorField,
|
|
3045
3055
|
v7 as CodeEditorPanel,
|
|
3046
|
-
|
|
3047
|
-
|
|
3056
|
+
Sr as ConfirmDialog,
|
|
3057
|
+
$r as DataTable,
|
|
3048
3058
|
D as Description,
|
|
3049
3059
|
I9 as DestructiveIconButton,
|
|
3050
3060
|
_3 as Dialog,
|
|
@@ -3063,7 +3073,7 @@ export {
|
|
|
3063
3073
|
F as Flex,
|
|
3064
3074
|
vr as FlexItem,
|
|
3065
3075
|
Z7 as Form,
|
|
3066
|
-
|
|
3076
|
+
Or as FormModal,
|
|
3067
3077
|
mr as Grid,
|
|
3068
3078
|
Hr as GridItem,
|
|
3069
3079
|
i as Icon,
|
|
@@ -3382,7 +3392,7 @@ export {
|
|
|
3382
3392
|
q7 as NavigationButton,
|
|
3383
3393
|
G7 as NavigationPill,
|
|
3384
3394
|
k6 as Notification,
|
|
3385
|
-
|
|
3395
|
+
Dr as PageHeader,
|
|
3386
3396
|
Q7 as Pagination,
|
|
3387
3397
|
tr as PaginationGap,
|
|
3388
3398
|
er as PaginationList,
|
|
@@ -3399,7 +3409,7 @@ export {
|
|
|
3399
3409
|
$9 as Select,
|
|
3400
3410
|
ir as SelectField,
|
|
3401
3411
|
cr as SelectItem,
|
|
3402
|
-
|
|
3412
|
+
Ar as Sidebar,
|
|
3403
3413
|
O9 as Slider,
|
|
3404
3414
|
sr as SliderField,
|
|
3405
3415
|
D9 as SliderOutput,
|