@capra/core 1.5.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/LICENSE.txt +3 -0
- package/README.md +31 -0
- package/dist/index.cjs +4848 -0
- package/dist/index.d.cts +2193 -0
- package/dist/index.d.mts +2193 -0
- package/dist/index.mjs +4768 -0
- package/dist/style.css +4067 -0
- package/package.json +57 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
Copyright © 2026 Cribl, Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
The software and files in this repository (collectively, "Software") are licensed as Packs under the Cribl Developer Agreement (the "Agreement") for use only on the Cribl platform. This license allows developers with a current active Cribl account to use the authorized portions of the Software in accordance with the Agreement. This license terminates automatically if a developer no longer has a Cribl account in good standing or breaches the Agreement. For the license terms, please see the Agreement at https://cribl.io/legal/packs-developer-agreement/.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @capra/core
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
`@capra/core` publishes the foundational React components for the Capra design system, along with the package stylesheet entry point at `@capra/core/styles.css`.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
pnpm add @capra/core @capra/theme react react-dom
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import '@capra/theme/base.css';
|
|
17
|
+
import '@capra/core/styles.css';
|
|
18
|
+
import { Button } from '@capra/core';
|
|
19
|
+
|
|
20
|
+
export function Example() {
|
|
21
|
+
return <Button>Run search</Button>;
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Peer dependencies
|
|
26
|
+
|
|
27
|
+
`@capra/core` expects `react` and `react-dom` as peer dependencies.
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
This package is proprietary software. See [LICENSE.txt](./LICENSE.txt).
|