@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 +7 -0
- package/index.esm.css +7 -0
- package/index.esm.d.ts +1 -0
- package/index.esm.js +14 -0
- package/package.json +13 -0
- package/src/index.d.ts +1 -0
- package/src/lib/component-library.d.ts +4 -0
- package/src/lib/component-library.stories.d.ts +6 -0
- package/src/lib/index.d.ts +1 -0
package/README.md
ADDED
package/index.esm.css
ADDED
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,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';
|