@rarui/components 1.6.0 → 1.8.0-rc.1

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,12 +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-02 `1.7.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new exhibition `Icon` component. ([#114](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/114) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Added new feedback `Progress` component. ([#114](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/114) by [@junior](https://git.rarolabs.com.br/junior))
11
+
5
12
  ## 2025-05-29 `1.6.0`
6
13
 
7
14
  #### 🎉 New features
8
15
 
9
16
  - Added new input `RadioButton` component. ([#113](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/113) by [@junior](https://git.rarolabs.com.br/junior))
10
- - Added new input `Textarea` component. ([#113](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/112) by [@junior](https://git.rarolabs.com.br/junior))
17
+ - Added new input `Textarea` component. ([#113](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/113) by [@junior](https://git.rarolabs.com.br/junior))
11
18
 
12
19
  ## 2025-05-28 `1.5.0`
13
20
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.0",
2
+ "version": "1.8.0-rc.1",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -190,6 +190,188 @@
190
190
  }
191
191
  ]
192
192
  },
193
+ {
194
+ "name": "rarui-icon",
195
+ "attributes": [
196
+ {
197
+ "name": "color",
198
+ "description": "The color property sets the icon.\n\nThis property supports responsive values. You can pass a single value like `\"$brand\"`.\n\nOr an object like:\n```\n{\n\"xs\": \"$brand\",\n\"md\": \"$brand-alt\",\n\"lg\": \"$currentColor\",\n\"xl\": \"$disabled\"\n}\n```\n\n- $brand\n- $brand-alt\n- $currentColor\n- $disabled\n- $error\n- $info\n- $invert\n- $invert-disabled\n- $invert-secondary\n- $on-brand\n- $on-error\n- $on-info\n- $on-success\n- $on-warning\n- $primary\n- $secondary\n- $success\n- $warning\n- $warning-alt",
199
+ "values": [
200
+ {
201
+ "name": "$brand"
202
+ },
203
+ {
204
+ "name": "$brand-alt"
205
+ },
206
+ {
207
+ "name": "$currentColor"
208
+ },
209
+ {
210
+ "name": "$disabled"
211
+ },
212
+ {
213
+ "name": "$error"
214
+ },
215
+ {
216
+ "name": "$info"
217
+ },
218
+ {
219
+ "name": "$invert"
220
+ },
221
+ {
222
+ "name": "$invert-disabled"
223
+ },
224
+ {
225
+ "name": "$invert-secondary"
226
+ },
227
+ {
228
+ "name": "$on-brand"
229
+ },
230
+ {
231
+ "name": "$on-error"
232
+ },
233
+ {
234
+ "name": "$on-info"
235
+ },
236
+ {
237
+ "name": "$on-success"
238
+ },
239
+ {
240
+ "name": "$on-warning"
241
+ },
242
+ {
243
+ "name": "$primary"
244
+ },
245
+ {
246
+ "name": "$secondary"
247
+ },
248
+ {
249
+ "name": "$success"
250
+ },
251
+ {
252
+ "name": "$warning"
253
+ },
254
+ {
255
+ "name": "$warning-alt"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "cursor",
261
+ "description": "The **`cursor`** CSS property sets the type of mouse cursor, if any, to show when the mouse pointer is over an element.\n\n\n**Initial value**: `auto`\n\nThis property supports responsive values. You can pass a single value like `\"alias\"`.\n\nOr an object like:\n```\n{\n\"xs\": \"alias\",\n\"md\": \"all-scroll\",\n\"lg\": \"auto\",\n\"xl\": \"cell\"\n}\n```\n\n- alias\n- all-scroll\n- auto\n- cell\n- col-resize\n- context-menu\n- copy\n- crosshair\n- default\n- e-resize\n- ew-resize\n- grab\n- grabbing\n- help\n- move\n- n-resize\n- ne-resize\n- nesw-resize\n- no-drop\n- none\n- not-allowed\n- ns-resize\n- nw-resize\n- nwse-resize\n- pointer\n- progress\n- row-resize\n- s-resize\n- se-resize\n- sw-resize\n- text\n- vertical-text\n- w-resize\n- wait\n- zoom-in\n- zoom-out",
262
+ "values": [
263
+ {
264
+ "name": "alias"
265
+ },
266
+ {
267
+ "name": "all-scroll"
268
+ },
269
+ {
270
+ "name": "auto"
271
+ },
272
+ {
273
+ "name": "cell"
274
+ },
275
+ {
276
+ "name": "col-resize"
277
+ },
278
+ {
279
+ "name": "context-menu"
280
+ },
281
+ {
282
+ "name": "copy"
283
+ },
284
+ {
285
+ "name": "crosshair"
286
+ },
287
+ {
288
+ "name": "default"
289
+ },
290
+ {
291
+ "name": "e-resize"
292
+ },
293
+ {
294
+ "name": "ew-resize"
295
+ },
296
+ {
297
+ "name": "grab"
298
+ },
299
+ {
300
+ "name": "grabbing"
301
+ },
302
+ {
303
+ "name": "help"
304
+ },
305
+ {
306
+ "name": "move"
307
+ },
308
+ {
309
+ "name": "n-resize"
310
+ },
311
+ {
312
+ "name": "ne-resize"
313
+ },
314
+ {
315
+ "name": "nesw-resize"
316
+ },
317
+ {
318
+ "name": "no-drop"
319
+ },
320
+ {
321
+ "name": "none"
322
+ },
323
+ {
324
+ "name": "not-allowed"
325
+ },
326
+ {
327
+ "name": "ns-resize"
328
+ },
329
+ {
330
+ "name": "nw-resize"
331
+ },
332
+ {
333
+ "name": "nwse-resize"
334
+ },
335
+ {
336
+ "name": "pointer"
337
+ },
338
+ {
339
+ "name": "progress"
340
+ },
341
+ {
342
+ "name": "row-resize"
343
+ },
344
+ {
345
+ "name": "s-resize"
346
+ },
347
+ {
348
+ "name": "se-resize"
349
+ },
350
+ {
351
+ "name": "sw-resize"
352
+ },
353
+ {
354
+ "name": "text"
355
+ },
356
+ {
357
+ "name": "vertical-text"
358
+ },
359
+ {
360
+ "name": "w-resize"
361
+ },
362
+ {
363
+ "name": "wait"
364
+ },
365
+ {
366
+ "name": "zoom-in"
367
+ },
368
+ {
369
+ "name": "zoom-out"
370
+ }
371
+ ]
372
+ }
373
+ ]
374
+ },
193
375
  {
194
376
  "name": "rarui-text",
195
377
  "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.",
@@ -793,6 +975,203 @@
793
975
  }
794
976
  ]
795
977
  },
978
+ {
979
+ "name": "rarui-tooltip",
980
+ "description": "## Rarui Tooltip\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.",
981
+ "attributes": [
982
+ {
983
+ "name": "arrow",
984
+ "description": "Conditional for displaying the popover arrow.",
985
+ "type": "boolean"
986
+ },
987
+ {
988
+ "name": "match-reference-width",
989
+ "description": "A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.",
990
+ "type": "boolean"
991
+ },
992
+ {
993
+ "name": "enabled-hover",
994
+ "description": "Adds hover event listeners that change the open state, like CSS :hover.",
995
+ "type": "boolean"
996
+ },
997
+ {
998
+ "name": "enabled-click",
999
+ "description": "Adds click event listeners that change the open state.",
1000
+ "type": "boolean"
1001
+ },
1002
+ {
1003
+ "name": "enabled-dismiss",
1004
+ "description": "Adds listeners that dismiss (close) the floating element.",
1005
+ "type": "boolean"
1006
+ },
1007
+ {
1008
+ "name": "offset",
1009
+ "description": "Offest displaces the floating element from its core placement along the specified axes.",
1010
+ "type": "number"
1011
+ },
1012
+ {
1013
+ "name": "portal-id",
1014
+ "description": "Specifies the ID of the portal element where the tooltip should be rendered.\nThis can be useful for rendering the tooltip in a different part of the DOM, such as a modal or overlay.",
1015
+ "type": "string"
1016
+ },
1017
+ {
1018
+ "name": "visible",
1019
+ "description": "If true, the component is shown.",
1020
+ "type": "boolean"
1021
+ },
1022
+ {
1023
+ "name": "on-visibility",
1024
+ "description": "Function to control popover opening and closing.",
1025
+ "type": "(visible: boolean) => void;"
1026
+ },
1027
+ {
1028
+ "name": "inverted",
1029
+ "description": "Specifies whether the color scheme should be inverted",
1030
+ "type": "boolean"
1031
+ },
1032
+ {
1033
+ "name": "padding",
1034
+ "description": "Specifies the padding for the tooltip\n\n- base\n- none",
1035
+ "type": "string",
1036
+ "values": [
1037
+ {
1038
+ "name": "base"
1039
+ },
1040
+ {
1041
+ "name": "none"
1042
+ }
1043
+ ]
1044
+ },
1045
+ {
1046
+ "name": "position",
1047
+ "description": "Position of the popover.\n\n- bottom\n- bottom-end\n- bottom-start\n- left\n- left-end\n- left-start\n- right\n- right-end\n- right-start\n- top\n- top-end\n- top-start",
1048
+ "type": "string",
1049
+ "values": [
1050
+ {
1051
+ "name": "bottom",
1052
+ "description": "(default)"
1053
+ },
1054
+ {
1055
+ "name": "bottom-end"
1056
+ },
1057
+ {
1058
+ "name": "bottom-start"
1059
+ },
1060
+ {
1061
+ "name": "left"
1062
+ },
1063
+ {
1064
+ "name": "left-end"
1065
+ },
1066
+ {
1067
+ "name": "left-start"
1068
+ },
1069
+ {
1070
+ "name": "right"
1071
+ },
1072
+ {
1073
+ "name": "right-end"
1074
+ },
1075
+ {
1076
+ "name": "right-start"
1077
+ },
1078
+ {
1079
+ "name": "top"
1080
+ },
1081
+ {
1082
+ "name": "top-end"
1083
+ },
1084
+ {
1085
+ "name": "top-start"
1086
+ }
1087
+ ]
1088
+ },
1089
+ {
1090
+ "name": "strategy",
1091
+ "description": "CSS positioning strategy used for the tooltip.\n\n- `\"fixed\"` (default) positions the tooltip relative to the viewport,\n so it stays in the same place even when the page is scrolled.\n- `\"absolute\"` positions the tooltip relative to the nearest positioned ancestor,\n which can be useful when you want the tooltip to move with page content.\n\nUse `\"fixed\"` for tooltips that should remain visible on scroll,\nand `\"absolute\"` when tooltips need to be positioned within scrollable containers.\n\n- absolute\n- fixed",
1092
+ "type": "string",
1093
+ "values": [
1094
+ {
1095
+ "name": "absolute"
1096
+ },
1097
+ {
1098
+ "name": "fixed",
1099
+ "description": "(default)"
1100
+ }
1101
+ ]
1102
+ }
1103
+ ]
1104
+ },
1105
+ {
1106
+ "name": "rarui-progress",
1107
+ "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.",
1108
+ "attributes": [
1109
+ {
1110
+ "name": "percentage",
1111
+ "description": "The progress percentage, represented as a number between 0 and 100.\nThis indicates the completion level of the process.",
1112
+ "type": "number"
1113
+ },
1114
+ {
1115
+ "name": "color",
1116
+ "description": "Specifies the color of the progress.\nThis prop accepts one of the following values: \"$info\", \"$success\" or \"$brand\"\n\n- $brand\n- $info\n- $success",
1117
+ "type": "string",
1118
+ "values": [
1119
+ {
1120
+ "name": "$brand"
1121
+ },
1122
+ {
1123
+ "name": "$info",
1124
+ "description": "(default)"
1125
+ },
1126
+ {
1127
+ "name": "$success"
1128
+ }
1129
+ ]
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "name": "rarui-progress-circle",
1135
+ "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.",
1136
+ "attributes": [
1137
+ {
1138
+ "name": "percentage",
1139
+ "description": "The progress percentage, represented as a number between 0 and 100.\nThis indicates the completion level of the process.",
1140
+ "type": "number"
1141
+ },
1142
+ {
1143
+ "name": "color",
1144
+ "description": "Specifies the color of the progress.\nThis prop accepts one of the following values: \"$info\", \"$success\" or \"$brand\"\n\n- $brand\n- $info\n- $success",
1145
+ "type": "string",
1146
+ "values": [
1147
+ {
1148
+ "name": "$brand"
1149
+ },
1150
+ {
1151
+ "name": "$info",
1152
+ "description": "(default)"
1153
+ },
1154
+ {
1155
+ "name": "$success"
1156
+ }
1157
+ ]
1158
+ },
1159
+ {
1160
+ "name": "size",
1161
+ "description": "Specifies the size of the progress indicator.\nThis prop accepts one of the following values: \"large\" or \"small\".\n\n- large\n- small",
1162
+ "type": "string",
1163
+ "values": [
1164
+ {
1165
+ "name": "large",
1166
+ "description": "(default)"
1167
+ },
1168
+ {
1169
+ "name": "small"
1170
+ }
1171
+ ]
1172
+ }
1173
+ ]
1174
+ },
796
1175
  {
797
1176
  "name": "rarui-skeleton",
798
1177
  "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.",
@@ -1030,6 +1409,22 @@
1030
1409
  "name": "tonal"
1031
1410
  }
1032
1411
  ]
1412
+ },
1413
+ {
1414
+ "name": "type",
1415
+ "description": "Defines the native button type.\nCan be 'button', 'submit', or 'reset'.\n\n- button\n- reset\n- submit",
1416
+ "type": "string",
1417
+ "values": [
1418
+ {
1419
+ "name": "button"
1420
+ },
1421
+ {
1422
+ "name": "reset"
1423
+ },
1424
+ {
1425
+ "name": "submit"
1426
+ }
1427
+ ]
1033
1428
  }
1034
1429
  ]
1035
1430
  },