@ship-ui/core 0.16.16 → 0.16.18

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.16.16",
4
+ "version": "0.16.18",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=20",
7
7
  "@angular/core": ">=20"
@@ -96,6 +96,26 @@ $shipButtonShadow: false !default;
96
96
  }
97
97
  }
98
98
 
99
+ &.xsmall {
100
+ --btn-h: #{p2r(24)};
101
+ --btn-f: var(--paragraph-40);
102
+
103
+ padding: p2r(0 8);
104
+ gap: p2r(4);
105
+
106
+ sh-icon {
107
+ font-size: p2r(12);
108
+ }
109
+
110
+ sh-icon:first-child {
111
+ margin-left: p2r(-3);
112
+ }
113
+
114
+ sh-icon:last-child {
115
+ margin-right: p2r(-3);
116
+ }
117
+ }
118
+
99
119
  &[disabled] {
100
120
  opacity: 0.5;
101
121
  pointer-events: none;
@@ -42,12 +42,12 @@ $shipDialog: true !default;
42
42
  -webkit-backdrop-filter: blur(10px);
43
43
  }
44
44
 
45
- .content {
45
+ > .content {
46
46
  border: 1px solid rgb(from var(--base-4) r g b / 70%);
47
47
  }
48
48
  }
49
49
 
50
- .content {
50
+ > .content {
51
51
  position: relative;
52
52
  border-radius: var(--dialog-inner-s);
53
53
  background-color: var(--dialog-bg);
@@ -14,8 +14,8 @@
14
14
 
15
15
  &:after {
16
16
  content: '';
17
- width: p2r(16);
18
- height: p2r(16);
17
+ width: 1em;
18
+ height: 1em;
19
19
  border: 2px solid var(--loader-c);
20
20
  border-bottom-color: transparent;
21
21
  border-radius: 50%;