@rarui/components 1.13.0 → 1.15.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 +142 -26
- package/dist/index.d.ts +339 -22
- package/dist/index.js +200 -100
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -16793,6 +16793,29 @@ declare const iconButtonStyles: {
|
|
|
16793
16793
|
|
|
16794
16794
|
type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
|
|
16795
16795
|
|
|
16796
|
+
declare const styles$5: {
|
|
16797
|
+
label: RuntimeFn<{
|
|
16798
|
+
/**
|
|
16799
|
+
* Specifies whether the label is hidden or not
|
|
16800
|
+
* @default false
|
|
16801
|
+
*/
|
|
16802
|
+
hidden: {
|
|
16803
|
+
true: {
|
|
16804
|
+
border: "0";
|
|
16805
|
+
clip: "rect(0 0 0 0)";
|
|
16806
|
+
height: "1px";
|
|
16807
|
+
margin: "-1px";
|
|
16808
|
+
overflow: "hidden";
|
|
16809
|
+
padding: "0";
|
|
16810
|
+
position: "absolute";
|
|
16811
|
+
width: "1px";
|
|
16812
|
+
};
|
|
16813
|
+
};
|
|
16814
|
+
}>;
|
|
16815
|
+
};
|
|
16816
|
+
|
|
16817
|
+
type LabelVariants = RecipeVariants<typeof styles$5.label>;
|
|
16818
|
+
|
|
16796
16819
|
declare const styles$4: {
|
|
16797
16820
|
link: RuntimeFn<{
|
|
16798
16821
|
/**
|
|
@@ -17111,6 +17134,117 @@ declare const textareaStyles: {
|
|
|
17111
17134
|
|
|
17112
17135
|
type TextareaVariants = NonNullable<RecipeVariants<typeof textareaStyles.textarea>>;
|
|
17113
17136
|
|
|
17137
|
+
declare const styles$1: {
|
|
17138
|
+
toggle: RuntimeFn<{
|
|
17139
|
+
/**
|
|
17140
|
+
* Specifies the size of the toggle, controlling its dimensions.
|
|
17141
|
+
* @default large
|
|
17142
|
+
*/
|
|
17143
|
+
size: {
|
|
17144
|
+
large: {
|
|
17145
|
+
":before": {
|
|
17146
|
+
width: "1.5rem";
|
|
17147
|
+
height: "1.5rem";
|
|
17148
|
+
};
|
|
17149
|
+
":after": {
|
|
17150
|
+
top: "-.3125rem";
|
|
17151
|
+
left: "-.3125rem";
|
|
17152
|
+
height: "2.75rem";
|
|
17153
|
+
width: "2.75rem";
|
|
17154
|
+
};
|
|
17155
|
+
};
|
|
17156
|
+
small: {
|
|
17157
|
+
":before": {
|
|
17158
|
+
width: "1rem";
|
|
17159
|
+
height: "1rem";
|
|
17160
|
+
};
|
|
17161
|
+
":after": {
|
|
17162
|
+
top: "-.4375rem";
|
|
17163
|
+
left: "-.5rem";
|
|
17164
|
+
height: "2.5rem";
|
|
17165
|
+
width: "2.5rem";
|
|
17166
|
+
};
|
|
17167
|
+
};
|
|
17168
|
+
};
|
|
17169
|
+
/**
|
|
17170
|
+
* Specifies whether the radiobutton is in error state
|
|
17171
|
+
* @default false
|
|
17172
|
+
*/
|
|
17173
|
+
error: {
|
|
17174
|
+
true: {
|
|
17175
|
+
":before": {
|
|
17176
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17177
|
+
};
|
|
17178
|
+
selectors: {
|
|
17179
|
+
"&:has(input:checked):before": {
|
|
17180
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17181
|
+
};
|
|
17182
|
+
};
|
|
17183
|
+
};
|
|
17184
|
+
};
|
|
17185
|
+
}>;
|
|
17186
|
+
input: string;
|
|
17187
|
+
slider: RuntimeFn<{
|
|
17188
|
+
size: {
|
|
17189
|
+
large: {
|
|
17190
|
+
width: "3.25rem";
|
|
17191
|
+
height: "2rem";
|
|
17192
|
+
":after": {
|
|
17193
|
+
content: "";
|
|
17194
|
+
};
|
|
17195
|
+
};
|
|
17196
|
+
small: {
|
|
17197
|
+
width: "2.75rem";
|
|
17198
|
+
height: "1.5rem";
|
|
17199
|
+
};
|
|
17200
|
+
};
|
|
17201
|
+
error: {
|
|
17202
|
+
true: {
|
|
17203
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17204
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17205
|
+
"&[aria-disabled='true']": {
|
|
17206
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17207
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17208
|
+
};
|
|
17209
|
+
};
|
|
17210
|
+
};
|
|
17211
|
+
}>;
|
|
17212
|
+
unchecked: RuntimeFn<{
|
|
17213
|
+
size: {
|
|
17214
|
+
large: {
|
|
17215
|
+
left: "1rem";
|
|
17216
|
+
height: "1.5rem";
|
|
17217
|
+
width: "1.5rem";
|
|
17218
|
+
borderRadius: "0.75rem";
|
|
17219
|
+
};
|
|
17220
|
+
small: {
|
|
17221
|
+
left: "0.75rem";
|
|
17222
|
+
width: "1rem";
|
|
17223
|
+
height: "1rem";
|
|
17224
|
+
borderRadius: "0.5rem";
|
|
17225
|
+
};
|
|
17226
|
+
};
|
|
17227
|
+
}>;
|
|
17228
|
+
checked: RuntimeFn<{
|
|
17229
|
+
size: {
|
|
17230
|
+
large: {
|
|
17231
|
+
left: "2.25rem";
|
|
17232
|
+
height: "1.5rem";
|
|
17233
|
+
width: "1.5rem";
|
|
17234
|
+
borderRadius: "0.75rem";
|
|
17235
|
+
};
|
|
17236
|
+
small: {
|
|
17237
|
+
left: "2rem";
|
|
17238
|
+
width: "1rem";
|
|
17239
|
+
height: "1rem";
|
|
17240
|
+
borderRadius: "0.5rem";
|
|
17241
|
+
};
|
|
17242
|
+
};
|
|
17243
|
+
}>;
|
|
17244
|
+
};
|
|
17245
|
+
|
|
17246
|
+
type ToggleVariants = RecipeVariants<typeof styles$1.toggle>;
|
|
17247
|
+
|
|
17114
17248
|
declare const styles: {
|
|
17115
17249
|
tooltip: RuntimeFn<{
|
|
17116
17250
|
/**
|
|
@@ -17190,6 +17324,54 @@ interface CardSprinkle {
|
|
|
17190
17324
|
backgroundColor?: AddDollar<keyof typeof cardBackgroundColorProperties> | Conditions<AddDollar<keyof typeof cardBackgroundColorProperties>>;
|
|
17191
17325
|
}
|
|
17192
17326
|
|
|
17327
|
+
declare const paginationStyles: {
|
|
17328
|
+
container: RuntimeFn<{
|
|
17329
|
+
size: {
|
|
17330
|
+
dot: {
|
|
17331
|
+
gap: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17332
|
+
};
|
|
17333
|
+
small: {};
|
|
17334
|
+
large: {};
|
|
17335
|
+
};
|
|
17336
|
+
}>;
|
|
17337
|
+
item: RuntimeFn<{
|
|
17338
|
+
selected: {
|
|
17339
|
+
true: {
|
|
17340
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17341
|
+
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17342
|
+
":hover": {
|
|
17343
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17344
|
+
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17345
|
+
};
|
|
17346
|
+
};
|
|
17347
|
+
};
|
|
17348
|
+
/**
|
|
17349
|
+
* Specifies the size of the Pagination component.
|
|
17350
|
+
* @default large
|
|
17351
|
+
*/
|
|
17352
|
+
size: {
|
|
17353
|
+
dot: {
|
|
17354
|
+
width: "0.75rem";
|
|
17355
|
+
height: "0.75rem";
|
|
17356
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17357
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17358
|
+
};
|
|
17359
|
+
small: {
|
|
17360
|
+
minWidth: "2.5rem";
|
|
17361
|
+
height: "2.5rem";
|
|
17362
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17363
|
+
};
|
|
17364
|
+
large: {
|
|
17365
|
+
minWidth: "2.75rem";
|
|
17366
|
+
height: "2.75rem";
|
|
17367
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})`;
|
|
17368
|
+
};
|
|
17369
|
+
};
|
|
17370
|
+
}>;
|
|
17371
|
+
};
|
|
17372
|
+
|
|
17373
|
+
type PaginationVariants = Omit<NonNullable<RecipeVariants<typeof paginationStyles.item>>, "selected">;
|
|
17374
|
+
|
|
17193
17375
|
declare const stepperStyles: {
|
|
17194
17376
|
stepper: RuntimeFn<{
|
|
17195
17377
|
/**
|
|
@@ -17321,6 +17503,14 @@ interface TextProps extends TextSprinkle {
|
|
|
17321
17503
|
lineClamp?: number;
|
|
17322
17504
|
}
|
|
17323
17505
|
|
|
17506
|
+
interface LabelTyping {
|
|
17507
|
+
/**
|
|
17508
|
+
* The for attribute specifies which form element a label is bound to.
|
|
17509
|
+
*/
|
|
17510
|
+
htmlFor?: string;
|
|
17511
|
+
}
|
|
17512
|
+
type LabelProps = LabelTyping & LabelVariants;
|
|
17513
|
+
|
|
17324
17514
|
interface TooltipTyping {
|
|
17325
17515
|
/**
|
|
17326
17516
|
* Conditional for displaying the popover arrow.
|
|
@@ -17460,6 +17650,22 @@ interface TextareaProps extends TextareaVariants {
|
|
|
17460
17650
|
lines?: number;
|
|
17461
17651
|
}
|
|
17462
17652
|
|
|
17653
|
+
interface ToggleTyping {
|
|
17654
|
+
/**
|
|
17655
|
+
* The name of the input element.
|
|
17656
|
+
*/
|
|
17657
|
+
name: string;
|
|
17658
|
+
/**
|
|
17659
|
+
* Sets toggle state to activated or deactivated.
|
|
17660
|
+
*/
|
|
17661
|
+
selected?: boolean;
|
|
17662
|
+
/**
|
|
17663
|
+
* Text to be rendered inside the component
|
|
17664
|
+
*/
|
|
17665
|
+
label?: string;
|
|
17666
|
+
}
|
|
17667
|
+
type ToggleProps = ToggleTyping & ToggleVariants;
|
|
17668
|
+
|
|
17463
17669
|
interface BannerTyping {
|
|
17464
17670
|
/**
|
|
17465
17671
|
* A function to be called when the user closes the banner. This function is typically used to handle the closing action.
|
|
@@ -17492,6 +17698,33 @@ interface CardHeaderProps {
|
|
|
17492
17698
|
|
|
17493
17699
|
type LinkProps = LinkVariants;
|
|
17494
17700
|
|
|
17701
|
+
interface PaginationTyping {
|
|
17702
|
+
/**
|
|
17703
|
+
* The currently selected page.
|
|
17704
|
+
*/
|
|
17705
|
+
activePage: number;
|
|
17706
|
+
/**
|
|
17707
|
+
* The total number of pages.
|
|
17708
|
+
*/
|
|
17709
|
+
pageCount: number;
|
|
17710
|
+
/**
|
|
17711
|
+
* Determines whether page numbers should be shown.
|
|
17712
|
+
* @default true
|
|
17713
|
+
*/
|
|
17714
|
+
showNumbers?: boolean;
|
|
17715
|
+
/**
|
|
17716
|
+
* Determines whether page arrows should be shown.
|
|
17717
|
+
* @default true
|
|
17718
|
+
*/
|
|
17719
|
+
showArrows?: boolean;
|
|
17720
|
+
/**
|
|
17721
|
+
* Called with event and page number when a page is clicked.
|
|
17722
|
+
* @TJS-type (page: number) => void;
|
|
17723
|
+
*/
|
|
17724
|
+
onPageChange: (page: number) => void;
|
|
17725
|
+
}
|
|
17726
|
+
type PaginationProps = PaginationTyping & PaginationVariants;
|
|
17727
|
+
|
|
17495
17728
|
declare global {
|
|
17496
17729
|
interface HTMLElementTagNameMap {
|
|
17497
17730
|
"rarui-avatar": RaruiAvatar;
|
|
@@ -17502,7 +17735,7 @@ declare global {
|
|
|
17502
17735
|
* ---
|
|
17503
17736
|
* The Avatar component is normally used to display circular photos of the user's profile.
|
|
17504
17737
|
*
|
|
17505
|
-
|
|
17738
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.
|
|
17506
17739
|
*/
|
|
17507
17740
|
type AvatarProperties = Pick<AvatarProps, "size">;
|
|
17508
17741
|
|
|
@@ -17522,7 +17755,7 @@ declare global {
|
|
|
17522
17755
|
* ---
|
|
17523
17756
|
* The Badge components are only used to transmit dynamic information, such as a connection or status.
|
|
17524
17757
|
*
|
|
17525
|
-
|
|
17758
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
|
|
17526
17759
|
*/
|
|
17527
17760
|
type BadgeProperties = Partial<BadgeProps>;
|
|
17528
17761
|
|
|
@@ -17544,7 +17777,7 @@ declare global {
|
|
|
17544
17777
|
* ---
|
|
17545
17778
|
* A Divider is a thin line used to separate or group content in lists and layouts.
|
|
17546
17779
|
*
|
|
17547
|
-
|
|
17780
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.
|
|
17548
17781
|
*/
|
|
17549
17782
|
type DividerProperties = Partial<DividerProps>;
|
|
17550
17783
|
|
|
@@ -17571,7 +17804,7 @@ declare global {
|
|
|
17571
17804
|
* ---
|
|
17572
17805
|
* Iconography used in the system based on Google's Material Design.
|
|
17573
17806
|
*
|
|
17574
|
-
|
|
17807
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/icon) for more details.
|
|
17575
17808
|
*/
|
|
17576
17809
|
type Sizes = "small" | "medium" | "large";
|
|
17577
17810
|
type IconProperties = IconProps & {
|
|
@@ -17595,6 +17828,27 @@ declare class RaruiIcon extends LitElement {
|
|
|
17595
17828
|
render(): TemplateResult<1> | null;
|
|
17596
17829
|
}
|
|
17597
17830
|
|
|
17831
|
+
declare global {
|
|
17832
|
+
interface HTMLElementTagNameMap {
|
|
17833
|
+
"rarui-label": RaruiLabel;
|
|
17834
|
+
}
|
|
17835
|
+
}
|
|
17836
|
+
/**
|
|
17837
|
+
* ## Rarui Label
|
|
17838
|
+
* ---
|
|
17839
|
+
* The label component allows us to name elements within a form.
|
|
17840
|
+
*
|
|
17841
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
|
|
17842
|
+
*/
|
|
17843
|
+
type LabelProperties = Partial<LabelProps>;
|
|
17844
|
+
|
|
17845
|
+
declare class RaruiLabel extends LitElement {
|
|
17846
|
+
htmlFor: LabelProperties["htmlFor"];
|
|
17847
|
+
hidden: boolean;
|
|
17848
|
+
static styles: CSSResult;
|
|
17849
|
+
render(): TemplateResult<1>;
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17598
17852
|
declare global {
|
|
17599
17853
|
interface HTMLElementTagNameMap {
|
|
17600
17854
|
"rarui-stepper-step": RaruiStepperStep;
|
|
@@ -17605,7 +17859,7 @@ declare global {
|
|
|
17605
17859
|
* ---
|
|
17606
17860
|
* Stepper transmit progress through steps.
|
|
17607
17861
|
*
|
|
17608
|
-
|
|
17862
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.
|
|
17609
17863
|
*/
|
|
17610
17864
|
type StepperStepProperties = Partial<StepperStepProps>;
|
|
17611
17865
|
|
|
@@ -17629,7 +17883,7 @@ declare global {
|
|
|
17629
17883
|
* ---
|
|
17630
17884
|
* Stepper transmit progress through steps.
|
|
17631
17885
|
*
|
|
17632
|
-
|
|
17886
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.
|
|
17633
17887
|
*/
|
|
17634
17888
|
type StepperProperties = Partial<StepperProps>;
|
|
17635
17889
|
|
|
@@ -17652,7 +17906,7 @@ declare global {
|
|
|
17652
17906
|
* ---
|
|
17653
17907
|
* Text is a basic component that allows us to write blocks of text and give it formatting to use within other components, sections and pages of our application or website.
|
|
17654
17908
|
*
|
|
17655
|
-
|
|
17909
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
|
|
17656
17910
|
*/
|
|
17657
17911
|
type TextProperties = Omit<TextProps, "as">;
|
|
17658
17912
|
|
|
@@ -17676,7 +17930,7 @@ declare global {
|
|
|
17676
17930
|
* ---
|
|
17677
17931
|
* Tilte is a basic component that allows you to give titles and more hierarchy to blocks of text for sections or header components.
|
|
17678
17932
|
*
|
|
17679
|
-
|
|
17933
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
|
|
17680
17934
|
*/
|
|
17681
17935
|
type TitleProperties = Partial<TitleProps>;
|
|
17682
17936
|
|
|
@@ -17711,7 +17965,7 @@ declare global {
|
|
|
17711
17965
|
* ---
|
|
17712
17966
|
* Tooltips are informative, specific, and action-oriented text labels that provide contextual support
|
|
17713
17967
|
*
|
|
17714
|
-
|
|
17968
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/tooltip) for more details.
|
|
17715
17969
|
*/
|
|
17716
17970
|
type TooltipProperties = Partial<Omit<TooltipProps, "visible" | "onVisibility" | "portalId">> & {
|
|
17717
17971
|
/**
|
|
@@ -17776,7 +18030,7 @@ declare global {
|
|
|
17776
18030
|
* ---
|
|
17777
18031
|
* The Card component contains textual content, images, and actions about a topic.
|
|
17778
18032
|
*
|
|
17779
|
-
|
|
18033
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
|
|
17780
18034
|
*/
|
|
17781
18035
|
type ProgressCircleProperties = Partial<ProgressCircleProps>;
|
|
17782
18036
|
|
|
@@ -17798,7 +18052,7 @@ declare global {
|
|
|
17798
18052
|
* ---
|
|
17799
18053
|
* The Badge components are only used to transmit dynamic information, such as a connection or status.
|
|
17800
18054
|
*
|
|
17801
|
-
|
|
18055
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.
|
|
17802
18056
|
*/
|
|
17803
18057
|
type ProgressProperties = Partial<ProgressProps>;
|
|
17804
18058
|
|
|
@@ -17820,7 +18074,7 @@ declare global {
|
|
|
17820
18074
|
* Visual indicator that shows the current status or situation of an item or process.
|
|
17821
18075
|
* Useful for providing fast and understandable feedback to users.
|
|
17822
18076
|
*
|
|
17823
|
-
|
|
18077
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/status) for more details.
|
|
17824
18078
|
*/
|
|
17825
18079
|
type StatusProperties = Partial<StatusProps>;
|
|
17826
18080
|
|
|
@@ -17844,7 +18098,7 @@ declare global {
|
|
|
17844
18098
|
* ---
|
|
17845
18099
|
* Button allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.
|
|
17846
18100
|
*
|
|
17847
|
-
|
|
18101
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
|
|
17848
18102
|
*/
|
|
17849
18103
|
type ButtonProperties = Partial<ButtonProps> & {
|
|
17850
18104
|
/**
|
|
@@ -17876,7 +18130,7 @@ declare global {
|
|
|
17876
18130
|
* ---
|
|
17877
18131
|
* The Checkbox allows users to select one or more items from a set and can be used to enable or disable an option.
|
|
17878
18132
|
*
|
|
17879
|
-
|
|
18133
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.
|
|
17880
18134
|
*/
|
|
17881
18135
|
type CheckboxProperties = Partial<CheckboxProps>;
|
|
17882
18136
|
|
|
@@ -17901,7 +18155,7 @@ declare global {
|
|
|
17901
18155
|
* ---
|
|
17902
18156
|
* Chip component helps people enter information, make selections, filter content or trigger actions.
|
|
17903
18157
|
*
|
|
17904
|
-
|
|
18158
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
|
|
17905
18159
|
*/
|
|
17906
18160
|
type ChipProperties = Partial<ChipProps> & {
|
|
17907
18161
|
/**
|
|
@@ -17937,7 +18191,7 @@ declare global {
|
|
|
17937
18191
|
* ---
|
|
17938
18192
|
* Button allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.
|
|
17939
18193
|
*
|
|
17940
|
-
|
|
18194
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
|
|
17941
18195
|
*/
|
|
17942
18196
|
type IconButtonProperties = Partial<IconButtonProps>;
|
|
17943
18197
|
|
|
@@ -17961,7 +18215,7 @@ declare global {
|
|
|
17961
18215
|
* ---
|
|
17962
18216
|
* Radio Button allows users to select one option from a set. They are a selection control that usually appears when users are asked to make decisions or select an option from a set of choices.
|
|
17963
18217
|
*
|
|
17964
|
-
|
|
18218
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/radiobutton) for more details.
|
|
17965
18219
|
*/
|
|
17966
18220
|
type RadioButtonProperties = Partial<RadioButtonProps> & {
|
|
17967
18221
|
/**
|
|
@@ -17999,7 +18253,7 @@ declare global {
|
|
|
17999
18253
|
* ---
|
|
18000
18254
|
* Expanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.
|
|
18001
18255
|
*
|
|
18002
|
-
|
|
18256
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/textarea) for more details.
|
|
18003
18257
|
*/
|
|
18004
18258
|
type TextareaProperties = Partial<TextareaProps> & {
|
|
18005
18259
|
/**
|
|
@@ -18019,6 +18273,44 @@ declare class RaruiTextarea extends LitElement {
|
|
|
18019
18273
|
private _onChange;
|
|
18020
18274
|
}
|
|
18021
18275
|
|
|
18276
|
+
declare global {
|
|
18277
|
+
interface HTMLElementTagNameMap {
|
|
18278
|
+
"rarui-toggle": RaruiToggle;
|
|
18279
|
+
}
|
|
18280
|
+
}
|
|
18281
|
+
/**
|
|
18282
|
+
* ## Rarui Toggle
|
|
18283
|
+
* ---
|
|
18284
|
+
* Toggle switches activate or deactivate the state of a single item.
|
|
18285
|
+
*
|
|
18286
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/toggle) for more details.
|
|
18287
|
+
*/
|
|
18288
|
+
type ToggleProperties = Partial<ToggleProps> & {
|
|
18289
|
+
/**
|
|
18290
|
+
* Defines if Toggle is disabled.
|
|
18291
|
+
* When `true`, the component cannot be interacted.
|
|
18292
|
+
* @default false
|
|
18293
|
+
*/
|
|
18294
|
+
disabled?: boolean;
|
|
18295
|
+
/**
|
|
18296
|
+
* Single ID associated with Toggle Input.If not provided,
|
|
18297
|
+
* The name will be used as Fallback to `id`.
|
|
18298
|
+
*/
|
|
18299
|
+
id?: string;
|
|
18300
|
+
};
|
|
18301
|
+
|
|
18302
|
+
declare class RaruiToggle extends LitElement {
|
|
18303
|
+
name: ToggleProperties["name"];
|
|
18304
|
+
label: ToggleProperties["label"];
|
|
18305
|
+
size?: ToggleProperties["size"];
|
|
18306
|
+
error: ToggleProperties["error"];
|
|
18307
|
+
selected?: ToggleProperties["selected"];
|
|
18308
|
+
disabled?: ToggleProperties["disabled"];
|
|
18309
|
+
static styles: CSSResult;
|
|
18310
|
+
private handleChange;
|
|
18311
|
+
render(): TemplateResult<1>;
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18022
18314
|
declare global {
|
|
18023
18315
|
interface HTMLElementTagNameMap {
|
|
18024
18316
|
"rarui-link": RaruiLink;
|
|
@@ -18029,7 +18321,7 @@ declare global {
|
|
|
18029
18321
|
* ---
|
|
18030
18322
|
* A link (abbreviation of hyperlink) is an html object that allows you to jump to a new location when clicking or playing it
|
|
18031
18323
|
*
|
|
18032
|
-
|
|
18324
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/link) for more details.
|
|
18033
18325
|
*/
|
|
18034
18326
|
type LinkProperties = Partial<LinkProps> & {
|
|
18035
18327
|
/**
|
|
@@ -18071,6 +18363,31 @@ declare class RaruiLink extends LitElement {
|
|
|
18071
18363
|
render(): TemplateResult<1>;
|
|
18072
18364
|
}
|
|
18073
18365
|
|
|
18366
|
+
declare global {
|
|
18367
|
+
interface HTMLElementTagNameMap {
|
|
18368
|
+
"rarui-pagination": RaruiPagination;
|
|
18369
|
+
}
|
|
18370
|
+
}
|
|
18371
|
+
/**
|
|
18372
|
+
* ## Rarui Pagination
|
|
18373
|
+
* ---
|
|
18374
|
+
* The pagination component allows the user to select a specific page in a page range.
|
|
18375
|
+
*
|
|
18376
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/pagination) for more details.
|
|
18377
|
+
*/
|
|
18378
|
+
type PaginationProperties = Partial<Omit<PaginationProps, "onPageChange">>;
|
|
18379
|
+
|
|
18380
|
+
declare class RaruiPagination extends LitElement {
|
|
18381
|
+
activePage: PaginationProperties["activePage"];
|
|
18382
|
+
pageCount: PaginationProperties["pageCount"];
|
|
18383
|
+
size?: PaginationProperties["size"];
|
|
18384
|
+
showNumbers: PaginationProperties["showNumbers"];
|
|
18385
|
+
showArrows: PaginationProperties["showArrows"];
|
|
18386
|
+
static styles: CSSResult;
|
|
18387
|
+
private handlePageChange;
|
|
18388
|
+
render(): TemplateResult<1>;
|
|
18389
|
+
}
|
|
18390
|
+
|
|
18074
18391
|
declare global {
|
|
18075
18392
|
interface HTMLElementTagNameMap {
|
|
18076
18393
|
"rarui-banner": RaruiBanner;
|
|
@@ -18081,7 +18398,7 @@ declare global {
|
|
|
18081
18398
|
* ---
|
|
18082
18399
|
* Banner messages are displayed to the user at the top of the window/screen.
|
|
18083
18400
|
*
|
|
18084
|
-
|
|
18401
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/banner) for more details.
|
|
18085
18402
|
*/
|
|
18086
18403
|
type BannerProperties = Partial<Pick<BannerProps, "appearance" | "floating">> & {
|
|
18087
18404
|
/**
|
|
@@ -18112,7 +18429,7 @@ declare global {
|
|
|
18112
18429
|
* ---
|
|
18113
18430
|
* The Card component contains textual content, images, and actions about a topic.
|
|
18114
18431
|
*
|
|
18115
|
-
|
|
18432
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
|
|
18116
18433
|
*/
|
|
18117
18434
|
type CardHeaderProperties = Partial<CardHeaderProps>;
|
|
18118
18435
|
|
|
@@ -18133,7 +18450,7 @@ declare global {
|
|
|
18133
18450
|
* ---
|
|
18134
18451
|
* The Card component contains textual content, images, and actions about a topic.
|
|
18135
18452
|
*
|
|
18136
|
-
|
|
18453
|
+
See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/card) for more details.
|
|
18137
18454
|
*/
|
|
18138
18455
|
type CardProperties = Partial<CardProps>;
|
|
18139
18456
|
|