@caspeco/casper-ui-library 9.0.0-alpha.6 → 9.0.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 +103 -103
- package/dist/components/box/box.d.ts +3 -2
- package/dist/components/box/box.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-link.d.ts +4 -3
- package/dist/components/breadcrumbs/breadcrumb-link.d.ts.map +1 -1
- package/dist/components/combobox/combobox-recipe.d.ts.map +1 -1
- package/dist/components/combobox/combobox-recipe.js +3 -0
- package/dist/components/form-control/form-control.d.ts +1 -1
- package/dist/components/form-control/form-control.d.ts.map +1 -1
- package/dist/components/form-control/form-label.d.ts +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/menu/menu-box-button.d.ts +4 -1
- package/dist/components/menu/menu-box-button.d.ts.map +1 -1
- package/dist/components/menu/menu-box-button.js +3 -1
- package/dist/components/menu/menu-list.d.ts.map +1 -1
- package/dist/components/menu/menu-list.js +4 -4
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/modal/modal-recipe.d.ts.map +1 -1
- package/dist/components/modal/modal-recipe.js +20 -14
- package/dist/components/navigation-list/types.d.ts +1 -1
- package/dist/components/navigation-list/types.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +29 -28
- package/dist/theme/theme-style-props.d.ts +2 -1
- package/dist/theme/theme-style-props.d.ts.map +1 -1
- package/package.json +81 -81
package/README.md
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
# @caspeco/casper-ui-library
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@caspeco/casper-ui-library)
|
|
4
|
-
|
|
5
|
-
Caspeco's UI component library, built on top of [Chakra UI](https://chakra-ui.com/).
|
|
6
|
-
|
|
7
|
-
👉 **The usage documentation can be found at https://caspeco.github.io/casper-ui-library**
|
|
8
|
-
|
|
9
|
-
## Local development
|
|
10
|
-
|
|
11
|
-
To build this project you need to have [Node.js](https://nodejs.org/en) installed.
|
|
12
|
-
|
|
13
|
-
### Commands
|
|
14
|
-
|
|
15
|
-
All commands are run from the root of the project, from a terminal.
|
|
16
|
-
|
|
17
|
-
<!-- prettier-ignore -->
|
|
18
|
-
| Command | Description |
|
|
19
|
-
| ------- | ----------- |
|
|
20
|
-
| `npm install` | Install dependencies. |
|
|
21
|
-
| `npm run dev` | Build a local development version of the entire library, compiled into a single .js file for improved HMR. Automatically rebuilds when the file contents change. |
|
|
22
|
-
| `npm run build` | Build the library as it will be shipped on npm. Does not automatically rebuild when files change, but you can still use this build output to verify your changes in the documentation website or in another project. |
|
|
23
|
-
| `cd ../docs && npm run dev` | Starts the documentation website. Usually you want to run this alongside the library in dev mode, so open a new terminal for this. See [/docs](../docs) for more info. |
|
|
24
|
-
| `npm run test` | Run unit tests. |
|
|
25
|
-
| `npm run test:visual` | Run visual regression tests using Playwright in Docker. Automatically starts/stops Docker container. |
|
|
26
|
-
| `npm run test:visual:ui` | Opens the HTML report viewer for visual test results. |
|
|
27
|
-
| `npm run test:visual:update` | Update visual regression baseline screenshots. Run this after intentional UI changes. |
|
|
28
|
-
| `npm run lint` | Run linting with [@caspeco/eslint-config](https://github.com/Caspeco/eslint-config). If you use the recommended [ESLint VSCode extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) you can see your eslint errors directly in your editor without having to run this. |
|
|
29
|
-
| `npm run prettier:fix` | Reformat all files with [@caspeco/prettier-config](https://github.com/Caspeco/prettier-config). If you use the recommended [Prettier VSCode extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) you can have your files automatically formatted on file save. |
|
|
30
|
-
| `npm run chakra:types` | Generate Chakra UI type definitions for the theme. Happens automatically on `npm install`. |
|
|
31
|
-
|
|
32
|
-
### Preview locally in another project
|
|
33
|
-
|
|
34
|
-
1. Build local development version (see above).
|
|
35
|
-
2. In the consuming app, run `npm install --no-save ./relative/path/to/this/directory` (no trailing slash).
|
|
36
|
-
- For example: `npm install --no-save ../../casper-ui-library/packages/casper-ui-library`
|
|
37
|
-
|
|
38
|
-
Now when you make a change in the component library, it should rebuild automatically and the consuming app's HMR should kick in and reload the page (preserving state is not possible as the entire library is rebuilt).
|
|
39
|
-
|
|
40
|
-
To unlink again you just need to run `npm install` in the consuming app. If it fails, you may need to delete `node_modules` first.
|
|
41
|
-
|
|
42
|
-
If you get an error about duplicate react versions, make sure this is in the `vite.config.ts` in the consuming app:
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
import path from "node:path";
|
|
46
|
-
|
|
47
|
-
export default defineConfig({
|
|
48
|
-
// ...
|
|
49
|
-
resolve: {
|
|
50
|
-
alias: {
|
|
51
|
-
react: path.resolve("./node_modules/react"),
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Visual Regression Tests
|
|
58
|
-
|
|
59
|
-
Visual regression tests catch unintended UI changes by comparing screenshots of component variants to committed baselines in `__screenshots__/`. They run with Playwright in Docker to ensure consistent rendering across different development environments and CI.
|
|
60
|
-
|
|
61
|
-
**Requirements**: Docker must be installed and running.
|
|
62
|
-
|
|
63
|
-
**Running tests**:
|
|
64
|
-
|
|
65
|
-
- `npm run test:visual` - Runs all visual tests
|
|
66
|
-
- `npm run test:visual:ui` - Opens the HTML report viewer
|
|
67
|
-
- `npm run test:visual:update` - Updates baseline screenshots after intentional UI changes
|
|
68
|
-
|
|
69
|
-
> [!TIP]
|
|
70
|
-
> CI fails but local passes?
|
|
71
|
-
>
|
|
72
|
-
> 1. Go to the `visual-tests` job in GitHub Actions
|
|
73
|
-
> 2. Download and extract the HTML artifact under the `Upload visual test report` step
|
|
74
|
-
> 3. Run `npx vite preview --outDir .` in the extracted directory to see diff report from CI
|
|
75
|
-
|
|
76
|
-
You may need to tweak the [pixelmatch comparator options](https://vitest.dev/api/browser/assertions.html#pixelmatch-comparator-options) if you see false positives due to anti-aliasing or sub-pixel rendering differences. See existing tests for examples.
|
|
77
|
-
|
|
78
|
-
## Contributing
|
|
79
|
-
|
|
80
|
-
1. Make sure your repository is up to date.
|
|
81
|
-
```bash
|
|
82
|
-
git pull
|
|
83
|
-
```
|
|
84
|
-
2. Create a new branch and make your changes there. Preferrably use a branch name that includes any related Jira issue and some short descriptive name.
|
|
85
|
-
```bash
|
|
86
|
-
git checkout -b UTF-837-add-checkbox-component
|
|
87
|
-
```
|
|
88
|
-
3. Make your changes.
|
|
89
|
-
4. Bump the `version` field in `package.json` (following [Semantic versioning](https://semver.org/)) and run `npm install`. The version reflects API changes only (e.g. removing a prop → MAJOR, adding a prop → MINOR, no public API changes → PATCH). UI changes are **NOT** API changes.
|
|
90
|
-
5. Open a [pull request](https://github.com/Caspeco/casper-ui-library/pulls) using the template and assign a reviewer.
|
|
91
|
-
6. If the PR makes significant changes to the UI (e.g. changes the sizes for all buttons), clearly announce this in the [Mattermost channel](https://snack.azure.caspeco.com/default/channels/casper-ui-20---devs).
|
|
92
|
-
7. After approval, merge the PR. If you have a new version in package.json it will automatically publish your changes to npm. The documentation website is always rebuilt.
|
|
93
|
-
|
|
94
|
-
### How to add new icons
|
|
95
|
-
|
|
96
|
-
1. **Export from Figma**
|
|
97
|
-
In the [Figma Icons document](https://www.figma.com/file/NE7GL10FbQcEPSL4M0gpNh/Casper-UI-2.0?type=design&node-id=9837-10627&mode=design), choose **File → Export** and export all icons as **SVG**.
|
|
98
|
-
|
|
99
|
-
2. **Update assets**
|
|
100
|
-
Clear `lib/components/icon/assets`, then drop in the exported SVGs. Verify changes with `git diff`.
|
|
101
|
-
|
|
102
|
-
3. **Generate components**
|
|
103
|
-
From the repository root, run `node scripts/generate-icons.js` to generate React components for each icon.
|
|
1
|
+
# @caspeco/casper-ui-library
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@caspeco/casper-ui-library)
|
|
4
|
+
|
|
5
|
+
Caspeco's UI component library, built on top of [Chakra UI](https://chakra-ui.com/).
|
|
6
|
+
|
|
7
|
+
👉 **The usage documentation can be found at https://caspeco.github.io/casper-ui-library**
|
|
8
|
+
|
|
9
|
+
## Local development
|
|
10
|
+
|
|
11
|
+
To build this project you need to have [Node.js](https://nodejs.org/en) installed.
|
|
12
|
+
|
|
13
|
+
### Commands
|
|
14
|
+
|
|
15
|
+
All commands are run from the root of the project, from a terminal.
|
|
16
|
+
|
|
17
|
+
<!-- prettier-ignore -->
|
|
18
|
+
| Command | Description |
|
|
19
|
+
| ------- | ----------- |
|
|
20
|
+
| `npm install` | Install dependencies. |
|
|
21
|
+
| `npm run dev` | Build a local development version of the entire library, compiled into a single .js file for improved HMR. Automatically rebuilds when the file contents change. |
|
|
22
|
+
| `npm run build` | Build the library as it will be shipped on npm. Does not automatically rebuild when files change, but you can still use this build output to verify your changes in the documentation website or in another project. |
|
|
23
|
+
| `cd ../docs && npm run dev` | Starts the documentation website. Usually you want to run this alongside the library in dev mode, so open a new terminal for this. See [/docs](../docs) for more info. |
|
|
24
|
+
| `npm run test` | Run unit tests. |
|
|
25
|
+
| `npm run test:visual` | Run visual regression tests using Playwright in Docker. Automatically starts/stops Docker container. |
|
|
26
|
+
| `npm run test:visual:ui` | Opens the HTML report viewer for visual test results. |
|
|
27
|
+
| `npm run test:visual:update` | Update visual regression baseline screenshots. Run this after intentional UI changes. |
|
|
28
|
+
| `npm run lint` | Run linting with [@caspeco/eslint-config](https://github.com/Caspeco/eslint-config). If you use the recommended [ESLint VSCode extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) you can see your eslint errors directly in your editor without having to run this. |
|
|
29
|
+
| `npm run prettier:fix` | Reformat all files with [@caspeco/prettier-config](https://github.com/Caspeco/prettier-config). If you use the recommended [Prettier VSCode extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) you can have your files automatically formatted on file save. |
|
|
30
|
+
| `npm run chakra:types` | Generate Chakra UI type definitions for the theme. Happens automatically on `npm install`. |
|
|
31
|
+
|
|
32
|
+
### Preview locally in another project
|
|
33
|
+
|
|
34
|
+
1. Build local development version (see above).
|
|
35
|
+
2. In the consuming app, run `npm install --no-save ./relative/path/to/this/directory` (no trailing slash).
|
|
36
|
+
- For example: `npm install --no-save ../../casper-ui-library/packages/casper-ui-library`
|
|
37
|
+
|
|
38
|
+
Now when you make a change in the component library, it should rebuild automatically and the consuming app's HMR should kick in and reload the page (preserving state is not possible as the entire library is rebuilt).
|
|
39
|
+
|
|
40
|
+
To unlink again you just need to run `npm install` in the consuming app. If it fails, you may need to delete `node_modules` first.
|
|
41
|
+
|
|
42
|
+
If you get an error about duplicate react versions, make sure this is in the `vite.config.ts` in the consuming app:
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import path from "node:path";
|
|
46
|
+
|
|
47
|
+
export default defineConfig({
|
|
48
|
+
// ...
|
|
49
|
+
resolve: {
|
|
50
|
+
alias: {
|
|
51
|
+
react: path.resolve("./node_modules/react"),
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Visual Regression Tests
|
|
58
|
+
|
|
59
|
+
Visual regression tests catch unintended UI changes by comparing screenshots of component variants to committed baselines in `__screenshots__/`. They run with Playwright in Docker to ensure consistent rendering across different development environments and CI.
|
|
60
|
+
|
|
61
|
+
**Requirements**: Docker must be installed and running.
|
|
62
|
+
|
|
63
|
+
**Running tests**:
|
|
64
|
+
|
|
65
|
+
- `npm run test:visual` - Runs all visual tests
|
|
66
|
+
- `npm run test:visual:ui` - Opens the HTML report viewer
|
|
67
|
+
- `npm run test:visual:update` - Updates baseline screenshots after intentional UI changes
|
|
68
|
+
|
|
69
|
+
> [!TIP]
|
|
70
|
+
> CI fails but local passes?
|
|
71
|
+
>
|
|
72
|
+
> 1. Go to the `visual-tests` job in GitHub Actions
|
|
73
|
+
> 2. Download and extract the HTML artifact under the `Upload visual test report` step
|
|
74
|
+
> 3. Run `npx vite preview --outDir .` in the extracted directory to see diff report from CI
|
|
75
|
+
|
|
76
|
+
You may need to tweak the [pixelmatch comparator options](https://vitest.dev/api/browser/assertions.html#pixelmatch-comparator-options) if you see false positives due to anti-aliasing or sub-pixel rendering differences. See existing tests for examples.
|
|
77
|
+
|
|
78
|
+
## Contributing
|
|
79
|
+
|
|
80
|
+
1. Make sure your repository is up to date.
|
|
81
|
+
```bash
|
|
82
|
+
git pull
|
|
83
|
+
```
|
|
84
|
+
2. Create a new branch and make your changes there. Preferrably use a branch name that includes any related Jira issue and some short descriptive name.
|
|
85
|
+
```bash
|
|
86
|
+
git checkout -b UTF-837-add-checkbox-component
|
|
87
|
+
```
|
|
88
|
+
3. Make your changes.
|
|
89
|
+
4. Bump the `version` field in `package.json` (following [Semantic versioning](https://semver.org/)) and run `npm install`. The version reflects API changes only (e.g. removing a prop → MAJOR, adding a prop → MINOR, no public API changes → PATCH). UI changes are **NOT** API changes.
|
|
90
|
+
5. Open a [pull request](https://github.com/Caspeco/casper-ui-library/pulls) using the template and assign a reviewer.
|
|
91
|
+
6. If the PR makes significant changes to the UI (e.g. changes the sizes for all buttons), clearly announce this in the [Mattermost channel](https://snack.azure.caspeco.com/default/channels/casper-ui-20---devs).
|
|
92
|
+
7. After approval, merge the PR. If you have a new version in package.json it will automatically publish your changes to npm. The documentation website is always rebuilt.
|
|
93
|
+
|
|
94
|
+
### How to add new icons
|
|
95
|
+
|
|
96
|
+
1. **Export from Figma**
|
|
97
|
+
In the [Figma Icons document](https://www.figma.com/file/NE7GL10FbQcEPSL4M0gpNh/Casper-UI-2.0?type=design&node-id=9837-10627&mode=design), choose **File → Export** and export all icons as **SVG**.
|
|
98
|
+
|
|
99
|
+
2. **Update assets**
|
|
100
|
+
Clear `lib/components/icon/assets`, then drop in the exported SVGs. Verify changes with `git diff`.
|
|
101
|
+
|
|
102
|
+
3. **Generate components**
|
|
103
|
+
From the repository root, run `node scripts/generate-icons.js` to generate React components for each icon.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThemeStyleProps } from '../../theme/index.js';
|
|
2
|
+
import { InteractionProps } from '../../theme/theme-style-props.js';
|
|
2
3
|
import { BoxProps as ChakraBoxProps } from '@chakra-ui/react';
|
|
3
|
-
export type BoxProps = ThemeStyleProps & Pick<ChakraBoxProps, "children" |
|
|
4
|
+
export type BoxProps = ThemeStyleProps & Pick<ChakraBoxProps, "children" | InteractionProps>;
|
|
4
5
|
/** @see Docs https://caspeco.github.io/casper-ui-library/components/box */
|
|
5
|
-
export declare const Box: import('react').ForwardRefExoticComponent<ThemeStyleProps & Pick<ChakraBoxProps, "children" |
|
|
6
|
+
export declare const Box: import('react').ForwardRefExoticComponent<ThemeStyleProps & Pick<ChakraBoxProps, "children" | InteractionProps> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
7
|
//# sourceMappingURL=box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAoB,KAAK,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGrF,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAoB,KAAK,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGrF,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,gBAAgB,CAAC,CAAC;AAE7F,2EAA2E;AAC3E,eAAO,MAAM,GAAG,kKAMd,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ThemeStyleProps } from '../../theme/index.js';
|
|
1
2
|
import { BreadcrumbLinkProps as ChakraBreadcrumbLinkProps } from '@chakra-ui/react';
|
|
2
|
-
type ChakraBreadcrumbLinkProperties = Pick<ChakraBreadcrumbLinkProps, "children" | "
|
|
3
|
-
export type BreadcrumbLinkProps = ChakraBreadcrumbLinkProperties & {
|
|
3
|
+
type ChakraBreadcrumbLinkProperties = Pick<ChakraBreadcrumbLinkProps, "children" | "href">;
|
|
4
|
+
export type BreadcrumbLinkProps = ChakraBreadcrumbLinkProperties & ThemeStyleProps & {
|
|
4
5
|
to?: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const BreadcrumbLink: import('react').ForwardRefExoticComponent<ChakraBreadcrumbLinkProperties & {
|
|
7
|
+
export declare const BreadcrumbLink: import('react').ForwardRefExoticComponent<ChakraBreadcrumbLinkProperties & ThemeStyleProps & {
|
|
7
8
|
to?: string;
|
|
8
9
|
} & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
9
10
|
export {};
|
|
@@ -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;AAG1B,KAAK,8BAA8B,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"breadcrumb-link.d.ts","sourceRoot":"","sources":["../../../lib/components/breadcrumbs/breadcrumb-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAEN,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,MAAM,kBAAkB,CAAC;AAG1B,KAAK,8BAA8B,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AAC3F,MAAM,MAAM,mBAAmB,GAAG,8BAA8B,GAC/D,eAAe,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEH,eAAO,MAAM,cAAc;SAHpB,MAAM;qDAiBZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-recipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"combobox-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-recipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAqGxE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;EAMzB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeStyleProps } from '../../theme/index.js';
|
|
2
2
|
import { Field as ChakraField } from '@chakra-ui/react';
|
|
3
|
-
type ChakraFormControlProperties = Pick<ChakraField.RootProps, "id" | "children"
|
|
3
|
+
type ChakraFormControlProperties = Pick<ChakraField.RootProps, "id" | "children">;
|
|
4
4
|
type CustomProps = {
|
|
5
5
|
isDisabled?: boolean;
|
|
6
6
|
isReadOnly?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-control.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-control.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,2BAA2B,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"form-control.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-control.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,2BAA2B,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,GAAG,UAAU,CAAC,CAAC;AAElF,KAAK,WAAW,GAAG;IAElB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,2BAA2B,GAAG,eAAe,CAAC;AAE3F;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,GAAG,KAAK,EACR,EAAE,gBAAgB,2CAYlB"}
|
|
@@ -5,7 +5,7 @@ type CustomFormLabelProps = {
|
|
|
5
5
|
/** Icon to be displayed left of the label text. Inherits the color of the label text. */
|
|
6
6
|
icon?: CasperIconComponent;
|
|
7
7
|
};
|
|
8
|
-
export type ChakraFormLabelProperties = Pick<ChakraField.LabelProps, "children"
|
|
8
|
+
export type ChakraFormLabelProperties = Pick<ChakraField.LabelProps, "children">;
|
|
9
9
|
export type FormLabelProps = ChakraFormLabelProperties & ThemeStyleProps & CustomFormLabelProps;
|
|
10
10
|
/**
|
|
11
11
|
* Used to enhance the usability of form controls.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,oBAAoB,GAAG;IAC3B,yFAAyF;IACzF,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,oBAAoB,GAAG;IAC3B,yFAAyF;IACzF,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAEjF,MAAM,MAAM,cAAc,GAAG,yBAAyB,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAEhG;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CASrE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeStyleProps } from '../../theme/index.js';
|
|
2
2
|
import { LinkProps as ChakraLinkProps } from '@chakra-ui/react';
|
|
3
|
-
export type LinkProps = ThemeStyleProps & Pick<ChakraLinkProps, "children" | "href" | "rel" | "target" | "
|
|
3
|
+
export type LinkProps = ThemeStyleProps & Pick<ChakraLinkProps, "children" | "href" | "rel" | "target" | "download">;
|
|
4
4
|
/**
|
|
5
5
|
* Links are accessible elements used primarily for navigation.
|
|
6
6
|
* Can be integrated with other routing libraries like React Router and Reach Router
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,MAAM,MAAM,SAAS,GAAG,eAAe,GACtC,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,MAAM,MAAM,SAAS,GAAG,eAAe,GACtC,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;AAE5E;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAErD"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { BoxProps } from '../box/index.js';
|
|
2
|
+
import { InteractionProps } from '../../theme/theme-style-props.js';
|
|
3
|
+
import { ButtonProps } from '@chakra-ui/react';
|
|
1
4
|
/**
|
|
2
5
|
* A Box that acts as a trigger for Menu
|
|
3
6
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
4
7
|
*/
|
|
5
|
-
export declare const MenuBoxButton: import('react').ForwardRefExoticComponent<
|
|
8
|
+
export declare const MenuBoxButton: import('react').ForwardRefExoticComponent<Omit<BoxProps, InteractionProps> & Pick<ButtonProps, InteractionProps> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
9
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"menu-box-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-box-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAA4C,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK9F;;;GAGG;AACH,eAAO,MAAM,aAAa,sKAUzB,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { MenuTrigger as n, Button as u } from "@chakra-ui/react";
|
|
3
3
|
import { forwardRef as i } from "react";
|
|
4
|
-
const m = i(
|
|
4
|
+
const m = i(
|
|
5
|
+
({ children: t, ...o }, e) => /* @__PURE__ */ r(n, { asChild: !0, children: /* @__PURE__ */ r(u, { ref: e, unstyled: !0, ...o, children: t }) })
|
|
6
|
+
);
|
|
5
7
|
m.displayName = "MenuBoxButton";
|
|
6
8
|
export {
|
|
7
9
|
m as MenuBoxButton
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,UAAU,EAAU,MAAM,kBAAkB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AAExF,eAAO,MAAM,QAAQ,GAAI,wBAAwB,aAAa,4CAQ7D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Menu as
|
|
3
|
-
const
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Portal as e, Menu as o } from "@chakra-ui/react";
|
|
3
|
+
const s = ({ children: t, ...n }) => /* @__PURE__ */ r(e, { children: /* @__PURE__ */ r(o.Positioner, { children: /* @__PURE__ */ r(o.Content, { ...n, children: t }) }) });
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
s as MenuList
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-recipe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAoB,MAAM,kBAAkB,CAAC;AAG/E,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"modal-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-recipe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAoB,MAAM,kBAAkB,CAAC;AAG/E,eAAO,MAAM,WAAW,EAAE,oBAsIxB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { buttonRecipe as
|
|
2
|
-
import { ThemeColorToken as e, ThemeRadiusToken as
|
|
1
|
+
import { buttonRecipe as o } from "../button/button-recipe.js";
|
|
2
|
+
import { ThemeColorToken as e, ThemeRadiusToken as n, ThemeFontToken as a, ThemeFontSizeToken as t } from "../../theme/theme-tokens.js";
|
|
3
3
|
import { defineSlotRecipe as i } from "@chakra-ui/react";
|
|
4
|
-
import { dialogAnatomy as
|
|
4
|
+
import { dialogAnatomy as r } from "../../node_modules/@chakra-ui/react/dist/esm/anatomy.js";
|
|
5
5
|
const x = i({
|
|
6
6
|
className: "modal",
|
|
7
|
-
slots:
|
|
7
|
+
slots: r.keys(),
|
|
8
8
|
base: {
|
|
9
9
|
backdrop: {
|
|
10
10
|
// Non white label-overridable color based on black, always
|
|
@@ -14,17 +14,17 @@ const x = i({
|
|
|
14
14
|
display: "block",
|
|
15
15
|
bg: e.Surface,
|
|
16
16
|
position: "relative",
|
|
17
|
-
fontSize:
|
|
17
|
+
fontSize: t.XLarge,
|
|
18
18
|
fontFamily: a.SubHeader,
|
|
19
19
|
color: e.OnSurfaceHeader,
|
|
20
20
|
fontWeight: "medium",
|
|
21
|
-
borderTopRadius:
|
|
21
|
+
borderTopRadius: n.Large,
|
|
22
22
|
minHeight: "72px",
|
|
23
23
|
px: 0,
|
|
24
24
|
py: 0
|
|
25
25
|
},
|
|
26
26
|
body: {
|
|
27
|
-
borderTopRadius:
|
|
27
|
+
borderTopRadius: n.Large,
|
|
28
28
|
fontFamily: a.Body,
|
|
29
29
|
px: 0,
|
|
30
30
|
paddingTop: 0,
|
|
@@ -33,7 +33,7 @@ const x = i({
|
|
|
33
33
|
content: {
|
|
34
34
|
maxW: "384px",
|
|
35
35
|
my: "48px",
|
|
36
|
-
borderRadius:
|
|
36
|
+
borderRadius: n.Large,
|
|
37
37
|
bg: e.Surface,
|
|
38
38
|
color: e.OnSurface
|
|
39
39
|
},
|
|
@@ -41,7 +41,7 @@ const x = i({
|
|
|
41
41
|
height: "100dvh"
|
|
42
42
|
},
|
|
43
43
|
footer: {
|
|
44
|
-
borderBottomRadius:
|
|
44
|
+
borderBottomRadius: n.Large,
|
|
45
45
|
bg: e.Surface,
|
|
46
46
|
gap: "unset",
|
|
47
47
|
paddingTop: 0,
|
|
@@ -63,8 +63,8 @@ const x = i({
|
|
|
63
63
|
right: "unset",
|
|
64
64
|
top: "unset",
|
|
65
65
|
alignSelf: "flex-start",
|
|
66
|
-
...
|
|
67
|
-
...
|
|
66
|
+
...o.base,
|
|
67
|
+
...o.variants?.variant?.secondary
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
variants: {
|
|
@@ -95,19 +95,25 @@ const x = i({
|
|
|
95
95
|
md: {
|
|
96
96
|
content: {
|
|
97
97
|
maxW: "560px",
|
|
98
|
-
|
|
98
|
+
marginInline: "48px",
|
|
99
|
+
marginInlineStart: "48px",
|
|
100
|
+
marginInlineEnd: "48px"
|
|
99
101
|
}
|
|
100
102
|
},
|
|
101
103
|
lg: {
|
|
102
104
|
content: {
|
|
103
105
|
maxW: "960px",
|
|
104
|
-
|
|
106
|
+
marginInline: "80px",
|
|
107
|
+
marginInlineStart: "80px",
|
|
108
|
+
marginInlineEnd: "80px"
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
xl: {
|
|
108
112
|
content: {
|
|
109
113
|
maxW: "100%",
|
|
110
|
-
|
|
114
|
+
marginInline: "80px",
|
|
115
|
+
marginInlineStart: "80px",
|
|
116
|
+
marginInlineEnd: "80px"
|
|
111
117
|
}
|
|
112
118
|
},
|
|
113
119
|
full: {
|
|
@@ -13,7 +13,7 @@ type To = {
|
|
|
13
13
|
* Link from routing libraries like React Router, Reach Router and Next.js. Use instead of href. */
|
|
14
14
|
to?: string;
|
|
15
15
|
};
|
|
16
|
-
export type NavigationLinkProps = NavigationItemProps & To & Pick<ChakraLinkProps, "
|
|
16
|
+
export type NavigationLinkProps = NavigationItemProps & To & Pick<ChakraLinkProps, "href" | "target" | "rel" | "children">;
|
|
17
17
|
export type NavigationButtonProps = NavigationItemProps & Pick<ChakraButtonProps, "onClick" | "children">;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,mBAAmB,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,mBAAmB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB,GAAG,eAAe,CAAC;AAEpB,KAAK,EAAE,GAAG;IACT;uGACmG;IACnG,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GACpD,EAAE,GACF,IAAI,CAAC,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,mBAAmB,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,mBAAmB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB,GAAG,eAAe,CAAC;AAEpB,KAAK,EAAE,GAAG;IACT;uGACmG;IACnG,EAAE,CAAC,EAAE,MAAM,CAAC;CAC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AAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,eAAe,CAAC;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,4BAA4B,GAAI,KAAK,SAAS,SAAS,EAAE,kKAW5D,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAAE,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAAE,4CAiJhG,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAyC,OAAO,4BAA4B,CAAC"}
|
|
@@ -5,18 +5,18 @@ import { memo as L, useCallback as M, useMemo as a } from "react";
|
|
|
5
5
|
import { useTableContext as U } from "./table-context.js";
|
|
6
6
|
import { translations as X } from "./translations.js";
|
|
7
7
|
import { SortDescIcon as k } from "../icon/icons/sort-desc-icon.js";
|
|
8
|
-
import { SortAscIcon as
|
|
8
|
+
import { SortAscIcon as w } from "../icon/icons/sort-asc-icon.js";
|
|
9
9
|
import { MenuItem as l } from "../menu/menu-item.js";
|
|
10
10
|
import { Text as r } from "../text/text.js";
|
|
11
11
|
import { FilterIcon as R } from "../icon/icons/filter-icon.js";
|
|
12
|
-
import { MenuDivider as
|
|
13
|
-
import { HideIcon as
|
|
14
|
-
import { ThumbtackIcon as
|
|
15
|
-
import { Switch as
|
|
16
|
-
import { Menu as
|
|
17
|
-
import { MenuBoxButton as
|
|
18
|
-
import { MenuList as
|
|
19
|
-
import { ThemeIconSizeVariable as
|
|
12
|
+
import { MenuDivider as D } from "../menu/menu-divider.js";
|
|
13
|
+
import { HideIcon as W } from "../icon/icons/hide-icon.js";
|
|
14
|
+
import { ThumbtackIcon as $ } from "../icon/icons/thumbtack-icon.js";
|
|
15
|
+
import { Switch as q } from "../switch/switch.js";
|
|
16
|
+
import { Menu as J } from "../menu/menu.js";
|
|
17
|
+
import { MenuBoxButton as K } from "../menu/menu-box-button.js";
|
|
18
|
+
import { MenuList as N } from "../menu/menu-list.js";
|
|
19
|
+
import { ThemeIconSizeVariable as v, ThemeColorVariable as F, ThemeSpaceVariable as Q, ThemeFontSizeVariable as S } from "../../theme/theme-types.js";
|
|
20
20
|
const Y = ({
|
|
21
21
|
header: o,
|
|
22
22
|
breakingContentState: c,
|
|
@@ -25,11 +25,11 @@ const Y = ({
|
|
|
25
25
|
headerGroup: g,
|
|
26
26
|
sorting: d,
|
|
27
27
|
setSorting: u,
|
|
28
|
-
localeString:
|
|
29
|
-
portalContainerRef:
|
|
30
|
-
dragRef:
|
|
28
|
+
localeString: y,
|
|
29
|
+
portalContainerRef: z,
|
|
30
|
+
dragRef: V
|
|
31
31
|
}) => {
|
|
32
|
-
const i = X[
|
|
32
|
+
const i = X[y], H = U(), { getTableFilterMethods: m } = H, C = M(
|
|
33
33
|
({ checked: e }) => {
|
|
34
34
|
const t = {
|
|
35
35
|
...c,
|
|
@@ -50,14 +50,14 @@ const Y = ({
|
|
|
50
50
|
},
|
|
51
51
|
[g]
|
|
52
52
|
), P = a(() => /* @__PURE__ */ s(f, { children: [
|
|
53
|
-
d.find((e) => e.id === o.column.id) && (d.find((e) => e.desc) ? /* @__PURE__ */ n(k, { size:
|
|
53
|
+
d.find((e) => e.id === o.column.id) && (d.find((e) => e.desc) ? /* @__PURE__ */ n(k, { size: v.XSmall }) : /* @__PURE__ */ n(w, { size: v.XSmall })),
|
|
54
54
|
o.column.columnDef.header
|
|
55
55
|
] }), [o.column.columnDef.header, o.column.id, d]), x = a(() => m()?.canFilterOnColumn(o.column.id) ?? !1, [o.column.id, m]), B = a(() => /* @__PURE__ */ s(f, { children: [
|
|
56
56
|
/* @__PURE__ */ n(
|
|
57
57
|
l,
|
|
58
58
|
{
|
|
59
59
|
onClick: () => u([{ desc: !1, id: o.column.id }]),
|
|
60
|
-
leftIcon:
|
|
60
|
+
leftIcon: w,
|
|
61
61
|
value: "sort-asc",
|
|
62
62
|
children: /* @__PURE__ */ n(r, { children: i.sortUp })
|
|
63
63
|
}
|
|
@@ -83,14 +83,14 @@ const Y = ({
|
|
|
83
83
|
children: /* @__PURE__ */ n(r, { children: i.filter })
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
/* @__PURE__ */ n(
|
|
87
|
-
o.column.getCanHide() && /* @__PURE__ */ n(l, { onClick: o.column.getToggleVisibilityHandler(), leftIcon:
|
|
88
|
-
/* @__PURE__ */ n(l, { onClick: () => b(o.column), leftIcon:
|
|
89
|
-
/* @__PURE__ */ n(
|
|
86
|
+
/* @__PURE__ */ n(D, {}),
|
|
87
|
+
o.column.getCanHide() && /* @__PURE__ */ n(l, { onClick: o.column.getToggleVisibilityHandler(), leftIcon: W, value: "hide", children: /* @__PURE__ */ n(r, { children: i.hideColumn }) }),
|
|
88
|
+
/* @__PURE__ */ n(l, { onClick: () => b(o.column), leftIcon: $, value: "pin", children: /* @__PURE__ */ n(r, { children: o.column.getIsPinned() ? i.stopPinningColumn : i.pinUpToColumn }) }),
|
|
89
|
+
/* @__PURE__ */ n(D, {}),
|
|
90
90
|
/* @__PURE__ */ s(l, { itemType: "switch", value: "breaking-content", children: [
|
|
91
91
|
i.breakingContent,
|
|
92
92
|
/* @__PURE__ */ n(
|
|
93
|
-
|
|
93
|
+
q,
|
|
94
94
|
{
|
|
95
95
|
onCheckedChange: C,
|
|
96
96
|
isChecked: c[o.column.id]
|
|
@@ -107,26 +107,27 @@ const Y = ({
|
|
|
107
107
|
u,
|
|
108
108
|
i
|
|
109
109
|
]);
|
|
110
|
-
return /* @__PURE__ */ n(
|
|
110
|
+
return /* @__PURE__ */ n(J, { isLazy: !0, children: ({ isOpen: e }) => /* @__PURE__ */ s(f, { children: [
|
|
111
111
|
/* @__PURE__ */ n(
|
|
112
|
-
|
|
112
|
+
K,
|
|
113
113
|
{
|
|
114
|
-
ref:
|
|
115
|
-
color:
|
|
114
|
+
ref: V,
|
|
115
|
+
color: F.OnBackgroundSubdued,
|
|
116
116
|
textTransform: "none",
|
|
117
|
-
fontSize:
|
|
117
|
+
fontSize: S.Small,
|
|
118
118
|
h: "40px",
|
|
119
119
|
display: "flex",
|
|
120
120
|
textAlign: "inherit",
|
|
121
121
|
alignItems: "center",
|
|
122
122
|
lineHeight: "1.2",
|
|
123
|
-
padding: `0px 0px 0px ${
|
|
124
|
-
backgroundColor: e ?
|
|
123
|
+
padding: `0px 0px 0px ${Q.Small}`,
|
|
124
|
+
backgroundColor: e ? F.BackgroundDisabled : "unset",
|
|
125
125
|
w: "100%",
|
|
126
|
+
overflowWrap: "anywhere",
|
|
126
127
|
children: A(P, o.getContext())
|
|
127
128
|
}
|
|
128
129
|
),
|
|
129
|
-
/* @__PURE__ */ n(j, { container:
|
|
130
|
+
/* @__PURE__ */ n(j, { container: z, children: /* @__PURE__ */ n(N, { fontSize: S.Medium, children: B }) })
|
|
130
131
|
] }) });
|
|
131
132
|
}, bn = L(Y);
|
|
132
133
|
export {
|
|
@@ -228,7 +228,7 @@ export type BorderProps = {
|
|
|
228
228
|
* Custom selection of Chakra Box Props (base component for all chakra components)
|
|
229
229
|
* that don't need any custom definitions connected to Theme Tokens.
|
|
230
230
|
*/
|
|
231
|
-
export type CustomChakraBoxProps = Pick<BoxProps, "flex" | "alignItems" | "alignContent" | "flexDirection" | "justifyContent" | "justifyItems" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "order" | "gridRow" | "gridColumn" | "gridArea" | "gridAutoFlow" | "gridAutoRows" | "gridAutoColumns" | "gridTemplateRows" | "gridTemplateColumns" | "gridTemplateAreas" | "bgPos" | "backgroundPosition" | "bgImg" | "bgImage" | "bgRepeat" | "backgroundRepeat" | "bgSize" | "backgroundSize" | "bgAttachment" | "letterSpacing" | "whiteSpace" | "lineHeight" | "wordBreak" | "textAlign" | "textIndent" | "overflowWrap" | "textTransform" | "textDecoration" | "userSelect" | "transform" | "translate" | "translateX" | "translateY" | "transformOrigin" | "clipPath" | "rotate" | "skewX" | "skewY" | "scale" | "scaleY" | "scaleX" | "overflow" | "overflowX" | "overflowY" | "textOverflow" | "pointerEvents" | "cursor" | "appearance" | "tabIndex" | "zIndex" | "pos" | "position" | "id" | "key" | "display" | "visibility" | "boxSizing" | "opacity" | "className" | "title"
|
|
231
|
+
export type CustomChakraBoxProps = Pick<BoxProps, "flex" | "alignItems" | "alignContent" | "flexDirection" | "justifyContent" | "justifyItems" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "order" | "gridRow" | "gridColumn" | "gridArea" | "gridAutoFlow" | "gridAutoRows" | "gridAutoColumns" | "gridTemplateRows" | "gridTemplateColumns" | "gridTemplateAreas" | "bgPos" | "backgroundPosition" | "bgImg" | "bgImage" | "bgRepeat" | "backgroundRepeat" | "bgSize" | "backgroundSize" | "bgAttachment" | "letterSpacing" | "whiteSpace" | "lineHeight" | "wordBreak" | "textAlign" | "textIndent" | "overflowWrap" | "textTransform" | "textDecoration" | "userSelect" | "transform" | "translate" | "translateX" | "translateY" | "transformOrigin" | "clipPath" | "rotate" | "skewX" | "skewY" | "scale" | "scaleY" | "scaleX" | "overflow" | "overflowX" | "overflowY" | "textOverflow" | "pointerEvents" | "cursor" | "appearance" | "tabIndex" | "zIndex" | "pos" | "position" | "id" | "key" | "display" | "visibility" | "boxSizing" | "opacity" | "className" | "title" | "as" | "asChild"
|
|
232
232
|
/**
|
|
233
233
|
* Aria:
|
|
234
234
|
*
|
|
@@ -237,6 +237,7 @@ export type CustomChakraBoxProps = Pick<BoxProps, "flex" | "alignItems" | "align
|
|
|
237
237
|
* helpful comments when in need of them.
|
|
238
238
|
*/
|
|
239
239
|
| "role" | "aria-label" | "aria-labelledby" | "aria-describedby" | "aria-details" | "aria-busy" | "aria-current" | "aria-autocomplete" | "aria-activedescendant" | "aria-atomic" | "aria-checked" | "aria-controls" | "aria-disabled" | "aria-haspopup" | "aria-expanded" | "aria-hidden" | "aria-orientation" | "aria-selected" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-errormessage" | "aria-flowto" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-roledescription" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext">;
|
|
240
|
+
export type InteractionProps = "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDurationChange" | "onDurationChangeCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture";
|
|
240
241
|
/**
|
|
241
242
|
* A custom set of the Chakra Style Props with support for Casper UI Theme variables.
|
|
242
243
|
* @see Docs reference: {@link https://caspeco.github.io/casper-ui-library/reference/interfaces/themestyleprops | Casper UI Theme Style Props}
|
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C,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,sCAAsC;IACtC,iBAAiB,CAAC,EAAE,YAAY,CAAC;IACjC,uCAAuC;IACvC,kBAAkB,CAAC,EAAE,YAAY,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACtC,QAAQ,EAEN,MAAM,GACN,YAAY,GACZ,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,UAAU,GACV,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,WAAW,GACX,OAAO,GAGP,SAAS,GACT,YAAY,GACZ,UAAU,GACV,cAAc,GACd,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GAGnB,OAAO,GACP,oBAAoB,GACpB,OAAO,GACP,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GAGd,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,YAAY,GAGZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,YAAY,GACZ,iBAAiB,GACjB,UAAU,GACV,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GAGR,UAAU,GACV,WAAW,GACX,WAAW,GACX,cAAc,GAGd,eAAe,GACf,QAAQ,GACR,YAAY,GACZ,UAAU,GAGV,QAAQ,GACR,KAAK,GACL,UAAU,GAGV,IAAI,GACJ,KAAK,GACL,SAAS,GACT,YAAY,GACZ,WAAW,GACX,SAAS,GACT,WAAW,GACX,OAAO;
|
|
1
|
+
{"version":3,"file":"theme-style-props.d.ts","sourceRoot":"","sources":["../../lib/theme/theme-style-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC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CAAG"}
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@caspeco/casper-ui-library",
|
|
3
|
-
"version": "9.0.0
|
|
4
|
-
"prettier": "@caspeco/prettier-config",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"sideEffects": false,
|
|
7
|
-
"homepage": "https://github.com/Caspeco/casper-ui-library",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/Caspeco/casper-ui-library.git"
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
"dist"
|
|
14
|
-
],
|
|
15
|
-
"main": "dist/index.js",
|
|
16
|
-
"module": "dist/index.js",
|
|
17
|
-
"types": "dist/index.d.ts",
|
|
18
|
-
"scripts": {
|
|
19
|
-
"prepare": "npm run chakra:types",
|
|
20
|
-
"dev": "vite build --watch --mode dev",
|
|
21
|
-
"build": "vite build --mode prod",
|
|
22
|
-
"tsc": "tsc --project tsconfig.app.json",
|
|
23
|
-
"test": "vitest run",
|
|
24
|
-
"test:visual:server:start": "docker compose -f docker-compose.visual.yml up -d --wait playwright-server",
|
|
25
|
-
"test:visual:server:stop": "docker compose -f docker-compose.visual.yml down",
|
|
26
|
-
"test:visual": "node ./scripts/run-visual-tests.js",
|
|
27
|
-
"test:visual:ui": "vite preview --outDir html",
|
|
28
|
-
"test:visual:update": "rimraf __screenshots__ && npm run test:visual:server:start && (vitest --config vitest.visual.config.ts --run --update || true) && npm run test:visual:server:stop",
|
|
29
|
-
"prettier": "prettier --check .",
|
|
30
|
-
"prettier:fix": "prettier --write .",
|
|
31
|
-
"check:types": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
|
|
32
|
-
"chakra:types": "npm run chakra typegen lib/theme/theme.ts -- --tsconfig tsconfig.app.json",
|
|
33
|
-
"lint": "eslint .",
|
|
34
|
-
"preview": "vite preview",
|
|
35
|
-
"chakra": "chakra"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@arethetypeswrong/cli": "^0.18.2",
|
|
39
|
-
"@caspeco/eslint-config-react": "^5.1.0",
|
|
40
|
-
"@caspeco/prettier-config": "^1.0.7",
|
|
41
|
-
"@chakra-ui/cli": "^3.34.0",
|
|
42
|
-
"@eslint/js": "^9.39.2",
|
|
43
|
-
"@types/node": "^24.10.12",
|
|
44
|
-
"@types/react": "^18.3.12",
|
|
45
|
-
"@types/react-dom": "^18.3.1",
|
|
46
|
-
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
47
|
-
"@vitest/browser-playwright": "^4.1.0",
|
|
48
|
-
"@vitest/ui": "^4.1.0",
|
|
49
|
-
"eslint": "^9.39.2",
|
|
50
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
51
|
-
"eslint-plugin-react-refresh": "^0.5.2",
|
|
52
|
-
"globals": "^17.4.0",
|
|
53
|
-
"rimraf": "^6.1.3",
|
|
54
|
-
"tsc-alias": "^1.8.16",
|
|
55
|
-
"typescript": "~5.9.3",
|
|
56
|
-
"typescript-eslint": "^8.58.0",
|
|
57
|
-
"vite": "^7.3.1",
|
|
58
|
-
"vite-plugin-dts": "^4.5.4",
|
|
59
|
-
"vite-tsconfig-paths": "^6.1.1",
|
|
60
|
-
"vitest": "^4.1.0",
|
|
61
|
-
"vitest-browser-react": "^2.2.0"
|
|
62
|
-
},
|
|
63
|
-
"peerDependencies": {
|
|
64
|
-
"@chakra-ui/react": "^3.32.0",
|
|
65
|
-
"@emotion/cache": "^11.14.0",
|
|
66
|
-
"@emotion/react": "^11.14.0",
|
|
67
|
-
"react": "^18.3.1",
|
|
68
|
-
"react-dom": "^18.3.1"
|
|
69
|
-
},
|
|
70
|
-
"dependencies": {
|
|
71
|
-
"@chakra-ui/anatomy": "^2.3.4",
|
|
72
|
-
"@dnd-kit/collision": "^0.3.2",
|
|
73
|
-
"@dnd-kit/react": "^0.3.2",
|
|
74
|
-
"@floating-ui/dom": "^1.7.6",
|
|
75
|
-
"@tanstack/react-table": "^8.21.3",
|
|
76
|
-
"@tanstack/react-virtual": "^3.13.23",
|
|
77
|
-
"csstype": "^3.2.3",
|
|
78
|
-
"date-fns": "^4.1.0",
|
|
79
|
-
"next-themes": "^0.4.6"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@caspeco/casper-ui-library",
|
|
3
|
+
"version": "9.0.0",
|
|
4
|
+
"prettier": "@caspeco/prettier-config",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"homepage": "https://github.com/Caspeco/casper-ui-library",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Caspeco/casper-ui-library.git"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"main": "dist/index.js",
|
|
16
|
+
"module": "dist/index.js",
|
|
17
|
+
"types": "dist/index.d.ts",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"prepare": "npm run chakra:types",
|
|
20
|
+
"dev": "vite build --watch --mode dev",
|
|
21
|
+
"build": "vite build --mode prod",
|
|
22
|
+
"tsc": "tsc --project tsconfig.app.json",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:visual:server:start": "docker compose -f docker-compose.visual.yml up -d --wait playwright-server",
|
|
25
|
+
"test:visual:server:stop": "docker compose -f docker-compose.visual.yml down",
|
|
26
|
+
"test:visual": "node ./scripts/run-visual-tests.js",
|
|
27
|
+
"test:visual:ui": "vite preview --outDir html",
|
|
28
|
+
"test:visual:update": "rimraf __screenshots__ && npm run test:visual:server:start && (vitest --config vitest.visual.config.ts --run --update || true) && npm run test:visual:server:stop",
|
|
29
|
+
"prettier": "prettier --check .",
|
|
30
|
+
"prettier:fix": "prettier --write .",
|
|
31
|
+
"check:types": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
|
|
32
|
+
"chakra:types": "npm run chakra typegen lib/theme/theme.ts -- --tsconfig tsconfig.app.json",
|
|
33
|
+
"lint": "eslint .",
|
|
34
|
+
"preview": "vite preview",
|
|
35
|
+
"chakra": "chakra"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
39
|
+
"@caspeco/eslint-config-react": "^5.1.0",
|
|
40
|
+
"@caspeco/prettier-config": "^1.0.7",
|
|
41
|
+
"@chakra-ui/cli": "^3.34.0",
|
|
42
|
+
"@eslint/js": "^9.39.2",
|
|
43
|
+
"@types/node": "^24.10.12",
|
|
44
|
+
"@types/react": "^18.3.12",
|
|
45
|
+
"@types/react-dom": "^18.3.1",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
47
|
+
"@vitest/browser-playwright": "^4.1.0",
|
|
48
|
+
"@vitest/ui": "^4.1.0",
|
|
49
|
+
"eslint": "^9.39.2",
|
|
50
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
51
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
52
|
+
"globals": "^17.4.0",
|
|
53
|
+
"rimraf": "^6.1.3",
|
|
54
|
+
"tsc-alias": "^1.8.16",
|
|
55
|
+
"typescript": "~5.9.3",
|
|
56
|
+
"typescript-eslint": "^8.58.0",
|
|
57
|
+
"vite": "^7.3.1",
|
|
58
|
+
"vite-plugin-dts": "^4.5.4",
|
|
59
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
60
|
+
"vitest": "^4.1.0",
|
|
61
|
+
"vitest-browser-react": "^2.2.0"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@chakra-ui/react": "^3.32.0",
|
|
65
|
+
"@emotion/cache": "^11.14.0",
|
|
66
|
+
"@emotion/react": "^11.14.0",
|
|
67
|
+
"react": "^18.3.1 || ^19.2.5",
|
|
68
|
+
"react-dom": "^18.3.1 || ^19.2.5"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@chakra-ui/anatomy": "^2.3.4",
|
|
72
|
+
"@dnd-kit/collision": "^0.3.2",
|
|
73
|
+
"@dnd-kit/react": "^0.3.2",
|
|
74
|
+
"@floating-ui/dom": "^1.7.6",
|
|
75
|
+
"@tanstack/react-table": "^8.21.3",
|
|
76
|
+
"@tanstack/react-virtual": "^3.13.23",
|
|
77
|
+
"csstype": "^3.2.3",
|
|
78
|
+
"date-fns": "^4.1.0",
|
|
79
|
+
"next-themes": "^0.4.6"
|
|
80
|
+
}
|
|
81
|
+
}
|