@hearthsound/design 0.1.2 → 0.1.4

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.
@@ -13,6 +13,9 @@
13
13
 
14
14
  .hs-card {
15
15
  position: relative;
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 8px;
16
19
  padding: 8px;
17
20
  margin: -8px;
18
21
  border-radius: var(--hs-radius-card);
@@ -51,8 +51,8 @@
51
51
 
52
52
  /* Masked passwords: larger bullets; the placeholder keeps the body size. */
53
53
  .hs-field__input[type='password']:not(:placeholder-shown) {
54
- font-size: 20px;
55
- letter-spacing: 0.08em;
54
+ font-size: 17px;
55
+ letter-spacing: 0.04em;
56
56
  }
57
57
 
58
58
  .hs-field__input::placeholder {
@@ -103,7 +103,8 @@
103
103
  }
104
104
 
105
105
  .hs-setting-row--nested {
106
- padding-left: 32px;
106
+ /* fc2-diff: nested rows line up with their parent; no extra indent. */
107
+ padding-left: 16px;
107
108
  }
108
109
 
109
110
  .hs-setting-row--interactive:hover {
@@ -13,12 +13,12 @@
13
13
  position: relative;
14
14
  display: flex;
15
15
  gap: 0;
16
- margin: 0 14px 12px;
16
+ margin: 0;
17
17
  padding: 3px;
18
18
  background: var(--hs-control-tone);
19
19
  border-radius: var(--hs-radius-full);
20
20
  width: max-content;
21
- max-width: calc(100% - 28px);
21
+ max-width: 100%;
22
22
  overflow-x: auto;
23
23
  }
24
24
 
package/dist/icons.d.ts CHANGED
@@ -36,6 +36,7 @@ export type IconName =
36
36
  | 'adwaita-refresh'
37
37
  | 'adwaita-remote'
38
38
  | 'adwaita-remove'
39
+ | 'adwaita-repeat-song'
39
40
  | 'adwaita-repeat'
40
41
  | 'adwaita-reveal'
41
42
  | 'adwaita-search'
package/dist/icons.js CHANGED
@@ -36,6 +36,7 @@ export const iconNames = [
36
36
  'adwaita-refresh',
37
37
  'adwaita-remote',
38
38
  'adwaita-remove',
39
+ 'adwaita-repeat-song',
39
40
  'adwaita-repeat',
40
41
  'adwaita-reveal',
41
42
  'adwaita-search',
package/dist/icons.svg CHANGED
@@ -35,6 +35,7 @@
35
35
  <symbol id="adwaita-refresh" viewBox="0 0 16 16"><path fill="currentColor" d="M7.40625 1c-.613281.007812-1.234375.089844-1.847656.253906C2.285156 2.132812 0 5.109375 0 8.5s2.285156 6.367188 5.558594 7.242188c3.273437.878906 6.742187-.558594 8.4375-3.492188.277344-.480469.109375-1.089844-.367188-1.367188-.476562-.273437-1.089844-.109374-1.367187.367188-1.246094 2.160156-3.777344 3.207031-6.1875 2.5625C3.667969 13.167969 2 10.992188 2 8.5c0-2.496094 1.667969-4.667969 4.074219-5.3125 2.410156-.644531 4.941406.402344 6.1875 2.5625.058593.085938.125.164062.203125.226562l-.019532.015626L12.4375 6H11c-.550781 0-1 .449219-1 1 0 0 0 1 1 1h5V3s.003906-1-1-1c-.550781 0-1 .449219-1 1v1.6875l-.015625.011719-.011719.011719c-1.277344-2.179688-3.53125-3.519532-5.953125-3.691407C7.816406 1.003906 7.613281 1 7.40625 1m0 0"/></symbol>
36
36
  <symbol id="adwaita-remote" viewBox="0 0 16 16"><path fill="currentColor" d="M-.007812 8c0 3.292969 2.667968 5.964844 5.957031 5.960938L11.5 14c2.484375 0 4.5-2.015625 4.5-4.5S13.984375 5 11.5 5c-.417969 0-.828125.058594-1.226562.171875l1.203124.585937c-.910156-2.25-3.09375-3.71875-5.519531-3.722656C2.660156 2.035156-.007812 4.707031-.007812 8M9.625 6.511719c.191406.472656.710938.726562 1.203125.585937C11.046875 7.03125 11.273438 7 11.5 7 12.890625 7 14 8.109375 14 9.5c0 1.394531-1.109375 2.5-2.492188 2.5l-5.554687-.035156c-2.199219 0-3.960937-1.765625-3.960937-3.964844s1.761718-3.964844 3.960937-3.960938c1.617187 0 3.0625.972657 3.671875 2.472657m0 0"/></symbol>
37
37
  <symbol id="adwaita-remove" viewBox="0 0 16 16"><path d="m1 7h14v2h-14z" fill="currentColor"/></symbol>
38
+ <symbol id="adwaita-repeat-song" viewBox="0 0 16 16"><path fill="currentColor" d="M7 1v2H4C1.800781 3 0 4.800781 0 7v2c0 1.019531.386719 1.964844 1.019531 2.671875.367188.410156 1 .445313 1.410157.078125.414062-.367188.449218-1 .078124-1.414062C2.191406 9.984375 2 9.523438 2 9V7c0-1.125.875-2 2-2h3v2h1v-.007812c.265625.003906.519531-.101563.707031-.285157l2-2c.207031-.207031.3125-.496093.289063-.789062 0-.015625-.003906-.03125-.007813-.046875-.007812-.070313-.023437-.136719-.046875-.203125-.011718-.035157-.023437-.070313-.042968-.101563 0-.007812-.003907-.011718-.007813-.019531-.011719-.023437-.027344-.046875-.039063-.070313-.007812-.011718-.019531-.027343-.027343-.039062-.015625-.019531-.027344-.042969-.042969-.0625l-.023438-.023438c-.015624-.019531-.03125-.039062-.050781-.058593l-2-2c-.1875-.183594-.441406-.289063-.707031-.285157V1zm7 1c-1.105469 0-2 .894531-2 2s.894531 2 2 2 2-.894531 2-2-.894531-2-2-2m1 5c-.550781 0-1 .449219-1 1v1.007812c0 1.125-.875 2-2 2H8V9H7v.007812c-.265625-.003906-.519531.101563-.707031.285157l-2 2c-.390625.390625-.390625 1.023437 0 1.414062l2 2c.1875.183594.441406.289063.707031.285157V15h1v-1.992188h4c2.199219 0 4-1.804687 4-4V8c0-.550781-.449219-1-1-1m0 0"/></symbol>
38
39
  <symbol id="adwaita-repeat" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1v2H4C1.800781 3 0 4.800781 0 7v2c0 1.019531.386719 1.964844 1.019531 2.671875.367188.410156 1 .445313 1.410157.078125.414062-.367188.449218-1 .078124-1.414062C2.191406 9.984375 2 9.523438 2 9V7c0-1.125.875-2 2-2h4v2h1v-.007812c.265625.003906.519531-.101563.707031-.285157l2-2c.390625-.390625.390625-1.023437 0-1.414062l-2-2c-.1875-.183594-.441406-.289063-.707031-.285157V1zm6.289062 3c-.265624-.011719-.523437.078125-.71875.257812-.414062.367188-.449218 1-.078124 1.410157C13.808594 6.023438 14 6.484375 14 7.007812v2c0 1.125-.875 2-2 2H8V9H7v.007812c-.265625-.003906-.519531.101563-.707031.285157l-2 2c-.390625.390625-.390625 1.023437 0 1.414062l2 2c.1875.183594.441406.289063.707031.285157V15h1v-1.992188h4c2.199219 0 4-1.804687 4-4v-2c0-1.023437-.386719-1.96875-1.019531-2.675781-.175781-.199219-.425781-.316406-.691407-.332031m0 0"/></symbol>
39
40
  <symbol id="adwaita-reveal" viewBox="0 0 16 16"><path fill="currentColor" d="M8 2C4.351562 2.003906 1.167969 4.476562.261719 8.007812 1.175781 11.535156 4.359375 13.996094 8 14c3.648438-.003906 6.832031-2.476562 7.738281-6.011719C14.824219 4.464844 11.640625 2.003906 8 2m0 2c2.210938 0 4 1.789062 4 4s-1.789062 4-4 4-4-1.789062-4-4 1.789062-4 4-4m0 2c-1.105469 0-2 .894531-2 2s.894531 2 2 2 2-.894531 2-2-.894531-2-2-2m0 0"/></symbol>
40
41
  <symbol id="adwaita-search" viewBox="0 0 16 16"><path fill="currentColor" d="M6.5 0C2.921875 0 0 2.921875 0 6.5s2.921875 6.496094 6.5 6.496094c1.429688 0 2.753906-.464844 3.828125-1.253906l2.945313 2.945312c.957031.9375 2.363281-.5 1.40625-1.4375L11.75 10.320312C12.535156 9.246094 13 7.925781 13 6.5 13 2.921875 10.078125 0 6.5 0m0 2C8.996094 2 11 4.003906 11 6.5s-2.003906 4.496094-4.5 4.496094S2 8.996094 2 6.5 4.003906 2 6.5 2m0 0"/></symbol>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 16 16"><path fill="currentColor" d="M7 1v2H4C1.800781 3 0 4.800781 0 7v2c0 1.019531.386719 1.964844 1.019531 2.671875.367188.410156 1 .445313 1.410157.078125.414062-.367188.449218-1 .078124-1.414062C2.191406 9.984375 2 9.523438 2 9V7c0-1.125.875-2 2-2h3v2h1v-.007812c.265625.003906.519531-.101563.707031-.285157l2-2c.207031-.207031.3125-.496093.289063-.789062 0-.015625-.003906-.03125-.007813-.046875-.007812-.070313-.023437-.136719-.046875-.203125-.011718-.035157-.023437-.070313-.042968-.101563 0-.007812-.003907-.011718-.007813-.019531-.011719-.023437-.027344-.046875-.039063-.070313-.007812-.011718-.019531-.027343-.027343-.039062-.015625-.019531-.027344-.042969-.042969-.0625l-.023438-.023438c-.015624-.019531-.03125-.039062-.050781-.058593l-2-2c-.1875-.183594-.441406-.289063-.707031-.285157V1zm7 1c-1.105469 0-2 .894531-2 2s.894531 2 2 2 2-.894531 2-2-.894531-2-2-2m1 5c-.550781 0-1 .449219-1 1v1.007812c0 1.125-.875 2-2 2H8V9H7v.007812c-.265625-.003906-.519531.101563-.707031.285157l-2 2c-.390625.390625-.390625 1.023437 0 1.414062l2 2c.1875.183594.441406.289063.707031.285157V15h1v-1.992188h4c2.199219 0 4-1.804687 4-4V8c0-.550781-.449219-1-1-1m0 0"/></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearthsound/design",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "description": "Design language of Hearthsound: tokens, fonts, icons and component styles",
6
6
  "repository": {