@hanzo/ui 3.8.9 → 3.8.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "3.8.9",
3
+ "version": "3.8.11",
4
4
  "description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -84,7 +84,7 @@
84
84
  "tailwind-merge": "^2.3.0",
85
85
  "tailwindcss-animate": "^1.0.7",
86
86
  "tailwindcss-interaction-media": "^0.1.0",
87
- "@hanzo/react-drawer": "0.1.2"
87
+ "@hanzo/react-drawer": "0.1.3"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "@hookform/resolvers": "^3.3.2",
@@ -4,5 +4,5 @@ export default {
4
4
  md: '768px', // sm tablets / narrow -->
5
5
  lg: '1024px',
6
6
  xl: '1280px',
7
- '2xl': '1500px', // to match other sites
7
+ '2xl': '1500px',
8
8
  }
@@ -862,7 +862,7 @@ export default {
862
862
  '3/4': '75%',
863
863
  full: '100%',
864
864
  },
865
- width: {
865
+ width: ({ theme, breakpoints }) => ({
866
866
  auto: 'auto',
867
867
  ...spacing,
868
868
  '1/2': '50%',
@@ -896,7 +896,8 @@ export default {
896
896
  min: 'min-content',
897
897
  max: 'max-content',
898
898
  fit: 'fit-content',
899
- },
899
+ ...breakpoints(theme('screens')),
900
+ }),
900
901
  willChange: {
901
902
  auto: 'auto',
902
903
  scroll: 'scroll-position',