@caspeco/casper-ui-library 5.2.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/highlight/highlight.d.ts +4 -0
- package/dist/components/highlight/highlight.d.ts.map +1 -0
- package/dist/components/highlight/highlight.js +8 -0
- package/dist/components/highlight/index.d.ts +3 -0
- package/dist/components/highlight/index.d.ts.map +1 -0
- 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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -114
- package/package.json +2 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HighlightProps as ChakraHighlightProps } from '@chakra-ui/react';
|
|
2
|
+
export type HighlightProps = Pick<ChakraHighlightProps, "query" | "children">;
|
|
3
|
+
export declare function Highlight(props: HighlightProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../lib/components/highlight/highlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7G,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAM9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/highlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -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;I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xC,KAAK,CAAC,EAAE,KAAK,CAAC;KACd;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './components/flex/index.js';
|
|
|
15
15
|
export * from './components/form-control/index.js';
|
|
16
16
|
export * from './components/grid/index.js';
|
|
17
17
|
export * from './components/heading/index.js';
|
|
18
|
+
export * from './components/highlight/index.js';
|
|
18
19
|
export * from './components/icon/index.js';
|
|
19
20
|
export * from './components/icon-button/index.js';
|
|
20
21
|
export * from './components/image/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;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BAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
|
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
|
|
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 g, ThemeSpaceVariable as M } 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";
|
|
@@ -26,63 +26,65 @@ import { FormLabel as ao } from "./components/form-control/form-label.js";
|
|
|
26
26
|
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
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
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 {
|
|
29
|
+
import { Highlight as bo } from "./components/highlight/highlight.js";
|
|
30
|
+
import { Icon as go } from "./components/icon/icon.js";
|
|
31
|
+
import { Icons as Bo } from "./components/icon/types.js";
|
|
32
|
+
import { IconButton as So } from "./components/icon-button/icon-button.js";
|
|
33
|
+
import { Image as ko } from "./components/image/image.js";
|
|
34
|
+
import { ImageUpload as Po } from "./components/image-upload/image-upload.js";
|
|
35
|
+
import { ImageUploadAspectRatio as vo } from "./components/image-upload/types.js";
|
|
36
|
+
import { Input as Fo } from "./components/input/input.js";
|
|
37
|
+
import { Link as Ao } from "./components/link/link.js";
|
|
38
|
+
import { List as Ho } from "./components/list/list.js";
|
|
39
|
+
import { ListItem as No } from "./components/list/list-item.js";
|
|
40
|
+
import { Menu as zo } from "./components/menu/menu.js";
|
|
41
|
+
import { MenuBoxButton as Eo } from "./components/menu/menu-box-button.js";
|
|
42
|
+
import { MenuButton as Wo } from "./components/menu/menu-button.js";
|
|
43
|
+
import { MenuDivider as qo } from "./components/menu/menu-divider.js";
|
|
44
|
+
import { MenuGroup as Ko } from "./components/menu/menu-group.js";
|
|
45
|
+
import { MenuIconButton as Xo } from "./components/menu/menu-icon-button.js";
|
|
46
|
+
import { MenuItem as Zo } from "./components/menu/menu-item.js";
|
|
47
|
+
import { MenuList as $o } from "./components/menu/menu-list.js";
|
|
48
|
+
import { Message as rr } from "./components/message/message.js";
|
|
49
|
+
import { Modal as tr } from "./components/modal/modal.js";
|
|
50
|
+
import { ModalBody as pr } from "./components/modal/modal-body.js";
|
|
51
|
+
import { ModalCloseButton as fr } from "./components/modal/modal-close-button.js";
|
|
52
|
+
import { ModalFooter as ir } from "./components/modal/modal-footer.js";
|
|
53
|
+
import { ModalHeader as lr } from "./components/modal/modal-header.js";
|
|
54
|
+
import { NavigationList as ur } from "./components/navigation-list/navigation-list.js";
|
|
55
|
+
import { NavigationListButton as cr, NavigationListLink as sr } from "./components/navigation-list/navigation-list-item.js";
|
|
56
|
+
import { Paginator as hr } from "./components/paginator/paginator.js";
|
|
57
|
+
import { QuantityButton as Mr } from "./components/quantity-button/quantity-button.js";
|
|
58
|
+
import { Radio as Cr } from "./components/radio/radio.js";
|
|
59
|
+
import { RadioAddon as Ir } from "./components/radio/radio-addon.js";
|
|
60
|
+
import { RadioCard as Lr } from "./components/radio/radio-card.js";
|
|
61
|
+
import { RadioGroup as Vr } from "./components/radio-group/radio-group.js";
|
|
62
|
+
import { SegmentedControl as Dr } from "./components/segmented-control/segmented-control.js";
|
|
63
|
+
import { Select as Rr } from "./components/select/select.js";
|
|
64
|
+
import { Skeleton as Gr } from "./components/skeleton/skeleton.js";
|
|
65
|
+
import { SkeletonText as wr } from "./components/skeleton/skeleton-text.js";
|
|
66
|
+
import { Stack as yr } from "./components/stack/stack.js";
|
|
67
|
+
import { StepContext as Ur } from "./components/stepper/step-context.js";
|
|
68
|
+
import { Stepper as Qr } from "./components/stepper/stepper.js";
|
|
69
|
+
import { Switch as jr } from "./components/switch/switch.js";
|
|
70
|
+
import { createColumnHelper as Jr } from "./node_modules/@tanstack/table-core/build/lib/index.js";
|
|
71
|
+
import { Table as Or } from "./components/table/table.js";
|
|
72
|
+
import { TableContent as Yr } from "./components/table/table-content.js";
|
|
73
|
+
import { TableToolbar as _r } from "./components/table/table-toolbar.js";
|
|
74
|
+
import { Tab as oe } from "./components/tabs/tab.js";
|
|
75
|
+
import { TabList as ee } from "./components/tabs/tab-list.js";
|
|
76
|
+
import { TabPanel as me } from "./components/tabs/tab-panel.js";
|
|
77
|
+
import { TabPanels as xe } from "./components/tabs/tab-panels.js";
|
|
78
|
+
import { Tabs as ae } from "./components/tabs/tabs.js";
|
|
79
|
+
import { Tag as ne } from "./components/tag/tag.js";
|
|
80
|
+
import { Text as de } from "./components/text/text.js";
|
|
81
|
+
import { Textarea as Te } from "./components/textarea/textarea.js";
|
|
82
|
+
import { useToast as se } from "./components/toast/toast.js";
|
|
83
|
+
import { ToggleButton as he } from "./components/toggle-button/toggle-button.js";
|
|
84
|
+
import { Tooltip as Me } from "./components/tooltip/tooltip.js";
|
|
83
85
|
export {
|
|
84
86
|
C as Accordion,
|
|
85
|
-
|
|
87
|
+
I as AccordionItem,
|
|
86
88
|
L as AccordionPanel,
|
|
87
89
|
V as Alert,
|
|
88
90
|
D as Badge,
|
|
@@ -106,57 +108,59 @@ export {
|
|
|
106
108
|
no as Grid,
|
|
107
109
|
uo as GridItem,
|
|
108
110
|
co as Heading,
|
|
109
|
-
bo as
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
Po as
|
|
115
|
-
vo as
|
|
116
|
-
Fo as
|
|
117
|
-
Ao as
|
|
118
|
-
Ho as
|
|
119
|
-
No as
|
|
120
|
-
zo as
|
|
121
|
-
Eo as
|
|
122
|
-
Wo as
|
|
123
|
-
qo as
|
|
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
|
-
|
|
136
|
-
sr as
|
|
137
|
-
hr as
|
|
138
|
-
|
|
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
|
-
|
|
151
|
-
oe as
|
|
152
|
-
ee as
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
Or as
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
ae as
|
|
159
|
-
ne as
|
|
111
|
+
bo as Highlight,
|
|
112
|
+
go as Icon,
|
|
113
|
+
So as IconButton,
|
|
114
|
+
Bo as Icons,
|
|
115
|
+
ko as Image,
|
|
116
|
+
Po as ImageUpload,
|
|
117
|
+
vo as ImageUploadAspectRatio,
|
|
118
|
+
Fo as Input,
|
|
119
|
+
Ao as Link,
|
|
120
|
+
Ho as List,
|
|
121
|
+
No as ListItem,
|
|
122
|
+
zo as Menu,
|
|
123
|
+
Eo as MenuBoxButton,
|
|
124
|
+
Wo as MenuButton,
|
|
125
|
+
qo as MenuDivider,
|
|
126
|
+
Ko as MenuGroup,
|
|
127
|
+
Xo as MenuIconButton,
|
|
128
|
+
Zo as MenuItem,
|
|
129
|
+
$o as MenuList,
|
|
130
|
+
rr as Message,
|
|
131
|
+
tr as Modal,
|
|
132
|
+
pr as ModalBody,
|
|
133
|
+
fr as ModalCloseButton,
|
|
134
|
+
ir as ModalFooter,
|
|
135
|
+
lr as ModalHeader,
|
|
136
|
+
ur as NavigationList,
|
|
137
|
+
cr as NavigationListButton,
|
|
138
|
+
sr as NavigationListLink,
|
|
139
|
+
hr as Paginator,
|
|
140
|
+
Mr as QuantityButton,
|
|
141
|
+
Cr as Radio,
|
|
142
|
+
Ir as RadioAddon,
|
|
143
|
+
Lr as RadioCard,
|
|
144
|
+
Vr as RadioGroup,
|
|
145
|
+
Dr as SegmentedControl,
|
|
146
|
+
Rr as Select,
|
|
147
|
+
Gr as Skeleton,
|
|
148
|
+
wr as SkeletonText,
|
|
149
|
+
yr as Stack,
|
|
150
|
+
Ur as StepContext,
|
|
151
|
+
Qr as Stepper,
|
|
152
|
+
jr as Switch,
|
|
153
|
+
oe as Tab,
|
|
154
|
+
ee as TabList,
|
|
155
|
+
me as TabPanel,
|
|
156
|
+
xe as TabPanels,
|
|
157
|
+
Or as Table,
|
|
158
|
+
Yr as TableContent,
|
|
159
|
+
_r as TableToolbar,
|
|
160
|
+
ae as Tabs,
|
|
161
|
+
ne as Tag,
|
|
162
|
+
de as Text,
|
|
163
|
+
Te as Textarea,
|
|
160
164
|
d as ThemeBorderVariable,
|
|
161
165
|
u as ThemeBreakPointVariable,
|
|
162
166
|
T as ThemeColorVariable,
|
|
@@ -166,14 +170,14 @@ export {
|
|
|
166
170
|
i as ThemeProvider,
|
|
167
171
|
n as ThemeProviderContext,
|
|
168
172
|
h as ThemeRadiusVariable,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
g as ThemeShadowVariable,
|
|
174
|
+
M as ThemeSpaceVariable,
|
|
175
|
+
he as ToggleButton,
|
|
176
|
+
Me as Tooltip,
|
|
177
|
+
Jr as createColumnHelper,
|
|
174
178
|
x as isTouchScreenDevice,
|
|
175
179
|
e as useColorMode,
|
|
176
180
|
t as useDisclosure,
|
|
177
181
|
m as useRadioGroup,
|
|
178
|
-
|
|
182
|
+
se as useToast
|
|
179
183
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caspeco/casper-ui-library",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.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",
|