@rarui/components 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/custom-elements.json +1259 -121
- package/dist/index.d.ts +315 -0
- package/dist/index.js +173 -112
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -16179,6 +16179,91 @@ declare const borderColorProperties: {
|
|
|
16179
16179
|
warning: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16180
16180
|
};
|
|
16181
16181
|
|
|
16182
|
+
declare const chipStyles: {
|
|
16183
|
+
chip: RuntimeFn<{
|
|
16184
|
+
/**
|
|
16185
|
+
* Specifies whether the chip will be displayed in the pill shape
|
|
16186
|
+
* @default false
|
|
16187
|
+
*/
|
|
16188
|
+
pill: {
|
|
16189
|
+
true: {
|
|
16190
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16191
|
+
};
|
|
16192
|
+
};
|
|
16193
|
+
/**
|
|
16194
|
+
* Specifies whether the chip is selected
|
|
16195
|
+
* @default false
|
|
16196
|
+
*/
|
|
16197
|
+
selected: {
|
|
16198
|
+
true: {
|
|
16199
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16200
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16201
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16202
|
+
":hover": {
|
|
16203
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16204
|
+
};
|
|
16205
|
+
};
|
|
16206
|
+
};
|
|
16207
|
+
/**
|
|
16208
|
+
* Specifies the size of the chip
|
|
16209
|
+
* @default medium
|
|
16210
|
+
*/
|
|
16211
|
+
size: {
|
|
16212
|
+
medium: {
|
|
16213
|
+
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16214
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16215
|
+
height: "2rem";
|
|
16216
|
+
};
|
|
16217
|
+
small: {
|
|
16218
|
+
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16219
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16220
|
+
height: "1.5rem";
|
|
16221
|
+
};
|
|
16222
|
+
};
|
|
16223
|
+
/**
|
|
16224
|
+
* Specifies whether to handle text overflow within the chip.
|
|
16225
|
+
* When true, overflowing text is typically truncated with an ellipsis.
|
|
16226
|
+
* @default false
|
|
16227
|
+
*/
|
|
16228
|
+
textOverflow: {
|
|
16229
|
+
true: {
|
|
16230
|
+
minWidth: "auto";
|
|
16231
|
+
width: "100%";
|
|
16232
|
+
};
|
|
16233
|
+
};
|
|
16234
|
+
}>;
|
|
16235
|
+
content: RuntimeFn<{
|
|
16236
|
+
/**
|
|
16237
|
+
* Specifies whether to handle text overflow within the chip.
|
|
16238
|
+
* When true, overflowing text is typically truncated with an ellipsis.
|
|
16239
|
+
*/
|
|
16240
|
+
textOverflow: {
|
|
16241
|
+
true: {
|
|
16242
|
+
textOverflow: "ellipsis";
|
|
16243
|
+
whiteSpace: "nowrap";
|
|
16244
|
+
width: "100%";
|
|
16245
|
+
display: "block";
|
|
16246
|
+
overflow: "hidden";
|
|
16247
|
+
};
|
|
16248
|
+
};
|
|
16249
|
+
}>;
|
|
16250
|
+
close: string;
|
|
16251
|
+
overlay: string;
|
|
16252
|
+
};
|
|
16253
|
+
declare const paddingProperties: {
|
|
16254
|
+
medium: string;
|
|
16255
|
+
small: string;
|
|
16256
|
+
};
|
|
16257
|
+
|
|
16258
|
+
type ChipVariants = NonNullable<RecipeVariants<typeof chipStyles.chip>>;
|
|
16259
|
+
type ChipDynamicProperties = Pick<StandardLonghandProperties, "textTransform">;
|
|
16260
|
+
interface ChipSprinkle extends ChipDynamicProperties {
|
|
16261
|
+
/**
|
|
16262
|
+
* The padding properties are used to generate space around an chip's content area.
|
|
16263
|
+
*/
|
|
16264
|
+
padding?: AddDollar<keyof typeof paddingProperties> | Conditions<AddDollar<keyof typeof paddingProperties>>;
|
|
16265
|
+
}
|
|
16266
|
+
|
|
16182
16267
|
declare const dividerBorderWidthProperties: {
|
|
16183
16268
|
"1": string;
|
|
16184
16269
|
"2": string;
|
|
@@ -16208,6 +16293,14 @@ interface DividerSprinkle {
|
|
|
16208
16293
|
color?: AddDollar<keyof typeof borderColorProperties> | Conditions<AddDollar<keyof typeof borderColorProperties>>;
|
|
16209
16294
|
}
|
|
16210
16295
|
|
|
16296
|
+
type IconDynamicProperties = Pick<StandardLonghandProperties, "cursor">;
|
|
16297
|
+
interface IconSprinkle extends IconDynamicProperties {
|
|
16298
|
+
/**
|
|
16299
|
+
* The color property sets the icon.
|
|
16300
|
+
*/
|
|
16301
|
+
color?: AddDollar<keyof typeof colorProperties> | Conditions<AddDollar<keyof typeof colorProperties>>;
|
|
16302
|
+
}
|
|
16303
|
+
|
|
16211
16304
|
declare const textLineHeightProperties: {
|
|
16212
16305
|
xxs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16213
16306
|
xs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -16593,6 +16686,112 @@ declare const checkboxStyles: {
|
|
|
16593
16686
|
|
|
16594
16687
|
type CheckboxVariants = NonNullable<RecipeVariants<typeof checkboxStyles.checkbox>>;
|
|
16595
16688
|
|
|
16689
|
+
declare const iconButtonStyles: {
|
|
16690
|
+
iconButton: RuntimeFn<{
|
|
16691
|
+
/**
|
|
16692
|
+
* Determines the visual style of the icon button, influencing its color scheme and appearance.
|
|
16693
|
+
* @default brand
|
|
16694
|
+
*/
|
|
16695
|
+
appearance: {
|
|
16696
|
+
brand: {
|
|
16697
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16698
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16699
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16700
|
+
};
|
|
16701
|
+
danger: {
|
|
16702
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16703
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16704
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16705
|
+
};
|
|
16706
|
+
success: {
|
|
16707
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16708
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16709
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16710
|
+
};
|
|
16711
|
+
warning: {
|
|
16712
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16713
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16714
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16715
|
+
};
|
|
16716
|
+
neutral: {
|
|
16717
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16718
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16719
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16720
|
+
};
|
|
16721
|
+
inverted: {
|
|
16722
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16723
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16724
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16725
|
+
};
|
|
16726
|
+
};
|
|
16727
|
+
/**
|
|
16728
|
+
* Defines the size of the icon button component.
|
|
16729
|
+
* @default medium
|
|
16730
|
+
*/
|
|
16731
|
+
size: {
|
|
16732
|
+
large: {
|
|
16733
|
+
height: "3rem";
|
|
16734
|
+
width: "3rem";
|
|
16735
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16736
|
+
};
|
|
16737
|
+
medium: {
|
|
16738
|
+
height: "2.5rem";
|
|
16739
|
+
width: "2.5rem";
|
|
16740
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16741
|
+
};
|
|
16742
|
+
small: {
|
|
16743
|
+
height: "2rem";
|
|
16744
|
+
width: "2rem";
|
|
16745
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16746
|
+
};
|
|
16747
|
+
};
|
|
16748
|
+
variant: {
|
|
16749
|
+
/**
|
|
16750
|
+
* Defines the visual variant of the icon button, affecting its background style, border and text.
|
|
16751
|
+
* @default solid
|
|
16752
|
+
*/
|
|
16753
|
+
solid: {
|
|
16754
|
+
selectors: {
|
|
16755
|
+
"&:hover:after": {
|
|
16756
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16757
|
+
};
|
|
16758
|
+
"&:active:after": {
|
|
16759
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16760
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16761
|
+
};
|
|
16762
|
+
};
|
|
16763
|
+
};
|
|
16764
|
+
outlined: {
|
|
16765
|
+
backgroundColor: "transparent";
|
|
16766
|
+
};
|
|
16767
|
+
ghost: {
|
|
16768
|
+
backgroundColor: "transparent";
|
|
16769
|
+
borderColor: "transparent";
|
|
16770
|
+
};
|
|
16771
|
+
tonal: {
|
|
16772
|
+
borderColor: "transparent";
|
|
16773
|
+
};
|
|
16774
|
+
};
|
|
16775
|
+
/**
|
|
16776
|
+
* Defines if the button should have rounded edges.
|
|
16777
|
+
*
|
|
16778
|
+
* - `true`: The button will be rendered with completely rounded edges, useful for circular -shaped icons.
|
|
16779
|
+
* - `false` (default): The button will have standard edges or defined by the component style.
|
|
16780
|
+
* @default false
|
|
16781
|
+
*/
|
|
16782
|
+
rounded: {
|
|
16783
|
+
true: {
|
|
16784
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16785
|
+
":after": {
|
|
16786
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16787
|
+
};
|
|
16788
|
+
};
|
|
16789
|
+
};
|
|
16790
|
+
}>;
|
|
16791
|
+
};
|
|
16792
|
+
|
|
16793
|
+
type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
|
|
16794
|
+
|
|
16596
16795
|
declare const progressStyles: {
|
|
16597
16796
|
progress: string;
|
|
16598
16797
|
bar: string;
|
|
@@ -16835,6 +17034,8 @@ interface DividerProps extends DividerSprinkle {
|
|
|
16835
17034
|
direction?: "vertical" | "horizontal";
|
|
16836
17035
|
}
|
|
16837
17036
|
|
|
17037
|
+
type IconProps = IconSprinkle;
|
|
17038
|
+
|
|
16838
17039
|
interface TitleProps extends TitleSprinkle {
|
|
16839
17040
|
/**
|
|
16840
17041
|
* Type of html tag to create for the title.
|
|
@@ -16935,6 +17136,24 @@ interface CheckboxTyping {
|
|
|
16935
17136
|
}
|
|
16936
17137
|
type CheckboxProps = CheckboxTyping & CheckboxVariants;
|
|
16937
17138
|
|
|
17139
|
+
interface ChipTyping extends ChipSprinkle {
|
|
17140
|
+
/**
|
|
17141
|
+
* Displays a delete icon and adds user interaction.
|
|
17142
|
+
* @default false
|
|
17143
|
+
*/
|
|
17144
|
+
closeable?: boolean;
|
|
17145
|
+
}
|
|
17146
|
+
type ChipProps = ChipTyping & ChipVariants;
|
|
17147
|
+
|
|
17148
|
+
interface IconButtonTyping {
|
|
17149
|
+
/**
|
|
17150
|
+
* Disables the button, disallowing user interaction.
|
|
17151
|
+
* @default false
|
|
17152
|
+
*/
|
|
17153
|
+
disabled?: boolean;
|
|
17154
|
+
}
|
|
17155
|
+
type IconButtonProps = IconButtonTyping & IconButtonVariants;
|
|
17156
|
+
|
|
16938
17157
|
interface RadioButtonTyping {
|
|
16939
17158
|
/**
|
|
16940
17159
|
* Sets radio state to activated or deactivated.
|
|
@@ -17035,6 +17254,42 @@ declare class RaruiDivider extends LitElement {
|
|
|
17035
17254
|
render(): TemplateResult<1>;
|
|
17036
17255
|
}
|
|
17037
17256
|
|
|
17257
|
+
type IconName = "phone-call-outlined" | "add-circle-filled" | "add-circle-outlined" | "alarm-filled" | "alarm-outlined" | "alternate-email" | "archive-all-filled" | "archive-all-outlined" | "archive-filled" | "archive-in-filled" | "archive-in-outlined" | "archive-outlined" | "arrow-alt-down" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-circle-down-filled" | "arrow-circle-down-outlined" | "arrow-circle-up-filled" | "arrow-circle-up-outlined" | "arrow-circled-down-circle-outlined" | "arrow-circled-down-filled" | "arrow-circled-up-circle-outlined" | "arrow-direction-down-up" | "arrow-direction-left-right" | "arrow-direction-right-left" | "arrow-direction-up-down" | "arrow-directions" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-first-page" | "arrow-last-page" | "arrow-left" | "arrow-line-down" | "arrow-line-left" | "arrow-line-long-down" | "arrow-line-long-left" | "arrow-line-long-right" | "arrow-line-long-up" | "arrow-line-right" | "arrow-line-up" | "arrow-right" | "arrow-subdirectory-left" | "arrow-subdirectory-right" | "arrow-trending-down" | "arrow-trending-up" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attachment" | "backspace" | "backspace-outlined" | "barley" | "barley-off" | "bolt-circle-filled" | "bolt-circle-outlined" | "bookmark-filled" | "bookmark-outlined" | "calendar-date-range-filled" | "calendar-date-range-outlined" | "calendar-event-filled" | "calendar-event-outlined" | "calendar-filled" | "calendar-outlined" | "camera-filled" | "camera-outlined" | "camera-shutter-filled" | "camera-shutter-outlined" | "cancel-circle-filled" | "cancel-circle-outlined" | "car-filled" | "car-outlined" | "chart-bars-filled" | "chart-bars-outlined" | "chat-bubble-filled" | "chat-bubble-outlined" | "chat-message-filled" | "chat-message-outlined" | "check" | "check-circle-filled" | "check-circle-outlined" | "check-small" | "chevron-big-down" | "chevron-big-left" | "chevron-big-right" | "chevron-big-up" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock-filled" | "clock-outlined" | "close" | "cloud-filled" | "cloud-outlined" | "contact-support-filled" | "contact-support-outlined" | "content-copy-filled" | "content-copy-outlined" | "content-paste-filled" | "content-paste-outlined" | "conversation-filled" | "conversation-outlined" | "copyright-filled" | "copyright-outlined" | "credit-card-filled" | "credit-card-outlined" | "danger-filled" | "danger-outlined" | "dashboard-filled" | "dashboard-outlined" | "document-filled" | "document-outlined" | "document-text-filled" | "document-text-outlined" | "download-filled" | "download-outlined" | "eco-filled" | "eco-outlined" | "edit-filled" | "edit-outlined" | "euro-symbol" | "exit-fullscreen" | "eye-filled" | "eye-off-filled" | "eye-off-outlined" | "eye-outlined" | "facebook-filled" | "facebook-outlined" | "file-copy-filled" | "file-copy-outlined" | "filter-alt-filled" | "filter-alt-outlined" | "filter-list" | "fingerprint" | "flag-filled" | "flag-outlined" | "flag-tour-filled" | "flag-tour-outlined" | "flower-filled" | "flower-outlined" | "folder-filled" | "folder-list-filled" | "folder-list-outlined" | "folder-open" | "folder-outlined" | "fruit-apple-filled" | "fruit-apple-outlined" | "fullscreen-filled" | "fullscreen-outlined" | "google" | "google-play" | "headphones-filled" | "headphones-outlined" | "heart-filled" | "heart-outlined" | "help-filled" | "help-outlined" | "history" | "home-filled" | "home-outlined" | "image-filled" | "image-outlined" | "info-circle-filled" | "info-circle-outlined" | "instagram" | "instagram-outlined" | "label-filled" | "label-important-filled" | "label-important-outlined" | "label-outlined" | "language" | "lightbulb-filled" | "lightbulb-outlined" | "link" | "linkedin-filled" | "linkedin-outlined" | "loader" | "loading" | "lock-filled" | "lock-open-filled" | "lock-open-outlined" | "lock-outlined" | "login" | "logout" | "mail-filled" | "mail-open-filled" | "mail-open-outlined" | "mail-outlined" | "menu" | "menu-large" | "microphone-filled" | "microphone-outlined" | "minus" | "money-filled" | "money-outlined" | "mood-bad" | "mood-bad-outlined" | "mood-filled" | "mood-outlined" | "more-horiz" | "more-vert" | "music-note-filled" | "music-note-outlined" | "notification-filled" | "notification-outlined" | "open-in-new" | "package" | "package-outlined" | "pause-filled" | "pause-outlined" | "pets-filled" | "pets-outlined" | "phone-call-filled" | "phone-filled" | "phone-outlined" | "pin-filled" | "pin-outlined" | "play-arrow-filled" | "play-arrow-outlined" | "play-circle-filled" | "play-circle-outlined" | "plus" | "power-settings-new" | "printer-filled" | "printer-outlined" | "push-pin-filled" | "push-pin-outlined" | "receipt-filled" | "receipt-outlined" | "recycle" | "redeem" | "redo" | "refresh" | "refresh-alt" | "remove" | "remove-circle-filled" | "remove-circle-outlined" | "repeat" | "reply" | "save-alt" | "screen-outlined" | "search" | "send-filled" | "send-outlined" | "sentiment-dissatisfied-filled" | "sentiment-dissatisfied-outlined" | "sentiment-neutral-filled" | "sentiment-neutral-outlined" | "sentiment-satisfied-filled" | "sentiment-satisfied-outlined" | "sentiment-very-dissatisfied-filled" | "sentiment-very-dissatisfied-outlined" | "sentiment-very-satisfied-filled" | "sentiment-very-satisfied-outlined" | "settings-filled" | "settings-outlined" | "share-filled" | "share-outlined" | "shopping-bag-filled" | "shopping-bag-outlined" | "shopping-cart-add" | "shopping-cart-filled" | "shopping-cart-outlined" | "sprout" | "sprout-outline-outlined" | "star-filled" | "star-outlined" | "stay-primary-portrait" | "storefront" | "tag-filled" | "tag-outlined" | "textsms-filled" | "textsms-outlined" | "thumb-down-filled" | "thumb-down-outlined" | "thumb-up-filled" | "thumb-up-outlined" | "tiktok" | "toc" | "trash-filled" | "trash-outlined" | "truck-filled" | "truck-outlined" | "tune" | "twitter" | "undo" | "upload-filled" | "upload-outlined" | "user-circle-filled" | "user-circle-outlined" | "user-filled" | "user-outlined" | "user-square-filled" | "user-square-outlined" | "users-filled" | "users-outlined" | "view-grid-filled" | "view-grid-outlined" | "view-list-filled" | "view-list-outlined" | "warning-bubble-filled" | "warning-bubble-outlined" | "warning-filled" | "warning-outlined" | "whatsapp-filled" | "whatsapp-outlined" | "work-filled" | "work-outlined" | "wysiwyg-filled" | "youtube-filled" | "youtube-outlined" | "zoom-in" | "zoom-out";
|
|
17258
|
+
|
|
17259
|
+
declare global {
|
|
17260
|
+
interface HTMLElementTagNameMap {
|
|
17261
|
+
"rarui-icon": RaruiIcon;
|
|
17262
|
+
}
|
|
17263
|
+
}
|
|
17264
|
+
/**
|
|
17265
|
+
* ## Rarui Icon
|
|
17266
|
+
* ---
|
|
17267
|
+
* Iconography used in the system based on Google's Material Design.
|
|
17268
|
+
*
|
|
17269
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/icon) for more details.
|
|
17270
|
+
*/
|
|
17271
|
+
type Sizes = "small" | "medium" | "large";
|
|
17272
|
+
type IconProperties = IconProps & {
|
|
17273
|
+
/**
|
|
17274
|
+
* Name of the icon to be rendered (must be in the @rarui/icons package).
|
|
17275
|
+
*/
|
|
17276
|
+
name: IconName;
|
|
17277
|
+
/**
|
|
17278
|
+
* Icon size, can be 'small' |'medium' |'large' or a number.
|
|
17279
|
+
* @default medium
|
|
17280
|
+
*/
|
|
17281
|
+
size?: Sizes | number;
|
|
17282
|
+
};
|
|
17283
|
+
|
|
17284
|
+
declare class RaruiIcon extends LitElement {
|
|
17285
|
+
sprinkleAttrs: Record<string, string>;
|
|
17286
|
+
name: IconProperties["name"];
|
|
17287
|
+
size: Sizes | string;
|
|
17288
|
+
static styles: CSSResult;
|
|
17289
|
+
private getSvgWithSize;
|
|
17290
|
+
render(): TemplateResult<1> | null;
|
|
17291
|
+
}
|
|
17292
|
+
|
|
17038
17293
|
declare global {
|
|
17039
17294
|
interface HTMLElementTagNameMap {
|
|
17040
17295
|
"rarui-text": RaruiText;
|
|
@@ -17259,6 +17514,66 @@ declare class RaruiCheckbox extends LitElement {
|
|
|
17259
17514
|
private _onChange;
|
|
17260
17515
|
}
|
|
17261
17516
|
|
|
17517
|
+
declare global {
|
|
17518
|
+
interface HTMLElementTagNameMap {
|
|
17519
|
+
"rarui-chip": RaruiChip;
|
|
17520
|
+
}
|
|
17521
|
+
}
|
|
17522
|
+
/**
|
|
17523
|
+
* ## Rarui Chip
|
|
17524
|
+
* ---
|
|
17525
|
+
* Chip component helps people enter information, make selections, filter content or trigger actions.
|
|
17526
|
+
*
|
|
17527
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/input/button) for more details.
|
|
17528
|
+
*/
|
|
17529
|
+
type ChipProperties = Partial<ChipProps> & {
|
|
17530
|
+
/**
|
|
17531
|
+
* Disables the chip, disallowing user interaction.
|
|
17532
|
+
* @default false
|
|
17533
|
+
*/
|
|
17534
|
+
disabled?: boolean;
|
|
17535
|
+
};
|
|
17536
|
+
|
|
17537
|
+
declare class RaruiChip extends LitElement {
|
|
17538
|
+
sprinkleAttrs: Record<string, string>;
|
|
17539
|
+
padding: ChipProperties["padding"];
|
|
17540
|
+
size?: ChipProperties["size"];
|
|
17541
|
+
closeable: ChipProperties["closeable"];
|
|
17542
|
+
pill: ChipProperties["pill"];
|
|
17543
|
+
textTransform?: ChipProperties["textTransform"];
|
|
17544
|
+
textOverflow?: ChipProperties["textOverflow"];
|
|
17545
|
+
selected?: ChipProperties["selected"];
|
|
17546
|
+
disabled?: ChipProperties["disabled"];
|
|
17547
|
+
static styles: CSSResult;
|
|
17548
|
+
private handleClick;
|
|
17549
|
+
private handleCloseClick;
|
|
17550
|
+
render(): TemplateResult<1>;
|
|
17551
|
+
}
|
|
17552
|
+
|
|
17553
|
+
declare global {
|
|
17554
|
+
interface HTMLElementTagNameMap {
|
|
17555
|
+
"rarui-icon-button": RaruiIconButton;
|
|
17556
|
+
}
|
|
17557
|
+
}
|
|
17558
|
+
/**
|
|
17559
|
+
* ## Rarui Icon Button
|
|
17560
|
+
* ---
|
|
17561
|
+
* Button allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.
|
|
17562
|
+
*
|
|
17563
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/input/button) for more details.
|
|
17564
|
+
*/
|
|
17565
|
+
type IconButtonProperties = Partial<IconButtonProps>;
|
|
17566
|
+
|
|
17567
|
+
declare class RaruiIconButton extends LitElement {
|
|
17568
|
+
size: IconButtonProperties["size"];
|
|
17569
|
+
variant: IconButtonProperties["variant"];
|
|
17570
|
+
appearance: IconButtonProperties["appearance"];
|
|
17571
|
+
disabled: IconButtonProperties["disabled"];
|
|
17572
|
+
rounded: IconButtonProperties["rounded"];
|
|
17573
|
+
static styles: CSSResult;
|
|
17574
|
+
render(): TemplateResult<1>;
|
|
17575
|
+
}
|
|
17576
|
+
|
|
17262
17577
|
declare global {
|
|
17263
17578
|
interface HTMLElementTagNameMap {
|
|
17264
17579
|
"rarui-radio-button": RaruiRadioButton;
|