@rarui/components 1.28.0 → 1.29.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,18 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
4
 
5
+ ## 2025-10-09 `1.29.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added `items-after-truncate` property to the `Select` component for controlling item truncation with "+X" chip display in multiple selection mode. ([#143](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/143) by [@junior](https://git.rarolabs.com.br/junior))
10
+
11
+ ## 2025-10-07 `1.28.1`
12
+
13
+ #### 🐛 Bug fixes
14
+
15
+ - **Dropdown Visible Attribute Detection**: Fixed `_hasVisibleAttribute` flag to properly detect when the component is in controlled mode. Resolved timing issue where `hasAttribute("visible")` was always returning false by moving detection logic to the property setter and using `updateComplete` promise for initial state verification. ([#142](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/142) by [@junior](https://git.rarolabs.com.br/junior))
16
+
5
17
  ## 2025-09-29 `1.28.0`
6
18
 
7
19
  #### 💡 Others
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.27.0",
2
+ "version": "1.28.1",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -3777,6 +3777,12 @@
3777
3777
  "description": "Specifies the default selected value(s) for the select box.\nThis can be a selectOption for single selection or an array of selectOption for multiple selections.",
3778
3778
  "values": []
3779
3779
  },
3780
+ {
3781
+ "name": "items-after-truncate",
3782
+ "description": "Maximum number of items to display before showing a \"+X\" chip with the remaining count.\nWhen set, only the specified number of selected items will be shown, followed by a chip indicating how many more items are selected.\n\n@default undefined (shows all selected items)",
3783
+ "type": "number",
3784
+ "default": "undefined (shows all selected items)"
3785
+ },
3780
3786
  {
3781
3787
  "name": "position",
3782
3788
  "description": "Position of the dropdown relative to the trigger.\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\n\n@default bottom-start",