@rarui/components 1.19.0 → 1.21.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 +18 -0
- package/custom-elements.json +1666 -1186
- package/dist/index.d.ts +310 -1
- package/dist/index.js +320 -135
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -17466,6 +17466,71 @@ declare const styles: {
|
|
|
17466
17466
|
|
|
17467
17467
|
type TooltipVariants = NonNullable<RecipeVariants<typeof styles.tooltip>>;
|
|
17468
17468
|
|
|
17469
|
+
declare const accordionStyles: {
|
|
17470
|
+
item: RuntimeFn<{
|
|
17471
|
+
selected: {
|
|
17472
|
+
true: {
|
|
17473
|
+
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17474
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17475
|
+
":hover": {
|
|
17476
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17477
|
+
};
|
|
17478
|
+
":active": {
|
|
17479
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17480
|
+
};
|
|
17481
|
+
":disabled": {
|
|
17482
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17483
|
+
backgroundColor: "transparent";
|
|
17484
|
+
};
|
|
17485
|
+
};
|
|
17486
|
+
};
|
|
17487
|
+
size: {
|
|
17488
|
+
large: {
|
|
17489
|
+
padding: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})`;
|
|
17490
|
+
};
|
|
17491
|
+
medium: {
|
|
17492
|
+
padding: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})`;
|
|
17493
|
+
};
|
|
17494
|
+
small: {
|
|
17495
|
+
padding: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})`;
|
|
17496
|
+
};
|
|
17497
|
+
};
|
|
17498
|
+
}>;
|
|
17499
|
+
body: RuntimeFn<{
|
|
17500
|
+
/**
|
|
17501
|
+
* Padding properties are used to generate space around the content area of an Accordion.Body..
|
|
17502
|
+
* @default base
|
|
17503
|
+
*/
|
|
17504
|
+
padding: {
|
|
17505
|
+
base: {
|
|
17506
|
+
padding: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17507
|
+
};
|
|
17508
|
+
none: {
|
|
17509
|
+
padding: number;
|
|
17510
|
+
};
|
|
17511
|
+
};
|
|
17512
|
+
}>;
|
|
17513
|
+
};
|
|
17514
|
+
|
|
17515
|
+
type AccordionVariants = Omit<NonNullable<RecipeVariants<typeof accordionStyles.item>>, "selected"> & NonNullable<RecipeVariants<typeof accordionStyles.body>>;
|
|
17516
|
+
|
|
17517
|
+
declare const breadcrumbStyles: {
|
|
17518
|
+
breadcrumb: string;
|
|
17519
|
+
item: RuntimeFn<{
|
|
17520
|
+
/**
|
|
17521
|
+
* Indicates whether the breadcrumb item is currently active.
|
|
17522
|
+
* An active item is typically styled differently to show that it represents the current page.
|
|
17523
|
+
*/
|
|
17524
|
+
active: {
|
|
17525
|
+
true: {
|
|
17526
|
+
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17527
|
+
};
|
|
17528
|
+
};
|
|
17529
|
+
}>;
|
|
17530
|
+
};
|
|
17531
|
+
|
|
17532
|
+
type BreadcrumbVariants = NonNullable<RecipeVariants<typeof breadcrumbStyles.item>>;
|
|
17533
|
+
|
|
17469
17534
|
declare const cardStyles: {
|
|
17470
17535
|
card: RuntimeFn<{
|
|
17471
17536
|
/**
|
|
@@ -17999,6 +18064,48 @@ interface ToggleTyping {
|
|
|
17999
18064
|
}
|
|
18000
18065
|
type ToggleProps = ToggleTyping & ToggleVariants;
|
|
18001
18066
|
|
|
18067
|
+
interface AccordionProps {
|
|
18068
|
+
/**
|
|
18069
|
+
* Informs which accordion item is open by default, this value must be the same as informed in the index of each item
|
|
18070
|
+
*/
|
|
18071
|
+
selectedDefault?: string;
|
|
18072
|
+
/**
|
|
18073
|
+
* Disables the accordion, disallowing user interaction.
|
|
18074
|
+
* @default false
|
|
18075
|
+
*/
|
|
18076
|
+
disabled?: boolean;
|
|
18077
|
+
}
|
|
18078
|
+
|
|
18079
|
+
type AccordionBodyProps = Pick<AccordionVariants, "padding">;
|
|
18080
|
+
|
|
18081
|
+
interface AccordionHeaderTyping {
|
|
18082
|
+
/**
|
|
18083
|
+
* The title to display in the accordion header.
|
|
18084
|
+
*/
|
|
18085
|
+
title?: string;
|
|
18086
|
+
/**
|
|
18087
|
+
* The subtitle to display in the accordion header.
|
|
18088
|
+
*/
|
|
18089
|
+
subtitle?: string;
|
|
18090
|
+
/**
|
|
18091
|
+
* Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
|
|
18092
|
+
* @default false
|
|
18093
|
+
*/
|
|
18094
|
+
noIconToggle?: boolean;
|
|
18095
|
+
}
|
|
18096
|
+
type AccordionHeaderProps = AccordionHeaderTyping & Pick<AccordionVariants, "size">;
|
|
18097
|
+
|
|
18098
|
+
interface AccordionItemProps {
|
|
18099
|
+
/**
|
|
18100
|
+
* Unique indicator to identify accordion items
|
|
18101
|
+
*/
|
|
18102
|
+
index: string;
|
|
18103
|
+
/**
|
|
18104
|
+
* This is an attribute used to identify a DOM node for testing purposes.
|
|
18105
|
+
*/
|
|
18106
|
+
testId?: string;
|
|
18107
|
+
}
|
|
18108
|
+
|
|
18002
18109
|
interface BannerTyping {
|
|
18003
18110
|
/**
|
|
18004
18111
|
* A function to be called when the user closes the banner. This function is typically used to handle the closing action.
|
|
@@ -18059,6 +18166,14 @@ interface ModalHeaderTypings {
|
|
|
18059
18166
|
}
|
|
18060
18167
|
type ModalHeaderProps = ModalHeaderTypings;
|
|
18061
18168
|
|
|
18169
|
+
interface BreadcrumbItemTyping {
|
|
18170
|
+
/**
|
|
18171
|
+
* The name of the breadcrumb item. This is typically the text that is displayed for the item.
|
|
18172
|
+
*/
|
|
18173
|
+
name?: string;
|
|
18174
|
+
}
|
|
18175
|
+
type BreadcrumbItemProps = BreadcrumbItemTyping & BreadcrumbVariants;
|
|
18176
|
+
|
|
18062
18177
|
type LinkProps = LinkVariants;
|
|
18063
18178
|
|
|
18064
18179
|
interface PaginationTyping {
|
|
@@ -18175,7 +18290,7 @@ declare class RaruiDivider extends LitElement {
|
|
|
18175
18290
|
render(): TemplateResult<1>;
|
|
18176
18291
|
}
|
|
18177
18292
|
|
|
18178
|
-
type IconName = "
|
|
18293
|
+
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-call-outlined" | "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";
|
|
18179
18294
|
|
|
18180
18295
|
declare global {
|
|
18181
18296
|
interface HTMLElementTagNameMap {
|
|
@@ -18824,6 +18939,86 @@ declare class RaruiToggle extends LitElement {
|
|
|
18824
18939
|
render(): TemplateResult<1>;
|
|
18825
18940
|
}
|
|
18826
18941
|
|
|
18942
|
+
declare global {
|
|
18943
|
+
interface HTMLElementTagNameMap {
|
|
18944
|
+
"rarui-breadcrumb": RaruiBreadcrumb;
|
|
18945
|
+
}
|
|
18946
|
+
}
|
|
18947
|
+
/**
|
|
18948
|
+
* ## Rarui Breadcrumb
|
|
18949
|
+
* ---
|
|
18950
|
+
* Componente de navegação hierárquica que permite aos usuários navegar através de uma estrutura de páginas.
|
|
18951
|
+
*
|
|
18952
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/breadcrumb) for more details.
|
|
18953
|
+
*/
|
|
18954
|
+
interface BreadcrumbProperties {
|
|
18955
|
+
/**
|
|
18956
|
+
* Especifica o número de itens do breadcrumb a serem exibidos após o truncamento.
|
|
18957
|
+
* Útil para gerenciar a exibição de listas longas de breadcrumb.
|
|
18958
|
+
* @default 10
|
|
18959
|
+
*/
|
|
18960
|
+
"items-after-truncate"?: number;
|
|
18961
|
+
}
|
|
18962
|
+
|
|
18963
|
+
declare class RaruiBreadcrumb extends LitElement {
|
|
18964
|
+
itemsAfterTruncate: BreadcrumbProperties["items-after-truncate"];
|
|
18965
|
+
private items;
|
|
18966
|
+
private visibleItems;
|
|
18967
|
+
private hiddenItems;
|
|
18968
|
+
private firstItem?;
|
|
18969
|
+
static styles: CSSResult;
|
|
18970
|
+
connectedCallback(): void;
|
|
18971
|
+
private updateItems;
|
|
18972
|
+
private getTextContent;
|
|
18973
|
+
private getSlotContent;
|
|
18974
|
+
private calculateVisibilityDistribution;
|
|
18975
|
+
private renderSeparator;
|
|
18976
|
+
private renderFirstItem;
|
|
18977
|
+
private renderDropdownItems;
|
|
18978
|
+
private renderVisibleItems;
|
|
18979
|
+
render(): TemplateResult<1>;
|
|
18980
|
+
}
|
|
18981
|
+
|
|
18982
|
+
declare global {
|
|
18983
|
+
interface HTMLElementTagNameMap {
|
|
18984
|
+
"rarui-breadcrumb-item": RaruiBreadcrumbItem;
|
|
18985
|
+
}
|
|
18986
|
+
}
|
|
18987
|
+
/**
|
|
18988
|
+
* ## Rarui BreadcrumbItem
|
|
18989
|
+
* ---
|
|
18990
|
+
* Item individual do breadcrumb que pode ser renderizado como link ou botão.
|
|
18991
|
+
*
|
|
18992
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/breadcrumb-item) for more details.
|
|
18993
|
+
*/
|
|
18994
|
+
type BreadcrumbItemProperties = BreadcrumbItemProps & {
|
|
18995
|
+
/**
|
|
18996
|
+
* Nome do item do breadcrumb exibido como texto.
|
|
18997
|
+
*/
|
|
18998
|
+
name?: string;
|
|
18999
|
+
/**
|
|
19000
|
+
* URL de destino quando o item for um link.
|
|
19001
|
+
*/
|
|
19002
|
+
href?: string;
|
|
19003
|
+
/**
|
|
19004
|
+
* Tipo de elemento a ser renderizado.
|
|
19005
|
+
* @default "button"
|
|
19006
|
+
*/
|
|
19007
|
+
as?: "button" | "a";
|
|
19008
|
+
};
|
|
19009
|
+
|
|
19010
|
+
declare class RaruiBreadcrumbItem extends LitElement {
|
|
19011
|
+
name?: BreadcrumbItemProperties["name"];
|
|
19012
|
+
href?: BreadcrumbItemProperties["href"];
|
|
19013
|
+
active?: BreadcrumbItemProperties["active"];
|
|
19014
|
+
as?: BreadcrumbItemProperties["as"];
|
|
19015
|
+
static styles: CSSResult;
|
|
19016
|
+
private handleClick;
|
|
19017
|
+
render(): TemplateResult<1>;
|
|
19018
|
+
private renderContent;
|
|
19019
|
+
private hasSlotContent;
|
|
19020
|
+
}
|
|
19021
|
+
|
|
18827
19022
|
declare global {
|
|
18828
19023
|
interface HTMLElementTagNameMap {
|
|
18829
19024
|
"rarui-link": RaruiLink;
|
|
@@ -18983,6 +19178,120 @@ declare class RaruiSideNavigationItem extends LitElement {
|
|
|
18983
19178
|
render(): TemplateResult<1>;
|
|
18984
19179
|
}
|
|
18985
19180
|
|
|
19181
|
+
declare global {
|
|
19182
|
+
interface HTMLElementTagNameMap {
|
|
19183
|
+
"rarui-accordion": RaruiAccordion;
|
|
19184
|
+
}
|
|
19185
|
+
}
|
|
19186
|
+
/**
|
|
19187
|
+
* ## Rarui Accordion
|
|
19188
|
+
* ---
|
|
19189
|
+
* The Accordion component displays a list of expandable sections that users can toggle open or closed.
|
|
19190
|
+
*
|
|
19191
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
|
|
19192
|
+
*/
|
|
19193
|
+
type AccordionProperties = Pick<AccordionProps, "disabled"> & {
|
|
19194
|
+
/**
|
|
19195
|
+
* Informs which accordion item is open by default.
|
|
19196
|
+
* @default ""
|
|
19197
|
+
*/
|
|
19198
|
+
"selected-default"?: string;
|
|
19199
|
+
};
|
|
19200
|
+
|
|
19201
|
+
declare class RaruiAccordion extends LitElement {
|
|
19202
|
+
sprinkleAttrs: Record<string, string>;
|
|
19203
|
+
selectedDefault?: AccordionProperties["selected-default"];
|
|
19204
|
+
disabled?: AccordionProperties["disabled"];
|
|
19205
|
+
private selected;
|
|
19206
|
+
static styles: CSSResult;
|
|
19207
|
+
connectedCallback(): void;
|
|
19208
|
+
disconnectedCallback(): void;
|
|
19209
|
+
private handleItemToggle;
|
|
19210
|
+
private updateItemsState;
|
|
19211
|
+
firstUpdated(): void;
|
|
19212
|
+
updated(changedProperties: Map<string, any>): void;
|
|
19213
|
+
render(): TemplateResult<1>;
|
|
19214
|
+
}
|
|
19215
|
+
|
|
19216
|
+
declare global {
|
|
19217
|
+
interface HTMLElementTagNameMap {
|
|
19218
|
+
"rarui-accordion-item": RaruiAccordionItem;
|
|
19219
|
+
}
|
|
19220
|
+
}
|
|
19221
|
+
/**
|
|
19222
|
+
* ## Rarui Accordion Item
|
|
19223
|
+
* ---
|
|
19224
|
+
* Container for accordion header and body content.
|
|
19225
|
+
*
|
|
19226
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
|
|
19227
|
+
*/
|
|
19228
|
+
type AccordionItemProperties = Pick<AccordionItemProps, "index">;
|
|
19229
|
+
|
|
19230
|
+
declare class RaruiAccordionItem extends LitElement {
|
|
19231
|
+
index: AccordionItemProperties["index"];
|
|
19232
|
+
selected: boolean;
|
|
19233
|
+
disabled: boolean;
|
|
19234
|
+
connectedCallback(): void;
|
|
19235
|
+
disconnectedCallback(): void;
|
|
19236
|
+
private handleHeaderClick;
|
|
19237
|
+
render(): TemplateResult<1>;
|
|
19238
|
+
}
|
|
19239
|
+
|
|
19240
|
+
declare global {
|
|
19241
|
+
interface HTMLElementTagNameMap {
|
|
19242
|
+
"rarui-accordion-header": RaruiAccordionHeader;
|
|
19243
|
+
}
|
|
19244
|
+
}
|
|
19245
|
+
/**
|
|
19246
|
+
* ## Rarui Accordion Header
|
|
19247
|
+
* ---
|
|
19248
|
+
* Clickable header section that toggles the accordion item visibility.
|
|
19249
|
+
*
|
|
19250
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
|
|
19251
|
+
*/
|
|
19252
|
+
type AccordionHeaderProperties = Pick<AccordionHeaderProps, "size" | "subtitle" | "title"> & {
|
|
19253
|
+
/**
|
|
19254
|
+
* Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
|
|
19255
|
+
* @default false
|
|
19256
|
+
*/
|
|
19257
|
+
"no-icon-toggle"?: boolean;
|
|
19258
|
+
};
|
|
19259
|
+
|
|
19260
|
+
declare class RaruiAccordionHeader extends LitElement {
|
|
19261
|
+
title: NonNullable<AccordionHeaderProperties["title"]>;
|
|
19262
|
+
subtitle: AccordionHeaderProperties["subtitle"];
|
|
19263
|
+
size: AccordionHeaderProperties["size"];
|
|
19264
|
+
noIconToggle: AccordionHeaderProperties["no-icon-toggle"];
|
|
19265
|
+
disabled: boolean;
|
|
19266
|
+
selected: boolean;
|
|
19267
|
+
static styles: CSSResult;
|
|
19268
|
+
private handleClick;
|
|
19269
|
+
private getTitleSize;
|
|
19270
|
+
private getSubtitleSize;
|
|
19271
|
+
render(): TemplateResult<1>;
|
|
19272
|
+
}
|
|
19273
|
+
|
|
19274
|
+
declare global {
|
|
19275
|
+
interface HTMLElementTagNameMap {
|
|
19276
|
+
"rarui-accordion-body": RaruiAccordionBody;
|
|
19277
|
+
}
|
|
19278
|
+
}
|
|
19279
|
+
/**
|
|
19280
|
+
* ## Rarui Accordion Body
|
|
19281
|
+
* ---
|
|
19282
|
+
* Content area that is shown/hidden when accordion item is toggled.
|
|
19283
|
+
*
|
|
19284
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
|
|
19285
|
+
*/
|
|
19286
|
+
type AccordionBodyProperties = Partial<AccordionBodyProps>;
|
|
19287
|
+
|
|
19288
|
+
declare class RaruiAccordionBody extends LitElement {
|
|
19289
|
+
padding: AccordionBodyProperties["padding"];
|
|
19290
|
+
selected: boolean;
|
|
19291
|
+
static styles: CSSResult;
|
|
19292
|
+
render(): TemplateResult<1>;
|
|
19293
|
+
}
|
|
19294
|
+
|
|
18986
19295
|
declare global {
|
|
18987
19296
|
interface HTMLElementTagNameMap {
|
|
18988
19297
|
"rarui-banner": RaruiBanner;
|