@accretion_ui/react 0.1.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 +25 -0
- package/dist/generated/components.d.ts +9 -0
- package/dist/generated/components.d.ts.map +1 -0
- package/dist/generated/components.js +18 -0
- package/dist/generated/components.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +61 -0
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @accretion_ui/react
|
|
2
|
+
|
|
3
|
+
React wrappers for Accretion UI web components.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @accretion_ui/react @accretion_ui/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import { AccretionButton } from '@accretion_ui/react';
|
|
15
|
+
|
|
16
|
+
export function Example() {
|
|
17
|
+
return <AccretionButton>Click Me</AccretionButton>;
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Peer dependencies
|
|
22
|
+
|
|
23
|
+
- `react` `^18.2.0 || ^19.0.0`
|
|
24
|
+
- `react-dom` `^18.2.0 || ^19.0.0`
|
|
25
|
+
- `@accretion_ui/core` `^0.1.0`
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { AccretionButton as AccretionButtonElement } from "@accretion_ui/core/dist/components/accretion-button.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type AccretionButtonEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const AccretionButton: StencilReactComponent<AccretionButtonElement, AccretionButtonEvents>;
|
|
9
|
+
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/generated/components.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAgD,MAAM,wDAAwD,CAAC;AACjK,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,qBAAqB,CAAC,sBAAsB,EAAE,qBAAqB,CAO/F,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { AccretionButton as AccretionButtonElement, defineCustomElement as defineAccretionButton } from "@accretion_ui/core/dist/components/accretion-button.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const AccretionButton = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'accretion-button',
|
|
12
|
+
elementClass: AccretionButtonElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineAccretionButton
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/generated/components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb;;;GAGG;AAEH,oBAAoB;AAEpB,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAE,mBAAmB,IAAI,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAEjK,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,eAAe,GAAyE,aAAa,CAAC,eAAe,CAAgD;IAC9K,OAAO,EAAE,kBAAkB;IAC3B,YAAY,EAAE,sBAAsB;IACpC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAA2B;IACnC,mBAAmB,EAAE,qBAAqB;CAC7C,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@accretion_ui/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "React wrappers for Accretion UI web components.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"accretion",
|
|
7
|
+
"design-system",
|
|
8
|
+
"react",
|
|
9
|
+
"web-components",
|
|
10
|
+
"stencil"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/BrianARuff/accretion_react.git"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/BrianARuff/accretion_react/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/BrianARuff/accretion_react#readme",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"main": "dist/index.js",
|
|
24
|
+
"module": "dist/index.js",
|
|
25
|
+
"types": "dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"clean": "rm -rf dist",
|
|
38
|
+
"generate": "npm --prefix ../core run build",
|
|
39
|
+
"build": "npm run clean && npm run generate && tsc -p tsconfig.build.json",
|
|
40
|
+
"watch": "tsc -p tsconfig.build.json --watch",
|
|
41
|
+
"prepublishOnly": "npm run build",
|
|
42
|
+
"publish:package": "npm publish --access public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@stencil/react-output-target": "^1.4.2"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@accretion_ui/core": "^0.1.0",
|
|
49
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
50
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@accretion_ui/core": "file:../core",
|
|
54
|
+
"@types/react": "^19.1.0",
|
|
55
|
+
"@types/react-dom": "^19.1.0",
|
|
56
|
+
"typescript": "^5.9.3"
|
|
57
|
+
},
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
}
|
|
61
|
+
}
|