@rarui/components 1.17.0 → 1.19.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,27 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
4
 
5
+ ## 2025-01-28 `1.19.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new navigation `SideNavigation` component with collapsible functionality. ([#129](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/129) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Added `SideNavigationItem` sub-component with level support for nested navigation. ([#129](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/129) by [@junior](https://git.rarolabs.com.br/junior))
11
+ - Implemented slot-based architecture for leading icons and custom content. ([#129](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/129) by [@junior](https://git.rarolabs.com.br/junior))
12
+ - Added toggle event for open/close state changes and improved boolean attribute handling. ([#129](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/129) by [@junior](https://git.rarolabs.com.br/junior))
13
+
14
+ ## 2024-08-28 `1.18.0`
15
+
16
+ #### 🎉 New features
17
+
18
+ - Added new stylization `ThemeProvider` component. ([#128](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/128) by [@junior](https://git.rarolabs.com.br/junior))
19
+ - Added new input `Input` component. ([#128](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/128) by [@junior](https://git.rarolabs.com.br/junior))
20
+ - Adding `verticalAlign` and `whiteSpace` property to the component `Box`.
21
+
22
+ #### 🐛 Bug fixes
23
+
24
+ - Fixed `Button` component width issue by adjusting host display styles. ([#128](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/128) by [@junior](https://git.rarolabs.com.br/junior))
25
+
5
26
  ## 2025-07-03 `1.17.0`
6
27
 
7
28
  #### 🎉 New features
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.16.0",
2
+ "version": "1.18.0",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -2990,6 +2990,199 @@
2990
2990
  }
2991
2991
  ]
2992
2992
  },
2993
+ {
2994
+ "name": "rarui-input",
2995
+ "description": "## Rarui Input\n---\nInput component allows users to enter and edit text.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/input) for more details.",
2996
+ "attributes": [
2997
+ {
2998
+ "name": "appearance",
2999
+ "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3000
+ "type": "string",
3001
+ "values": [
3002
+ {
3003
+ "name": "error"
3004
+ },
3005
+ {
3006
+ "name": "success"
3007
+ }
3008
+ ]
3009
+ },
3010
+ {
3011
+ "name": "border",
3012
+ "default": true,
3013
+ "description": "Determines if the input have borders or not.",
3014
+ "type": "boolean"
3015
+ },
3016
+ {
3017
+ "name": "size",
3018
+ "default": "medium",
3019
+ "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small",
3020
+ "type": "string",
3021
+ "values": [
3022
+ {
3023
+ "name": "large"
3024
+ },
3025
+ {
3026
+ "name": "medium",
3027
+ "description": "(default)"
3028
+ },
3029
+ {
3030
+ "name": "small"
3031
+ }
3032
+ ]
3033
+ },
3034
+ {
3035
+ "name": "divider",
3036
+ "default": true,
3037
+ "description": "Places a divider between the input and the leading components",
3038
+ "type": "boolean"
3039
+ },
3040
+ {
3041
+ "name": "value",
3042
+ "description": "The value of the input element.",
3043
+ "type": "string"
3044
+ },
3045
+ {
3046
+ "name": "placeholder",
3047
+ "description": "Placeholder text for the input element.",
3048
+ "type": "string"
3049
+ },
3050
+ {
3051
+ "name": "disabled",
3052
+ "default": false,
3053
+ "description": "Whether the input is disabled.",
3054
+ "type": "boolean"
3055
+ }
3056
+ ]
3057
+ },
3058
+ {
3059
+ "name": "rarui-input-password",
3060
+ "attributes": [
3061
+ {
3062
+ "name": "value",
3063
+ "description": "The value of the password input element.",
3064
+ "type": "string"
3065
+ },
3066
+ {
3067
+ "name": "placeholder",
3068
+ "description": "Placeholder text for the password input element.",
3069
+ "type": "string"
3070
+ },
3071
+ {
3072
+ "name": "appearance",
3073
+ "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3074
+ "type": "string",
3075
+ "values": [
3076
+ {
3077
+ "name": "error"
3078
+ },
3079
+ {
3080
+ "name": "success"
3081
+ }
3082
+ ]
3083
+ },
3084
+ {
3085
+ "name": "border",
3086
+ "default": true,
3087
+ "description": "Determines if the input have borders or not.",
3088
+ "type": "boolean"
3089
+ },
3090
+ {
3091
+ "name": "size",
3092
+ "default": "medium",
3093
+ "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small",
3094
+ "type": "string",
3095
+ "values": [
3096
+ {
3097
+ "name": "large"
3098
+ },
3099
+ {
3100
+ "name": "medium",
3101
+ "description": "(default)"
3102
+ },
3103
+ {
3104
+ "name": "small"
3105
+ }
3106
+ ]
3107
+ },
3108
+ {
3109
+ "name": "divider",
3110
+ "default": true,
3111
+ "description": "Places a divider between the input and the leading components",
3112
+ "type": "boolean"
3113
+ },
3114
+ {
3115
+ "name": "disabled",
3116
+ "default": false,
3117
+ "description": "Whether the input is disabled.",
3118
+ "type": "boolean"
3119
+ }
3120
+ ]
3121
+ },
3122
+ {
3123
+ "name": "rarui-input-search",
3124
+ "attributes": [
3125
+ {
3126
+ "name": "value",
3127
+ "description": "The value of the search input element.",
3128
+ "type": "string"
3129
+ },
3130
+ {
3131
+ "name": "placeholder",
3132
+ "description": "Placeholder text for the search input element.",
3133
+ "type": "string"
3134
+ },
3135
+ {
3136
+ "name": "appearance",
3137
+ "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3138
+ "type": "string",
3139
+ "values": [
3140
+ {
3141
+ "name": "error"
3142
+ },
3143
+ {
3144
+ "name": "success"
3145
+ }
3146
+ ]
3147
+ },
3148
+ {
3149
+ "name": "border",
3150
+ "default": true,
3151
+ "description": "Determines if the input have borders or not.",
3152
+ "type": "boolean"
3153
+ },
3154
+ {
3155
+ "name": "size",
3156
+ "default": "medium",
3157
+ "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small",
3158
+ "type": "string",
3159
+ "values": [
3160
+ {
3161
+ "name": "large"
3162
+ },
3163
+ {
3164
+ "name": "medium",
3165
+ "description": "(default)"
3166
+ },
3167
+ {
3168
+ "name": "small"
3169
+ }
3170
+ ]
3171
+ },
3172
+ {
3173
+ "name": "divider",
3174
+ "default": true,
3175
+ "description": "Places a divider between the input and the leading components",
3176
+ "type": "boolean"
3177
+ },
3178
+ {
3179
+ "name": "disabled",
3180
+ "default": false,
3181
+ "description": "Whether the input is disabled.",
3182
+ "type": "boolean"
3183
+ }
3184
+ ]
3185
+ },
2993
3186
  {
2994
3187
  "name": "rarui-radio-button",
2995
3188
  "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.",
@@ -5860,6 +6053,60 @@
5860
6053
  "description": "The **`opacity`** CSS property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.\n\n\n**Initial value**: `1.0`",
5861
6054
  "values": []
5862
6055
  },
6056
+ {
6057
+ "name": "vertical-align",
6058
+ "description": "The **`vertical-align`** CSS property sets vertical alignment of an inline, inline-block or table-cell box.\n\n\n**Initial value**: `baseline`\n\nThis property supports responsive values. You can pass a single value like `\"baseline\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"baseline\",\n \"md\": \"bottom\",\n \"lg\": \"middle\",\n \"xl\": \"sub\"\n}\n```\n\n- baseline\n- bottom\n- middle\n- sub\n- super\n- text-bottom\n- text-top\n- top",
6059
+ "values": [
6060
+ {
6061
+ "name": "baseline"
6062
+ },
6063
+ {
6064
+ "name": "bottom"
6065
+ },
6066
+ {
6067
+ "name": "middle"
6068
+ },
6069
+ {
6070
+ "name": "sub"
6071
+ },
6072
+ {
6073
+ "name": "super"
6074
+ },
6075
+ {
6076
+ "name": "text-bottom"
6077
+ },
6078
+ {
6079
+ "name": "text-top"
6080
+ },
6081
+ {
6082
+ "name": "top"
6083
+ }
6084
+ ]
6085
+ },
6086
+ {
6087
+ "name": "white-space",
6088
+ "description": "The **`white-space`** CSS property sets how white space inside an element is handled.\n\n\n**Initial value**: `normal`\n\nThis property supports responsive values. You can pass a single value like `\"break-spaces\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"break-spaces\",\n \"md\": \"normal\",\n \"lg\": \"nowrap\",\n \"xl\": \"pre\"\n}\n```\n\n- break-spaces\n- normal\n- nowrap\n- pre\n- pre-line\n- pre-wrap",
6089
+ "values": [
6090
+ {
6091
+ "name": "break-spaces"
6092
+ },
6093
+ {
6094
+ "name": "normal"
6095
+ },
6096
+ {
6097
+ "name": "nowrap"
6098
+ },
6099
+ {
6100
+ "name": "pre"
6101
+ },
6102
+ {
6103
+ "name": "pre-line"
6104
+ },
6105
+ {
6106
+ "name": "pre-wrap"
6107
+ }
6108
+ ]
6109
+ },
5863
6110
  {
5864
6111
  "name": "border-width-x",
5865
6112
  "description": "The borderWidthX shorthand property defines the width of the element's border on the left and right.\n\nThis property supports responsive values. You can pass a single value like `\"$1\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"$1\",\n \"md\": \"$2\",\n \"lg\": \"$3\",\n \"xl\": \"$4\"\n}\n```\n\n- $1\n- $2\n- $3\n- $4\n- $5\n- $none",
@@ -7036,6 +7283,107 @@
7036
7283
  }
7037
7284
  ]
7038
7285
  },
7286
+ {
7287
+ "name": "rarui-side-navigation-item",
7288
+ "description": "## Rarui SideNavigationItem\n---\nA navigation item component for use within SideNavigation.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/side-navigation) for more details.",
7289
+ "attributes": [
7290
+ {
7291
+ "name": "active",
7292
+ "description": "Determines if the item is active or not.",
7293
+ "type": "boolean"
7294
+ },
7295
+ {
7296
+ "name": "level",
7297
+ "description": "Determines the level of nesting for the item.\n\n- 0\n- 1\n- 2",
7298
+ "type": "number",
7299
+ "values": [
7300
+ {
7301
+ "name": 0
7302
+ },
7303
+ {
7304
+ "name": 1
7305
+ },
7306
+ {
7307
+ "name": 2
7308
+ }
7309
+ ]
7310
+ },
7311
+ {
7312
+ "name": "as",
7313
+ "default": "button",
7314
+ "description": "The HTML element type to render.\n\n- a\n- button",
7315
+ "type": "string",
7316
+ "values": [
7317
+ {
7318
+ "name": "a"
7319
+ },
7320
+ {
7321
+ "name": "button",
7322
+ "description": "(default)"
7323
+ }
7324
+ ]
7325
+ }
7326
+ ]
7327
+ },
7328
+ {
7329
+ "name": "rarui-side-navigation",
7330
+ "description": "## Rarui SideNavigation\n---\nA navigation component that supports collapsible content with nested items.\n\n### Slots\n- **Default slot**: Content for nested navigation items\n- **leading-start**: Content to display at the start (e.g., icons)\n- **leading-end**: Content to display at the end (e.g., custom icons)\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/navigation/side-navigation) for more details.",
7331
+ "attributes": [
7332
+ {
7333
+ "name": "name",
7334
+ "description": "Title of the sideNavigation",
7335
+ "type": "string"
7336
+ },
7337
+ {
7338
+ "name": "description",
7339
+ "description": "Description of the sideNavigation.",
7340
+ "type": "string"
7341
+ },
7342
+ {
7343
+ "name": "active",
7344
+ "default": false,
7345
+ "description": "Whether the navigation item is in active state.",
7346
+ "type": "boolean"
7347
+ },
7348
+ {
7349
+ "name": "level",
7350
+ "description": "Determines the level of nesting for the item.\n\n- 0\n- 1\n- 2",
7351
+ "type": "number",
7352
+ "values": [
7353
+ {
7354
+ "name": 0
7355
+ },
7356
+ {
7357
+ "name": 1
7358
+ },
7359
+ {
7360
+ "name": 2
7361
+ }
7362
+ ]
7363
+ },
7364
+ {
7365
+ "name": "disabled",
7366
+ "default": false,
7367
+ "description": "Whether the navigation item is disabled.",
7368
+ "type": "boolean"
7369
+ },
7370
+ {
7371
+ "name": "as",
7372
+ "default": "button",
7373
+ "description": "The HTML element type to render.\n\n- a\n- button",
7374
+ "type": "string",
7375
+ "values": [
7376
+ {
7377
+ "name": "a"
7378
+ },
7379
+ {
7380
+ "name": "button",
7381
+ "description": "(default)"
7382
+ }
7383
+ ]
7384
+ }
7385
+ ]
7386
+ },
7039
7387
  {
7040
7388
  "name": "rarui-tabs",
7041
7389
  "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.",
@@ -7080,6 +7428,27 @@
7080
7428
  }
7081
7429
  ]
7082
7430
  },
7431
+ {
7432
+ "name": "rarui-theme-provider",
7433
+ "description": "## Rarui ThemeProvider\n---\nThemeProvider component provides global theme management for the application.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/stylization/theme-provider) for more details.",
7434
+ "attributes": [
7435
+ {
7436
+ "name": "theme",
7437
+ "default": "base",
7438
+ "description": "Theme to apply globally to the application.\n\n- base\n- dark",
7439
+ "type": "string",
7440
+ "values": [
7441
+ {
7442
+ "name": "base",
7443
+ "description": "(default)"
7444
+ },
7445
+ {
7446
+ "name": "dark"
7447
+ }
7448
+ ]
7449
+ }
7450
+ ]
7451
+ },
7083
7452
  {
7084
7453
  "name": "rarui-banner",
7085
7454
  "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.",