@westpac/ui 0.59.1 → 0.59.3

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 (49) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/CHANGELOG.md +17 -0
  3. package/assets/icons/filled/arrow-back-filled.svg +3 -0
  4. package/assets/icons/filled/arrow-down-filled.svg +3 -0
  5. package/assets/icons/filled/arrow-forward-filled.svg +3 -0
  6. package/assets/icons/filled/arrow-up-filled.svg +3 -0
  7. package/assets/icons/outlined/arrow-back-outlined.svg +3 -0
  8. package/assets/icons/outlined/arrow-down-outlined.svg +3 -0
  9. package/assets/icons/outlined/arrow-forward-outlined.svg +3 -0
  10. package/assets/icons/outlined/arrow-up-outlined.svg +3 -0
  11. package/dist/component-type.json +1 -1
  12. package/dist/components/icon/components/arrow-back-icon.d.ts +2 -0
  13. package/dist/components/icon/components/arrow-back-icon.js +12 -0
  14. package/dist/components/icon/components/arrow-down-icon.d.ts +2 -0
  15. package/dist/components/icon/components/arrow-down-icon.js +12 -0
  16. package/dist/components/icon/components/arrow-forward-icon.d.ts +2 -0
  17. package/dist/components/icon/components/arrow-forward-icon.js +12 -0
  18. package/dist/components/icon/components/arrow-up-icon.d.ts +2 -0
  19. package/dist/components/icon/components/arrow-up-icon.js +12 -0
  20. package/dist/components/icon/icon.styles.js +5 -5
  21. package/dist/components/icon/index.d.ts +4 -0
  22. package/dist/components/icon/index.js +4 -0
  23. package/dist/components/link/link.styles.d.ts +0 -6
  24. package/dist/components/link/link.styles.js +5 -7
  25. package/dist/components/popover/components/panel/panel.component.d.ts +1 -1
  26. package/dist/components/popover/components/panel/panel.component.js +29 -12
  27. package/dist/components/popover/components/panel/panel.hook.js +6 -0
  28. package/dist/components/popover/components/panel/panel.types.d.ts +8 -0
  29. package/dist/components/popover/popover.component.js +14 -4
  30. package/dist/components/selector/components/selector-checkbox-group/components/selector-checkbox-group-option/selector-checkbox-group-option.component.js +1 -0
  31. package/dist/components/selector/components/selector-radio-group/components/selector-radio-group-option/selector-radio-group-option.component.js +1 -0
  32. package/dist/css/westpac-ui.css +150 -36
  33. package/dist/css/westpac-ui.min.css +150 -36
  34. package/package.json +5 -4
  35. package/src/components/date-picker-beta/components/calendar/components/calendar-cell/calendar-cell.types.ts +0 -4
  36. package/src/components/icon/components/arrow-back-icon.tsx +17 -0
  37. package/src/components/icon/components/arrow-down-icon.tsx +17 -0
  38. package/src/components/icon/components/arrow-forward-icon.tsx +17 -0
  39. package/src/components/icon/components/arrow-up-icon.tsx +17 -0
  40. package/src/components/icon/icon.styles.ts +5 -5
  41. package/src/components/icon/index.ts +4 -0
  42. package/src/components/link/link.component.tsx +1 -0
  43. package/src/components/link/link.styles.ts +5 -7
  44. package/src/components/popover/components/panel/panel.component.tsx +41 -23
  45. package/src/components/popover/components/panel/panel.hook.tsx +8 -0
  46. package/src/components/popover/components/panel/panel.types.ts +8 -0
  47. package/src/components/popover/popover.component.tsx +16 -2
  48. package/src/components/selector/components/selector-checkbox-group/components/selector-checkbox-group-option/selector-checkbox-group-option.component.tsx +6 -1
  49. package/src/components/selector/components/selector-radio-group/components/selector-radio-group-option/selector-radio-group-option.component.tsx +6 -1
package/.eslintrc.cjs CHANGED
@@ -23,4 +23,4 @@ module.exports = {
23
23
  },
24
24
  },
25
25
  },
26
- };
26
+ };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @westpac/ui
2
2
 
3
+ ## 0.59.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b47606f: - Made changes to popover to have better accessibility
8
+ - Fixed issue with radio and checkbox selector that caused hint to be read multiple times
9
+ - added min width and min height to icons so they don't shrink in certain cases
10
+ - fixed issue with Link component not wrapping correctly when content was too long
11
+ - made adjustments to Link to work better inline along with above changes
12
+ - added 4 new icons
13
+
14
+ ## 0.59.2
15
+
16
+ ### Patch Changes
17
+
18
+ - d2e9dbb: updates to horizontal positioning for popover on smaller screens
19
+
3
20
  ## 0.59.1
4
21
 
5
22
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 20L13.41 18.59L7.83 13L20 13V11L7.83 11L13.41 5.41L12 4L4 12L12 20Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 12L18.59 10.59L13 16.17V4L11 4L11 16.17L5.41 10.59L4 12L12 20L20 12Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4 12L5.41 13.41L11 7.83L11 20H13V7.83L18.59 13.41L20 12L12 4L4 12Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 20L13.41 18.59L7.83 13L20 13V11L7.83 11L13.41 5.41L12 4L4 12L12 20Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 12L18.59 10.59L13 16.17V4L11 4L11 16.17L5.41 10.59L4 12L12 20L20 12Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z" fill="#0000FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4 12L5.41 13.41L11 7.83L11 20H13V7.83L18.59 13.41L20 12L12 4L4 12Z" fill="#0000FF"/>
3
+ </svg>