@rarui/components 1.1.0-rc.1 → 1.1.0

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": "@rarui/components",
3
- "version": "1.1.0-rc.1",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "build": "rm -rf dist && yarn g:rollup packages/implementations/web-components",
17
17
  "clean": "rm -rf dist && rm -rf storybook-static",
18
18
  "version": "yarn version",
19
- "analyze": "yarn g:analyze index.ts",
19
+ "analyze": "yarn g:analyze ../src",
20
20
  "storybook:dev": "yarn g:storybook dev -p 6008 --config-dir ./packages/implementations/web-components/.storybook",
21
21
  "storybook:build": "yarn g:storybook build --config-dir ./packages/implementations/web-components/.storybook -o ./packages/implementations/web-components/storybook-static",
22
22
  "storybook:move": "mv storybook-static ../../../storybook-static/web-components"
@@ -30,7 +30,7 @@
30
30
  "url": "https://git.rarolabs.com.br/frontend/rarui//issues"
31
31
  },
32
32
  "devDependencies": {
33
- "@rarui/rollup": "workspace:^",
34
- "vite-plugin-node-polyfills": "^0.23.0"
33
+ "@rarui/rollup": "^1.0.0",
34
+ "@rarui/styles": "^2.3.0"
35
35
  }
36
- }
36
+ }
@@ -1,7 +0,0 @@
1
- import { LitElement } from "lit";
2
- import { AvatarProps } from "@rarui/typings";
3
- export declare class RaruiAvatar extends LitElement {
4
- size?: AvatarProps["size"];
5
- static styles: import("lit").CSSResult;
6
- render(): import("lit-html").TemplateResult<1>;
7
- }
@@ -1,6 +0,0 @@
1
- import { RaruiAvatar } from "./Avatar";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-avatar": RaruiAvatar;
5
- }
6
- }
@@ -1 +0,0 @@
1
- import "./Avatar";
@@ -1,24 +0,0 @@
1
- import { LitElement } from "lit";
2
- import { BadgeProperties as BadgeProps } from "./badge.types";
3
- export declare class RaruiBagde extends LitElement {
4
- /**
5
- * Determines the visual style of the badge, influencing its color scheme and appearance.
6
- * @default brand
7
- * @type {"brand" | "danger" | "success" | "warning" | "info" | "neutral" | "inverted"}
8
- */
9
- appearance?: BadgeProps["appearance"];
10
- /**
11
- * Defines the visual variant of the badge, affecting its background style.
12
- * @defaiult solid
13
- * @type {"solid" | "outlined"}
14
- */
15
- variant?: BadgeProps["variant"];
16
- /**
17
- * Specifies the size of the badge, controlling its dimensions.
18
- * @defaiult medium
19
- * @type {"large" | "medium" | "small" | "dot"}
20
- */
21
- size?: BadgeProps["size"];
22
- static styles: import("lit").CSSResult;
23
- render(): import("lit-html").TemplateResult<1>;
24
- }
@@ -1,8 +0,0 @@
1
- import { BadgeVariants } from "@rarui/styles";
2
- import { RaruiBagde } from "./Badge";
3
- declare global {
4
- interface HTMLElementTagNameMap {
5
- "rarui-badge": RaruiBagde;
6
- }
7
- }
8
- export type BadgeProperties = BadgeVariants;
@@ -1 +0,0 @@
1
- import "./Badge";
@@ -1,7 +0,0 @@
1
- import { LitElement } from "lit";
2
- export declare class RaruiText extends LitElement {
3
- sprinkleAttrs: Record<string, string>;
4
- "line-clamp"?: string;
5
- static styles: import("lit").CSSResult;
6
- render(): import("lit-html").TemplateResult<1>;
7
- }
@@ -1 +0,0 @@
1
- import "./Text";
@@ -1,6 +0,0 @@
1
- import { RaruiText } from "./Text";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-text": RaruiText;
5
- }
6
- }
@@ -1,7 +0,0 @@
1
- import { LitElement } from "lit";
2
- export declare class RaruiTitle extends LitElement {
3
- sprinkleAttrs: Record<string, string>;
4
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
- static styles: import("lit").CSSResult;
6
- render(): import("lit-html").TemplateResult<1>;
7
- }
@@ -1 +0,0 @@
1
- import "./Title";
@@ -1,6 +0,0 @@
1
- import { RaruiTitle } from "./Title";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-title": RaruiTitle;
5
- }
6
- }
@@ -1,11 +0,0 @@
1
- import { LitElement } from "lit";
2
- import { ButtonVariants } from "@rarui/styles";
3
- export declare class RaruiButton extends LitElement {
4
- appearance: ButtonVariants["appearance"];
5
- size: ButtonVariants["size"];
6
- variant: ButtonVariants["variant"];
7
- full: ButtonVariants["full"];
8
- disabled: boolean;
9
- static styles: import("lit").CSSResult;
10
- render(): import("lit-html").TemplateResult<1>;
11
- }
@@ -1,6 +0,0 @@
1
- import { RaruiButton } from "./Button";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-button": RaruiButton;
5
- }
6
- }
@@ -1 +0,0 @@
1
- import "./Button";
@@ -1,6 +0,0 @@
1
- import { LitElement } from "lit";
2
- export declare class RaruiBox extends LitElement {
3
- sprinkleAttrs: Record<string, string>;
4
- static styles: import("lit").CSSResult;
5
- render(): import("lit-html").TemplateResult<1>;
6
- }
@@ -1,6 +0,0 @@
1
- import { RaruiBox } from "./Box";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-box": RaruiBox;
5
- }
6
- }
@@ -1 +0,0 @@
1
- import "./Box";
@@ -1,16 +0,0 @@
1
- import { LitElement } from "lit";
2
- import { TabsVariants } from "@rarui/styles";
3
- export declare class RaruiTabs extends LitElement {
4
- position: TabsVariants["position"];
5
- defaultTab: number;
6
- full: TabsVariants["full"];
7
- underlined: TabsVariants["underlined"];
8
- selected: number;
9
- private items;
10
- static styles: import("lit").CSSResult;
11
- firstUpdated(): void;
12
- selectTab(index: number): void;
13
- updated(): void;
14
- private updateTabVisibility;
15
- render(): import("lit-html").TemplateResult<1>;
16
- }
@@ -1 +0,0 @@
1
- import "./Tabs";
@@ -1,6 +0,0 @@
1
- import { RaruiTabs } from "./Tabs";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "rarui-tabs": RaruiTabs;
5
- }
6
- }