@rarui/components 1.11.0 → 1.12.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 +8 -1
- package/custom-elements.json +160 -1
- package/dist/index.d.ts +302 -44
- package/dist/index.js +113 -85
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
`@rarui/components` components is a component library built with [Stencil](https://stenciljs.com/docs/introduction).
|
|
4
4
|
|
|
5
|
-
## 2025-06-
|
|
5
|
+
## 2025-06-18 `1.12.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added new feedback `Status` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
- Added new navigation `Link` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
11
|
+
|
|
12
|
+
## 2025-06-17 `1.11.0`
|
|
6
13
|
|
|
7
14
|
#### 🎉 New features
|
|
8
15
|
|
package/custom-elements.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.11.0",
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "rarui-avatar",
|
|
@@ -2369,6 +2369,84 @@
|
|
|
2369
2369
|
}
|
|
2370
2370
|
]
|
|
2371
2371
|
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "rarui-status",
|
|
2374
|
+
"description": "## Rarui Status\n---\nVisual indicator that shows the current status or situation of an item or process.\nUseful for providing fast and understandable feedback to users.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/status) for more details.",
|
|
2375
|
+
"attributes": [
|
|
2376
|
+
{
|
|
2377
|
+
"name": "dot",
|
|
2378
|
+
"default": true,
|
|
2379
|
+
"description": "Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.",
|
|
2380
|
+
"type": "boolean"
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"name": "full",
|
|
2384
|
+
"default": false,
|
|
2385
|
+
"description": "Specifies whether the status should take up the full width of its container.\nThis variant is useful when you want to make a status span the entire width of its parent container.",
|
|
2386
|
+
"type": "boolean"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "appearance",
|
|
2390
|
+
"default": "success",
|
|
2391
|
+
"description": "Determines the visual style of the status, influencing its color scheme.\n\n- danger\n- info\n- inverted\n- neutral\n- success\n- warning",
|
|
2392
|
+
"type": "string",
|
|
2393
|
+
"values": [
|
|
2394
|
+
{
|
|
2395
|
+
"name": "danger"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "info"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "inverted"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "neutral"
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"name": "success",
|
|
2408
|
+
"description": "(default)"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "warning"
|
|
2412
|
+
}
|
|
2413
|
+
]
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"name": "size",
|
|
2417
|
+
"default": "normal",
|
|
2418
|
+
"description": "Specifies the size of the badge, controlling its dimensions.\n\n- normal\n- small",
|
|
2419
|
+
"type": "string",
|
|
2420
|
+
"values": [
|
|
2421
|
+
{
|
|
2422
|
+
"name": "normal",
|
|
2423
|
+
"description": "(default)"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"name": "small"
|
|
2427
|
+
}
|
|
2428
|
+
]
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "variant",
|
|
2432
|
+
"default": "solid",
|
|
2433
|
+
"description": "Specifies the variant of the status\n\n- solid\n- subdued\n- text",
|
|
2434
|
+
"type": "string",
|
|
2435
|
+
"values": [
|
|
2436
|
+
{
|
|
2437
|
+
"name": "solid",
|
|
2438
|
+
"description": "(default)"
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"name": "subdued"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "text"
|
|
2445
|
+
}
|
|
2446
|
+
]
|
|
2447
|
+
}
|
|
2448
|
+
]
|
|
2449
|
+
},
|
|
2372
2450
|
{
|
|
2373
2451
|
"name": "rarui-button",
|
|
2374
2452
|
"description": "## Rarui Button\n---\nButton allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/button) for more details.",
|
|
@@ -6544,6 +6622,87 @@
|
|
|
6544
6622
|
}
|
|
6545
6623
|
]
|
|
6546
6624
|
},
|
|
6625
|
+
{
|
|
6626
|
+
"name": "rarui-link",
|
|
6627
|
+
"description": "## Rarui Link\n---\nA link (abbreviation of hyperlink) is an html object that allows you to jump to a new location when clicking or playing it\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/link) for more details.",
|
|
6628
|
+
"attributes": [
|
|
6629
|
+
{
|
|
6630
|
+
"name": "appearance",
|
|
6631
|
+
"default": "brand",
|
|
6632
|
+
"description": "Determines the visual style of the link.\n\n- brand\n- inverted\n- neutral",
|
|
6633
|
+
"type": "string",
|
|
6634
|
+
"values": [
|
|
6635
|
+
{
|
|
6636
|
+
"name": "brand",
|
|
6637
|
+
"description": "(default)"
|
|
6638
|
+
},
|
|
6639
|
+
{
|
|
6640
|
+
"name": "inverted"
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
"name": "neutral"
|
|
6644
|
+
}
|
|
6645
|
+
]
|
|
6646
|
+
},
|
|
6647
|
+
{
|
|
6648
|
+
"name": "size",
|
|
6649
|
+
"default": "large",
|
|
6650
|
+
"description": "Specifies the size of the link.\n\n- large\n- medium\n- small",
|
|
6651
|
+
"type": "string",
|
|
6652
|
+
"values": [
|
|
6653
|
+
{
|
|
6654
|
+
"name": "large",
|
|
6655
|
+
"description": "(default)"
|
|
6656
|
+
},
|
|
6657
|
+
{
|
|
6658
|
+
"name": "medium"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
"name": "small"
|
|
6662
|
+
}
|
|
6663
|
+
]
|
|
6664
|
+
},
|
|
6665
|
+
{
|
|
6666
|
+
"name": "type",
|
|
6667
|
+
"description": "Defines the native type of the button.\nIt can be `Button`, `submit` or `reset`.\n\n** IMPORTANT: ** should only be used when `as=\"button\"`.\n\n- button\n- reset\n- submit",
|
|
6668
|
+
"type": "string",
|
|
6669
|
+
"values": [
|
|
6670
|
+
{
|
|
6671
|
+
"name": "button"
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "reset"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"name": "submit"
|
|
6678
|
+
}
|
|
6679
|
+
]
|
|
6680
|
+
},
|
|
6681
|
+
{
|
|
6682
|
+
"name": "disabled",
|
|
6683
|
+
"description": "Disable the button, preventing user interactions.\n\n** IMPORTANT: ** should only be used when `as=\"button\"`.",
|
|
6684
|
+
"type": "boolean"
|
|
6685
|
+
},
|
|
6686
|
+
{
|
|
6687
|
+
"name": "as",
|
|
6688
|
+
"description": "Define or rendered element type.\n\n- `a`: renders an element `<a>`, ideal for navigation.\n- `Button`: render an element `<Button>`, ideal for actions.\n\n- a\n- button",
|
|
6689
|
+
"type": "string",
|
|
6690
|
+
"values": [
|
|
6691
|
+
{
|
|
6692
|
+
"name": "a"
|
|
6693
|
+
},
|
|
6694
|
+
{
|
|
6695
|
+
"name": "button"
|
|
6696
|
+
}
|
|
6697
|
+
]
|
|
6698
|
+
},
|
|
6699
|
+
{
|
|
6700
|
+
"name": "href",
|
|
6701
|
+
"description": "Defines the destination URL of the link.\n\n** IMPORTANT: ** should only be used when `as=\"a\"`.",
|
|
6702
|
+
"type": "string"
|
|
6703
|
+
}
|
|
6704
|
+
]
|
|
6705
|
+
},
|
|
6547
6706
|
{
|
|
6548
6707
|
"name": "rarui-tabs",
|
|
6549
6708
|
"description": "## Rarui Tabs\n---\nThe Tabs are used to switch between different display modes or pages.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/tabs) for more details.",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/** TemplateResult types */
|
|
8
|
+
declare const HTML_RESULT = 1;
|
|
9
|
+
declare const SVG_RESULT = 2;
|
|
10
|
+
declare const MATHML_RESULT = 3;
|
|
11
|
+
type ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;
|
|
12
|
+
/**
|
|
13
|
+
* The return type of the template tag functions, {@linkcode html} and
|
|
14
|
+
* {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.
|
|
15
|
+
*
|
|
16
|
+
* A `TemplateResult` object holds all the information about a template
|
|
17
|
+
* expression required to render it: the template strings, expression values,
|
|
18
|
+
* and type of template (html or svg).
|
|
19
|
+
*
|
|
20
|
+
* `TemplateResult` objects do not create any DOM on their own. To create or
|
|
21
|
+
* update DOM you need to render the `TemplateResult`. See
|
|
22
|
+
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
type UncompiledTemplateResult<T extends ResultType = ResultType> = {
|
|
26
|
+
['_$litType$']: T;
|
|
27
|
+
strings: TemplateStringsArray;
|
|
28
|
+
values: unknown[];
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The return type of the template tag functions, {@linkcode html} and
|
|
32
|
+
* {@linkcode svg}.
|
|
33
|
+
*
|
|
34
|
+
* A `TemplateResult` object holds all the information about a template
|
|
35
|
+
* expression required to render it: the template strings, expression values,
|
|
36
|
+
* and type of template (html or svg).
|
|
37
|
+
*
|
|
38
|
+
* `TemplateResult` objects do not create any DOM on their own. To create or
|
|
39
|
+
* update DOM you need to render the `TemplateResult`. See
|
|
40
|
+
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
|
41
|
+
*
|
|
42
|
+
* In Lit 4, this type will be an alias of
|
|
43
|
+
* MaybeCompiledTemplateResult, so that code will get type errors if it assumes
|
|
44
|
+
* that Lit templates are not compiled. When deliberately working with only
|
|
45
|
+
* one, use either {@linkcode CompiledTemplateResult} or
|
|
46
|
+
* {@linkcode UncompiledTemplateResult} explicitly.
|
|
47
|
+
*/
|
|
48
|
+
type TemplateResult<T extends ResultType = ResultType> = UncompiledTemplateResult<T>;
|
|
49
|
+
/**
|
|
50
|
+
* Object specifying options for controlling lit-html rendering. Note that
|
|
51
|
+
* while `render` may be called multiple times on the same `container` (and
|
|
52
|
+
* `renderBefore` reference node) to efficiently update the rendered content,
|
|
53
|
+
* only the options passed in during the first render are respected during
|
|
54
|
+
* the lifetime of renders to that unique `container` + `renderBefore`
|
|
55
|
+
* combination.
|
|
56
|
+
*/
|
|
57
|
+
interface RenderOptions {
|
|
58
|
+
/**
|
|
59
|
+
* An object to use as the `this` value for event listeners. It's often
|
|
60
|
+
* useful to set this to the host component rendering a template.
|
|
61
|
+
*/
|
|
62
|
+
host?: object;
|
|
63
|
+
/**
|
|
64
|
+
* A DOM node before which to render content in the container.
|
|
65
|
+
*/
|
|
66
|
+
renderBefore?: ChildNode | null;
|
|
67
|
+
/**
|
|
68
|
+
* Node used for cloning the template (`importNode` will be called on this
|
|
69
|
+
* node). This controls the `ownerDocument` of the rendered DOM, along with
|
|
70
|
+
* any inherited context. Defaults to the global `document`.
|
|
71
|
+
*/
|
|
72
|
+
creationScope?: {
|
|
73
|
+
importNode(node: Node, deep?: boolean): Node;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The initial connected state for the top-level part being rendered. If no
|
|
77
|
+
* `isConnected` option is set, `AsyncDirective`s will be connected by
|
|
78
|
+
* default. Set to `false` if the initial render occurs in a disconnected tree
|
|
79
|
+
* and `AsyncDirective`s should see `isConnected === false` for their initial
|
|
80
|
+
* render. The `part.setConnected()` method must be used subsequent to initial
|
|
81
|
+
* render to change the connected state of the part.
|
|
82
|
+
*/
|
|
83
|
+
isConnected?: boolean;
|
|
84
|
+
}
|
|
85
|
+
|
|
1
86
|
/**
|
|
2
87
|
* A CSSResult or native CSSStyleSheet.
|
|
3
88
|
*
|
|
@@ -829,49 +914,6 @@ declare abstract class ReactiveElement extends HTMLElement implements ReactiveCo
|
|
|
829
914
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
830
915
|
}
|
|
831
916
|
|
|
832
|
-
/**
|
|
833
|
-
* @license
|
|
834
|
-
* Copyright 2017 Google LLC
|
|
835
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
836
|
-
*/
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* Object specifying options for controlling lit-html rendering. Note that
|
|
840
|
-
* while `render` may be called multiple times on the same `container` (and
|
|
841
|
-
* `renderBefore` reference node) to efficiently update the rendered content,
|
|
842
|
-
* only the options passed in during the first render are respected during
|
|
843
|
-
* the lifetime of renders to that unique `container` + `renderBefore`
|
|
844
|
-
* combination.
|
|
845
|
-
*/
|
|
846
|
-
interface RenderOptions {
|
|
847
|
-
/**
|
|
848
|
-
* An object to use as the `this` value for event listeners. It's often
|
|
849
|
-
* useful to set this to the host component rendering a template.
|
|
850
|
-
*/
|
|
851
|
-
host?: object;
|
|
852
|
-
/**
|
|
853
|
-
* A DOM node before which to render content in the container.
|
|
854
|
-
*/
|
|
855
|
-
renderBefore?: ChildNode | null;
|
|
856
|
-
/**
|
|
857
|
-
* Node used for cloning the template (`importNode` will be called on this
|
|
858
|
-
* node). This controls the `ownerDocument` of the rendered DOM, along with
|
|
859
|
-
* any inherited context. Defaults to the global `document`.
|
|
860
|
-
*/
|
|
861
|
-
creationScope?: {
|
|
862
|
-
importNode(node: Node, deep?: boolean): Node;
|
|
863
|
-
};
|
|
864
|
-
/**
|
|
865
|
-
* The initial connected state for the top-level part being rendered. If no
|
|
866
|
-
* `isConnected` option is set, `AsyncDirective`s will be connected by
|
|
867
|
-
* default. Set to `false` if the initial render occurs in a disconnected tree
|
|
868
|
-
* and `AsyncDirective`s should see `isConnected === false` for their initial
|
|
869
|
-
* render. The `part.setConnected()` method must be used subsequent to initial
|
|
870
|
-
* render to change the connected state of the part.
|
|
871
|
-
*/
|
|
872
|
-
isConnected?: boolean;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
917
|
/**
|
|
876
918
|
* @license
|
|
877
919
|
* Copyright 2017 Google LLC
|
|
@@ -16750,6 +16792,49 @@ declare const iconButtonStyles: {
|
|
|
16750
16792
|
|
|
16751
16793
|
type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
|
|
16752
16794
|
|
|
16795
|
+
declare const styles$4: {
|
|
16796
|
+
link: RuntimeFn<{
|
|
16797
|
+
/**
|
|
16798
|
+
* Determines the visual style of the link.
|
|
16799
|
+
* @default brand
|
|
16800
|
+
*/
|
|
16801
|
+
appearance: {
|
|
16802
|
+
brand: {
|
|
16803
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16804
|
+
};
|
|
16805
|
+
neutral: {
|
|
16806
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16807
|
+
};
|
|
16808
|
+
inverted: {
|
|
16809
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16810
|
+
};
|
|
16811
|
+
};
|
|
16812
|
+
/**
|
|
16813
|
+
* Specifies the size of the link.
|
|
16814
|
+
* @default large
|
|
16815
|
+
*/
|
|
16816
|
+
size: {
|
|
16817
|
+
large: {
|
|
16818
|
+
fontSize: "1.125rem";
|
|
16819
|
+
lineHeight: "1.75rem";
|
|
16820
|
+
letterSpacing: ".0112rem";
|
|
16821
|
+
};
|
|
16822
|
+
small: {
|
|
16823
|
+
fontSize: ".875rem";
|
|
16824
|
+
lineHeight: "1.25rem";
|
|
16825
|
+
letterSpacing: ".0088rem";
|
|
16826
|
+
};
|
|
16827
|
+
medium: {
|
|
16828
|
+
fontSize: "1rem";
|
|
16829
|
+
lineHeight: "1.5rem";
|
|
16830
|
+
letterSpacing: ".01rem";
|
|
16831
|
+
};
|
|
16832
|
+
};
|
|
16833
|
+
}>;
|
|
16834
|
+
};
|
|
16835
|
+
|
|
16836
|
+
type LinkVariants = NonNullable<RecipeVariants<typeof styles$4.link>>;
|
|
16837
|
+
|
|
16753
16838
|
declare const progressStyles: {
|
|
16754
16839
|
progress: string;
|
|
16755
16840
|
bar: string;
|
|
@@ -16858,6 +16943,91 @@ declare const styles$3: {
|
|
|
16858
16943
|
|
|
16859
16944
|
type RadioButtonVariants = NonNullable<RecipeVariants<typeof styles$3.radioButton>>;
|
|
16860
16945
|
|
|
16946
|
+
declare const statusStyles: {
|
|
16947
|
+
status: RuntimeFn<{
|
|
16948
|
+
/**
|
|
16949
|
+
* Specifies whether the status should take up the full width of its container.
|
|
16950
|
+
* This variant is useful when you want to make a status span the entire width of its parent container.
|
|
16951
|
+
* @default false
|
|
16952
|
+
*
|
|
16953
|
+
*/
|
|
16954
|
+
full: {
|
|
16955
|
+
true: {
|
|
16956
|
+
width: "100%";
|
|
16957
|
+
};
|
|
16958
|
+
};
|
|
16959
|
+
/**
|
|
16960
|
+
* Determines the visual style of the status, influencing its color scheme.
|
|
16961
|
+
* @default success
|
|
16962
|
+
*/
|
|
16963
|
+
appearance: {
|
|
16964
|
+
success: {
|
|
16965
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16966
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16967
|
+
};
|
|
16968
|
+
warning: {
|
|
16969
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16970
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16971
|
+
};
|
|
16972
|
+
danger: {
|
|
16973
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16974
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16975
|
+
};
|
|
16976
|
+
inverted: {
|
|
16977
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16978
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16979
|
+
};
|
|
16980
|
+
neutral: {
|
|
16981
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16982
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16983
|
+
};
|
|
16984
|
+
info: {
|
|
16985
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16986
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16987
|
+
};
|
|
16988
|
+
};
|
|
16989
|
+
/**
|
|
16990
|
+
* Specifies the size of the badge, controlling its dimensions.
|
|
16991
|
+
* @default normal
|
|
16992
|
+
*/
|
|
16993
|
+
size: {
|
|
16994
|
+
normal: {
|
|
16995
|
+
height: "1.75rem";
|
|
16996
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16997
|
+
};
|
|
16998
|
+
small: {
|
|
16999
|
+
height: "1.5rem";
|
|
17000
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17001
|
+
};
|
|
17002
|
+
};
|
|
17003
|
+
/**
|
|
17004
|
+
* Specifies the variant of the status
|
|
17005
|
+
* @default solid
|
|
17006
|
+
*/
|
|
17007
|
+
variant: {
|
|
17008
|
+
solid: {};
|
|
17009
|
+
text: {
|
|
17010
|
+
backgroundColor: "transparent";
|
|
17011
|
+
};
|
|
17012
|
+
subdued: {};
|
|
17013
|
+
};
|
|
17014
|
+
}>;
|
|
17015
|
+
dot: RuntimeFn<{
|
|
17016
|
+
size: {
|
|
17017
|
+
normal: {
|
|
17018
|
+
height: ".5rem";
|
|
17019
|
+
width: ".5rem";
|
|
17020
|
+
};
|
|
17021
|
+
small: {
|
|
17022
|
+
height: ".25rem";
|
|
17023
|
+
width: ".25rem";
|
|
17024
|
+
};
|
|
17025
|
+
};
|
|
17026
|
+
}>;
|
|
17027
|
+
};
|
|
17028
|
+
|
|
17029
|
+
type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
|
|
17030
|
+
|
|
16861
17031
|
declare const textareaStyles: {
|
|
16862
17032
|
textarea: RuntimeFn<{
|
|
16863
17033
|
/**
|
|
@@ -17175,6 +17345,15 @@ type ProgressProps = ProgressTyping & ProgressSprinkle;
|
|
|
17175
17345
|
|
|
17176
17346
|
type ProgressCircleProps = ProgressProps & ProgressVariants;
|
|
17177
17347
|
|
|
17348
|
+
interface StatusTyping {
|
|
17349
|
+
/**
|
|
17350
|
+
* Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.
|
|
17351
|
+
* @default true
|
|
17352
|
+
*/
|
|
17353
|
+
dot?: boolean;
|
|
17354
|
+
}
|
|
17355
|
+
type StatusProps = StatusTyping & StatusVariants;
|
|
17356
|
+
|
|
17178
17357
|
interface ButtonTyping {
|
|
17179
17358
|
/**
|
|
17180
17359
|
* Disables the button, disallowing user interaction.
|
|
@@ -17247,6 +17426,8 @@ interface CardHeaderProps {
|
|
|
17247
17426
|
description?: string;
|
|
17248
17427
|
}
|
|
17249
17428
|
|
|
17429
|
+
type LinkProps = LinkVariants;
|
|
17430
|
+
|
|
17250
17431
|
declare global {
|
|
17251
17432
|
interface HTMLElementTagNameMap {
|
|
17252
17433
|
"rarui-avatar": RaruiAvatar;
|
|
@@ -17314,7 +17495,7 @@ declare class RaruiDivider extends LitElement {
|
|
|
17314
17495
|
render(): TemplateResult<1>;
|
|
17315
17496
|
}
|
|
17316
17497
|
|
|
17317
|
-
type IconName = "add-circle-filled" | "add-circle-outlined" | "alarm-filled" | "alarm-outlined" | "alternate-email" | "archive-all-filled" | "archive-all-outlined" | "archive-filled" | "archive-in-filled" | "archive-in-outlined" | "archive-outlined" | "arrow-alt-down" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-circle-down-filled" | "arrow-circle-down-outlined" | "arrow-circle-up-filled" | "arrow-circle-up-outlined" | "arrow-circled-down-circle-outlined" | "arrow-circled-down-filled" | "arrow-circled-up-circle-outlined" | "arrow-direction-down-up" | "arrow-direction-left-right" | "arrow-direction-right-left" | "arrow-direction-up-down" | "arrow-directions" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-first-page" | "arrow-last-page" | "arrow-left" | "arrow-line-down" | "arrow-line-left" | "arrow-line-long-down" | "arrow-line-long-left" | "arrow-line-long-right" | "arrow-line-long-up" | "arrow-line-right" | "arrow-line-up" | "arrow-right" | "arrow-subdirectory-left" | "arrow-subdirectory-right" | "arrow-trending-down" | "arrow-trending-up" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attachment" | "backspace" | "backspace-outlined" | "barley" | "barley-off" | "bolt-circle-filled" | "bolt-circle-outlined" | "bookmark-filled" | "bookmark-outlined" | "calendar-date-range-filled" | "calendar-date-range-outlined" | "calendar-event-filled" | "calendar-event-outlined" | "calendar-filled" | "calendar-outlined" | "camera-filled" | "camera-outlined" | "camera-shutter-filled" | "camera-shutter-outlined" | "cancel-circle-filled" | "cancel-circle-outlined" | "car-filled" | "car-outlined" | "chart-bars-filled" | "chart-bars-outlined" | "chat-bubble-filled" | "chat-bubble-outlined" | "chat-message-filled" | "chat-message-outlined" | "check" | "check-circle-filled" | "check-circle-outlined" | "check-small" | "chevron-big-down" | "chevron-big-left" | "chevron-big-right" | "chevron-big-up" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock-filled" | "clock-outlined" | "close" | "cloud-filled" | "cloud-outlined" | "contact-support-filled" | "contact-support-outlined" | "content-copy-filled" | "content-copy-outlined" | "content-paste-filled" | "content-paste-outlined" | "conversation-filled" | "conversation-outlined" | "copyright-filled" | "copyright-outlined" | "credit-card-filled" | "credit-card-outlined" | "danger-filled" | "danger-outlined" | "dashboard-filled" | "dashboard-outlined" | "document-filled" | "document-outlined" | "document-text-filled" | "document-text-outlined" | "download-filled" | "download-outlined" | "eco-filled" | "eco-outlined" | "edit-filled" | "edit-outlined" | "euro-symbol" | "exit-fullscreen" | "eye-filled" | "eye-off-filled" | "eye-off-outlined" | "eye-outlined" | "facebook-filled" | "facebook-outlined" | "file-copy-filled" | "file-copy-outlined" | "filter-alt-filled" | "filter-alt-outlined" | "filter-list" | "fingerprint" | "flag-filled" | "flag-outlined" | "flag-tour-filled" | "flag-tour-outlined" | "flower-filled" | "flower-outlined" | "folder-filled" | "folder-list-filled" | "folder-list-outlined" | "folder-open" | "folder-outlined" | "fruit-apple-filled" | "fruit-apple-outlined" | "fullscreen-filled" | "fullscreen-outlined" | "google" | "google-play" | "headphones-filled" | "headphones-outlined" | "heart-filled" | "heart-outlined" | "help-filled" | "help-outlined" | "history" | "home-filled" | "home-outlined" | "image-filled" | "image-outlined" | "info-circle-filled" | "info-circle-outlined" | "instagram" | "instagram-outlined" | "label-filled" | "label-important-filled" | "label-important-outlined" | "label-outlined" | "language" | "lightbulb-filled" | "lightbulb-outlined" | "link" | "linkedin-filled" | "linkedin-outlined" | "loader" | "loading" | "lock-filled" | "lock-open-filled" | "lock-open-outlined" | "lock-outlined" | "login" | "logout" | "mail-filled" | "mail-open-filled" | "mail-open-outlined" | "mail-outlined" | "menu" | "menu-large" | "microphone-filled" | "microphone-outlined" | "minus" | "money-filled" | "money-outlined" | "mood-bad" | "mood-bad-outlined" | "mood-filled" | "mood-outlined" | "more-horiz" | "more-vert" | "music-note-filled" | "music-note-outlined" | "notification-filled" | "notification-outlined" | "open-in-new" | "package" | "package-outlined" | "pause-filled" | "pause-outlined" | "pets-filled" | "pets-outlined" | "phone-call-filled" | "phone-
|
|
17498
|
+
type IconName = "phone-call-outlined" | "add-circle-filled" | "add-circle-outlined" | "alarm-filled" | "alarm-outlined" | "alternate-email" | "archive-all-filled" | "archive-all-outlined" | "archive-filled" | "archive-in-filled" | "archive-in-outlined" | "archive-outlined" | "arrow-alt-down" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-circle-down-filled" | "arrow-circle-down-outlined" | "arrow-circle-up-filled" | "arrow-circle-up-outlined" | "arrow-circled-down-circle-outlined" | "arrow-circled-down-filled" | "arrow-circled-up-circle-outlined" | "arrow-direction-down-up" | "arrow-direction-left-right" | "arrow-direction-right-left" | "arrow-direction-up-down" | "arrow-directions" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-first-page" | "arrow-last-page" | "arrow-left" | "arrow-line-down" | "arrow-line-left" | "arrow-line-long-down" | "arrow-line-long-left" | "arrow-line-long-right" | "arrow-line-long-up" | "arrow-line-right" | "arrow-line-up" | "arrow-right" | "arrow-subdirectory-left" | "arrow-subdirectory-right" | "arrow-trending-down" | "arrow-trending-up" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attachment" | "backspace" | "backspace-outlined" | "barley" | "barley-off" | "bolt-circle-filled" | "bolt-circle-outlined" | "bookmark-filled" | "bookmark-outlined" | "calendar-date-range-filled" | "calendar-date-range-outlined" | "calendar-event-filled" | "calendar-event-outlined" | "calendar-filled" | "calendar-outlined" | "camera-filled" | "camera-outlined" | "camera-shutter-filled" | "camera-shutter-outlined" | "cancel-circle-filled" | "cancel-circle-outlined" | "car-filled" | "car-outlined" | "chart-bars-filled" | "chart-bars-outlined" | "chat-bubble-filled" | "chat-bubble-outlined" | "chat-message-filled" | "chat-message-outlined" | "check" | "check-circle-filled" | "check-circle-outlined" | "check-small" | "chevron-big-down" | "chevron-big-left" | "chevron-big-right" | "chevron-big-up" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock-filled" | "clock-outlined" | "close" | "cloud-filled" | "cloud-outlined" | "contact-support-filled" | "contact-support-outlined" | "content-copy-filled" | "content-copy-outlined" | "content-paste-filled" | "content-paste-outlined" | "conversation-filled" | "conversation-outlined" | "copyright-filled" | "copyright-outlined" | "credit-card-filled" | "credit-card-outlined" | "danger-filled" | "danger-outlined" | "dashboard-filled" | "dashboard-outlined" | "document-filled" | "document-outlined" | "document-text-filled" | "document-text-outlined" | "download-filled" | "download-outlined" | "eco-filled" | "eco-outlined" | "edit-filled" | "edit-outlined" | "euro-symbol" | "exit-fullscreen" | "eye-filled" | "eye-off-filled" | "eye-off-outlined" | "eye-outlined" | "facebook-filled" | "facebook-outlined" | "file-copy-filled" | "file-copy-outlined" | "filter-alt-filled" | "filter-alt-outlined" | "filter-list" | "fingerprint" | "flag-filled" | "flag-outlined" | "flag-tour-filled" | "flag-tour-outlined" | "flower-filled" | "flower-outlined" | "folder-filled" | "folder-list-filled" | "folder-list-outlined" | "folder-open" | "folder-outlined" | "fruit-apple-filled" | "fruit-apple-outlined" | "fullscreen-filled" | "fullscreen-outlined" | "google" | "google-play" | "headphones-filled" | "headphones-outlined" | "heart-filled" | "heart-outlined" | "help-filled" | "help-outlined" | "history" | "home-filled" | "home-outlined" | "image-filled" | "image-outlined" | "info-circle-filled" | "info-circle-outlined" | "instagram" | "instagram-outlined" | "label-filled" | "label-important-filled" | "label-important-outlined" | "label-outlined" | "language" | "lightbulb-filled" | "lightbulb-outlined" | "link" | "linkedin-filled" | "linkedin-outlined" | "loader" | "loading" | "lock-filled" | "lock-open-filled" | "lock-open-outlined" | "lock-outlined" | "login" | "logout" | "mail-filled" | "mail-open-filled" | "mail-open-outlined" | "mail-outlined" | "menu" | "menu-large" | "microphone-filled" | "microphone-outlined" | "minus" | "money-filled" | "money-outlined" | "mood-bad" | "mood-bad-outlined" | "mood-filled" | "mood-outlined" | "more-horiz" | "more-vert" | "music-note-filled" | "music-note-outlined" | "notification-filled" | "notification-outlined" | "open-in-new" | "package" | "package-outlined" | "pause-filled" | "pause-outlined" | "pets-filled" | "pets-outlined" | "phone-call-filled" | "phone-filled" | "phone-outlined" | "pin-filled" | "pin-outlined" | "play-arrow-filled" | "play-arrow-outlined" | "play-circle-filled" | "play-circle-outlined" | "plus" | "power-settings-new" | "printer-filled" | "printer-outlined" | "push-pin-filled" | "push-pin-outlined" | "receipt-filled" | "receipt-outlined" | "recycle" | "redeem" | "redo" | "refresh" | "refresh-alt" | "remove" | "remove-circle-filled" | "remove-circle-outlined" | "repeat" | "reply" | "save-alt" | "screen-outlined" | "search" | "send-filled" | "send-outlined" | "sentiment-dissatisfied-filled" | "sentiment-dissatisfied-outlined" | "sentiment-neutral-filled" | "sentiment-neutral-outlined" | "sentiment-satisfied-filled" | "sentiment-satisfied-outlined" | "sentiment-very-dissatisfied-filled" | "sentiment-very-dissatisfied-outlined" | "sentiment-very-satisfied-filled" | "sentiment-very-satisfied-outlined" | "settings-filled" | "settings-outlined" | "share-filled" | "share-outlined" | "shopping-bag-filled" | "shopping-bag-outlined" | "shopping-cart-add" | "shopping-cart-filled" | "shopping-cart-outlined" | "sprout" | "sprout-outline-outlined" | "star-filled" | "star-outlined" | "stay-primary-portrait" | "storefront" | "tag-filled" | "tag-outlined" | "textsms-filled" | "textsms-outlined" | "thumb-down-filled" | "thumb-down-outlined" | "thumb-up-filled" | "thumb-up-outlined" | "tiktok" | "toc" | "trash-filled" | "trash-outlined" | "truck-filled" | "truck-outlined" | "tune" | "twitter" | "undo" | "upload-filled" | "upload-outlined" | "user-circle-filled" | "user-circle-outlined" | "user-filled" | "user-outlined" | "user-square-filled" | "user-square-outlined" | "users-filled" | "users-outlined" | "view-grid-filled" | "view-grid-outlined" | "view-list-filled" | "view-list-outlined" | "warning-bubble-filled" | "warning-bubble-outlined" | "warning-filled" | "warning-outlined" | "whatsapp-filled" | "whatsapp-outlined" | "work-filled" | "work-outlined" | "wysiwyg-filled" | "youtube-filled" | "youtube-outlined" | "zoom-in" | "zoom-out";
|
|
17318
17499
|
|
|
17319
17500
|
declare global {
|
|
17320
17501
|
interface HTMLElementTagNameMap {
|
|
@@ -17564,6 +17745,31 @@ declare class RaruiProgress extends LitElement {
|
|
|
17564
17745
|
render(): TemplateResult<1>;
|
|
17565
17746
|
}
|
|
17566
17747
|
|
|
17748
|
+
declare global {
|
|
17749
|
+
interface HTMLElementTagNameMap {
|
|
17750
|
+
"rarui-status": RaruiStatus;
|
|
17751
|
+
}
|
|
17752
|
+
}
|
|
17753
|
+
/**
|
|
17754
|
+
* ## Rarui Status
|
|
17755
|
+
* ---
|
|
17756
|
+
* Visual indicator that shows the current status or situation of an item or process.
|
|
17757
|
+
* Useful for providing fast and understandable feedback to users.
|
|
17758
|
+
*
|
|
17759
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/status) for more details.
|
|
17760
|
+
*/
|
|
17761
|
+
type StatusProperties = Partial<StatusProps>;
|
|
17762
|
+
|
|
17763
|
+
declare class RaruiStatus extends LitElement {
|
|
17764
|
+
appearance?: StatusProperties["appearance"];
|
|
17765
|
+
size?: StatusProperties["size"];
|
|
17766
|
+
variant?: StatusProperties["variant"];
|
|
17767
|
+
full?: StatusProperties["full"];
|
|
17768
|
+
dot: StatusProperties["dot"];
|
|
17769
|
+
static styles: CSSResult;
|
|
17770
|
+
render(): TemplateResult<1>;
|
|
17771
|
+
}
|
|
17772
|
+
|
|
17567
17773
|
declare global {
|
|
17568
17774
|
interface HTMLElementTagNameMap {
|
|
17569
17775
|
"rarui-button": RaruiButton;
|
|
@@ -17749,6 +17955,58 @@ declare class RaruiTextarea extends LitElement {
|
|
|
17749
17955
|
private _onChange;
|
|
17750
17956
|
}
|
|
17751
17957
|
|
|
17958
|
+
declare global {
|
|
17959
|
+
interface HTMLElementTagNameMap {
|
|
17960
|
+
"rarui-link": RaruiLink;
|
|
17961
|
+
}
|
|
17962
|
+
}
|
|
17963
|
+
/**
|
|
17964
|
+
* ## Rarui Link
|
|
17965
|
+
* ---
|
|
17966
|
+
* A link (abbreviation of hyperlink) is an html object that allows you to jump to a new location when clicking or playing it
|
|
17967
|
+
*
|
|
17968
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/link) for more details.
|
|
17969
|
+
*/
|
|
17970
|
+
type LinkProperties = Partial<LinkProps> & {
|
|
17971
|
+
/**
|
|
17972
|
+
* Defines the native type of the button.
|
|
17973
|
+
* It can be `Button`, `submit` or `reset`.
|
|
17974
|
+
*
|
|
17975
|
+
* ** IMPORTANT: ** should only be used when `as="button"`.
|
|
17976
|
+
*/
|
|
17977
|
+
type?: "button" | "submit" | "reset";
|
|
17978
|
+
/**
|
|
17979
|
+
* Disable the button, preventing user interactions.
|
|
17980
|
+
*
|
|
17981
|
+
* ** IMPORTANT: ** should only be used when `as="button"`.
|
|
17982
|
+
*/
|
|
17983
|
+
disabled?: boolean;
|
|
17984
|
+
/**
|
|
17985
|
+
* Define or rendered element type.
|
|
17986
|
+
*
|
|
17987
|
+
* - `a`: renders an element `<a>`, ideal for navigation.
|
|
17988
|
+
* - `Button`: render an element `<Button>`, ideal for actions.
|
|
17989
|
+
*/
|
|
17990
|
+
as?: "a" | "button";
|
|
17991
|
+
/**
|
|
17992
|
+
* Defines the destination URL of the link.
|
|
17993
|
+
*
|
|
17994
|
+
* ** IMPORTANT: ** should only be used when `as="a"`.
|
|
17995
|
+
*/
|
|
17996
|
+
href?: string;
|
|
17997
|
+
};
|
|
17998
|
+
|
|
17999
|
+
declare class RaruiLink extends LitElement {
|
|
18000
|
+
type: LinkProperties["type"];
|
|
18001
|
+
as: LinkProperties["as"];
|
|
18002
|
+
appearance?: LinkProperties["appearance"];
|
|
18003
|
+
size?: LinkProperties["size"];
|
|
18004
|
+
href?: LinkProperties["href"];
|
|
18005
|
+
disabled: LinkProperties["disabled"];
|
|
18006
|
+
static styles: CSSResult;
|
|
18007
|
+
render(): TemplateResult<1>;
|
|
18008
|
+
}
|
|
18009
|
+
|
|
17752
18010
|
declare global {
|
|
17753
18011
|
interface HTMLElementTagNameMap {
|
|
17754
18012
|
"rarui-card-header": RaruiCardHeader;
|