@weni/unnnic-system 3.21.0 → 3.23.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{es-8691a643.mjs → es-f147f063.mjs} +1 -1
  3. package/dist/{index-ae72d958.mjs → index-e16076fc.mjs} +4783 -4949
  4. package/dist/index.d.ts +2470 -6785
  5. package/dist/{pt-br-6dd0ab84.mjs → pt-br-d2de71ec.mjs} +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/unnnic.mjs +1 -1
  8. package/dist/unnnic.umd.js +30 -30
  9. package/package.json +1 -1
  10. package/src/components/CheckboxGroup/CheckboxGroup.vue +16 -24
  11. package/src/components/FormElement/FormElement.vue +26 -32
  12. package/src/components/Input/Input.vue +2 -2
  13. package/src/components/Input/__test__/Input.spec.js +1 -1
  14. package/src/components/Label/Label.vue +4 -7
  15. package/src/components/ModalDialog/ModalDialog.vue +4 -2
  16. package/src/components/ModalDialog/__tests__/ModalDialog.spec.js +83 -0
  17. package/src/components/RadioGroup/RadioGroup.vue +20 -34
  18. package/src/components/Switch/Switch.vue +47 -88
  19. package/src/components/Tab/Tab.vue +0 -4
  20. package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +1 -1
  21. package/src/components/TextArea/TextArea.vue +58 -80
  22. package/src/components/TextArea/__test__/TextArea.spec.js +4 -15
  23. package/src/components/ToolTip/ToolTip.vue +31 -45
  24. package/src/components/ToolTip/__tests__/ToolTip.spec.js +0 -12
  25. package/src/components/ui/tooltip/TooltipContent.vue +5 -0
  26. package/src/stories/CheckboxGroup.stories.js +4 -3
  27. package/src/stories/Input.stories.js +4 -1
  28. package/src/stories/Label.stories.js +10 -2
  29. package/src/stories/ModalDialog.stories.js +90 -0
  30. package/src/stories/RadioGroup.stories.js +4 -3
  31. package/src/stories/Switch.stories.js +4 -4
  32. package/src/stories/TextArea.stories.js +4 -1
  33. package/src/types/index.d.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ # 3.23.0 (2026-02-10)
9
+
10
+ ### Added
11
+
12
+ - **ModalDialog**: Added `title` named slot to allow custom title content (e.g., buttons, tags, icons, or any Vue component). The existing `title` prop continues to work as a fallback when no slot is provided.
13
+
14
+ # 3.22.0 (2026-02-10)
15
+
16
+ ### Added
17
+
18
+ - **Type definitions**: Added `unnnicFormElement`, `unnnicRadioGroup`, and `unnnicCheckboxGroup` component exports.
19
+
20
+ ### Changed
21
+
22
+ - **ToolTip**: Migrated to Composition API with TypeScript, aligned tooltip text when `side` is `top`/`bottom`, and switched trigger display to `flex`.
23
+ - **Form components**: Migrated `FormElement`, `CheckboxGroup`, `RadioGroup`, `Switch`, `Input`, and `TextArea` to Composition API/TypeScript and updated tooltip handling to use object props.
24
+ - **Label**: Tooltip now accepts `TooltipProps`; removed `useHtmlTooltip` in favor of unified tooltip props.
25
+ - **Tab**: Removed unused tooltip styles.
26
+
8
27
  # 3.21.0 (2026-02-09)
9
28
 
10
29
  ### Added
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-ae72d958.mjs";
1
+ import { h as n } from "./index-e16076fc.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Spanish [es]