@saasmakers/ui 1.5.5 → 1.5.6

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.
@@ -51,12 +51,18 @@ function onTabClick(event: MouseEvent, tabValue: string) {
51
51
  'flex-col': orientation === 'vertical',
52
52
  'text-gray-900 dark:text-gray-100': isTabActive(tab.value),
53
53
  'text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100': !isTabActive(tab.value) && !disabled,
54
- 'py-1.5 px-2.5': size === 'xs' && theme === 'rounded',
55
- 'py-2 px-3': size === 'sm' && theme === 'rounded',
56
- 'py-2.5 px-3.5': size === 'base' && theme === 'rounded' || size === 'xs' && theme === 'border',
57
- 'py-3 px-4': size === 'lg' && theme === 'rounded' || size === 'sm' && theme === 'border',
58
- 'py-3.5 px-4.5': size === 'base' && theme === 'border',
59
- 'py-4 px-5': size === 'lg' && theme === 'border',
54
+ 'py-1 px-2.5 sm:py-1.5': size === 'xs' && theme === 'rounded' && orientation === 'responsive',
55
+ 'py-1.5 px-3 sm:py-2': size === 'sm' && theme === 'rounded' && orientation === 'responsive',
56
+ 'py-2 px-3.5 sm:py-2.5': (size === 'base' && theme === 'rounded' || size === 'xs' && theme === 'border') && orientation === 'responsive',
57
+ 'py-2.5 px-4 sm:py-3': (size === 'lg' && theme === 'rounded' || size === 'sm' && theme === 'border') && orientation === 'responsive',
58
+ 'py-3 px-4.5 sm:py-3.5': size === 'base' && theme === 'border' && orientation === 'responsive',
59
+ 'py-3.5 px-5 sm:py-4': size === 'lg' && theme === 'border' && orientation === 'responsive',
60
+ 'py-1.5 px-2.5': size === 'xs' && theme === 'rounded' && orientation !== 'responsive',
61
+ 'py-2 px-3': size === 'sm' && theme === 'rounded' && orientation !== 'responsive',
62
+ 'py-2.5 px-3.5': (size === 'base' && theme === 'rounded' || size === 'xs' && theme === 'border') && orientation !== 'responsive',
63
+ 'py-3 px-4': (size === 'lg' && theme === 'rounded' || size === 'sm' && theme === 'border') && orientation !== 'responsive',
64
+ 'py-3.5 px-4.5': size === 'base' && theme === 'border' && orientation !== 'responsive',
65
+ 'py-4 px-5': size === 'lg' && theme === 'border' && orientation !== 'responsive',
60
66
  'border-b-2 border-gray-300 dark:border-gray-700 transition duration-500': theme === 'border',
61
67
  'border-gray-900 dark:border-gray-100': isTabActive(tab.value) && theme === 'border',
62
68
  'border-gray-100 dark:border-gray-900': !isTabActive(tab.value) && theme === 'border',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",