@rarui/components 1.12.0 → 1.14.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
@@ -1,6 +1,19 @@
1
1
  # Changelog
2
2
 
3
- `@rarui/components` components is a component library built with [Stencil](https://stenciljs.com/docs/introduction).
3
+ `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
+
5
+ ## 2025-06-26 `1.14.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new exhibition `Label` component. ([#122](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/122) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Added new input `Toggle` component. ([#122](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/122) by [@junior](https://git.rarolabs.com.br/junior))
11
+
12
+ ## 2025-06-23 `1.13.0`
13
+
14
+ #### 🎉 New features
15
+
16
+ - Added new surface `Banner` component. ([#120](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/120) by [@junior](https://git.rarolabs.com.br/junior))
4
17
 
5
18
  ## 2025-06-18 `1.12.0`
6
19
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.11.0",
2
+ "version": "1.13.0",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -1355,6 +1355,23 @@
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/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
1377
  "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.",
@@ -2832,6 +2849,59 @@
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/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
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/layout/box) for more details.",
@@ -6747,6 +6817,51 @@
6747
6817
  }
6748
6818
  ]
6749
6819
  },
6820
+ {
6821
+ "name": "rarui-banner",
6822
+ "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.",
6823
+ "attributes": [
6824
+ {
6825
+ "name": "appearance",
6826
+ "default": "brand",
6827
+ "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",
6828
+ "type": "string",
6829
+ "values": [
6830
+ {
6831
+ "name": "brand",
6832
+ "description": "(default)"
6833
+ },
6834
+ {
6835
+ "name": "error"
6836
+ },
6837
+ {
6838
+ "name": "info"
6839
+ },
6840
+ {
6841
+ "name": "inverted"
6842
+ },
6843
+ {
6844
+ "name": "neutral"
6845
+ },
6846
+ {
6847
+ "name": "warning"
6848
+ }
6849
+ ]
6850
+ },
6851
+ {
6852
+ "name": "floating",
6853
+ "default": false,
6854
+ "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.",
6855
+ "type": "boolean"
6856
+ },
6857
+ {
6858
+ "name": "closable",
6859
+ "default": false,
6860
+ "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.",
6861
+ "type": "boolean"
6862
+ }
6863
+ ]
6864
+ },
6750
6865
  {
6751
6866
  "name": "rarui-card",
6752
6867
  "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.",