@weni/unnnic-system 3.12.8 → 3.13.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 (31) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{es-62c1e8d3.mjs → es-41fceca9.mjs} +1 -1
  3. package/dist/{index-ef197fd5.mjs → index-cca96b43.mjs} +81802 -81503
  4. package/dist/index.d.ts +660 -20
  5. package/dist/{pt-br-198b147b.mjs → pt-br-a3088529.mjs} +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/unnnic.mjs +142 -140
  8. package/dist/unnnic.umd.js +35 -35
  9. package/package.json +1 -1
  10. package/src/components/Input/BaseInput.vue +25 -5
  11. package/src/components/Input/Input.scss +2 -1
  12. package/src/components/Input/Input.vue +24 -1
  13. package/src/components/Input/TextInput.vue +64 -25
  14. package/src/components/Input/__test__/TextInput.spec.js +1 -1
  15. package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +5 -1
  16. package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
  17. package/src/components/Select/__tests__/Select.spec.js +422 -0
  18. package/src/components/Select/__tests__/SelectItem.spec.js +330 -0
  19. package/src/components/Select/__tests__/__snapshots__/Popover.spec.js.snap +8 -0
  20. package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +71 -0
  21. package/src/components/Select/__tests__/__snapshots__/SelectItem.spec.js.snap +15 -0
  22. package/src/components/Select/__tests__/__snapshots__/SelectOption.spec.js.snap +25 -0
  23. package/src/components/Select/__tests__/__snapshots__/SelectPopover.spec.js.snap +8 -0
  24. package/src/components/Select/index.vue +308 -0
  25. package/src/components/index.ts +4 -4
  26. package/src/components/ui/popover/PopoverOption.vue +4 -0
  27. package/src/locales/en.json +3 -1
  28. package/src/locales/es.json +3 -1
  29. package/src/locales/pt_br.json +3 -1
  30. package/src/stories/Input.mdx +3 -0
  31. package/src/stories/Select.stories.js +161 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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.13.0 (2025-01-12)
9
+
10
+ ### Added
11
+
12
+ - **Select Component**:
13
+ - Introduced `UnnnicSelect`, a popover-backed single select that mirrors `UnnnicInput`, supports keyboard navigation, disabled items, optional search input, custom `itemLabel`/`itemValue`, `returnObject`, auto width syncing, dynamic `optionsLines` height, clear action, and localized empty states.
14
+
15
+ ### Changed
16
+
17
+ - **Input Family**:
18
+ - Reintroduced focus transition styling and added `readonly`, `useFocusProp`, `focus`, and `showClear` props across `UnnnicInput`, `TextInput`, and `BaseInput` so programmatic focus and inline clear affordances are available without losing sanitization.
19
+
8
20
  # 3.12.8 (2025-12-30)
9
21
 
10
22
  ### Fixed
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-ef197fd5.mjs";
1
+ import { h as n } from "./index-cca96b43.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Spanish [es]