@rarui/components 1.16.0 → 1.18.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,24 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
4
 
5
+ ## 2024-08-28 `1.18.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new stylization `ThemeProvider` component. ([#128](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/128) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Added new input `Input` component. ([#128](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/128) by [@junior](https://git.rarolabs.com.br/junior))
11
+ - Adding `verticalAlign` and `whiteSpace` property to the component `Box`.
12
+
13
+ #### 🐛 Bug fixes
14
+
15
+ - 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))
16
+
17
+ ## 2025-07-03 `1.17.0`
18
+
19
+ #### 🎉 New features
20
+
21
+ - Added new surface `Modal` component. ([#125](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/125) by [@junior](https://git.rarolabs.com.br/junior))
22
+
5
23
  ## 2025-06-30 `1.16.0`
6
24
 
7
25
  #### 🎉 New features
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.15.0",
2
+ "version": "1.17.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",
@@ -7080,6 +7327,27 @@
7080
7327
  }
7081
7328
  ]
7082
7329
  },
7330
+ {
7331
+ "name": "rarui-theme-provider",
7332
+ "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.",
7333
+ "attributes": [
7334
+ {
7335
+ "name": "theme",
7336
+ "default": "base",
7337
+ "description": "Theme to apply globally to the application.\n\n- base\n- dark",
7338
+ "type": "string",
7339
+ "values": [
7340
+ {
7341
+ "name": "base",
7342
+ "description": "(default)"
7343
+ },
7344
+ {
7345
+ "name": "dark"
7346
+ }
7347
+ ]
7348
+ }
7349
+ ]
7350
+ },
7083
7351
  {
7084
7352
  "name": "rarui-banner",
7085
7353
  "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.",
@@ -7186,6 +7454,114 @@
7186
7454
  "type": "string"
7187
7455
  }
7188
7456
  ]
7457
+ },
7458
+ {
7459
+ "name": "rarui-modal",
7460
+ "description": "## Rarui Modal\n---\nThe modal component provides a base for popovers, suspended forms, tutorials, or any other content above the UI main surface.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/modal) for more details.",
7461
+ "attributes": [
7462
+ {
7463
+ "name": "padding",
7464
+ "default": "base",
7465
+ "description": "Padding properties are used to generate space around the content area of an Accordion.Body..\n\n- base\n- none",
7466
+ "type": "string",
7467
+ "values": [
7468
+ {
7469
+ "name": "base",
7470
+ "description": "(default)"
7471
+ },
7472
+ {
7473
+ "name": "none"
7474
+ }
7475
+ ]
7476
+ },
7477
+ {
7478
+ "name": "max-width",
7479
+ "description": "The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. It is also possible to pass a specific value.\n\n\n**Initial value**: `none`\n\nThis property supports responsive values. You can pass a single value like `\"fit-content\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"fit-content\",\n \"md\": \"intrinsic\",\n \"lg\": \"max-content\",\n \"xl\": \"min-content\"\n}\n```\n\n- fit-content\n- intrinsic\n- max-content\n- min-content\n- none\n- stretch",
7480
+ "values": [
7481
+ {
7482
+ "name": "fit-content"
7483
+ },
7484
+ {
7485
+ "name": "intrinsic"
7486
+ },
7487
+ {
7488
+ "name": "max-content"
7489
+ },
7490
+ {
7491
+ "name": "min-content"
7492
+ },
7493
+ {
7494
+ "name": "none"
7495
+ },
7496
+ {
7497
+ "name": "stretch"
7498
+ }
7499
+ ]
7500
+ },
7501
+ {
7502
+ "name": "open",
7503
+ "description": "Whether the modal is open or not.",
7504
+ "type": "boolean"
7505
+ },
7506
+ {
7507
+ "name": "portal-id",
7508
+ "description": "Specifies the ID of the portal element where the modal should be rendered.\nThis can be useful for rendering the modal in a different part of the DOM, such as a modal or overlay.",
7509
+ "type": "string"
7510
+ },
7511
+ {
7512
+ "name": "z-index",
7513
+ "description": "The zIndex property specifies the stack order of the box.\n\nThis property supports responsive values. You can pass a single value like `\"$100\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"$100\",\n \"md\": \"$200\",\n \"lg\": \"$300\",\n \"xl\": \"$400\"\n}\n```\n\n- $100\n- $200\n- $300\n- $400\n- $500\n- $600\n- $700\n- $800\n- $900",
7514
+ "values": [
7515
+ {
7516
+ "name": "$100"
7517
+ },
7518
+ {
7519
+ "name": "$200"
7520
+ },
7521
+ {
7522
+ "name": "$300"
7523
+ },
7524
+ {
7525
+ "name": "$400"
7526
+ },
7527
+ {
7528
+ "name": "$500"
7529
+ },
7530
+ {
7531
+ "name": "$600"
7532
+ },
7533
+ {
7534
+ "name": "$700"
7535
+ },
7536
+ {
7537
+ "name": "$800"
7538
+ },
7539
+ {
7540
+ "name": "$900"
7541
+ }
7542
+ ]
7543
+ }
7544
+ ]
7545
+ },
7546
+ {
7547
+ "name": "rarui-modal-footer",
7548
+ "description": "## Rarui Modal Footer\n---\nThe modal component provides a base for popovers, suspended forms, tutorials, or any other content above the UI main surface.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/modal) for more details.",
7549
+ "attributes": []
7550
+ },
7551
+ {
7552
+ "name": "rarui-modal-header",
7553
+ "attributes": [
7554
+ {
7555
+ "name": "title",
7556
+ "description": "The title to display in the Modal header.",
7557
+ "type": "string"
7558
+ },
7559
+ {
7560
+ "name": "subtitle",
7561
+ "description": "The subtitle to display in the Modal header.",
7562
+ "type": "string"
7563
+ }
7564
+ ]
7189
7565
  }
7190
7566
  ]
7191
7567
  }