@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/CHANGELOG.md +11 -0
- package/dist/custom-elements.json +585 -0
- package/dist/index.d.ts +12593 -6
- package/package.json +5 -5
- package/dist/exhibition/Avatar/src/Avatar.d.ts +0 -7
- package/dist/exhibition/Avatar/src/avatar.types.d.ts +0 -6
- package/dist/exhibition/Avatar/src/index.d.ts +0 -1
- package/dist/exhibition/Badge/src/Badge.d.ts +0 -24
- package/dist/exhibition/Badge/src/badge.types.d.ts +0 -8
- package/dist/exhibition/Badge/src/index.d.ts +0 -1
- package/dist/exhibition/Text/src/Text.d.ts +0 -7
- package/dist/exhibition/Text/src/index.d.ts +0 -1
- package/dist/exhibition/Text/src/text.types.d.ts +0 -6
- package/dist/exhibition/Title/src/Title.d.ts +0 -7
- package/dist/exhibition/Title/src/index.d.ts +0 -1
- package/dist/exhibition/Title/src/title.types.d.ts +0 -6
- package/dist/input/Button/src/Button.d.ts +0 -11
- package/dist/input/Button/src/button.types.d.ts +0 -6
- package/dist/input/Button/src/index.d.ts +0 -1
- package/dist/layout/Box/src/Box.d.ts +0 -6
- package/dist/layout/Box/src/box.types.d.ts +0 -6
- package/dist/layout/Box/src/index.d.ts +0 -1
- package/dist/navigation/Tabs/src/Tabs.d.ts +0 -16
- package/dist/navigation/Tabs/src/index.d.ts +0 -1
- package/dist/navigation/Tabs/src/tabs.types.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/components",
|
|
3
|
-
"version": "1.1.0
|
|
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
|
|
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": "
|
|
34
|
-
"
|
|
33
|
+
"@rarui/rollup": "^1.0.0",
|
|
34
|
+
"@rarui/styles": "^2.3.0"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
import "./Badge";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Text";
|
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
import "./Button";
|
|
@@ -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";
|