@matteusan/himig 1.9.0 → 1.9.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.
package/_index.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  $expressive-inks: false !default;
@@ -72,7 +72,7 @@ $vue-mode: $test-mode !default;
72
72
  'size': 'size.6xl',
73
73
  'weight': 'weight.normal',
74
74
  'line-height': 'line-height.x-short',
75
- 'squeeze': 'squeeze.x-tight',
75
+ 'squeeze': 'squeeze.tight',
76
76
  'stretch': 'stretch.condensed'
77
77
  );
78
78
 
@@ -81,7 +81,7 @@ $vue-mode: $test-mode !default;
81
81
  'size': 'size.3xl',
82
82
  'weight': 'weight.normal',
83
83
  'line-height': 'line-height.x-short',
84
- 'squeeze': 'squeeze.tight',
84
+ 'squeeze': 'squeeze.normal',
85
85
  'stretch': 'stretch.condensed'
86
86
  );
87
87
 
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  @use 'sass:map';
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  @if list.index($family-list, 'family.serif') {
19
- @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&display=swap');
19
+ @import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
20
20
  }
21
21
 
22
22
  @if list.index($family-list, 'family.mono') {
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  $init-color: (
@@ -52,7 +52,7 @@ $init-typography: (
52
52
  ),
53
53
  squeeze: (
54
54
  'default': 'normal',
55
- 'title': 'tight',
55
+ 'title': 'normal',
56
56
  'subtitle': 'normal',
57
57
  ),
58
58
  );
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  @use 'pkg:@matteusan/pintig';
@@ -91,15 +91,6 @@
91
91
  }
92
92
 
93
93
  .ms-form-field__helper {
94
- @include pintig.color-apply('form-field-helper', (
95
- ink: inherit,
96
- ));
97
- @include pintig.typography-apply('form-field-helper', (
98
- family: inherit,
99
- size: inherit,
100
- weight: inherit,
101
- line-height: inherit,
102
- ));
103
94
  transition-property: background, color, border;
104
95
  transition-duration: pintig.token-get('time-short');
105
96
  transition-timing-function: pintig.token-get('easing');
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  @use 'pkg:@matteusan/pintig';
@@ -38,6 +38,7 @@
38
38
  ));
39
39
  user-select: none;
40
40
 
41
+ &:has(+ .ms-form-field__input:read-only),
41
42
  &:has(+ .ms-form-field__input:disabled) {
42
43
  @include pintig.color-bind('form-field-label', (
43
44
  ink: pintig.theme-get($color, 'ink', 'disabled'),
@@ -45,10 +46,6 @@
45
46
  }
46
47
  }
47
48
 
48
- &:has(.ms-form-field__input:read-only:disabled) {
49
- @include pintig.color-ink('form-field-helper', pintig.theme-get($color, 'ink', 'disabled'), 'bind');
50
- }
51
-
52
49
  .ms-form-field__input {
53
50
  @include pintig.struct-bind('form-field', (
54
51
  width: (
@@ -96,15 +93,19 @@
96
93
  border: pintig.theme-get($color, 'fill', 'disabled'),
97
94
  ));
98
95
  cursor: not-allowed;
96
+
97
+ + .ms-form-field__helper {
98
+ @include pintig.color-ink('form-field-helper', pintig.theme-get($color, 'ink', 'disabled'), 'bind');
99
+ }
99
100
  }
100
101
  }
101
102
 
102
103
  .ms-form-field__helper {
103
104
  padding: 0.3rem pintig.primitive-token-switch('padding.#{$resolve-padding}', $resolve-padding) 0;
104
- @include pintig.color-bind('form-field-helper', (
105
+ @include pintig.color-apply('form-field-helper', (
105
106
  ink: pintig.theme-get($color, 'ink', 'helper'),
106
107
  ));
107
- @include pintig.typography-bind('form-field-helper', (
108
+ @include pintig.typography-apply('form-field-helper', (
108
109
  family: pintig.theme-get($typography, 'family'),
109
110
  size: pintig.theme-get($typography, 'size', 'helper'),
110
111
  weight: pintig.theme-get($typography, 'weight'),
@@ -1,5 +1,5 @@
1
1
  // @license
2
- // Copyright (c) 2025 MatteuSan
2
+ // Copyright (c) 2026 MatteuSan
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
5
  @use 'pkg:@matteusan/pintig';
@@ -65,10 +65,10 @@
65
65
 
66
66
  .ms-tick-field__input {
67
67
  @include pintig.struct-apply('tick-field-input', (
68
- width: 1.5rem,
69
- height: 1.5rem,
68
+ width: 1.25rem,
69
+ height: 1.25rem,
70
70
  margin: 0,
71
- border-width: 'sm',
71
+ border-width: 'xs',
72
72
  border-style: 'solid'
73
73
  ));
74
74
  @include pintig.color-bind('tick-field-input', (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matteusan/himig",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Matteu's personal design system for building user interfaces.",
5
5
  "repository": "https://github.com/MatteuSan/himig",
6
6
  "author": "Matteu <matteugt@gmail.com>",
@@ -40,7 +40,7 @@
40
40
  "sass": "./ms-utils/_index.scss"
41
41
  }
42
42
  },
43
- "peerDependencies": {
43
+ "dependencies": {
44
44
  "@matteusan/pintig": "^1.10"
45
45
  }
46
46
  }
Binary file