@rarui/components 1.27.0 → 1.28.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
@@ -1,3 +1,6 @@
1
+ import { AvatarProps, BadgeProps, DividerProps, IconProps, StepperProps, TextProps, TitleProps, TooltipProps, ProgressProps as ProgressProps$1, StatusProps, ButtonProps, CheckboxProps, ChipProps, DropdownProps, IconButtonProps, BreadcrumbProps, AccordionProps } from '@rarui/typings';
2
+ import { IconName } from '@rarui/icons/dist/html/types';
3
+
1
4
  /**
2
5
  * @license
3
6
  * Copyright 2017 Google LLC
@@ -1041,6 +1044,208 @@ declare class LitElement extends ReactiveElement {
1041
1044
  protected render(): unknown;
1042
1045
  }
1043
1046
 
1047
+ type AriaInvalid = "false" | "true" | "grammar" | "spelling" | null;
1048
+
1049
+ /**
1050
+ * Utility types for Web Components property handling in Rarui Design System
1051
+ *
1052
+ * These types help convert React-style camelCase properties to web component
1053
+ * kebab-case attributes while maintaining type safety.
1054
+ */
1055
+ /**
1056
+ * Converts a camelCase string to kebab-case
1057
+ *
1058
+ * @example
1059
+ * CamelToKebab<"maxWidth"> // "max-width"
1060
+ * CamelToKebab<"portalId"> // "portal-id"
1061
+ * CamelToKebab<"position"> // "position"
1062
+ */
1063
+ 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;
1064
+ type CamelToKebabKeys<T> = {
1065
+ [K in keyof T as CamelToKebab<string & K>]: T[K];
1066
+ };
1067
+ /**
1068
+ * Common React properties that should be excluded from web component types
1069
+ */
1070
+ type CommonReactExclusions = "children" | "className" | "style" | "ref" | "key";
1071
+ type WebComponentProperties<TReactProps, TExclude extends keyof TReactProps = never> = CamelToKebabKeys<Omit<Partial<TReactProps>, CommonReactExclusions | TExclude>>;
1072
+
1073
+ declare global {
1074
+ interface HTMLElementTagNameMap {
1075
+ "rarui-avatar": RaruiAvatar;
1076
+ }
1077
+ }
1078
+ /**
1079
+ * ## Rarui Avatar
1080
+ * ---
1081
+ * The Avatar component is normally used to display circular photos of the user's profile.
1082
+ *
1083
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.
1084
+ */
1085
+ type AvatarManifestProperties = Pick<AvatarProps, "size">;
1086
+ type AvatarProperties = WebComponentProperties<AvatarManifestProperties>;
1087
+
1088
+ declare const RaruiAvatar_base: (new (...args: any[]) => {
1089
+ ariaLabel: string | null;
1090
+ ariaLabelledBy: string | null;
1091
+ ariaDescribedBy: string | null;
1092
+ }) & typeof LitElement;
1093
+ declare class RaruiAvatar extends RaruiAvatar_base {
1094
+ size?: AvatarProperties["size"];
1095
+ static styles: CSSResult;
1096
+ render(): TemplateResult<1>;
1097
+ private handleSlotChange;
1098
+ private handleImageError;
1099
+ private handleImageLoad;
1100
+ }
1101
+
1102
+ declare global {
1103
+ interface HTMLElementTagNameMap {
1104
+ "rarui-badge": RaruiBagde;
1105
+ }
1106
+ }
1107
+ /**
1108
+ * ## Rarui Badge
1109
+ * ---
1110
+ * The Badge components are only used to transmit dynamic information, such as a connection or status.
1111
+ *
1112
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
1113
+ */
1114
+ type BadgeManifestProperties = BadgeProps;
1115
+ type BadgeProperties = WebComponentProperties<BadgeManifestProperties>;
1116
+
1117
+ declare const RaruiBagde_base: (new (...args: any[]) => {
1118
+ ariaLabel: string | null;
1119
+ ariaLabelledBy: string | null;
1120
+ ariaDescribedBy: string | null;
1121
+ }) & typeof LitElement;
1122
+ declare class RaruiBagde extends RaruiBagde_base {
1123
+ variant?: BadgeProperties["variant"];
1124
+ size?: BadgeProperties["size"];
1125
+ appearance?: BadgeProperties["appearance"];
1126
+ static styles: CSSResult;
1127
+ render(): TemplateResult<1>;
1128
+ }
1129
+
1130
+ declare global {
1131
+ interface HTMLElementTagNameMap {
1132
+ "rarui-divider": RaruiDivider;
1133
+ }
1134
+ }
1135
+ /**
1136
+ * ## Rarui Divider
1137
+ * ---
1138
+ * A Divider is a thin line used to separate or group content in lists and layouts.
1139
+ *
1140
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.
1141
+ */
1142
+ type DividerManifestProperties = DividerProps;
1143
+ type DividerProperties = WebComponentProperties<DividerManifestProperties>;
1144
+
1145
+ declare const RaruiDivider_base: (new (...args: any[]) => {
1146
+ cssProps: Record<string, any>;
1147
+ sprinkleAttrs: Record<string, any>;
1148
+ }) & (new (...args: any[]) => {
1149
+ ariaLabel: string | null;
1150
+ ariaLabelledBy: string | null;
1151
+ ariaDescribedBy: string | null;
1152
+ }) & typeof LitElement;
1153
+ declare class RaruiDivider extends RaruiDivider_base {
1154
+ sprinkleAttrs: Record<string, string>;
1155
+ direction?: DividerProperties["direction"];
1156
+ type?: DividerProperties["type"];
1157
+ thickness?: DividerProperties["thickness"];
1158
+ color?: DividerProperties["color"];
1159
+ size?: DividerProperties["size"];
1160
+ private get _isPercentageSize();
1161
+ static styles: CSSResult;
1162
+ updated(changedProperties: PropertyValues): void;
1163
+ connectedCallback(): void;
1164
+ private _updateHostWidth;
1165
+ render(): TemplateResult<1>;
1166
+ }
1167
+
1168
+ declare global {
1169
+ interface HTMLElementTagNameMap {
1170
+ "rarui-icon": RaruiIcon;
1171
+ }
1172
+ }
1173
+ /**
1174
+ * ## Rarui Icon
1175
+ * ---
1176
+ * Iconography used in the system based on Google's Material Design.
1177
+ *
1178
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/icon) for more details.
1179
+ */
1180
+ type Sizes = "small" | "medium" | "large";
1181
+ type IconManifestProperties = IconProps & {
1182
+ /**
1183
+ * Name of the icon to be rendered (must be in the @rarui/icons package).
1184
+ */
1185
+ name: IconName;
1186
+ /**
1187
+ * Icon size, can be 'small' |'medium' |'large' or a number.
1188
+ * @default medium
1189
+ */
1190
+ size?: Sizes | number;
1191
+ };
1192
+ type IconProperties = WebComponentProperties<IconManifestProperties>;
1193
+
1194
+ declare const RaruiIcon_base: (new (...args: any[]) => {
1195
+ ariaLabel: string | null;
1196
+ ariaLabelledBy: string | null;
1197
+ ariaDescribedBy: string | null;
1198
+ }) & (new (...args: any[]) => {
1199
+ cssProps: Record<string, any>;
1200
+ sprinkleAttrs: Record<string, any>;
1201
+ }) & typeof LitElement;
1202
+ declare class RaruiIcon extends RaruiIcon_base {
1203
+ sprinkleAttrs: Record<string, string>;
1204
+ name: IconProperties["name"];
1205
+ size: Sizes | string;
1206
+ static styles: CSSResult;
1207
+ private getSvgWithSize;
1208
+ render(): TemplateResult<1> | null;
1209
+ }
1210
+
1211
+ declare global {
1212
+ interface HTMLElementTagNameMap {
1213
+ "rarui-label": RaruiLabel;
1214
+ }
1215
+ }
1216
+ /**
1217
+ * ## Rarui Label
1218
+ * ---
1219
+ * The label component allows us to name elements within a form.
1220
+ *
1221
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
1222
+ */
1223
+ type LabelManifestProperties = {
1224
+ /**
1225
+ * The for attribute specifies which form element a label is bound to.
1226
+ */
1227
+ for?: string;
1228
+ /**
1229
+ * Specifies whether the label is hidden or not
1230
+ * @default false
1231
+ */
1232
+ hidden?: boolean;
1233
+ };
1234
+ type LabelProperties = WebComponentProperties<LabelManifestProperties>;
1235
+
1236
+ declare const RaruiLabel_base: (new (...args: any[]) => {
1237
+ ariaLabel: string | null;
1238
+ ariaLabelledBy: string | null;
1239
+ ariaDescribedBy: string | null;
1240
+ }) & typeof LitElement;
1241
+ declare class RaruiLabel extends RaruiLabel_base {
1242
+ for: LabelProperties["for"];
1243
+ hidden: boolean;
1244
+ static styles: CSSResult;
1245
+ render(): TemplateResult<1>;
1246
+ private _handleClick;
1247
+ }
1248
+
1044
1249
  interface StandardLonghandProperties$1<TLength = (string & {}) | 0, TTime = string & {}> {
1045
1250
  /**
1046
1251
  * The **`accent-color`** CSS property sets the accent color for user-interface controls generated by some elements.
@@ -15253,297 +15458,6 @@ interface StandardLonghandProperties {
15253
15458
  */
15254
15459
  zoom?: Property.Zoom | Conditions<Property.Zoom>;
15255
15460
  }
15256
- interface StandardShorthandProperties {
15257
- /**
15258
- * The `**all**` shorthand CSS property resets all of an element's properties except `unicode-bidi`, `direction`, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another stylesheet origin.
15259
- *
15260
- *
15261
- * **Initial value**: There is no practical initial value for it.
15262
- *
15263
- */
15264
- all?: Property.All | Conditions<Property.All>;
15265
- /**
15266
- * The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for `animation-name`, `animation-duration`, `animation-timing-function`, `animation-delay`, `animation-iteration-count`, `animation-direction`, `animation-fill-mode`, and `animation-play-state`.
15267
- *
15268
- *
15269
- */
15270
- animation?: Property.Animation | Conditions<Property.Animation>;
15271
- /**
15272
- * The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.
15273
- *
15274
- *
15275
- */
15276
- background?: Property.Background | Conditions<Property.Background>;
15277
- /**
15278
- * The **`background-position`** CSS property sets the initial position for each background image. The position is relative to the position layer set by `background-origin`.
15279
- *
15280
- *
15281
- * **Initial value**: `0% 0%`
15282
- *
15283
- */
15284
- backgroundPosition?: Property.BackgroundPosition | Conditions<Property.BackgroundPosition>;
15285
- /**
15286
- * The **`border`** shorthand CSS property sets an element's border. It sets the values of `border-width`, `border-style`, and `border-color`.
15287
- *
15288
- *
15289
- */
15290
- border?: Property.Border | Conditions<Property.Border>;
15291
- /**
15292
- * The **`border-block`** CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.
15293
- *
15294
- *
15295
- */
15296
- borderBlock?: Property.BorderBlock | Conditions<Property.BorderBlock>;
15297
- /**
15298
- * The **`border-block-end`** CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
15299
- *
15300
- *
15301
- */
15302
- borderBlockEnd?: Property.BorderBlockEnd | Conditions<Property.BorderBlockEnd>;
15303
- /**
15304
- * The **`border-block-start`** CSS property is a shorthand property for setting the individual logical block-start border property values in a single place in the style sheet.
15305
- *
15306
- *
15307
- */
15308
- borderBlockStart?: Property.BorderBlockStart | Conditions<Property.BorderBlockStart>;
15309
- /**
15310
- * The **`border-bottom`** shorthand CSS property sets an element's bottom border. It sets the values of `border-bottom-width`, `border-bottom-style` and `border-bottom-color`.
15311
- *
15312
- *
15313
- */
15314
- borderBottom?: Property.BorderBottom | Conditions<Property.BorderBottom>;
15315
- /**
15316
- * The **`border-color`** shorthand CSS property sets the color of an element's border.
15317
- *
15318
- *
15319
- */
15320
- borderColor?: Property.BorderColor | Conditions<Property.BorderColor>;
15321
- /**
15322
- * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border.
15323
- *
15324
- *
15325
- */
15326
- borderImage?: Property.BorderImage | Conditions<Property.BorderImage>;
15327
- /**
15328
- * The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
15329
- *
15330
- *
15331
- */
15332
- borderInline?: Property.BorderInline | Conditions<Property.BorderInline>;
15333
- /**
15334
- * The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet.
15335
- *
15336
- *
15337
- */
15338
- borderInlineEnd?: Property.BorderInlineEnd | Conditions<Property.BorderInlineEnd>;
15339
- /**
15340
- * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
15341
- *
15342
- *
15343
- */
15344
- borderInlineStart?: Property.BorderInlineStart | Conditions<Property.BorderInlineStart>;
15345
- /**
15346
- * The **`border-left`** shorthand CSS property sets all the properties of an element's left border.
15347
- *
15348
- *
15349
- */
15350
- borderLeft?: Property.BorderLeft | Conditions<Property.BorderLeft>;
15351
- /**
15352
- * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
15353
- *
15354
- *
15355
- */
15356
- borderRadius?: Property.BorderRadius | Conditions<Property.BorderRadius>;
15357
- /**
15358
- * The **`border-right`** shorthand CSS property sets all the properties of an element's right border.
15359
- *
15360
- *
15361
- */
15362
- borderRight?: Property.BorderRight | Conditions<Property.BorderRight>;
15363
- /**
15364
- * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border.
15365
- *
15366
- *
15367
- */
15368
- borderStyle?: Property.BorderStyle | Conditions<Property.BorderStyle>;
15369
- /**
15370
- * The **`border-top`** shorthand CSS property sets all the properties of an element's top border.
15371
- *
15372
- *
15373
- */
15374
- borderTop?: Property.BorderTop | Conditions<Property.BorderTop>;
15375
- /**
15376
- * The **`border-width`** shorthand CSS property sets the width of an element's border.
15377
- *
15378
- *
15379
- */
15380
- borderWidth?: Property.BorderWidth | Conditions<Property.BorderWidth>;
15381
- /**
15382
- * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout.
15383
- *
15384
- *
15385
- */
15386
- columnRule?: Property.ColumnRule | Conditions<Property.ColumnRule>;
15387
- /**
15388
- * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
15389
- *
15390
- *
15391
- */
15392
- columns?: Property.Columns | Conditions<Property.Columns>;
15393
- /**
15394
- * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
15395
- *
15396
- *
15397
- */
15398
- flex?: Property.Flex | Conditions<Property.Flex>;
15399
- /**
15400
- * The **`flex-flow`** CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
15401
- *
15402
- *
15403
- */
15404
- flexFlow?: Property.FlexFlow | Conditions<Property.FlexFlow>;
15405
- /**
15406
- * The **`font`** CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font.
15407
- *
15408
- *
15409
- */
15410
- font?: Property.Font | Conditions<Property.Font>;
15411
- /**
15412
- * The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`.
15413
- *
15414
- *
15415
- */
15416
- gap?: Property.Gap | Conditions<Property.Gap>;
15417
- /**
15418
- * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.
15419
- *
15420
- *
15421
- */
15422
- grid?: Property.Grid | Conditions<Property.Grid>;
15423
- /**
15424
- * The **`grid-area`** CSS shorthand property specifies a grid item’s size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area.
15425
- *
15426
- *
15427
- */
15428
- gridArea?: Property.GridArea | Conditions<Property.GridArea>;
15429
- /**
15430
- * The **`grid-column`** CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
15431
- *
15432
- *
15433
- */
15434
- gridColumn?: Property.GridColumn | Conditions<Property.GridColumn>;
15435
- /**
15436
- * The **`grid-row`** CSS shorthand property specifies a grid item’s size and location within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
15437
- *
15438
- *
15439
- */
15440
- gridRow?: Property.GridRow | Conditions<Property.GridRow>;
15441
- /**
15442
- * The **`grid-template`** CSS property is a shorthand property for defining grid columns, rows, and areas.
15443
- *
15444
- *
15445
- */
15446
- gridTemplate?: Property.GridTemplate | Conditions<Property.GridTemplate>;
15447
- /**
15448
- *
15449
- * **Initial value**: `none`
15450
- */
15451
- lineClamp?: Property.LineClamp | Conditions<Property.LineClamp>;
15452
- /**
15453
- * The **`list-style`** CSS shorthand property allows you set all the list style properties at once.
15454
- *
15455
- *
15456
- */
15457
- listStyle?: Property.ListStyle | Conditions<Property.ListStyle>;
15458
- /**
15459
- * The **`margin`** CSS property sets the margin area on all four sides of an element. It is a shorthand for `margin-top`, `margin-right`, `margin-bottom`, and `margin-left`.
15460
- *
15461
- *
15462
- */
15463
- margin?: Property.Margin | Conditions<Property.Margin>;
15464
- /**
15465
- * The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping the image at specific points.
15466
- *
15467
- *
15468
- */
15469
- mask?: Property.Mask | Conditions<Property.Mask>;
15470
- /**
15471
- * The **`mask-border`** CSS shorthand property lets you create a mask along the edge of an element's border.
15472
- *
15473
- *
15474
- */
15475
- maskBorder?: Property.MaskBorder | Conditions<Property.MaskBorder>;
15476
- /**
15477
- * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path.
15478
- *
15479
- *
15480
- */
15481
- motion?: Property.Offset | Conditions<Property.Offset>;
15482
- /**
15483
- * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path.
15484
- *
15485
- *
15486
- */
15487
- offset?: Property.Offset | Conditions<Property.Offset>;
15488
- /**
15489
- * The **`outline`** CSS shorthand property set all the outline properties in a single declaration.
15490
- *
15491
- *
15492
- */
15493
- outline?: Property.Outline | Conditions<Property.Outline>;
15494
- /**
15495
- * The **`overflow`** CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions.
15496
- *
15497
- *
15498
- * **Initial value**: `visible`
15499
- *
15500
- */
15501
- overflow?: Property.Overflow | Conditions<Property.Overflow>;
15502
- /**
15503
- * The **`overscroll-behavior`** CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for `overscroll-behavior-x` and `overscroll-behavior-y`.
15504
- *
15505
- *
15506
- * **Initial value**: `auto`
15507
- *
15508
- */
15509
- overscrollBehavior?: Property.OverscrollBehavior | Conditions<Property.OverscrollBehavior>;
15510
- /**
15511
- * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once.
15512
- *
15513
- *
15514
- */
15515
- padding?: Property.Padding | Conditions<Property.Padding>;
15516
- /**
15517
- * The CSS **`place-items`** shorthand property allows you to align items along both the block and inline directions at once (i.e. the `align-items` and `justify-items` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not set, the first value is also used for it.
15518
- *
15519
- *
15520
- */
15521
- placeItems?: Property.PlaceItems | Conditions<Property.PlaceItems>;
15522
- /**
15523
- * The **`place-self`** CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e. the `align-self` and `justify-self` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not present, the first value is also used for it.
15524
- *
15525
- *
15526
- */
15527
- placeSelf?: Property.PlaceSelf | Conditions<Property.PlaceSelf>;
15528
- /**
15529
- * The **`text-decoration`** shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for `text-decoration-line`, `text-decoration-color`, `text-decoration-style`, and the newer `text-decoration-thickness` property.
15530
- *
15531
- *
15532
- */
15533
- textDecoration?: Property.TextDecoration | Conditions<Property.TextDecoration>;
15534
- /**
15535
- * The **`text-emphasis`** CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for `text-emphasis-style` and `text-emphasis-color`.
15536
- *
15537
- *
15538
- */
15539
- textEmphasis?: Property.TextEmphasis | Conditions<Property.TextEmphasis>;
15540
- /**
15541
- * The **`transition`** CSS property is a shorthand property for `transition-property`, `transition-duration`, `transition-timing-function`, and `transition-delay`.
15542
- *
15543
- *
15544
- */
15545
- transition?: Property.Transition | Conditions<Property.Transition>;
15546
- }
15547
15461
  type OnlyObject = Record<never, never>;
15548
15462
  type OnlyNumber = number & OnlyObject;
15549
15463
  type OnlyString = string & OnlyObject;
@@ -16135,12 +16049,6 @@ declare namespace DataType {
16135
16049
  type ViewportLength = "auto" | OnlyStringNumeric;
16136
16050
  type VisualBox = "border-box" | "content-box" | "padding-box";
16137
16051
  }
16138
- declare const fontWeightProperties: {
16139
- regular: `var(--${string})` | `var(--${string}, ${string})`;
16140
- medium: `var(--${string})` | `var(--${string}, ${string})`;
16141
- semiBold: `var(--${string})` | `var(--${string}, ${string})`;
16142
- bold: `var(--${string})` | `var(--${string}, ${string})`;
16143
- };
16144
16052
  declare const zIndexProperties: {
16145
16053
  "100": `var(--${string})` | `var(--${string}, ${string})`;
16146
16054
  "200": `var(--${string})` | `var(--${string}, ${string})`;
@@ -16152,752 +16060,101 @@ declare const zIndexProperties: {
16152
16060
  "800": `var(--${string})` | `var(--${string}, ${string})`;
16153
16061
  "900": `var(--${string})` | `var(--${string}, ${string})`;
16154
16062
  };
16155
- declare const colorProperties: {
16156
- currentColor: string;
16157
- brand: `var(--${string})` | `var(--${string}, ${string})`;
16158
- "brand-alt": `var(--${string})` | `var(--${string}, ${string})`;
16159
- disabled: `var(--${string})` | `var(--${string}, ${string})`;
16160
- error: `var(--${string})` | `var(--${string}, ${string})`;
16161
- info: `var(--${string})` | `var(--${string}, ${string})`;
16162
- invert: `var(--${string})` | `var(--${string}, ${string})`;
16163
- "invert-disabled": `var(--${string})` | `var(--${string}, ${string})`;
16164
- "invert-secondary": `var(--${string})` | `var(--${string}, ${string})`;
16165
- "on-brand": `var(--${string})` | `var(--${string}, ${string})`;
16166
- "on-error": `var(--${string})` | `var(--${string}, ${string})`;
16167
- "on-info": `var(--${string})` | `var(--${string}, ${string})`;
16168
- "on-success": `var(--${string})` | `var(--${string}, ${string})`;
16169
- "on-warning": `var(--${string})` | `var(--${string}, ${string})`;
16170
- primary: `var(--${string})` | `var(--${string}, ${string})`;
16171
- secondary: `var(--${string})` | `var(--${string}, ${string})`;
16172
- success: `var(--${string})` | `var(--${string}, ${string})`;
16173
- warning: `var(--${string})` | `var(--${string}, ${string})`;
16174
- "warning-alt": `var(--${string})` | `var(--${string}, ${string})`;
16175
- };
16176
- declare const borderColorProperties: {
16177
- transparent: string;
16178
- brand: `var(--${string})` | `var(--${string}, ${string})`;
16179
- "brand-alt": `var(--${string})` | `var(--${string}, ${string})`;
16180
- disabled: `var(--${string})` | `var(--${string}, ${string})`;
16181
- divider: `var(--${string})` | `var(--${string}, ${string})`;
16182
- error: `var(--${string})` | `var(--${string}, ${string})`;
16183
- info: `var(--${string})` | `var(--${string}, ${string})`;
16184
- invert: `var(--${string})` | `var(--${string}, ${string})`;
16185
- "invert-disabled": `var(--${string})` | `var(--${string}, ${string})`;
16186
- primary: `var(--${string})` | `var(--${string}, ${string})`;
16187
- secondary: `var(--${string})` | `var(--${string}, ${string})`;
16188
- subdued: `var(--${string})` | `var(--${string}, ${string})`;
16189
- success: `var(--${string})` | `var(--${string}, ${string})`;
16190
- warning: `var(--${string})` | `var(--${string}, ${string})`;
16191
- };
16192
16063
 
16193
- declare const chipStyles: {
16194
- chip: RuntimeFn<{
16064
+ declare const styles$6: {
16065
+ container: RuntimeFn<{
16195
16066
  /**
16196
- * Specifies whether the chip will be displayed in the pill shape
16197
- * @default false
16067
+ * Determines the visual style of the input, affecting its border
16198
16068
  */
16199
- pill: {
16200
- true: {
16201
- borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16069
+ appearance: {
16070
+ success: {
16071
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16072
+ ":hover": {
16073
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16074
+ };
16075
+ ":focus": {
16076
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16077
+ };
16078
+ };
16079
+ error: {
16080
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16081
+ ":hover": {
16082
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16083
+ };
16084
+ ":focus": {
16085
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16086
+ };
16202
16087
  };
16203
16088
  };
16204
16089
  /**
16205
- * Specifies whether the chip is selected
16206
- * @default false
16090
+ * Determines if the input have borders or not.
16091
+ * @default true
16207
16092
  */
16208
- selected: {
16093
+ border: {
16209
16094
  true: {
16210
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16211
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16212
- color: `var(--${string})` | `var(--${string}, ${string})`;
16213
- ":hover": {
16214
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16215
- };
16095
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16216
16096
  };
16097
+ false: {
16098
+ borderWidth: number;
16099
+ };
16100
+ };
16101
+ size: {
16102
+ large: {
16103
+ height: "3rem";
16104
+ };
16105
+ medium: {
16106
+ height: "2.5rem";
16107
+ };
16108
+ small: {
16109
+ height: "2rem";
16110
+ };
16111
+ };
16112
+ }>;
16113
+ input: RuntimeFn<{
16114
+ /**
16115
+ * Places a divider between the input and the leading components
16116
+ * @default true
16117
+ */
16118
+ divider: {
16119
+ false: {};
16217
16120
  };
16218
16121
  /**
16219
- * Specifies the size of the chip
16122
+ * Specifies the size of the input, controlling its dimensions.
16220
16123
  * @default medium
16221
16124
  */
16222
16125
  size: {
16223
- medium: {
16126
+ large: {
16127
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16224
16128
  lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16129
+ };
16130
+ medium: {
16225
16131
  fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16226
- height: "2rem";
16132
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16227
16133
  };
16228
16134
  small: {
16229
- lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16230
16135
  fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16231
- height: "1.5rem";
16136
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16137
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16232
16138
  };
16233
16139
  };
16234
- /**
16235
- * Specifies whether to handle text overflow within the chip.
16236
- * When true, overflowing text is typically truncated with an ellipsis.
16237
- * @default false
16238
- */
16239
- textOverflow: {
16240
- true: {
16241
- minWidth: "auto";
16242
- width: "100%";
16140
+ }>;
16141
+ leading: RuntimeFn<{
16142
+ position: {
16143
+ start: {
16144
+ borderRightWidth: `var(--${string})` | `var(--${string}, ${string})`;
16145
+ };
16146
+ end: {
16147
+ borderLeftWidth: `var(--${string})` | `var(--${string}, ${string})`;
16243
16148
  };
16244
16149
  };
16245
- }>;
16246
- content: RuntimeFn<{
16247
- /**
16248
- * Specifies whether to handle text overflow within the chip.
16249
- * When true, overflowing text is typically truncated with an ellipsis.
16250
- */
16251
- textOverflow: {
16150
+ divider: {
16252
16151
  true: {
16253
- textOverflow: "ellipsis";
16254
- whiteSpace: "nowrap";
16255
- width: "100%";
16256
- display: "block";
16257
- overflow: "hidden";
16258
- };
16259
- };
16260
- }>;
16261
- close: string;
16262
- overlay: string;
16263
- };
16264
- declare const paddingProperties: {
16265
- medium: string;
16266
- small: string;
16267
- };
16268
-
16269
- type ChipVariants = NonNullable<RecipeVariants<typeof chipStyles.chip>>;
16270
- type ChipDynamicProperties = Pick<StandardLonghandProperties, "textTransform">;
16271
- interface ChipSprinkle extends ChipDynamicProperties {
16272
- /**
16273
- * The padding properties are used to generate space around an chip's content area.
16274
- */
16275
- padding?: AddDollar<keyof typeof paddingProperties> | Conditions<AddDollar<keyof typeof paddingProperties>>;
16276
- }
16277
-
16278
- declare const dividerBorderWidthProperties: {
16279
- "1": string;
16280
- "2": string;
16281
- };
16282
-
16283
- type DividerBorderStyle = "solid" | "dashed";
16284
- interface DividerSprinkle {
16285
- /**
16286
- * The **`size`** CSS property sets an element's area.
16287
- * @default 100%
16288
- */
16289
- size?: string | Conditions<string>;
16290
- /**
16291
- * The **`type`** shorthand CSS property sets the line style for all four sides of an element's.
16292
- * @default solid
16293
- */
16294
- type?: AddDollar<DividerBorderStyle> | Conditions<AddDollar<DividerBorderStyle>>;
16295
- /**
16296
- * The **`thickness`** shorthand CSS property sets the width of an element's.
16297
- * @default $1
16298
- */
16299
- thickness?: AddDollar<keyof typeof dividerBorderWidthProperties> | Conditions<AddDollar<keyof typeof dividerBorderWidthProperties>>;
16300
- /**
16301
- * The **`color`** CSS property sets an element's color.
16302
- * @default $divider
16303
- */
16304
- color?: AddDollar<keyof typeof borderColorProperties> | Conditions<AddDollar<keyof typeof borderColorProperties>>;
16305
- }
16306
-
16307
- type IconDynamicProperties = Pick<StandardLonghandProperties, "cursor">;
16308
- interface IconSprinkle extends IconDynamicProperties {
16309
- /**
16310
- * The color property sets the icon.
16311
- */
16312
- color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16313
- }
16314
-
16315
- declare const textLineHeightProperties: {
16316
- xxs: `var(--${string})` | `var(--${string}, ${string})`;
16317
- xs: `var(--${string})` | `var(--${string}, ${string})`;
16318
- s: `var(--${string})` | `var(--${string}, ${string})`;
16319
- m: `var(--${string})` | `var(--${string}, ${string})`;
16320
- l: `var(--${string})` | `var(--${string}, ${string})`;
16321
- xl: `var(--${string})` | `var(--${string}, ${string})`;
16322
- };
16323
- declare const textFontSizeProperties: {
16324
- xxs: `var(--${string})` | `var(--${string}, ${string})`;
16325
- xs: `var(--${string})` | `var(--${string}, ${string})`;
16326
- s: `var(--${string})` | `var(--${string}, ${string})`;
16327
- m: `var(--${string})` | `var(--${string}, ${string})`;
16328
- l: `var(--${string})` | `var(--${string}, ${string})`;
16329
- xl: `var(--${string})` | `var(--${string}, ${string})`;
16330
- };
16331
-
16332
- type TextDynamicProperties = Pick<StandardLonghandProperties, "textAlign" | "wordBreak" | "textTransform" | "textOverflow" | "width" | "whiteSpace"> & Pick<StandardShorthandProperties, "textDecoration" | "overflow">;
16333
- interface TextSprinkle extends TextDynamicProperties {
16334
- /**
16335
- * The color property is used to set the color of the title.
16336
- */
16337
- color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16338
- /**
16339
- * The color property is used to set the color of the title.
16340
- * @default $regular
16341
- */
16342
- fontWeight?: AddDollar<keyof typeof fontWeightProperties> | Conditions<AddDollar<keyof typeof fontWeightProperties>>;
16343
- /**
16344
- * The fontSize property sets the size of the text.
16345
- */
16346
- fontSize?: AddDollar<keyof typeof textFontSizeProperties> | Conditions<AddDollar<keyof typeof textFontSizeProperties>>;
16347
- /**
16348
- * The lineHeight property specifies the line height of the title.
16349
- */
16350
- lineHeight?: AddDollar<keyof typeof textLineHeightProperties> | Conditions<AddDollar<keyof typeof textLineHeightProperties>>;
16351
- }
16352
-
16353
- declare const titleLineHeightProperties: {
16354
- hero: `var(--${string})` | `var(--${string}, ${string})`;
16355
- xs: `var(--${string})` | `var(--${string}, ${string})`;
16356
- s: `var(--${string})` | `var(--${string}, ${string})`;
16357
- m: `var(--${string})` | `var(--${string}, ${string})`;
16358
- l: `var(--${string})` | `var(--${string}, ${string})`;
16359
- xl: `var(--${string})` | `var(--${string}, ${string})`;
16360
- };
16361
- declare const titleFontSizeProperties: {
16362
- hero: `var(--${string})` | `var(--${string}, ${string})`;
16363
- xs: `var(--${string})` | `var(--${string}, ${string})`;
16364
- s: `var(--${string})` | `var(--${string}, ${string})`;
16365
- m: `var(--${string})` | `var(--${string}, ${string})`;
16366
- l: `var(--${string})` | `var(--${string}, ${string})`;
16367
- xl: `var(--${string})` | `var(--${string}, ${string})`;
16368
- };
16369
-
16370
- type TitleDynamicProperties = Pick<StandardLonghandProperties, "textAlign" | "textTransform"> & Pick<StandardShorthandProperties, "textDecoration">;
16371
- interface TitleSprinkle extends TitleDynamicProperties {
16372
- /**
16373
- * The color property is used to set the color of the title.
16374
- */
16375
- color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16376
- /**
16377
- * The color property is used to set the color of the title.
16378
- * @default $regular
16379
- */
16380
- fontWeight?: AddDollar<keyof typeof fontWeightProperties> | Conditions<AddDollar<keyof typeof fontWeightProperties>>;
16381
- /**
16382
- * The fontSize property sets the size of the title.
16383
- */
16384
- fontSize?: AddDollar<keyof typeof titleFontSizeProperties> | Conditions<AddDollar<keyof typeof titleFontSizeProperties>>;
16385
- /**
16386
- * The lineHeight property specifies the line height of the title.
16387
- */
16388
- lineHeight?: AddDollar<keyof typeof titleLineHeightProperties> | Conditions<AddDollar<keyof typeof titleLineHeightProperties>>;
16389
- }
16390
-
16391
- declare const avatarStyles: {
16392
- container: string;
16393
- avatar: RuntimeFn<{
16394
- /**
16395
- * Specifies the size of the Avatar component.
16396
- * @default medium
16397
- */
16398
- size: {
16399
- small: {
16400
- width: "20px";
16401
- height: "20px";
16402
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16403
- };
16404
- medium: {
16405
- width: "30px";
16406
- height: "30px";
16407
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16408
- };
16409
- large: {
16410
- width: "40px";
16411
- height: "40px";
16412
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16413
- borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16414
- };
16415
- xLarge: {
16416
- width: "60px";
16417
- height: "60px";
16418
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16419
- borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16420
- };
16421
- };
16422
- }>;
16423
- badge: RuntimeFn<{
16424
- size: {
16425
- small: {
16426
- left: "18px";
16427
- };
16428
- medium: {
16429
- left: "24px";
16430
- };
16431
- large: {
16432
- top: "-4px";
16433
- left: "30px";
16434
- };
16435
- xLarge: {
16436
- left: "44px";
16437
- };
16438
- };
16439
- }>;
16440
- };
16441
-
16442
- type AvatarVariants = NonNullable<RecipeVariants<typeof avatarStyles.avatar>>;
16443
-
16444
- declare const badgeStyles: {
16445
- badge: RuntimeFn<{
16446
- /**
16447
- * Determines the visual style of the badge, influencing its color scheme and appearance.
16448
- * @default brand
16449
- */
16450
- appearance: {
16451
- brand: {
16452
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16453
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16454
- color: `var(--${string})` | `var(--${string}, ${string})`;
16455
- };
16456
- danger: {
16457
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16458
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16459
- color: `var(--${string})` | `var(--${string}, ${string})`;
16460
- };
16461
- success: {
16462
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16463
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16464
- color: `var(--${string})` | `var(--${string}, ${string})`;
16465
- };
16466
- warning: {
16467
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16468
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16469
- color: `var(--${string})` | `var(--${string}, ${string})`;
16470
- };
16471
- info: {
16472
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16473
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16474
- color: `var(--${string})` | `var(--${string}, ${string})`;
16475
- };
16476
- neutral: {
16477
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16478
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16479
- color: `var(--${string})` | `var(--${string}, ${string})`;
16480
- };
16481
- inverted: {
16482
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16483
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16484
- color: `var(--${string})` | `var(--${string}, ${string})`;
16485
- };
16486
- };
16487
- /**
16488
- * Specifies the size of the badge, controlling its dimensions.
16489
- * @default medium
16490
- */
16491
- size: {
16492
- large: {
16493
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16494
- height: "3rem";
16495
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16496
- fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16497
- };
16498
- medium: {
16499
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16500
- height: "2em";
16501
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16502
- fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16503
- };
16504
- small: {
16505
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16506
- height: "1.5rem";
16507
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16508
- fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16509
- };
16510
- dot: {
16511
- height: "0.5rem";
16512
- width: "0.5rem";
16513
- };
16514
- };
16515
- /**
16516
- * Defines the visual variant of the badge, affecting its background style.
16517
- * @default solid
16518
- */
16519
- variant: {
16520
- solid: {};
16521
- outlined: {
16522
- borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16523
- borderStyle: "solid";
16524
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16525
- };
16526
- };
16527
- }>;
16528
- };
16529
-
16530
- type BadgeVariants = NonNullable<RecipeVariants<typeof badgeStyles.badge>>;
16531
-
16532
- declare const buttonStyles: {
16533
- button: RuntimeFn<{
16534
- /**
16535
- * Specifies whether the button should take up the full width of its container.
16536
- * This variant is useful when you want to make a button span the entire width of its parent container.
16537
- *
16538
- */
16539
- full: {
16540
- true: {
16541
- width: "100%";
16542
- };
16543
- };
16544
- /**
16545
- * Defines the appearance variants for the button component.
16546
- * Each appearance variant corresponds to a specific background color, border color, and text color.
16547
- * @default brand
16548
- */
16549
- appearance: {
16550
- brand: {
16551
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16552
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16553
- color: `var(--${string})` | `var(--${string}, ${string})`;
16554
- };
16555
- danger: {
16556
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16557
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16558
- color: `var(--${string})` | `var(--${string}, ${string})`;
16559
- };
16560
- success: {
16561
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16562
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16563
- color: `var(--${string})` | `var(--${string}, ${string})`;
16564
- };
16565
- warning: {
16566
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16567
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16568
- color: `var(--${string})` | `var(--${string}, ${string})`;
16569
- };
16570
- neutral: {
16571
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16572
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16573
- color: `var(--${string})` | `var(--${string}, ${string})`;
16574
- };
16575
- inverted: {
16576
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16577
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16578
- color: `var(--${string})` | `var(--${string}, ${string})`;
16579
- };
16580
- };
16581
- /**
16582
- * Defines the size of the button component.
16583
- * @default large
16584
- */
16585
- size: {
16586
- large: {
16587
- gap: `var(--${string})` | `var(--${string}, ${string})`;
16588
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16589
- height: "3rem";
16590
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16591
- };
16592
- medium: {
16593
- gap: `var(--${string})` | `var(--${string}, ${string})`;
16594
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16595
- height: "2.5rem";
16596
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16597
- };
16598
- small: {
16599
- gap: `var(--${string})` | `var(--${string}, ${string})`;
16600
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16601
- height: "2rem";
16602
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16603
- };
16604
- };
16605
- /**
16606
- * Defines the visual variant of the badge, affecting its background style, border and text.
16607
- * @default solid
16608
- */
16609
- variant: {
16610
- solid: {
16611
- selectors: {
16612
- "&:hover:after": {
16613
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16614
- };
16615
- "&:active:after": {
16616
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16617
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16618
- };
16619
- };
16620
- };
16621
- outlined: {
16622
- backgroundColor: "transparent";
16623
- };
16624
- text: {
16625
- backgroundColor: "transparent";
16626
- textDecoration: "underline";
16627
- borderColor: "transparent";
16628
- };
16629
- tonal: {
16630
- borderColor: "transparent";
16631
- };
16632
- };
16633
- }>;
16634
- };
16635
-
16636
- type ButtonVariants = NonNullable<RecipeVariants<typeof buttonStyles.button>>;
16637
-
16638
- declare const overlayBackgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16639
- declare const checkboxStyles: {
16640
- checkbox: RuntimeFn<{
16641
- /**
16642
- * Specifies whether the checkbox is in error state
16643
- */
16644
- error: {
16645
- true: {
16646
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16647
- ":checked": {
16648
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16649
- };
16650
- };
16651
- };
16652
- /**
16653
- * Specifies the size of the checkbox
16654
- */
16655
- size: {
16656
- medium: {
16657
- width: "1.25rem";
16658
- height: "1.25rem";
16659
- };
16660
- large: {
16661
- width: "1.5rem";
16662
- height: "1.5rem";
16663
- };
16664
- };
16665
- /**
16666
- * Specifies whether the checkbox is indeterminate state
16667
- */
16668
- indeterminate: {
16669
- true: {
16670
- selectors: {
16671
- "&:checked:after": {
16672
- top: number;
16673
- bottom: number;
16674
- margin: "auto";
16675
- height: number;
16676
- borderLeft: "none";
16677
- transform: "rotate(0deg)";
16678
- };
16679
- };
16680
- };
16681
- };
16682
- }>;
16683
- label: RuntimeFn<{
16684
- /**
16685
- * Specifies whether the label is in error state
16686
- */
16687
- error: {
16688
- true: {
16689
- vars: {
16690
- [overlayBackgroundColor]: `var(--${string})` | `var(--${string}, ${string})`;
16691
- };
16692
- };
16693
- };
16694
- }>;
16695
- container: string;
16696
- overlay: string;
16697
- };
16698
-
16699
- type CheckboxVariants = NonNullable<RecipeVariants<typeof checkboxStyles.checkbox>>;
16700
-
16701
- declare const iconButtonStyles: {
16702
- iconButton: RuntimeFn<{
16703
- /**
16704
- * Determines the visual style of the icon button, influencing its color scheme and appearance.
16705
- * @default brand
16706
- */
16707
- appearance: {
16708
- brand: {
16709
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16710
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16711
- color: `var(--${string})` | `var(--${string}, ${string})`;
16712
- };
16713
- danger: {
16714
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16715
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16716
- color: `var(--${string})` | `var(--${string}, ${string})`;
16717
- };
16718
- success: {
16719
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16720
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16721
- color: `var(--${string})` | `var(--${string}, ${string})`;
16722
- };
16723
- warning: {
16724
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16725
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16726
- color: `var(--${string})` | `var(--${string}, ${string})`;
16727
- };
16728
- neutral: {
16729
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16730
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16731
- color: `var(--${string})` | `var(--${string}, ${string})`;
16732
- };
16733
- inverted: {
16734
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16735
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16736
- color: `var(--${string})` | `var(--${string}, ${string})`;
16737
- };
16738
- };
16739
- /**
16740
- * Defines the size of the icon button component.
16741
- * @default medium
16742
- */
16743
- size: {
16744
- large: {
16745
- height: "3rem";
16746
- width: "3rem";
16747
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16748
- };
16749
- medium: {
16750
- height: "2.5rem";
16751
- width: "2.5rem";
16752
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16753
- };
16754
- small: {
16755
- height: "2rem";
16756
- width: "2rem";
16757
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16758
- };
16759
- };
16760
- variant: {
16761
- /**
16762
- * Defines the visual variant of the icon button, affecting its background style, border and text.
16763
- * @default solid
16764
- */
16765
- solid: {
16766
- selectors: {
16767
- "&:hover:after": {
16768
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16769
- };
16770
- "&:active:after": {
16771
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16772
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16773
- };
16774
- };
16775
- };
16776
- outlined: {
16777
- backgroundColor: "transparent";
16778
- };
16779
- ghost: {
16780
- backgroundColor: "transparent";
16781
- borderColor: "transparent";
16782
- };
16783
- tonal: {
16784
- borderColor: "transparent";
16785
- };
16786
- };
16787
- /**
16788
- * Defines if the button should have rounded edges.
16789
- *
16790
- * - `true`: The button will be rendered with completely rounded edges, useful for circular -shaped icons.
16791
- * - `false` (default): The button will have standard edges or defined by the component style.
16792
- * @default false
16793
- */
16794
- rounded: {
16795
- true: {
16796
- borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16797
- ":after": {
16798
- borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16799
- };
16800
- };
16801
- };
16802
- }>;
16803
- };
16804
-
16805
- type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
16806
-
16807
- declare const styles$6: {
16808
- container: RuntimeFn<{
16809
- /**
16810
- * Determines the visual style of the input, affecting its border
16811
- */
16812
- appearance: {
16813
- success: {
16814
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16815
- ":hover": {
16816
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16817
- };
16818
- ":focus": {
16819
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16820
- };
16821
- };
16822
- error: {
16823
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16824
- ":hover": {
16825
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16826
- };
16827
- ":focus": {
16828
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16829
- };
16830
- };
16831
- };
16832
- /**
16833
- * Determines if the input have borders or not.
16834
- * @default true
16835
- */
16836
- border: {
16837
- true: {
16838
- borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16839
- };
16840
- false: {
16841
- borderWidth: number;
16842
- };
16843
- };
16844
- size: {
16845
- large: {
16846
- height: "3rem";
16847
- };
16848
- medium: {
16849
- height: "2.5rem";
16850
- };
16851
- small: {
16852
- height: "2rem";
16853
- };
16854
- };
16855
- }>;
16856
- input: RuntimeFn<{
16857
- /**
16858
- * Places a divider between the input and the leading components
16859
- * @default true
16860
- */
16861
- divider: {
16862
- false: {};
16863
- };
16864
- /**
16865
- * Specifies the size of the input, controlling its dimensions.
16866
- * @default medium
16867
- */
16868
- size: {
16869
- large: {
16870
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16871
- lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16872
- };
16873
- medium: {
16874
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16875
- lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16876
- };
16877
- small: {
16878
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16879
- lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16880
- padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16881
- };
16882
- };
16883
- }>;
16884
- leading: RuntimeFn<{
16885
- position: {
16886
- start: {
16887
- borderRightWidth: `var(--${string})` | `var(--${string}, ${string})`;
16888
- };
16889
- end: {
16890
- borderLeftWidth: `var(--${string})` | `var(--${string}, ${string})`;
16891
- };
16892
- };
16893
- divider: {
16894
- true: {
16895
- borderStyle: "solid";
16896
- borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16897
- };
16898
- false: {
16899
- borderRightWidth: number;
16900
- borderLeftWidth: number;
16152
+ borderStyle: "solid";
16153
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16154
+ };
16155
+ false: {
16156
+ borderRightWidth: number;
16157
+ borderLeftWidth: number;
16901
16158
  };
16902
16159
  };
16903
16160
  appearance: {
@@ -17113,98 +16370,6 @@ declare const dropdownStyles: {
17113
16370
  };
17114
16371
 
17115
16372
  type DropdownVariants = NonNullable<RecipeVariants<typeof dropdownStyles.dropdown> & RecipeVariants<typeof dropdownStyles.item>>;
17116
- type DropdownDynamicProperties = Pick<StandardLonghandProperties, "width" | "maxWidth">;
17117
- interface DropdownSprinkle extends DropdownDynamicProperties {
17118
- /**
17119
- * The zIndex property specifies the stack order of the box.
17120
- */
17121
- zIndex?: AddDollar<keyof typeof zIndexProperties> | Conditions<AddDollar<keyof typeof zIndexProperties>>;
17122
- }
17123
-
17124
- declare const statusStyles: {
17125
- status: RuntimeFn<{
17126
- /**
17127
- * Specifies whether the status should take up the full width of its container.
17128
- * This variant is useful when you want to make a status span the entire width of its parent container.
17129
- * @default false
17130
- *
17131
- */
17132
- full: {
17133
- true: {
17134
- width: "100%";
17135
- };
17136
- };
17137
- /**
17138
- * Determines the visual style of the status, influencing its color scheme.
17139
- * @default success
17140
- */
17141
- appearance: {
17142
- success: {
17143
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17144
- color: `var(--${string})` | `var(--${string}, ${string})`;
17145
- };
17146
- warning: {
17147
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17148
- color: `var(--${string})` | `var(--${string}, ${string})`;
17149
- };
17150
- danger: {
17151
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17152
- color: `var(--${string})` | `var(--${string}, ${string})`;
17153
- };
17154
- inverted: {
17155
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17156
- color: `var(--${string})` | `var(--${string}, ${string})`;
17157
- };
17158
- neutral: {
17159
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17160
- color: `var(--${string})` | `var(--${string}, ${string})`;
17161
- };
17162
- info: {
17163
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17164
- color: `var(--${string})` | `var(--${string}, ${string})`;
17165
- };
17166
- };
17167
- /**
17168
- * Specifies the size of the badge, controlling its dimensions.
17169
- * @default normal
17170
- */
17171
- size: {
17172
- normal: {
17173
- height: "1.75rem";
17174
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
17175
- };
17176
- small: {
17177
- height: "1.5rem";
17178
- fontSize: `var(--${string})` | `var(--${string}, ${string})`;
17179
- };
17180
- };
17181
- /**
17182
- * Specifies the variant of the status
17183
- * @default solid
17184
- */
17185
- variant: {
17186
- solid: {};
17187
- text: {
17188
- backgroundColor: "transparent";
17189
- };
17190
- subdued: {};
17191
- };
17192
- }>;
17193
- dot: RuntimeFn<{
17194
- size: {
17195
- normal: {
17196
- height: ".5rem";
17197
- width: ".5rem";
17198
- };
17199
- small: {
17200
- height: ".25rem";
17201
- width: ".25rem";
17202
- };
17203
- };
17204
- }>;
17205
- };
17206
-
17207
- type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
17208
16373
 
17209
16374
  declare const bannerStyles: {
17210
16375
  banner: RuntimeFn<{
@@ -17399,50 +16564,6 @@ declare const styles$1: {
17399
16564
 
17400
16565
  type ToggleVariants = RecipeVariants<typeof styles$1.toggle>;
17401
16566
 
17402
- declare const styles: {
17403
- tooltip: RuntimeFn<{
17404
- /**
17405
- * Specifies whether the color scheme should be inverted
17406
- * @default false
17407
- */
17408
- inverted: {
17409
- true: {
17410
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17411
- color: `var(--${string})` | `var(--${string}, ${string})`;
17412
- };
17413
- false: {
17414
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17415
- color: `var(--${string})` | `var(--${string}, ${string})`;
17416
- };
17417
- };
17418
- /**
17419
- * Specifies the padding for the tooltip
17420
- * @default base
17421
- */
17422
- padding: {
17423
- base: {
17424
- padding: `var(--${string})` | `var(--${string}, ${string})`;
17425
- };
17426
- none: {
17427
- padding: number;
17428
- };
17429
- };
17430
- }>;
17431
- header: RuntimeFn<{
17432
- padding: {
17433
- base: {
17434
- padding: `var(--${string})` | `var(--${string}, ${string})`;
17435
- };
17436
- none: {
17437
- padding: number;
17438
- };
17439
- };
17440
- }>;
17441
- container: string;
17442
- };
17443
-
17444
- type TooltipVariants = NonNullable<RecipeVariants<typeof styles.tooltip>>;
17445
-
17446
16567
  declare const accordionStyles: {
17447
16568
  item: RuntimeFn<{
17448
16569
  selected: {
@@ -17817,107 +16938,16 @@ declare const stepperStyles: {
17817
16938
  marginTop: "20px";
17818
16939
  };
17819
16940
  vertical: {
17820
- width: "1px";
17821
- marginTop: `var(--${string})` | `var(--${string}, ${string})`;
17822
- marginBottom: `var(--${string})` | `var(--${string}, ${string})`;
17823
- marginLeft: "18px";
17824
- };
17825
- };
17826
- }>;
17827
- };
17828
-
17829
- type StepperVariants = NonNullable<RecipeVariants<typeof stepperStyles.stepper> & RecipeVariants<typeof stepperStyles.circle>>;
17830
-
17831
- type BadgeProps = BadgeVariants;
17832
-
17833
- interface AvatarTypings {
17834
- /**
17835
- * Renders a Badge component along with the Avatar. The badge prop accepts an object of type Badge, representing the Badge component.
17836
- * @TJS-type Badge
17837
- */
17838
- badge?: BadgeProps;
17839
- }
17840
- type AvatarProps = AvatarTypings & AvatarVariants;
17841
-
17842
- interface DividerProps extends DividerSprinkle {
17843
- /**
17844
- * The direction of the Divider.
17845
- * @default horizontal
17846
- */
17847
- direction?: "vertical" | "horizontal";
17848
- }
17849
-
17850
- type IconProps = IconSprinkle;
17851
-
17852
- type StepperProps = Pick<StepperVariants, "direction">;
17853
-
17854
- interface TitleProps extends TitleSprinkle {
17855
- /**
17856
- * Type of html tag to create for the title.
17857
- * @default h1
17858
- */
17859
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
17860
- }
17861
-
17862
- interface TextProps extends TextSprinkle {
17863
- /**
17864
- * Type of html tag to create for the Text component.
17865
- * @default p
17866
- */
17867
- as?: "p" | "span";
17868
- /**
17869
- * The -webkit-line-clamp CSS property allows limiting of the contents of a block to the specified number of lines.
17870
- */
17871
- lineClamp?: number;
17872
- }
17873
-
17874
- interface TooltipTyping {
17875
- /**
17876
- * Conditional for displaying the popover arrow.
17877
- * @default true
17878
- */
17879
- arrow?: boolean;
17880
- /**
17881
- * A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
17882
- * @default false
17883
- */
17884
- matchReferenceWidth?: boolean;
17885
- /**
17886
- * Adds hover event listeners that change the open state, like CSS :hover.
17887
- * @default false
17888
- */
17889
- enabledHover?: boolean;
17890
- /**
17891
- * Adds click event listeners that change the open state.
17892
- * @default true
17893
- */
17894
- enabledClick?: boolean;
17895
- /**
17896
- * Adds listeners that dismiss (close) the floating element.
17897
- * @default true
17898
- */
17899
- enabledDismiss?: boolean;
17900
- /**
17901
- * Offest displaces the floating element from its core placement along the specified axes.
17902
- * @default 10
17903
- */
17904
- offset?: number;
17905
- /**
17906
- * Specifies the ID of the portal element where the tooltip should be rendered.
17907
- * This can be useful for rendering the tooltip in a different part of the DOM, such as a modal or overlay.
17908
- */
17909
- portalId?: string;
17910
- /**
17911
- * If true, the component is shown.
17912
- */
17913
- visible?: boolean;
17914
- /**
17915
- * Function to control popover opening and closing.
17916
- * @TJS-type (visible: boolean) => void;
17917
- */
17918
- onVisibility?: (visible: boolean) => void;
17919
- }
17920
- type TooltipProps = TooltipTyping & TooltipVariants;
16941
+ width: "1px";
16942
+ marginTop: `var(--${string})` | `var(--${string}, ${string})`;
16943
+ marginBottom: `var(--${string})` | `var(--${string}, ${string})`;
16944
+ marginLeft: "18px";
16945
+ };
16946
+ };
16947
+ }>;
16948
+ };
16949
+
16950
+ type StepperVariants = NonNullable<RecipeVariants<typeof stepperStyles.stepper> & RecipeVariants<typeof stepperStyles.circle>>;
17921
16951
 
17922
16952
  interface StepperStepTyping {
17923
16953
  /**
@@ -17942,101 +16972,8 @@ type ProgressProps = ProgressTyping & ProgressSprinkle;
17942
16972
 
17943
16973
  type ProgressCircleProps = ProgressProps & ProgressVariants;
17944
16974
 
17945
- interface StatusTyping {
17946
- /**
17947
- * Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.
17948
- * @default true
17949
- */
17950
- dot?: boolean;
17951
- }
17952
- type StatusProps = StatusTyping & StatusVariants;
17953
-
17954
- interface ButtonTyping {
17955
- /**
17956
- * Disables the button, disallowing user interaction.
17957
- * @default false
17958
- */
17959
- disabled?: boolean;
17960
- }
17961
- type ButtonProps = ButtonTyping & ButtonVariants;
17962
-
17963
- interface CheckboxTyping {
17964
- /**
17965
- * The label of the checkbox.
17966
- */
17967
- label?: string;
17968
- /**
17969
- * The id of the checkbox.
17970
- */
17971
- id: string;
17972
- /**
17973
- * Whether the checkbox is checked.
17974
- * @default false
17975
- */
17976
- checked?: boolean;
17977
- /**
17978
- * Whether the checkbox is readonly.
17979
- * @default false
17980
- */
17981
- readonly?: boolean;
17982
- }
17983
- type CheckboxProps = CheckboxTyping & CheckboxVariants;
17984
-
17985
- interface ChipTyping extends ChipSprinkle {
17986
- /**
17987
- * Displays a delete icon and adds user interaction.
17988
- * @default false
17989
- */
17990
- closeable?: boolean;
17991
- }
17992
- type ChipProps = ChipTyping & ChipVariants;
17993
-
17994
16975
  type InputProps = InputVariants;
17995
16976
 
17996
- interface DropdownTyping {
17997
- /**
17998
- * A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
17999
- * @default false
18000
- */
18001
- matchReferenceWidth?: boolean;
18002
- /**
18003
- * Adds listeners that dismiss (close) the floating element.
18004
- * @default true
18005
- */
18006
- enabledDismiss?: boolean;
18007
- /**
18008
- * Adds click event listeners that change the open state.
18009
- * @default true
18010
- */
18011
- enabledClick?: boolean;
18012
- /**
18013
- * Determines whether the dropdown should enable flipping the options' dropdown when there is not enough space to display it in its default direction.
18014
- * This can help ensure the dropdown is always visible on the screen.
18015
- * @default true
18016
- */
18017
- enabledFlip?: boolean;
18018
- /**
18019
- * Offest displaces the floating element from its core placement along the specified axes.
18020
- * @default 10
18021
- */
18022
- offset?: number;
18023
- /**
18024
- * Specifies the ID of the portal element where the dropdown should be rendered.
18025
- * This can be useful for rendering the dropdown in a different part of the DOM, such as a modal or overlay.
18026
- */
18027
- portalId?: string;
18028
- /**
18029
- * If true, the component is shown.
18030
- */
18031
- visible?: boolean;
18032
- /**
18033
- * Function to control dropdown opening and closing.
18034
- * @TJS-type (visible: boolean) => void;
18035
- */
18036
- onVisibility?: (visible: boolean) => void;
18037
- }
18038
- type DropdownProps = DropdownTyping & DropdownSprinkle & Pick<DropdownVariants, "padding">;
18039
-
18040
16977
  interface DropdownItemTyping {
18041
16978
  /**
18042
16979
  * The name of the dropdown item. This is typically the text that is displayed for the item.
@@ -18045,15 +16982,6 @@ interface DropdownItemTyping {
18045
16982
  }
18046
16983
  type DropdownItemProps = DropdownItemTyping & Pick<DropdownVariants, "selected">;
18047
16984
 
18048
- interface IconButtonTyping {
18049
- /**
18050
- * Disables the button, disallowing user interaction.
18051
- * @default false
18052
- */
18053
- disabled?: boolean;
18054
- }
18055
- type IconButtonProps = IconButtonTyping & IconButtonVariants;
18056
-
18057
16985
  interface RadioButtonTyping {
18058
16986
  /**
18059
16987
  * Sets radio state to activated or deactivated.
@@ -18090,18 +17018,6 @@ interface ToggleTyping {
18090
17018
  }
18091
17019
  type ToggleProps = ToggleTyping & ToggleVariants;
18092
17020
 
18093
- interface AccordionProps {
18094
- /**
18095
- * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
18096
- */
18097
- selectedDefault?: string;
18098
- /**
18099
- * Disables the accordion, disallowing user interaction.
18100
- * @default false
18101
- */
18102
- disabled?: boolean;
18103
- }
18104
-
18105
17021
  type AccordionBodyProps = Pick<AccordionVariants, "padding">;
18106
17022
 
18107
17023
  interface AccordionHeaderTyping {
@@ -18210,266 +17126,62 @@ interface SidebarTyping {
18210
17126
  }
18211
17127
  type SidebarProps = SidebarTyping & SidebarSprinkle & SidebarVariants;
18212
17128
 
18213
- interface BreadcrumbProps {
18214
- /**
18215
- * Specifies the number of breadcrumb items to display after truncation.
18216
- * This is useful for managing the display of long breadcrumb lists.
18217
- * @default 10
18218
- */
18219
- itemsAfterTruncate?: number;
18220
- }
18221
-
18222
- interface BreadcrumbItemTyping {
18223
- /**
18224
- * The name of the breadcrumb item. This is typically the text that is displayed for the item.
18225
- */
18226
- name?: string;
18227
- }
18228
- type BreadcrumbItemProps = BreadcrumbItemTyping & BreadcrumbVariants;
18229
-
18230
- type LinkProps = LinkVariants;
18231
-
18232
- interface PaginationTyping {
18233
- /**
18234
- * The currently selected page.
18235
- */
18236
- activePage: number;
18237
- /**
18238
- * The total number of pages.
18239
- */
18240
- pageCount: number;
18241
- /**
18242
- * Determines whether page numbers should be shown.
18243
- * @default true
18244
- */
18245
- showNumbers?: boolean;
18246
- /**
18247
- * Determines whether page arrows should be shown.
18248
- * @default true
18249
- */
18250
- showArrows?: boolean;
18251
- /**
18252
- * Called with event and page number when a page is clicked.
18253
- * @TJS-type (page: number) => void;
18254
- */
18255
- onPageChange: (page: number) => void;
18256
- }
18257
- type PaginationProps = PaginationTyping & PaginationVariants;
18258
-
18259
- interface SideNavigationTyping {
18260
- /**
18261
- * Title of the sideNavigation
18262
- */
18263
- name: string;
18264
- /**
18265
- * Description of the sideNavigation.
18266
- */
18267
- description?: string;
18268
- }
18269
- type SideNavigationProps = SideNavigationTyping & SideNavigationVariants;
18270
-
18271
- interface SideNavigationItemTypings {
18272
- /**
18273
- * Determines if the item is active or not.
18274
- */
18275
- active?: boolean;
18276
- }
18277
- type SideNavigationItemProps = SideNavigationItemTypings & Pick<SideNavigationVariants, "level">;
18278
-
18279
- type AriaInvalid = "false" | "true" | "grammar" | "spelling" | null;
18280
-
18281
- /**
18282
- * Utility types for Web Components property handling in Rarui Design System
18283
- *
18284
- * These types help convert React-style camelCase properties to web component
18285
- * kebab-case attributes while maintaining type safety.
18286
- */
18287
- /**
18288
- * Converts a camelCase string to kebab-case
18289
- *
18290
- * @example
18291
- * CamelToKebab<"maxWidth"> // "max-width"
18292
- * CamelToKebab<"portalId"> // "portal-id"
18293
- * CamelToKebab<"position"> // "position"
18294
- */
18295
- 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;
18296
- type CamelToKebabKeys<T> = {
18297
- [K in keyof T as CamelToKebab<string & K>]: T[K];
18298
- };
18299
- /**
18300
- * Common React properties that should be excluded from web component types
18301
- */
18302
- type CommonReactExclusions = "children" | "className" | "style" | "ref" | "key";
18303
- type WebComponentProperties<TReactProps, TExclude extends keyof TReactProps = never> = CamelToKebabKeys<Omit<Partial<TReactProps>, CommonReactExclusions | TExclude>>;
18304
-
18305
- declare global {
18306
- interface HTMLElementTagNameMap {
18307
- "rarui-avatar": RaruiAvatar;
18308
- }
18309
- }
18310
- /**
18311
- * ## Rarui Avatar
18312
- * ---
18313
- * The Avatar component is normally used to display circular photos of the user's profile.
18314
- *
18315
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.
18316
- */
18317
- type AvatarManifestProperties = Pick<AvatarProps, "size">;
18318
- type AvatarProperties = WebComponentProperties<AvatarManifestProperties>;
18319
-
18320
- declare const RaruiAvatar_base: (new (...args: any[]) => {
18321
- ariaLabel: string | null;
18322
- ariaLabelledBy: string | null;
18323
- ariaDescribedBy: string | null;
18324
- }) & typeof LitElement;
18325
- declare class RaruiAvatar extends RaruiAvatar_base {
18326
- size?: AvatarProperties["size"];
18327
- static styles: CSSResult;
18328
- render(): TemplateResult<1>;
18329
- private handleSlotChange;
18330
- private handleImageError;
18331
- private handleImageLoad;
18332
- }
18333
-
18334
- declare global {
18335
- interface HTMLElementTagNameMap {
18336
- "rarui-badge": RaruiBagde;
18337
- }
18338
- }
18339
- /**
18340
- * ## Rarui Badge
18341
- * ---
18342
- * The Badge components are only used to transmit dynamic information, such as a connection or status.
18343
- *
18344
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
18345
- */
18346
- type BadgeManifestProperties = BadgeProps;
18347
- type BadgeProperties = WebComponentProperties<BadgeManifestProperties>;
18348
-
18349
- declare const RaruiBagde_base: (new (...args: any[]) => {
18350
- ariaLabel: string | null;
18351
- ariaLabelledBy: string | null;
18352
- ariaDescribedBy: string | null;
18353
- }) & typeof LitElement;
18354
- declare class RaruiBagde extends RaruiBagde_base {
18355
- variant?: BadgeProperties["variant"];
18356
- size?: BadgeProperties["size"];
18357
- appearance?: BadgeProperties["appearance"];
18358
- static styles: CSSResult;
18359
- render(): TemplateResult<1>;
18360
- }
18361
-
18362
- declare global {
18363
- interface HTMLElementTagNameMap {
18364
- "rarui-divider": RaruiDivider;
18365
- }
18366
- }
18367
- /**
18368
- * ## Rarui Divider
18369
- * ---
18370
- * A Divider is a thin line used to separate or group content in lists and layouts.
18371
- *
18372
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.
18373
- */
18374
- type DividerManifestProperties = DividerProps;
18375
- type DividerProperties = WebComponentProperties<DividerManifestProperties>;
18376
-
18377
- declare const RaruiDivider_base: (new (...args: any[]) => {
18378
- cssProps: Record<string, any>;
18379
- sprinkleAttrs: Record<string, any>;
18380
- }) & typeof LitElement;
18381
- declare class RaruiDivider extends RaruiDivider_base {
18382
- sprinkleAttrs: Record<string, string>;
18383
- direction?: DividerProperties["direction"];
18384
- type?: DividerProperties["type"];
18385
- thickness?: DividerProperties["thickness"];
18386
- color?: DividerProperties["color"];
18387
- size?: DividerProperties["size"];
18388
- private get _isPercentageSize();
18389
- static styles: CSSResult;
18390
- updated(changedProperties: PropertyValues): void;
18391
- connectedCallback(): void;
18392
- private _updateHostWidth;
18393
- render(): TemplateResult<1>;
17129
+ interface BreadcrumbItemTyping {
17130
+ /**
17131
+ * The name of the breadcrumb item. This is typically the text that is displayed for the item.
17132
+ */
17133
+ name?: string;
18394
17134
  }
17135
+ type BreadcrumbItemProps = BreadcrumbItemTyping & BreadcrumbVariants;
18395
17136
 
18396
- 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";
17137
+ type LinkProps = LinkVariants;
18397
17138
 
18398
- declare global {
18399
- interface HTMLElementTagNameMap {
18400
- "rarui-icon": RaruiIcon;
18401
- }
18402
- }
18403
- /**
18404
- * ## Rarui Icon
18405
- * ---
18406
- * Iconography used in the system based on Google's Material Design.
18407
- *
18408
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/icon) for more details.
18409
- */
18410
- type Sizes = "small" | "medium" | "large";
18411
- type IconManifestProperties = IconProps & {
17139
+ interface PaginationTyping {
18412
17140
  /**
18413
- * Name of the icon to be rendered (must be in the @rarui/icons package).
17141
+ * The currently selected page.
18414
17142
  */
18415
- name: IconName;
17143
+ activePage: number;
18416
17144
  /**
18417
- * Icon size, can be 'small' |'medium' |'large' or a number.
18418
- * @default medium
17145
+ * The total number of pages.
18419
17146
  */
18420
- size?: Sizes | number;
18421
- };
18422
- type IconProperties = WebComponentProperties<IconManifestProperties>;
18423
-
18424
- declare const RaruiIcon_base: (new (...args: any[]) => {
18425
- ariaLabel: string | null;
18426
- ariaLabelledBy: string | null;
18427
- ariaDescribedBy: string | null;
18428
- }) & (new (...args: any[]) => {
18429
- cssProps: Record<string, any>;
18430
- sprinkleAttrs: Record<string, any>;
18431
- }) & typeof LitElement;
18432
- declare class RaruiIcon extends RaruiIcon_base {
18433
- sprinkleAttrs: Record<string, string>;
18434
- name: IconProperties["name"];
18435
- size: Sizes | string;
18436
- static styles: CSSResult;
18437
- private getSvgWithSize;
18438
- render(): TemplateResult<1> | null;
17147
+ pageCount: number;
17148
+ /**
17149
+ * Determines whether page numbers should be shown.
17150
+ * @default true
17151
+ */
17152
+ showNumbers?: boolean;
17153
+ /**
17154
+ * Determines whether page arrows should be shown.
17155
+ * @default true
17156
+ */
17157
+ showArrows?: boolean;
17158
+ /**
17159
+ * Called with event and page number when a page is clicked.
17160
+ * @TJS-type (page: number) => void;
17161
+ */
17162
+ onPageChange: (page: number) => void;
18439
17163
  }
17164
+ type PaginationProps = PaginationTyping & PaginationVariants;
18440
17165
 
18441
- declare global {
18442
- interface HTMLElementTagNameMap {
18443
- "rarui-label": RaruiLabel;
18444
- }
18445
- }
18446
- /**
18447
- * ## Rarui Label
18448
- * ---
18449
- * The label component allows us to name elements within a form.
18450
- *
18451
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
18452
- */
18453
- type LabelManifestProperties = {
17166
+ interface SideNavigationTyping {
18454
17167
  /**
18455
- * The for attribute specifies which form element a label is bound to.
17168
+ * Title of the sideNavigation
18456
17169
  */
18457
- for?: string;
17170
+ name: string;
18458
17171
  /**
18459
- * Specifies whether the label is hidden or not
18460
- * @default false
17172
+ * Description of the sideNavigation.
18461
17173
  */
18462
- hidden?: boolean;
18463
- };
18464
- type LabelProperties = WebComponentProperties<LabelManifestProperties>;
17174
+ description?: string;
17175
+ }
17176
+ type SideNavigationProps = SideNavigationTyping & SideNavigationVariants;
18465
17177
 
18466
- declare class RaruiLabel extends LitElement {
18467
- for: LabelProperties["for"];
18468
- hidden: boolean;
18469
- static styles: CSSResult;
18470
- render(): TemplateResult<1>;
18471
- private _handleClick;
17178
+ interface SideNavigationItemTypings {
17179
+ /**
17180
+ * Determines if the item is active or not.
17181
+ */
17182
+ active?: boolean;
18472
17183
  }
17184
+ type SideNavigationItemProps = SideNavigationItemTypings & Pick<SideNavigationVariants, "level">;
18473
17185
 
18474
17186
  declare global {
18475
17187
  interface HTMLElementTagNameMap {
@@ -18486,10 +17198,16 @@ declare global {
18486
17198
  type StepperStepManifestProperties = StepperStepProps;
18487
17199
  type StepperStepProperties = WebComponentProperties<StepperStepManifestProperties>;
18488
17200
 
18489
- declare class RaruiStepperStep extends LitElement {
17201
+ declare const RaruiStepperStep_base: (new (...args: any[]) => {
17202
+ ariaLabel: string | null;
17203
+ ariaLabelledBy: string | null;
17204
+ ariaDescribedBy: string | null;
17205
+ }) & typeof LitElement;
17206
+ declare class RaruiStepperStep extends RaruiStepperStep_base {
18490
17207
  description?: StepperStepProperties["description"];
18491
17208
  active?: StepperStepProperties["active"];
18492
17209
  done?: StepperStepProperties["done"];
17210
+ title: string;
18493
17211
  private direction;
18494
17212
  static styles: CSSResult;
18495
17213
  connectedCallback(): void;
@@ -18512,11 +17230,13 @@ declare global {
18512
17230
  type StepperManifestProperties = StepperProps;
18513
17231
  type StepperProperties = WebComponentProperties<StepperManifestProperties>;
18514
17232
 
18515
- declare class RaruiStepper extends LitElement {
18516
- direction: StepperProperties["direction"];
17233
+ declare const RaruiStepper_base: (new (...args: any[]) => {
18517
17234
  ariaLabel: string | null;
18518
17235
  ariaLabelledBy: string | null;
18519
17236
  ariaDescribedBy: string | null;
17237
+ }) & typeof LitElement;
17238
+ declare class RaruiStepper extends RaruiStepper_base {
17239
+ direction: StepperProperties["direction"];
18520
17240
  private assignedSteps;
18521
17241
  private steps;
18522
17242
  static styles: CSSResult;
@@ -18648,7 +17368,12 @@ type TooltipManifestProperties = Omit<TooltipProps, "visible" | "onVisibility" |
18648
17368
  };
18649
17369
  type TooltipProperties = WebComponentProperties<TooltipManifestProperties>;
18650
17370
 
18651
- declare class RaruiTooltip extends LitElement {
17371
+ declare const RaruiTooltip_base: (new (...args: any[]) => {
17372
+ ariaLabel: string | null;
17373
+ ariaLabelledBy: string | null;
17374
+ ariaDescribedBy: string | null;
17375
+ }) & typeof LitElement;
17376
+ declare class RaruiTooltip extends RaruiTooltip_base {
18652
17377
  static shadowRootOptions: {
18653
17378
  delegatesFocus: boolean;
18654
17379
  mode: ShadowRootMode;
@@ -18666,9 +17391,6 @@ declare class RaruiTooltip extends LitElement {
18666
17391
  position: TooltipProperties["position"];
18667
17392
  strategy: TooltipProperties["strategy"];
18668
17393
  open: boolean;
18669
- ariaLabel: string | null;
18670
- ariaLabelledBy: string | null;
18671
- ariaDescribedBy: string | null;
18672
17394
  reference: HTMLElement;
18673
17395
  floating: HTMLElement;
18674
17396
  arrowEl: HTMLElement;
@@ -18724,15 +17446,17 @@ declare global {
18724
17446
  *
18725
17447
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
18726
17448
  */
18727
- type ProgressManifestProperties = ProgressProps;
17449
+ type ProgressManifestProperties = ProgressProps$1;
18728
17450
  type ProgressProperties = WebComponentProperties<ProgressManifestProperties>;
18729
17451
 
18730
- declare class RaruiProgress extends LitElement {
18731
- percentage?: ProgressProperties["percentage"];
18732
- color?: ProgressProperties["color"];
17452
+ declare const RaruiProgress_base: (new (...args: any[]) => {
18733
17453
  ariaLabel: string | null;
18734
17454
  ariaLabelledBy: string | null;
18735
17455
  ariaDescribedBy: string | null;
17456
+ }) & typeof LitElement;
17457
+ declare class RaruiProgress extends RaruiProgress_base {
17458
+ percentage?: ProgressProperties["percentage"];
17459
+ color?: ProgressProperties["color"];
18736
17460
  static styles: CSSResult;
18737
17461
  render(): TemplateResult<1>;
18738
17462
  }
@@ -18753,15 +17477,17 @@ declare global {
18753
17477
  type StatusManifestProperties = StatusProps;
18754
17478
  type StatusProperties = WebComponentProperties<StatusManifestProperties>;
18755
17479
 
18756
- declare class RaruiStatus extends LitElement {
17480
+ declare const RaruiStatus_base: (new (...args: any[]) => {
17481
+ ariaLabel: string | null;
17482
+ ariaLabelledBy: string | null;
17483
+ ariaDescribedBy: string | null;
17484
+ }) & typeof LitElement;
17485
+ declare class RaruiStatus extends RaruiStatus_base {
18757
17486
  appearance?: StatusProperties["appearance"];
18758
17487
  size?: StatusProperties["size"];
18759
17488
  variant?: StatusProperties["variant"];
18760
17489
  full?: StatusProperties["full"];
18761
17490
  dot: StatusProperties["dot"];
18762
- ariaLabel: string | null;
18763
- ariaLabelledBy: string | null;
18764
- ariaDescribedBy: string | null;
18765
17491
  static styles: CSSResult;
18766
17492
  render(): TemplateResult<1>;
18767
17493
  }
@@ -18801,6 +17527,11 @@ type ButtonManifestProperties = ButtonProps & {
18801
17527
  type ButtonProperties = WebComponentProperties<ButtonManifestProperties>;
18802
17528
 
18803
17529
  declare const RaruiButton_base: (new (...args: any[]) => {
17530
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
17531
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
17532
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
17533
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
17534
+ }) & (new (...args: any[]) => {
18804
17535
  ariaLabel: string | null;
18805
17536
  ariaLabelledBy: string | null;
18806
17537
  ariaDescribedBy: string | null;
@@ -19134,10 +17865,18 @@ type DropdownItemManifestProperties = DropdownItemProps & {
19134
17865
  */
19135
17866
  value?: string;
19136
17867
  /**
19137
- * Defines the native button type.
19138
- * @default button
17868
+ * Defines the HTML element type to render (button or anchor).
17869
+ * @default "button"
19139
17870
  */
19140
- type?: "button" | "submit" | "reset";
17871
+ as?: "button" | "a";
17872
+ /**
17873
+ * The href URL when as="a".
17874
+ */
17875
+ href?: string;
17876
+ /**
17877
+ * The target attribute when as="a".
17878
+ */
17879
+ target?: "_blank" | "_self" | "_parent" | "_top";
19141
17880
  /**
19142
17881
  * ARIA role for the dropdown item.
19143
17882
  * @default menuitem
@@ -19146,7 +17885,17 @@ type DropdownItemManifestProperties = DropdownItemProps & {
19146
17885
  };
19147
17886
  type DropdownItemProperties = WebComponentProperties<DropdownItemManifestProperties>;
19148
17887
 
19149
- declare class RaruiDropdownItem extends LitElement {
17888
+ declare const RaruiDropdownItem_base: (new (...args: any[]) => {
17889
+ ariaLabel: string | null;
17890
+ ariaLabelledBy: string | null;
17891
+ ariaDescribedBy: string | null;
17892
+ }) & (new (...args: any[]) => {
17893
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
17894
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
17895
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
17896
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
17897
+ }) & typeof LitElement;
17898
+ declare class RaruiDropdownItem extends RaruiDropdownItem_base {
19150
17899
  static shadowRootOptions: {
19151
17900
  delegatesFocus: boolean;
19152
17901
  mode: ShadowRootMode;
@@ -19157,14 +17906,14 @@ declare class RaruiDropdownItem extends LitElement {
19157
17906
  selected: DropdownItemProperties["selected"];
19158
17907
  disabled: DropdownItemProperties["disabled"];
19159
17908
  value: DropdownItemProperties["value"];
19160
- type: DropdownItemProperties["type"];
19161
- ariaLabel: string | null;
19162
- ariaLabelledBy: string | null;
19163
- ariaDescribedBy: string | null;
17909
+ as: DropdownItemProperties["as"];
17910
+ href: DropdownItemProperties["href"];
17911
+ target: DropdownItemProperties["target"];
19164
17912
  attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
19165
17913
  static styles: CSSResult;
19166
17914
  private handleClick;
19167
17915
  private handleKeydown;
17916
+ private renderContent;
19168
17917
  render(): TemplateResult<1>;
19169
17918
  }
19170
17919
 
@@ -19201,7 +17950,12 @@ type IconButtonManifestProperties = IconButtonProps & {
19201
17950
  };
19202
17951
  type IconButtonProperties = WebComponentProperties<IconButtonManifestProperties>;
19203
17952
 
19204
- declare class RaruiIconButton extends LitElement {
17953
+ declare const RaruiIconButton_base: (new (...args: any[]) => {
17954
+ ariaLabel: string | null;
17955
+ ariaLabelledBy: string | null;
17956
+ ariaDescribedBy: string | null;
17957
+ }) & typeof LitElement;
17958
+ declare class RaruiIconButton extends RaruiIconButton_base {
19205
17959
  static shadowRootOptions: {
19206
17960
  delegatesFocus: boolean;
19207
17961
  mode: ShadowRootMode;
@@ -19217,9 +17971,6 @@ declare class RaruiIconButton extends LitElement {
19217
17971
  name: IconButtonProperties["name"];
19218
17972
  value: IconButtonProperties["value"];
19219
17973
  form: IconButtonProperties["form"];
19220
- ariaLabel: string | null;
19221
- ariaLabelledBy: string | null;
19222
- ariaDescribedBy: string | null;
19223
17974
  ariaPressed: "true" | "false" | "mixed" | null;
19224
17975
  ariaExpanded: "true" | "false" | null;
19225
17976
  static styles: CSSResult;
@@ -19295,7 +18046,12 @@ type InputManifestProperties = InputProps & {
19295
18046
  };
19296
18047
  type InputProperties = WebComponentProperties<InputManifestProperties>;
19297
18048
 
19298
- declare class RaruiInput extends LitElement {
18049
+ declare const RaruiInput_base: (new (...args: any[]) => {
18050
+ ariaLabel: string | null;
18051
+ ariaLabelledBy: string | null;
18052
+ ariaDescribedBy: string | null;
18053
+ }) & typeof LitElement;
18054
+ declare class RaruiInput extends RaruiInput_base {
19299
18055
  static shadowRootOptions: {
19300
18056
  delegatesFocus: boolean;
19301
18057
  mode: ShadowRootMode;
@@ -19319,9 +18075,6 @@ declare class RaruiInput extends LitElement {
19319
18075
  minlength: InputProperties["minlength"];
19320
18076
  maxlength: InputProperties["maxlength"];
19321
18077
  pattern: InputProperties["pattern"];
19322
- ariaLabel: string | null;
19323
- ariaLabelledBy: string | null;
19324
- ariaDescribedBy: string | null;
19325
18078
  ariaInvalid: AriaInvalid;
19326
18079
  private _internals;
19327
18080
  static formAssociated: boolean;
@@ -19382,7 +18135,12 @@ type RadioButtonManifestProperties = RadioButtonProps & {
19382
18135
  };
19383
18136
  type RadioButtonProperties = WebComponentProperties<RadioButtonManifestProperties>;
19384
18137
 
19385
- declare class RaruiRadioButton extends LitElement {
18138
+ declare const RaruiRadioButton_base: (new (...args: any[]) => {
18139
+ ariaLabel: string | null;
18140
+ ariaLabelledBy: string | null;
18141
+ ariaDescribedBy: string | null;
18142
+ }) & typeof LitElement;
18143
+ declare class RaruiRadioButton extends RaruiRadioButton_base {
19386
18144
  id: string;
19387
18145
  disabled: boolean;
19388
18146
  name?: string;
@@ -19394,9 +18152,6 @@ declare class RaruiRadioButton extends LitElement {
19394
18152
  form: RadioButtonProperties["form"];
19395
18153
  required: RadioButtonProperties["required"];
19396
18154
  readonly: RadioButtonProperties["readonly"];
19397
- ariaLabel: string | null;
19398
- ariaLabelledBy: string | null;
19399
- ariaDescribedBy: string | null;
19400
18155
  private _internals;
19401
18156
  static formAssociated: boolean;
19402
18157
  constructor();
@@ -19481,7 +18236,12 @@ type TextareaManifestProperties = TextareaProps & {
19481
18236
  };
19482
18237
  type TextareaProperties = WebComponentProperties<TextareaManifestProperties>;
19483
18238
 
19484
- declare class RaruiTextarea extends LitElement {
18239
+ declare const RaruiTextarea_base: (new (...args: any[]) => {
18240
+ ariaLabel: string | null;
18241
+ ariaLabelledBy: string | null;
18242
+ ariaDescribedBy: string | null;
18243
+ }) & typeof LitElement;
18244
+ declare class RaruiTextarea extends RaruiTextarea_base {
19485
18245
  static shadowRootOptions: {
19486
18246
  delegatesFocus: boolean;
19487
18247
  mode: ShadowRootMode;
@@ -19504,9 +18264,6 @@ declare class RaruiTextarea extends LitElement {
19504
18264
  placeholder: TextareaProperties["placeholder"];
19505
18265
  minlength: TextareaProperties["minlength"];
19506
18266
  maxlength: TextareaProperties["maxlength"];
19507
- ariaLabel: string | null;
19508
- ariaLabelledBy: string | null;
19509
- ariaDescribedBy: string | null;
19510
18267
  ariaInvalid: AriaInvalid;
19511
18268
  static styles: CSSResult;
19512
18269
  render(): TemplateResult<1>;
@@ -19559,7 +18316,12 @@ type ToggleManifestProperties = ToggleProps & {
19559
18316
  };
19560
18317
  type ToggleProperties = WebComponentProperties<ToggleManifestProperties>;
19561
18318
 
19562
- declare class RaruiToggle extends LitElement {
18319
+ declare const RaruiToggle_base: (new (...args: any[]) => {
18320
+ ariaLabel: string | null;
18321
+ ariaLabelledBy: string | null;
18322
+ ariaDescribedBy: string | null;
18323
+ }) & typeof LitElement;
18324
+ declare class RaruiToggle extends RaruiToggle_base {
19563
18325
  static shadowRootOptions: {
19564
18326
  delegatesFocus: boolean;
19565
18327
  mode: ShadowRootMode;
@@ -19575,9 +18337,6 @@ declare class RaruiToggle extends LitElement {
19575
18337
  value: ToggleProperties["value"];
19576
18338
  form: ToggleProperties["form"];
19577
18339
  required: ToggleProperties["required"];
19578
- ariaLabel: string | null;
19579
- ariaLabelledBy: string | null;
19580
- ariaDescribedBy: string | null;
19581
18340
  ariaInvalid: AriaInvalid;
19582
18341
  private _internals;
19583
18342
  static formAssociated: boolean;
@@ -19661,10 +18420,12 @@ declare global {
19661
18420
  type BreadcrumbManifestProperties = BreadcrumbProps;
19662
18421
  type BreadcrumbProperties = WebComponentProperties<BreadcrumbManifestProperties>;
19663
18422
 
19664
- declare class RaruiBreadcrumb extends LitElement {
18423
+ declare const RaruiBreadcrumb_base: (new (...args: any[]) => {
19665
18424
  ariaLabel: string | null;
19666
18425
  ariaLabelledBy: string | null;
19667
18426
  ariaDescribedBy: string | null;
18427
+ }) & typeof LitElement;
18428
+ declare class RaruiBreadcrumb extends RaruiBreadcrumb_base {
19668
18429
  itemsAfterTruncate: BreadcrumbProperties["items-after-truncate"];
19669
18430
  private items;
19670
18431
  private visibleItems;
@@ -19712,16 +18473,23 @@ type BreadcrumbItemManifestProperties = BreadcrumbItemProps & {
19712
18473
  };
19713
18474
  type BreadcrumbItemProperties = WebComponentProperties<BreadcrumbItemManifestProperties>;
19714
18475
 
19715
- declare class RaruiBreadcrumbItem extends LitElement {
18476
+ declare const RaruiBreadcrumbItem_base: (new (...args: any[]) => {
18477
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
18478
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
18479
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
18480
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
18481
+ }) & (new (...args: any[]) => {
18482
+ ariaLabel: string | null;
18483
+ ariaLabelledBy: string | null;
18484
+ ariaDescribedBy: string | null;
18485
+ }) & typeof LitElement;
18486
+ declare class RaruiBreadcrumbItem extends RaruiBreadcrumbItem_base {
19716
18487
  static shadowRootOptions: {
19717
18488
  delegatesFocus: boolean;
19718
18489
  mode: ShadowRootMode;
19719
18490
  serializable?: boolean;
19720
18491
  slotAssignment?: SlotAssignmentMode;
19721
18492
  };
19722
- ariaLabel: string | null;
19723
- ariaLabelledBy: string | null;
19724
- ariaDescribedBy: string | null;
19725
18493
  name?: BreadcrumbItemProperties["name"];
19726
18494
  href?: BreadcrumbItemProperties["href"];
19727
18495
  active?: BreadcrumbItemProperties["active"];
@@ -19800,7 +18568,17 @@ type LinkManifestProperties = LinkProps & {
19800
18568
  };
19801
18569
  type LinkProperties = WebComponentProperties<LinkManifestProperties>;
19802
18570
 
19803
- declare class RaruiLink extends LitElement {
18571
+ declare const RaruiLink_base: (new (...args: any[]) => {
18572
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
18573
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
18574
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
18575
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
18576
+ }) & (new (...args: any[]) => {
18577
+ ariaLabel: string | null;
18578
+ ariaLabelledBy: string | null;
18579
+ ariaDescribedBy: string | null;
18580
+ }) & typeof LitElement;
18581
+ declare class RaruiLink extends RaruiLink_base {
19804
18582
  static shadowRootOptions: {
19805
18583
  delegatesFocus: boolean;
19806
18584
  mode: ShadowRootMode;
@@ -19818,11 +18596,6 @@ declare class RaruiLink extends LitElement {
19818
18596
  name?: LinkProperties["name"];
19819
18597
  value?: LinkProperties["value"];
19820
18598
  form?: LinkProperties["form"];
19821
- ariaLabel: string | null;
19822
- ariaLabelledBy: string | null;
19823
- ariaDescribedBy: string | null;
19824
- private _getPassThroughAttributes;
19825
- private _isManagedAttribute;
19826
18599
  static styles: CSSResult;
19827
18600
  private _onClick;
19828
18601
  render(): TemplateResult<1>;
@@ -19843,7 +18616,12 @@ declare global {
19843
18616
  type PaginationManifestProperties = PaginationProps;
19844
18617
  type PaginationProperties = WebComponentProperties<PaginationManifestProperties, "onPageChange">;
19845
18618
 
19846
- declare class RaruiPagination extends LitElement {
18619
+ declare const RaruiPagination_base: (new (...args: any[]) => {
18620
+ ariaLabel: string | null;
18621
+ ariaLabelledBy: string | null;
18622
+ ariaDescribedBy: string | null;
18623
+ }) & typeof LitElement;
18624
+ declare class RaruiPagination extends RaruiPagination_base {
19847
18625
  activePage: PaginationProperties["active-page"];
19848
18626
  pageCount: PaginationProperties["page-count"];
19849
18627
  size?: PaginationProperties["size"];
@@ -19887,15 +18665,40 @@ type SideNavigationManifestProperties = SideNavigationProps & {
19887
18665
  * @default "button"
19888
18666
  */
19889
18667
  as?: "button" | "a";
18668
+ /**
18669
+ * The href URL when as="a".
18670
+ */
18671
+ href?: string;
18672
+ /**
18673
+ * The target attribute when as="a".
18674
+ */
18675
+ target?: "_blank" | "_self" | "_parent" | "_top";
18676
+ /**
18677
+ * The rel attribute when as="a".
18678
+ */
18679
+ rel?: string;
19890
18680
  };
19891
18681
  type SideNavigationProperties = WebComponentProperties<SideNavigationManifestProperties>;
19892
18682
 
19893
- declare class RaruiSideNavigation extends LitElement {
18683
+ declare const RaruiSideNavigation_base: (new (...args: any[]) => {
18684
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
18685
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
18686
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
18687
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
18688
+ }) & (new (...args: any[]) => {
18689
+ ariaLabel: string | null;
18690
+ ariaLabelledBy: string | null;
18691
+ ariaDescribedBy: string | null;
18692
+ }) & typeof LitElement;
18693
+ declare class RaruiSideNavigation extends RaruiSideNavigation_base {
19894
18694
  name: SideNavigationProperties["name"];
19895
18695
  description: SideNavigationProperties["description"];
19896
18696
  active: SideNavigationProperties["active"];
19897
18697
  disabled: SideNavigationProperties["disabled"];
19898
18698
  as: SideNavigationProperties["as"];
18699
+ href: SideNavigationProperties["href"];
18700
+ target: SideNavigationProperties["target"];
18701
+ rel: SideNavigationProperties["rel"];
19899
18702
  private _open;
19900
18703
  private _buttonRef;
19901
18704
  static styles: CSSResult;
@@ -19926,22 +18729,44 @@ type SideNavigationItemManifestProperties = SideNavigationItemProps & {
19926
18729
  * @default "button"
19927
18730
  */
19928
18731
  as?: "button" | "a";
18732
+ /**
18733
+ * The href URL when as="a".
18734
+ */
18735
+ href?: string;
18736
+ /**
18737
+ * The target attribute when as="a".
18738
+ */
18739
+ target?: "_blank" | "_self" | "_parent" | "_top";
18740
+ /**
18741
+ * The rel attribute when as="a".
18742
+ */
18743
+ rel?: string;
19929
18744
  };
19930
18745
  type SideNavigationItemProperties = WebComponentProperties<SideNavigationItemManifestProperties>;
19931
18746
 
19932
- declare class RaruiSideNavigationItem extends LitElement {
18747
+ declare const RaruiSideNavigationItem_base: (new (...args: any[]) => {
18748
+ getPassThroughAttributes(allowedPrefixes?: string[], excludedAttributes?: string[]): Record<string, string>;
18749
+ isManagedAttribute(attrName: string, additionalManagedAttrs?: string[]): boolean;
18750
+ getDataAttributes(excludedAttributes?: string[]): Record<string, string>;
18751
+ getDataAndAriaAttributes(excludedAttributes?: string[]): Record<string, string>;
18752
+ }) & (new (...args: any[]) => {
18753
+ ariaLabel: string | null;
18754
+ ariaLabelledBy: string | null;
18755
+ ariaDescribedBy: string | null;
18756
+ }) & typeof LitElement;
18757
+ declare class RaruiSideNavigationItem extends RaruiSideNavigationItem_base {
19933
18758
  static shadowRootOptions: {
19934
18759
  delegatesFocus: boolean;
19935
18760
  mode: ShadowRootMode;
19936
18761
  serializable?: boolean;
19937
18762
  slotAssignment?: SlotAssignmentMode;
19938
18763
  };
19939
- ariaLabel: string | null;
19940
- ariaLabelledBy: string | null;
19941
- ariaDescribedBy: string | null;
19942
18764
  active: SideNavigationItemProperties["active"];
19943
18765
  level: SideNavigationItemProperties["level"];
19944
18766
  as: SideNavigationItemProperties["as"];
18767
+ href: SideNavigationItemProperties["href"];
18768
+ target: SideNavigationItemProperties["target"];
18769
+ rel: SideNavigationItemProperties["rel"];
19945
18770
  private _itemRef;
19946
18771
  static styles: CSSResult;
19947
18772
  private _handleClick;
@@ -19985,6 +18810,10 @@ type AccordionProperties = WebComponentProperties<AccordionManifestProperties>;
19985
18810
  declare const RaruiAccordion_base: (new (...args: any[]) => {
19986
18811
  cssProps: Record<string, any>;
19987
18812
  sprinkleAttrs: Record<string, any>;
18813
+ }) & (new (...args: any[]) => {
18814
+ ariaLabel: string | null;
18815
+ ariaLabelledBy: string | null;
18816
+ ariaDescribedBy: string | null;
19988
18817
  }) & typeof LitElement;
19989
18818
  declare class RaruiAccordion extends RaruiAccordion_base {
19990
18819
  sprinkleAttrs: Record<string, string>;
@@ -20041,7 +18870,12 @@ declare global {
20041
18870
  type AccordionHeaderManifestProperties = AccordionHeaderProps;
20042
18871
  type AccordionHeaderProperties = WebComponentProperties<AccordionHeaderManifestProperties>;
20043
18872
 
20044
- declare class RaruiAccordionHeader extends LitElement {
18873
+ declare const RaruiAccordionHeader_base: (new (...args: any[]) => {
18874
+ ariaLabel: string | null;
18875
+ ariaLabelledBy: string | null;
18876
+ ariaDescribedBy: string | null;
18877
+ }) & typeof LitElement;
18878
+ declare class RaruiAccordionHeader extends RaruiAccordionHeader_base {
20045
18879
  static shadowRootOptions: {
20046
18880
  delegatesFocus: boolean;
20047
18881
  mode: ShadowRootMode;
@@ -20054,9 +18888,6 @@ declare class RaruiAccordionHeader extends LitElement {
20054
18888
  noIconToggle: AccordionHeaderProperties["no-icon-toggle"];
20055
18889
  disabled: boolean;
20056
18890
  selected: boolean;
20057
- ariaLabel: string | null;
20058
- ariaLabelledBy: string | null;
20059
- ariaDescribedBy: string | null;
20060
18891
  static styles: CSSResult;
20061
18892
  private handleClick;
20062
18893
  private getTitleSize;
@@ -20109,13 +18940,15 @@ type BannerManifestProperties = BannerProps & {
20109
18940
  };
20110
18941
  type BannerProperties = WebComponentProperties<BannerManifestProperties, "onClose">;
20111
18942
 
20112
- declare class RaruiBanner extends LitElement {
20113
- appearance?: BannerProperties["appearance"];
20114
- floating: BannerProperties["floating"];
20115
- closable: BannerProperties["closable"];
18943
+ declare const RaruiBanner_base: (new (...args: any[]) => {
20116
18944
  ariaLabel: string | null;
20117
18945
  ariaLabelledBy: string | null;
20118
18946
  ariaDescribedBy: string | null;
18947
+ }) & typeof LitElement;
18948
+ declare class RaruiBanner extends RaruiBanner_base {
18949
+ appearance?: BannerProperties["appearance"];
18950
+ floating: BannerProperties["floating"];
18951
+ closable: BannerProperties["closable"];
20119
18952
  static styles: CSSResult;
20120
18953
  private handleClose;
20121
18954
  render(): TemplateResult<1>;