@rarui/components 1.28.0 → 1.28.1

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,5 +1,5 @@
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
1
  import { IconName } from '@rarui/icons/dist/html/types';
2
+ import { BreadcrumbProps, AccordionProps } from '@rarui/typings';
3
3
 
4
4
  /**
5
5
  * @license
@@ -1044,208 +1044,6 @@ declare class LitElement extends ReactiveElement {
1044
1044
  protected render(): unknown;
1045
1045
  }
1046
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
-
1249
1047
  interface StandardLonghandProperties$1<TLength = (string & {}) | 0, TTime = string & {}> {
1250
1048
  /**
1251
1049
  * The **`accent-color`** CSS property sets the accent color for user-interface controls generated by some elements.
@@ -15458,60 +15256,351 @@ interface StandardLonghandProperties {
15458
15256
  */
15459
15257
  zoom?: Property.Zoom | Conditions<Property.Zoom>;
15460
15258
  }
15461
- type OnlyObject = Record<never, never>;
15462
- type OnlyNumber = number & OnlyObject;
15463
- type OnlyString = string & OnlyObject;
15464
- type OnlyStringNumeric = (number | string) & OnlyObject;
15465
- declare namespace Property {
15466
- type AlignContent = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
15467
- type AlignItems = DataType.SelfPosition | "baseline" | "normal" | "stretch" | OnlyString;
15468
- type AlignSelf = DataType.SelfPosition | "auto" | "baseline" | "normal" | "stretch" | OnlyString;
15469
- type AlignTracks = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
15470
- type All = never;
15471
- type Animation = DataType.SingleAnimation | OnlyString;
15472
- type AnimationDelay = never | OnlyString;
15473
- type AnimationDirection = DataType.SingleAnimationDirection | OnlyString;
15474
- type AnimationDuration = never | OnlyString;
15475
- type AnimationFillMode = DataType.SingleAnimationFillMode | OnlyString;
15476
- type AnimationIterationCount = "infinite" | OnlyStringNumeric;
15477
- type AnimationName = "none" | OnlyString;
15478
- type AnimationPlayState = "paused" | "running" | OnlyString;
15479
- type AnimationTimingFunction = DataType.EasingFunction | OnlyString;
15480
- type Appearance = DataType.CompatAuto | "auto" | "menulist-button" | "none" | "textfield";
15481
- type AspectRatio = "auto" | OnlyString;
15482
- type Azimuth = "behind" | "center" | "center-left" | "center-right" | "far-left" | "far-right" | "left" | "left-side" | "leftwards" | "right" | "right-side" | "rightwards" | OnlyString;
15483
- type BackdropFilter = "none" | OnlyString;
15484
- type BackfaceVisibility = "hidden" | "visible";
15485
- type Background = DataType.FinalBgLayer | OnlyString;
15486
- type BackgroundAttachment = DataType.Attachment | OnlyString;
15487
- type BackgroundBlendMode = DataType.BlendMode | OnlyString;
15488
- type BackgroundClip = DataType.Box | OnlyString;
15489
- type BackgroundColor = DataType.Color;
15490
- type BackgroundImage = string;
15491
- type BackgroundOrigin = DataType.Box | OnlyString;
15492
- type BackgroundPosition = DataType.BgPosition | OnlyString;
15493
- type BackgroundPositionX = "center" | "left" | "right" | "x-end" | "x-start" | OnlyStringNumeric;
15494
- type BackgroundPositionY = "bottom" | "center" | "top" | "y-end" | "y-start" | OnlyStringNumeric;
15495
- type BackgroundRepeat = DataType.RepeatStyle | OnlyString;
15496
- type BackgroundSize = DataType.BgSize | OnlyString;
15497
- type BlockOverflow = "clip" | "ellipsis" | OnlyString;
15498
- type BlockSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
15499
- type Border = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15500
- type BorderBlock = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15501
- type BorderBlockColor = DataType.Color | OnlyString;
15502
- type BorderBlockEnd = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15503
- type BorderBlockEndColor = DataType.Color;
15504
- type BorderBlockEndStyle = DataType.LineStyle;
15505
- type BorderBlockEndWidth = DataType.LineWidth;
15506
- type BorderBlockStart = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15507
- type BorderBlockStartColor = DataType.Color;
15508
- type BorderBlockStartStyle = DataType.LineStyle;
15509
- type BorderBlockStartWidth = DataType.LineWidth;
15510
- type BorderBlockStyle = DataType.LineStyle;
15511
- type BorderBlockWidth = DataType.LineWidth;
15512
- type BorderBottom = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15513
- type BorderBottomColor = DataType.Color;
15514
- type BorderBottomLeftRadius = OnlyStringNumeric;
15259
+ interface StandardShorthandProperties {
15260
+ /**
15261
+ * 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.
15262
+ *
15263
+ *
15264
+ * **Initial value**: There is no practical initial value for it.
15265
+ *
15266
+ */
15267
+ all?: Property.All | Conditions<Property.All>;
15268
+ /**
15269
+ * 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`.
15270
+ *
15271
+ *
15272
+ */
15273
+ animation?: Property.Animation | Conditions<Property.Animation>;
15274
+ /**
15275
+ * The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.
15276
+ *
15277
+ *
15278
+ */
15279
+ background?: Property.Background | Conditions<Property.Background>;
15280
+ /**
15281
+ * 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`.
15282
+ *
15283
+ *
15284
+ * **Initial value**: `0% 0%`
15285
+ *
15286
+ */
15287
+ backgroundPosition?: Property.BackgroundPosition | Conditions<Property.BackgroundPosition>;
15288
+ /**
15289
+ * The **`border`** shorthand CSS property sets an element's border. It sets the values of `border-width`, `border-style`, and `border-color`.
15290
+ *
15291
+ *
15292
+ */
15293
+ border?: Property.Border | Conditions<Property.Border>;
15294
+ /**
15295
+ * 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.
15296
+ *
15297
+ *
15298
+ */
15299
+ borderBlock?: Property.BorderBlock | Conditions<Property.BorderBlock>;
15300
+ /**
15301
+ * 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.
15302
+ *
15303
+ *
15304
+ */
15305
+ borderBlockEnd?: Property.BorderBlockEnd | Conditions<Property.BorderBlockEnd>;
15306
+ /**
15307
+ * 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.
15308
+ *
15309
+ *
15310
+ */
15311
+ borderBlockStart?: Property.BorderBlockStart | Conditions<Property.BorderBlockStart>;
15312
+ /**
15313
+ * 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`.
15314
+ *
15315
+ *
15316
+ */
15317
+ borderBottom?: Property.BorderBottom | Conditions<Property.BorderBottom>;
15318
+ /**
15319
+ * The **`border-color`** shorthand CSS property sets the color of an element's border.
15320
+ *
15321
+ *
15322
+ */
15323
+ borderColor?: Property.BorderColor | Conditions<Property.BorderColor>;
15324
+ /**
15325
+ * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border.
15326
+ *
15327
+ *
15328
+ */
15329
+ borderImage?: Property.BorderImage | Conditions<Property.BorderImage>;
15330
+ /**
15331
+ * 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.
15332
+ *
15333
+ *
15334
+ */
15335
+ borderInline?: Property.BorderInline | Conditions<Property.BorderInline>;
15336
+ /**
15337
+ * 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.
15338
+ *
15339
+ *
15340
+ */
15341
+ borderInlineEnd?: Property.BorderInlineEnd | Conditions<Property.BorderInlineEnd>;
15342
+ /**
15343
+ * 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.
15344
+ *
15345
+ *
15346
+ */
15347
+ borderInlineStart?: Property.BorderInlineStart | Conditions<Property.BorderInlineStart>;
15348
+ /**
15349
+ * The **`border-left`** shorthand CSS property sets all the properties of an element's left border.
15350
+ *
15351
+ *
15352
+ */
15353
+ borderLeft?: Property.BorderLeft | Conditions<Property.BorderLeft>;
15354
+ /**
15355
+ * 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.
15356
+ *
15357
+ *
15358
+ */
15359
+ borderRadius?: Property.BorderRadius | Conditions<Property.BorderRadius>;
15360
+ /**
15361
+ * The **`border-right`** shorthand CSS property sets all the properties of an element's right border.
15362
+ *
15363
+ *
15364
+ */
15365
+ borderRight?: Property.BorderRight | Conditions<Property.BorderRight>;
15366
+ /**
15367
+ * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border.
15368
+ *
15369
+ *
15370
+ */
15371
+ borderStyle?: Property.BorderStyle | Conditions<Property.BorderStyle>;
15372
+ /**
15373
+ * The **`border-top`** shorthand CSS property sets all the properties of an element's top border.
15374
+ *
15375
+ *
15376
+ */
15377
+ borderTop?: Property.BorderTop | Conditions<Property.BorderTop>;
15378
+ /**
15379
+ * The **`border-width`** shorthand CSS property sets the width of an element's border.
15380
+ *
15381
+ *
15382
+ */
15383
+ borderWidth?: Property.BorderWidth | Conditions<Property.BorderWidth>;
15384
+ /**
15385
+ * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout.
15386
+ *
15387
+ *
15388
+ */
15389
+ columnRule?: Property.ColumnRule | Conditions<Property.ColumnRule>;
15390
+ /**
15391
+ * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
15392
+ *
15393
+ *
15394
+ */
15395
+ columns?: Property.Columns | Conditions<Property.Columns>;
15396
+ /**
15397
+ * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
15398
+ *
15399
+ *
15400
+ */
15401
+ flex?: Property.Flex | Conditions<Property.Flex>;
15402
+ /**
15403
+ * The **`flex-flow`** CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
15404
+ *
15405
+ *
15406
+ */
15407
+ flexFlow?: Property.FlexFlow | Conditions<Property.FlexFlow>;
15408
+ /**
15409
+ * 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.
15410
+ *
15411
+ *
15412
+ */
15413
+ font?: Property.Font | Conditions<Property.Font>;
15414
+ /**
15415
+ * The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`.
15416
+ *
15417
+ *
15418
+ */
15419
+ gap?: Property.Gap | Conditions<Property.Gap>;
15420
+ /**
15421
+ * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.
15422
+ *
15423
+ *
15424
+ */
15425
+ grid?: Property.Grid | Conditions<Property.Grid>;
15426
+ /**
15427
+ * 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.
15428
+ *
15429
+ *
15430
+ */
15431
+ gridArea?: Property.GridArea | Conditions<Property.GridArea>;
15432
+ /**
15433
+ * 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.
15434
+ *
15435
+ *
15436
+ */
15437
+ gridColumn?: Property.GridColumn | Conditions<Property.GridColumn>;
15438
+ /**
15439
+ * 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.
15440
+ *
15441
+ *
15442
+ */
15443
+ gridRow?: Property.GridRow | Conditions<Property.GridRow>;
15444
+ /**
15445
+ * The **`grid-template`** CSS property is a shorthand property for defining grid columns, rows, and areas.
15446
+ *
15447
+ *
15448
+ */
15449
+ gridTemplate?: Property.GridTemplate | Conditions<Property.GridTemplate>;
15450
+ /**
15451
+ *
15452
+ * **Initial value**: `none`
15453
+ */
15454
+ lineClamp?: Property.LineClamp | Conditions<Property.LineClamp>;
15455
+ /**
15456
+ * The **`list-style`** CSS shorthand property allows you set all the list style properties at once.
15457
+ *
15458
+ *
15459
+ */
15460
+ listStyle?: Property.ListStyle | Conditions<Property.ListStyle>;
15461
+ /**
15462
+ * 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`.
15463
+ *
15464
+ *
15465
+ */
15466
+ margin?: Property.Margin | Conditions<Property.Margin>;
15467
+ /**
15468
+ * The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping the image at specific points.
15469
+ *
15470
+ *
15471
+ */
15472
+ mask?: Property.Mask | Conditions<Property.Mask>;
15473
+ /**
15474
+ * The **`mask-border`** CSS shorthand property lets you create a mask along the edge of an element's border.
15475
+ *
15476
+ *
15477
+ */
15478
+ maskBorder?: Property.MaskBorder | Conditions<Property.MaskBorder>;
15479
+ /**
15480
+ * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path.
15481
+ *
15482
+ *
15483
+ */
15484
+ motion?: Property.Offset | Conditions<Property.Offset>;
15485
+ /**
15486
+ * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path.
15487
+ *
15488
+ *
15489
+ */
15490
+ offset?: Property.Offset | Conditions<Property.Offset>;
15491
+ /**
15492
+ * The **`outline`** CSS shorthand property set all the outline properties in a single declaration.
15493
+ *
15494
+ *
15495
+ */
15496
+ outline?: Property.Outline | Conditions<Property.Outline>;
15497
+ /**
15498
+ * 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.
15499
+ *
15500
+ *
15501
+ * **Initial value**: `visible`
15502
+ *
15503
+ */
15504
+ overflow?: Property.Overflow | Conditions<Property.Overflow>;
15505
+ /**
15506
+ * 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`.
15507
+ *
15508
+ *
15509
+ * **Initial value**: `auto`
15510
+ *
15511
+ */
15512
+ overscrollBehavior?: Property.OverscrollBehavior | Conditions<Property.OverscrollBehavior>;
15513
+ /**
15514
+ * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once.
15515
+ *
15516
+ *
15517
+ */
15518
+ padding?: Property.Padding | Conditions<Property.Padding>;
15519
+ /**
15520
+ * 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.
15521
+ *
15522
+ *
15523
+ */
15524
+ placeItems?: Property.PlaceItems | Conditions<Property.PlaceItems>;
15525
+ /**
15526
+ * 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.
15527
+ *
15528
+ *
15529
+ */
15530
+ placeSelf?: Property.PlaceSelf | Conditions<Property.PlaceSelf>;
15531
+ /**
15532
+ * 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.
15533
+ *
15534
+ *
15535
+ */
15536
+ textDecoration?: Property.TextDecoration | Conditions<Property.TextDecoration>;
15537
+ /**
15538
+ * 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`.
15539
+ *
15540
+ *
15541
+ */
15542
+ textEmphasis?: Property.TextEmphasis | Conditions<Property.TextEmphasis>;
15543
+ /**
15544
+ * The **`transition`** CSS property is a shorthand property for `transition-property`, `transition-duration`, `transition-timing-function`, and `transition-delay`.
15545
+ *
15546
+ *
15547
+ */
15548
+ transition?: Property.Transition | Conditions<Property.Transition>;
15549
+ }
15550
+ type OnlyObject = Record<never, never>;
15551
+ type OnlyNumber = number & OnlyObject;
15552
+ type OnlyString = string & OnlyObject;
15553
+ type OnlyStringNumeric = (number | string) & OnlyObject;
15554
+ declare namespace Property {
15555
+ type AlignContent = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
15556
+ type AlignItems = DataType.SelfPosition | "baseline" | "normal" | "stretch" | OnlyString;
15557
+ type AlignSelf = DataType.SelfPosition | "auto" | "baseline" | "normal" | "stretch" | OnlyString;
15558
+ type AlignTracks = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
15559
+ type All = never;
15560
+ type Animation = DataType.SingleAnimation | OnlyString;
15561
+ type AnimationDelay = never | OnlyString;
15562
+ type AnimationDirection = DataType.SingleAnimationDirection | OnlyString;
15563
+ type AnimationDuration = never | OnlyString;
15564
+ type AnimationFillMode = DataType.SingleAnimationFillMode | OnlyString;
15565
+ type AnimationIterationCount = "infinite" | OnlyStringNumeric;
15566
+ type AnimationName = "none" | OnlyString;
15567
+ type AnimationPlayState = "paused" | "running" | OnlyString;
15568
+ type AnimationTimingFunction = DataType.EasingFunction | OnlyString;
15569
+ type Appearance = DataType.CompatAuto | "auto" | "menulist-button" | "none" | "textfield";
15570
+ type AspectRatio = "auto" | OnlyString;
15571
+ type Azimuth = "behind" | "center" | "center-left" | "center-right" | "far-left" | "far-right" | "left" | "left-side" | "leftwards" | "right" | "right-side" | "rightwards" | OnlyString;
15572
+ type BackdropFilter = "none" | OnlyString;
15573
+ type BackfaceVisibility = "hidden" | "visible";
15574
+ type Background = DataType.FinalBgLayer | OnlyString;
15575
+ type BackgroundAttachment = DataType.Attachment | OnlyString;
15576
+ type BackgroundBlendMode = DataType.BlendMode | OnlyString;
15577
+ type BackgroundClip = DataType.Box | OnlyString;
15578
+ type BackgroundColor = DataType.Color;
15579
+ type BackgroundImage = string;
15580
+ type BackgroundOrigin = DataType.Box | OnlyString;
15581
+ type BackgroundPosition = DataType.BgPosition | OnlyString;
15582
+ type BackgroundPositionX = "center" | "left" | "right" | "x-end" | "x-start" | OnlyStringNumeric;
15583
+ type BackgroundPositionY = "bottom" | "center" | "top" | "y-end" | "y-start" | OnlyStringNumeric;
15584
+ type BackgroundRepeat = DataType.RepeatStyle | OnlyString;
15585
+ type BackgroundSize = DataType.BgSize | OnlyString;
15586
+ type BlockOverflow = "clip" | "ellipsis" | OnlyString;
15587
+ type BlockSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
15588
+ type Border = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15589
+ type BorderBlock = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15590
+ type BorderBlockColor = DataType.Color | OnlyString;
15591
+ type BorderBlockEnd = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15592
+ type BorderBlockEndColor = DataType.Color;
15593
+ type BorderBlockEndStyle = DataType.LineStyle;
15594
+ type BorderBlockEndWidth = DataType.LineWidth;
15595
+ type BorderBlockStart = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15596
+ type BorderBlockStartColor = DataType.Color;
15597
+ type BorderBlockStartStyle = DataType.LineStyle;
15598
+ type BorderBlockStartWidth = DataType.LineWidth;
15599
+ type BorderBlockStyle = DataType.LineStyle;
15600
+ type BorderBlockWidth = DataType.LineWidth;
15601
+ type BorderBottom = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
15602
+ type BorderBottomColor = DataType.Color;
15603
+ type BorderBottomLeftRadius = OnlyStringNumeric;
15515
15604
  type BorderBottomRightRadius = OnlyStringNumeric;
15516
15605
  type BorderBottomStyle = DataType.LineStyle;
15517
15606
  type BorderBottomWidth = DataType.LineWidth;
@@ -16049,6 +16138,12 @@ declare namespace DataType {
16049
16138
  type ViewportLength = "auto" | OnlyStringNumeric;
16050
16139
  type VisualBox = "border-box" | "content-box" | "padding-box";
16051
16140
  }
16141
+ declare const fontWeightProperties: {
16142
+ regular: `var(--${string})` | `var(--${string}, ${string})`;
16143
+ medium: `var(--${string})` | `var(--${string}, ${string})`;
16144
+ semiBold: `var(--${string})` | `var(--${string}, ${string})`;
16145
+ bold: `var(--${string})` | `var(--${string}, ${string})`;
16146
+ };
16052
16147
  declare const zIndexProperties: {
16053
16148
  "100": `var(--${string})` | `var(--${string}, ${string})`;
16054
16149
  "200": `var(--${string})` | `var(--${string}, ${string})`;
@@ -16060,10 +16155,661 @@ declare const zIndexProperties: {
16060
16155
  "800": `var(--${string})` | `var(--${string}, ${string})`;
16061
16156
  "900": `var(--${string})` | `var(--${string}, ${string})`;
16062
16157
  };
16063
-
16064
- declare const styles$6: {
16065
- container: RuntimeFn<{
16066
- /**
16158
+ declare const colorProperties: {
16159
+ currentColor: string;
16160
+ brand: `var(--${string})` | `var(--${string}, ${string})`;
16161
+ "brand-alt": `var(--${string})` | `var(--${string}, ${string})`;
16162
+ disabled: `var(--${string})` | `var(--${string}, ${string})`;
16163
+ error: `var(--${string})` | `var(--${string}, ${string})`;
16164
+ info: `var(--${string})` | `var(--${string}, ${string})`;
16165
+ invert: `var(--${string})` | `var(--${string}, ${string})`;
16166
+ "invert-disabled": `var(--${string})` | `var(--${string}, ${string})`;
16167
+ "invert-secondary": `var(--${string})` | `var(--${string}, ${string})`;
16168
+ "on-brand": `var(--${string})` | `var(--${string}, ${string})`;
16169
+ "on-error": `var(--${string})` | `var(--${string}, ${string})`;
16170
+ "on-info": `var(--${string})` | `var(--${string}, ${string})`;
16171
+ "on-success": `var(--${string})` | `var(--${string}, ${string})`;
16172
+ "on-warning": `var(--${string})` | `var(--${string}, ${string})`;
16173
+ primary: `var(--${string})` | `var(--${string}, ${string})`;
16174
+ secondary: `var(--${string})` | `var(--${string}, ${string})`;
16175
+ success: `var(--${string})` | `var(--${string}, ${string})`;
16176
+ warning: `var(--${string})` | `var(--${string}, ${string})`;
16177
+ "warning-alt": `var(--${string})` | `var(--${string}, ${string})`;
16178
+ };
16179
+ declare const borderColorProperties: {
16180
+ transparent: string;
16181
+ brand: `var(--${string})` | `var(--${string}, ${string})`;
16182
+ "brand-alt": `var(--${string})` | `var(--${string}, ${string})`;
16183
+ disabled: `var(--${string})` | `var(--${string}, ${string})`;
16184
+ divider: `var(--${string})` | `var(--${string}, ${string})`;
16185
+ error: `var(--${string})` | `var(--${string}, ${string})`;
16186
+ info: `var(--${string})` | `var(--${string}, ${string})`;
16187
+ invert: `var(--${string})` | `var(--${string}, ${string})`;
16188
+ "invert-disabled": `var(--${string})` | `var(--${string}, ${string})`;
16189
+ primary: `var(--${string})` | `var(--${string}, ${string})`;
16190
+ secondary: `var(--${string})` | `var(--${string}, ${string})`;
16191
+ subdued: `var(--${string})` | `var(--${string}, ${string})`;
16192
+ success: `var(--${string})` | `var(--${string}, ${string})`;
16193
+ warning: `var(--${string})` | `var(--${string}, ${string})`;
16194
+ };
16195
+
16196
+ declare const chipStyles: {
16197
+ chip: RuntimeFn<{
16198
+ /**
16199
+ * Specifies whether the chip will be displayed in the pill shape
16200
+ * @default false
16201
+ */
16202
+ pill: {
16203
+ true: {
16204
+ borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16205
+ };
16206
+ };
16207
+ /**
16208
+ * Specifies whether the chip is selected
16209
+ * @default false
16210
+ */
16211
+ selected: {
16212
+ true: {
16213
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16214
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16215
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16216
+ ":hover": {
16217
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16218
+ };
16219
+ };
16220
+ };
16221
+ /**
16222
+ * Specifies the size of the chip
16223
+ * @default medium
16224
+ */
16225
+ size: {
16226
+ medium: {
16227
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16228
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16229
+ height: "2rem";
16230
+ };
16231
+ small: {
16232
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})`;
16233
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16234
+ height: "1.5rem";
16235
+ };
16236
+ };
16237
+ /**
16238
+ * Specifies whether to handle text overflow within the chip.
16239
+ * When true, overflowing text is typically truncated with an ellipsis.
16240
+ * @default false
16241
+ */
16242
+ textOverflow: {
16243
+ true: {
16244
+ minWidth: "auto";
16245
+ width: "100%";
16246
+ };
16247
+ };
16248
+ }>;
16249
+ content: RuntimeFn<{
16250
+ /**
16251
+ * Specifies whether to handle text overflow within the chip.
16252
+ * When true, overflowing text is typically truncated with an ellipsis.
16253
+ */
16254
+ textOverflow: {
16255
+ true: {
16256
+ textOverflow: "ellipsis";
16257
+ whiteSpace: "nowrap";
16258
+ width: "100%";
16259
+ display: "block";
16260
+ overflow: "hidden";
16261
+ };
16262
+ };
16263
+ }>;
16264
+ close: string;
16265
+ overlay: string;
16266
+ };
16267
+ declare const paddingProperties: {
16268
+ medium: string;
16269
+ small: string;
16270
+ };
16271
+
16272
+ type ChipVariants = NonNullable<RecipeVariants<typeof chipStyles.chip>>;
16273
+ type ChipDynamicProperties = Pick<StandardLonghandProperties, "textTransform">;
16274
+ interface ChipSprinkle extends ChipDynamicProperties {
16275
+ /**
16276
+ * The padding properties are used to generate space around an chip's content area.
16277
+ */
16278
+ padding?: AddDollar<keyof typeof paddingProperties> | Conditions<AddDollar<keyof typeof paddingProperties>>;
16279
+ }
16280
+
16281
+ declare const dividerBorderWidthProperties: {
16282
+ "1": string;
16283
+ "2": string;
16284
+ };
16285
+
16286
+ type DividerBorderStyle = "solid" | "dashed";
16287
+ interface DividerSprinkle {
16288
+ /**
16289
+ * The **`size`** CSS property sets an element's area.
16290
+ * @default 100%
16291
+ */
16292
+ size?: string | Conditions<string>;
16293
+ /**
16294
+ * The **`type`** shorthand CSS property sets the line style for all four sides of an element's.
16295
+ * @default solid
16296
+ */
16297
+ type?: AddDollar<DividerBorderStyle> | Conditions<AddDollar<DividerBorderStyle>>;
16298
+ /**
16299
+ * The **`thickness`** shorthand CSS property sets the width of an element's.
16300
+ * @default $1
16301
+ */
16302
+ thickness?: AddDollar<keyof typeof dividerBorderWidthProperties> | Conditions<AddDollar<keyof typeof dividerBorderWidthProperties>>;
16303
+ /**
16304
+ * The **`color`** CSS property sets an element's color.
16305
+ * @default $divider
16306
+ */
16307
+ color?: AddDollar<keyof typeof borderColorProperties> | Conditions<AddDollar<keyof typeof borderColorProperties>>;
16308
+ }
16309
+
16310
+ type IconDynamicProperties = Pick<StandardLonghandProperties, "cursor">;
16311
+ interface IconSprinkle extends IconDynamicProperties {
16312
+ /**
16313
+ * The color property sets the icon.
16314
+ */
16315
+ color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16316
+ }
16317
+
16318
+ declare const textLineHeightProperties: {
16319
+ xxs: `var(--${string})` | `var(--${string}, ${string})`;
16320
+ xs: `var(--${string})` | `var(--${string}, ${string})`;
16321
+ s: `var(--${string})` | `var(--${string}, ${string})`;
16322
+ m: `var(--${string})` | `var(--${string}, ${string})`;
16323
+ l: `var(--${string})` | `var(--${string}, ${string})`;
16324
+ xl: `var(--${string})` | `var(--${string}, ${string})`;
16325
+ };
16326
+ declare const textFontSizeProperties: {
16327
+ xxs: `var(--${string})` | `var(--${string}, ${string})`;
16328
+ xs: `var(--${string})` | `var(--${string}, ${string})`;
16329
+ s: `var(--${string})` | `var(--${string}, ${string})`;
16330
+ m: `var(--${string})` | `var(--${string}, ${string})`;
16331
+ l: `var(--${string})` | `var(--${string}, ${string})`;
16332
+ xl: `var(--${string})` | `var(--${string}, ${string})`;
16333
+ };
16334
+
16335
+ type TextDynamicProperties = Pick<StandardLonghandProperties, "textAlign" | "wordBreak" | "textTransform" | "textOverflow" | "width" | "whiteSpace"> & Pick<StandardShorthandProperties, "textDecoration" | "overflow">;
16336
+ interface TextSprinkle extends TextDynamicProperties {
16337
+ /**
16338
+ * The color property is used to set the color of the title.
16339
+ */
16340
+ color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16341
+ /**
16342
+ * The color property is used to set the color of the title.
16343
+ * @default $regular
16344
+ */
16345
+ fontWeight?: AddDollar<keyof typeof fontWeightProperties> | Conditions<AddDollar<keyof typeof fontWeightProperties>>;
16346
+ /**
16347
+ * The fontSize property sets the size of the text.
16348
+ */
16349
+ fontSize?: AddDollar<keyof typeof textFontSizeProperties> | Conditions<AddDollar<keyof typeof textFontSizeProperties>>;
16350
+ /**
16351
+ * The lineHeight property specifies the line height of the title.
16352
+ */
16353
+ lineHeight?: AddDollar<keyof typeof textLineHeightProperties> | Conditions<AddDollar<keyof typeof textLineHeightProperties>>;
16354
+ }
16355
+
16356
+ declare const titleLineHeightProperties: {
16357
+ hero: `var(--${string})` | `var(--${string}, ${string})`;
16358
+ xs: `var(--${string})` | `var(--${string}, ${string})`;
16359
+ s: `var(--${string})` | `var(--${string}, ${string})`;
16360
+ m: `var(--${string})` | `var(--${string}, ${string})`;
16361
+ l: `var(--${string})` | `var(--${string}, ${string})`;
16362
+ xl: `var(--${string})` | `var(--${string}, ${string})`;
16363
+ };
16364
+ declare const titleFontSizeProperties: {
16365
+ hero: `var(--${string})` | `var(--${string}, ${string})`;
16366
+ xs: `var(--${string})` | `var(--${string}, ${string})`;
16367
+ s: `var(--${string})` | `var(--${string}, ${string})`;
16368
+ m: `var(--${string})` | `var(--${string}, ${string})`;
16369
+ l: `var(--${string})` | `var(--${string}, ${string})`;
16370
+ xl: `var(--${string})` | `var(--${string}, ${string})`;
16371
+ };
16372
+
16373
+ type TitleDynamicProperties = Pick<StandardLonghandProperties, "textAlign" | "textTransform"> & Pick<StandardShorthandProperties, "textDecoration">;
16374
+ interface TitleSprinkle extends TitleDynamicProperties {
16375
+ /**
16376
+ * The color property is used to set the color of the title.
16377
+ */
16378
+ color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
16379
+ /**
16380
+ * The color property is used to set the color of the title.
16381
+ * @default $regular
16382
+ */
16383
+ fontWeight?: AddDollar<keyof typeof fontWeightProperties> | Conditions<AddDollar<keyof typeof fontWeightProperties>>;
16384
+ /**
16385
+ * The fontSize property sets the size of the title.
16386
+ */
16387
+ fontSize?: AddDollar<keyof typeof titleFontSizeProperties> | Conditions<AddDollar<keyof typeof titleFontSizeProperties>>;
16388
+ /**
16389
+ * The lineHeight property specifies the line height of the title.
16390
+ */
16391
+ lineHeight?: AddDollar<keyof typeof titleLineHeightProperties> | Conditions<AddDollar<keyof typeof titleLineHeightProperties>>;
16392
+ }
16393
+
16394
+ declare const avatarStyles: {
16395
+ container: string;
16396
+ avatar: RuntimeFn<{
16397
+ /**
16398
+ * Specifies the size of the Avatar component.
16399
+ * @default medium
16400
+ */
16401
+ size: {
16402
+ small: {
16403
+ width: "20px";
16404
+ height: "20px";
16405
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16406
+ };
16407
+ medium: {
16408
+ width: "30px";
16409
+ height: "30px";
16410
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16411
+ };
16412
+ large: {
16413
+ width: "40px";
16414
+ height: "40px";
16415
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16416
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16417
+ };
16418
+ xLarge: {
16419
+ width: "60px";
16420
+ height: "60px";
16421
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16422
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16423
+ };
16424
+ };
16425
+ }>;
16426
+ badge: RuntimeFn<{
16427
+ size: {
16428
+ small: {
16429
+ left: "18px";
16430
+ };
16431
+ medium: {
16432
+ left: "24px";
16433
+ };
16434
+ large: {
16435
+ top: "-4px";
16436
+ left: "30px";
16437
+ };
16438
+ xLarge: {
16439
+ left: "44px";
16440
+ };
16441
+ };
16442
+ }>;
16443
+ };
16444
+
16445
+ type AvatarVariants = NonNullable<RecipeVariants<typeof avatarStyles.avatar>>;
16446
+
16447
+ declare const badgeStyles: {
16448
+ badge: RuntimeFn<{
16449
+ /**
16450
+ * Determines the visual style of the badge, influencing its color scheme and appearance.
16451
+ * @default brand
16452
+ */
16453
+ appearance: {
16454
+ brand: {
16455
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16456
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16457
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16458
+ };
16459
+ danger: {
16460
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16461
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16462
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16463
+ };
16464
+ success: {
16465
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16466
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16467
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16468
+ };
16469
+ warning: {
16470
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16471
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16472
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16473
+ };
16474
+ info: {
16475
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16476
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16477
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16478
+ };
16479
+ neutral: {
16480
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16481
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16482
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16483
+ };
16484
+ inverted: {
16485
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16486
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16487
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16488
+ };
16489
+ };
16490
+ /**
16491
+ * Specifies the size of the badge, controlling its dimensions.
16492
+ * @default medium
16493
+ */
16494
+ size: {
16495
+ large: {
16496
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16497
+ height: "3rem";
16498
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16499
+ fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16500
+ };
16501
+ medium: {
16502
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16503
+ height: "2em";
16504
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16505
+ fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16506
+ };
16507
+ small: {
16508
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16509
+ height: "1.5rem";
16510
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16511
+ fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
16512
+ };
16513
+ dot: {
16514
+ height: "0.5rem";
16515
+ width: "0.5rem";
16516
+ };
16517
+ };
16518
+ /**
16519
+ * Defines the visual variant of the badge, affecting its background style.
16520
+ * @default solid
16521
+ */
16522
+ variant: {
16523
+ solid: {};
16524
+ outlined: {
16525
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})`;
16526
+ borderStyle: "solid";
16527
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16528
+ };
16529
+ };
16530
+ }>;
16531
+ };
16532
+
16533
+ type BadgeVariants = NonNullable<RecipeVariants<typeof badgeStyles.badge>>;
16534
+
16535
+ declare const buttonStyles: {
16536
+ button: RuntimeFn<{
16537
+ /**
16538
+ * Specifies whether the button should take up the full width of its container.
16539
+ * This variant is useful when you want to make a button span the entire width of its parent container.
16540
+ *
16541
+ */
16542
+ full: {
16543
+ true: {
16544
+ width: "100%";
16545
+ };
16546
+ };
16547
+ /**
16548
+ * Defines the appearance variants for the button component.
16549
+ * Each appearance variant corresponds to a specific background color, border color, and text color.
16550
+ * @default brand
16551
+ */
16552
+ appearance: {
16553
+ brand: {
16554
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16555
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16556
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16557
+ };
16558
+ danger: {
16559
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16560
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16561
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16562
+ };
16563
+ success: {
16564
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16565
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16566
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16567
+ };
16568
+ warning: {
16569
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16570
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16571
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16572
+ };
16573
+ neutral: {
16574
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16575
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16576
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16577
+ };
16578
+ inverted: {
16579
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16580
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16581
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16582
+ };
16583
+ };
16584
+ /**
16585
+ * Defines the size of the button component.
16586
+ * @default large
16587
+ */
16588
+ size: {
16589
+ large: {
16590
+ gap: `var(--${string})` | `var(--${string}, ${string})`;
16591
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16592
+ height: "3rem";
16593
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16594
+ };
16595
+ medium: {
16596
+ gap: `var(--${string})` | `var(--${string}, ${string})`;
16597
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16598
+ height: "2.5rem";
16599
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16600
+ };
16601
+ small: {
16602
+ gap: `var(--${string})` | `var(--${string}, ${string})`;
16603
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})`;
16604
+ height: "2rem";
16605
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16606
+ };
16607
+ };
16608
+ /**
16609
+ * Defines the visual variant of the badge, affecting its background style, border and text.
16610
+ * @default solid
16611
+ */
16612
+ variant: {
16613
+ solid: {
16614
+ selectors: {
16615
+ "&:hover:after": {
16616
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16617
+ };
16618
+ "&:active:after": {
16619
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16620
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16621
+ };
16622
+ };
16623
+ };
16624
+ outlined: {
16625
+ backgroundColor: "transparent";
16626
+ };
16627
+ text: {
16628
+ backgroundColor: "transparent";
16629
+ textDecoration: "underline";
16630
+ borderColor: "transparent";
16631
+ };
16632
+ tonal: {
16633
+ borderColor: "transparent";
16634
+ };
16635
+ };
16636
+ }>;
16637
+ };
16638
+
16639
+ type ButtonVariants = NonNullable<RecipeVariants<typeof buttonStyles.button>>;
16640
+
16641
+ declare const overlayBackgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16642
+ declare const checkboxStyles: {
16643
+ checkbox: RuntimeFn<{
16644
+ /**
16645
+ * Specifies whether the checkbox is in error state
16646
+ */
16647
+ error: {
16648
+ true: {
16649
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16650
+ ":checked": {
16651
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16652
+ };
16653
+ };
16654
+ };
16655
+ /**
16656
+ * Specifies the size of the checkbox
16657
+ */
16658
+ size: {
16659
+ medium: {
16660
+ width: "1.25rem";
16661
+ height: "1.25rem";
16662
+ };
16663
+ large: {
16664
+ width: "1.5rem";
16665
+ height: "1.5rem";
16666
+ };
16667
+ };
16668
+ /**
16669
+ * Specifies whether the checkbox is indeterminate state
16670
+ */
16671
+ indeterminate: {
16672
+ true: {
16673
+ selectors: {
16674
+ "&:checked:after": {
16675
+ top: number;
16676
+ bottom: number;
16677
+ margin: "auto";
16678
+ height: number;
16679
+ borderLeft: "none";
16680
+ transform: "rotate(0deg)";
16681
+ };
16682
+ };
16683
+ };
16684
+ };
16685
+ }>;
16686
+ label: RuntimeFn<{
16687
+ /**
16688
+ * Specifies whether the label is in error state
16689
+ */
16690
+ error: {
16691
+ true: {
16692
+ vars: {
16693
+ [overlayBackgroundColor]: `var(--${string})` | `var(--${string}, ${string})`;
16694
+ };
16695
+ };
16696
+ };
16697
+ }>;
16698
+ container: string;
16699
+ overlay: string;
16700
+ };
16701
+
16702
+ type CheckboxVariants = NonNullable<RecipeVariants<typeof checkboxStyles.checkbox>>;
16703
+
16704
+ declare const iconButtonStyles: {
16705
+ iconButton: RuntimeFn<{
16706
+ /**
16707
+ * Determines the visual style of the icon button, influencing its color scheme and appearance.
16708
+ * @default brand
16709
+ */
16710
+ appearance: {
16711
+ brand: {
16712
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16713
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16714
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16715
+ };
16716
+ danger: {
16717
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16718
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16719
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16720
+ };
16721
+ success: {
16722
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16723
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16724
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16725
+ };
16726
+ warning: {
16727
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16728
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16729
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16730
+ };
16731
+ neutral: {
16732
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16733
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16734
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16735
+ };
16736
+ inverted: {
16737
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16738
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16739
+ color: `var(--${string})` | `var(--${string}, ${string})`;
16740
+ };
16741
+ };
16742
+ /**
16743
+ * Defines the size of the icon button component.
16744
+ * @default medium
16745
+ */
16746
+ size: {
16747
+ large: {
16748
+ height: "3rem";
16749
+ width: "3rem";
16750
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16751
+ };
16752
+ medium: {
16753
+ height: "2.5rem";
16754
+ width: "2.5rem";
16755
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16756
+ };
16757
+ small: {
16758
+ height: "2rem";
16759
+ width: "2rem";
16760
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
16761
+ };
16762
+ };
16763
+ variant: {
16764
+ /**
16765
+ * Defines the visual variant of the icon button, affecting its background style, border and text.
16766
+ * @default solid
16767
+ */
16768
+ solid: {
16769
+ selectors: {
16770
+ "&:hover:after": {
16771
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16772
+ };
16773
+ "&:active:after": {
16774
+ borderColor: `var(--${string})` | `var(--${string}, ${string})`;
16775
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
16776
+ };
16777
+ };
16778
+ };
16779
+ outlined: {
16780
+ backgroundColor: "transparent";
16781
+ };
16782
+ ghost: {
16783
+ backgroundColor: "transparent";
16784
+ borderColor: "transparent";
16785
+ };
16786
+ tonal: {
16787
+ borderColor: "transparent";
16788
+ };
16789
+ };
16790
+ /**
16791
+ * Defines if the button should have rounded edges.
16792
+ *
16793
+ * - `true`: The button will be rendered with completely rounded edges, useful for circular -shaped icons.
16794
+ * - `false` (default): The button will have standard edges or defined by the component style.
16795
+ * @default false
16796
+ */
16797
+ rounded: {
16798
+ true: {
16799
+ borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16800
+ ":after": {
16801
+ borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
16802
+ };
16803
+ };
16804
+ };
16805
+ }>;
16806
+ };
16807
+
16808
+ type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
16809
+
16810
+ declare const styles$6: {
16811
+ container: RuntimeFn<{
16812
+ /**
16067
16813
  * Determines the visual style of the input, affecting its border
16068
16814
  */
16069
16815
  appearance: {
@@ -16370,6 +17116,98 @@ declare const dropdownStyles: {
16370
17116
  };
16371
17117
 
16372
17118
  type DropdownVariants = NonNullable<RecipeVariants<typeof dropdownStyles.dropdown> & RecipeVariants<typeof dropdownStyles.item>>;
17119
+ type DropdownDynamicProperties = Pick<StandardLonghandProperties, "width" | "maxWidth">;
17120
+ interface DropdownSprinkle extends DropdownDynamicProperties {
17121
+ /**
17122
+ * The zIndex property specifies the stack order of the box.
17123
+ */
17124
+ zIndex?: AddDollar<keyof typeof zIndexProperties> | Conditions<AddDollar<keyof typeof zIndexProperties>>;
17125
+ }
17126
+
17127
+ declare const statusStyles: {
17128
+ status: RuntimeFn<{
17129
+ /**
17130
+ * Specifies whether the status should take up the full width of its container.
17131
+ * This variant is useful when you want to make a status span the entire width of its parent container.
17132
+ * @default false
17133
+ *
17134
+ */
17135
+ full: {
17136
+ true: {
17137
+ width: "100%";
17138
+ };
17139
+ };
17140
+ /**
17141
+ * Determines the visual style of the status, influencing its color scheme.
17142
+ * @default success
17143
+ */
17144
+ appearance: {
17145
+ success: {
17146
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17147
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17148
+ };
17149
+ warning: {
17150
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17151
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17152
+ };
17153
+ danger: {
17154
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17155
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17156
+ };
17157
+ inverted: {
17158
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17159
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17160
+ };
17161
+ neutral: {
17162
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17163
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17164
+ };
17165
+ info: {
17166
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17167
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17168
+ };
17169
+ };
17170
+ /**
17171
+ * Specifies the size of the badge, controlling its dimensions.
17172
+ * @default normal
17173
+ */
17174
+ size: {
17175
+ normal: {
17176
+ height: "1.75rem";
17177
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
17178
+ };
17179
+ small: {
17180
+ height: "1.5rem";
17181
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
17182
+ };
17183
+ };
17184
+ /**
17185
+ * Specifies the variant of the status
17186
+ * @default solid
17187
+ */
17188
+ variant: {
17189
+ solid: {};
17190
+ text: {
17191
+ backgroundColor: "transparent";
17192
+ };
17193
+ subdued: {};
17194
+ };
17195
+ }>;
17196
+ dot: RuntimeFn<{
17197
+ size: {
17198
+ normal: {
17199
+ height: ".5rem";
17200
+ width: ".5rem";
17201
+ };
17202
+ small: {
17203
+ height: ".25rem";
17204
+ width: ".25rem";
17205
+ };
17206
+ };
17207
+ }>;
17208
+ };
17209
+
17210
+ type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
16373
17211
 
16374
17212
  declare const bannerStyles: {
16375
17213
  banner: RuntimeFn<{
@@ -16564,6 +17402,50 @@ declare const styles$1: {
16564
17402
 
16565
17403
  type ToggleVariants = RecipeVariants<typeof styles$1.toggle>;
16566
17404
 
17405
+ declare const styles: {
17406
+ tooltip: RuntimeFn<{
17407
+ /**
17408
+ * Specifies whether the color scheme should be inverted
17409
+ * @default false
17410
+ */
17411
+ inverted: {
17412
+ true: {
17413
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17414
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17415
+ };
17416
+ false: {
17417
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
17418
+ color: `var(--${string})` | `var(--${string}, ${string})`;
17419
+ };
17420
+ };
17421
+ /**
17422
+ * Specifies the padding for the tooltip
17423
+ * @default base
17424
+ */
17425
+ padding: {
17426
+ base: {
17427
+ padding: `var(--${string})` | `var(--${string}, ${string})`;
17428
+ };
17429
+ none: {
17430
+ padding: number;
17431
+ };
17432
+ };
17433
+ }>;
17434
+ header: RuntimeFn<{
17435
+ padding: {
17436
+ base: {
17437
+ padding: `var(--${string})` | `var(--${string}, ${string})`;
17438
+ };
17439
+ none: {
17440
+ padding: number;
17441
+ };
17442
+ };
17443
+ }>;
17444
+ container: string;
17445
+ };
17446
+
17447
+ type TooltipVariants = NonNullable<RecipeVariants<typeof styles.tooltip>>;
17448
+
16567
17449
  declare const accordionStyles: {
16568
17450
  item: RuntimeFn<{
16569
17451
  selected: {
@@ -16949,31 +17831,215 @@ declare const stepperStyles: {
16949
17831
 
16950
17832
  type StepperVariants = NonNullable<RecipeVariants<typeof stepperStyles.stepper> & RecipeVariants<typeof stepperStyles.circle>>;
16951
17833
 
16952
- interface StepperStepTyping {
17834
+ type BadgeProps = BadgeVariants;
17835
+
17836
+ interface AvatarTypings {
17837
+ /**
17838
+ * Renders a Badge component along with the Avatar. The badge prop accepts an object of type Badge, representing the Badge component.
17839
+ * @TJS-type Badge
17840
+ */
17841
+ badge?: BadgeProps;
17842
+ }
17843
+ type AvatarProps = AvatarTypings & AvatarVariants;
17844
+
17845
+ interface DividerProps extends DividerSprinkle {
17846
+ /**
17847
+ * The direction of the Divider.
17848
+ * @default horizontal
17849
+ */
17850
+ direction?: "vertical" | "horizontal";
17851
+ }
17852
+
17853
+ type IconProps = IconSprinkle;
17854
+
17855
+ type StepperProps = Pick<StepperVariants, "direction">;
17856
+
17857
+ interface TitleProps extends TitleSprinkle {
17858
+ /**
17859
+ * Type of html tag to create for the title.
17860
+ * @default h1
17861
+ */
17862
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
17863
+ }
17864
+
17865
+ interface TextProps extends TextSprinkle {
17866
+ /**
17867
+ * Type of html tag to create for the Text component.
17868
+ * @default p
17869
+ */
17870
+ as?: "p" | "span";
17871
+ /**
17872
+ * The -webkit-line-clamp CSS property allows limiting of the contents of a block to the specified number of lines.
17873
+ */
17874
+ lineClamp?: number;
17875
+ }
17876
+
17877
+ interface TooltipTyping {
17878
+ /**
17879
+ * Conditional for displaying the popover arrow.
17880
+ * @default true
17881
+ */
17882
+ arrow?: boolean;
17883
+ /**
17884
+ * A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
17885
+ * @default false
17886
+ */
17887
+ matchReferenceWidth?: boolean;
17888
+ /**
17889
+ * Adds hover event listeners that change the open state, like CSS :hover.
17890
+ * @default false
17891
+ */
17892
+ enabledHover?: boolean;
17893
+ /**
17894
+ * Adds click event listeners that change the open state.
17895
+ * @default true
17896
+ */
17897
+ enabledClick?: boolean;
17898
+ /**
17899
+ * Adds listeners that dismiss (close) the floating element.
17900
+ * @default true
17901
+ */
17902
+ enabledDismiss?: boolean;
17903
+ /**
17904
+ * Offest displaces the floating element from its core placement along the specified axes.
17905
+ * @default 10
17906
+ */
17907
+ offset?: number;
17908
+ /**
17909
+ * Specifies the ID of the portal element where the tooltip should be rendered.
17910
+ * This can be useful for rendering the tooltip in a different part of the DOM, such as a modal or overlay.
17911
+ */
17912
+ portalId?: string;
17913
+ /**
17914
+ * If true, the component is shown.
17915
+ */
17916
+ visible?: boolean;
17917
+ /**
17918
+ * Function to control popover opening and closing.
17919
+ * @TJS-type (visible: boolean) => void;
17920
+ */
17921
+ onVisibility?: (visible: boolean) => void;
17922
+ }
17923
+ type TooltipProps = TooltipTyping & TooltipVariants;
17924
+
17925
+ interface StepperStepTyping {
17926
+ /**
17927
+ * The title of the step. This provides a brief summary of the step's purpose.
17928
+ */
17929
+ title?: string;
17930
+ /**
17931
+ * A more detailed description of the step. This can provide additional context or instructions.
17932
+ */
17933
+ description?: string;
17934
+ }
17935
+ type StepperStepProps = StepperStepTyping & Pick<StepperVariants, "active" | "done">;
17936
+
17937
+ interface ProgressTyping {
17938
+ /**
17939
+ * The progress percentage, represented as a number between 0 and 100.
17940
+ * This indicates the completion level of the process.
17941
+ */
17942
+ percentage: number;
17943
+ }
17944
+ type ProgressProps = ProgressTyping & ProgressSprinkle;
17945
+
17946
+ type ProgressCircleProps = ProgressProps & ProgressVariants;
17947
+
17948
+ interface StatusTyping {
17949
+ /**
17950
+ * Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.
17951
+ * @default true
17952
+ */
17953
+ dot?: boolean;
17954
+ }
17955
+ type StatusProps = StatusTyping & StatusVariants;
17956
+
17957
+ interface ButtonTyping {
17958
+ /**
17959
+ * Disables the button, disallowing user interaction.
17960
+ * @default false
17961
+ */
17962
+ disabled?: boolean;
17963
+ }
17964
+ type ButtonProps = ButtonTyping & ButtonVariants;
17965
+
17966
+ interface CheckboxTyping {
16953
17967
  /**
16954
- * The title of the step. This provides a brief summary of the step's purpose.
17968
+ * The label of the checkbox.
16955
17969
  */
16956
- title?: string;
17970
+ label?: string;
16957
17971
  /**
16958
- * A more detailed description of the step. This can provide additional context or instructions.
17972
+ * The id of the checkbox.
16959
17973
  */
16960
- description?: string;
17974
+ id: string;
17975
+ /**
17976
+ * Whether the checkbox is checked.
17977
+ * @default false
17978
+ */
17979
+ checked?: boolean;
17980
+ /**
17981
+ * Whether the checkbox is readonly.
17982
+ * @default false
17983
+ */
17984
+ readonly?: boolean;
16961
17985
  }
16962
- type StepperStepProps = StepperStepTyping & Pick<StepperVariants, "active" | "done">;
17986
+ type CheckboxProps = CheckboxTyping & CheckboxVariants;
16963
17987
 
16964
- interface ProgressTyping {
17988
+ interface ChipTyping extends ChipSprinkle {
16965
17989
  /**
16966
- * The progress percentage, represented as a number between 0 and 100.
16967
- * This indicates the completion level of the process.
17990
+ * Displays a delete icon and adds user interaction.
17991
+ * @default false
16968
17992
  */
16969
- percentage: number;
17993
+ closeable?: boolean;
16970
17994
  }
16971
- type ProgressProps = ProgressTyping & ProgressSprinkle;
16972
-
16973
- type ProgressCircleProps = ProgressProps & ProgressVariants;
17995
+ type ChipProps = ChipTyping & ChipVariants;
16974
17996
 
16975
17997
  type InputProps = InputVariants;
16976
17998
 
17999
+ interface DropdownTyping {
18000
+ /**
18001
+ * A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
18002
+ * @default false
18003
+ */
18004
+ matchReferenceWidth?: boolean;
18005
+ /**
18006
+ * Adds listeners that dismiss (close) the floating element.
18007
+ * @default true
18008
+ */
18009
+ enabledDismiss?: boolean;
18010
+ /**
18011
+ * Adds click event listeners that change the open state.
18012
+ * @default true
18013
+ */
18014
+ enabledClick?: boolean;
18015
+ /**
18016
+ * Determines whether the dropdown should enable flipping the options' dropdown when there is not enough space to display it in its default direction.
18017
+ * This can help ensure the dropdown is always visible on the screen.
18018
+ * @default true
18019
+ */
18020
+ enabledFlip?: boolean;
18021
+ /**
18022
+ * Offest displaces the floating element from its core placement along the specified axes.
18023
+ * @default 10
18024
+ */
18025
+ offset?: number;
18026
+ /**
18027
+ * Specifies the ID of the portal element where the dropdown should be rendered.
18028
+ * This can be useful for rendering the dropdown in a different part of the DOM, such as a modal or overlay.
18029
+ */
18030
+ portalId?: string;
18031
+ /**
18032
+ * If true, the component is shown.
18033
+ */
18034
+ visible?: boolean;
18035
+ /**
18036
+ * Function to control dropdown opening and closing.
18037
+ * @TJS-type (visible: boolean) => void;
18038
+ */
18039
+ onVisibility?: (visible: boolean) => void;
18040
+ }
18041
+ type DropdownProps = DropdownTyping & DropdownSprinkle & Pick<DropdownVariants, "padding">;
18042
+
16977
18043
  interface DropdownItemTyping {
16978
18044
  /**
16979
18045
  * The name of the dropdown item. This is typically the text that is displayed for the item.
@@ -16982,6 +18048,15 @@ interface DropdownItemTyping {
16982
18048
  }
16983
18049
  type DropdownItemProps = DropdownItemTyping & Pick<DropdownVariants, "selected">;
16984
18050
 
18051
+ interface IconButtonTyping {
18052
+ /**
18053
+ * Disables the button, disallowing user interaction.
18054
+ * @default false
18055
+ */
18056
+ disabled?: boolean;
18057
+ }
18058
+ type IconButtonProps = IconButtonTyping & IconButtonVariants;
18059
+
16985
18060
  interface RadioButtonTyping {
16986
18061
  /**
16987
18062
  * Sets radio state to activated or deactivated.
@@ -17183,6 +18258,208 @@ interface SideNavigationItemTypings {
17183
18258
  }
17184
18259
  type SideNavigationItemProps = SideNavigationItemTypings & Pick<SideNavigationVariants, "level">;
17185
18260
 
18261
+ type AriaInvalid = "false" | "true" | "grammar" | "spelling" | null;
18262
+
18263
+ /**
18264
+ * Utility types for Web Components property handling in Rarui Design System
18265
+ *
18266
+ * These types help convert React-style camelCase properties to web component
18267
+ * kebab-case attributes while maintaining type safety.
18268
+ */
18269
+ /**
18270
+ * Converts a camelCase string to kebab-case
18271
+ *
18272
+ * @example
18273
+ * CamelToKebab<"maxWidth"> // "max-width"
18274
+ * CamelToKebab<"portalId"> // "portal-id"
18275
+ * CamelToKebab<"position"> // "position"
18276
+ */
18277
+ 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;
18278
+ type CamelToKebabKeys<T> = {
18279
+ [K in keyof T as CamelToKebab<string & K>]: T[K];
18280
+ };
18281
+ /**
18282
+ * Common React properties that should be excluded from web component types
18283
+ */
18284
+ type CommonReactExclusions = "children" | "className" | "style" | "ref" | "key";
18285
+ type WebComponentProperties<TReactProps, TExclude extends keyof TReactProps = never> = CamelToKebabKeys<Omit<Partial<TReactProps>, CommonReactExclusions | TExclude>>;
18286
+
18287
+ declare global {
18288
+ interface HTMLElementTagNameMap {
18289
+ "rarui-avatar": RaruiAvatar;
18290
+ }
18291
+ }
18292
+ /**
18293
+ * ## Rarui Avatar
18294
+ * ---
18295
+ * The Avatar component is normally used to display circular photos of the user's profile.
18296
+ *
18297
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.
18298
+ */
18299
+ type AvatarManifestProperties = Pick<AvatarProps, "size">;
18300
+ type AvatarProperties = WebComponentProperties<AvatarManifestProperties>;
18301
+
18302
+ declare const RaruiAvatar_base: (new (...args: any[]) => {
18303
+ ariaLabel: string | null;
18304
+ ariaLabelledBy: string | null;
18305
+ ariaDescribedBy: string | null;
18306
+ }) & typeof LitElement;
18307
+ declare class RaruiAvatar extends RaruiAvatar_base {
18308
+ size?: AvatarProperties["size"];
18309
+ static styles: CSSResult;
18310
+ render(): TemplateResult<1>;
18311
+ private handleSlotChange;
18312
+ private handleImageError;
18313
+ private handleImageLoad;
18314
+ }
18315
+
18316
+ declare global {
18317
+ interface HTMLElementTagNameMap {
18318
+ "rarui-badge": RaruiBagde;
18319
+ }
18320
+ }
18321
+ /**
18322
+ * ## Rarui Badge
18323
+ * ---
18324
+ * The Badge components are only used to transmit dynamic information, such as a connection or status.
18325
+ *
18326
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
18327
+ */
18328
+ type BadgeManifestProperties = BadgeProps;
18329
+ type BadgeProperties = WebComponentProperties<BadgeManifestProperties>;
18330
+
18331
+ declare const RaruiBagde_base: (new (...args: any[]) => {
18332
+ ariaLabel: string | null;
18333
+ ariaLabelledBy: string | null;
18334
+ ariaDescribedBy: string | null;
18335
+ }) & typeof LitElement;
18336
+ declare class RaruiBagde extends RaruiBagde_base {
18337
+ variant?: BadgeProperties["variant"];
18338
+ size?: BadgeProperties["size"];
18339
+ appearance?: BadgeProperties["appearance"];
18340
+ static styles: CSSResult;
18341
+ render(): TemplateResult<1>;
18342
+ }
18343
+
18344
+ declare global {
18345
+ interface HTMLElementTagNameMap {
18346
+ "rarui-divider": RaruiDivider;
18347
+ }
18348
+ }
18349
+ /**
18350
+ * ## Rarui Divider
18351
+ * ---
18352
+ * A Divider is a thin line used to separate or group content in lists and layouts.
18353
+ *
18354
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.
18355
+ */
18356
+ type DividerManifestProperties = DividerProps;
18357
+ type DividerProperties = WebComponentProperties<DividerManifestProperties>;
18358
+
18359
+ declare const RaruiDivider_base: (new (...args: any[]) => {
18360
+ cssProps: Record<string, any>;
18361
+ sprinkleAttrs: Record<string, any>;
18362
+ }) & (new (...args: any[]) => {
18363
+ ariaLabel: string | null;
18364
+ ariaLabelledBy: string | null;
18365
+ ariaDescribedBy: string | null;
18366
+ }) & typeof LitElement;
18367
+ declare class RaruiDivider extends RaruiDivider_base {
18368
+ sprinkleAttrs: Record<string, string>;
18369
+ direction?: DividerProperties["direction"];
18370
+ type?: DividerProperties["type"];
18371
+ thickness?: DividerProperties["thickness"];
18372
+ color?: DividerProperties["color"];
18373
+ size?: DividerProperties["size"];
18374
+ private get _isPercentageSize();
18375
+ static styles: CSSResult;
18376
+ updated(changedProperties: PropertyValues): void;
18377
+ connectedCallback(): void;
18378
+ private _updateHostWidth;
18379
+ render(): TemplateResult<1>;
18380
+ }
18381
+
18382
+ declare global {
18383
+ interface HTMLElementTagNameMap {
18384
+ "rarui-icon": RaruiIcon;
18385
+ }
18386
+ }
18387
+ /**
18388
+ * ## Rarui Icon
18389
+ * ---
18390
+ * Iconography used in the system based on Google's Material Design.
18391
+ *
18392
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/icon) for more details.
18393
+ */
18394
+ type Sizes = "small" | "medium" | "large";
18395
+ type IconManifestProperties = IconProps & {
18396
+ /**
18397
+ * Name of the icon to be rendered (must be in the @rarui/icons package).
18398
+ */
18399
+ name: IconName;
18400
+ /**
18401
+ * Icon size, can be 'small' |'medium' |'large' or a number.
18402
+ * @default medium
18403
+ */
18404
+ size?: Sizes | number;
18405
+ };
18406
+ type IconProperties = WebComponentProperties<IconManifestProperties>;
18407
+
18408
+ declare const RaruiIcon_base: (new (...args: any[]) => {
18409
+ ariaLabel: string | null;
18410
+ ariaLabelledBy: string | null;
18411
+ ariaDescribedBy: string | null;
18412
+ }) & (new (...args: any[]) => {
18413
+ cssProps: Record<string, any>;
18414
+ sprinkleAttrs: Record<string, any>;
18415
+ }) & typeof LitElement;
18416
+ declare class RaruiIcon extends RaruiIcon_base {
18417
+ sprinkleAttrs: Record<string, string>;
18418
+ name: IconProperties["name"];
18419
+ size: Sizes | string;
18420
+ static styles: CSSResult;
18421
+ private getSvgWithSize;
18422
+ render(): TemplateResult<1> | null;
18423
+ }
18424
+
18425
+ declare global {
18426
+ interface HTMLElementTagNameMap {
18427
+ "rarui-label": RaruiLabel;
18428
+ }
18429
+ }
18430
+ /**
18431
+ * ## Rarui Label
18432
+ * ---
18433
+ * The label component allows us to name elements within a form.
18434
+ *
18435
+ See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
18436
+ */
18437
+ type LabelManifestProperties = {
18438
+ /**
18439
+ * The for attribute specifies which form element a label is bound to.
18440
+ */
18441
+ for?: string;
18442
+ /**
18443
+ * Specifies whether the label is hidden or not
18444
+ * @default false
18445
+ */
18446
+ hidden?: boolean;
18447
+ };
18448
+ type LabelProperties = WebComponentProperties<LabelManifestProperties>;
18449
+
18450
+ declare const RaruiLabel_base: (new (...args: any[]) => {
18451
+ ariaLabel: string | null;
18452
+ ariaLabelledBy: string | null;
18453
+ ariaDescribedBy: string | null;
18454
+ }) & typeof LitElement;
18455
+ declare class RaruiLabel extends RaruiLabel_base {
18456
+ for: LabelProperties["for"];
18457
+ hidden: boolean;
18458
+ static styles: CSSResult;
18459
+ render(): TemplateResult<1>;
18460
+ private _handleClick;
18461
+ }
18462
+
17186
18463
  declare global {
17187
18464
  interface HTMLElementTagNameMap {
17188
18465
  "rarui-stepper-step": RaruiStepperStep;
@@ -17446,7 +18723,7 @@ declare global {
17446
18723
  *
17447
18724
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
17448
18725
  */
17449
- type ProgressManifestProperties = ProgressProps$1;
18726
+ type ProgressManifestProperties = ProgressProps;
17450
18727
  type ProgressProperties = WebComponentProperties<ProgressManifestProperties>;
17451
18728
 
17452
18729
  declare const RaruiProgress_base: (new (...args: any[]) => {