@rarui/components 1.11.0 → 1.13.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 +15 -2
- package/custom-elements.json +205 -1
- package/dist/index.d.ts +603 -250
- package/dist/index.js +146 -88
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
`@rarui/components` components is a component library built with [
|
|
3
|
+
`@rarui/components` components is a component library built with [Lit](https://lit.dev/).
|
|
4
4
|
|
|
5
|
-
## 2025-06-
|
|
5
|
+
## 2025-06-23 `1.13.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added new surface `Banner` component. ([#120](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/120) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
|
|
11
|
+
## 2025-06-18 `1.12.0`
|
|
12
|
+
|
|
13
|
+
#### 🎉 New features
|
|
14
|
+
|
|
15
|
+
- Added new feedback `Status` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
16
|
+
- Added new navigation `Link` component. ([#119](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/119) by [@junior](https://git.rarolabs.com.br/junior))
|
|
17
|
+
|
|
18
|
+
## 2025-06-17 `1.11.0`
|
|
6
19
|
|
|
7
20
|
#### 🎉 New features
|
|
8
21
|
|
package/custom-elements.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.12.0",
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "rarui-avatar",
|
|
@@ -2369,6 +2369,84 @@
|
|
|
2369
2369
|
}
|
|
2370
2370
|
]
|
|
2371
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
|
+
},
|
|
2372
2450
|
{
|
|
2373
2451
|
"name": "rarui-button",
|
|
2374
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.",
|
|
@@ -6544,6 +6622,87 @@
|
|
|
6544
6622
|
}
|
|
6545
6623
|
]
|
|
6546
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
|
+
},
|
|
6547
6706
|
{
|
|
6548
6707
|
"name": "rarui-tabs",
|
|
6549
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.",
|
|
@@ -6588,6 +6747,51 @@
|
|
|
6588
6747
|
}
|
|
6589
6748
|
]
|
|
6590
6749
|
},
|
|
6750
|
+
{
|
|
6751
|
+
"name": "rarui-banner",
|
|
6752
|
+
"description": "## Rarui Banner\n---\nBanner messages are displayed to the user at the top of the window/screen.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/surface/banner) for more details.",
|
|
6753
|
+
"attributes": [
|
|
6754
|
+
{
|
|
6755
|
+
"name": "appearance",
|
|
6756
|
+
"default": "brand",
|
|
6757
|
+
"description": "The appearance of the banner. This can be used to set the color of the banner.\nSpecifies the visual appearance of the banner message, influencing its color and style.\n\n- brand\n- error\n- info\n- inverted\n- neutral\n- warning",
|
|
6758
|
+
"type": "string",
|
|
6759
|
+
"values": [
|
|
6760
|
+
{
|
|
6761
|
+
"name": "brand",
|
|
6762
|
+
"description": "(default)"
|
|
6763
|
+
},
|
|
6764
|
+
{
|
|
6765
|
+
"name": "error"
|
|
6766
|
+
},
|
|
6767
|
+
{
|
|
6768
|
+
"name": "info"
|
|
6769
|
+
},
|
|
6770
|
+
{
|
|
6771
|
+
"name": "inverted"
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
"name": "neutral"
|
|
6775
|
+
},
|
|
6776
|
+
{
|
|
6777
|
+
"name": "warning"
|
|
6778
|
+
}
|
|
6779
|
+
]
|
|
6780
|
+
},
|
|
6781
|
+
{
|
|
6782
|
+
"name": "floating",
|
|
6783
|
+
"default": false,
|
|
6784
|
+
"description": "Determines whether the banner message should float above the content. This can be useful for ensuring the message remains visible even as the user scrolls.",
|
|
6785
|
+
"type": "boolean"
|
|
6786
|
+
},
|
|
6787
|
+
{
|
|
6788
|
+
"name": "closable",
|
|
6789
|
+
"default": false,
|
|
6790
|
+
"description": "If `true`, display the closing button in the upper right corner of the banner.\nWhen clicked, it fires the `close` event that can be listened to externally.",
|
|
6791
|
+
"type": "boolean"
|
|
6792
|
+
}
|
|
6793
|
+
]
|
|
6794
|
+
},
|
|
6591
6795
|
{
|
|
6592
6796
|
"name": "rarui-card",
|
|
6593
6797
|
"description": "## Rarui Card\n---\nThe Card component contains textual content, images, and actions about a topic.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/surface/card) for more details.",
|