@kafukatree/dsh-skill-manager 0.0.0-stage → 0.3.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 +21 -0
- package/LICENSE-lucide.txt +43 -0
- package/README.md +44 -2
- package/agent-tool.mjs +118 -0
- package/client-bridge.mjs +307 -0
- package/client-entry.mjs +131 -0
- package/client.js +6769 -0
- package/control-icon.mjs +40 -0
- package/cordis.patch.yml +4 -0
- package/design/skill-manager.pen +798 -0
- package/design.css +320 -0
- package/design.mjs +629 -0
- package/dialogs.css +460 -0
- package/dialogs.mjs +1130 -0
- package/document-link.mjs +13 -0
- package/file-actions.mjs +62 -0
- package/file-view.mjs +384 -0
- package/header-scroll.css +90 -0
- package/header-scroll.mjs +121 -0
- package/host.mjs +460 -0
- package/icon.svg +6 -0
- package/import-archive.mjs +41 -0
- package/import-commit.mjs +247 -0
- package/import-family.mjs +213 -0
- package/import-files.mjs +186 -0
- package/import-github.mjs +168 -0
- package/import-limits.mjs +10 -0
- package/import-native.mjs +79 -0
- package/imports.mjs +209 -0
- package/inventory.mjs +62 -0
- package/library.mjs +1334 -0
- package/local-families.mjs +277 -0
- package/locale/en.json +16 -0
- package/locale/zh.json +16 -0
- package/management-view.mjs +158 -0
- package/mode-view.mjs +72 -0
- package/node_modules/pend/LICENSE +23 -0
- package/node_modules/pend/README.md +41 -0
- package/node_modules/pend/index.js +55 -0
- package/node_modules/pend/package.json +18 -0
- package/node_modules/pend/test.js +137 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/yauzl/README.md +1015 -0
- package/node_modules/yauzl/crc32.js +45 -0
- package/node_modules/yauzl/fd-slicer.js +188 -0
- package/node_modules/yauzl/index.js +1096 -0
- package/node_modules/yauzl/package.json +40 -0
- package/package-files.mjs +244 -0
- package/package-view.mjs +375 -0
- package/package.css +131 -0
- package/package.json +75 -4
- package/removal.mjs +313 -0
- package/scripts/build.mjs +19 -0
- package/scripts/export-design.py +587 -0
- package/scripts/run-tests.mjs +14 -0
- package/skill-state.mjs +136 -0
- package/skills/skill-creator/SKILL.md +48 -0
- package/styles.mjs +10 -0
- package/surfaces.css +593 -0
- package/test/agent-tool.test.mjs +153 -0
- package/test/client-bridge.test.mjs +240 -0
- package/test/distribution.test.mjs +17 -0
- package/test/host.test.mjs +598 -0
- package/test/imports.test.mjs +491 -0
- package/test/inventory.test.mjs +144 -0
- package/test/library.test.mjs +785 -0
- package/test/local-families.test.mjs +220 -0
- package/test/management-view.test.mjs +102 -0
- package/test/mode-view.test.mjs +26 -0
- package/test/package-files.test.mjs +221 -0
- package/toolbar.css +228 -0
- package/typography.css +173 -0
- package/ui.css +399 -0
- package/ui.mjs +1545 -0
package/toolbar.css
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/* The Plugins page centers a 960px column inside a viewport-based gutter. Its
|
|
2
|
+
compact header breakpoint is measured inside that gutter, not at window width. */
|
|
3
|
+
.sm-ui-page[data-view="list"] {
|
|
4
|
+
--sm-page-gutter: clamp(24px, 4vw, 48px);
|
|
5
|
+
container: sm-library / inline-size;
|
|
6
|
+
max-inline-size: calc(960px + 2 * var(--sm-page-gutter));
|
|
7
|
+
padding: 0 var(--sm-page-gutter) 48px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sm-manager:has(.sm-ui-page[data-view="list"]) { background: var(--dsw-alias-bg-base, var(--sm-bg)); }
|
|
11
|
+
|
|
12
|
+
@media (max-width: 767px) {
|
|
13
|
+
.sm-ui-page[data-view="list"] { --sm-page-gutter: 20px; }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sm-ui-library > .sm-pen-header {
|
|
17
|
+
min-block-size: 0;
|
|
18
|
+
padding-block-start: 28px;
|
|
19
|
+
gap: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-platform="darwin"] .sm-ui-library > .sm-pen-header {
|
|
23
|
+
padding-block-start: calc(28px + var(--dsh-frame-top-clearance, 0px));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sm-pen-header [data-part="heading"] { flex: 0 1 auto; max-inline-size: 100%; }
|
|
27
|
+
.sm-pen-header [data-part="description"] { margin-block-start: 4px; }
|
|
28
|
+
|
|
29
|
+
.sm-pen-header [data-part="actions"] {
|
|
30
|
+
flex: 0 1 auto;
|
|
31
|
+
justify-content: flex-end;
|
|
32
|
+
gap: 8px 16px;
|
|
33
|
+
min-inline-size: 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sm-pen-header [data-part="actions"] button {
|
|
38
|
+
height: 32px;
|
|
39
|
+
min-width: 0;
|
|
40
|
+
padding: 0 12px;
|
|
41
|
+
border-radius: var(--dsw-radius-md, 12px);
|
|
42
|
+
color: var(--dsw-alias-label-primary, var(--sm-ink));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sm-pen-header [data-part="actions"] [data-pen-icon] {
|
|
46
|
+
width: 16px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sm-pen-header [data-part="actions"] svg { width: 13px; height: 13px; }
|
|
53
|
+
.sm-pen-header [data-part="actions"] [data-part$="-label"] { color: inherit; }
|
|
54
|
+
|
|
55
|
+
.sm-pen-header [data-part="actions"] [data-part="refresh"] {
|
|
56
|
+
width: 72px;
|
|
57
|
+
border: 0.5px solid transparent;
|
|
58
|
+
background: transparent;
|
|
59
|
+
box-shadow: inset 0 0 0 var(--dsh-hairline-width, 0.5px) var(--dsh-button-outline-color, var(--dsw-alias-border-l3, var(--sm-line)));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sm-pen-header [data-part="actions"] [data-part="refresh"]:where([aria-busy="true"]) { width: auto; }
|
|
63
|
+
|
|
64
|
+
.sm-pen-header [data-part="split"] { flex: none; align-items: stretch; background: transparent; }
|
|
65
|
+
|
|
66
|
+
.sm-pen-header [data-part="split"] button {
|
|
67
|
+
background: var(--dsw-alias-button-primary-fill, var(--sm-primary));
|
|
68
|
+
color: var(--dsw-alias-label-primary-foreground, var(--sm-on-primary));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.sm-pen-header [data-part="split"] [data-part="add"] {
|
|
72
|
+
width: 97px;
|
|
73
|
+
border-start-end-radius: 0;
|
|
74
|
+
border-end-end-radius: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.sm-pen-header [data-part="split"] [data-part="add-menu"] {
|
|
78
|
+
width: 32px;
|
|
79
|
+
padding: 0;
|
|
80
|
+
border-inline-start: 0.5px solid color-mix(in srgb, currentColor 30%, transparent);
|
|
81
|
+
border-start-start-radius: 0;
|
|
82
|
+
border-end-start-radius: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sm-pen-header [data-part="add-menu"] svg { width: 12px; height: 12px; }
|
|
86
|
+
.sm-pen-header [data-part="add-menu"] [data-part="divider"] { display: none; }
|
|
87
|
+
|
|
88
|
+
/* A refresh in progress keeps keyboard focus through aria-disabled. */
|
|
89
|
+
.sm-pen-header [data-part="actions"] button:is(:disabled, [aria-disabled="true"]) { opacity: .4; cursor: not-allowed; }
|
|
90
|
+
.sm-pen-header [data-part="actions"] button:focus-visible,
|
|
91
|
+
.sm-ui-tabs .sm-ui-tab:focus-visible {
|
|
92
|
+
outline: var(--dsw-focus-ring-width, 2px) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sm-pen-header [data-part="actions"] [data-part="directories"]:active:enabled {
|
|
96
|
+
background: var(--dsw-alias-interactive-bg-active, var(--sm-soft));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (hover: hover) {
|
|
100
|
+
.sm-pen-header [data-part="actions"] :is([data-part="refresh"], [data-part="directories"]):hover:enabled {
|
|
101
|
+
background: var(--dsw-alias-interactive-bg-hover, var(--sm-soft));
|
|
102
|
+
}
|
|
103
|
+
.sm-pen-header [data-part="split"] button:hover:enabled {
|
|
104
|
+
background: var(--dsw-alias-button-primary-hover, var(--sm-primary));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (hover: none) {
|
|
109
|
+
.sm-pen-header [data-part="actions"] :is([data-part="refresh"], [data-part="directories"]):hover:enabled:not(:active) { background: transparent; }
|
|
110
|
+
.sm-pen-header [data-part="split"] button:hover:enabled { background: var(--dsw-alias-button-primary-fill, var(--sm-primary)); }
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sm-pen-header [data-part="split"] [data-part="add-menu"][aria-expanded="true"] {
|
|
114
|
+
background: var(--dsw-alias-button-primary-hover, var(--sm-primary));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.sm-pen-header [data-part="actions"] [data-part="refresh"][aria-disabled="true"]:hover { background: transparent; }
|
|
118
|
+
|
|
119
|
+
/* SegmentedTabs, size sm. The Plugins view has two 120px segments; the skill
|
|
120
|
+
filters use three, keeping the same inner width and the 2px track inset. */
|
|
121
|
+
.sm-ui-tab-row { display: flex; flex: 1 1 100%; min-inline-size: 0; }
|
|
122
|
+
|
|
123
|
+
.sm-ui-tab-row .sm-ui-tabs {
|
|
124
|
+
position: relative;
|
|
125
|
+
display: grid;
|
|
126
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
127
|
+
gap: 0;
|
|
128
|
+
width: 364px;
|
|
129
|
+
max-width: 100%;
|
|
130
|
+
margin: 0;
|
|
131
|
+
padding: 2px;
|
|
132
|
+
border-radius: calc(var(--dsw-radius-md, 12px) + 2px);
|
|
133
|
+
background: var(--dsw-alias-bg-module-platform, var(--sm-soft));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sm-ui-tabs::before {
|
|
137
|
+
content: '';
|
|
138
|
+
position: absolute;
|
|
139
|
+
inset: 2px auto 2px 2px;
|
|
140
|
+
width: calc((100% - 4px) / 3);
|
|
141
|
+
border: .5px solid var(--dsw-alias-border-l3, var(--sm-line));
|
|
142
|
+
border-radius: var(--dsw-radius-md, 12px);
|
|
143
|
+
background: var(--dsw-alias-bg-layer-3, var(--sm-bg));
|
|
144
|
+
pointer-events: none;
|
|
145
|
+
transition: transform 180ms ease;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.sm-ui-tabs:has(> :nth-child(2)[aria-selected="true"])::before { transform: translateX(100%); }
|
|
149
|
+
.sm-ui-tabs:has(> :nth-child(3)[aria-selected="true"])::before { transform: translateX(200%); }
|
|
150
|
+
|
|
151
|
+
.sm-ui-tabs .sm-ui-tab {
|
|
152
|
+
position: relative;
|
|
153
|
+
min-inline-size: 0;
|
|
154
|
+
block-size: 30px;
|
|
155
|
+
padding: 0 12px;
|
|
156
|
+
border-radius: var(--dsw-radius-md, 12px);
|
|
157
|
+
corner-shape: round;
|
|
158
|
+
color: var(--dsw-alias-label-secondary, var(--sm-muted));
|
|
159
|
+
background: transparent;
|
|
160
|
+
white-space: nowrap;
|
|
161
|
+
transition: color 180ms ease;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sm-manager .sm-ui-tabs .sm-ui-tab { font-size: 14px; }
|
|
165
|
+
|
|
166
|
+
.sm-ui-tabs .sm-ui-tab[aria-selected="true"] {
|
|
167
|
+
background: transparent;
|
|
168
|
+
color: var(--dsw-alias-label-primary, var(--sm-ink));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@media (hover: hover) {
|
|
172
|
+
.sm-ui-tabs .sm-ui-tab:hover:enabled { color: var(--dsw-alias-label-primary, var(--sm-ink)); }
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.sm-ui-tabs .sm-ui-tab:focus-visible { outline-offset: -2px; }
|
|
176
|
+
|
|
177
|
+
.sm-ui-scope-filters {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-wrap: wrap;
|
|
180
|
+
gap: 8px 16px;
|
|
181
|
+
margin-block-start: 16px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.sm-ui-scope-filters label {
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: center;
|
|
187
|
+
gap: 8px;
|
|
188
|
+
min-inline-size: 0;
|
|
189
|
+
max-inline-size: 100%;
|
|
190
|
+
white-space: nowrap;
|
|
191
|
+
color: var(--sm-muted);
|
|
192
|
+
font-size: 13px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.sm-manager .sm-ui-scope-filters .sm-ui-scope-control {
|
|
196
|
+
flex: 0 1 auto;
|
|
197
|
+
min-inline-size: 0;
|
|
198
|
+
max-inline-size: min(26ch, 100%);
|
|
199
|
+
min-block-size: 32px;
|
|
200
|
+
padding-inline: 10px;
|
|
201
|
+
gap: 6px;
|
|
202
|
+
justify-content: space-between;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.sm-ui-scope-control svg { flex: none; }
|
|
206
|
+
.sm-manager .sm-ui-scope-control[aria-expanded="true"] { background: var(--sm-hover); }
|
|
207
|
+
.sm-ui-scope-control > span, .sm-ui-menu-scope .sm-ui-menu-label {
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
white-space: nowrap;
|
|
210
|
+
text-overflow: ellipsis;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@container sm-library (width < 600px) {
|
|
214
|
+
.sm-ui-library > .sm-pen-header { align-items: center; }
|
|
215
|
+
.sm-pen-header [data-part="heading"] { flex-basis: 100%; }
|
|
216
|
+
.sm-ui-tab-row { order: 1; flex: 0 1 auto; max-inline-size: 100%; }
|
|
217
|
+
.sm-pen-header [data-part="actions"] { order: 2; flex-shrink: 0; }
|
|
218
|
+
.sm-pen-header [data-part="actions"] button:not([data-part="add-menu"]) { width: 32px; min-width: 32px; padding-inline: 0; }
|
|
219
|
+
.sm-pen-header [data-part="actions"] [data-part$="-label"] { display: none; }
|
|
220
|
+
/* Let the three labels share the space left by the four icon buttons and
|
|
221
|
+
their gaps; wrap the actions only once both groups reach intrinsic size. */
|
|
222
|
+
.sm-ui-library .sm-ui-tab-row .sm-ui-tabs { width: clamp(280px, calc(100cqi - 176px), 364px); }
|
|
223
|
+
.sm-ui-library .sm-ui-tabs .sm-ui-tab { padding-inline: 3px; font-size: 13px; }
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@media (prefers-reduced-motion: reduce) {
|
|
227
|
+
.sm-ui-tabs::before, .sm-ui-tabs .sm-ui-tab { transition: none; }
|
|
228
|
+
}
|
package/typography.css
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* The native inventory fixes its control metrics and inherits the shell family.
|
|
2
|
+
The skill document follows the reading preferences for Markdown content. */
|
|
3
|
+
.sm-design.sm-manager,
|
|
4
|
+
.sm-design.sm-flow {
|
|
5
|
+
--sm-font: var(--dsw-font-family, system-ui, sans-serif);
|
|
6
|
+
--sm-font-mono: var(--ds-font-family-code, ui-monospace, monospace);
|
|
7
|
+
--sm-ui-mono: var(--sm-font-mono);
|
|
8
|
+
font: 400 14px/22px var(--sm-font);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Page, section and card headings each have their own size or line height in PluginManagerPage. */
|
|
12
|
+
.sm-design.sm-manager .sm-pen-header [data-part="title"],
|
|
13
|
+
.sm-design.sm-manager .sm-ui-heading {
|
|
14
|
+
font: 500 20px/28px var(--sm-font);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sm-manager .sm-ui-list-title {
|
|
18
|
+
font: 500 14px/22px var(--sm-font);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.sm-manager .sm-pen-row [data-part="title"],
|
|
22
|
+
.sm-manager .sm-ui-subpage h2:not(:where(.sm-document-scroll *)),
|
|
23
|
+
.sm-manager .sm-ui-dir-name strong {
|
|
24
|
+
font: 500 14px/20px var(--sm-font);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sm-manager .sm-pen-row [data-part="description"] {
|
|
28
|
+
font: 400 13px/18px var(--sm-font);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.sm-manager .sm-pen-header [data-part="description"],
|
|
32
|
+
.sm-manager .sm-pen-header button,
|
|
33
|
+
.sm-manager .sm-pen-header :is([data-part="directories-label"], [data-part="refresh-label"], [data-part="add-label"]),
|
|
34
|
+
.sm-manager .sm-ui-subtitle,
|
|
35
|
+
.sm-manager .sm-ui-dir-head .sm-ui-button,
|
|
36
|
+
.sm-manager .sm-ui-warning,
|
|
37
|
+
.sm-manager .sm-ui-menu :is(.sm-ui-menu-item, .sm-ui-menu-label),
|
|
38
|
+
.sm-manager .sm-ui-empty :is(h3, p),
|
|
39
|
+
.sm-manager .sm-ui-no-dirs {
|
|
40
|
+
font: 400 13px/20px var(--sm-font);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sm-manager .sm-ui-menu-description,
|
|
44
|
+
.sm-manager :is(.sm-ui-count, .sm-ui-scan-status, .sm-ui-row-source, .sm-ui-state-label, .sm-ui-readonly, .sm-ui-readonly-note),
|
|
45
|
+
.sm-manager .sm-ui-warnings p,
|
|
46
|
+
.sm-manager .sm-ui-form-error {
|
|
47
|
+
font: 400 12px/18px var(--sm-font);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sm-manager .sm-ui-count { font-variant-numeric: tabular-nums; }
|
|
51
|
+
|
|
52
|
+
.sm-manager .sm-ui-tab { font: 400 14px/20px var(--sm-font); }
|
|
53
|
+
.sm-manager .sm-ui-tab[aria-selected="true"] { font-weight: 500; }
|
|
54
|
+
|
|
55
|
+
.sm-manager .sm-ui-button,
|
|
56
|
+
.sm-manager .sm-ui-search .sm-ui-search-input,
|
|
57
|
+
.sm-manager .sm-ui-detail-copy .sm-ui-subtitle,
|
|
58
|
+
.sm-manager .sm-ui-dialog-head .sm-ui-subtitle,
|
|
59
|
+
.sm-manager .sm-ui-remove-copy,
|
|
60
|
+
.sm-manager .sm-ui-toast,
|
|
61
|
+
.sm-manager .sm-ui-toast .sm-ui-text-action {
|
|
62
|
+
font: 400 14px/22px var(--sm-font);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sm-manager .sm-ui-sort,
|
|
66
|
+
.sm-manager .sm-ui-text-action,
|
|
67
|
+
.sm-manager .sm-ui-dir-remove,
|
|
68
|
+
.sm-manager .sm-ui-detail-head .sm-ui-button,
|
|
69
|
+
.sm-manager .sm-ui-location .sm-ui-button {
|
|
70
|
+
font: 400 12px/18px var(--sm-font);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.sm-manager .sm-ui-back { font: 400 12.5px/normal var(--sm-font); }
|
|
74
|
+
|
|
75
|
+
/* Detail facts and directory paths share the plugin page's fact and code styles. */
|
|
76
|
+
.sm-manager .sm-ui-location-row :is(dt, dd),
|
|
77
|
+
.sm-manager .sm-ui-dir-table :is(th, td),
|
|
78
|
+
.sm-manager .sm-ui-discovered dt {
|
|
79
|
+
font: 400 13px/20px var(--sm-font);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.sm-manager .sm-ui-location-row:has(~ .sm-ui-origin) dd,
|
|
83
|
+
.sm-manager .sm-ui-dir-table td.sm-ui-dir-path,
|
|
84
|
+
.sm-manager .sm-ui-discovered dd {
|
|
85
|
+
font: 400 12px/20px var(--sm-font-mono);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sm-manager .sm-ui-badge { font: 500 11px/17px var(--sm-font); }
|
|
89
|
+
|
|
90
|
+
/* Directory dialogs and all four add-skill flows share the host Modal and Button roles. */
|
|
91
|
+
.sm-manager .sm-ui-dialog-head h2,
|
|
92
|
+
.sm-design.sm-flow .smf-head h2 {
|
|
93
|
+
font: 500 16px/24px var(--sm-font);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.sm-design.sm-flow :is(.smf-subtitle, .smf-btn) {
|
|
97
|
+
font: 400 14px/22px var(--sm-font);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.sm-manager .sm-ui-field-label,
|
|
101
|
+
.sm-manager .sm-ui-input,
|
|
102
|
+
.sm-design.sm-flow :is(.smf-label, .smf-field, .smf-brief) {
|
|
103
|
+
font: 400 13px/normal var(--sm-font);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.sm-design.sm-flow .smf-empty,
|
|
107
|
+
.sm-design.sm-flow .smf-facts :is(dt, dd, .smf-fact-name) {
|
|
108
|
+
font: 400 13px/20px var(--sm-font);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.sm-manager .sm-ui-path-input,
|
|
112
|
+
.sm-design.sm-flow .smf-field.smf-mono {
|
|
113
|
+
font-family: var(--sm-font-mono);
|
|
114
|
+
font-size: 13px;
|
|
115
|
+
line-height: normal;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sm-design.sm-flow :is(.smf-section-heading, .smf-scope-row) .smf-label,
|
|
119
|
+
.sm-design.sm-flow .smf-tree-label,
|
|
120
|
+
.sm-design.sm-flow .smf-drop-title {
|
|
121
|
+
font: 500 14px/20px var(--sm-font);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.sm-design.sm-flow .smf-item-name,
|
|
125
|
+
.sm-design.sm-flow .smf-formats dt,
|
|
126
|
+
.sm-design.sm-flow .smf-segment {
|
|
127
|
+
font: 500 13px/20px var(--sm-font);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sm-design.sm-flow .smf-item-detail,
|
|
131
|
+
.sm-design.sm-flow .smf-formats dd {
|
|
132
|
+
font: 400 12px/20px var(--sm-font);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.sm-design.sm-flow .smf-mono,
|
|
136
|
+
.sm-design.sm-flow .smf-item-detail.smf-mono,
|
|
137
|
+
.sm-design.sm-flow .smf-save-note .smf-mono,
|
|
138
|
+
.sm-design.sm-flow .smf-alert .smf-conflict-path,
|
|
139
|
+
.sm-manager .sm-ui-remove-target span {
|
|
140
|
+
font: 400 12px/18px var(--sm-font-mono);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.sm-design.sm-flow .smf-source-card .smf-item-name,
|
|
144
|
+
.sm-manager .sm-ui-remove-target strong {
|
|
145
|
+
font: 600 15px/22px var(--sm-font);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.sm-design.sm-flow .smf-small,
|
|
149
|
+
.sm-design.sm-flow :is(.smf-hint, .smf-inline-error, .smf-count, .smf-save-note, .smf-list-warnings) {
|
|
150
|
+
font: 400 12px/18px var(--sm-font);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.sm-design.sm-flow .smf-status-tag { font: 500 10px/1 var(--sm-font); }
|
|
154
|
+
.sm-design.sm-flow :is(.smf-link-btn, .smf-external) { font: 400 12.5px/normal var(--sm-font); }
|
|
155
|
+
.sm-design.sm-flow .smf-alert strong { font: 600 13px/20px var(--sm-font); }
|
|
156
|
+
.sm-design.sm-flow .smf-alert p { font: 400 12.5px/18px var(--sm-font); }
|
|
157
|
+
|
|
158
|
+
/* The running or failed operation is the wizard's status heading inside the modal. */
|
|
159
|
+
.sm-design.sm-flow[data-view="working"] .smf-loading-text,
|
|
160
|
+
.sm-design.sm-flow[data-view="error"] .smf-alert strong {
|
|
161
|
+
font: 600 18px/26px var(--sm-font);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sm-design.sm-flow[data-view="error"] .smf-alert p { font: 400 13px/20px var(--sm-font); }
|
|
165
|
+
.sm-design.sm-flow:is([data-view="working"], [data-view="error"]) .smf-footer .smf-btn {
|
|
166
|
+
font: 400 12px/18px var(--sm-font);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@media (pointer: coarse) {
|
|
170
|
+
.sm-manager .sm-ui-search .sm-ui-search-input,
|
|
171
|
+
.sm-manager .sm-ui-input,
|
|
172
|
+
.sm-design.sm-flow :is(.smf-field, .smf-field.smf-mono, .smf-brief) { font-size: 16px; }
|
|
173
|
+
}
|