@getloopscale/ui 0.0.0-stage → 0.38.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.
- package/LICENSE +201 -0
- package/README.md +91 -2
- package/dist/base.css +110 -0
- package/dist/components/composites/account-menu/account-menu.d.ts +43 -0
- package/dist/components/composites/account-menu/index.d.ts +1 -0
- package/dist/components/composites/annotation-input/annotation-input.d.ts +38 -0
- package/dist/components/composites/annotation-input/index.d.ts +4 -0
- package/dist/components/composites/annotation-input/types.d.ts +31 -0
- package/dist/components/composites/annotation-summary-group/annotation-summary-group.d.ts +28 -0
- package/dist/components/composites/annotation-summary-group/index.d.ts +1 -0
- package/dist/components/composites/attributes-table/attributes-table.d.ts +20 -0
- package/dist/components/composites/attributes-table/index.d.ts +1 -0
- package/dist/components/composites/chat-message-card/chat-message-card.d.ts +14 -0
- package/dist/components/composites/chat-message-card/index.d.ts +1 -0
- package/dist/components/composites/code-block/code-block.d.ts +29 -0
- package/dist/components/composites/code-block/index.d.ts +1 -0
- package/dist/components/composites/command-palette/command-palette.d.ts +41 -0
- package/dist/components/composites/command-palette/index.d.ts +1 -0
- package/dist/components/composites/comment-thread/comment-thread.d.ts +24 -0
- package/dist/components/composites/comment-thread/index.d.ts +2 -0
- package/dist/components/composites/confirm-dialog/confirm-dialog.d.ts +41 -0
- package/dist/components/composites/confirm-dialog/index.d.ts +1 -0
- package/dist/components/composites/data-table/compare-values.d.ts +2 -0
- package/dist/components/composites/data-table/data-table-loading.d.ts +10 -0
- package/dist/components/composites/data-table/data-table-parts.d.ts +16 -0
- package/dist/components/composites/data-table/data-table-virtualized.d.ts +32 -0
- package/dist/components/composites/data-table/data-table.d.ts +82 -0
- package/dist/components/composites/data-table/index.d.ts +2 -0
- package/dist/components/composites/data-table/use-data-table-sort.d.ts +19 -0
- package/dist/components/composites/dataset-item-diff/dataset-item-diff.d.ts +19 -0
- package/dist/components/composites/dataset-item-diff/index.d.ts +4 -0
- package/dist/components/composites/dataset-item-diff/to-diff-text.d.ts +22 -0
- package/dist/components/composites/deployment-row/deployment-row.d.ts +28 -0
- package/dist/components/composites/deployment-row/index.d.ts +1 -0
- package/dist/components/composites/diff-view/diff-section.d.ts +19 -0
- package/dist/components/composites/diff-view/diff-view.d.ts +39 -0
- package/dist/components/composites/diff-view/index.d.ts +2 -0
- package/dist/components/composites/domain-config/domain-config.d.ts +34 -0
- package/dist/components/composites/domain-config/index.d.ts +1 -0
- package/dist/components/composites/env-var-editor/env-var-editor.d.ts +35 -0
- package/dist/components/composites/env-var-editor/index.d.ts +1 -0
- package/dist/components/composites/evaluator-form/evaluator-form.d.ts +25 -0
- package/dist/components/composites/evaluator-form/index.d.ts +3 -0
- package/dist/components/composites/evaluator-form/types.d.ts +41 -0
- package/dist/components/composites/histogram/histogram.d.ts +19 -0
- package/dist/components/composites/histogram/index.d.ts +2 -0
- package/dist/components/composites/io-cards/index.d.ts +2 -0
- package/dist/components/composites/io-cards/io-cards.d.ts +17 -0
- package/dist/components/composites/io-cards/message-card.d.ts +21 -0
- package/dist/components/composites/message-branch-selector/index.d.ts +1 -0
- package/dist/components/composites/message-branch-selector/message-branch-selector.d.ts +27 -0
- package/dist/components/composites/metric-card/index.d.ts +2 -0
- package/dist/components/composites/metric-card/metric-card.d.ts +46 -0
- package/dist/components/composites/page-shell/index.d.ts +1 -0
- package/dist/components/composites/page-shell/page-shell.d.ts +68 -0
- package/dist/components/composites/percentile-chart/index.d.ts +2 -0
- package/dist/components/composites/percentile-chart/percentile-chart.d.ts +37 -0
- package/dist/components/composites/preview-env-card/index.d.ts +1 -0
- package/dist/components/composites/preview-env-card/preview-env-card.d.ts +36 -0
- package/dist/components/composites/price-breakdown/index.d.ts +2 -0
- package/dist/components/composites/price-breakdown/price-breakdown.d.ts +21 -0
- package/dist/components/composites/project-card/index.d.ts +1 -0
- package/dist/components/composites/project-card/project-card.d.ts +32 -0
- package/dist/components/composites/prompt-template-editor/extract-vars.d.ts +1 -0
- package/dist/components/composites/prompt-template-editor/index.d.ts +2 -0
- package/dist/components/composites/prompt-template-editor/prompt-template-editor.d.ts +24 -0
- package/dist/components/composites/prompt-version-diff/index.d.ts +4 -0
- package/dist/components/composites/prompt-version-diff/prompt-version-diff.d.ts +20 -0
- package/dist/components/composites/prompt-version-diff/to-diff-text.d.ts +26 -0
- package/dist/components/composites/rollback-ui/index.d.ts +1 -0
- package/dist/components/composites/rollback-ui/rollback-ui.d.ts +32 -0
- package/dist/components/composites/session-summary/index.d.ts +1 -0
- package/dist/components/composites/session-summary/session-summary.d.ts +18 -0
- package/dist/components/composites/session-timeline/index.d.ts +1 -0
- package/dist/components/composites/session-timeline/session-timeline.d.ts +22 -0
- package/dist/components/composites/severity-badge/index.d.ts +2 -0
- package/dist/components/composites/severity-badge/severity-badge.d.ts +33 -0
- package/dist/components/composites/span-graph/index.d.ts +1 -0
- package/dist/components/composites/span-graph/span-graph.d.ts +19 -0
- package/dist/components/composites/span-tree/index.d.ts +2 -0
- package/dist/components/composites/span-tree/span-tree-row.d.ts +22 -0
- package/dist/components/composites/span-tree/span-tree-virtual.d.ts +7 -0
- package/dist/components/composites/span-tree/span-tree.d.ts +34 -0
- package/dist/components/composites/span-waterfall/index.d.ts +1 -0
- package/dist/components/composites/span-waterfall/span-waterfall.d.ts +28 -0
- package/dist/components/composites/status-indicator/index.d.ts +2 -0
- package/dist/components/composites/status-indicator/status-indicator.d.ts +31 -0
- package/dist/components/composites/stepper/index.d.ts +1 -0
- package/dist/components/composites/stepper/stepper.d.ts +53 -0
- package/dist/components/composites/tag-input/index.d.ts +2 -0
- package/dist/components/composites/tag-input/tag-input.d.ts +32 -0
- package/dist/components/composites/task-header/index.d.ts +1 -0
- package/dist/components/composites/task-header/task-header.d.ts +20 -0
- package/dist/components/composites/token-cost-breakdown/index.d.ts +2 -0
- package/dist/components/composites/token-cost-breakdown/token-cost-breakdown.d.ts +26 -0
- package/dist/components/composites/trace-compare/index.d.ts +1 -0
- package/dist/components/composites/trace-compare/trace-compare.d.ts +27 -0
- package/dist/components/composites/trace-transcript/index.d.ts +1 -0
- package/dist/components/composites/trace-transcript/trace-transcript.d.ts +26 -0
- package/dist/components/composites/trend-chart/index.d.ts +1 -0
- package/dist/components/composites/trend-chart/trend-chart.d.ts +117 -0
- package/dist/components/primitives/action-bar/action-bar.d.ts +36 -0
- package/dist/components/primitives/action-bar/index.d.ts +1 -0
- package/dist/components/primitives/alert/alert.d.ts +31 -0
- package/dist/components/primitives/alert/index.d.ts +1 -0
- package/dist/components/primitives/avatar/avatar.d.ts +26 -0
- package/dist/components/primitives/avatar/index.d.ts +1 -0
- package/dist/components/primitives/badge/badge.d.ts +33 -0
- package/dist/components/primitives/badge/index.d.ts +1 -0
- package/dist/components/primitives/breadcrumb/breadcrumb.d.ts +15 -0
- package/dist/components/primitives/breadcrumb/index.d.ts +1 -0
- package/dist/components/primitives/button/button.d.ts +26 -0
- package/dist/components/primitives/button/index.d.ts +1 -0
- package/dist/components/primitives/card/card.d.ts +59 -0
- package/dist/components/primitives/card/index.d.ts +1 -0
- package/dist/components/primitives/checkbox/checkbox.d.ts +20 -0
- package/dist/components/primitives/checkbox/index.d.ts +1 -0
- package/dist/components/primitives/combobox/combobox.d.ts +53 -0
- package/dist/components/primitives/combobox/index.d.ts +1 -0
- package/dist/components/primitives/copy-button/copy-button.d.ts +17 -0
- package/dist/components/primitives/copy-button/index.d.ts +1 -0
- package/dist/components/primitives/danger-zone/danger-zone.d.ts +40 -0
- package/dist/components/primitives/danger-zone/index.d.ts +1 -0
- package/dist/components/primitives/description-list/description-list.d.ts +33 -0
- package/dist/components/primitives/description-list/index.d.ts +1 -0
- package/dist/components/primitives/dialog/dialog.d.ts +31 -0
- package/dist/components/primitives/dialog/index.d.ts +1 -0
- package/dist/components/primitives/dropdown-menu/dropdown-menu.d.ts +68 -0
- package/dist/components/primitives/dropdown-menu/index.d.ts +1 -0
- package/dist/components/primitives/empty-state/empty-state.d.ts +22 -0
- package/dist/components/primitives/empty-state/index.d.ts +1 -0
- package/dist/components/primitives/file-dropzone/file-dropzone.d.ts +26 -0
- package/dist/components/primitives/file-dropzone/index.d.ts +1 -0
- package/dist/components/primitives/file-dropzone/validate.d.ts +40 -0
- package/dist/components/primitives/form-field/form-field.d.ts +44 -0
- package/dist/components/primitives/form-field/index.d.ts +1 -0
- package/dist/components/primitives/input/index.d.ts +1 -0
- package/dist/components/primitives/input/input.d.ts +24 -0
- package/dist/components/primitives/json-viewer/index.d.ts +1 -0
- package/dist/components/primitives/json-viewer/json-viewer.d.ts +32 -0
- package/dist/components/primitives/label/index.d.ts +1 -0
- package/dist/components/primitives/label/label.d.ts +15 -0
- package/dist/components/primitives/login-split/index.d.ts +1 -0
- package/dist/components/primitives/login-split/login-split.d.ts +24 -0
- package/dist/components/primitives/metrics-panel/index.d.ts +1 -0
- package/dist/components/primitives/metrics-panel/metrics-panel.d.ts +62 -0
- package/dist/components/primitives/pagination/index.d.ts +1 -0
- package/dist/components/primitives/pagination/pagination.d.ts +44 -0
- package/dist/components/primitives/pin-input/index.d.ts +1 -0
- package/dist/components/primitives/pin-input/pin-input.d.ts +41 -0
- package/dist/components/primitives/plan-badge/index.d.ts +1 -0
- package/dist/components/primitives/plan-badge/plan-badge.d.ts +35 -0
- package/dist/components/primitives/progress/index.d.ts +1 -0
- package/dist/components/primitives/progress/progress.d.ts +44 -0
- package/dist/components/primitives/radio-group/index.d.ts +1 -0
- package/dist/components/primitives/radio-group/radio-group.d.ts +5 -0
- package/dist/components/primitives/scroll-area/index.d.ts +2 -0
- package/dist/components/primitives/scroll-area/scroll-area.d.ts +40 -0
- package/dist/components/primitives/scroll-area/use-stick-to-bottom.d.ts +20 -0
- package/dist/components/primitives/select/index.d.ts +1 -0
- package/dist/components/primitives/select/select.d.ts +50 -0
- package/dist/components/primitives/sheet/index.d.ts +1 -0
- package/dist/components/primitives/sheet/sheet.d.ts +33 -0
- package/dist/components/primitives/sidebar/index.d.ts +1 -0
- package/dist/components/primitives/sidebar/sidebar.d.ts +76 -0
- package/dist/components/primitives/skeleton/index.d.ts +1 -0
- package/dist/components/primitives/skeleton/skeleton.d.ts +21 -0
- package/dist/components/primitives/slider/index.d.ts +1 -0
- package/dist/components/primitives/slider/slider.d.ts +24 -0
- package/dist/components/primitives/social-auth-row/index.d.ts +1 -0
- package/dist/components/primitives/social-auth-row/social-auth-row.d.ts +24 -0
- package/dist/components/primitives/stat-tile/index.d.ts +1 -0
- package/dist/components/primitives/stat-tile/stat-tile.d.ts +28 -0
- package/dist/components/primitives/status-dot/index.d.ts +1 -0
- package/dist/components/primitives/status-dot/status-dot.d.ts +31 -0
- package/dist/components/primitives/switch/index.d.ts +1 -0
- package/dist/components/primitives/switch/switch.d.ts +20 -0
- package/dist/components/primitives/table/index.d.ts +1 -0
- package/dist/components/primitives/table/table.d.ts +61 -0
- package/dist/components/primitives/tabs/index.d.ts +1 -0
- package/dist/components/primitives/tabs/tabs.d.ts +7 -0
- package/dist/components/primitives/textarea/index.d.ts +1 -0
- package/dist/components/primitives/textarea/textarea.d.ts +20 -0
- package/dist/components/primitives/timestamp/index.d.ts +1 -0
- package/dist/components/primitives/timestamp/timestamp.d.ts +34 -0
- package/dist/components/primitives/toast/index.d.ts +2 -0
- package/dist/components/primitives/toast/toast.d.ts +34 -0
- package/dist/components/primitives/toast/toaster.d.ts +38 -0
- package/dist/components/primitives/tooltip/index.d.ts +1 -0
- package/dist/components/primitives/tooltip/tooltip.d.ts +33 -0
- package/dist/components/primitives/topnav/index.d.ts +1 -0
- package/dist/components/primitives/topnav/topnav.d.ts +29 -0
- package/dist/components/primitives/update-banner/index.d.ts +1 -0
- package/dist/components/primitives/update-banner/update-banner.d.ts +16 -0
- package/dist/components.css +2 -0
- package/dist/fonts/LICENSE-hanken-grotesk.txt +93 -0
- package/dist/fonts/LICENSE-jetbrains-mono.txt +93 -0
- package/dist/fonts/hanken-grotesk-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts-cdn.css +16 -0
- package/dist/fonts.css +59 -0
- package/dist/index.d.ts +116 -0
- package/dist/index.js +9271 -0
- package/dist/lib/chart/histogram.d.ts +21 -0
- package/dist/lib/chart/index.d.ts +1 -0
- package/dist/lib/cn.d.ts +6 -0
- package/dist/lib/diff/diff-lines.d.ts +23 -0
- package/dist/lib/diff/index.d.ts +1 -0
- package/dist/lib/env.d.ts +55 -0
- package/dist/lib/live-region-context.d.ts +2 -0
- package/dist/lib/safe-href.d.ts +27 -0
- package/dist/lib/session/aggregate.d.ts +18 -0
- package/dist/lib/session/index.d.ts +2 -0
- package/dist/lib/session/types.d.ts +30 -0
- package/dist/lib/trace/align.d.ts +41 -0
- package/dist/lib/trace/attributes.d.ts +11 -0
- package/dist/lib/trace/bar-layout.d.ts +52 -0
- package/dist/lib/trace/chat.d.ts +14 -0
- package/dist/lib/trace/cost.d.ts +24 -0
- package/dist/lib/trace/duration.d.ts +18 -0
- package/dist/lib/trace/flatten.d.ts +28 -0
- package/dist/lib/trace/graph-layout.d.ts +52 -0
- package/dist/lib/trace/index.d.ts +9 -0
- package/dist/lib/trace/types.d.ts +85 -0
- package/dist/lib/types.d.ts +10 -0
- package/dist/preset.css +13 -0
- package/dist/styles/tailwind-preset.d.ts +29 -0
- package/dist/styles-v3-legacy.css +85 -0
- package/dist/styles.css +23 -0
- package/dist/tailwind-preset.js +166 -0
- package/dist/test/a11y.d.ts +13 -0
- package/dist/test/fixtures/trace.d.ts +19 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/tokens-v4.css +222 -0
- package/dist/tokens.css +288 -0
- package/dist/types/task.d.ts +9 -0
- package/package.json +127 -4
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* LoopScale UI — font loading from the Google Fonts CDN (opt-in).
|
|
2
|
+
*
|
|
3
|
+
* Use this instead of `@getloopscale/ui/fonts.css` to fetch Hanken Grotesk and JetBrains Mono
|
|
4
|
+
* from `fonts.googleapis.com` and skip the woff2 files the self-hosted entry ships.
|
|
5
|
+
*
|
|
6
|
+
* The cost is a third-party request on every page load: it conflicts with a strict CSP and it
|
|
7
|
+
* blocks rendering on a cold cache. `@getloopscale/ui/styles.css` bundles the self-hosted fonts,
|
|
8
|
+
* so pair this file with the pieces instead:
|
|
9
|
+
*
|
|
10
|
+
* @import "@getloopscale/ui/fonts-cdn.css";
|
|
11
|
+
* @import "@getloopscale/ui/tokens.css";
|
|
12
|
+
*
|
|
13
|
+
* `--font-display`, `--font-body` and `--font-mono` in `tokens.css` already name both families.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@100..900&family=JetBrains+Mono:wght@100..800&display=swap");
|
package/dist/fonts.css
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* LoopScale UI — font loading, self-hosted.
|
|
2
|
+
*
|
|
3
|
+
* Hanken Grotesk for text and JetBrains Mono for code, labels and numbers. Both are variable
|
|
4
|
+
* fonts under the SIL Open Font License; the license texts sit next to the woff2 files in
|
|
5
|
+
* `dist/fonts/`.
|
|
6
|
+
*
|
|
7
|
+
* Self-hosting is the default because a stylesheet import from a font CDN is a third-party
|
|
8
|
+
* request on every page load, which strict CSP deployments and offline products cannot make.
|
|
9
|
+
* `@getloopscale/ui/fonts-cdn.css` is the opt-in alternative.
|
|
10
|
+
*
|
|
11
|
+
* Each family ships one file per subset, and the browser downloads a subset only when the page
|
|
12
|
+
* uses a character in its `unicode-range`. Latin covers Portuguese and Western European text.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Hanken Grotesk";
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 100 900;
|
|
19
|
+
font-display: swap;
|
|
20
|
+
src: url("./fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
|
|
21
|
+
unicode-range:
|
|
22
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
23
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
24
|
+
U+A720-A7FF;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: "Hanken Grotesk";
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 100 900;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
src: url("./fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
|
|
33
|
+
unicode-range:
|
|
34
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
35
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: "JetBrains Mono";
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 100 800;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
src: url("./fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
|
|
44
|
+
unicode-range:
|
|
45
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
46
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
47
|
+
U+A720-A7FF;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "JetBrains Mono";
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 100 800;
|
|
54
|
+
font-display: swap;
|
|
55
|
+
src: url("./fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
|
|
56
|
+
unicode-range:
|
|
57
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
58
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
59
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export { cn } from "./lib/cn.js";
|
|
2
|
+
export { aggregateCost, asChat, contentText, isRedactedThinking, buildLayeredGraph, computeBarLayout, computeTraceBounds, deriveSpanKind, durationMs, flattenAll, flattenVisible, GRAPH_NODE_CAP, isSpanError, KIND_LABEL, niceAxisTicks, packRows, prettyValue, spanCostUsd, spanOwnCostUsd, toNs, alignSpanTrees, groupByNamespace, traceMetrics, toTranscriptRows, VIRTUALIZE_THRESHOLD, } from "./lib/trace/index.js";
|
|
3
|
+
export type { AlignDelta, AlignRow, AttributeGroup, AxisTick, BarLayout, ChatMessage, FlatSpan, GraphEdge, GraphNode, LayeredGraph, SpanKind, SpanStatus, ToolCall, TraceSpan, TranscriptRow, TranscriptRowStats, } from "./lib/trace/index.js";
|
|
4
|
+
export { Button, buttonVariants, type ButtonProps } from "./components/primitives/button/index.js";
|
|
5
|
+
export { Badge, badgeVariants, type BadgeProps } from "./components/primitives/badge/index.js";
|
|
6
|
+
export { Breadcrumb, type BreadcrumbLinkProps } from "./components/primitives/breadcrumb/index.js";
|
|
7
|
+
export { DescriptionList, type DescriptionListProps } from "./components/primitives/description-list/index.js";
|
|
8
|
+
export { JsonViewer, type JsonViewerProps } from "./components/primitives/json-viewer/index.js";
|
|
9
|
+
export { Combobox, type ComboboxContentProps, type ComboboxInputProps, type ComboboxItemProps, type ComboboxProps, } from "./components/primitives/combobox/index.js";
|
|
10
|
+
export { Slider, type SliderMark, type SliderProps } from "./components/primitives/slider/index.js";
|
|
11
|
+
export { UpdateBanner, type UpdateBannerProps } from "./components/primitives/update-banner/index.js";
|
|
12
|
+
export { Card } from "./components/primitives/card/index.js";
|
|
13
|
+
export { Input, type InputProps } from "./components/primitives/input/index.js";
|
|
14
|
+
export { Dialog } from "./components/primitives/dialog/index.js";
|
|
15
|
+
export { Tabs } from "./components/primitives/tabs/index.js";
|
|
16
|
+
export { Tooltip } from "./components/primitives/tooltip/index.js";
|
|
17
|
+
export { ScrollArea, isNearBottom, type StickToBottomMetrics, useStickToBottom, type UseStickToBottomOptions, type UseStickToBottomReturn, } from "./components/primitives/scroll-area/index.js";
|
|
18
|
+
export { Toast, type ToastVariant, Toaster, useToast, } from "./components/primitives/toast/index.js";
|
|
19
|
+
export { Skeleton } from "./components/primitives/skeleton/index.js";
|
|
20
|
+
export { Avatar, avatarVariants } from "./components/primitives/avatar/index.js";
|
|
21
|
+
export { Label } from "./components/primitives/label/index.js";
|
|
22
|
+
export { FormField } from "./components/primitives/form-field/index.js";
|
|
23
|
+
export { EmptyState } from "./components/primitives/empty-state/index.js";
|
|
24
|
+
export { Select } from "./components/primitives/select/index.js";
|
|
25
|
+
export { Checkbox } from "./components/primitives/checkbox/index.js";
|
|
26
|
+
export { RadioGroup } from "./components/primitives/radio-group/index.js";
|
|
27
|
+
export { Switch } from "./components/primitives/switch/index.js";
|
|
28
|
+
export { Textarea, type TextareaProps } from "./components/primitives/textarea/index.js";
|
|
29
|
+
export { Sidebar } from "./components/primitives/sidebar/index.js";
|
|
30
|
+
export { TopNav } from "./components/primitives/topnav/index.js";
|
|
31
|
+
export { Sheet, sheetVariants } from "./components/primitives/sheet/index.js";
|
|
32
|
+
export { Progress, type ProgressProps } from "./components/primitives/progress/index.js";
|
|
33
|
+
export { PlanBadge, type PlanBadgeProps, type PlanTier, } from "./components/primitives/plan-badge/index.js";
|
|
34
|
+
export { AccountMenu, type AccountMenuProps, } from "./components/composites/account-menu/index.js";
|
|
35
|
+
export { Table, type TableProps, type TableCellProps, type TableHeaderCellProps, } from "./components/primitives/table/index.js";
|
|
36
|
+
export { StatusDot, type StatusDotProps, type StatusKind } from "./components/primitives/status-dot/index.js";
|
|
37
|
+
export { CopyButton, type CopyButtonProps, } from "./components/primitives/copy-button/index.js";
|
|
38
|
+
export { Timestamp, type TimestampProps } from "./components/primitives/timestamp/index.js";
|
|
39
|
+
export { StatTile, type StatTileProps } from "./components/primitives/stat-tile/index.js";
|
|
40
|
+
export { DangerZone, type DangerZoneProps, type DangerZoneActionProps, } from "./components/primitives/danger-zone/index.js";
|
|
41
|
+
export { ConfirmDialog, type ConfirmDialogProps, } from "./components/composites/confirm-dialog/index.js";
|
|
42
|
+
export { CodeBlock, type CodeBlockProps } from "./components/composites/code-block/index.js";
|
|
43
|
+
export { StatusIndicator } from "./components/composites/status-indicator/index.js";
|
|
44
|
+
export type { StatusIndicatorKind, StatusIndicatorProps, StatusIndicatorSize } from "./components/composites/status-indicator/index.js";
|
|
45
|
+
export { MetricCard, type MetricCardDelta, type MetricCardProps, type MetricCardTrend, } from "./components/composites/metric-card/index.js";
|
|
46
|
+
export { Alert, type AlertProps, type AlertIntent } from "./components/primitives/alert/index.js";
|
|
47
|
+
export { Pagination, computePageRange, type PaginationProps, } from "./components/primitives/pagination/index.js";
|
|
48
|
+
export { DropdownMenu } from "./components/primitives/dropdown-menu/index.js";
|
|
49
|
+
export { ActionBar, type ActionBarProps } from "./components/primitives/action-bar/index.js";
|
|
50
|
+
export { PinInput, type PinInputProps } from "./components/primitives/pin-input/index.js";
|
|
51
|
+
export { DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DataTableVirtualizedOptions, } from "./components/composites/data-table/index.js";
|
|
52
|
+
export { PageShell, type PageShellProps } from "./components/composites/page-shell/index.js";
|
|
53
|
+
export { linScale, niceMax, seriesPath, TrendChart, type TrendChartProps, type TrendPoint, type TrendSeries, } from "./components/composites/trend-chart/index.js";
|
|
54
|
+
export { Stepper, deriveSteps, type StepStatus, type StepperProps, type StepperStepData, } from "./components/composites/stepper/index.js";
|
|
55
|
+
export { FileDropzone, matchesAccept, validateFiles, type FileDropzoneError, type FileDropzoneErrorCode, type FileDropzoneProps, type FileDropzoneState, type FileRejection, type ValidateFilesOptions, } from "./components/primitives/file-dropzone/index.js";
|
|
56
|
+
export { MetricsPanel, type Metric } from "./components/primitives/metrics-panel/index.js";
|
|
57
|
+
export { SocialAuthRow, type SocialProvider, } from "./components/primitives/social-auth-row/index.js";
|
|
58
|
+
export { LoginSplit } from "./components/primitives/login-split/index.js";
|
|
59
|
+
export { TaskHeader } from "./components/composites/task-header/index.js";
|
|
60
|
+
export { DeploymentRow, type Deployment, type DeploymentStatus, } from "./components/composites/deployment-row/index.js";
|
|
61
|
+
export { ProjectCard, type Project } from "./components/composites/project-card/index.js";
|
|
62
|
+
export { EnvVarEditor, type EnvScope, type EnvVar, } from "./components/composites/env-var-editor/index.js";
|
|
63
|
+
export { PreviewEnvCard, type PreviewEnv, type PreviewService, } from "./components/composites/preview-env-card/index.js";
|
|
64
|
+
export { DomainConfig, type Domain, type DomainStatus, } from "./components/composites/domain-config/index.js";
|
|
65
|
+
export { RollbackUI, type RollbackTarget, } from "./components/composites/rollback-ui/index.js";
|
|
66
|
+
export { CommandPalette, type CommandItem, } from "./components/composites/command-palette/index.js";
|
|
67
|
+
export { SpanTree, SpanTreeRow } from "./components/composites/span-tree/index.js";
|
|
68
|
+
export type { SpanTreeProps, SpanTreeRowProps, SpanTreeRenderCtx, } from "./components/composites/span-tree/index.js";
|
|
69
|
+
export { SpanWaterfall } from "./components/composites/span-waterfall/index.js";
|
|
70
|
+
export type { SpanWaterfallProps } from "./components/composites/span-waterfall/index.js";
|
|
71
|
+
export { AttributesTable } from "./components/composites/attributes-table/index.js";
|
|
72
|
+
export type { AttributesTableProps } from "./components/composites/attributes-table/index.js";
|
|
73
|
+
export { IOCards, MessageCard, MessageItem } from "./components/composites/io-cards/index.js";
|
|
74
|
+
export type { IOCardsProps, RenderMarkdown } from "./components/composites/io-cards/index.js";
|
|
75
|
+
export { TraceTranscript } from "./components/composites/trace-transcript/index.js";
|
|
76
|
+
export type { TraceTranscriptProps } from "./components/composites/trace-transcript/index.js";
|
|
77
|
+
export { SpanGraph } from "./components/composites/span-graph/index.js";
|
|
78
|
+
export type { SpanGraphProps } from "./components/composites/span-graph/index.js";
|
|
79
|
+
export { TraceCompare } from "./components/composites/trace-compare/index.js";
|
|
80
|
+
export type { TraceCompareProps, CompareLane, } from "./components/composites/trace-compare/index.js";
|
|
81
|
+
export { aggregateSession, sessionBounds } from "./lib/session/index.js";
|
|
82
|
+
export type { SessionTraceItem, SessionMetrics } from "./lib/session/index.js";
|
|
83
|
+
export { SessionSummary } from "./components/composites/session-summary/index.js";
|
|
84
|
+
export type { SessionSummaryProps } from "./components/composites/session-summary/index.js";
|
|
85
|
+
export { SessionTimeline } from "./components/composites/session-timeline/index.js";
|
|
86
|
+
export type { SessionTimelineProps } from "./components/composites/session-timeline/index.js";
|
|
87
|
+
export { computeHistogram } from "./lib/chart/index.js";
|
|
88
|
+
export type { HistogramBin } from "./lib/chart/index.js";
|
|
89
|
+
export { diffLines } from "./lib/diff/index.js";
|
|
90
|
+
export type { DiffRow, DiffRowKind } from "./lib/diff/index.js";
|
|
91
|
+
export { DiffView } from "./components/composites/diff-view/index.js";
|
|
92
|
+
export type { DiffViewProps, DiffViewMode } from "./components/composites/diff-view/index.js";
|
|
93
|
+
export { PromptVersionDiff, templateToText, configToText } from "./components/composites/prompt-version-diff/index.js";
|
|
94
|
+
export type { PromptVersionDiffProps, PromptSnapshot } from "./components/composites/prompt-version-diff/index.js";
|
|
95
|
+
export { DatasetItemDiff, fieldToText, fieldPresent } from "./components/composites/dataset-item-diff/index.js";
|
|
96
|
+
export type { DatasetItemDiffProps, DatasetItemSnapshot } from "./components/composites/dataset-item-diff/index.js";
|
|
97
|
+
export { Histogram } from "./components/composites/histogram/index.js";
|
|
98
|
+
export type { HistogramProps } from "./components/composites/histogram/index.js";
|
|
99
|
+
export { PercentileChart } from "./components/composites/percentile-chart/index.js";
|
|
100
|
+
export type { PercentileBucket, PercentileChartProps } from "./components/composites/percentile-chart/index.js";
|
|
101
|
+
export { AnnotationInput, isCategoricalConfig, isContinuousConfig, isFreeformConfig } from "./components/composites/annotation-input/index.js";
|
|
102
|
+
export type { AnnotationInputProps, CategoricalOption, AnnotationCategoricalConfig, AnnotationContinuousConfig, AnnotationFreeformConfig, AnnotationConfig } from "./components/composites/annotation-input/index.js";
|
|
103
|
+
export { EvaluatorForm, defaultEvaluatorConfig, isTargetEvaluator, isRegexEvaluator, isThresholdEvaluator } from "./components/composites/evaluator-form/index.js";
|
|
104
|
+
export type { EvaluatorFormProps, EvaluatorConfig, EvaluatorType, ExactMatchEvaluatorConfig, ContainsEvaluatorConfig, RegexEvaluatorConfig, LevenshteinEvaluatorConfig, JsonDistanceEvaluatorConfig } from "./components/composites/evaluator-form/index.js";
|
|
105
|
+
export { AnnotationSummaryGroup, type AnnotationSummaryGroupProps } from "./components/composites/annotation-summary-group/index.js";
|
|
106
|
+
export { TokenCostBreakdown } from "./components/composites/token-cost-breakdown/index.js";
|
|
107
|
+
export type { TokenCostBreakdownProps } from "./components/composites/token-cost-breakdown/index.js";
|
|
108
|
+
export { PriceBreakdown } from "./components/composites/price-breakdown/index.js";
|
|
109
|
+
export type { PriceBreakdownProps } from "./components/composites/price-breakdown/index.js";
|
|
110
|
+
export { SeverityBadge } from "./components/composites/severity-badge/index.js";
|
|
111
|
+
export type { Severity, BadgeVariant, SeverityBadgeProps } from "./components/composites/severity-badge/index.js";
|
|
112
|
+
export { TagInput, type TagInputProps } from "./components/composites/tag-input/index.js";
|
|
113
|
+
export { CommentThread, type Comment, type CommentThreadProps } from "./components/composites/comment-thread/index.js";
|
|
114
|
+
export { ChatMessageCard, type ChatMessageCardProps } from "./components/composites/chat-message-card/index.js";
|
|
115
|
+
export { MessageBranchSelector, type MessageBranchSelectorProps } from "./components/composites/message-branch-selector/index.js";
|
|
116
|
+
export { PromptTemplateEditor, extractVars, type PromptTemplateEditorProps } from "./components/composites/prompt-template-editor/index.js";
|