@rarui/components 1.20.0 → 1.22.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/dist/index.d.ts CHANGED
@@ -17466,6 +17466,54 @@ 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
+
17469
17517
  declare const breadcrumbStyles: {
17470
17518
  breadcrumb: string;
17471
17519
  item: RuntimeFn<{
@@ -17593,6 +17641,54 @@ declare const paginationStyles: {
17593
17641
 
17594
17642
  type PaginationVariants = Omit<NonNullable<RecipeVariants<typeof paginationStyles.item>>, "selected">;
17595
17643
 
17644
+ declare const sidebarStyles: {
17645
+ sidebar: RuntimeFn<{
17646
+ /**
17647
+ * Specifies where the sidebar should be positioned
17648
+ */
17649
+ position: {
17650
+ left: {
17651
+ left: number;
17652
+ transform: "translateX(-100%)";
17653
+ };
17654
+ right: {
17655
+ right: number;
17656
+ transform: "translateX(100%)";
17657
+ };
17658
+ };
17659
+ /**
17660
+ * Determines if the sidebar is shown or not.
17661
+ * @default true
17662
+ */
17663
+ open: {
17664
+ true: {
17665
+ opacity: number;
17666
+ transform: "translateX(0)";
17667
+ };
17668
+ };
17669
+ }>;
17670
+ overlay: string;
17671
+ };
17672
+ declare const sidebarPaddingProperties: {
17673
+ none: string;
17674
+ small: `var(--${string})` | `var(--${string}, ${string})`;
17675
+ medium: `var(--${string})` | `var(--${string}, ${string})`;
17676
+ };
17677
+
17678
+ type SidebarVariants = RecipeVariants<typeof sidebarStyles.sidebar>;
17679
+ type SidebarDynamicProperties = Pick<StandardLonghandProperties, "maxWidth">;
17680
+ interface SidebarSprinkle extends SidebarDynamicProperties {
17681
+ /**
17682
+ * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once.
17683
+ * @default small
17684
+ */
17685
+ padding?: AddDollar<keyof typeof sidebarPaddingProperties> | Conditions<AddDollar<keyof typeof sidebarPaddingProperties>>;
17686
+ /**
17687
+ * The zIndex property specifies the stack order of the box.
17688
+ */
17689
+ zIndex?: AddDollar<keyof typeof zIndexProperties> | Conditions<AddDollar<keyof typeof zIndexProperties>>;
17690
+ }
17691
+
17596
17692
  declare const sideNavigationStyles: {
17597
17693
  sideNavigation: RuntimeFn<{
17598
17694
  active: {
@@ -18016,6 +18112,48 @@ interface ToggleTyping {
18016
18112
  }
18017
18113
  type ToggleProps = ToggleTyping & ToggleVariants;
18018
18114
 
18115
+ interface AccordionProps {
18116
+ /**
18117
+ * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
18118
+ */
18119
+ selectedDefault?: string;
18120
+ /**
18121
+ * Disables the accordion, disallowing user interaction.
18122
+ * @default false
18123
+ */
18124
+ disabled?: boolean;
18125
+ }
18126
+
18127
+ type AccordionBodyProps = Pick<AccordionVariants, "padding">;
18128
+
18129
+ interface AccordionHeaderTyping {
18130
+ /**
18131
+ * The title to display in the accordion header.
18132
+ */
18133
+ title?: string;
18134
+ /**
18135
+ * The subtitle to display in the accordion header.
18136
+ */
18137
+ subtitle?: string;
18138
+ /**
18139
+ * Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
18140
+ * @default false
18141
+ */
18142
+ noIconToggle?: boolean;
18143
+ }
18144
+ type AccordionHeaderProps = AccordionHeaderTyping & Pick<AccordionVariants, "size">;
18145
+
18146
+ interface AccordionItemProps {
18147
+ /**
18148
+ * Unique indicator to identify accordion items
18149
+ */
18150
+ index: string;
18151
+ /**
18152
+ * This is an attribute used to identify a DOM node for testing purposes.
18153
+ */
18154
+ testId?: string;
18155
+ }
18156
+
18019
18157
  interface BannerTyping {
18020
18158
  /**
18021
18159
  * A function to be called when the user closes the banner. This function is typically used to handle the closing action.
@@ -18076,6 +18214,33 @@ interface ModalHeaderTypings {
18076
18214
  }
18077
18215
  type ModalHeaderProps = ModalHeaderTypings;
18078
18216
 
18217
+ interface SidebarTyping {
18218
+ /**
18219
+ * Whether the sidebar is open or not.
18220
+ */
18221
+ open?: boolean;
18222
+ /**
18223
+ * Specifies the ID of the portal element where the sidebar should be rendered.
18224
+ * This can be useful for rendering the sidebar in a different part of the DOM, such as a modal or overlay.
18225
+ */
18226
+ portalId?: string;
18227
+ /**
18228
+ * Callback fired when the component requests to be closed.
18229
+ * @TJS-type () => void;
18230
+ */
18231
+ onRemove?: () => void;
18232
+ }
18233
+ type SidebarProps = SidebarTyping & SidebarSprinkle & SidebarVariants;
18234
+
18235
+ interface BreadcrumbProps {
18236
+ /**
18237
+ * Specifies the number of breadcrumb items to display after truncation.
18238
+ * This is useful for managing the display of long breadcrumb lists.
18239
+ * @default 10
18240
+ */
18241
+ itemsAfterTruncate?: number;
18242
+ }
18243
+
18079
18244
  interface BreadcrumbItemTyping {
18080
18245
  /**
18081
18246
  * The name of the breadcrumb item. This is typically the text that is displayed for the item.
@@ -18133,6 +18298,30 @@ interface SideNavigationItemTypings {
18133
18298
  }
18134
18299
  type SideNavigationItemProps = SideNavigationItemTypings & Pick<SideNavigationVariants, "level">;
18135
18300
 
18301
+ /**
18302
+ * Utility types for Web Components property handling in Rarui Design System
18303
+ *
18304
+ * These types help convert React-style camelCase properties to web component
18305
+ * kebab-case attributes while maintaining type safety.
18306
+ */
18307
+ /**
18308
+ * Converts a camelCase string to kebab-case
18309
+ *
18310
+ * @example
18311
+ * CamelToKebab<"maxWidth"> // "max-width"
18312
+ * CamelToKebab<"portalId"> // "portal-id"
18313
+ * CamelToKebab<"position"> // "position"
18314
+ */
18315
+ type CamelToKebab<T extends string> = T extends `${infer Start}${infer Rest}` ? Rest extends `${infer First}${infer End}` ? First extends Uppercase<First> ? `${Lowercase<Start>}-${CamelToKebab<`${Lowercase<First>}${End}`>}` : `${Lowercase<Start>}${CamelToKebab<Rest>}` : Lowercase<T> : T;
18316
+ type CamelToKebabKeys<T> = {
18317
+ [K in keyof T as CamelToKebab<string & K>]: T[K];
18318
+ };
18319
+ /**
18320
+ * Common React properties that should be excluded from web component types
18321
+ */
18322
+ type CommonReactExclusions = "children" | "className" | "style" | "ref" | "key";
18323
+ type WebComponentProperties<TReactProps, TExclude extends keyof TReactProps = never> = CamelToKebabKeys<Omit<Partial<TReactProps>, CommonReactExclusions | TExclude>>;
18324
+
18136
18325
  declare global {
18137
18326
  interface HTMLElementTagNameMap {
18138
18327
  "rarui-avatar": RaruiAvatar;
@@ -18145,7 +18334,8 @@ declare global {
18145
18334
  *
18146
18335
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.
18147
18336
  */
18148
- type AvatarProperties = Pick<AvatarProps, "size">;
18337
+ type AvatarManifestProperties = Pick<AvatarProps, "size">;
18338
+ type AvatarProperties = WebComponentProperties<AvatarManifestProperties>;
18149
18339
 
18150
18340
  declare class RaruiAvatar extends LitElement {
18151
18341
  size?: AvatarProperties["size"];
@@ -18165,7 +18355,8 @@ declare global {
18165
18355
  *
18166
18356
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
18167
18357
  */
18168
- type BadgeProperties = Partial<BadgeProps>;
18358
+ type BadgeManifestProperties = BadgeProps;
18359
+ type BadgeProperties = WebComponentProperties<BadgeManifestProperties>;
18169
18360
 
18170
18361
  declare class RaruiBagde extends LitElement {
18171
18362
  variant?: BadgeProperties["variant"];
@@ -18187,7 +18378,8 @@ declare global {
18187
18378
  *
18188
18379
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.
18189
18380
  */
18190
- type DividerProperties = Partial<DividerProps>;
18381
+ type DividerManifestProperties = DividerProps;
18382
+ type DividerProperties = WebComponentProperties<DividerManifestProperties>;
18191
18383
 
18192
18384
  declare class RaruiDivider extends LitElement {
18193
18385
  sprinkleAttrs: Record<string, string>;
@@ -18200,7 +18392,7 @@ declare class RaruiDivider extends LitElement {
18200
18392
  render(): TemplateResult<1>;
18201
18393
  }
18202
18394
 
18203
- 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";
18395
+ 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";
18204
18396
 
18205
18397
  declare global {
18206
18398
  interface HTMLElementTagNameMap {
@@ -18215,7 +18407,7 @@ declare global {
18215
18407
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/icon) for more details.
18216
18408
  */
18217
18409
  type Sizes = "small" | "medium" | "large";
18218
- type IconProperties = IconProps & {
18410
+ type IconManifestProperties = IconProps & {
18219
18411
  /**
18220
18412
  * Name of the icon to be rendered (must be in the @rarui/icons package).
18221
18413
  */
@@ -18226,6 +18418,7 @@ type IconProperties = IconProps & {
18226
18418
  */
18227
18419
  size?: Sizes | number;
18228
18420
  };
18421
+ type IconProperties = WebComponentProperties<IconManifestProperties>;
18229
18422
 
18230
18423
  declare class RaruiIcon extends LitElement {
18231
18424
  sprinkleAttrs: Record<string, string>;
@@ -18248,10 +18441,11 @@ declare global {
18248
18441
  *
18249
18442
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
18250
18443
  */
18251
- type LabelProperties = Partial<LabelProps>;
18444
+ type LabelManifestProperties = LabelProps;
18445
+ type LabelProperties = WebComponentProperties<LabelManifestProperties>;
18252
18446
 
18253
18447
  declare class RaruiLabel extends LitElement {
18254
- htmlFor: LabelProperties["htmlFor"];
18448
+ htmlFor: LabelProperties["html-for"];
18255
18449
  hidden: boolean;
18256
18450
  static styles: CSSResult;
18257
18451
  render(): TemplateResult<1>;
@@ -18269,7 +18463,8 @@ declare global {
18269
18463
  *
18270
18464
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.
18271
18465
  */
18272
- type StepperStepProperties = Partial<StepperStepProps>;
18466
+ type StepperStepManifestProperties = StepperStepProps;
18467
+ type StepperStepProperties = WebComponentProperties<StepperStepManifestProperties>;
18273
18468
 
18274
18469
  declare class RaruiStepperStep extends LitElement {
18275
18470
  description: StepperStepProperties["description"];
@@ -18293,7 +18488,8 @@ declare global {
18293
18488
  *
18294
18489
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.
18295
18490
  */
18296
- type StepperProperties = Partial<StepperProps>;
18491
+ type StepperManifestProperties = StepperProps;
18492
+ type StepperProperties = WebComponentProperties<StepperManifestProperties>;
18297
18493
 
18298
18494
  declare class RaruiStepper extends LitElement {
18299
18495
  direction: StepperProperties["direction"];
@@ -18316,14 +18512,15 @@ declare global {
18316
18512
  *
18317
18513
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
18318
18514
  */
18319
- type TextProperties = Omit<TextProps, "as">;
18515
+ type TextManifestProperties = TextProps;
18516
+ type TextProperties = WebComponentProperties<TextManifestProperties, "as">;
18320
18517
 
18321
18518
  declare class RaruiText extends LitElement {
18322
18519
  sprinkleAttrs: Record<string, string>;
18323
- "line-clamp"?: TextProperties["lineClamp"];
18520
+ "line-clamp"?: TextProperties["line-clamp"];
18324
18521
  "color"?: TextProperties["color"];
18325
- "font-weight"?: TextProperties["fontWeight"];
18326
- "text-align"?: TextProperties["textAlign"];
18522
+ "font-weight"?: TextProperties["font-weight"];
18523
+ "text-align"?: TextProperties["text-align"];
18327
18524
  static styles: CSSResult;
18328
18525
  render(): TemplateResult<1>;
18329
18526
  }
@@ -18340,13 +18537,14 @@ declare global {
18340
18537
  *
18341
18538
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
18342
18539
  */
18343
- type TitleProperties = Partial<TitleProps>;
18540
+ type TitleManifestProperties = TitleProps;
18541
+ type TitleProperties = WebComponentProperties<TitleManifestProperties>;
18344
18542
 
18345
18543
  declare class RaruiTitle extends LitElement {
18346
18544
  sprinkleAttrs: Record<string, string>;
18347
18545
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
18348
- "font-weight"?: TitleProperties["fontWeight"];
18349
- "text-align"?: TitleProperties["textAlign"];
18546
+ "font-weight"?: TitleProperties["font-weight"];
18547
+ "text-align"?: TitleProperties["text-align"];
18350
18548
  static styles: CSSResult;
18351
18549
  render(): TemplateResult<1>;
18352
18550
  }
@@ -18375,7 +18573,7 @@ declare global {
18375
18573
  *
18376
18574
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/tooltip) for more details.
18377
18575
  */
18378
- type TooltipProperties = Partial<Omit<TooltipProps, "visible" | "onVisibility" | "portalId">> & {
18576
+ type TooltipManifestProperties = Omit<TooltipProps, "visible" | "onVisibility" | "portalId"> & {
18379
18577
  /**
18380
18578
  * Position of the tooltip.
18381
18579
  * @default bottom
@@ -18395,16 +18593,17 @@ type TooltipProperties = Partial<Omit<TooltipProps, "visible" | "onVisibility" |
18395
18593
  */
18396
18594
  strategy?: "fixed" | "absolute";
18397
18595
  };
18596
+ type TooltipProperties = WebComponentProperties<TooltipManifestProperties>;
18398
18597
 
18399
18598
  declare class RaruiTooltip extends LitElement {
18400
18599
  arrow: TooltipProperties["arrow"];
18401
18600
  padding: TooltipProperties["padding"];
18402
18601
  offset: TooltipProperties["offset"];
18403
18602
  inverted: TooltipProperties["inverted"];
18404
- enabledDismiss: TooltipProperties["enabledDismiss"];
18405
- enabledClick: TooltipProperties["enabledClick"];
18406
- enabledHover: TooltipProperties["enabledHover"];
18407
- matchReferenceWidth: TooltipProperties["matchReferenceWidth"];
18603
+ enabledDismiss: TooltipProperties["enabled-dismiss"];
18604
+ enabledClick: TooltipProperties["enabled-click"];
18605
+ enabledHover: TooltipProperties["enabled-hover"];
18606
+ matchReferenceWidth: TooltipProperties["match-reference-width"];
18408
18607
  position: TooltipProperties["position"];
18409
18608
  strategy: TooltipProperties["strategy"];
18410
18609
  open: boolean;
@@ -18440,7 +18639,8 @@ declare global {
18440
18639
  *
18441
18640
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
18442
18641
  */
18443
- type ProgressCircleProperties = Partial<ProgressCircleProps>;
18642
+ type ProgressCircleManifestProperties = ProgressCircleProps;
18643
+ type ProgressCircleProperties = WebComponentProperties<ProgressCircleManifestProperties>;
18444
18644
 
18445
18645
  declare class RaruiProgressCircle extends LitElement {
18446
18646
  size?: ProgressCircleProperties["size"];
@@ -18462,7 +18662,8 @@ declare global {
18462
18662
  *
18463
18663
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
18464
18664
  */
18465
- type ProgressProperties = Partial<ProgressProps>;
18665
+ type ProgressManifestProperties = ProgressProps;
18666
+ type ProgressProperties = WebComponentProperties<ProgressManifestProperties>;
18466
18667
 
18467
18668
  declare class RaruiProgress extends LitElement {
18468
18669
  percentage?: ProgressProperties["percentage"];
@@ -18484,7 +18685,8 @@ declare global {
18484
18685
  *
18485
18686
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/status) for more details.
18486
18687
  */
18487
- type StatusProperties = Partial<StatusProps>;
18688
+ type StatusManifestProperties = StatusProps;
18689
+ type StatusProperties = WebComponentProperties<StatusManifestProperties>;
18488
18690
 
18489
18691
  declare class RaruiStatus extends LitElement {
18490
18692
  appearance?: StatusProperties["appearance"];
@@ -18508,7 +18710,7 @@ declare global {
18508
18710
  *
18509
18711
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
18510
18712
  */
18511
- type ButtonProperties = Partial<ButtonProps> & {
18713
+ type ButtonManifestProperties = ButtonProps & {
18512
18714
  /**
18513
18715
  * Defines the native button type.
18514
18716
  * Can be 'button', 'submit', or 'reset'.
@@ -18516,6 +18718,7 @@ type ButtonProperties = Partial<ButtonProps> & {
18516
18718
  */
18517
18719
  type?: "button" | "submit" | "reset";
18518
18720
  };
18721
+ type ButtonProperties = WebComponentProperties<ButtonManifestProperties>;
18519
18722
 
18520
18723
  declare class RaruiButton extends LitElement {
18521
18724
  type: ButtonProperties["type"];
@@ -18540,7 +18743,8 @@ declare global {
18540
18743
  *
18541
18744
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.
18542
18745
  */
18543
- type CheckboxProperties = Partial<CheckboxProps>;
18746
+ type CheckboxManifestProperties = CheckboxProps;
18747
+ type CheckboxProperties = WebComponentProperties<CheckboxManifestProperties>;
18544
18748
 
18545
18749
  declare class RaruiCheckbox extends LitElement {
18546
18750
  label?: CheckboxProperties["label"];
@@ -18565,13 +18769,14 @@ declare global {
18565
18769
  *
18566
18770
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
18567
18771
  */
18568
- type ChipProperties = Partial<ChipProps> & {
18772
+ type ChipManifestProperties = ChipProps & {
18569
18773
  /**
18570
18774
  * Disables the chip, disallowing user interaction.
18571
18775
  * @default false
18572
18776
  */
18573
18777
  disabled?: boolean;
18574
18778
  };
18779
+ type ChipProperties = WebComponentProperties<ChipManifestProperties>;
18575
18780
 
18576
18781
  declare class RaruiChip extends LitElement {
18577
18782
  sprinkleAttrs: Record<string, string>;
@@ -18579,8 +18784,8 @@ declare class RaruiChip extends LitElement {
18579
18784
  size?: ChipProperties["size"];
18580
18785
  closeable: ChipProperties["closeable"];
18581
18786
  pill: ChipProperties["pill"];
18582
- textTransform?: ChipProperties["textTransform"];
18583
- textOverflow?: ChipProperties["textOverflow"];
18787
+ textTransform?: ChipProperties["text-transform"];
18788
+ textOverflow?: ChipProperties["text-overflow"];
18584
18789
  selected?: ChipProperties["selected"];
18585
18790
  disabled?: ChipProperties["disabled"];
18586
18791
  static styles: CSSResult;
@@ -18601,7 +18806,7 @@ declare global {
18601
18806
  *
18602
18807
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/dropdown) for more details.
18603
18808
  */
18604
- type DropdownProperties = Omit<Partial<DropdownProps>, "onVisibility" | "portalId"> & {
18809
+ type DropdownManifestProperties = DropdownProps & {
18605
18810
  /**
18606
18811
  * Position of the dropdown.
18607
18812
  * @default bottom-start
@@ -18621,6 +18826,7 @@ type DropdownProperties = Omit<Partial<DropdownProps>, "onVisibility" | "portalI
18621
18826
  */
18622
18827
  strategy?: "fixed" | "absolute";
18623
18828
  };
18829
+ type DropdownProperties = WebComponentProperties<DropdownManifestProperties, "onVisibility" | "portalId">;
18624
18830
 
18625
18831
  declare class RaruiDropdown extends LitElement {
18626
18832
  sprinkleAttrs: Record<string, string>;
@@ -18628,10 +18834,10 @@ declare class RaruiDropdown extends LitElement {
18628
18834
  padding: DropdownProperties["padding"];
18629
18835
  position: DropdownProperties["position"];
18630
18836
  strategy: DropdownProperties["strategy"];
18631
- matchReferenceWidth?: DropdownProperties["matchReferenceWidth"];
18632
- enabledFlip?: DropdownProperties["enabledFlip"];
18633
- enabledClick: DropdownProperties["enabledClick"];
18634
- enabledDismiss: DropdownProperties["enabledDismiss"];
18837
+ matchReferenceWidth?: DropdownProperties["match-reference-width"];
18838
+ enabledFlip?: DropdownProperties["enabled-flip"];
18839
+ enabledClick: DropdownProperties["enabled-click"];
18840
+ enabledDismiss: DropdownProperties["enabled-dismiss"];
18635
18841
  open: boolean;
18636
18842
  set visible(value: boolean | undefined);
18637
18843
  get visible(): boolean | undefined;
@@ -18665,7 +18871,8 @@ declare global {
18665
18871
  *
18666
18872
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/dropdown) for more details.
18667
18873
  */
18668
- type DropdownItemProperties = Omit<DropdownItemProps, "icon">;
18874
+ type DropdownItemManifestProperties = DropdownItemProps;
18875
+ type DropdownItemProperties = WebComponentProperties<DropdownItemManifestProperties>;
18669
18876
 
18670
18877
  declare class RaruiDropdownItem extends LitElement {
18671
18878
  name: DropdownItemProperties["name"];
@@ -18686,7 +18893,8 @@ declare global {
18686
18893
  *
18687
18894
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
18688
18895
  */
18689
- type IconButtonProperties = Partial<IconButtonProps>;
18896
+ type IconButtonManifestProperties = IconButtonProps;
18897
+ type IconButtonProperties = WebComponentProperties<IconButtonManifestProperties>;
18690
18898
 
18691
18899
  declare class RaruiIconButton extends LitElement {
18692
18900
  size: IconButtonProperties["size"];
@@ -18710,7 +18918,7 @@ declare global {
18710
18918
  *
18711
18919
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/input) for more details.
18712
18920
  */
18713
- type InputProperties = Partial<InputProps> & {
18921
+ type InputManifestProperties = InputProps & {
18714
18922
  /**
18715
18923
  * The value of the input element.
18716
18924
  */
@@ -18725,6 +18933,7 @@ type InputProperties = Partial<InputProps> & {
18725
18933
  */
18726
18934
  disabled?: boolean;
18727
18935
  };
18936
+ type InputProperties = WebComponentProperties<InputManifestProperties>;
18728
18937
 
18729
18938
  declare class RaruiInput extends LitElement {
18730
18939
  size: InputProperties["size"];
@@ -18755,7 +18964,7 @@ declare global {
18755
18964
  *
18756
18965
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/radiobutton) for more details.
18757
18966
  */
18758
- type RadioButtonProperties = Partial<RadioButtonProps> & {
18967
+ type RadioButtonManifestProperties = RadioButtonProps & {
18759
18968
  /**
18760
18969
  * Defines a unique identifier (ID) which must be unique in the whole document.
18761
18970
  * Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
@@ -18767,6 +18976,7 @@ type RadioButtonProperties = Partial<RadioButtonProps> & {
18767
18976
  */
18768
18977
  disabled?: boolean;
18769
18978
  };
18979
+ type RadioButtonProperties = WebComponentProperties<RadioButtonManifestProperties>;
18770
18980
 
18771
18981
  declare class RaruiRadioButton extends LitElement {
18772
18982
  id: string;
@@ -18793,13 +19003,14 @@ declare global {
18793
19003
  *
18794
19004
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/textarea) for more details.
18795
19005
  */
18796
- type TextareaProperties = Partial<TextareaProps> & {
19006
+ type TextareaManifestProperties = TextareaProps & {
18797
19007
  /**
18798
19008
  * Disables the Textarea, disallowing user interaction.
18799
19009
  * @default false
18800
19010
  */
18801
19011
  disabled?: boolean;
18802
19012
  };
19013
+ type TextareaProperties = WebComponentProperties<TextareaManifestProperties>;
18803
19014
 
18804
19015
  declare class RaruiTextarea extends LitElement {
18805
19016
  disabled: boolean;
@@ -18823,7 +19034,7 @@ declare global {
18823
19034
  *
18824
19035
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/toggle) for more details.
18825
19036
  */
18826
- type ToggleProperties = Partial<ToggleProps> & {
19037
+ type ToggleManifestProperties = ToggleProps & {
18827
19038
  /**
18828
19039
  * Defines if Toggle is disabled.
18829
19040
  * When `true`, the component cannot be interacted.
@@ -18836,6 +19047,7 @@ type ToggleProperties = Partial<ToggleProps> & {
18836
19047
  */
18837
19048
  id?: string;
18838
19049
  };
19050
+ type ToggleProperties = WebComponentProperties<ToggleManifestProperties>;
18839
19051
 
18840
19052
  declare class RaruiToggle extends LitElement {
18841
19053
  name: ToggleProperties["name"];
@@ -18849,6 +19061,48 @@ declare class RaruiToggle extends LitElement {
18849
19061
  render(): TemplateResult<1>;
18850
19062
  }
18851
19063
 
19064
+ declare global {
19065
+ interface HTMLElementTagNameMap {
19066
+ "rarui-sidebar": RaruiSidebar;
19067
+ }
19068
+ }
19069
+ /**
19070
+ * ## Rarui Sidebar
19071
+ * ---
19072
+ * A sidebar component that slides in from the left or right side of the screen, with floating-ui positioning for responsive behavior.
19073
+ *
19074
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/layout/sidebar) for more details.
19075
+ */
19076
+ type SidebarManifestProperties = SidebarProps;
19077
+ type SidebarProperties = WebComponentProperties<SidebarManifestProperties, "onRemove">;
19078
+
19079
+ declare class RaruiSidebar extends LitElement {
19080
+ sprinkleAttrs: Record<string, string>;
19081
+ open: SidebarProperties["open"];
19082
+ position: SidebarProperties["position"];
19083
+ maxWidth: SidebarProperties["max-width"];
19084
+ padding: SidebarProperties["padding"];
19085
+ portalId: SidebarProperties["portal-id"];
19086
+ sidebarElement: HTMLElement;
19087
+ overlayElement: HTMLElement;
19088
+ static styles: CSSResult;
19089
+ cleanupAutoUpdate?: () => void;
19090
+ connectedCallback(): void;
19091
+ disconnectedCallback(): void;
19092
+ firstUpdated(): void;
19093
+ updated(changed: Map<string, any>): void;
19094
+ private getPortalRoot;
19095
+ private scheduleUpdatePosition;
19096
+ private handleKeyDown;
19097
+ private handleClickOutside;
19098
+ private dismiss;
19099
+ updatePosition(): Promise<void>;
19100
+ private getMiddleware;
19101
+ computePosition(virtualReference?: any): Promise<void>;
19102
+ private createVirtualReference;
19103
+ render(): TemplateResult<1>;
19104
+ }
19105
+
18852
19106
  declare global {
18853
19107
  interface HTMLElementTagNameMap {
18854
19108
  "rarui-breadcrumb": RaruiBreadcrumb;
@@ -18861,14 +19115,8 @@ declare global {
18861
19115
  *
18862
19116
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/breadcrumb) for more details.
18863
19117
  */
18864
- interface BreadcrumbProperties {
18865
- /**
18866
- * Especifica o número de itens do breadcrumb a serem exibidos após o truncamento.
18867
- * Útil para gerenciar a exibição de listas longas de breadcrumb.
18868
- * @default 10
18869
- */
18870
- 'items-after-truncate'?: number;
18871
- }
19118
+ type BreadcrumbManifestProperties = BreadcrumbProps;
19119
+ type BreadcrumbProperties = WebComponentProperties<BreadcrumbManifestProperties>;
18872
19120
 
18873
19121
  declare class RaruiBreadcrumb extends LitElement {
18874
19122
  itemsAfterTruncate: BreadcrumbProperties["items-after-truncate"];
@@ -18901,7 +19149,7 @@ declare global {
18901
19149
  *
18902
19150
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/breadcrumb-item) for more details.
18903
19151
  */
18904
- type BreadcrumbItemProperties = BreadcrumbItemProps & {
19152
+ type BreadcrumbItemManifestProperties = BreadcrumbItemProps & {
18905
19153
  /**
18906
19154
  * Nome do item do breadcrumb exibido como texto.
18907
19155
  */
@@ -18916,6 +19164,7 @@ type BreadcrumbItemProperties = BreadcrumbItemProps & {
18916
19164
  */
18917
19165
  as?: "button" | "a";
18918
19166
  };
19167
+ type BreadcrumbItemProperties = WebComponentProperties<BreadcrumbItemManifestProperties>;
18919
19168
 
18920
19169
  declare class RaruiBreadcrumbItem extends LitElement {
18921
19170
  name?: BreadcrumbItemProperties["name"];
@@ -18941,7 +19190,7 @@ declare global {
18941
19190
  *
18942
19191
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/link) for more details.
18943
19192
  */
18944
- type LinkProperties = Partial<LinkProps> & {
19193
+ type LinkManifestProperties = LinkProps & {
18945
19194
  /**
18946
19195
  * Defines the native type of the button.
18947
19196
  * It can be `Button`, `submit` or `reset`.
@@ -18969,6 +19218,7 @@ type LinkProperties = Partial<LinkProps> & {
18969
19218
  */
18970
19219
  href?: string;
18971
19220
  };
19221
+ type LinkProperties = WebComponentProperties<LinkManifestProperties>;
18972
19222
 
18973
19223
  declare class RaruiLink extends LitElement {
18974
19224
  type: LinkProperties["type"];
@@ -18993,14 +19243,15 @@ declare global {
18993
19243
  *
18994
19244
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/pagination) for more details.
18995
19245
  */
18996
- type PaginationProperties = Partial<Omit<PaginationProps, "onPageChange">>;
19246
+ type PaginationManifestProperties = PaginationProps;
19247
+ type PaginationProperties = WebComponentProperties<PaginationManifestProperties, "onPageChange">;
18997
19248
 
18998
19249
  declare class RaruiPagination extends LitElement {
18999
- activePage: PaginationProperties["activePage"];
19000
- pageCount: PaginationProperties["pageCount"];
19250
+ activePage: PaginationProperties["active-page"];
19251
+ pageCount: PaginationProperties["page-count"];
19001
19252
  size?: PaginationProperties["size"];
19002
- showNumbers: PaginationProperties["showNumbers"];
19003
- showArrows: PaginationProperties["showArrows"];
19253
+ showNumbers: PaginationProperties["show-numbers"];
19254
+ showArrows: PaginationProperties["show-arrows"];
19004
19255
  static styles: CSSResult;
19005
19256
  private handlePageChange;
19006
19257
  render(): TemplateResult<1>;
@@ -19023,7 +19274,7 @@ declare global {
19023
19274
  *
19024
19275
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/side-navigation) for more details.
19025
19276
  */
19026
- type SideNavigationProperties = Partial<SideNavigationProps> & {
19277
+ type SideNavigationManifestProperties = SideNavigationProps & {
19027
19278
  /**
19028
19279
  * Whether the navigation item is disabled.
19029
19280
  * @default false
@@ -19040,6 +19291,7 @@ type SideNavigationProperties = Partial<SideNavigationProps> & {
19040
19291
  */
19041
19292
  as?: "button" | "a";
19042
19293
  };
19294
+ type SideNavigationProperties = WebComponentProperties<SideNavigationManifestProperties>;
19043
19295
 
19044
19296
  declare class RaruiSideNavigation extends LitElement {
19045
19297
  name: SideNavigationProperties["name"];
@@ -19070,13 +19322,14 @@ declare global {
19070
19322
  *
19071
19323
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/side-navigation) for more details.
19072
19324
  */
19073
- type SideNavigationItemProperties = Partial<SideNavigationItemProps> & {
19325
+ type SideNavigationItemManifestProperties = SideNavigationItemProps & {
19074
19326
  /**
19075
19327
  * The HTML element type to render.
19076
19328
  * @default "button"
19077
19329
  */
19078
19330
  as?: "button" | "a";
19079
19331
  };
19332
+ type SideNavigationItemProperties = WebComponentProperties<SideNavigationItemManifestProperties>;
19080
19333
 
19081
19334
  declare class RaruiSideNavigationItem extends LitElement {
19082
19335
  active: SideNavigationItemProperties["active"];
@@ -19088,6 +19341,112 @@ declare class RaruiSideNavigationItem extends LitElement {
19088
19341
  render(): TemplateResult<1>;
19089
19342
  }
19090
19343
 
19344
+ declare global {
19345
+ interface HTMLElementTagNameMap {
19346
+ "rarui-accordion": RaruiAccordion;
19347
+ }
19348
+ }
19349
+ /**
19350
+ * ## Rarui Accordion
19351
+ * ---
19352
+ * The Accordion component displays a list of expandable sections that users can toggle open or closed.
19353
+ *
19354
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
19355
+ */
19356
+ type AccordionManifestProperties = AccordionProps;
19357
+ type AccordionProperties = WebComponentProperties<AccordionManifestProperties>;
19358
+
19359
+ declare class RaruiAccordion extends LitElement {
19360
+ sprinkleAttrs: Record<string, string>;
19361
+ selectedDefault?: AccordionProperties["selected-default"];
19362
+ disabled?: AccordionProperties["disabled"];
19363
+ private selected;
19364
+ static styles: CSSResult;
19365
+ connectedCallback(): void;
19366
+ disconnectedCallback(): void;
19367
+ private handleItemToggle;
19368
+ private updateItemsState;
19369
+ firstUpdated(): void;
19370
+ updated(changedProperties: Map<string, any>): void;
19371
+ render(): TemplateResult<1>;
19372
+ }
19373
+
19374
+ declare global {
19375
+ interface HTMLElementTagNameMap {
19376
+ "rarui-accordion-item": RaruiAccordionItem;
19377
+ }
19378
+ }
19379
+ /**
19380
+ * ## Rarui Accordion Item
19381
+ * ---
19382
+ * Container for accordion header and body content.
19383
+ *
19384
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
19385
+ */
19386
+ type AccordionItemManifestProperties = AccordionItemProps;
19387
+ type AccordionItemProperties = WebComponentProperties<AccordionItemManifestProperties>;
19388
+
19389
+ declare class RaruiAccordionItem extends LitElement {
19390
+ index: AccordionItemProperties["index"];
19391
+ selected: boolean;
19392
+ disabled: boolean;
19393
+ connectedCallback(): void;
19394
+ disconnectedCallback(): void;
19395
+ private handleHeaderClick;
19396
+ render(): TemplateResult<1>;
19397
+ }
19398
+
19399
+ declare global {
19400
+ interface HTMLElementTagNameMap {
19401
+ "rarui-accordion-header": RaruiAccordionHeader;
19402
+ }
19403
+ }
19404
+ /**
19405
+ * ## Rarui Accordion Header
19406
+ * ---
19407
+ * Clickable header section that toggles the accordion item visibility.
19408
+ *
19409
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
19410
+ */
19411
+ type AccordionHeaderManifestProperties = AccordionHeaderProps;
19412
+ type AccordionHeaderProperties = WebComponentProperties<AccordionHeaderManifestProperties>;
19413
+
19414
+ declare class RaruiAccordionHeader extends LitElement {
19415
+ title: NonNullable<AccordionHeaderProperties["title"]>;
19416
+ subtitle: AccordionHeaderProperties["subtitle"];
19417
+ size: AccordionHeaderProperties["size"];
19418
+ noIconToggle: AccordionHeaderProperties["no-icon-toggle"];
19419
+ disabled: boolean;
19420
+ selected: boolean;
19421
+ static styles: CSSResult;
19422
+ private handleClick;
19423
+ private getTitleSize;
19424
+ private getSubtitleSize;
19425
+ render(): TemplateResult<1>;
19426
+ }
19427
+
19428
+ declare global {
19429
+ interface HTMLElementTagNameMap {
19430
+ "rarui-accordion-body": RaruiAccordionBody;
19431
+ }
19432
+ }
19433
+ /**
19434
+ * ## Rarui Accordion Body
19435
+ * ---
19436
+ * Content area that is shown/hidden when accordion item is toggled.
19437
+ *
19438
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/accordion) for more details.
19439
+ */
19440
+ type AccordionBodyManifestProperties = AccordionBodyProps;
19441
+ type AccordionBodyProperties = WebComponentProperties<AccordionBodyManifestProperties>;
19442
+
19443
+ declare class RaruiAccordionBody extends LitElement {
19444
+ padding: AccordionBodyProperties["padding"];
19445
+ selected: boolean;
19446
+ static styles: CSSResult;
19447
+ render(): TemplateResult<1>;
19448
+ }
19449
+
19091
19450
  declare global {
19092
19451
  interface HTMLElementTagNameMap {
19093
19452
  "rarui-banner": RaruiBanner;
@@ -19100,7 +19459,7 @@ declare global {
19100
19459
  *
19101
19460
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/banner) for more details.
19102
19461
  */
19103
- type BannerProperties = Partial<Pick<BannerProps, "appearance" | "floating">> & {
19462
+ type BannerManifestProperties = BannerProps & {
19104
19463
  /**
19105
19464
  * If `true`, display the closing button in the upper right corner of the banner.
19106
19465
  * When clicked, it fires the `close` event that can be listened to externally.
@@ -19109,6 +19468,7 @@ type BannerProperties = Partial<Pick<BannerProps, "appearance" | "floating">> &
19109
19468
  */
19110
19469
  closable?: boolean;
19111
19470
  };
19471
+ type BannerProperties = WebComponentProperties<BannerManifestProperties, "onClose">;
19112
19472
 
19113
19473
  declare class RaruiBanner extends LitElement {
19114
19474
  appearance?: BannerProperties["appearance"];
@@ -19131,7 +19491,8 @@ declare global {
19131
19491
  *
19132
19492
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
19133
19493
  */
19134
- type CardHeaderProperties = Partial<CardHeaderProps>;
19494
+ type CardHeaderManifestProperties = CardHeaderProps;
19495
+ type CardHeaderProperties = WebComponentProperties<CardHeaderManifestProperties>;
19135
19496
 
19136
19497
  declare class RaruiCardHeader extends LitElement {
19137
19498
  sprinkleAttrs: Record<string, string>;
@@ -19152,12 +19513,13 @@ declare global {
19152
19513
  *
19153
19514
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
19154
19515
  */
19155
- type CardProperties = Partial<CardProps>;
19516
+ type CardManifestProperties = CardProps;
19517
+ type CardProperties = WebComponentProperties<CardManifestProperties>;
19156
19518
 
19157
19519
  declare class RaruiCard extends LitElement {
19158
19520
  sprinkleAttrs: Record<string, string>;
19159
19521
  padding?: CardProperties["padding"];
19160
- "background-color": CardProperties["backgroundColor"];
19522
+ "background-color": CardProperties["background-color"];
19161
19523
  static styles: CSSResult;
19162
19524
  render(): TemplateResult<1>;
19163
19525
  }
@@ -19174,14 +19536,15 @@ declare global {
19174
19536
  *
19175
19537
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/modal) for more details.
19176
19538
  */
19177
- type ModalProperties = Omit<Partial<ModalProps>, "onDismiss">;
19539
+ type ModalManifestProperties = ModalProps;
19540
+ type ModalProperties = WebComponentProperties<ModalManifestProperties, "onDismiss">;
19178
19541
 
19179
19542
  declare class RaruiModal extends LitElement {
19180
19543
  sprinkleAttrs: Record<string, string>;
19181
19544
  padding: ModalProperties["padding"];
19182
- portalId: ModalProperties["portalId"];
19545
+ portalId: ModalProperties["portal-id"];
19183
19546
  open: ModalProperties["open"];
19184
- maxWidth: ModalProperties["maxWidth"];
19547
+ maxWidth: ModalProperties["max-width"];
19185
19548
  dialog: HTMLElement;
19186
19549
  static styles: CSSResult;
19187
19550
  cleanupAutoUpdate?: () => void;
@@ -19207,7 +19570,8 @@ declare global {
19207
19570
  *
19208
19571
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/modal) for more details.
19209
19572
  */
19210
- type ModalHeaderProperties = ModalHeaderProps;
19573
+ type ModalHeaderManifestProperties = ModalHeaderProps;
19574
+ type ModalHeaderProperties = WebComponentProperties<ModalHeaderManifestProperties>;
19211
19575
 
19212
19576
  declare class RaruiModalHeader extends LitElement {
19213
19577
  title: string;