@arclux/arc-ui-preact 1.7.1 → 1.8.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/package.json +2 -2
- package/src/content/IconLibrary.tsx +15 -0
- package/src/content/index.ts +3 -0
- package/src/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arclux/arc-ui-preact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Preact wrappers for ARC UI Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"preact": ">=10.19.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@arclux/arc-ui": "1.
|
|
47
|
+
"@arclux/arc-ui": "1.8.0"
|
|
48
48
|
},
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"keywords": [
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface IconLibraryProps {
|
|
7
|
+
children?: preact.ComponentChildren;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const IconLibrary: FunctionComponent<IconLibraryProps> = ({ children, ...rest }) => (
|
|
12
|
+
<arc-icon-library {...rest}>
|
|
13
|
+
{children}
|
|
14
|
+
</arc-icon-library>
|
|
15
|
+
);
|
package/src/content/index.ts
CHANGED
|
@@ -90,3 +90,6 @@ export type { TruncateProps } from './Truncate.js';
|
|
|
90
90
|
|
|
91
91
|
export { CtaBanner } from './CtaBanner.js';
|
|
92
92
|
export type { CtaBannerProps } from './CtaBanner.js';
|
|
93
|
+
|
|
94
|
+
export { IconLibrary } from './IconLibrary.js';
|
|
95
|
+
export type { IconLibraryProps } from './IconLibrary.js';
|
package/src/index.ts
CHANGED
|
@@ -258,3 +258,6 @@ export type { OptionProps } from './shared/Option.js';
|
|
|
258
258
|
|
|
259
259
|
export { CtaBanner } from './content/CtaBanner.js';
|
|
260
260
|
export type { CtaBannerProps } from './content/CtaBanner.js';
|
|
261
|
+
|
|
262
|
+
export { IconLibrary } from './content/IconLibrary.js';
|
|
263
|
+
export type { IconLibraryProps } from './content/IconLibrary.js';
|