@theoremjs/react 0.3.5-next.970.g11bd0cf → 0.3.5-next.973.g87b7e6a

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/react",
3
- "version": "0.3.5-next.970.g11bd0cf",
3
+ "version": "0.3.5-next.973.g87b7e6a",
4
4
  "description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -55,13 +55,13 @@
55
55
  "recharts": "^3.10.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@astryxdesign/core": "0.7.11",
59
- "@astryxdesign/theme-neutral": "0.7.11",
58
+ "@astryxdesign/core": "0.7.16",
59
+ "@astryxdesign/theme-neutral": "0.7.16",
60
60
  "@stylexjs/stylex": "0.19.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
- "@theoremjs/agents": "^0.3.5-next.970.g11bd0cf",
64
- "@theoremjs/web": "^0.3.5-next.970.g11bd0cf"
63
+ "@theoremjs/agents": "^0.3.5-next.973.g87b7e6a",
64
+ "@theoremjs/web": "^0.3.5-next.973.g87b7e6a"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/ui/theorem-theme.ts
4
4
  * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
- * CLI: @astryxdesign/cli@0.7.11
6
- * Core: @astryxdesign/core@0.7.11
5
+ * CLI: @astryxdesign/cli@0.7.16
6
+ * Core: @astryxdesign/core@0.7.16
7
7
  */
8
8
 
9
9
  @layer reset, astryx-base, astryx-theme;
@@ -86,18 +86,30 @@
86
86
 
87
87
  @scope ([data-astryx-theme="theorem"]) to ([data-astryx-theme]) {
88
88
  :scope {
89
- --font-size-4xs: 0.375rem;
90
- --font-size-3xs: 0.4375rem;
91
- --font-size-2xs: 0.5rem;
92
- --font-size-xs: 0.625rem;
93
- --font-size-sm: 0.75rem;
94
- --font-size-base: 0.875rem;
95
- --font-size-lg: 1.0625rem;
96
- --font-size-xl: 1.25rem;
97
- --font-size-2xl: 1.5rem;
98
- --font-size-3xl: 1.8125rem;
99
- --font-size-4xl: 2.1875rem;
100
- --font-size-5xl: 2.625rem;
89
+ --_scaled-font-size-4xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
90
+ --font-size-4xs: var(--_scaled-font-size-4xs);
91
+ --_scaled-font-size-3xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
92
+ --font-size-3xs: var(--_scaled-font-size-3xs);
93
+ --_scaled-font-size-2xs: min(calc(0.5rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
94
+ --font-size-2xs: var(--_scaled-font-size-2xs);
95
+ --_scaled-font-size-xs: min(calc(0.625rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
96
+ --font-size-xs: var(--_scaled-font-size-xs);
97
+ --_scaled-font-size-sm: min(calc(0.75rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
98
+ --font-size-sm: var(--_scaled-font-size-sm);
99
+ --_scaled-font-size-base: min(calc(0.875rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
100
+ --font-size-base: var(--_scaled-font-size-base);
101
+ --_scaled-font-size-lg: min(calc(1.0625rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
102
+ --font-size-lg: var(--_scaled-font-size-lg);
103
+ --_scaled-font-size-xl: min(calc(1.25rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
104
+ --font-size-xl: var(--_scaled-font-size-xl);
105
+ --_scaled-font-size-2xl: min(calc(1.5rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
106
+ --font-size-2xl: var(--_scaled-font-size-2xl);
107
+ --_scaled-font-size-3xl: min(calc(1.8125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
108
+ --font-size-3xl: var(--_scaled-font-size-3xl);
109
+ --_scaled-font-size-4xl: min(calc(2.1875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
110
+ --font-size-4xl: var(--_scaled-font-size-4xl);
111
+ --_scaled-font-size-5xl: calc(2.625rem * var(--_dynamic-type-large-title, 1));
112
+ --font-size-5xl: var(--_scaled-font-size-5xl);
101
113
  --text-heading-1-size: var(--font-size-2xl);
102
114
  --text-heading-1-weight: var(--font-weight-semibold);
103
115
  --text-heading-1-leading: 1.3333;
@@ -498,6 +510,10 @@
498
510
  --_segmented-control-padding: var(--spacing-1);
499
511
  }
500
512
 
513
+ .astryx-segmented-control-item {
514
+ --color-text-secondary: light-dark(#474747, #c6c6c6);
515
+ }
516
+
501
517
  .astryx-segmented-control-item[data-size="sm"] {
502
518
  height: calc(var(--size-element-sm) - 8px);
503
519
  }
@@ -636,18 +652,30 @@
636
652
  @media (width < 1024px) and (pointer: coarse) {
637
653
  @scope ([data-astryx-theme="theorem"]) to ([data-astryx-theme]) {
638
654
  :scope {
639
- --font-size-4xs: 0.4375rem;
640
- --font-size-3xs: 0.5rem;
641
- --font-size-2xs: 0.625rem;
642
- --font-size-xs: 0.75rem;
643
- --font-size-sm: 0.875rem;
644
- --font-size-base: 1rem;
645
- --font-size-lg: 1.1875rem;
646
- --font-size-xl: 1.375rem;
647
- --font-size-2xl: 1.625rem;
648
- --font-size-3xl: 1.875rem;
649
- --font-size-4xl: 2.25rem;
650
- --font-size-5xl: 2.625rem;
655
+ --_scaled-font-size-4xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
656
+ --font-size-4xs: var(--_scaled-font-size-4xs);
657
+ --_scaled-font-size-3xs: min(calc(0.5rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
658
+ --font-size-3xs: var(--_scaled-font-size-3xs);
659
+ --_scaled-font-size-2xs: min(calc(0.625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
660
+ --font-size-2xs: var(--_scaled-font-size-2xs);
661
+ --_scaled-font-size-xs: min(calc(0.75rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
662
+ --font-size-xs: var(--_scaled-font-size-xs);
663
+ --_scaled-font-size-sm: min(calc(0.875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
664
+ --font-size-sm: var(--_scaled-font-size-sm);
665
+ --_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
666
+ --font-size-base: var(--_scaled-font-size-base);
667
+ --_scaled-font-size-lg: min(calc(1.1875rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
668
+ --font-size-lg: var(--_scaled-font-size-lg);
669
+ --_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
670
+ --font-size-xl: var(--_scaled-font-size-xl);
671
+ --_scaled-font-size-2xl: min(calc(1.625rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
672
+ --font-size-2xl: var(--_scaled-font-size-2xl);
673
+ --_scaled-font-size-3xl: min(calc(1.875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
674
+ --font-size-3xl: var(--_scaled-font-size-3xl);
675
+ --_scaled-font-size-4xl: min(calc(2.25rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
676
+ --font-size-4xl: var(--_scaled-font-size-4xl);
677
+ --_scaled-font-size-5xl: calc(2.625rem * var(--_dynamic-type-large-title, 1));
678
+ --font-size-5xl: var(--_scaled-font-size-5xl);
651
679
  --text-heading-1-size: var(--font-size-2xl);
652
680
  --text-heading-1-weight: var(--font-weight-semibold);
653
681
  --text-heading-1-leading: 1.3846;
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/ui/theorem-theme.ts
4
4
  * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
- * CLI: @astryxdesign/cli@0.7.11
6
- * Core: @astryxdesign/core@0.7.11
5
+ * CLI: @astryxdesign/cli@0.7.16
6
+ * Core: @astryxdesign/core@0.7.16
7
7
  */
8
8
 
9
9
  export {};
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/ui/theorem-theme.ts
4
4
  * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
- * CLI: @astryxdesign/cli@0.7.11
6
- * Core: @astryxdesign/core@0.7.11
5
+ * CLI: @astryxdesign/cli@0.7.16
6
+ * Core: @astryxdesign/core@0.7.16
7
7
  */
8
8
 
9
9
  /// <reference path="./theorem.variants.d.ts" />
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/ui/theorem-theme.ts
4
4
  * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
- * CLI: @astryxdesign/cli@0.7.11
6
- * Core: @astryxdesign/core@0.7.11
5
+ * CLI: @astryxdesign/cli@0.7.16
6
+ * Core: @astryxdesign/core@0.7.16
7
7
  */
8
8
 
9
9
  import { neutralTheme } from '@astryxdesign/theme-neutral/built';
@@ -409,6 +409,9 @@ export const theoremTheme = {
409
409
  }
410
410
  },
411
411
  "segmented-control-item": {
412
+ "base": {
413
+ "--color-text-secondary": "light-dark(#474747, #c6c6c6)"
414
+ },
412
415
  "size:sm": {
413
416
  "height": "calc(var(--size-element-sm) - 8px)"
414
417
  },
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/ui/theorem-theme.ts
4
4
  * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
- * CLI: @astryxdesign/cli@0.7.11
6
- * Core: @astryxdesign/core@0.7.11
5
+ * CLI: @astryxdesign/cli@0.7.16
6
+ * Core: @astryxdesign/core@0.7.16
7
7
  */
8
8
 
9
9
  // Generated by astryx theme build