@apolitical/component-library 0.0.1 → 0.0.2
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/demo/demo.d.ts +4 -0
- package/demo/index.d.ts +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.mjs +8 -0
- package/package.json +9 -10
- package/style.css +0 -0
- package/README.md +0 -7
- package/index.esm.css +0 -7
- package/index.esm.d.ts +0 -1
- package/index.esm.js +0 -14
- package/src/index.d.ts +0 -1
- package/src/lib/component-library.d.ts +0 -4
- package/src/lib/component-library.stories.d.ts +0 -6
- package/src/lib/index.d.ts +0 -1
package/demo/demo.d.ts
ADDED
package/demo/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Demo } from './demo';
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './demo';
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n={};function o(r){return e.jsx("div",{className:n.container,children:e.jsx("h1",{children:"Component library demo!"})})}exports.Demo=o;
|
package/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apolitical/component-library",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"main": "./index.esm.js"
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"main": "./index.js",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./index.mjs",
|
|
9
|
+
"require": "./index.js"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
13
12
|
}
|
package/style.css
ADDED
|
File without changes
|
package/README.md
DELETED
package/index.esm.css
DELETED
package/index.esm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./src/index";
|
package/index.esm.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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/src/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib';
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
package/src/lib/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ComponentLibrary } from './component-library';
|