@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.
Files changed (29) hide show
  1. package/README.md +1 -0
  2. package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
  3. package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  4. package/dist/components/breadcrumbs/breadcrumb-item.js +5 -5
  5. package/dist/components/breadcrumbs/breadcrumb-link.d.ts.map +1 -1
  6. package/dist/components/breadcrumbs/breadcrumb-link.js +3 -3
  7. package/dist/components/breadcrumbs/breadcrumbs.d.ts +13 -2
  8. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  9. package/dist/components/breadcrumbs/breadcrumbs.js +62 -37
  10. package/dist/components/menu/index.d.ts +1 -0
  11. package/dist/components/menu/index.d.ts.map +1 -1
  12. package/dist/components/menu/menu-box-button.d.ts +4 -0
  13. package/dist/components/menu/menu-box-button.d.ts.map +1 -1
  14. package/dist/components/menu/menu-button.d.ts +4 -0
  15. package/dist/components/menu/menu-button.d.ts.map +1 -1
  16. package/dist/components/menu/menu-icon-button.d.ts +7 -0
  17. package/dist/components/menu/menu-icon-button.d.ts.map +1 -0
  18. package/dist/components/menu/menu-icon-button.js +7 -0
  19. package/dist/components/menu/menu.d.ts +3 -0
  20. package/dist/components/menu/menu.d.ts.map +1 -1
  21. package/dist/components/table/index.d.ts +1 -1
  22. package/dist/components/table/index.d.ts.map +1 -1
  23. package/dist/components/table/types.d.ts +1 -1
  24. package/dist/components/table/types.d.ts.map +1 -1
  25. package/dist/index.js +90 -88
  26. package/dist/theme/theme-config/components/paginator-theme.d.ts +1 -0
  27. package/dist/theme/theme-config/components/paginator-theme.d.ts.map +1 -1
  28. package/dist/theme/theme-config/components/paginator-theme.js +8 -7
  29. 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,CAC9C,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,8BAA8B,CAAC;AAEjE,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAEzE"}
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 e } from "react/jsx-runtime";
2
- import { BreadcrumbItem as t } from "@chakra-ui/react";
3
- function a({ children: r, ...m }) {
4
- return /* @__PURE__ */ e(t, { ...m, children: r });
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
- a as BreadcrumbItem
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,2CAEzE"}
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 n } from "@chakra-ui/react";
3
- function t({ children: r, ...m }) {
4
- return /* @__PURE__ */ i(n, { ...m, children: r });
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?: any;
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":"AAMA,MAAM,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAMF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AAgEF,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,EAAE,gBAAgB,2CAoC5D"}
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 h } from "react/jsx-runtime";
2
- import { Breadcrumb as p } from "@chakra-ui/react";
3
- import { BreadcrumbItem as u } from "./breadcrumb-item.js";
4
- import { BreadcrumbLink as f } from "./breadcrumb-link.js";
5
- import { Menu as d } from "../menu/menu.js";
6
- import { MenuButton as g } from "../menu/menu-button.js";
7
- import { MenuList as M } from "../menu/menu-list.js";
8
- import { MenuItem as s } from "../menu/menu-item.js";
9
- import { ThemeFontVariable as k, ThemeFontSizeVariable as S, ThemeColorVariable as c } from "../../theme/theme-types.js";
10
- function y({ key: n, isCurrentPage: i, breadCrumb: t }) {
11
- const e = i ? c.OnBackground : c.OnBackgroundSubdued;
12
- return /* @__PURE__ */ h(u, { isCurrentPage: i, color: e, children: [
13
- t.as && t.to && !t.href && /* @__PURE__ */ o(f, { as: t.as, to: t.to, children: t.title }),
14
- t.href && !t.as && !t.to && /* @__PURE__ */ o(f, { href: t.href, children: t.title })
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 I({ key: n, breadCrumbs: i }) {
18
- return /* @__PURE__ */ o(u, { color: c.OnBackgroundSubdued, children: /* @__PURE__ */ h(d, { children: [
19
- /* @__PURE__ */ o(g, { variant: "ghost", size: "sm", "aria-label": "Show collapsed items", children: "..." }),
20
- /* @__PURE__ */ o(M, { children: i.map((t, e) => t.as && t.to ? /* @__PURE__ */ o(s, { as: t.as, to: t.to, children: t.title }, e) : t.href ? /* @__PURE__ */ o(s, { itemType: "link", href: t.href, children: t.title }, e) : /* @__PURE__ */ o(s, { isDisabled: !0, children: t.title }, e)) })
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 D({ breadCrumbs: n }) {
24
- const i = n.length > 4, t = i ? n.slice(1, -2) : [], e = n.filter((r) => !t.includes(r)), m = i ? [
25
- ...e.slice(0, 1),
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
- ...e.slice(1)
32
- ] : e;
55
+ ...p
56
+ ];
33
57
  return /* @__PURE__ */ o(
34
- p,
58
+ f,
35
59
  {
36
60
  color: c.OnBackground,
37
- fontSize: S.Medium,
38
- fontFamily: k.Body,
39
- children: m.map((r, l, a) => {
40
- const B = l + 1 === a.length;
41
- return r.isMenuButton ? I({
42
- key: l.toString(),
43
- breadCrumbs: t
44
- }) : y({
45
- key: l.toString(),
46
- isCurrentPage: B,
47
- breadCrumb: r
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
- D as Breadcrumbs
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"}
@@ -0,0 +1,7 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { MenuButton as n } from "@chakra-ui/react";
3
+ import { IconButton as r } from "../icon-button/icon-button.js";
4
+ const p = (o) => /* @__PURE__ */ t(n, { as: r, ...o });
5
+ export {
6
+ p as MenuIconButton
7
+ };
@@ -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,O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;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 h, ThemeShadowVariable as M, ThemeSpaceVariable as g } from "./theme/theme-types.js";
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 k } from "./components/accordion/accordion-item.js";
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 Mo } from "./components/icon/types.js";
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 Io } from "./components/image-upload/image-upload.js";
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 { MenuItem as Ko } from "./components/menu/menu-item.js";
45
- import { MenuList as Xo } from "./components/menu/menu-list.js";
46
- import { Message as Zo } from "./components/message/message.js";
47
- import { Modal as $o } from "./components/modal/modal.js";
48
- import { ModalBody as rr } from "./components/modal/modal-body.js";
49
- import { ModalCloseButton as tr } from "./components/modal/modal-close-button.js";
50
- import { ModalFooter as pr } from "./components/modal/modal-footer.js";
51
- import { ModalHeader as fr } from "./components/modal/modal-header.js";
52
- import { NavigationList as ir } from "./components/navigation-list/navigation-list.js";
53
- import { NavigationListButton as lr, NavigationListLink as dr } from "./components/navigation-list/navigation-list-item.js";
54
- import { Paginator as Tr } from "./components/paginator/paginator.js";
55
- import { QuantityButton as sr } from "./components/quantity-button/quantity-button.js";
56
- import { Radio as hr } from "./components/radio/radio.js";
57
- import { RadioAddon as gr } from "./components/radio/radio-addon.js";
58
- import { RadioCard as Cr } from "./components/radio/radio-card.js";
59
- import { RadioGroup as kr } from "./components/radio-group/radio-group.js";
60
- import { SegmentedControl as Lr } from "./components/segmented-control/segmented-control.js";
61
- import { Select as Vr } from "./components/select/select.js";
62
- import { Skeleton as Dr } from "./components/skeleton/skeleton.js";
63
- import { SkeletonText as Rr } from "./components/skeleton/skeleton-text.js";
64
- import { Stack as Gr } from "./components/stack/stack.js";
65
- import { StepContext as wr } from "./components/stepper/step-context.js";
66
- import { Stepper as yr } from "./components/stepper/stepper.js";
67
- import { Switch as Ur } from "./components/switch/switch.js";
68
- import { createColumnHelper as Qr } from "./node_modules/@tanstack/table-core/build/lib/index.js";
69
- import { Table as jr } from "./components/table/table.js";
70
- import { TableContent as Jr } from "./components/table/table-content.js";
71
- import { TableToolbar as Or } from "./components/table/table-toolbar.js";
72
- import { Tab as Yr } from "./components/tabs/tab.js";
73
- import { TabList as _r } from "./components/tabs/tab-list.js";
74
- import { TabPanel as oe } from "./components/tabs/tab-panel.js";
75
- import { TabPanels as ee } from "./components/tabs/tab-panels.js";
76
- import { Tabs as me } from "./components/tabs/tabs.js";
77
- import { Tag as xe } from "./components/tag/tag.js";
78
- import { Text as ae } from "./components/text/text.js";
79
- import { Textarea as ne } from "./components/textarea/textarea.js";
80
- import { useToast as de } from "./components/toast/toast.js";
81
- import { ToggleButton as Te } from "./components/toggle-button/toggle-button.js";
82
- import { Tooltip as se } from "./components/tooltip/tooltip.js";
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
- k as AccordionItem,
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
- Mo as Icons,
112
+ ho as Icons,
112
113
  So as Image,
113
- Io as ImageUpload,
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 MenuItem,
125
- Xo as MenuList,
126
- Zo as Message,
127
- $o as Modal,
128
- rr as ModalBody,
129
- tr as ModalCloseButton,
130
- pr as ModalFooter,
131
- fr as ModalHeader,
132
- ir as NavigationList,
133
- lr as NavigationListButton,
134
- dr as NavigationListLink,
135
- Tr as Paginator,
136
- sr as QuantityButton,
137
- hr as Radio,
138
- gr as RadioAddon,
139
- Cr as RadioCard,
140
- kr as RadioGroup,
141
- Lr as SegmentedControl,
142
- Vr as Select,
143
- Dr as Skeleton,
144
- Rr as SkeletonText,
145
- Gr as Stack,
146
- wr as StepContext,
147
- yr as Stepper,
148
- Ur as Switch,
149
- Yr as Tab,
150
- _r as TabList,
151
- oe as TabPanel,
152
- ee as TabPanels,
153
- jr as Table,
154
- Jr as TableContent,
155
- Or as TableToolbar,
156
- me as Tabs,
157
- xe as Tag,
158
- ae as Text,
159
- ne as Textarea,
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
- h as ThemeRadiusVariable,
169
- M as ThemeShadowVariable,
170
+ M as ThemeRadiusVariable,
171
+ h as ThemeShadowVariable,
170
172
  g as ThemeSpaceVariable,
171
- Te as ToggleButton,
172
- se as Tooltip,
173
- Qr as createColumnHelper,
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
- de as useToast
180
+ Te as useToast
179
181
  };
@@ -7,6 +7,7 @@ export declare const paginatorConfig: {
7
7
  display: string;
8
8
  justifyContent: string;
9
9
  alignItems: string;
10
+ fontVariant: string;
10
11
  padding: ThemeSpaceVariable;
11
12
  gap: ThemeSpaceVariable;
12
13
  div: {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB1B,CAAC"}
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 o } from "@chakra-ui/react";
2
- import { ThemeFontSizeVariable as a, ThemeSpaceVariable as e, ThemeColorVariable as i, ThemeFontVariable as t } from "../../theme-types.js";
3
- const r = o({
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: t.Body,
7
- color: i.OnBackground,
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: a.Large
16
+ fontSize: o.Large
16
17
  }
17
18
  }
18
19
  }
19
20
  });
20
21
  export {
21
- r as paginatorConfig
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.1.1",
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.40.0",
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",