@neatui/css 3.2.4 → 3.3.0

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.
@@ -294,8 +294,8 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
294
294
  position: relative;
295
295
  content: '';
296
296
  display: block;
297
- width: 1em;
298
- height: 1em;
297
+ width: 0.9em;
298
+ height: 0.9em;
299
299
  left: 0;
300
300
  top: 0;
301
301
  margin: 0;
@@ -305,7 +305,7 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
305
305
  linear-gradient(90deg, transparent 41%, currentColor 42%, currentColor 59%, transparent 60%) no-repeat center/50% 50%;
306
306
  border-radius: 50%;
307
307
  color: currentColor;
308
- box-shadow: inset 0 0 0 2px currentColor;
308
+ box-shadow: inset 0 0 0 1px currentColor;
309
309
  }
310
310
  }
311
311
  @keyframes am-form-clean {
package/core/flex.scss CHANGED
@@ -20,6 +20,14 @@
20
20
  flex: 1;
21
21
  overflow: hidden;
22
22
  }
23
+ .#{$med}flex-grow {
24
+ flex-grow: 1;
25
+ flex-shrink: 0;
26
+ }
27
+ .#{$med}flex-shrink {
28
+ flex-grow: 0;
29
+ flex-shrink: 1;
30
+ }
23
31
 
24
32
  // 行内
25
33
  .#{$med}flex-inline {
package/core/trim.scss CHANGED
@@ -330,6 +330,9 @@
330
330
  &\* {
331
331
  width: #{$w_base * 2}em;
332
332
  }
333
+ &\*3 {
334
+ width: #{$w_base * 3}em;
335
+ }
333
336
  }
334
337
  .#{$media}min-w-#{$sz} {
335
338
  min-width: #{$w_base}em;
@@ -339,6 +342,9 @@
339
342
  &\* {
340
343
  min-width: #{$w_base * 2}em;
341
344
  }
345
+ &\*3 {
346
+ min-width: #{$w_base * 3}em;
347
+ }
342
348
  }
343
349
  .#{$media}max-w-#{$sz} {
344
350
  max-width: #{$w_base}em;
@@ -348,6 +354,9 @@
348
354
  &\* {
349
355
  max-width: #{$w_base * 2}em;
350
356
  }
357
+ &\*3 {
358
+ max-width: #{$w_base * 3}em;
359
+ }
351
360
  }
352
361
  $w_base: $w_base + 2;
353
362
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.2.4",
3
+ "version": "3.3.0",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",