@codarmais/ui 0.1.3 → 0.1.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codarmais/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "description": "Codar Mais UI - Biblioteca de componentes React corporativos",
5
5
  "private": false,
6
6
  "main": "./dist/index.cjs.js",
@@ -10,7 +10,8 @@
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.esm.js",
13
- "require": "./dist/index.cjs.js"
13
+ "require": "./dist/index.cjs.js",
14
+ "default": "./dist/index.esm.js"
14
15
  }
15
16
  },
16
17
  "files": [
package/dist/App.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- export type HeaderLogoSize = "small" | "medium" | "large";
3
- interface HeaderLogoProps {
4
- altText?: string;
5
- size?: HeaderLogoSize;
6
- onClickRedirect?: () => void;
7
- disableHover?: boolean;
8
- white?: boolean;
9
- customLogo?: string;
10
- }
11
- declare const HeaderLogo: React.FC<HeaderLogoProps>;
12
- export default HeaderLogo;
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import HeaderLogo from "./HeaderLogo";
3
- declare const meta: Meta<typeof HeaderLogo>;
4
- export default meta;
5
- type Story = StoryObj<typeof HeaderLogo>;
6
- export declare const Default: Story;
7
- export declare const Clickable: Story;
8
- export declare const WithoutHover: Story;
9
- export declare const WhiteVersion: Story;
10
- export declare const CustomLogo: Story;
@@ -1,11 +0,0 @@
1
- import type { HeaderLogoSize } from "./HeaderLogo";
2
- type LogoWrapperProps = {
3
- $clickable?: boolean;
4
- };
5
- type LogoImageProps = {
6
- $size: HeaderLogoSize;
7
- $disableHover?: boolean;
8
- };
9
- export declare const LogoWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LogoWrapperProps>> & string;
10
- export declare const LogoImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, LogoImageProps>> & string;
11
- export {};
@@ -1,2 +0,0 @@
1
- export { default } from "./HeaderLogo";
2
- export type { HeaderLogoSize } from "./HeaderLogo";
@@ -1,2 +0,0 @@
1
- import HeaderLogo from "./HeaderLogo";
2
- export { HeaderLogo };
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./components";