@efolusi/meridian 1.21.10 → 1.23.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.
Files changed (147) hide show
  1. package/LICENSE +201 -21
  2. package/THIRD_PARTY_NOTICES.md +3 -3
  3. package/ai/AgentRun.js +1 -0
  4. package/ai/Bubble.js +1 -0
  5. package/ai/ChatMessage.js +1 -0
  6. package/ai/Citation.js +45 -22
  7. package/ai/Confirmation.js +3 -2
  8. package/ai/Conversation.js +1 -0
  9. package/ai/DocumentCard.js +1 -0
  10. package/ai/FeedbackBar.js +1 -0
  11. package/ai/GeneratedImage.js +1 -0
  12. package/ai/Marker.js +1 -0
  13. package/ai/Message.js +1 -0
  14. package/ai/MessageScroller.js +1 -0
  15. package/ai/ModelSelector.js +1 -0
  16. package/ai/Player.js +1 -0
  17. package/ai/PromptComposer.d.ts +4 -0
  18. package/ai/PromptComposer.js +8 -1
  19. package/ai/PromptSteps.js +1 -0
  20. package/ai/Reasoning.js +1 -0
  21. package/ai/RichComposer.js +4 -0
  22. package/ai/Sandbox.js +1 -0
  23. package/ai/SelectionQuote.js +1 -0
  24. package/ai/SourceCard.js +13 -4
  25. package/ai/Suggestions.js +1 -0
  26. package/ai/Task.js +1 -0
  27. package/ai/Todo.js +1 -0
  28. package/ai/ToolCall.js +1 -0
  29. package/ai/Transcript.js +1 -0
  30. package/ai/UsageMeter.d.ts +3 -1
  31. package/ai/UsageMeter.js +9 -2
  32. package/ai/WebPreview.js +13 -4
  33. package/code/CodeBlock.js +27 -7
  34. package/code/Console.js +1 -0
  35. package/code/CopyField.js +25 -9
  36. package/code/Diff.js +1 -0
  37. package/code/EnvList.js +1 -0
  38. package/code/Exception.js +1 -0
  39. package/code/Terminal.js +1 -0
  40. package/components.css +139 -56
  41. package/data/BarChart.d.ts +4 -0
  42. package/data/BarChart.js +29 -4
  43. package/data/Chart.d.ts +1 -1
  44. package/data/Chart.js +10 -4
  45. package/data/DonutChart.d.ts +4 -0
  46. package/data/DonutChart.js +38 -8
  47. package/data/EmptyState.js +1 -0
  48. package/data/KeyValueList.js +1 -0
  49. package/data/LineChart.d.ts +4 -0
  50. package/data/LineChart.js +30 -7
  51. package/data/Skeleton.js +1 -0
  52. package/data/Sparkline.js +1 -0
  53. package/data/Stat.js +1 -0
  54. package/data/StatusDot.js +1 -0
  55. package/data/Table.d.ts +1 -0
  56. package/data/Table.js +36 -19
  57. package/dates/Calendar.js +44 -15
  58. package/dates/TimePicker.js +19 -3
  59. package/display/Accordion.js +1 -0
  60. package/display/AspectRatio.js +1 -0
  61. package/display/Avatar.js +1 -0
  62. package/display/Badge.js +1 -0
  63. package/display/Card.js +1 -0
  64. package/display/Carousel.js +24 -6
  65. package/display/Collapsible.js +1 -0
  66. package/display/Direction.js +1 -0
  67. package/display/Divider.js +1 -0
  68. package/display/Item.js +1 -0
  69. package/display/Kbd.js +1 -0
  70. package/display/Link.js +1 -0
  71. package/display/Resizable.js +5 -4
  72. package/display/ScrollArea.js +4 -2
  73. package/display/Separator.js +1 -0
  74. package/display/Tag.js +1 -0
  75. package/display/Timeline.js +1 -0
  76. package/display/Toolbar.js +2 -0
  77. package/display/TreeList.js +21 -13
  78. package/feedback/Alert.js +1 -0
  79. package/feedback/AlertDialog.js +31 -18
  80. package/feedback/Banner.js +1 -0
  81. package/feedback/ConfirmDialog.js +1 -0
  82. package/feedback/Dialog.js +37 -18
  83. package/feedback/Loader.js +1 -0
  84. package/feedback/Progress.js +1 -0
  85. package/feedback/Spinner.js +1 -0
  86. package/feedback/Toast.js +10 -3
  87. package/feedback/Tooltip.js +25 -6
  88. package/files/Attachment.js +1 -0
  89. package/files/FileDrop.d.ts +5 -1
  90. package/files/FileDrop.js +29 -1
  91. package/files/FileTile.js +1 -0
  92. package/files/FileTypeIcon.js +1 -0
  93. package/finance/PaymentCard.js +1 -0
  94. package/forms/Button.js +55 -0
  95. package/forms/ButtonGroup.js +1 -0
  96. package/forms/ButtonTile.js +3 -0
  97. package/forms/Checkbox.js +1 -0
  98. package/forms/Combobox.js +31 -9
  99. package/forms/Field.js +1 -0
  100. package/forms/IconButton.js +1 -0
  101. package/forms/Input.js +1 -0
  102. package/forms/InputGroup.js +1 -0
  103. package/forms/InputOTP.js +1 -0
  104. package/forms/Label.js +1 -0
  105. package/forms/NativeSelect.js +1 -0
  106. package/forms/NumberInput.js +22 -4
  107. package/forms/Questionnaire.js +2 -1
  108. package/forms/Radio.js +1 -0
  109. package/forms/Select.js +7 -4
  110. package/forms/Slider.js +26 -3
  111. package/forms/Switch.js +15 -3
  112. package/forms/Textarea.js +1 -0
  113. package/forms/Toggle.js +1 -0
  114. package/icons/Icon.js +6 -0
  115. package/icons/_svg.js +1 -1
  116. package/index.js +3 -3
  117. package/navigation/Breadcrumbs.js +1 -0
  118. package/navigation/Menubar.js +1 -0
  119. package/navigation/NavigationMenu.js +18 -5
  120. package/navigation/PageControl.js +2 -0
  121. package/navigation/Pagination.js +1 -0
  122. package/navigation/SegmentedControl.js +2 -0
  123. package/navigation/SideNav.js +3 -0
  124. package/navigation/Sidebar.js +75 -11
  125. package/navigation/SkipLink.d.ts +2 -1
  126. package/navigation/SkipLink.js +17 -4
  127. package/navigation/Steps.js +1 -0
  128. package/navigation/Tabs.js +1 -0
  129. package/navigation/TopNav.js +1 -0
  130. package/overlay/Command.js +2 -0
  131. package/overlay/ContextMenu.js +40 -13
  132. package/overlay/Drawer.d.ts +4 -0
  133. package/overlay/Drawer.js +24 -3
  134. package/overlay/DropdownMenu.js +40 -13
  135. package/overlay/HoverCard.js +29 -19
  136. package/overlay/Popover.js +67 -16
  137. package/overlay/Portal.js +97 -2
  138. package/overlay/Sheet.js +1 -0
  139. package/package.json +2 -2
  140. package/tailwind.preset.cjs +60 -28
  141. package/tokens/base.css +19 -3
  142. package/tokens/colors.css +248 -46
  143. package/tokens/effects.css +33 -20
  144. package/tokens/fonts.css +7 -0
  145. package/tokens/spacing.css +42 -17
  146. package/tokens/typography.css +29 -8
  147. package/tokens.json +689 -115
@@ -1,21 +1,34 @@
1
- :root{
2
- --shadow-xs:0 1px 2px rgba(46,41,34,.05);
3
- --shadow-sm:0 1px 3px rgba(46,41,34,.07);
4
- --shadow-md:0 4px 12px rgba(46,41,34,.08);
5
- --shadow-lg:0 12px 28px rgba(46,41,34,.12);
6
- --shadow-xl:0 16px 40px rgba(31,26,20,.18),0 2px 8px rgba(31,26,20,.08);
7
- /* Elevation scale — the single source of overlay stacking order */
8
- --z-dropdown:1000;/* @kind other */
9
- --z-sticky:1100;/* @kind other */
10
- --z-overlay:1200;/* @kind other */
11
- --z-modal:1300;/* @kind other */
12
- --z-popover:1400;/* @kind other */
13
- --z-toast:1500;/* @kind other */
14
- --z-tooltip:1600;/* @kind other */
15
- --ease-spring:cubic-bezier(.3,1.04,.35,1);/* @kind other */
16
- --ease-out:cubic-bezier(.22,1,.36,1);/* @kind other */
17
- --ease-in-out:cubic-bezier(.65,0,.35,1);/* @kind other */
18
- --dur-fast:100ms;/* @kind other */
19
- --dur-med:160ms;/* @kind other */
20
- --dur-slow:240ms;/* @kind other */
1
+ /* Generated from tokens.json by scripts/build.mjs. Do not edit. */
2
+ :root {
3
+ --shadow-xs: 0 1px 2px rgba(46,41,34,.05);
4
+ --shadow-sm: 0 1px 3px rgba(46,41,34,.07);
5
+ --shadow-md: 0 4px 12px rgba(46,41,34,.08);
6
+ --shadow-lg: 0 12px 28px rgba(46,41,34,.12);
7
+ --shadow-xl: 0 16px 40px rgba(31,26,20,.18),0 2px 8px rgba(31,26,20,.08);
8
+ --z-dropdown: 1000;
9
+ --z-sticky: 1100;
10
+ --z-overlay: 1200;
11
+ --z-modal: 1300;
12
+ --z-popover: 1400;
13
+ --z-toast: 1500;
14
+ --z-tooltip: 1600;
15
+ --ease-spring: cubic-bezier(.3,1.04,.35,1);
16
+ --ease-out: cubic-bezier(.22,1,.36,1);
17
+ --ease-in-out: cubic-bezier(.65,0,.35,1);
18
+ --dur-fast: 100ms;
19
+ --dur-med: 160ms;
20
+ --dur-slow: 240ms;
21
+ --opacity-tint: 0.12;
22
+ --opacity-pill: 0.1;
23
+ --opacity-increased: 0.16;
24
+ --opacity-banner: 0.1;
25
+ --opacity-selected: 0.1;
26
+ --opacity-banner-edge: 0.25;
27
+ --opacity-attention: 0.05;
28
+ --opacity-attention-edge: 0.25;
29
+ --opacity-ring: 0.7;
30
+ --opacity-kbd: 0.18;
31
+ --opacity-soft-hairline: 0.7;
32
+ --opacity-chip: 0.6;
33
+ --opacity-disabled: 0.3;
21
34
  }
package/tokens/fonts.css CHANGED
@@ -3,3 +3,10 @@
3
3
  @font-face{font-family:'Figtree';src:url('../assets/fonts/Figtree-Italic-Variable.woff2') format('woff2-variations');font-weight:300 900;font-style:italic;font-display:swap}
4
4
  @font-face{font-family:'JetBrains Mono';src:url('../assets/fonts/JetBrainsMono-Variable.woff2') format('woff2-variations');font-weight:100 800;font-style:normal;font-display:swap}
5
5
  @font-face{font-family:'JetBrains Mono';src:url('../assets/fonts/JetBrainsMono-Italic-Variable.woff2') format('woff2-variations');font-weight:100 800;font-style:italic;font-display:swap}
6
+ /* Metric-matched fallbacks: while a web font downloads (font-display:swap), text renders in local
7
+ Arial scaled to the brand face, so the swap barely moves layout. Measured from the shipped woff2
8
+ files with fontTools against Arial: size-adjust is the advance-width ratio over real English body
9
+ copy (Figtree at 400; Bricolage at weight 680, opsz 34, the heading default, against Arial Bold),
10
+ and ascent/descent are each face's typo metrics (950/250 and 930/270 per 1000) divided by it. */
11
+ @font-face{font-family:'Figtree Fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans');size-adjust:100.48%;ascent-override:94.55%;descent-override:24.88%;line-gap-override:0%}
12
+ @font-face{font-family:'Bricolage Grotesque Fallback';src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold');font-weight:100 900;size-adjust:99.55%;ascent-override:93.42%;descent-override:27.12%;line-gap-override:0%}
@@ -1,24 +1,49 @@
1
- :root{
2
- --space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;--space-32:128px;
3
- --radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:999px;
4
- --container-max:1200px;--container-text:720px;
5
- --control-h-sm:28px;--control-h-md:36px;--control-h-lg:44px;
6
- --tap-min:44px;
7
- --table-pad-y:12px;--table-pad-x:16px;
1
+ /* Generated from tokens.json by scripts/build.mjs. Do not edit. */
2
+ :root {
3
+ --space-0: 0;
4
+ --space-1: 4px;
5
+ --space-2: 8px;
6
+ --space-3: 12px;
7
+ --space-4: 16px;
8
+ --space-5: 20px;
9
+ --space-6: 24px;
10
+ --space-8: 32px;
11
+ --space-10: 40px;
12
+ --space-12: 48px;
13
+ --space-16: 64px;
14
+ --space-20: 80px;
15
+ --space-24: 96px;
16
+ --space-32: 128px;
17
+ --space-0-5: 2px;
18
+ --radius-xs: 4px;
19
+ --radius-xs-plus: 6px;
20
+ --radius-sm: 8px;
21
+ --radius-md: 12px;
22
+ --radius-lg: 16px;
23
+ --radius-xl: 24px;
24
+ --radius-full: 999px;
25
+ --container-max: 1200px;
26
+ --container-text: 720px;
27
+ --control-h-sm: 28px;
28
+ --control-h-md: 36px;
29
+ --control-h-lg: 44px;
30
+ --tap-min: 44px;
31
+ --table-pad-y: 12px;
32
+ --table-pad-x: 16px;
8
33
  }
9
- /* Compact density — data-heavy B2B views */
10
- [data-density="compact"]{
11
- --control-h-sm:24px;--control-h-md:30px;--control-h-lg:38px;
12
- --table-pad-y:7px;--table-pad-x:12px;
34
+
35
+ [data-density="compact"] {
36
+ --control-h-sm: 24px;
37
+ --control-h-md: 30px;
38
+ --control-h-lg: 38px;
39
+ --table-pad-y: 7px;
40
+ --table-pad-x: 12px;
13
41
  }
14
42
 
15
- /* Touch pointers: the default control height (36px) is below the 44px minimum
16
- touch target, so raise sm and md to --tap-min there. Compact density keeps
17
- its own scale: it exists for mouse-driven data views, and a coarse pointer
18
- on a compact view still needs the larger target, so it is raised too.
19
- Fine pointers keep the tighter scale — desktop layout does not move. */
20
43
  @media (pointer: coarse) {
21
44
  :root, [data-density="compact"] {
22
- --control-h-sm:var(--tap-min);--control-h-md:var(--tap-min);--control-h-lg:var(--tap-min);
45
+ --control-h-sm: var(--tap-min);
46
+ --control-h-md: var(--tap-min);
47
+ --control-h-lg: var(--tap-min);
23
48
  }
24
49
  }
@@ -1,9 +1,30 @@
1
- :root{
2
- --font-display:'Bricolage Grotesque','Figtree',ui-sans-serif,system-ui,sans-serif;
3
- --font-sans:'Figtree',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
4
- --font-mono:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;
5
- --text-2xs:11px;--text-xs:12px;--text-sm:13px;--text-md:14px;--text-lg:16px;--text-xl:18px;--text-2xl:21px;--text-3xl:26px;--text-4xl:34px;--text-5xl:44px;--text-6xl:60px;--text-7xl:76px;
6
- --leading-tight:1.05;--leading-snug:1.25;--leading-normal:1.5;--leading-relaxed:1.65;
7
- --tracking-display:-0.02em;--tracking-tight:-0.01em;--tracking-wide:0.06em;
8
- --weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--weight-display:680;
1
+ /* Generated from tokens.json by scripts/build.mjs. Do not edit. */
2
+ :root {
3
+ --text-2xs: 11px;
4
+ --text-xs: 12px;
5
+ --text-sm: 13px;
6
+ --text-md: 14px;
7
+ --text-lg: 16px;
8
+ --text-xl: 18px;
9
+ --text-2xl: 21px;
10
+ --text-3xl: 26px;
11
+ --text-4xl: 34px;
12
+ --text-5xl: 44px;
13
+ --text-6xl: 60px;
14
+ --text-7xl: 76px;
15
+ --font-display: 'Bricolage Grotesque','Bricolage Grotesque Fallback','Figtree',ui-sans-serif,system-ui,sans-serif;
16
+ --font-sans: 'Figtree','Figtree Fallback',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
17
+ --font-mono: 'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;
18
+ --leading-tight: 1.05;
19
+ --leading-snug: 1.25;
20
+ --leading-normal: 1.5;
21
+ --leading-relaxed: 1.65;
22
+ --tracking-display: -0.02em;
23
+ --tracking-tight: -0.01em;
24
+ --tracking-wide: 0.06em;
25
+ --weight-regular: 400;
26
+ --weight-medium: 500;
27
+ --weight-semibold: 600;
28
+ --weight-bold: 700;
29
+ --weight-display: 680;
9
30
  }