@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 CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
4
 
5
+ ## 2025-06-27 `1.15.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new navigation `Pagination` component. ([#122](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/122) by [@junior](https://git.rarolabs.com.br/junior))
10
+
11
+ ## 2025-06-26 `1.14.0`
12
+
13
+ #### 🎉 New features
14
+
15
+ - Added new exhibition `Label` component. ([#122](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/122) by [@junior](https://git.rarolabs.com.br/junior))
16
+ - Added new input `Toggle` component. ([#122](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/122) by [@junior](https://git.rarolabs.com.br/junior))
17
+
5
18
  ## 2025-06-23 `1.13.0`
6
19
 
7
20
  #### 🎉 New features
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "1.12.0",
2
+ "version": "1.14.0",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
6
- "description": "## Rarui Avatar\n---\nThe Avatar component is normally used to display circular photos of the user's profile.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/avatar) for more details.",
6
+ "description": "## Rarui Avatar\n---\nThe Avatar component is normally used to display circular photos of the user's profile.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/avatar) for more details.",
7
7
  "attributes": [
8
8
  {
9
9
  "name": "size",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "name": "rarui-badge",
33
- "description": "## Rarui Badge\n---\nThe Badge components are only used to transmit dynamic information, such as a connection or status.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/badge) for more details.",
33
+ "description": "## Rarui Badge\n---\nThe Badge components are only used to transmit dynamic information, such as a connection or status.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.",
34
34
  "attributes": [
35
35
  {
36
36
  "name": "appearance",
@@ -102,7 +102,7 @@
102
102
  },
103
103
  {
104
104
  "name": "rarui-divider",
105
- "description": "## Rarui Divider\n---\nA Divider is a thin line used to separate or group content in lists and layouts.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/divider) for more details.",
105
+ "description": "## Rarui Divider\n---\nA Divider is a thin line used to separate or group content in lists and layouts.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.",
106
106
  "attributes": [
107
107
  {
108
108
  "name": "direction",
@@ -1355,9 +1355,26 @@
1355
1355
  }
1356
1356
  ]
1357
1357
  },
1358
+ {
1359
+ "name": "rarui-label",
1360
+ "description": "## Rarui Label\n---\nThe label component allows us to name elements within a form.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.",
1361
+ "attributes": [
1362
+ {
1363
+ "name": "html-for",
1364
+ "description": "The for attribute specifies which form element a label is bound to.",
1365
+ "type": "string"
1366
+ },
1367
+ {
1368
+ "name": "hidden",
1369
+ "default": false,
1370
+ "description": "Specifies whether the label is hidden or not",
1371
+ "type": "boolean"
1372
+ }
1373
+ ]
1374
+ },
1358
1375
  {
1359
1376
  "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.",
1377
+ "description": "## Rarui Stepper\n---\nStepper transmit progress through steps.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.",
1361
1378
  "attributes": [
1362
1379
  {
1363
1380
  "name": "direction",
@@ -1378,7 +1395,7 @@
1378
1395
  },
1379
1396
  {
1380
1397
  "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.",
1398
+ "description": "## Rarui Stepper Step\n---\nStepper transmit progress through steps.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/stepper) for more details.",
1382
1399
  "attributes": [
1383
1400
  {
1384
1401
  "name": "title",
@@ -1406,7 +1423,7 @@
1406
1423
  },
1407
1424
  {
1408
1425
  "name": "rarui-text",
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.",
1426
+ "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-web-components/exhibition/typography) for more details.",
1410
1427
  "attributes": [
1411
1428
  {
1412
1429
  "name": "color",
@@ -1749,7 +1766,7 @@
1749
1766
  },
1750
1767
  {
1751
1768
  "name": "rarui-title",
1752
- "description": "## Rarui Title\n---\nTilte is a basic component that allows you to give titles and more hierarchy to blocks of text for sections or header components.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/typography) for more details.",
1769
+ "description": "## Rarui Title\n---\nTilte is a basic component that allows you to give titles and more hierarchy to blocks of text for sections or header components.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.",
1753
1770
  "attributes": [
1754
1771
  {
1755
1772
  "name": "as",
@@ -2012,7 +2029,7 @@
2012
2029
  },
2013
2030
  {
2014
2031
  "name": "rarui-tooltip",
2015
- "description": "## Rarui Tootip\n---\nTooltips are informative, specific, and action-oriented text labels that provide contextual support\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/tooltip) for more details.",
2032
+ "description": "## Rarui Tootip\n---\nTooltips are informative, specific, and action-oriented text labels that provide contextual support\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/tooltip) for more details.",
2016
2033
  "attributes": [
2017
2034
  {
2018
2035
  "name": "inverted",
@@ -2135,7 +2152,7 @@
2135
2152
  },
2136
2153
  {
2137
2154
  "name": "rarui-progress",
2138
- "description": "## Rarui Progress\n---\nThe Badge components are only used to transmit dynamic information, such as a connection or status.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/badge) for more details.",
2155
+ "description": "## Rarui Progress\n---\nThe Badge components are only used to transmit dynamic information, such as a connection or status.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/badge) for more details.",
2139
2156
  "attributes": [
2140
2157
  {
2141
2158
  "name": "percentage",
@@ -2164,7 +2181,7 @@
2164
2181
  },
2165
2182
  {
2166
2183
  "name": "rarui-progress-circle",
2167
- "description": "## Rarui Card Body\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.",
2184
+ "description": "## Rarui Card Body\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-web-components/surface/card) for more details.",
2168
2185
  "attributes": [
2169
2186
  {
2170
2187
  "name": "percentage",
@@ -2208,7 +2225,7 @@
2208
2225
  },
2209
2226
  {
2210
2227
  "name": "rarui-skeleton",
2211
- "description": "## Rarui Divider\n---\nA Divider is a thin line used to separate or group content in lists and layouts.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/exhibition/divider) for more details.",
2228
+ "description": "## Rarui Divider\n---\nA Divider is a thin line used to separate or group content in lists and layouts.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/divider) for more details.",
2212
2229
  "attributes": [
2213
2230
  {
2214
2231
  "name": "data-testid",
@@ -2371,7 +2388,7 @@
2371
2388
  },
2372
2389
  {
2373
2390
  "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.",
2391
+ "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-web-components/exhibition/status) for more details.",
2375
2392
  "attributes": [
2376
2393
  {
2377
2394
  "name": "dot",
@@ -2449,7 +2466,7 @@
2449
2466
  },
2450
2467
  {
2451
2468
  "name": "rarui-button",
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.",
2469
+ "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-web-components/input/button) for more details.",
2453
2470
  "attributes": [
2454
2471
  {
2455
2472
  "name": "disabled",
@@ -2550,7 +2567,7 @@
2550
2567
  },
2551
2568
  {
2552
2569
  "name": "rarui-checkbox",
2553
- "description": "## Rarui Checkbox\n---\nThe Checkbox allows users to select one or more items from a set and can be used to enable or disable an option.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/checkbox) for more details.",
2570
+ "description": "## Rarui Checkbox\n---\nThe Checkbox allows users to select one or more items from a set and can be used to enable or disable an option.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.",
2554
2571
  "attributes": [
2555
2572
  {
2556
2573
  "name": "label",
@@ -2589,7 +2606,7 @@
2589
2606
  },
2590
2607
  {
2591
2608
  "name": "rarui-chip",
2592
- "description": "## Rarui Chip\n---\nChip component helps people enter information, make selections, filter content or trigger actions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/button) for more details.",
2609
+ "description": "## Rarui Chip\n---\nChip component helps people enter information, make selections, filter content or trigger actions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.",
2593
2610
  "attributes": [
2594
2611
  {
2595
2612
  "name": "closeable",
@@ -2676,7 +2693,7 @@
2676
2693
  },
2677
2694
  {
2678
2695
  "name": "rarui-icon-button",
2679
- "description": "## Rarui Icon 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.",
2696
+ "description": "## Rarui Icon 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-web-components/input/button) for more details.",
2680
2697
  "attributes": [
2681
2698
  {
2682
2699
  "name": "disabled",
@@ -2758,7 +2775,7 @@
2758
2775
  },
2759
2776
  {
2760
2777
  "name": "rarui-radio-button",
2761
- "description": "## Rarui Radio Button\n---\nRadio 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.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/radiobutton) for more details.",
2778
+ "description": "## Rarui Radio Button\n---\nRadio 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.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/radiobutton) for more details.",
2762
2779
  "attributes": [
2763
2780
  {
2764
2781
  "name": "selected",
@@ -2803,7 +2820,7 @@
2803
2820
  },
2804
2821
  {
2805
2822
  "name": "rarui-textarea",
2806
- "description": "## Rarui Radio Button\n---\nExpanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/input/textarea) for more details.",
2823
+ "description": "## Rarui Radio Button\n---\nExpanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/textarea) for more details.",
2807
2824
  "attributes": [
2808
2825
  {
2809
2826
  "name": "lines",
@@ -2832,9 +2849,62 @@
2832
2849
  }
2833
2850
  ]
2834
2851
  },
2852
+ {
2853
+ "name": "rarui-toggle",
2854
+ "description": "## Rarui Toggle\n---\nToggle switches activate or deactivate the state of a single item.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/toggle) for more details.",
2855
+ "attributes": [
2856
+ {
2857
+ "name": "name",
2858
+ "description": "The name of the input element.",
2859
+ "type": "string"
2860
+ },
2861
+ {
2862
+ "name": "selected",
2863
+ "description": "Sets toggle state to activated or deactivated.",
2864
+ "type": "boolean"
2865
+ },
2866
+ {
2867
+ "name": "label",
2868
+ "description": "Text to be rendered inside the component",
2869
+ "type": "string"
2870
+ },
2871
+ {
2872
+ "name": "size",
2873
+ "default": "large",
2874
+ "description": "Specifies the size of the toggle, controlling its dimensions.\n\n- large\n- small",
2875
+ "type": "string",
2876
+ "values": [
2877
+ {
2878
+ "name": "large",
2879
+ "description": "(default)"
2880
+ },
2881
+ {
2882
+ "name": "small"
2883
+ }
2884
+ ]
2885
+ },
2886
+ {
2887
+ "name": "error",
2888
+ "default": false,
2889
+ "description": "Specifies whether the radiobutton is in error state",
2890
+ "type": "boolean"
2891
+ },
2892
+ {
2893
+ "name": "disabled",
2894
+ "default": false,
2895
+ "description": "Defines if Toggle is disabled.\nWhen `true`, the component cannot be interacted.",
2896
+ "type": "boolean"
2897
+ },
2898
+ {
2899
+ "name": "id",
2900
+ "description": "Single ID associated with Toggle Input.If not provided,\nThe name will be used as Fallback to `id`.",
2901
+ "type": "string"
2902
+ }
2903
+ ]
2904
+ },
2835
2905
  {
2836
2906
  "name": "rarui-box",
2837
- "description": "## Rarui Box\n---\nA low-level `utility` component that provides stylized system accessories to allow for custom styling with theme reconfection.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components/layout/box) for more details.",
2907
+ "description": "## Rarui Box\n---\nA low-level `utility` component that provides stylized system accessories to allow for custom styling with theme reconfection.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/layout/box) for more details.",
2838
2908
  "attributes": [
2839
2909
  {
2840
2910
  "name": "background-color",
@@ -6624,7 +6694,7 @@
6624
6694
  },
6625
6695
  {
6626
6696
  "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.",
6697
+ "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-web-components/navigation/link) for more details.",
6628
6698
  "attributes": [
6629
6699
  {
6630
6700
  "name": "appearance",
@@ -6703,9 +6773,55 @@
6703
6773
  }
6704
6774
  ]
6705
6775
  },
6776
+ {
6777
+ "name": "rarui-pagination",
6778
+ "description": "## Rarui Pagination\n---\nThe pagination component allows the user to select a specific page in a page range.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/pagination) for more details.",
6779
+ "attributes": [
6780
+ {
6781
+ "name": "page-count",
6782
+ "description": "The total number of pages.",
6783
+ "type": "number"
6784
+ },
6785
+ {
6786
+ "name": "active-page",
6787
+ "description": "The currently selected page.",
6788
+ "type": "number"
6789
+ },
6790
+ {
6791
+ "name": "size",
6792
+ "default": "large",
6793
+ "description": "Specifies the size of the Pagination component.\n\n- dot\n- large\n- small",
6794
+ "type": "string",
6795
+ "values": [
6796
+ {
6797
+ "name": "dot"
6798
+ },
6799
+ {
6800
+ "name": "large",
6801
+ "description": "(default)"
6802
+ },
6803
+ {
6804
+ "name": "small"
6805
+ }
6806
+ ]
6807
+ },
6808
+ {
6809
+ "name": "show-numbers",
6810
+ "default": true,
6811
+ "description": "Determines whether page numbers should be shown.",
6812
+ "type": "boolean"
6813
+ },
6814
+ {
6815
+ "name": "show-arrows",
6816
+ "default": true,
6817
+ "description": "Determines whether page arrows should be shown.",
6818
+ "type": "boolean"
6819
+ }
6820
+ ]
6821
+ },
6706
6822
  {
6707
6823
  "name": "rarui-tabs",
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.",
6824
+ "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-web-components/navigation/tabs) for more details.",
6709
6825
  "attributes": [
6710
6826
  {
6711
6827
  "name": "pre-selected-tab",
@@ -6749,7 +6865,7 @@
6749
6865
  },
6750
6866
  {
6751
6867
  "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.",
6868
+ "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-web-components/surface/banner) for more details.",
6753
6869
  "attributes": [
6754
6870
  {
6755
6871
  "name": "appearance",
@@ -6794,7 +6910,7 @@
6794
6910
  },
6795
6911
  {
6796
6912
  "name": "rarui-card",
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.",
6913
+ "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-web-components/surface/card) for more details.",
6798
6914
  "attributes": [
6799
6915
  {
6800
6916
  "name": "padding",
@@ -6835,12 +6951,12 @@
6835
6951
  },
6836
6952
  {
6837
6953
  "name": "rarui-card-body",
6838
- "description": "## Rarui Card Body\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.",
6954
+ "description": "## Rarui Card Body\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-web-components/surface/card) for more details.",
6839
6955
  "attributes": []
6840
6956
  },
6841
6957
  {
6842
6958
  "name": "rarui-card-header",
6843
- "description": "## Rarui Card Header\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.",
6959
+ "description": "## Rarui Card Header\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-web-components/surface/card) for more details.",
6844
6960
  "attributes": [
6845
6961
  {
6846
6962
  "name": "title",