@rarui/components 1.30.2 → 1.31.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 +17 -0
- package/custom-elements.json +7 -1
- package/dist/index.d.ts +13 -5
- package/dist/index.js +15 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
`@rarui/components` components is a component library built with [Lit](https://lit.dev/).
|
|
4
4
|
|
|
5
|
+
## 2025-11-25 `1.31.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- **Banner Tonal Property**: Added `tonal` property to Banner component enabling subdued color variants for all appearance types. When enabled, displays softer, less vibrant versions of appearance colors for a more subtle presentation. ([#149](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/149) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
|
|
11
|
+
#### 💡 Others
|
|
12
|
+
|
|
13
|
+
- **Banner Property Binding Improvements**: Enhanced Banner component property bindings following Lit best practices. Added `reflect: true` to all visual properties (appearance, floating, closable, tonal) for better CSS styling support and debugging visibility. Removed unnecessary boolean converters as Lit handles boolean attributes automatically. Added default value `"brand"` to `appearance` property for consistency with React implementation. ([#149](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/149) by [@junior](https://git.rarolabs.com.br/junior))
|
|
14
|
+
|
|
15
|
+
## 2025-11-14 `1.30.3`
|
|
16
|
+
|
|
17
|
+
#### 🐛 Bug fixes
|
|
18
|
+
|
|
19
|
+
- **Dropdown Accessibility Improvement**: Removed unnecessary `role="button"` and `tabindex="0"` attributes from dropdown reference container to prevent duplicate focus targets and improve screen reader navigation. The dropdown now relies on proper slot content for interactive elements while maintaining ARIA attributes for popup functionality. ([#148](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/148) by [@junior](https://git.rarolabs.com.br/junior))
|
|
20
|
+
- **Accordion Header Focus Management**: Enhanced AccordionHeader component focus handling by removing redundant focus-related attributes that conflicted with the component's internal button element, ensuring proper keyboard navigation and accessibility compliance. ([#148](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/148) by [@junior](https://git.rarolabs.com.br/junior))
|
|
21
|
+
|
|
5
22
|
## 2025-11-06 `1.30.2`
|
|
6
23
|
|
|
7
24
|
#### 🎉 New features
|
package/custom-elements.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.30.
|
|
2
|
+
"version": "1.30.3",
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "rarui-avatar",
|
|
@@ -9112,6 +9112,12 @@
|
|
|
9112
9112
|
"type": "boolean",
|
|
9113
9113
|
"default": false
|
|
9114
9114
|
},
|
|
9115
|
+
{
|
|
9116
|
+
"name": "tonal",
|
|
9117
|
+
"description": "Enables subdued color variants for the banner. When true, uses softer, less vibrant versions of the appearance colors for a more subtle presentation.",
|
|
9118
|
+
"type": "boolean",
|
|
9119
|
+
"default": false
|
|
9120
|
+
},
|
|
9115
9121
|
{
|
|
9116
9122
|
"name": "closable",
|
|
9117
9123
|
"description": "If `true`, display the closing button in the upper right corner of the banner.\nWhen clicked, it fires the `close` event that can be listened to externally.",
|
package/dist/index.d.ts
CHANGED
|
@@ -17247,12 +17247,12 @@ declare const statusStyles: {
|
|
|
17247
17247
|
dot: RuntimeFn<{
|
|
17248
17248
|
size: {
|
|
17249
17249
|
normal: {
|
|
17250
|
-
|
|
17251
|
-
|
|
17250
|
+
minHeight: ".5rem";
|
|
17251
|
+
minWidth: ".5rem";
|
|
17252
17252
|
};
|
|
17253
17253
|
small: {
|
|
17254
|
-
|
|
17255
|
-
|
|
17254
|
+
minHeight: ".25rem";
|
|
17255
|
+
minWidth: ".25rem";
|
|
17256
17256
|
};
|
|
17257
17257
|
};
|
|
17258
17258
|
}>;
|
|
@@ -17305,6 +17305,13 @@ declare const bannerStyles: {
|
|
|
17305
17305
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17306
17306
|
};
|
|
17307
17307
|
};
|
|
17308
|
+
/**
|
|
17309
|
+
* Enables subdued color variants for the banner. When true, uses softer, less vibrant versions of the appearance colors for a more subtle presentation.
|
|
17310
|
+
* @default false
|
|
17311
|
+
*/
|
|
17312
|
+
tonal: {
|
|
17313
|
+
true: {};
|
|
17314
|
+
};
|
|
17308
17315
|
}>;
|
|
17309
17316
|
};
|
|
17310
17317
|
|
|
@@ -20556,9 +20563,10 @@ declare const RaruiBanner_base: (new (...args: any[]) => {
|
|
|
20556
20563
|
ariaDescribedBy: string | null;
|
|
20557
20564
|
}) & typeof LitElement;
|
|
20558
20565
|
declare class RaruiBanner extends RaruiBanner_base {
|
|
20559
|
-
appearance
|
|
20566
|
+
appearance: BannerProperties["appearance"];
|
|
20560
20567
|
floating: BannerProperties["floating"];
|
|
20561
20568
|
closable: BannerProperties["closable"];
|
|
20569
|
+
tonal: BannerProperties["tonal"];
|
|
20562
20570
|
static styles: CSSResult;
|
|
20563
20571
|
private handleClose;
|
|
20564
20572
|
render(): TemplateResult<1>;
|