@ship-ui/core 0.18.11 → 0.18.12

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.
@@ -1347,6 +1347,10 @@
1347
1347
  "name": "--btn-h",
1348
1348
  "defaultValue": "#{p2r(40)}"
1349
1349
  },
1350
+ {
1351
+ "name": "--btn-mw",
1352
+ "defaultValue": "#{p2r(40)}"
1353
+ },
1350
1354
  {
1351
1355
  "name": "--btn-f",
1352
1356
  "defaultValue": "var(--paragraph-20)"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.18.11",
4
+ "version": "0.18.12",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=20",
7
7
  "@angular/core": ">=20",
@@ -5,6 +5,7 @@ $shipButtonShadow: false !default;
5
5
  @if $shipButton == true {
6
6
  [shButton] {
7
7
  --btn-h: #{p2r(40)};
8
+ --btn-mw: #{p2r(40)};
8
9
  --btn-f: var(--paragraph-20);
9
10
  --btn-a-opacity: 0.05;
10
11
 
@@ -21,7 +22,7 @@ $shipButtonShadow: false !default;
21
22
  position: relative;
22
23
  padding: p2r(0 12);
23
24
  transition: color 80ms linear;
24
- min-width: auto;
25
+ min-width: var(--btn-mw);
25
26
  cursor: pointer;
26
27
  outline: none;
27
28
  line-height: inherit;
@@ -78,6 +79,7 @@ $shipButtonShadow: false !default;
78
79
 
79
80
  &.small {
80
81
  --btn-h: #{p2r(32)};
82
+ --btn-mw: #{p2r(32)};
81
83
  --btn-f: var(--paragraph-30);
82
84
 
83
85
  padding: p2r(0 8);
@@ -98,6 +100,7 @@ $shipButtonShadow: false !default;
98
100
 
99
101
  &.xsmall {
100
102
  --btn-h: #{p2r(24)};
103
+ --btn-mw: #{p2r(24)};
101
104
  --btn-f: var(--paragraph-40);
102
105
 
103
106
  padding: p2r(0 8);