podo-ui 1.1.8 → 1.1.9

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.
@@ -4,7 +4,7 @@ const Button = forwardRef(({ theme = 'default', variant = 'solid', size = 'sm',
4
4
  const buttonClass = [
5
5
  theme !== 'default' && theme,
6
6
  variant !== 'solid' && variant,
7
- size,
7
+ size !== 'sm' && size,
8
8
  textAlign === 'left' && 'text-left',
9
9
  textAlign === 'right' && 'text-right',
10
10
  className,
@@ -10,7 +10,8 @@
10
10
  display: flex;
11
11
  align-items: center;
12
12
  gap: s(2);
13
- padding: s(3) s(4);
13
+ height: 42px;
14
+ padding: 0 s(4);
14
15
  background: color('bg-block');
15
16
  border: 1px solid color('border');
16
17
  border-radius: r(3);
@@ -99,6 +100,7 @@
99
100
  flex: 1;
100
101
  align-items: center;
101
102
  justify-content: center;
103
+ height: auto;
102
104
  padding: 0 s(2);
103
105
  background: none;
104
106
  border: none;
@@ -53,7 +53,7 @@
53
53
  [
54
54
  theme !== 'default' && theme,
55
55
  variant !== 'solid' && variant,
56
- size,
56
+ size !== 'sm' && size,
57
57
  textAlign === 'left' && 'text-left',
58
58
  textAlign === 'right' && 'text-right',
59
59
  className,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "podo-ui",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "type": "module",
5
5
  "author": "hada0127 <work@tarucy.net>",
6
6
  "license": "MIT",
package/public/ai.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "podo-ui",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Design system: SCSS + React + Svelte 5",
5
5
  "philosophy": "Maximum flexibility with minimal JS dependency",
6
6
  "install": "npm install podo-ui",
@@ -8,6 +8,9 @@ button {
8
8
  display: inline-flex;
9
9
  align-items: center;
10
10
  gap: s(2);
11
+ border-radius: r(3);
12
+ padding: 0 s(3);
13
+ height: 42px;
11
14
  &.xxs {
12
15
  @include p5;
13
16
  & {
@@ -30,11 +33,6 @@ button {
30
33
  }
31
34
  }
32
35
  }
33
- &.sm {
34
- border-radius: r(3);
35
- padding: 0 s(3);
36
- height: 42px;
37
- }
38
36
  &.md {
39
37
  @include p2;
40
38
  & {