@codarmais/ui 0.1.6 → 0.1.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.
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ export type HeaderLogoSize = "small" | "medium" | "large";
3
+ export 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;
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,11 @@
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 {};
@@ -0,0 +1,2 @@
1
+ export { default } from "./HeaderLogo";
2
+ export type { HeaderLogoSize, HeaderLogoProps } from "./HeaderLogo";
@@ -0,0 +1,2 @@
1
+ export { default as HeaderLogo } from "./HeaderLogo";
2
+ export type { HeaderLogoProps, HeaderLogoSize } from "./HeaderLogo";
@@ -0,0 +1,2 @@
1
+ export { default as HeaderLogo } from "./components/HeaderLogo/HeaderLogo";
2
+ export type { HeaderLogoProps, HeaderLogoSize } from "./components/HeaderLogo/HeaderLogo";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codarmais/ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Codar Mais UI - Biblioteca de componentes React corporativos",
5
5
  "private": false,
6
6
  "main": "./dist/index.cjs.js",