@rarui/components 1.10.0 → 1.12.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 +209 -1
- package/dist/index.d.ts +365 -0
- package/dist/index.js +177 -94
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
`@rarui/components` components is a component library built with [Stencil](https://stenciljs.com/docs/introduction).
|
|
4
4
|
|
|
5
|
+
## 2025-06-18 `1.12.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added new feedback `Status` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
- Added new navigation `Link` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
11
|
+
|
|
12
|
+
## 2025-06-17 `1.11.0`
|
|
13
|
+
|
|
14
|
+
#### 🎉 New features
|
|
15
|
+
|
|
16
|
+
- Added new exhibition `Stepper` component. ([#118](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/118) by [@junior](https://git.rarolabs.com.br/junior))
|
|
17
|
+
|
|
5
18
|
## 2025-06-16 `1.10.0`
|
|
6
19
|
|
|
7
20
|
#### 🎉 New features
|
package/custom-elements.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.11.0",
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "rarui-avatar",
|
|
@@ -1355,6 +1355,55 @@
|
|
|
1355
1355
|
}
|
|
1356
1356
|
]
|
|
1357
1357
|
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "rarui-stepper",
|
|
1360
|
+
"description": "## Rarui Stepper\n---\nStepper transmit progress through steps.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/stepper) for more details.",
|
|
1361
|
+
"attributes": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "direction",
|
|
1364
|
+
"default": "horizontal",
|
|
1365
|
+
"description": "Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.\n\n- horizontal\n- vertical",
|
|
1366
|
+
"type": "string",
|
|
1367
|
+
"values": [
|
|
1368
|
+
{
|
|
1369
|
+
"name": "horizontal",
|
|
1370
|
+
"description": "(default)"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "vertical"
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1376
|
+
}
|
|
1377
|
+
]
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "rarui-stepper-step",
|
|
1381
|
+
"description": "## Rarui Stepper Step\n---\nStepper transmit progress through steps.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/stepper) for more details.",
|
|
1382
|
+
"attributes": [
|
|
1383
|
+
{
|
|
1384
|
+
"name": "title",
|
|
1385
|
+
"description": "The title of the step. This provides a brief summary of the step's purpose.",
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "description",
|
|
1390
|
+
"description": "A more detailed description of the step. This can provide additional context or instructions.",
|
|
1391
|
+
"type": "string"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "active",
|
|
1395
|
+
"default": false,
|
|
1396
|
+
"description": "Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.",
|
|
1397
|
+
"type": "boolean"
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"name": "done",
|
|
1401
|
+
"default": false,
|
|
1402
|
+
"description": "Indicates whether the step has been completed. A completed step is usually marked with a checkmark or other indicator.",
|
|
1403
|
+
"type": "boolean"
|
|
1404
|
+
}
|
|
1405
|
+
]
|
|
1406
|
+
},
|
|
1358
1407
|
{
|
|
1359
1408
|
"name": "rarui-text",
|
|
1360
1409
|
"description": "## Rarui Text\n---\nText 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.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/typography) for more details.",
|
|
@@ -2320,6 +2369,84 @@
|
|
|
2320
2369
|
}
|
|
2321
2370
|
]
|
|
2322
2371
|
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "rarui-status",
|
|
2374
|
+
"description": "## Rarui Status\n---\nVisual indicator that shows the current status or situation of an item or process.\nUseful for providing fast and understandable feedback to users.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/status) for more details.",
|
|
2375
|
+
"attributes": [
|
|
2376
|
+
{
|
|
2377
|
+
"name": "dot",
|
|
2378
|
+
"default": true,
|
|
2379
|
+
"description": "Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.",
|
|
2380
|
+
"type": "boolean"
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"name": "full",
|
|
2384
|
+
"default": false,
|
|
2385
|
+
"description": "Specifies whether the status should take up the full width of its container.\nThis variant is useful when you want to make a status span the entire width of its parent container.",
|
|
2386
|
+
"type": "boolean"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "appearance",
|
|
2390
|
+
"default": "success",
|
|
2391
|
+
"description": "Determines the visual style of the status, influencing its color scheme.\n\n- danger\n- info\n- inverted\n- neutral\n- success\n- warning",
|
|
2392
|
+
"type": "string",
|
|
2393
|
+
"values": [
|
|
2394
|
+
{
|
|
2395
|
+
"name": "danger"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "info"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "inverted"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "neutral"
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"name": "success",
|
|
2408
|
+
"description": "(default)"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "warning"
|
|
2412
|
+
}
|
|
2413
|
+
]
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"name": "size",
|
|
2417
|
+
"default": "normal",
|
|
2418
|
+
"description": "Specifies the size of the badge, controlling its dimensions.\n\n- normal\n- small",
|
|
2419
|
+
"type": "string",
|
|
2420
|
+
"values": [
|
|
2421
|
+
{
|
|
2422
|
+
"name": "normal",
|
|
2423
|
+
"description": "(default)"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"name": "small"
|
|
2427
|
+
}
|
|
2428
|
+
]
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "variant",
|
|
2432
|
+
"default": "solid",
|
|
2433
|
+
"description": "Specifies the variant of the status\n\n- solid\n- subdued\n- text",
|
|
2434
|
+
"type": "string",
|
|
2435
|
+
"values": [
|
|
2436
|
+
{
|
|
2437
|
+
"name": "solid",
|
|
2438
|
+
"description": "(default)"
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"name": "subdued"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "text"
|
|
2445
|
+
}
|
|
2446
|
+
]
|
|
2447
|
+
}
|
|
2448
|
+
]
|
|
2449
|
+
},
|
|
2323
2450
|
{
|
|
2324
2451
|
"name": "rarui-button",
|
|
2325
2452
|
"description": "## Rarui Button\n---\nButton allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/button) for more details.",
|
|
@@ -6495,6 +6622,87 @@
|
|
|
6495
6622
|
}
|
|
6496
6623
|
]
|
|
6497
6624
|
},
|
|
6625
|
+
{
|
|
6626
|
+
"name": "rarui-link",
|
|
6627
|
+
"description": "## Rarui Link\n---\nA link (abbreviation of hyperlink) is an html object that allows you to jump to a new location when clicking or playing it\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/link) for more details.",
|
|
6628
|
+
"attributes": [
|
|
6629
|
+
{
|
|
6630
|
+
"name": "appearance",
|
|
6631
|
+
"default": "brand",
|
|
6632
|
+
"description": "Determines the visual style of the link.\n\n- brand\n- inverted\n- neutral",
|
|
6633
|
+
"type": "string",
|
|
6634
|
+
"values": [
|
|
6635
|
+
{
|
|
6636
|
+
"name": "brand",
|
|
6637
|
+
"description": "(default)"
|
|
6638
|
+
},
|
|
6639
|
+
{
|
|
6640
|
+
"name": "inverted"
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
"name": "neutral"
|
|
6644
|
+
}
|
|
6645
|
+
]
|
|
6646
|
+
},
|
|
6647
|
+
{
|
|
6648
|
+
"name": "size",
|
|
6649
|
+
"default": "large",
|
|
6650
|
+
"description": "Specifies the size of the link.\n\n- large\n- medium\n- small",
|
|
6651
|
+
"type": "string",
|
|
6652
|
+
"values": [
|
|
6653
|
+
{
|
|
6654
|
+
"name": "large",
|
|
6655
|
+
"description": "(default)"
|
|
6656
|
+
},
|
|
6657
|
+
{
|
|
6658
|
+
"name": "medium"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
"name": "small"
|
|
6662
|
+
}
|
|
6663
|
+
]
|
|
6664
|
+
},
|
|
6665
|
+
{
|
|
6666
|
+
"name": "type",
|
|
6667
|
+
"description": "Defines the native type of the button.\nIt can be `Button`, `submit` or `reset`.\n\n** IMPORTANT: ** should only be used when `as=\"button\"`.\n\n- button\n- reset\n- submit",
|
|
6668
|
+
"type": "string",
|
|
6669
|
+
"values": [
|
|
6670
|
+
{
|
|
6671
|
+
"name": "button"
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "reset"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"name": "submit"
|
|
6678
|
+
}
|
|
6679
|
+
]
|
|
6680
|
+
},
|
|
6681
|
+
{
|
|
6682
|
+
"name": "disabled",
|
|
6683
|
+
"description": "Disable the button, preventing user interactions.\n\n** IMPORTANT: ** should only be used when `as=\"button\"`.",
|
|
6684
|
+
"type": "boolean"
|
|
6685
|
+
},
|
|
6686
|
+
{
|
|
6687
|
+
"name": "as",
|
|
6688
|
+
"description": "Define or rendered element type.\n\n- `a`: renders an element `<a>`, ideal for navigation.\n- `Button`: render an element `<Button>`, ideal for actions.\n\n- a\n- button",
|
|
6689
|
+
"type": "string",
|
|
6690
|
+
"values": [
|
|
6691
|
+
{
|
|
6692
|
+
"name": "a"
|
|
6693
|
+
},
|
|
6694
|
+
{
|
|
6695
|
+
"name": "button"
|
|
6696
|
+
}
|
|
6697
|
+
]
|
|
6698
|
+
},
|
|
6699
|
+
{
|
|
6700
|
+
"name": "href",
|
|
6701
|
+
"description": "Defines the destination URL of the link.\n\n** IMPORTANT: ** should only be used when `as=\"a\"`.",
|
|
6702
|
+
"type": "string"
|
|
6703
|
+
}
|
|
6704
|
+
]
|
|
6705
|
+
},
|
|
6498
6706
|
{
|
|
6499
6707
|
"name": "rarui-tabs",
|
|
6500
6708
|
"description": "## Rarui Tabs\n---\nThe Tabs are used to switch between different display modes or pages.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/tabs) for more details.",
|
package/dist/index.d.ts
CHANGED
|
@@ -16792,6 +16792,49 @@ declare const iconButtonStyles: {
|
|
|
16792
16792
|
|
|
16793
16793
|
type IconButtonVariants = NonNullable<RecipeVariants<typeof iconButtonStyles.iconButton>>;
|
|
16794
16794
|
|
|
16795
|
+
declare const styles$4: {
|
|
16796
|
+
link: RuntimeFn<{
|
|
16797
|
+
/**
|
|
16798
|
+
* Determines the visual style of the link.
|
|
16799
|
+
* @default brand
|
|
16800
|
+
*/
|
|
16801
|
+
appearance: {
|
|
16802
|
+
brand: {
|
|
16803
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16804
|
+
};
|
|
16805
|
+
neutral: {
|
|
16806
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16807
|
+
};
|
|
16808
|
+
inverted: {
|
|
16809
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16810
|
+
};
|
|
16811
|
+
};
|
|
16812
|
+
/**
|
|
16813
|
+
* Specifies the size of the link.
|
|
16814
|
+
* @default large
|
|
16815
|
+
*/
|
|
16816
|
+
size: {
|
|
16817
|
+
large: {
|
|
16818
|
+
fontSize: "1.125rem";
|
|
16819
|
+
lineHeight: "1.75rem";
|
|
16820
|
+
letterSpacing: ".0112rem";
|
|
16821
|
+
};
|
|
16822
|
+
small: {
|
|
16823
|
+
fontSize: ".875rem";
|
|
16824
|
+
lineHeight: "1.25rem";
|
|
16825
|
+
letterSpacing: ".0088rem";
|
|
16826
|
+
};
|
|
16827
|
+
medium: {
|
|
16828
|
+
fontSize: "1rem";
|
|
16829
|
+
lineHeight: "1.5rem";
|
|
16830
|
+
letterSpacing: ".01rem";
|
|
16831
|
+
};
|
|
16832
|
+
};
|
|
16833
|
+
}>;
|
|
16834
|
+
};
|
|
16835
|
+
|
|
16836
|
+
type LinkVariants = NonNullable<RecipeVariants<typeof styles$4.link>>;
|
|
16837
|
+
|
|
16795
16838
|
declare const progressStyles: {
|
|
16796
16839
|
progress: string;
|
|
16797
16840
|
bar: string;
|
|
@@ -16900,6 +16943,91 @@ declare const styles$3: {
|
|
|
16900
16943
|
|
|
16901
16944
|
type RadioButtonVariants = NonNullable<RecipeVariants<typeof styles$3.radioButton>>;
|
|
16902
16945
|
|
|
16946
|
+
declare const statusStyles: {
|
|
16947
|
+
status: RuntimeFn<{
|
|
16948
|
+
/**
|
|
16949
|
+
* Specifies whether the status should take up the full width of its container.
|
|
16950
|
+
* This variant is useful when you want to make a status span the entire width of its parent container.
|
|
16951
|
+
* @default false
|
|
16952
|
+
*
|
|
16953
|
+
*/
|
|
16954
|
+
full: {
|
|
16955
|
+
true: {
|
|
16956
|
+
width: "100%";
|
|
16957
|
+
};
|
|
16958
|
+
};
|
|
16959
|
+
/**
|
|
16960
|
+
* Determines the visual style of the status, influencing its color scheme.
|
|
16961
|
+
* @default success
|
|
16962
|
+
*/
|
|
16963
|
+
appearance: {
|
|
16964
|
+
success: {
|
|
16965
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16966
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16967
|
+
};
|
|
16968
|
+
warning: {
|
|
16969
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16970
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16971
|
+
};
|
|
16972
|
+
danger: {
|
|
16973
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16974
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16975
|
+
};
|
|
16976
|
+
inverted: {
|
|
16977
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16978
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16979
|
+
};
|
|
16980
|
+
neutral: {
|
|
16981
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16982
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16983
|
+
};
|
|
16984
|
+
info: {
|
|
16985
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16986
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16987
|
+
};
|
|
16988
|
+
};
|
|
16989
|
+
/**
|
|
16990
|
+
* Specifies the size of the badge, controlling its dimensions.
|
|
16991
|
+
* @default normal
|
|
16992
|
+
*/
|
|
16993
|
+
size: {
|
|
16994
|
+
normal: {
|
|
16995
|
+
height: "1.75rem";
|
|
16996
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16997
|
+
};
|
|
16998
|
+
small: {
|
|
16999
|
+
height: "1.5rem";
|
|
17000
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17001
|
+
};
|
|
17002
|
+
};
|
|
17003
|
+
/**
|
|
17004
|
+
* Specifies the variant of the status
|
|
17005
|
+
* @default solid
|
|
17006
|
+
*/
|
|
17007
|
+
variant: {
|
|
17008
|
+
solid: {};
|
|
17009
|
+
text: {
|
|
17010
|
+
backgroundColor: "transparent";
|
|
17011
|
+
};
|
|
17012
|
+
subdued: {};
|
|
17013
|
+
};
|
|
17014
|
+
}>;
|
|
17015
|
+
dot: RuntimeFn<{
|
|
17016
|
+
size: {
|
|
17017
|
+
normal: {
|
|
17018
|
+
height: ".5rem";
|
|
17019
|
+
width: ".5rem";
|
|
17020
|
+
};
|
|
17021
|
+
small: {
|
|
17022
|
+
height: ".25rem";
|
|
17023
|
+
width: ".25rem";
|
|
17024
|
+
};
|
|
17025
|
+
};
|
|
17026
|
+
}>;
|
|
17027
|
+
};
|
|
17028
|
+
|
|
17029
|
+
type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
|
|
17030
|
+
|
|
16903
17031
|
declare const textareaStyles: {
|
|
16904
17032
|
textarea: RuntimeFn<{
|
|
16905
17033
|
/**
|
|
@@ -17015,6 +17143,94 @@ interface CardSprinkle {
|
|
|
17015
17143
|
backgroundColor?: AddDollar<keyof typeof cardBackgroundColorProperties> | Conditions<AddDollar<keyof typeof cardBackgroundColorProperties>>;
|
|
17016
17144
|
}
|
|
17017
17145
|
|
|
17146
|
+
declare const stepperStyles: {
|
|
17147
|
+
stepper: RuntimeFn<{
|
|
17148
|
+
/**
|
|
17149
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
17150
|
+
* @default horizontal
|
|
17151
|
+
*/
|
|
17152
|
+
direction: {
|
|
17153
|
+
horizontal: {
|
|
17154
|
+
width: "100%";
|
|
17155
|
+
flexDirection: "row";
|
|
17156
|
+
};
|
|
17157
|
+
vertical: {
|
|
17158
|
+
flexDirection: "column";
|
|
17159
|
+
height: "100%";
|
|
17160
|
+
};
|
|
17161
|
+
};
|
|
17162
|
+
}>;
|
|
17163
|
+
step: RuntimeFn<{
|
|
17164
|
+
direction: {
|
|
17165
|
+
/**
|
|
17166
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
17167
|
+
* @default horizontal
|
|
17168
|
+
*/
|
|
17169
|
+
horizontal: {
|
|
17170
|
+
flexDirection: "column";
|
|
17171
|
+
":after": {
|
|
17172
|
+
top: "20px";
|
|
17173
|
+
height: "1px";
|
|
17174
|
+
width: "calc(100% - 60px)";
|
|
17175
|
+
left: "calc(50% + 30px)";
|
|
17176
|
+
};
|
|
17177
|
+
};
|
|
17178
|
+
vertical: {
|
|
17179
|
+
":after": {
|
|
17180
|
+
width: "1px";
|
|
17181
|
+
height: "calc(100% - 60px)";
|
|
17182
|
+
top: "calc(50% + 30px)";
|
|
17183
|
+
left: "18px";
|
|
17184
|
+
};
|
|
17185
|
+
};
|
|
17186
|
+
};
|
|
17187
|
+
}>;
|
|
17188
|
+
circle: RuntimeFn<{
|
|
17189
|
+
/**
|
|
17190
|
+
* Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.
|
|
17191
|
+
* @default false
|
|
17192
|
+
*/
|
|
17193
|
+
active: {
|
|
17194
|
+
true: {
|
|
17195
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17196
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17197
|
+
};
|
|
17198
|
+
};
|
|
17199
|
+
/**
|
|
17200
|
+
* Indicates whether the step has been completed. A completed step is usually marked with a checkmark or other indicator.
|
|
17201
|
+
* @default false
|
|
17202
|
+
*/
|
|
17203
|
+
done: {
|
|
17204
|
+
true: {
|
|
17205
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17206
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17207
|
+
};
|
|
17208
|
+
};
|
|
17209
|
+
}>;
|
|
17210
|
+
separator: RuntimeFn<{
|
|
17211
|
+
direction: {
|
|
17212
|
+
/**
|
|
17213
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
17214
|
+
* @default horizontal
|
|
17215
|
+
*/
|
|
17216
|
+
horizontal: {
|
|
17217
|
+
height: "1px";
|
|
17218
|
+
marginLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17219
|
+
marginRight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17220
|
+
marginTop: "20px";
|
|
17221
|
+
};
|
|
17222
|
+
vertical: {
|
|
17223
|
+
width: "1px";
|
|
17224
|
+
marginTop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17225
|
+
marginBottom: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17226
|
+
marginLeft: "18px";
|
|
17227
|
+
};
|
|
17228
|
+
};
|
|
17229
|
+
}>;
|
|
17230
|
+
};
|
|
17231
|
+
|
|
17232
|
+
type StepperVariants = NonNullable<RecipeVariants<typeof stepperStyles.stepper> & RecipeVariants<typeof stepperStyles.circle>>;
|
|
17233
|
+
|
|
17018
17234
|
type BadgeProps = BadgeVariants;
|
|
17019
17235
|
|
|
17020
17236
|
interface AvatarTypings {
|
|
@@ -17036,6 +17252,8 @@ interface DividerProps extends DividerSprinkle {
|
|
|
17036
17252
|
|
|
17037
17253
|
type IconProps = IconSprinkle;
|
|
17038
17254
|
|
|
17255
|
+
type StepperProps = Pick<StepperVariants, "direction">;
|
|
17256
|
+
|
|
17039
17257
|
interface TitleProps extends TitleSprinkle {
|
|
17040
17258
|
/**
|
|
17041
17259
|
* Type of html tag to create for the title.
|
|
@@ -17104,6 +17322,18 @@ interface TooltipTyping {
|
|
|
17104
17322
|
}
|
|
17105
17323
|
type TooltipProps = TooltipTyping & TooltipVariants;
|
|
17106
17324
|
|
|
17325
|
+
interface StepperStepTyping {
|
|
17326
|
+
/**
|
|
17327
|
+
* The title of the step. This provides a brief summary of the step's purpose.
|
|
17328
|
+
*/
|
|
17329
|
+
title?: string;
|
|
17330
|
+
/**
|
|
17331
|
+
* A more detailed description of the step. This can provide additional context or instructions.
|
|
17332
|
+
*/
|
|
17333
|
+
description?: string;
|
|
17334
|
+
}
|
|
17335
|
+
type StepperStepProps = StepperStepTyping & Pick<StepperVariants, "active" | "done">;
|
|
17336
|
+
|
|
17107
17337
|
interface ProgressTyping {
|
|
17108
17338
|
/**
|
|
17109
17339
|
* The progress percentage, represented as a number between 0 and 100.
|
|
@@ -17115,6 +17345,15 @@ type ProgressProps = ProgressTyping & ProgressSprinkle;
|
|
|
17115
17345
|
|
|
17116
17346
|
type ProgressCircleProps = ProgressProps & ProgressVariants;
|
|
17117
17347
|
|
|
17348
|
+
interface StatusTyping {
|
|
17349
|
+
/**
|
|
17350
|
+
* Specifies whether to display a dot indicator alongside the status text. When true, a dot is shown to visually represent the status.
|
|
17351
|
+
* @default true
|
|
17352
|
+
*/
|
|
17353
|
+
dot?: boolean;
|
|
17354
|
+
}
|
|
17355
|
+
type StatusProps = StatusTyping & StatusVariants;
|
|
17356
|
+
|
|
17118
17357
|
interface ButtonTyping {
|
|
17119
17358
|
/**
|
|
17120
17359
|
* Disables the button, disallowing user interaction.
|
|
@@ -17187,6 +17426,8 @@ interface CardHeaderProps {
|
|
|
17187
17426
|
description?: string;
|
|
17188
17427
|
}
|
|
17189
17428
|
|
|
17429
|
+
type LinkProps = LinkVariants;
|
|
17430
|
+
|
|
17190
17431
|
declare global {
|
|
17191
17432
|
interface HTMLElementTagNameMap {
|
|
17192
17433
|
"rarui-avatar": RaruiAvatar;
|
|
@@ -17290,6 +17531,53 @@ declare class RaruiIcon extends LitElement {
|
|
|
17290
17531
|
render(): TemplateResult<1> | null;
|
|
17291
17532
|
}
|
|
17292
17533
|
|
|
17534
|
+
declare global {
|
|
17535
|
+
interface HTMLElementTagNameMap {
|
|
17536
|
+
"rarui-stepper-step": RaruiStepperStep;
|
|
17537
|
+
}
|
|
17538
|
+
}
|
|
17539
|
+
/**
|
|
17540
|
+
* ## Rarui Stepper Step
|
|
17541
|
+
* ---
|
|
17542
|
+
* Stepper transmit progress through steps.
|
|
17543
|
+
*
|
|
17544
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/stepper) for more details.
|
|
17545
|
+
*/
|
|
17546
|
+
type StepperStepProperties = Partial<StepperStepProps>;
|
|
17547
|
+
|
|
17548
|
+
declare class RaruiStepperStep extends LitElement {
|
|
17549
|
+
description: StepperStepProperties["description"];
|
|
17550
|
+
active: StepperStepProperties["active"];
|
|
17551
|
+
done: StepperStepProperties["done"];
|
|
17552
|
+
private direction;
|
|
17553
|
+
static styles: CSSResult;
|
|
17554
|
+
connectedCallback(): void;
|
|
17555
|
+
render(): TemplateResult<1>;
|
|
17556
|
+
}
|
|
17557
|
+
|
|
17558
|
+
declare global {
|
|
17559
|
+
interface HTMLElementTagNameMap {
|
|
17560
|
+
"rarui-stepper": RaruiStepper;
|
|
17561
|
+
}
|
|
17562
|
+
}
|
|
17563
|
+
/**
|
|
17564
|
+
* ## Rarui Stepper
|
|
17565
|
+
* ---
|
|
17566
|
+
* Stepper transmit progress through steps.
|
|
17567
|
+
*
|
|
17568
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/stepper) for more details.
|
|
17569
|
+
*/
|
|
17570
|
+
type StepperProperties = Partial<StepperProps>;
|
|
17571
|
+
|
|
17572
|
+
declare class RaruiStepper extends LitElement {
|
|
17573
|
+
direction: StepperProperties["direction"];
|
|
17574
|
+
private assignedSteps;
|
|
17575
|
+
private steps;
|
|
17576
|
+
static styles: CSSResult;
|
|
17577
|
+
firstUpdated(): void;
|
|
17578
|
+
render(): TemplateResult<1>;
|
|
17579
|
+
}
|
|
17580
|
+
|
|
17293
17581
|
declare global {
|
|
17294
17582
|
interface HTMLElementTagNameMap {
|
|
17295
17583
|
"rarui-text": RaruiText;
|
|
@@ -17457,6 +17745,31 @@ declare class RaruiProgress extends LitElement {
|
|
|
17457
17745
|
render(): TemplateResult<1>;
|
|
17458
17746
|
}
|
|
17459
17747
|
|
|
17748
|
+
declare global {
|
|
17749
|
+
interface HTMLElementTagNameMap {
|
|
17750
|
+
"rarui-status": RaruiStatus;
|
|
17751
|
+
}
|
|
17752
|
+
}
|
|
17753
|
+
/**
|
|
17754
|
+
* ## Rarui Status
|
|
17755
|
+
* ---
|
|
17756
|
+
* Visual indicator that shows the current status or situation of an item or process.
|
|
17757
|
+
* Useful for providing fast and understandable feedback to users.
|
|
17758
|
+
*
|
|
17759
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/status) for more details.
|
|
17760
|
+
*/
|
|
17761
|
+
type StatusProperties = Partial<StatusProps>;
|
|
17762
|
+
|
|
17763
|
+
declare class RaruiStatus extends LitElement {
|
|
17764
|
+
appearance?: StatusProperties["appearance"];
|
|
17765
|
+
size?: StatusProperties["size"];
|
|
17766
|
+
variant?: StatusProperties["variant"];
|
|
17767
|
+
full?: StatusProperties["full"];
|
|
17768
|
+
dot: StatusProperties["dot"];
|
|
17769
|
+
static styles: CSSResult;
|
|
17770
|
+
render(): TemplateResult<1>;
|
|
17771
|
+
}
|
|
17772
|
+
|
|
17460
17773
|
declare global {
|
|
17461
17774
|
interface HTMLElementTagNameMap {
|
|
17462
17775
|
"rarui-button": RaruiButton;
|
|
@@ -17642,6 +17955,58 @@ declare class RaruiTextarea extends LitElement {
|
|
|
17642
17955
|
private _onChange;
|
|
17643
17956
|
}
|
|
17644
17957
|
|
|
17958
|
+
declare global {
|
|
17959
|
+
interface HTMLElementTagNameMap {
|
|
17960
|
+
"rarui-link": RaruiLink;
|
|
17961
|
+
}
|
|
17962
|
+
}
|
|
17963
|
+
/**
|
|
17964
|
+
* ## Rarui Link
|
|
17965
|
+
* ---
|
|
17966
|
+
* A link (abbreviation of hyperlink) is an html object that allows you to jump to a new location when clicking or playing it
|
|
17967
|
+
*
|
|
17968
|
+
* See [a complete document](https://rarui.rarolabs.com.br/docs/components/navigation/link) for more details.
|
|
17969
|
+
*/
|
|
17970
|
+
type LinkProperties = Partial<LinkProps> & {
|
|
17971
|
+
/**
|
|
17972
|
+
* Defines the native type of the button.
|
|
17973
|
+
* It can be `Button`, `submit` or `reset`.
|
|
17974
|
+
*
|
|
17975
|
+
* ** IMPORTANT: ** should only be used when `as="button"`.
|
|
17976
|
+
*/
|
|
17977
|
+
type?: "button" | "submit" | "reset";
|
|
17978
|
+
/**
|
|
17979
|
+
* Disable the button, preventing user interactions.
|
|
17980
|
+
*
|
|
17981
|
+
* ** IMPORTANT: ** should only be used when `as="button"`.
|
|
17982
|
+
*/
|
|
17983
|
+
disabled?: boolean;
|
|
17984
|
+
/**
|
|
17985
|
+
* Define or rendered element type.
|
|
17986
|
+
*
|
|
17987
|
+
* - `a`: renders an element `<a>`, ideal for navigation.
|
|
17988
|
+
* - `Button`: render an element `<Button>`, ideal for actions.
|
|
17989
|
+
*/
|
|
17990
|
+
as?: "a" | "button";
|
|
17991
|
+
/**
|
|
17992
|
+
* Defines the destination URL of the link.
|
|
17993
|
+
*
|
|
17994
|
+
* ** IMPORTANT: ** should only be used when `as="a"`.
|
|
17995
|
+
*/
|
|
17996
|
+
href?: string;
|
|
17997
|
+
};
|
|
17998
|
+
|
|
17999
|
+
declare class RaruiLink extends LitElement {
|
|
18000
|
+
type: LinkProperties["type"];
|
|
18001
|
+
as: LinkProperties["as"];
|
|
18002
|
+
appearance?: LinkProperties["appearance"];
|
|
18003
|
+
size?: LinkProperties["size"];
|
|
18004
|
+
href?: LinkProperties["href"];
|
|
18005
|
+
disabled: LinkProperties["disabled"];
|
|
18006
|
+
static styles: CSSResult;
|
|
18007
|
+
render(): TemplateResult<1>;
|
|
18008
|
+
}
|
|
18009
|
+
|
|
17645
18010
|
declare global {
|
|
17646
18011
|
interface HTMLElementTagNameMap {
|
|
17647
18012
|
"rarui-card-header": RaruiCardHeader;
|