@hachej/boring-ui-kit 0.1.111 → 0.2.1
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 +1 -1
- package/README.md +255 -239
- package/THIRD_PARTY_NOTICES.md +85 -0
- package/dist/anchor-conformance.d.ts +78 -0
- package/dist/anchor-conformance.js +288 -0
- package/dist/canvas-document.d.ts +25 -0
- package/dist/canvas-document.js +141 -0
- package/dist/canvas-editor-native.d.ts +22 -0
- package/dist/canvas-editor-native.js +112 -0
- package/dist/canvas-editor.d.ts +6 -0
- package/dist/canvas-editor.js +13 -0
- package/dist/canvas-mounted.d.ts +41 -0
- package/dist/canvas-mounted.js +180 -0
- package/dist/canvas-proposals.d.ts +11 -0
- package/dist/canvas-proposals.js +45 -0
- package/dist/canvas-records.d.ts +3 -0
- package/dist/canvas-records.js +39 -0
- package/dist/canvas.d.ts +92 -0
- package/dist/canvas.js +264 -0
- package/dist/contracts.d.ts +125 -0
- package/dist/contracts.js +1 -0
- package/dist/experience-catalog.d.ts +142 -0
- package/dist/experience-catalog.js +25 -0
- package/dist/experience-compose.d.ts +83 -0
- package/dist/experience-compose.js +218 -0
- package/dist/experience-composition-schema.d.ts +29 -0
- package/dist/experience-composition-schema.js +22 -0
- package/dist/experience-document-viewer.d.ts +13 -0
- package/dist/experience-document-viewer.js +54 -0
- package/dist/experience-document.d.ts +64 -0
- package/dist/experience-document.js +234 -0
- package/dist/experience-region-text.d.ts +3 -0
- package/dist/experience-region-text.js +84 -0
- package/dist/experience-region-tree.d.ts +22 -0
- package/dist/experience-region-tree.js +50 -0
- package/dist/experience-regions.d.ts +9 -0
- package/dist/experience-regions.js +122 -0
- package/dist/experience-renderer.d.ts +16 -0
- package/dist/experience-renderer.js +37 -0
- package/dist/experience.d.ts +12 -0
- package/dist/experience.js +23 -0
- package/dist/file-tree-shadcn.d.ts +8 -0
- package/dist/file-tree-shadcn.js +14 -0
- package/dist/file-tree-view.d.ts +66 -0
- package/dist/file-tree-view.js +256 -0
- package/dist/file-tree.d.ts +57 -0
- package/dist/file-tree.js +204 -0
- package/dist/html-preview.d.ts +2 -0
- package/dist/html-preview.js +47 -0
- package/dist/html-viewer.d.ts +13 -0
- package/dist/html-viewer.js +69 -0
- package/dist/html.d.ts +21 -0
- package/dist/html.js +21 -0
- package/dist/index.d.ts +2 -472
- package/dist/index.js +1 -2671
- package/dist/markdown-editor.d.ts +28 -0
- package/dist/markdown-editor.js +230 -0
- package/dist/markdown-extensions.d.ts +16 -0
- package/dist/markdown-extensions.js +96 -0
- package/dist/markdown-icons.d.ts +244 -0
- package/dist/markdown-icons.js +32 -0
- package/dist/markdown-mounted.d.ts +63 -0
- package/dist/markdown-mounted.js +263 -0
- package/dist/markdown-parser.d.ts +4 -0
- package/dist/markdown-parser.js +33 -0
- package/dist/markdown-proposal-diff.d.ts +5 -0
- package/dist/markdown-proposal-diff.js +122 -0
- package/dist/markdown-safety.d.ts +21 -0
- package/dist/markdown-safety.js +135 -0
- package/dist/markdown.d.ts +86 -0
- package/dist/markdown.js +121 -0
- package/dist/native-chat.d.ts +150 -0
- package/dist/native-chat.js +376 -0
- package/dist/pi.d.ts +12 -0
- package/dist/pi.js +1 -0
- package/dist/public-text-buffer.d.ts +5 -0
- package/dist/public-text-buffer.js +1 -0
- package/dist/remote-chat.d.ts +76 -0
- package/dist/remote-chat.js +324 -0
- package/dist/resources.d.ts +34 -0
- package/dist/resources.js +1 -0
- package/dist/text-buffer-state.d.ts +24 -0
- package/dist/text-buffer-state.js +1 -0
- package/dist/text-buffer.d.ts +52 -0
- package/dist/text-buffer.js +315 -0
- package/dist/text-draft-controls.d.ts +9 -0
- package/dist/text-draft-controls.js +33 -0
- package/dist/text-draft-types.d.ts +111 -0
- package/dist/text-draft-types.js +1 -0
- package/dist/text-drafts.d.ts +29 -0
- package/dist/text-drafts.js +378 -0
- package/package.json +226 -58
- package/styles/file-tree.css +46 -0
- package/dist/styles.css +0 -2308
- package/dist/tokens.css +0 -155
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* shadcn/ui sidebar-11 adaptation; MIT. See ../THIRD_PARTY_NOTICES.md. */
|
|
2
|
+
[data-boring="file-tree"] {
|
|
3
|
+
color: var(--foreground, #18181b);
|
|
4
|
+
background: var(--background, #fff);
|
|
5
|
+
font: inherit;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
}
|
|
8
|
+
[data-boring="file-tree"] *, [data-boring="file-tree"] *::before, [data-boring="file-tree"] *::after { box-sizing: border-box; }
|
|
9
|
+
[data-boring="file-tree"] ul { list-style: none; }
|
|
10
|
+
[data-boring="file-tree"] button, [data-boring="file-tree"] input { font: inherit; }
|
|
11
|
+
[data-boring="file-tree"] button { cursor: pointer; }
|
|
12
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu"] { display: flex; width: 100%; min-width: 0; flex-direction: column; gap: .25rem; margin: 0; padding: .5rem; }
|
|
13
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-item"] { position: relative; border-radius: .375rem; outline: none; }
|
|
14
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-item"] > div { display: flex; align-items: center; gap: .25rem; }
|
|
15
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"] {
|
|
16
|
+
display: flex; align-items: center; gap: .5rem; flex: 1; width: 100%; min-width: 0;
|
|
17
|
+
height: 2rem; overflow: hidden; border: 0; border-radius: .375rem; padding: .5rem;
|
|
18
|
+
background: transparent; color: inherit; text-align: left; font-size: .875rem;
|
|
19
|
+
line-height: 1.25rem; outline: none; transition: width .15s, height .15s, padding .15s;
|
|
20
|
+
}
|
|
21
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"]:hover,
|
|
22
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"]:active {
|
|
23
|
+
background: var(--sidebar-accent, var(--accent, #f4f4f5));
|
|
24
|
+
color: var(--sidebar-accent-foreground, var(--accent-foreground, #18181b));
|
|
25
|
+
}
|
|
26
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"][data-active="true"] { font-weight: 500; color: var(--sidebar-accent-foreground, var(--accent-foreground, #18181b)); }
|
|
27
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"] > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
28
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"] > svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform .15s; }
|
|
29
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-item"][data-state="open"] > div > button > svg:first-child { transform: rotate(90deg); }
|
|
30
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-sub"] {
|
|
31
|
+
display: flex; min-width: 0; flex-direction: column; gap: .25rem;
|
|
32
|
+
margin: 0 .875rem; padding: .125rem .625rem; transform: translateX(1px);
|
|
33
|
+
border-left: 1px solid var(--sidebar-border, var(--border, #e4e4e7));
|
|
34
|
+
}
|
|
35
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-sub"][hidden] { display: none; }
|
|
36
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-item"]:focus-visible,
|
|
37
|
+
[data-boring="file-tree"] button:focus-visible,
|
|
38
|
+
[data-boring="file-tree"] input:focus-visible { outline: 2px solid var(--sidebar-ring, var(--ring, #71717a)); outline-offset: 2px; }
|
|
39
|
+
[data-boring="file-tree"] button:disabled { pointer-events: none; opacity: .5; }
|
|
40
|
+
[data-boring="file-tree"] > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .5rem; }
|
|
41
|
+
[data-boring="file-tree"] input[type="search"] { flex: 1; min-width: 0; padding: .375rem .5rem; border: 1px solid var(--input, #d4d4d8); border-radius: .375rem; color: inherit; background: transparent; }
|
|
42
|
+
[data-boring="file-tree"] input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
|
43
|
+
[data-boring="file-tree"] pre { max-height: 20rem; overflow: auto; white-space: pre-wrap; }
|
|
44
|
+
@media (prefers-reduced-motion: reduce) {
|
|
45
|
+
[data-boring="file-tree"] [data-slot="sidebar-menu-button"], [data-boring="file-tree"] [data-slot="sidebar-menu-button"] > svg { transition: none; }
|
|
46
|
+
}
|