@apolitical/component-library 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ # component-library
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test component-library` to execute the unit tests via [Jest](https://jestjs.io).
package/index.esm.css ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Replace this with your own classes
3
+ *
4
+ * e.g.
5
+ * .container {
6
+ * }
7
+ */
package/index.esm.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src/index";
package/index.esm.js ADDED
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+
3
+ var styles = {};
4
+
5
+ function ComponentLibrary(props) {
6
+ return jsx("div", {
7
+ className: styles['container'],
8
+ children: jsx("h1", {
9
+ children: "Welcome to ComponentLibrary!"
10
+ })
11
+ });
12
+ }
13
+
14
+ export { ComponentLibrary };
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@apolitical/component-library",
3
+ "version": "0.0.1",
4
+ "description": "Reusable React components for Apolitical UIs",
5
+ "author": "Apolitical Group Limited <engineering@apolitical.co>",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "module": "./index.esm.js",
11
+ "type": "module",
12
+ "main": "./index.esm.js"
13
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './lib';
@@ -0,0 +1,4 @@
1
+ export interface ComponentLibraryProps {
2
+ }
3
+ export declare function ComponentLibrary(props: ComponentLibraryProps): import("react/jsx-runtime").JSX.Element;
4
+ export default ComponentLibrary;
@@ -0,0 +1,6 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { ComponentLibrary } from './index';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./component-library").ComponentLibraryProps>;
4
+ export default _default;
5
+ type Story = StoryObj<typeof ComponentLibrary>;
6
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export { default as ComponentLibrary } from './component-library';