trebol 0.1.1 → 0.1.2
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/README.md +10 -1
- package/dist/cli.js +13747 -11409
- package/dist/fonts/OFL.txt +93 -0
- package/dist/fonts/inter-cyrillic-ext.woff2 +0 -0
- package/dist/fonts/inter-cyrillic.woff2 +0 -0
- package/dist/fonts/inter-greek-ext.woff2 +0 -0
- package/dist/fonts/inter-greek.woff2 +0 -0
- package/dist/fonts/inter-latin-ext.woff2 +0 -0
- package/dist/fonts/inter-latin.woff2 +0 -0
- package/dist/fonts/inter-vietnamese.woff2 +0 -0
- package/dist/lib/core/boot.js +2 -1
- package/dist/lib/core/func.d.ts +4 -0
- package/dist/lib/core/natives/control.js +1 -1
- package/dist/lib/core/natives/series.js +11 -1
- package/dist/lib/core/natives/text.js +3 -0
- package/dist/lib/host/browser.js +951 -58
- package/dist/lib/host/devlog.d.ts +11 -0
- package/dist/lib/host/devlog.js +13 -0
- package/dist/lib/host/devtools.d.ts +23 -0
- package/dist/lib/host/devtools.js +626 -0
- package/dist/lib/host/fonts/OFL.txt +93 -0
- package/dist/lib/host/fonts/inter-cyrillic-ext.woff2 +0 -0
- package/dist/lib/host/fonts/inter-cyrillic.woff2 +0 -0
- package/dist/lib/host/fonts/inter-greek-ext.woff2 +0 -0
- package/dist/lib/host/fonts/inter-greek.woff2 +0 -0
- package/dist/lib/host/fonts/inter-latin-ext.woff2 +0 -0
- package/dist/lib/host/fonts/inter-latin.woff2 +0 -0
- package/dist/lib/host/fonts/inter-vietnamese.woff2 +0 -0
- package/dist/lib/host/fonts.d.ts +11 -0
- package/dist/lib/host/fonts.js +29 -0
- package/dist/lib/host/index.d.ts +2 -0
- package/dist/lib/host/index.js +3 -1
- package/dist/lib/host/js.d.ts +5 -0
- package/dist/lib/host/js.js +130 -0
- package/dist/lib/host/markdown.d.ts +2 -0
- package/dist/lib/host/markdown.js +10 -0
- package/dist/lib/host/modules.d.ts +4 -0
- package/dist/lib/host/modules.js +39 -1
- package/dist/lib/host/net.js +9 -1
- package/dist/lib/host/orbit.d.ts +121 -0
- package/dist/lib/host/orbit.js +374 -0
- package/dist/lib/host/rows.d.ts +14 -0
- package/dist/lib/host/rows.js +29 -0
- package/dist/lib/host/scheduler.d.ts +6 -0
- package/dist/lib/host/scheduler.js +60 -36
- package/dist/lib/host/theme.js +207 -2
- package/dist/lib/ui/i18n.trb +6 -0
- package/dist/lib/ui/test.trb +565 -0
- package/dist/lib/ui/ui.trb +523 -82
- package/dist/trebol.js +1346 -124
- package/editors/vscode/README.md +15 -0
- package/editors/vscode/language-configuration.json +28 -0
- package/editors/vscode/package.json +42 -0
- package/editors/vscode/syntaxes/trebol.tmLanguage.json +237 -0
- package/package.json +7 -3
- package/src/core/boot.ts +1 -1
- package/src/core/func.ts +4 -0
- package/src/core/natives/control.ts +1 -1
- package/src/core/natives/series.ts +9 -1
- package/src/core/natives/text.ts +2 -0
- package/src/host/browser.ts +962 -51
- package/src/host/devlog.ts +16 -0
- package/src/host/devtools.ts +641 -0
- package/src/host/fonts/OFL.txt +93 -0
- package/src/host/fonts/inter-cyrillic-ext.woff2 +0 -0
- package/src/host/fonts/inter-cyrillic.woff2 +0 -0
- package/src/host/fonts/inter-greek-ext.woff2 +0 -0
- package/src/host/fonts/inter-greek.woff2 +0 -0
- package/src/host/fonts/inter-latin-ext.woff2 +0 -0
- package/src/host/fonts/inter-latin.woff2 +0 -0
- package/src/host/fonts/inter-vietnamese.woff2 +0 -0
- package/src/host/fonts.ts +39 -0
- package/src/host/index.ts +3 -1
- package/src/host/js.ts +127 -0
- package/src/host/markdown.ts +9 -0
- package/src/host/modules.ts +33 -1
- package/src/host/net.ts +9 -1
- package/src/host/orbit.ts +432 -0
- package/src/host/rows.ts +30 -0
- package/src/host/scheduler.ts +62 -36
- package/src/host/theme.ts +207 -2
- package/src/ui/i18n.trb +6 -0
- package/src/ui/test.trb +565 -0
- package/src/ui/ui.trb +523 -82
package/dist/lib/host/theme.js
CHANGED
|
@@ -700,6 +700,41 @@ button.tb-crumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tb-fo
|
|
|
700
700
|
.tb-chart-swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--tb-swatch); }
|
|
701
701
|
.tb-chart-empty { margin: 0; color: var(--tb-muted); }
|
|
702
702
|
.tb-chart-caption[hidden], .tb-chart-plot[hidden], .tb-chart-legend[hidden], .tb-chart-empty[hidden] { display: none; }
|
|
703
|
+
.tb-orbit { position: relative; align-self: stretch; width: 100%; min-width: 0; height: 480px; border-radius: var(--tb-radius);
|
|
704
|
+
background: radial-gradient(ellipse at 50% 45%, color-mix(in oklch, var(--tb-primary) 7%, transparent) 0%, transparent 70%); }
|
|
705
|
+
.tb-orbit.tb-small { height: 320px; }
|
|
706
|
+
.tb-orbit.tb-large { height: 640px; }
|
|
707
|
+
.tb-orbit.tb-fit { height: auto; min-height: 320px; }
|
|
708
|
+
.tb-orbit > svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; user-select: none; touch-action: none; outline: none; }
|
|
709
|
+
.tb-orbit > svg.tb-orbit-panning { cursor: grabbing; }
|
|
710
|
+
.tb-orbit > svg:focus-visible { box-shadow: inset 0 0 0 3px var(--tb-focus-ring); border-radius: var(--tb-radius); }
|
|
711
|
+
.tb-orbit-node { cursor: pointer; outline: none; }
|
|
712
|
+
.tb-orbit-focus { cursor: default; }
|
|
713
|
+
.tb-orbit-body { vector-effect: non-scaling-stroke; transition: stroke-width .2s; }
|
|
714
|
+
.tb-orbit-node:hover .tb-orbit-body, .tb-orbit-node:focus-visible .tb-orbit-body { stroke-width: 3; }
|
|
715
|
+
.tb-orbit-node:focus-visible .tb-orbit-body { stroke: var(--tb-focus); }
|
|
716
|
+
.tb-orbit-halo { opacity: .55; transition: opacity .25s; pointer-events: none; }
|
|
717
|
+
.tb-orbit-node:hover .tb-orbit-halo, .tb-orbit-node:focus-visible .tb-orbit-halo { opacity: 1; }
|
|
718
|
+
.tb-orbit-node text { pointer-events: none; fill: var(--tb-text); text-anchor: middle; dominant-baseline: middle; font-family: var(--tb-font); }
|
|
719
|
+
.tb-orbit-node .tb-orbit-count { fill: var(--tb-muted); }
|
|
720
|
+
.tb-orbit-line, .tb-orbit-step { fill: none; vector-effect: non-scaling-stroke; pointer-events: none; }
|
|
721
|
+
.tb-orbit-line { stroke-width: 1; }
|
|
722
|
+
.tb-orbit-step { stroke-linecap: round; }
|
|
723
|
+
.tb-orbit-spin { animation: tb-orbit-spin 60s linear infinite; }
|
|
724
|
+
.tb-orbit-spin.tb-orbit-rev { animation-direction: reverse; animation-duration: 90s; }
|
|
725
|
+
.tb-orbit-spin.tb-orbit-fast { animation-duration: 24s; }
|
|
726
|
+
@keyframes tb-orbit-spin { to { transform: rotate(360deg); } }
|
|
727
|
+
.tb-orbit-now { animation: tb-orbit-pulse 1.8s ease-in-out infinite; }
|
|
728
|
+
@keyframes tb-orbit-pulse { 50% { opacity: .35; } }
|
|
729
|
+
.tb-orbit-edge { fill: none; pointer-events: none; }
|
|
730
|
+
.tb-orbit-edge-solid, .tb-orbit-edge-dashed { stroke: var(--tb-accent); stroke-width: 1.4; stroke-opacity: .7; }
|
|
731
|
+
.tb-orbit-edge-dashed { stroke-dasharray: 5 5; }
|
|
732
|
+
.tb-orbit-edge-faint { stroke: var(--tb-muted); stroke-width: 1; stroke-opacity: .35; }
|
|
733
|
+
.tb-orbit-edge-trail { stroke: var(--tb-muted); stroke-width: 1; stroke-opacity: .5; stroke-dasharray: 2 6; }
|
|
734
|
+
.tb-orbit-label { font-size: 11px; font-family: var(--tb-font); fill: var(--tb-muted); text-anchor: middle; pointer-events: none;
|
|
735
|
+
paint-order: stroke; stroke: var(--tb-bg); stroke-width: 3px; letter-spacing: .02em; }
|
|
736
|
+
.tb-orbit-label.tb-orbit-later { visibility: hidden; }
|
|
737
|
+
.tb-orbit-label.tb-orbit-later.tb-orbit-shown { visibility: visible; }
|
|
703
738
|
.tb-image.tb-small { width: 96px; }
|
|
704
739
|
.tb-image.tb-medium { width: 240px; }
|
|
705
740
|
.tb-image.tb-large { width: 480px; }
|
|
@@ -710,6 +745,7 @@ button.tb-crumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tb-fo
|
|
|
710
745
|
.tb-progress-label[hidden] { display: none; }
|
|
711
746
|
.tb-progress { height: 8px; border-radius: 4px; background: var(--tb-border); overflow: hidden; }
|
|
712
747
|
.tb-upload-progress { height: 6px; }
|
|
748
|
+
.tb-widget { display: block; width: 100%; min-width: 0; }
|
|
713
749
|
.tb-photo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--tb-space-4); margin: calc(-1 * var(--tb-space-2)); padding: var(--tb-space-2); border: 1px dashed transparent; border-radius: var(--tb-radius-lg); transition: border-color var(--tb-fast) var(--tb-ease), background var(--tb-fast) var(--tb-ease); }
|
|
714
750
|
.tb-photo.tb-drop-over { border-color: var(--tb-primary); background: var(--tb-primary-soft); }
|
|
715
751
|
.tb-photo-frame { flex: none; width: 96px; height: 96px; display: grid; place-items: center; overflow: hidden; border: var(--tb-line) solid var(--tb-border); border-radius: var(--tb-radius-lg); background: var(--tb-bg); color: var(--tb-muted); }
|
|
@@ -753,6 +789,10 @@ button.tb-crumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tb-fo
|
|
|
753
789
|
.tb-table tbody tr:last-child td { border-bottom: 0; }
|
|
754
790
|
.tb-table .tb-num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
755
791
|
.tb-table-wrap:has(tbody:empty) thead { display: none; }
|
|
792
|
+
/* the room of the rows a long table does not draw */
|
|
793
|
+
.tb-table .tb-room[hidden] { display: none; }
|
|
794
|
+
.tb-table.tb-fixed { table-layout: fixed; }
|
|
795
|
+
.tb-table .tb-room :is(tr, td) { padding: 0; border: 0; margin: 0; background: none; box-shadow: none; }
|
|
756
796
|
.tb-table th:has(> .tb-sort) { padding: 0; }
|
|
757
797
|
.tb-sort {
|
|
758
798
|
display: flex;
|
|
@@ -780,8 +820,8 @@ button.tb-crumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tb-fo
|
|
|
780
820
|
border-top: var(--tb-line) solid var(--tb-border);
|
|
781
821
|
border-bottom: 0;
|
|
782
822
|
}
|
|
783
|
-
.tb-selectable tbody tr:not(.tb-group-head, .tb-group-foot), .tb-selectable .tb-list > li:not(.tb-group-head, .tb-group-foot) { cursor: pointer; transition: background var(--tb-fast) var(--tb-ease); }
|
|
784
|
-
.tb-selectable tbody tr:not(.tb-group-head, .tb-group-foot):hover, .tb-selectable .tb-list > li:not(.tb-group-head, .tb-group-foot):hover { background: var(--tb-bg); }
|
|
823
|
+
.tb-selectable tbody:not(.tb-room) tr:not(.tb-group-head, .tb-group-foot), .tb-selectable .tb-list > li:not(.tb-group-head, .tb-group-foot) { cursor: pointer; transition: background var(--tb-fast) var(--tb-ease); }
|
|
824
|
+
.tb-selectable tbody:not(.tb-room) tr:not(.tb-group-head, .tb-group-foot):hover, .tb-selectable .tb-list > li:not(.tb-group-head, .tb-group-foot):hover { background: var(--tb-bg); }
|
|
785
825
|
.tb-selectable tbody tr:focus-visible, .tb-selectable .tb-list > li:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--tb-focus); }
|
|
786
826
|
.tb-table tr.tb-selected, .tb-list > li.tb-selected { background: var(--tb-primary-soft); }
|
|
787
827
|
/* the head and foot of a group in the rows: a title the width of the row, and its subtotals */
|
|
@@ -1084,6 +1124,171 @@ button.tb-crumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tb-fo
|
|
|
1084
1124
|
.tb-toast.tb-warning::before { background: var(--tb-warning); }
|
|
1085
1125
|
.tb-toast.tb-danger { background: var(--tb-danger); color: var(--tb-on-danger); }
|
|
1086
1126
|
|
|
1127
|
+
/* under trebol dev, the errors the app does not catch */
|
|
1128
|
+
.tb-dev-errors {
|
|
1129
|
+
position: fixed;
|
|
1130
|
+
inset: var(--tb-space-4) var(--tb-space-4) auto;
|
|
1131
|
+
width: auto;
|
|
1132
|
+
max-width: 960px;
|
|
1133
|
+
max-height: calc(100vh - 2 * var(--tb-space-4));
|
|
1134
|
+
margin: 0 auto;
|
|
1135
|
+
overflow: auto;
|
|
1136
|
+
box-sizing: border-box;
|
|
1137
|
+
padding: var(--tb-space-4) var(--tb-space-5);
|
|
1138
|
+
border: 1px solid var(--tb-border);
|
|
1139
|
+
border-left: 4px solid var(--tb-danger);
|
|
1140
|
+
border-radius: var(--tb-radius);
|
|
1141
|
+
background: var(--tb-surface);
|
|
1142
|
+
color: var(--tb-text);
|
|
1143
|
+
box-shadow: var(--tb-shadow-3);
|
|
1144
|
+
font-family: var(--tb-font);
|
|
1145
|
+
}
|
|
1146
|
+
.tb-dev-errors header {
|
|
1147
|
+
display: flex;
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
justify-content: space-between;
|
|
1150
|
+
gap: var(--tb-space-3);
|
|
1151
|
+
margin-bottom: var(--tb-space-3);
|
|
1152
|
+
font-weight: 600;
|
|
1153
|
+
}
|
|
1154
|
+
.tb-dev-errors pre {
|
|
1155
|
+
margin: 0 0 var(--tb-space-3);
|
|
1156
|
+
white-space: pre-wrap;
|
|
1157
|
+
overflow-wrap: anywhere;
|
|
1158
|
+
font: 13px/1.6 ui-monospace, Menlo, Consolas, monospace;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/* under trebol dev, the dev tools: Faces, Console, Log */
|
|
1162
|
+
.tb-dev-tools {
|
|
1163
|
+
position: fixed;
|
|
1164
|
+
inset: auto 0 0 0;
|
|
1165
|
+
width: 100%;
|
|
1166
|
+
max-width: none;
|
|
1167
|
+
margin: 0;
|
|
1168
|
+
padding: 0;
|
|
1169
|
+
box-sizing: border-box;
|
|
1170
|
+
flex-direction: column;
|
|
1171
|
+
border: 0;
|
|
1172
|
+
border-top: 1px solid var(--tb-border-strong);
|
|
1173
|
+
background: var(--tb-surface);
|
|
1174
|
+
color: var(--tb-text);
|
|
1175
|
+
box-shadow: var(--tb-shadow-3);
|
|
1176
|
+
font: 13px/1.5 var(--tb-font);
|
|
1177
|
+
}
|
|
1178
|
+
.tb-dev-tools:popover-open { display: flex; }
|
|
1179
|
+
.tb-dev-tools :is(pre, code, .tb-dev-in, .tb-dev-node, .tb-dev-detail dd, .tb-dev-text) {
|
|
1180
|
+
font-family: ui-monospace, Menlo, Consolas, monospace;
|
|
1181
|
+
font-size: 12px;
|
|
1182
|
+
}
|
|
1183
|
+
.tb-dev-grip { height: 6px; margin-top: -3px; cursor: ns-resize; flex: none; touch-action: none; }
|
|
1184
|
+
.tb-dev-tools header {
|
|
1185
|
+
display: flex;
|
|
1186
|
+
align-items: center;
|
|
1187
|
+
gap: var(--tb-space-2);
|
|
1188
|
+
padding: 0 var(--tb-space-3) 0 0;
|
|
1189
|
+
border-bottom: 1px solid var(--tb-border);
|
|
1190
|
+
flex: none;
|
|
1191
|
+
}
|
|
1192
|
+
.tb-dev-tabs { display: flex; }
|
|
1193
|
+
.tb-dev-space { flex: 1; }
|
|
1194
|
+
.tb-dev-tab, .tb-dev-button, .tb-dev-node, .tb-dev-opener {
|
|
1195
|
+
font: inherit;
|
|
1196
|
+
color: inherit;
|
|
1197
|
+
cursor: pointer;
|
|
1198
|
+
}
|
|
1199
|
+
.tb-dev-tab {
|
|
1200
|
+
padding: var(--tb-space-2) var(--tb-space-4);
|
|
1201
|
+
border: 0;
|
|
1202
|
+
border-bottom: 2px solid transparent;
|
|
1203
|
+
background: transparent;
|
|
1204
|
+
color: var(--tb-muted);
|
|
1205
|
+
}
|
|
1206
|
+
.tb-dev-tab[aria-selected="true"] { color: var(--tb-text); border-bottom-color: var(--tb-primary); font-weight: 600; }
|
|
1207
|
+
.tb-dev-button {
|
|
1208
|
+
padding: 2px var(--tb-space-3);
|
|
1209
|
+
border: 1px solid var(--tb-border-strong);
|
|
1210
|
+
border-radius: var(--tb-radius);
|
|
1211
|
+
background: var(--tb-bg);
|
|
1212
|
+
}
|
|
1213
|
+
.tb-dev-button[aria-pressed="true"] { background: var(--tb-primary); color: var(--tb-on-primary); border-color: var(--tb-primary); }
|
|
1214
|
+
.tb-dev-tools :is(button, a, textarea):focus-visible { outline: 2px solid var(--tb-focus); outline-offset: -2px; }
|
|
1215
|
+
.tb-dev-body { flex: 1; min-height: 0; display: flex; }
|
|
1216
|
+
.tb-dev-pane { flex: 1; min-width: 0; min-height: 0; }
|
|
1217
|
+
.tb-dev-pane[hidden] { display: none; }
|
|
1218
|
+
.tb-dev-faces { display: grid; grid-template-columns: minmax(200px, 2fr) 3fr; }
|
|
1219
|
+
.tb-dev-tree { overflow: auto; border-right: 1px solid var(--tb-border); padding: var(--tb-space-1) 0; }
|
|
1220
|
+
.tb-dev-node {
|
|
1221
|
+
display: block;
|
|
1222
|
+
width: 100%;
|
|
1223
|
+
padding: 1px var(--tb-space-2);
|
|
1224
|
+
border: 0;
|
|
1225
|
+
background: transparent;
|
|
1226
|
+
text-align: left;
|
|
1227
|
+
white-space: nowrap;
|
|
1228
|
+
overflow: hidden;
|
|
1229
|
+
text-overflow: ellipsis;
|
|
1230
|
+
}
|
|
1231
|
+
.tb-dev-node:hover { background: var(--tb-primary-soft); }
|
|
1232
|
+
.tb-dev-node[aria-current="true"] { background: var(--tb-primary); color: var(--tb-on-primary); }
|
|
1233
|
+
.tb-dev-unseen { color: var(--tb-muted); }
|
|
1234
|
+
.tb-dev-detail { overflow: auto; padding: var(--tb-space-3) var(--tb-space-4); }
|
|
1235
|
+
.tb-dev-detail h3 { margin: 0 0 var(--tb-space-1); font-size: 14px; }
|
|
1236
|
+
.tb-dev-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px var(--tb-space-4); margin: var(--tb-space-3) 0 0; }
|
|
1237
|
+
.tb-dev-detail dt { color: var(--tb-muted); }
|
|
1238
|
+
.tb-dev-detail dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1239
|
+
.tb-dev-place { margin: 0; }
|
|
1240
|
+
.tb-dev-place a { color: var(--tb-primary); }
|
|
1241
|
+
.tb-dev-hint { margin: 0; color: var(--tb-muted); }
|
|
1242
|
+
.tb-dev-console { display: flex; flex-direction: column; }
|
|
1243
|
+
.tb-dev-out { flex: 1; overflow: auto; padding: var(--tb-space-2) var(--tb-space-3); }
|
|
1244
|
+
.tb-dev-out pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1245
|
+
.tb-dev-said-in { color: var(--tb-muted); }
|
|
1246
|
+
.tb-dev-said-error { color: var(--tb-danger); }
|
|
1247
|
+
.tb-dev-face { padding: 2px var(--tb-space-3); color: var(--tb-muted); border-top: 1px solid var(--tb-border); }
|
|
1248
|
+
.tb-dev-prompt { display: flex; align-items: flex-start; gap: var(--tb-space-2); padding: var(--tb-space-1) var(--tb-space-3) var(--tb-space-2); }
|
|
1249
|
+
.tb-dev-sign { font: 12px/20px ui-monospace, Menlo, Consolas, monospace; color: var(--tb-primary); }
|
|
1250
|
+
textarea.tb-dev-in { flex: 1; resize: none; border: 0; padding: 0; background: transparent; color: var(--tb-text); line-height: 20px; outline: none; }
|
|
1251
|
+
.tb-dev-log { display: flex; flex-direction: column; }
|
|
1252
|
+
.tb-dev-bar { display: flex; justify-content: flex-end; padding: var(--tb-space-1) var(--tb-space-3); flex: none; }
|
|
1253
|
+
ol.tb-dev-entries { flex: 1; margin: 0; overflow: auto; list-style: none; padding: 0 var(--tb-space-3) var(--tb-space-2); }
|
|
1254
|
+
ol.tb-dev-entries li { display: grid; grid-template-columns: max-content 5.5em 1fr; gap: var(--tb-space-3); padding: 1px 0; border-bottom: 1px solid var(--tb-border); }
|
|
1255
|
+
ol.tb-dev-entries time { color: var(--tb-muted); font-variant-numeric: tabular-nums; }
|
|
1256
|
+
.tb-dev-kind { color: var(--tb-muted); }
|
|
1257
|
+
ol.tb-dev-entries .tb-dev-text { overflow-wrap: anywhere; }
|
|
1258
|
+
ol.tb-dev-entries :is(.tb-dev-error, .tb-dev-failed) .tb-dev-kind, ol.tb-dev-entries :is(.tb-dev-error, .tb-dev-failed) .tb-dev-text { color: var(--tb-danger); }
|
|
1259
|
+
ol.tb-dev-entries .tb-dev-warning .tb-dev-kind { color: var(--tb-warning); }
|
|
1260
|
+
.tb-dev-opener {
|
|
1261
|
+
position: fixed;
|
|
1262
|
+
inset: auto var(--tb-space-3) var(--tb-space-3) auto;
|
|
1263
|
+
margin: 0;
|
|
1264
|
+
padding: 2px var(--tb-space-3);
|
|
1265
|
+
border: 1px solid var(--tb-border-strong);
|
|
1266
|
+
border-radius: 999px;
|
|
1267
|
+
background: var(--tb-surface);
|
|
1268
|
+
box-shadow: var(--tb-shadow-1);
|
|
1269
|
+
font: 600 12px/1.6 var(--tb-font);
|
|
1270
|
+
opacity: 0.7;
|
|
1271
|
+
}
|
|
1272
|
+
.tb-dev-opener:hover, .tb-dev-opener:focus-visible { opacity: 1; }
|
|
1273
|
+
.tb-dev-outline {
|
|
1274
|
+
position: fixed;
|
|
1275
|
+
margin: 0;
|
|
1276
|
+
padding: 0;
|
|
1277
|
+
box-sizing: border-box;
|
|
1278
|
+
border: 2px solid var(--tb-primary);
|
|
1279
|
+
border-radius: 2px;
|
|
1280
|
+
background: transparent;
|
|
1281
|
+
pointer-events: none;
|
|
1282
|
+
}
|
|
1283
|
+
.tb-dev-outline.tb-dev-pointed { border-style: dashed; background: color-mix(in srgb, var(--tb-primary) 12%, transparent); }
|
|
1284
|
+
.tb-dev-picking, .tb-dev-picking * { cursor: crosshair !important; }
|
|
1285
|
+
@media (max-width: 640px) {
|
|
1286
|
+
.tb-dev-faces { grid-template-columns: 1fr; grid-template-rows: 2fr 3fr; }
|
|
1287
|
+
.tb-dev-tree { border-right: 0; border-bottom: 1px solid var(--tb-border); }
|
|
1288
|
+
ol.tb-dev-entries li { grid-template-columns: max-content 1fr; }
|
|
1289
|
+
ol.tb-dev-entries time { display: none; }
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1087
1292
|
@media (max-width: 640px) {
|
|
1088
1293
|
.tb-wide-only { display: none !important; }
|
|
1089
1294
|
.tb-view:has(.tb-fit) { height: auto; }
|
package/dist/lib/ui/i18n.trb
CHANGED
|
@@ -43,6 +43,9 @@ i18n: make object! [
|
|
|
43
43
|
resize-panes #(en: "Resize panes" es: "Cambiar el tamaño de los paneles")
|
|
44
44
|
breadcrumb #(en: "Breadcrumb" es: "Ruta de navegación")
|
|
45
45
|
more-levels #(en: "Show more levels" es: "Mostrar más niveles")
|
|
46
|
+
orbit-more #(en: "+#1 more" es: "+#1 más")
|
|
47
|
+
orbit-first #(en: "Back to the first" es: "Volver a los primeros")
|
|
48
|
+
orbit-back-to #(en: "Back to #1" es: "Volver a #1")
|
|
46
49
|
choose-date #(en: "Choose date" es: "Elegir fecha")
|
|
47
50
|
choose-date-of #(en: "#1: choose date" es: "#1: elegir fecha")
|
|
48
51
|
previous-month #(en: "Previous month" es: "Mes anterior")
|
|
@@ -59,6 +62,9 @@ i18n: make object! [
|
|
|
59
62
|
remove-photo #(en: "Remove" es: "Quitar")
|
|
60
63
|
add-row #(en: "Add row" es: "Añadir fila")
|
|
61
64
|
remove-row #(en: "Remove row" es: "Quitar fila")
|
|
65
|
+
leave-unsaved #(en: "Leave without saving?" es: "¿Salir sin guardar?")
|
|
66
|
+
leave #(en: "Leave" es: "Salir")
|
|
67
|
+
stay #(en: "Stay" es: "Quedarse")
|
|
62
68
|
bold #(en: "Bold" es: "Negrita")
|
|
63
69
|
italic #(en: "Italic" es: "Cursiva")
|
|
64
70
|
heading #(en: "Heading" es: "Título")
|