@astryxdesign/theme-neutral 0.7.17 → 0.7.18-canary.g6dfc0b6

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/dist/neutral.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.17
6
- * Core: @astryxdesign/core@0.7.17
5
+ * CLI: @astryxdesign/cli@0.7.18
6
+ * Core: @astryxdesign/core@0.7.18
7
7
  */
8
8
 
9
9
  /// <reference path="./neutral.variants.d.ts" />
package/dist/neutral.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.17
6
- * Core: @astryxdesign/core@0.7.17
5
+ * CLI: @astryxdesign/cli@0.7.18
6
+ * Core: @astryxdesign/core@0.7.18
7
7
  */
8
8
 
9
9
  import { neutralIconRegistry } from "./icons.mjs";
@@ -401,13 +401,13 @@ export const neutralTheme = {
401
401
  "--color-text-secondary": "light-dark(#474747, #c6c6c6)"
402
402
  },
403
403
  "size:sm": {
404
- "height": "calc(var(--size-element-sm) - 8px)"
404
+ "height": "max(calc(var(--size-element-sm) - 8px), 1lh)"
405
405
  },
406
406
  "size:md": {
407
- "height": "calc(var(--size-element-md) - 8px)"
407
+ "height": "max(calc(var(--size-element-md) - 8px), 1lh)"
408
408
  },
409
409
  "size:lg": {
410
- "height": "calc(var(--size-element-lg) - 8px)"
410
+ "height": "max(calc(var(--size-element-lg) - 8px), 1lh)"
411
411
  },
412
412
  "selected": {
413
413
  "boxShadow": "none"
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.17
6
- * Core: @astryxdesign/core@0.7.17
5
+ * CLI: @astryxdesign/cli@0.7.18
6
+ * Core: @astryxdesign/core@0.7.18
7
7
  */
8
8
 
9
9
  // Generated by astryx theme build
@@ -1 +1 @@
1
- {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AAyCA,qDAAqD;AACrD,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAErD,eAAO,MAAM,YAAY,gEA8ZvB,CAAC"}
1
+ {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AAyCA,qDAAqD;AACrD,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAErD,eAAO,MAAM,YAAY,gEA+ZvB,CAAC"}
package/dist/source.cjs CHANGED
@@ -429,14 +429,15 @@ var neutralTheme = (0, import_theme.defineTheme)({
429
429
  base: {
430
430
  "--color-text-secondary": `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`
431
431
  },
432
+ // A label line taller than the size grows the item.
432
433
  "size:sm": {
433
- height: "calc(var(--size-element-sm) - 8px)"
434
+ height: "max(calc(var(--size-element-sm) - 8px), 1lh)"
434
435
  },
435
436
  "size:md": {
436
- height: "calc(var(--size-element-md) - 8px)"
437
+ height: "max(calc(var(--size-element-md) - 8px), 1lh)"
437
438
  },
438
439
  "size:lg": {
439
- height: "calc(var(--size-element-lg) - 8px)"
440
+ height: "max(calc(var(--size-element-lg) - 8px), 1lh)"
440
441
  },
441
442
  selected: {
442
443
  boxShadow: "none"
package/dist/source.mjs CHANGED
@@ -433,14 +433,15 @@ var neutralTheme = defineTheme({
433
433
  base: {
434
434
  "--color-text-secondary": `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`
435
435
  },
436
+ // A label line taller than the size grows the item.
436
437
  "size:sm": {
437
- height: "calc(var(--size-element-sm) - 8px)"
438
+ height: "max(calc(var(--size-element-sm) - 8px), 1lh)"
438
439
  },
439
440
  "size:md": {
440
- height: "calc(var(--size-element-md) - 8px)"
441
+ height: "max(calc(var(--size-element-md) - 8px), 1lh)"
441
442
  },
442
443
  "size:lg": {
443
- height: "calc(var(--size-element-lg) - 8px)"
444
+ height: "max(calc(var(--size-element-lg) - 8px), 1lh)"
444
445
  },
445
446
  selected: {
446
447
  boxShadow: "none"
package/dist/theme.css CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.17
6
- * Core: @astryxdesign/core@0.7.17
5
+ * CLI: @astryxdesign/cli@0.7.18
6
+ * Core: @astryxdesign/core@0.7.18
7
7
  */
8
8
 
9
9
  @layer reset, astryx-base, astryx-theme;
@@ -504,15 +504,15 @@
504
504
  }
505
505
 
506
506
  .astryx-segmented-control-item[data-size="sm"] {
507
- height: calc(var(--size-element-sm) - 8px);
507
+ height: max(calc(var(--size-element-sm) - 8px), 1lh);
508
508
  }
509
509
 
510
510
  .astryx-segmented-control-item[data-size="md"] {
511
- height: calc(var(--size-element-md) - 8px);
511
+ height: max(calc(var(--size-element-md) - 8px), 1lh);
512
512
  }
513
513
 
514
514
  .astryx-segmented-control-item[data-size="lg"] {
515
- height: calc(var(--size-element-lg) - 8px);
515
+ height: max(calc(var(--size-element-lg) - 8px), 1lh);
516
516
  }
517
517
 
518
518
  .astryx-segmented-control-item[data-selected="selected"] {
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.17
6
- * Core: @astryxdesign/core@0.7.17
5
+ * CLI: @astryxdesign/cli@0.7.18
6
+ * Core: @astryxdesign/core@0.7.18
7
7
  */
8
8
 
9
9
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-neutral",
3
- "version": "0.7.17",
3
+ "version": "0.7.18-canary.g6dfc0b6",
4
4
  "displayName": "Neutral Theme",
5
5
  "private": false,
6
6
  "description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
@@ -79,11 +79,11 @@
79
79
  "lucide-react": "^1.66.0"
80
80
  },
81
81
  "peerDependencies": {
82
- "@astryxdesign/core": "0.7.17",
82
+ "@astryxdesign/core": "0.7.18-canary.g6dfc0b6",
83
83
  "react": ">=19"
84
84
  },
85
85
  "devDependencies": {
86
- "@astryxdesign/cli": "0.7.17"
86
+ "@astryxdesign/cli": "0.7.18-canary.g6dfc0b6"
87
87
  },
88
88
  "module": "./dist/source.mjs",
89
89
  "scripts": {
@@ -373,14 +373,15 @@ export const neutralTheme = defineTheme({
373
373
  base: {
374
374
  '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
375
375
  },
376
+ // A label line taller than the size grows the item.
376
377
  'size:sm': {
377
- height: 'calc(var(--size-element-sm) - 8px)',
378
+ height: 'max(calc(var(--size-element-sm) - 8px), 1lh)',
378
379
  },
379
380
  'size:md': {
380
- height: 'calc(var(--size-element-md) - 8px)',
381
+ height: 'max(calc(var(--size-element-md) - 8px), 1lh)',
381
382
  },
382
383
  'size:lg': {
383
- height: 'calc(var(--size-element-lg) - 8px)',
384
+ height: 'max(calc(var(--size-element-lg) - 8px), 1lh)',
384
385
  },
385
386
  selected: {
386
387
  boxShadow: 'none',