kahuna-base-react-components 1.0.6 → 1.0.7

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.
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface KButtonProps {
3
+ testIdPrefix: string;
4
+ label?: string;
5
+ theme: "primary" | "secondary";
6
+ disabled?: boolean;
7
+ }
8
+ declare const KButton: React.FC<KButtonProps>;
9
+ export default KButton;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
2
+ export default _default;
3
+ export declare const ButtonTest: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
4
+ export declare const ButtonSecondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
@@ -0,0 +1 @@
1
+ export { default } from './KButton';
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export interface KSpanProps {
3
+ testIdPrefix: string;
4
+ text?: string;
5
+ theme: "primary" | "secondary";
6
+ }
7
+ declare const KSpan: React.FC<KSpanProps>;
8
+ export default KSpan;
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("./KSpan").KSpanProps>;
2
+ export default _default;
3
+ export declare const SpanTest: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KSpan").KSpanProps>;
@@ -0,0 +1 @@
1
+ export { default } from './KSpan';
@@ -0,0 +1,3 @@
1
+ import KButton from "./components/KButton";
2
+ import KSpan from "./components/KSpan";
3
+ export { KButton, KSpan };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kahuna-base-react-components",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Kahuna Base React Components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
package/tsconfig.json CHANGED
@@ -2,6 +2,8 @@
2
2
  "compilerOptions": {
3
3
  "target": "es5",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
+ "declaration": true,
6
+ "declarationDir": "dist",
5
7
  "allowJs": true,
6
8
  "skipLibCheck": true,
7
9
  "esModuleInterop": true,
@@ -16,5 +18,8 @@
16
18
  "noEmit": true,
17
19
  "jsx": "react-jsx"
18
20
  },
19
- "include": ["src"]
21
+ "include": ["src"],
22
+ "exclude": [
23
+ "src/stories"
24
+ ]
20
25
  }