@pequity/squirrel 8.0.0 → 8.0.1

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.
@@ -44,17 +44,17 @@ const btnClasses = {
44
44
  },
45
45
  size: {
46
46
  sm: {
47
- button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5",
47
+ button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8",
48
48
  content: "gap-1",
49
49
  icon: "text-base p-0.5"
50
50
  },
51
51
  md: {
52
- button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base",
52
+ button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10",
53
53
  content: "gap-2",
54
54
  icon: "text-xl"
55
55
  },
56
56
  lg: {
57
- button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6",
57
+ button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12",
58
58
  content: "gap-2.5",
59
59
  icon: "text-2xl"
60
60
  }
@@ -43,17 +43,17 @@ const btnClasses = {
43
43
  },
44
44
  size: {
45
45
  sm: {
46
- button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5",
46
+ button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8",
47
47
  content: "gap-1",
48
48
  icon: "text-base p-0.5"
49
49
  },
50
50
  md: {
51
- button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base",
51
+ button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10",
52
52
  content: "gap-2",
53
53
  icon: "text-xl"
54
54
  },
55
55
  lg: {
56
- button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6",
56
+ button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12",
57
57
  content: "gap-2.5",
58
58
  icon: "text-2xl"
59
59
  }
@@ -49,17 +49,17 @@ declare const btn: import("tailwind-variants").TVReturnType<{
49
49
  };
50
50
  readonly size: {
51
51
  readonly sm: {
52
- readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5";
52
+ readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8";
53
53
  readonly content: "gap-1";
54
54
  readonly icon: "text-base p-0.5";
55
55
  };
56
56
  readonly md: {
57
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base";
57
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10";
58
58
  readonly content: "gap-2";
59
59
  readonly icon: "text-xl";
60
60
  };
61
61
  readonly lg: {
62
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6";
62
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12";
63
63
  readonly content: "gap-2.5";
64
64
  readonly icon: "text-2xl";
65
65
  };
@@ -114,17 +114,17 @@ declare const btn: import("tailwind-variants").TVReturnType<{
114
114
  };
115
115
  readonly size: {
116
116
  readonly sm: {
117
- readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5";
117
+ readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8";
118
118
  readonly content: "gap-1";
119
119
  readonly icon: "text-base p-0.5";
120
120
  };
121
121
  readonly md: {
122
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base";
122
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10";
123
123
  readonly content: "gap-2";
124
124
  readonly icon: "text-xl";
125
125
  };
126
126
  readonly lg: {
127
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6";
127
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12";
128
128
  readonly content: "gap-2.5";
129
129
  readonly icon: "text-2xl";
130
130
  };
@@ -179,17 +179,17 @@ declare const btn: import("tailwind-variants").TVReturnType<{
179
179
  };
180
180
  readonly size: {
181
181
  readonly sm: {
182
- readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5";
182
+ readonly button: "px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8";
183
183
  readonly content: "gap-1";
184
184
  readonly icon: "text-base p-0.5";
185
185
  };
186
186
  readonly md: {
187
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base";
187
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10";
188
188
  readonly content: "gap-2";
189
189
  readonly icon: "text-xl";
190
190
  };
191
191
  readonly lg: {
192
- readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6";
192
+ readonly button: "px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12";
193
193
  readonly content: "gap-2.5";
194
194
  readonly icon: "text-2xl";
195
195
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pequity/squirrel",
3
3
  "description": "Squirrel component library",
4
- "version": "8.0.0",
4
+ "version": "8.0.1",
5
5
  "packageManager": "pnpm@10.6.4",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -174,9 +174,9 @@ describe('PBtn.vue', () => {
174
174
  });
175
175
 
176
176
  it.each([
177
- ['sm', ['py-1.5', 'px-3', 'rounded', 'font-medium', 'text-sm', 'leading-5']],
178
- ['md', ['py-2', 'px-6', 'rounded', 'font-medium', 'text-base']],
179
- ['lg', ['py-3', 'px-6', 'rounded', 'font-medium', 'text-lg', 'leading-6']],
177
+ ['sm', ['py-1.5', 'px-3', 'rounded', 'font-medium', 'text-sm', 'leading-5', 'h-8']],
178
+ ['md', ['py-2', 'px-6', 'rounded', 'font-medium', 'text-base', 'h-10']],
179
+ ['lg', ['py-3', 'px-6', 'rounded', 'font-medium', 'text-lg', 'leading-6', 'h-12']],
180
180
  ])('renders a button of size %s', async (size, classes) => {
181
181
  const wrapper = createWrapperFor(PBtn, { props: { size }, slots: { default: `button` } });
182
182
 
@@ -63,17 +63,17 @@ const btnClasses = {
63
63
  },
64
64
  size: {
65
65
  sm: {
66
- button: 'px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5',
66
+ button: 'px-3 has-[.slot-wrapper:empty]:px-1.5 py-1.5 text-sm leading-5 h-8',
67
67
  content: 'gap-1',
68
68
  icon: 'text-base p-0.5',
69
69
  },
70
70
  md: {
71
- button: 'px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base',
71
+ button: 'px-6 has-[.slot-wrapper:empty]:px-2.5 has-[.slot-wrapper:empty]:py-2.5 py-2 text-base h-10',
72
72
  content: 'gap-2',
73
73
  icon: 'text-xl',
74
74
  },
75
75
  lg: {
76
- button: 'px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6',
76
+ button: 'px-6 has-[.slot-wrapper:empty]:px-3 py-3 text-lg leading-6 h-12',
77
77
  content: 'gap-2.5',
78
78
  icon: 'text-2xl',
79
79
  },