@caspeco/casper-ui-library 5.1.1 → 5.3.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/README.md +1 -0
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.js +5 -5
- package/dist/components/breadcrumbs/breadcrumb-link.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-link.js +3 -3
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +13 -2
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +62 -37
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.d.ts.map +1 -1
- package/dist/components/menu/menu-box-button.d.ts +4 -0
- package/dist/components/menu/menu-box-button.d.ts.map +1 -1
- package/dist/components/menu/menu-button.d.ts +4 -0
- package/dist/components/menu/menu-button.d.ts.map +1 -1
- package/dist/components/menu/menu-icon-button.d.ts +7 -0
- package/dist/components/menu/menu-icon-button.d.ts.map +1 -0
- package/dist/components/menu/menu-icon-button.js +7 -0
- package/dist/components/menu/menu.d.ts +3 -0
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/types.d.ts +1 -1
- package/dist/components/table/types.d.ts.map +1 -1
- package/dist/index.js +90 -88
- package/dist/theme/theme-config/components/paginator-theme.d.ts +1 -0
- package/dist/theme/theme-config/components/paginator-theme.d.ts.map +1 -1
- package/dist/theme/theme-config/components/paginator-theme.js +8 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,3 +63,4 @@ export default defineConfig({
|
|
|
63
63
|
3. Make your changes.
|
|
64
64
|
4. Bump the `version` field in `package.json` (following [Semantic versioning](https://semver.org/)) and run `npm install`.
|
|
65
65
|
5. Open a [pull request](https://github.com/Caspeco/casper-ui-library/pulls) using the template and assign a reviewer.
|
|
66
|
+
6. When you have gotten your PR approved, merge the PR. If you have a new version in package.json it will automatically publish your changes to npm. A new version of the documentation website will always be built.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BreadcrumbItemProps as ChakraBreadcrumbItemProps } from '@chakra-ui/react';
|
|
2
|
-
type ChakraBreadcrumbItemProperties = Pick<ChakraBreadcrumbItemProps, "children" | "isCurrentPage" | "key" | "color">;
|
|
2
|
+
type ChakraBreadcrumbItemProperties = Pick<ChakraBreadcrumbItemProps, "overflow" | "children" | "isCurrentPage" | "key" | "color">;
|
|
3
3
|
export type BreadcrumbItemProps = ChakraBreadcrumbItemProperties;
|
|
4
4
|
export declare function BreadcrumbItem({ children, ...props }: BreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-item.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumb-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,MAAM,kBAAkB,CAAC;AAE1B,KAAK,8BAA8B,GAAG,IAAI,CACzC,yBAAyB,EACzB,UAAU,GAAG,eAAe,GAAG,KAAK,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"breadcrumb-item.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumb-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,MAAM,kBAAkB,CAAC;AAE1B,KAAK,8BAA8B,GAAG,IAAI,CACzC,yBAAyB,EACzB,UAAU,GAAG,UAAU,GAAG,eAAe,GAAG,KAAK,GAAG,OAAO,CAC3D,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,8BAA8B,CAAC;AAEjE,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAMzE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { BreadcrumbItem as
|
|
3
|
-
function
|
|
4
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { BreadcrumbItem as o } from "@chakra-ui/react";
|
|
3
|
+
function c({ children: r, ...e }) {
|
|
4
|
+
return /* @__PURE__ */ m(o, { whiteSpace: "nowrap", overflow: "hidden", ...e, children: r });
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
c as BreadcrumbItem
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-link.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumb-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,MAAM,kBAAkB,CAAC;AAE1B,KAAK,8BAA8B,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC,CAAC;AAClG,MAAM,MAAM,mBAAmB,GAAG,8BAA8B,GAAG;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"breadcrumb-link.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumb-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,MAAM,kBAAkB,CAAC;AAE1B,KAAK,8BAA8B,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC,CAAC;AAClG,MAAM,MAAM,mBAAmB,GAAG,8BAA8B,GAAG;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAMzE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { BreadcrumbLink as
|
|
3
|
-
function t({ children: r, ...
|
|
4
|
-
return /* @__PURE__ */ i(
|
|
2
|
+
import { BreadcrumbLink as o } from "@chakra-ui/react";
|
|
3
|
+
function t({ children: r, ...e }) {
|
|
4
|
+
return /* @__PURE__ */ i(o, { overflow: "hidden", textOverflow: "ellipsis", ...e, children: r });
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
7
|
t as BreadcrumbLink
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
+
import { As } from '@chakra-ui/react';
|
|
1
2
|
export type Breadcrumb = {
|
|
2
3
|
title: string;
|
|
3
|
-
as?:
|
|
4
|
+
as?: As;
|
|
4
5
|
to?: string;
|
|
5
6
|
href?: string;
|
|
6
7
|
};
|
|
7
8
|
export type BreadcrumbsProps = {
|
|
9
|
+
/**
|
|
10
|
+
* The number of items to show before the ellipsis when collapsed.
|
|
11
|
+
* @default 1
|
|
12
|
+
*/
|
|
13
|
+
itemsBeforeCollapse?: number;
|
|
14
|
+
/**
|
|
15
|
+
* The number of items to show after the ellipsis when collapsed.
|
|
16
|
+
* @default 2
|
|
17
|
+
*/
|
|
18
|
+
itemsAfterCollapse?: number;
|
|
8
19
|
breadCrumbs: Breadcrumb[];
|
|
9
20
|
};
|
|
10
|
-
export declare function Breadcrumbs({ breadCrumbs }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function Breadcrumbs({ breadCrumbs, itemsBeforeCollapse, itemsAfterCollapse, }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
22
|
//# sourceMappingURL=breadcrumbs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkC,KAAK,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAI3E,MAAM,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,EAAE,CAAC;IACR,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAMF,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AAgEF,wBAAgB,WAAW,CAAC,EAC3B,WAAW,EACX,mBAAuB,EACvB,kBAAsB,GACtB,EAAE,gBAAgB,2CA6DlB"}
|
|
@@ -1,55 +1,80 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { Breadcrumb as
|
|
3
|
-
import { BreadcrumbItem as
|
|
4
|
-
import { BreadcrumbLink as
|
|
5
|
-
import { Menu as
|
|
6
|
-
import { MenuButton as
|
|
7
|
-
import { MenuList as
|
|
8
|
-
import { MenuItem as
|
|
9
|
-
import { ThemeFontVariable as
|
|
10
|
-
function
|
|
11
|
-
const
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
t.as && t.to && !t.href && /* @__PURE__ */ o(
|
|
14
|
-
t.href && !t.as && !t.to && /* @__PURE__ */ o(
|
|
1
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { Breadcrumb as f } from "@chakra-ui/react";
|
|
3
|
+
import { BreadcrumbItem as M } from "./breadcrumb-item.js";
|
|
4
|
+
import { BreadcrumbLink as m } from "./breadcrumb-link.js";
|
|
5
|
+
import { Menu as O } from "../menu/menu.js";
|
|
6
|
+
import { MenuButton as w } from "../menu/menu-button.js";
|
|
7
|
+
import { MenuList as z } from "../menu/menu-list.js";
|
|
8
|
+
import { MenuItem as u } from "../menu/menu-item.js";
|
|
9
|
+
import { ThemeFontVariable as a, ThemeFontSizeVariable as B, ThemeColorVariable as c } from "../../theme/theme-types.js";
|
|
10
|
+
function g({ key: n, isCurrentPage: e, breadCrumb: t }) {
|
|
11
|
+
const i = e ? c.OnBackground : c.OnBackgroundSubdued;
|
|
12
|
+
return /* @__PURE__ */ d(M, { isCurrentPage: e, color: i, children: [
|
|
13
|
+
t.as && t.to && !t.href && /* @__PURE__ */ o(m, { as: t.as, to: t.to, children: t.title }),
|
|
14
|
+
t.href && !t.as && !t.to && /* @__PURE__ */ o(m, { href: t.href, children: t.title })
|
|
15
15
|
] }, n);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
return /* @__PURE__ */ o(
|
|
19
|
-
/* @__PURE__ */ o(
|
|
20
|
-
/* @__PURE__ */ o(
|
|
17
|
+
function F({ key: n, breadCrumbs: e }) {
|
|
18
|
+
return /* @__PURE__ */ o(M, { overflow: "unset", color: c.OnBackgroundSubdued, children: /* @__PURE__ */ d(O, { children: [
|
|
19
|
+
/* @__PURE__ */ o(w, { variant: "ghost", size: "sm", "aria-label": "Show collapsed items", children: "..." }),
|
|
20
|
+
/* @__PURE__ */ o(z, { children: e.map((t, i) => t.as && t.to ? /* @__PURE__ */ o(u, { as: t.as, to: t.to, children: t.title }, i) : t.href ? /* @__PURE__ */ o(u, { itemType: "link", href: t.href, children: t.title }, i) : /* @__PURE__ */ o(u, { isDisabled: !0, children: t.title }, i)) })
|
|
21
21
|
] }) }, n);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
function H({
|
|
24
|
+
breadCrumbs: n,
|
|
25
|
+
itemsBeforeCollapse: e = 1,
|
|
26
|
+
itemsAfterCollapse: t = 2
|
|
27
|
+
}) {
|
|
28
|
+
const i = e + t;
|
|
29
|
+
if (!(n.length > i)) {
|
|
30
|
+
const l = n;
|
|
31
|
+
return /* @__PURE__ */ o(
|
|
32
|
+
f,
|
|
33
|
+
{
|
|
34
|
+
color: c.OnBackground,
|
|
35
|
+
fontSize: B.Medium,
|
|
36
|
+
fontFamily: a.Body,
|
|
37
|
+
width: "100%",
|
|
38
|
+
children: l.map((r, s, h) => {
|
|
39
|
+
const I = s + 1 === h.length;
|
|
40
|
+
return g({
|
|
41
|
+
key: s.toString(),
|
|
42
|
+
isCurrentPage: I,
|
|
43
|
+
breadCrumb: r
|
|
44
|
+
});
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
const k = n.slice(0, e), p = t > 0 ? n.slice(-t) : [], S = n.slice(e, n.length - t), y = [
|
|
50
|
+
...k,
|
|
26
51
|
{
|
|
27
52
|
title: "",
|
|
28
|
-
as: "",
|
|
29
53
|
isMenuButton: !0
|
|
30
54
|
},
|
|
31
|
-
...
|
|
32
|
-
]
|
|
55
|
+
...p
|
|
56
|
+
];
|
|
33
57
|
return /* @__PURE__ */ o(
|
|
34
|
-
|
|
58
|
+
f,
|
|
35
59
|
{
|
|
36
60
|
color: c.OnBackground,
|
|
37
|
-
fontSize:
|
|
38
|
-
fontFamily:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
61
|
+
fontSize: B.Medium,
|
|
62
|
+
fontFamily: a.Body,
|
|
63
|
+
width: "100%",
|
|
64
|
+
children: y.map((l, r, s) => {
|
|
65
|
+
const h = r + 1 === s.length;
|
|
66
|
+
return l.isMenuButton ? F({
|
|
67
|
+
key: r.toString(),
|
|
68
|
+
breadCrumbs: S
|
|
69
|
+
}) : g({
|
|
70
|
+
key: r.toString(),
|
|
71
|
+
isCurrentPage: h,
|
|
72
|
+
breadCrumb: l
|
|
48
73
|
});
|
|
49
74
|
})
|
|
50
75
|
}
|
|
51
76
|
);
|
|
52
77
|
}
|
|
53
78
|
export {
|
|
54
|
-
|
|
79
|
+
H as Breadcrumbs
|
|
55
80
|
};
|
|
@@ -6,6 +6,7 @@ export { MenuDivider } from './menu-divider.js';
|
|
|
6
6
|
export type { MenuDividerProps } from './menu-divider.js';
|
|
7
7
|
export { MenuGroup } from './menu-group.js';
|
|
8
8
|
export type { MenuGroupProps } from './menu-group.js';
|
|
9
|
+
export { MenuIconButton } from './menu-icon-button.js';
|
|
9
10
|
export { MenuItem } from './menu-item.js';
|
|
10
11
|
export type { MenuItemProps } from './menu-item.js';
|
|
11
12
|
export { MenuList } from './menu-list.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { BoxProps } from '../box/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* A Box that acts as a trigger for Menu
|
|
4
|
+
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
5
|
+
*/
|
|
2
6
|
export declare const MenuBoxButton: ({ children, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
7
|
//# sourceMappingURL=menu-box-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-box-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-box-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,aAAa,GAAI,wBAAwB,QAAQ,4CAM7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"menu-box-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-box-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,wBAAwB,QAAQ,4CAM7D,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '../button/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* A Button that acts as a trigger for Menu
|
|
4
|
+
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
5
|
+
*/
|
|
2
6
|
export declare const MenuButton: ({ children, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
7
|
//# sourceMappingURL=menu-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D,eAAO,MAAM,UAAU,GAAI,wBAAwB,WAAW,4CAM7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,wBAAwB,WAAW,4CAM7D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IconButtonProps } from '../icon-button/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* An IconButton that acts as a trigger for Menu
|
|
4
|
+
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
5
|
+
*/
|
|
6
|
+
export declare const MenuIconButton: (iconButtonProps: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=menu-icon-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-icon-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-icon-button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,iBAAiB,eAAe,4CAE9D,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { MenuProps as ChakraMenuProps } from '@chakra-ui/react';
|
|
2
2
|
type ChakraMenuProperties = Pick<ChakraMenuProps, "children" | "closeOnBlur" | "closeOnSelect" | "matchWidth" | "placement" | "offset" | "isLazy" | "lazyBehavior">;
|
|
3
3
|
export type MenuProps = Partial<ChakraMenuProperties>;
|
|
4
|
+
/**
|
|
5
|
+
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
6
|
+
*/
|
|
4
7
|
export declare function Menu({ children, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,oBAAoB,GAAG,IAAI,CAC/B,eAAe,EACb,UAAU,GACV,aAAa,GACb,eAAe,GACf,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,cAAc,CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAEtD,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMrD"}
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,oBAAoB,GAAG,IAAI,CAC/B,eAAe,EACb,UAAU,GACV,aAAa,GACb,eAAe,GACf,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,cAAc,CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAEtD;;GAEG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMrD"}
|
|
@@ -4,5 +4,5 @@ export { TableContent } from './table-content.js';
|
|
|
4
4
|
export { TableToolbar } from './table-toolbar.js';
|
|
5
5
|
export type { TableContentProps } from './table-content.js';
|
|
6
6
|
export type { TableToolbarProps } from './table-toolbar.js';
|
|
7
|
-
export type { CellContext, ColumnDef, ExpandedState, TableDataType, TableProps, TableSubrows, VisibilityState, } from './types.js';
|
|
7
|
+
export type { CellContext, ColumnDef, ExpandedState, RowSelectionState, TableDataType, TableProps, TableSubrows, VisibilityState, } from './types.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EACX,WAAW,EACX,SAAS,EACT,aAAa,EACb,aAAa,EACb,UAAU,EACV,YAAY,EACZ,eAAe,GACf,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EACX,WAAW,EACX,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,eAAe,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellContext, Column, ColumnDef, ExpandedState, RowData, RowSelectionState, VisibilityState } from '@tanstack/react-table';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { Locales } from './translations.js';
|
|
4
|
-
export type { CellContext, ColumnDef, ExpandedState, VisibilityState };
|
|
4
|
+
export type { CellContext, ColumnDef, ExpandedState, RowSelectionState, VisibilityState };
|
|
5
5
|
export type TableSubrows<K> = {
|
|
6
6
|
subRows?: K[];
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,MAAM,EACN,SAAS,EACT,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,MAAM,EACN,SAAS,EACT,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,CAAC;AAE1F,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI;IAC7B,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE/E,UAAU,cAAc,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC;IACjD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;IACzB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;IAC5C;;;;;OAKG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAClD;;OAEG;IACH,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,4BAA4B,CAAC,EAAE,eAAe,CAAC;IAC/C;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAClF;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAKvG,qBAAqB,CAAC,EAAE,eAAe,CAAC;IACxC;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,0EAA0E;IAC1E,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;CACxC;AAED,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC;AAE1F;;;GAGG;AACH,OAAO,QAAQ,uBAAuB,CAAC;IACtC,UAAU,UAAU,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM;QACjD,SAAS,CAAC,EAAE,OAAO,CAAC;QAEpB,WAAW,CAAC,EAAE,KAAK,CAAC;QAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;KACtB;IACD,UAAU,SAAS,CAAC,KAAK,SAAS,OAAO;QACxC,KAAK,CAAC,EAAE,KAAK,CAAC;KACd;CACD"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useColorMode as e, useDisclosure as t, useRadioGroup as m } from "@chakra-ui/react";
|
|
2
2
|
import { isTouchScreenDevice as x } from "./theme/theme-helper.js";
|
|
3
3
|
import { ThemeColorModeScript as a, ThemeProvider as i, ThemeProviderContext as n } from "./theme/theme-provider.js";
|
|
4
|
-
import { ThemeBorderVariable as d, ThemeBreakPointVariable as u, ThemeColorVariable as T, ThemeFontSizeVariable as c, ThemeFontVariable as s, ThemeIconSizeVariable as b, ThemeRadiusVariable as
|
|
4
|
+
import { ThemeBorderVariable as d, ThemeBreakPointVariable as u, ThemeColorVariable as T, ThemeFontSizeVariable as c, ThemeFontVariable as s, ThemeIconSizeVariable as b, ThemeRadiusVariable as M, ThemeShadowVariable as h, ThemeSpaceVariable as g } from "./theme/theme-types.js";
|
|
5
5
|
import { Accordion as C } from "./components/accordion/accordion.js";
|
|
6
|
-
import { AccordionItem as
|
|
6
|
+
import { AccordionItem as I } from "./components/accordion/accordion-item.js";
|
|
7
7
|
import { AccordionPanel as L } from "./components/accordion/accordion-panel.js";
|
|
8
8
|
import { Alert as V } from "./components/alert/alert.js";
|
|
9
9
|
import { Badge as D } from "./components/badge/badge.js";
|
|
@@ -27,10 +27,10 @@ import { Grid as no } from "./components/grid/grid.js";
|
|
|
27
27
|
import { GridItem as uo } from "./components/grid/grid-item.js";
|
|
28
28
|
import { Heading as co } from "./components/heading/heading.js";
|
|
29
29
|
import { Icon as bo } from "./components/icon/icon.js";
|
|
30
|
-
import { Icons as
|
|
30
|
+
import { Icons as ho } from "./components/icon/types.js";
|
|
31
31
|
import { IconButton as Bo } from "./components/icon-button/icon-button.js";
|
|
32
32
|
import { Image as So } from "./components/image/image.js";
|
|
33
|
-
import { ImageUpload as
|
|
33
|
+
import { ImageUpload as ko } from "./components/image-upload/image-upload.js";
|
|
34
34
|
import { ImageUploadAspectRatio as Po } from "./components/image-upload/types.js";
|
|
35
35
|
import { Input as vo } from "./components/input/input.js";
|
|
36
36
|
import { Link as Fo } from "./components/link/link.js";
|
|
@@ -41,48 +41,49 @@ import { MenuBoxButton as zo } from "./components/menu/menu-box-button.js";
|
|
|
41
41
|
import { MenuButton as Eo } from "./components/menu/menu-button.js";
|
|
42
42
|
import { MenuDivider as Wo } from "./components/menu/menu-divider.js";
|
|
43
43
|
import { MenuGroup as qo } from "./components/menu/menu-group.js";
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
44
|
+
import { MenuIconButton as Ko } from "./components/menu/menu-icon-button.js";
|
|
45
|
+
import { MenuItem as Xo } from "./components/menu/menu-item.js";
|
|
46
|
+
import { MenuList as Zo } from "./components/menu/menu-list.js";
|
|
47
|
+
import { Message as $o } from "./components/message/message.js";
|
|
48
|
+
import { Modal as rr } from "./components/modal/modal.js";
|
|
49
|
+
import { ModalBody as tr } from "./components/modal/modal-body.js";
|
|
50
|
+
import { ModalCloseButton as pr } from "./components/modal/modal-close-button.js";
|
|
51
|
+
import { ModalFooter as fr } from "./components/modal/modal-footer.js";
|
|
52
|
+
import { ModalHeader as ir } from "./components/modal/modal-header.js";
|
|
53
|
+
import { NavigationList as lr } from "./components/navigation-list/navigation-list.js";
|
|
54
|
+
import { NavigationListButton as ur, NavigationListLink as Tr } from "./components/navigation-list/navigation-list-item.js";
|
|
55
|
+
import { Paginator as sr } from "./components/paginator/paginator.js";
|
|
56
|
+
import { QuantityButton as Mr } from "./components/quantity-button/quantity-button.js";
|
|
57
|
+
import { Radio as gr } from "./components/radio/radio.js";
|
|
58
|
+
import { RadioAddon as Cr } from "./components/radio/radio-addon.js";
|
|
59
|
+
import { RadioCard as Ir } from "./components/radio/radio-card.js";
|
|
60
|
+
import { RadioGroup as Lr } from "./components/radio-group/radio-group.js";
|
|
61
|
+
import { SegmentedControl as Vr } from "./components/segmented-control/segmented-control.js";
|
|
62
|
+
import { Select as Dr } from "./components/select/select.js";
|
|
63
|
+
import { Skeleton as Rr } from "./components/skeleton/skeleton.js";
|
|
64
|
+
import { SkeletonText as Gr } from "./components/skeleton/skeleton-text.js";
|
|
65
|
+
import { Stack as wr } from "./components/stack/stack.js";
|
|
66
|
+
import { StepContext as yr } from "./components/stepper/step-context.js";
|
|
67
|
+
import { Stepper as Ur } from "./components/stepper/stepper.js";
|
|
68
|
+
import { Switch as Qr } from "./components/switch/switch.js";
|
|
69
|
+
import { createColumnHelper as jr } from "./node_modules/@tanstack/table-core/build/lib/index.js";
|
|
70
|
+
import { Table as Jr } from "./components/table/table.js";
|
|
71
|
+
import { TableContent as Or } from "./components/table/table-content.js";
|
|
72
|
+
import { TableToolbar as Yr } from "./components/table/table-toolbar.js";
|
|
73
|
+
import { Tab as _r } from "./components/tabs/tab.js";
|
|
74
|
+
import { TabList as oe } from "./components/tabs/tab-list.js";
|
|
75
|
+
import { TabPanel as ee } from "./components/tabs/tab-panel.js";
|
|
76
|
+
import { TabPanels as me } from "./components/tabs/tab-panels.js";
|
|
77
|
+
import { Tabs as xe } from "./components/tabs/tabs.js";
|
|
78
|
+
import { Tag as ae } from "./components/tag/tag.js";
|
|
79
|
+
import { Text as ne } from "./components/text/text.js";
|
|
80
|
+
import { Textarea as de } from "./components/textarea/textarea.js";
|
|
81
|
+
import { useToast as Te } from "./components/toast/toast.js";
|
|
82
|
+
import { ToggleButton as se } from "./components/toggle-button/toggle-button.js";
|
|
83
|
+
import { Tooltip as Me } from "./components/tooltip/tooltip.js";
|
|
83
84
|
export {
|
|
84
85
|
C as Accordion,
|
|
85
|
-
|
|
86
|
+
I as AccordionItem,
|
|
86
87
|
L as AccordionPanel,
|
|
87
88
|
V as Alert,
|
|
88
89
|
D as Badge,
|
|
@@ -108,9 +109,9 @@ export {
|
|
|
108
109
|
co as Heading,
|
|
109
110
|
bo as Icon,
|
|
110
111
|
Bo as IconButton,
|
|
111
|
-
|
|
112
|
+
ho as Icons,
|
|
112
113
|
So as Image,
|
|
113
|
-
|
|
114
|
+
ko as ImageUpload,
|
|
114
115
|
Po as ImageUploadAspectRatio,
|
|
115
116
|
vo as Input,
|
|
116
117
|
Fo as Link,
|
|
@@ -121,42 +122,43 @@ export {
|
|
|
121
122
|
Eo as MenuButton,
|
|
122
123
|
Wo as MenuDivider,
|
|
123
124
|
qo as MenuGroup,
|
|
124
|
-
Ko as
|
|
125
|
-
Xo as
|
|
126
|
-
Zo as
|
|
127
|
-
$o as
|
|
128
|
-
rr as
|
|
129
|
-
tr as
|
|
130
|
-
pr as
|
|
131
|
-
fr as
|
|
132
|
-
ir as
|
|
133
|
-
lr as
|
|
134
|
-
|
|
135
|
-
Tr as
|
|
136
|
-
sr as
|
|
137
|
-
|
|
138
|
-
gr as
|
|
139
|
-
Cr as
|
|
140
|
-
|
|
141
|
-
Lr as
|
|
142
|
-
Vr as
|
|
143
|
-
Dr as
|
|
144
|
-
Rr as
|
|
145
|
-
Gr as
|
|
146
|
-
wr as
|
|
147
|
-
yr as
|
|
148
|
-
Ur as
|
|
149
|
-
|
|
150
|
-
_r as
|
|
151
|
-
oe as
|
|
152
|
-
ee as
|
|
153
|
-
|
|
154
|
-
Jr as
|
|
155
|
-
Or as
|
|
156
|
-
|
|
157
|
-
xe as
|
|
158
|
-
ae as
|
|
159
|
-
ne as
|
|
125
|
+
Ko as MenuIconButton,
|
|
126
|
+
Xo as MenuItem,
|
|
127
|
+
Zo as MenuList,
|
|
128
|
+
$o as Message,
|
|
129
|
+
rr as Modal,
|
|
130
|
+
tr as ModalBody,
|
|
131
|
+
pr as ModalCloseButton,
|
|
132
|
+
fr as ModalFooter,
|
|
133
|
+
ir as ModalHeader,
|
|
134
|
+
lr as NavigationList,
|
|
135
|
+
ur as NavigationListButton,
|
|
136
|
+
Tr as NavigationListLink,
|
|
137
|
+
sr as Paginator,
|
|
138
|
+
Mr as QuantityButton,
|
|
139
|
+
gr as Radio,
|
|
140
|
+
Cr as RadioAddon,
|
|
141
|
+
Ir as RadioCard,
|
|
142
|
+
Lr as RadioGroup,
|
|
143
|
+
Vr as SegmentedControl,
|
|
144
|
+
Dr as Select,
|
|
145
|
+
Rr as Skeleton,
|
|
146
|
+
Gr as SkeletonText,
|
|
147
|
+
wr as Stack,
|
|
148
|
+
yr as StepContext,
|
|
149
|
+
Ur as Stepper,
|
|
150
|
+
Qr as Switch,
|
|
151
|
+
_r as Tab,
|
|
152
|
+
oe as TabList,
|
|
153
|
+
ee as TabPanel,
|
|
154
|
+
me as TabPanels,
|
|
155
|
+
Jr as Table,
|
|
156
|
+
Or as TableContent,
|
|
157
|
+
Yr as TableToolbar,
|
|
158
|
+
xe as Tabs,
|
|
159
|
+
ae as Tag,
|
|
160
|
+
ne as Text,
|
|
161
|
+
de as Textarea,
|
|
160
162
|
d as ThemeBorderVariable,
|
|
161
163
|
u as ThemeBreakPointVariable,
|
|
162
164
|
T as ThemeColorVariable,
|
|
@@ -165,15 +167,15 @@ export {
|
|
|
165
167
|
b as ThemeIconSizeVariable,
|
|
166
168
|
i as ThemeProvider,
|
|
167
169
|
n as ThemeProviderContext,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
M as ThemeRadiusVariable,
|
|
171
|
+
h as ThemeShadowVariable,
|
|
170
172
|
g as ThemeSpaceVariable,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
se as ToggleButton,
|
|
174
|
+
Me as Tooltip,
|
|
175
|
+
jr as createColumnHelper,
|
|
174
176
|
x as isTouchScreenDevice,
|
|
175
177
|
e as useColorMode,
|
|
176
178
|
t as useDisclosure,
|
|
177
179
|
m as useRadioGroup,
|
|
178
|
-
|
|
180
|
+
Te as useToast
|
|
179
181
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/paginator-theme.ts"],"names":[],"mappings":"AACA,OAAO,EACN,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"paginator-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/paginator-theme.ts"],"names":[],"mappings":"AACA,OAAO,EACN,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB1B,CAAC"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { defineStyleConfig as
|
|
2
|
-
import { ThemeFontSizeVariable as
|
|
3
|
-
const
|
|
1
|
+
import { defineStyleConfig as a } from "@chakra-ui/react";
|
|
2
|
+
import { ThemeFontSizeVariable as o, ThemeSpaceVariable as e, ThemeColorVariable as t, ThemeFontVariable as i } from "../../theme-types.js";
|
|
3
|
+
const l = a({
|
|
4
4
|
baseStyle: {
|
|
5
5
|
width: "100%",
|
|
6
|
-
fontFamily:
|
|
7
|
-
color:
|
|
6
|
+
fontFamily: i.Body,
|
|
7
|
+
color: t.OnBackground,
|
|
8
8
|
display: "flex",
|
|
9
9
|
justifyContent: "flex-end",
|
|
10
10
|
alignItems: "center",
|
|
11
|
+
fontVariant: "tabular-nums",
|
|
11
12
|
padding: e.Small,
|
|
12
13
|
gap: e.Medium,
|
|
13
14
|
div: {
|
|
14
15
|
button: {
|
|
15
|
-
fontSize:
|
|
16
|
+
fontSize: o.Large
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
l as paginatorConfig
|
|
22
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caspeco/casper-ui-library",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"prettier": "@caspeco/prettier-config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"jsdom": "^26.1.0",
|
|
41
41
|
"tsc-alias": "^1.8.16",
|
|
42
42
|
"typescript": "~5.9.2",
|
|
43
|
-
"typescript-eslint": "^8.
|
|
43
|
+
"typescript-eslint": "^8.41.0",
|
|
44
44
|
"vite": "^7.1.3",
|
|
45
45
|
"vite-plugin-dts": "^4.5.4",
|
|
46
46
|
"vite-tsconfig-paths": "^5.1.4",
|