@newtone-dev/ui-react-web 0.43.0 → 0.45.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/dist/app-frame/app-frame.css +36 -92
- package/dist/app-frame/control/control.d.ts +1 -0
- package/dist/app-frame/control/control.d.ts.map +1 -1
- package/dist/app-frame/control/control.js +3 -2
- package/dist/app-frame/control/control.js.map +1 -1
- package/dist/app-frame/launcher/launcher.d.ts +6 -2
- package/dist/app-frame/launcher/launcher.d.ts.map +1 -1
- package/dist/app-frame/launcher/launcher.js +12 -11
- package/dist/app-frame/launcher/launcher.js.map +1 -1
- package/dist/app-frame/main-menu/main-menu.js +7 -3
- package/dist/app-frame/main-menu/main-menu.js.map +1 -1
- package/dist/app-frame/menu/menu.d.ts +1 -0
- package/dist/app-frame/menu/menu.d.ts.map +1 -1
- package/dist/app-frame/menu/menu.js +3 -1
- package/dist/app-frame/menu/menu.js.map +1 -1
- package/dist/app-frame/parts.d.ts +7 -1
- package/dist/app-frame/parts.d.ts.map +1 -1
- package/dist/app-frame/parts.js +14 -5
- package/dist/app-frame/parts.js.map +1 -1
- package/dist/ask-button/ask-button.css +43 -0
- package/dist/ask-button/ask-button.d.ts +24 -0
- package/dist/ask-button/ask-button.d.ts.map +1 -0
- package/dist/ask-button/ask-button.js +19 -0
- package/dist/ask-button/ask-button.js.map +1 -0
- package/dist/ask-button/index.d.ts +3 -0
- package/dist/ask-button/index.d.ts.map +1 -0
- package/dist/ask-button/index.js +2 -0
- package/dist/ask-button/index.js.map +1 -0
- package/dist/badge/badge.css +44 -0
- package/dist/badge/badge.d.ts +16 -0
- package/dist/badge/badge.d.ts.map +1 -0
- package/dist/badge/badge.js +15 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/badge/index.d.ts +3 -0
- package/dist/badge/index.d.ts.map +1 -0
- package/dist/badge/index.js +2 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/below/below.css +8 -10
- package/dist/below/below.d.ts +3 -4
- package/dist/below/below.d.ts.map +1 -1
- package/dist/below/below.js +10 -52
- package/dist/below/below.js.map +1 -1
- package/dist/below/grip.d.ts +20 -0
- package/dist/below/grip.d.ts.map +1 -0
- package/dist/below/grip.js +78 -0
- package/dist/below/grip.js.map +1 -0
- package/dist/button/button.css +14 -4
- package/dist/button/button.d.ts +12 -1
- package/dist/button/button.d.ts.map +1 -1
- package/dist/button/button.js +49 -3
- package/dist/button/button.js.map +1 -1
- package/dist/canvas/box/box.d.ts +9 -2
- package/dist/canvas/box/box.d.ts.map +1 -1
- package/dist/canvas/box/box.js +2 -2
- package/dist/canvas/box/box.js.map +1 -1
- package/dist/canvas/canvas.css +114 -28
- package/dist/canvas/canvas.d.ts +9 -2
- package/dist/canvas/canvas.d.ts.map +1 -1
- package/dist/canvas/canvas.js +19 -6
- package/dist/canvas/canvas.js.map +1 -1
- package/dist/canvas/cells/cells.d.ts +15 -4
- package/dist/canvas/cells/cells.d.ts.map +1 -1
- package/dist/canvas/cells/cells.js +25 -10
- package/dist/canvas/cells/cells.js.map +1 -1
- package/dist/canvas/cells/grid.d.ts +40 -2
- package/dist/canvas/cells/grid.d.ts.map +1 -1
- package/dist/canvas/cells/grid.js +101 -6
- package/dist/canvas/cells/grid.js.map +1 -1
- package/dist/canvas/dock/dock.d.ts +6 -1
- package/dist/canvas/dock/dock.d.ts.map +1 -1
- package/dist/canvas/dock/dock.js +19 -3
- package/dist/canvas/dock/dock.js.map +1 -1
- package/dist/canvas/frame/frame.d.ts.map +1 -1
- package/dist/canvas/frame/frame.js +1 -7
- package/dist/canvas/frame/frame.js.map +1 -1
- package/dist/canvas/index.d.ts +2 -1
- package/dist/canvas/index.d.ts.map +1 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/canvas/insert/insert.d.ts +18 -0
- package/dist/canvas/insert/insert.d.ts.map +1 -0
- package/dist/canvas/insert/insert.js +40 -0
- package/dist/canvas/insert/insert.js.map +1 -0
- package/dist/canvas/pin/pin.d.ts.map +1 -1
- package/dist/canvas/pin/pin.js +2 -1
- package/dist/canvas/pin/pin.js.map +1 -1
- package/dist/chat/chat.css +2 -7
- package/dist/chat/chat.d.ts +5 -3
- package/dist/chat/chat.d.ts.map +1 -1
- package/dist/chat/chat.js +17 -24
- package/dist/chat/chat.js.map +1 -1
- package/dist/data-grid/data-grid.css +128 -0
- package/dist/data-grid/data-grid.d.ts +45 -0
- package/dist/data-grid/data-grid.d.ts.map +1 -0
- package/dist/data-grid/data-grid.js +50 -0
- package/dist/data-grid/data-grid.js.map +1 -0
- package/dist/data-grid/index.d.ts +3 -0
- package/dist/data-grid/index.d.ts.map +1 -0
- package/dist/data-grid/index.js +2 -0
- package/dist/data-grid/index.js.map +1 -0
- package/dist/discover/discover.css +60 -0
- package/dist/discover/discover.d.ts +33 -0
- package/dist/discover/discover.d.ts.map +1 -0
- package/dist/discover/discover.js +13 -0
- package/dist/discover/discover.js.map +1 -0
- package/dist/discover/index.d.ts +4 -0
- package/dist/discover/index.d.ts.map +1 -0
- package/dist/discover/index.js +3 -0
- package/dist/discover/index.js.map +1 -0
- package/dist/file-grid/file-grid.css +5 -0
- package/dist/file-grid/file-grid.d.ts +10 -3
- package/dist/file-grid/file-grid.d.ts.map +1 -1
- package/dist/file-grid/file-grid.js +6 -5
- package/dist/file-grid/file-grid.js.map +1 -1
- package/dist/floating-bar/floating-bar.css +104 -17
- package/dist/floating-bar/floating-bar.d.ts +21 -2
- package/dist/floating-bar/floating-bar.d.ts.map +1 -1
- package/dist/floating-bar/floating-bar.js +53 -47
- package/dist/floating-bar/floating-bar.js.map +1 -1
- package/dist/font-picker/font-picker.css +41 -0
- package/dist/font-picker/font-picker.d.ts +59 -0
- package/dist/font-picker/font-picker.d.ts.map +1 -0
- package/dist/font-picker/font-picker.js +155 -0
- package/dist/font-picker/font-picker.js.map +1 -0
- package/dist/font-picker/index.d.ts +3 -0
- package/dist/font-picker/index.d.ts.map +1 -0
- package/dist/font-picker/index.js +2 -0
- package/dist/font-picker/index.js.map +1 -0
- package/dist/hint/hint.css +51 -0
- package/dist/hint/hint.d.ts +33 -0
- package/dist/hint/hint.d.ts.map +1 -0
- package/dist/hint/hint.js +80 -0
- package/dist/hint/hint.js.map +1 -0
- package/dist/hint/index.d.ts +4 -0
- package/dist/hint/index.d.ts.map +1 -0
- package/dist/hint/index.js +3 -0
- package/dist/hint/index.js.map +1 -0
- package/dist/icon/glyphs.d.ts +18 -0
- package/dist/icon/glyphs.d.ts.map +1 -0
- package/dist/icon/glyphs.js +17 -0
- package/dist/icon/glyphs.js.map +1 -0
- package/dist/icon/index.d.ts +2 -0
- package/dist/icon/index.d.ts.map +1 -1
- package/dist/icon/index.js +1 -0
- package/dist/icon/index.js.map +1 -1
- package/dist/index.d.ts +44 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/inspector/index.d.ts +1 -1
- package/dist/inspector/index.d.ts.map +1 -1
- package/dist/inspector/inspector.css +197 -2
- package/dist/inspector/inspector.d.ts +83 -5
- package/dist/inspector/inspector.d.ts.map +1 -1
- package/dist/inspector/inspector.js +41 -8
- package/dist/inspector/inspector.js.map +1 -1
- package/dist/look-picker/index.d.ts +3 -0
- package/dist/look-picker/index.d.ts.map +1 -0
- package/dist/look-picker/index.js +2 -0
- package/dist/look-picker/index.js.map +1 -0
- package/dist/look-picker/look-picker.css +150 -0
- package/dist/look-picker/look-picker.d.ts +72 -0
- package/dist/look-picker/look-picker.d.ts.map +1 -0
- package/dist/look-picker/look-picker.js +91 -0
- package/dist/look-picker/look-picker.js.map +1 -0
- package/dist/look-thumb/index.d.ts +3 -0
- package/dist/look-thumb/index.d.ts.map +1 -0
- package/dist/look-thumb/index.js +2 -0
- package/dist/look-thumb/index.js.map +1 -0
- package/dist/look-thumb/look-thumb.css +7 -0
- package/dist/look-thumb/look-thumb.d.ts +27 -0
- package/dist/look-thumb/look-thumb.d.ts.map +1 -0
- package/dist/look-thumb/look-thumb.js +15 -0
- package/dist/look-thumb/look-thumb.js.map +1 -0
- package/dist/material/index.d.ts +3 -0
- package/dist/material/index.d.ts.map +1 -0
- package/dist/material/index.js +2 -0
- package/dist/material/index.js.map +1 -0
- package/dist/material/material.css +371 -0
- package/dist/material/material.d.ts +43 -0
- package/dist/material/material.d.ts.map +1 -0
- package/dist/material/material.js +27 -0
- package/dist/material/material.js.map +1 -0
- package/dist/number-field/number-field.css +21 -0
- package/dist/number-field/number-field.d.ts +24 -3
- package/dist/number-field/number-field.d.ts.map +1 -1
- package/dist/number-field/number-field.js +52 -9
- package/dist/number-field/number-field.js.map +1 -1
- package/dist/on-media/on-media.css +6 -6
- package/dist/page-editor/page-editor.css +2 -6
- package/dist/picker/picker.css +42 -0
- package/dist/picker/picker.d.ts +10 -1
- package/dist/picker/picker.d.ts.map +1 -1
- package/dist/picker/picker.js +40 -5
- package/dist/picker/picker.js.map +1 -1
- package/dist/pop-menu/index.d.ts +7 -0
- package/dist/pop-menu/index.d.ts.map +1 -0
- package/dist/pop-menu/index.js +6 -0
- package/dist/pop-menu/index.js.map +1 -0
- package/dist/{floating-bar/menu.d.ts → pop-menu/pop-menu.d.ts} +8 -2
- package/dist/pop-menu/pop-menu.d.ts.map +1 -0
- package/dist/{floating-bar/menu.js → pop-menu/pop-menu.js} +39 -11
- package/dist/pop-menu/pop-menu.js.map +1 -0
- package/dist/prompt-field/index.d.ts +3 -0
- package/dist/prompt-field/index.d.ts.map +1 -0
- package/dist/prompt-field/index.js +2 -0
- package/dist/prompt-field/index.js.map +1 -0
- package/dist/prompt-field/prompt-field.css +203 -0
- package/dist/prompt-field/prompt-field.d.ts +72 -0
- package/dist/prompt-field/prompt-field.d.ts.map +1 -0
- package/dist/prompt-field/prompt-field.js +91 -0
- package/dist/prompt-field/prompt-field.js.map +1 -0
- package/dist/quick-action/index.d.ts +1 -1
- package/dist/quick-action/index.d.ts.map +1 -1
- package/dist/quick-action/quick-action.css +60 -17
- package/dist/quick-action/quick-action.d.ts +34 -28
- package/dist/quick-action/quick-action.d.ts.map +1 -1
- package/dist/quick-action/quick-action.js +25 -21
- package/dist/quick-action/quick-action.js.map +1 -1
- package/dist/row-list/row-list.css +3 -0
- package/dist/seed-color-field/index.d.ts +3 -0
- package/dist/seed-color-field/index.d.ts.map +1 -0
- package/dist/seed-color-field/index.js +2 -0
- package/dist/seed-color-field/index.js.map +1 -0
- package/dist/seed-color-field/seed-color-field.css +103 -0
- package/dist/seed-color-field/seed-color-field.d.ts +45 -0
- package/dist/seed-color-field/seed-color-field.d.ts.map +1 -0
- package/dist/seed-color-field/seed-color-field.js +130 -0
- package/dist/seed-color-field/seed-color-field.js.map +1 -0
- package/dist/seed-dark-limit-field/index.d.ts +3 -0
- package/dist/seed-dark-limit-field/index.d.ts.map +1 -0
- package/dist/seed-dark-limit-field/index.js +2 -0
- package/dist/seed-dark-limit-field/index.js.map +1 -0
- package/dist/seed-dark-limit-field/seed-dark-limit-field.css +10 -0
- package/dist/seed-dark-limit-field/seed-dark-limit-field.d.ts +36 -0
- package/dist/seed-dark-limit-field/seed-dark-limit-field.d.ts.map +1 -0
- package/dist/seed-dark-limit-field/seed-dark-limit-field.js +18 -0
- package/dist/seed-dark-limit-field/seed-dark-limit-field.js.map +1 -0
- package/dist/seed-roundness-field/index.d.ts +3 -0
- package/dist/seed-roundness-field/index.d.ts.map +1 -0
- package/dist/seed-roundness-field/index.js +2 -0
- package/dist/seed-roundness-field/index.js.map +1 -0
- package/dist/seed-roundness-field/seed-roundness-field.css +23 -0
- package/dist/seed-roundness-field/seed-roundness-field.d.ts +39 -0
- package/dist/seed-roundness-field/seed-roundness-field.d.ts.map +1 -0
- package/dist/seed-roundness-field/seed-roundness-field.js +15 -0
- package/dist/seed-roundness-field/seed-roundness-field.js.map +1 -0
- package/dist/seed-steps/index.d.ts +8 -0
- package/dist/seed-steps/index.d.ts.map +1 -0
- package/dist/seed-steps/index.js +7 -0
- package/dist/seed-steps/index.js.map +1 -0
- package/dist/seed-steps/reset-focus.d.ts +16 -0
- package/dist/seed-steps/reset-focus.d.ts.map +1 -0
- package/dist/seed-steps/reset-focus.js +53 -0
- package/dist/seed-steps/reset-focus.js.map +1 -0
- package/dist/seed-steps/seed-steps.css +83 -0
- package/dist/seed-steps/seed-steps.d.ts +47 -0
- package/dist/seed-steps/seed-steps.d.ts.map +1 -0
- package/dist/seed-steps/seed-steps.js +95 -0
- package/dist/seed-steps/seed-steps.js.map +1 -0
- package/dist/shell/shell.css +1 -13
- package/dist/skeleton/index.d.ts +3 -0
- package/dist/skeleton/index.d.ts.map +1 -0
- package/dist/skeleton/index.js +2 -0
- package/dist/skeleton/index.js.map +1 -0
- package/dist/skeleton/skeleton.css +84 -0
- package/dist/skeleton/skeleton.d.ts +50 -0
- package/dist/skeleton/skeleton.d.ts.map +1 -0
- package/dist/skeleton/skeleton.js +25 -0
- package/dist/skeleton/skeleton.js.map +1 -0
- package/dist/slide-list/index.d.ts +1 -1
- package/dist/slide-list/index.d.ts.map +1 -1
- package/dist/slide-list/slide-list.css +281 -23
- package/dist/slide-list/slide-list.d.ts +87 -1
- package/dist/slide-list/slide-list.d.ts.map +1 -1
- package/dist/slide-list/slide-list.js +265 -19
- package/dist/slide-list/slide-list.js.map +1 -1
- package/dist/split/split.css +10 -12
- package/dist/split/split.d.ts +2 -0
- package/dist/split/split.d.ts.map +1 -1
- package/dist/split/split.js +21 -3
- package/dist/split/split.js.map +1 -1
- package/dist/stage/stage.d.ts +11 -4
- package/dist/stage/stage.d.ts.map +1 -1
- package/dist/stage/stage.js +30 -9
- package/dist/stage/stage.js.map +1 -1
- package/dist/step-list/index.d.ts +3 -0
- package/dist/step-list/index.d.ts.map +1 -0
- package/dist/step-list/index.js +2 -0
- package/dist/step-list/index.js.map +1 -0
- package/dist/step-list/step-list.css +151 -0
- package/dist/step-list/step-list.d.ts +101 -0
- package/dist/step-list/step-list.d.ts.map +1 -0
- package/dist/step-list/step-list.js +76 -0
- package/dist/step-list/step-list.js.map +1 -0
- package/dist/suggestion/index.d.ts +3 -0
- package/dist/suggestion/index.d.ts.map +1 -0
- package/dist/suggestion/index.js +2 -0
- package/dist/suggestion/index.js.map +1 -0
- package/dist/suggestion/suggestion.css +45 -0
- package/dist/suggestion/suggestion.d.ts +23 -0
- package/dist/suggestion/suggestion.d.ts.map +1 -0
- package/dist/suggestion/suggestion.js +45 -0
- package/dist/suggestion/suggestion.js.map +1 -0
- package/dist/switch/switch.css +1 -6
- package/dist/text-field/text-field.css +11 -2
- package/dist/thread/thread.css +9 -49
- package/dist/thread/thread.d.ts.map +1 -1
- package/dist/thread/thread.js +45 -46
- package/dist/thread/thread.js.map +1 -1
- package/dist/tile-picker/index.d.ts +1 -1
- package/dist/tile-picker/index.d.ts.map +1 -1
- package/dist/tile-picker/tile-picker.css +74 -10
- package/dist/tile-picker/tile-picker.d.ts +74 -7
- package/dist/tile-picker/tile-picker.d.ts.map +1 -1
- package/dist/tile-picker/tile-picker.js +82 -35
- package/dist/tile-picker/tile-picker.js.map +1 -1
- package/dist/tile-search/index.d.ts +7 -0
- package/dist/tile-search/index.d.ts.map +1 -0
- package/dist/tile-search/index.js +7 -0
- package/dist/tile-search/index.js.map +1 -0
- package/dist/tile-search/narrow.d.ts +22 -0
- package/dist/tile-search/narrow.d.ts.map +1 -0
- package/dist/tile-search/narrow.js +62 -0
- package/dist/tile-search/narrow.js.map +1 -0
- package/dist/tile-search/search-box.d.ts +19 -0
- package/dist/tile-search/search-box.d.ts.map +1 -0
- package/dist/tile-search/search-box.js +47 -0
- package/dist/tile-search/search-box.js.map +1 -0
- package/dist/tooltip/tooltip.css +13 -20
- package/dist/tooltip/tooltip.d.ts +2 -2
- package/dist/tooltip/tooltip.d.ts.map +1 -1
- package/dist/tooltip/tooltip.js +15 -2
- package/dist/tooltip/tooltip.js.map +1 -1
- package/dist/workbench/workbench.css +129 -16
- package/dist/workbench/workbench.d.ts +10 -2
- package/dist/workbench/workbench.d.ts.map +1 -1
- package/dist/workbench/workbench.js +8 -2
- package/dist/workbench/workbench.js.map +1 -1
- package/package.json +81 -1
- package/dist/floating-bar/menu.d.ts.map +0 -1
- package/dist/floating-bar/menu.js.map +0 -1
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* 16:9 a slide's picture, as wide as the row less its number (2ch, room for two digits) and space.2
|
|
6
6
|
* 2px the ring round a chosen picture, the landing hairline, the outline of a header landed inside
|
|
7
7
|
* 0.4 the opacity of a hidden slide's picture, and of what is being dragged, so where it goes reads over it */
|
|
8
|
+
/* A slide's count is a Badge (Joshua 2026-11-11), whose sheet comes with this one. */
|
|
9
|
+
@import '../badge/badge.css';
|
|
10
|
+
|
|
8
11
|
.newtone-slide-list {
|
|
9
12
|
display: flex;
|
|
10
13
|
flex-direction: column;
|
|
@@ -12,9 +15,17 @@
|
|
|
12
15
|
user-select: none;
|
|
13
16
|
}
|
|
14
17
|
.newtone-slide-list-rows {
|
|
18
|
+
--_rows-gap: var(--newtone-space-1);
|
|
19
|
+
/* The tint of a section landed in sits under its rows (z-index -1), never under the panel. */
|
|
20
|
+
isolation: isolate;
|
|
15
21
|
display: flex;
|
|
16
22
|
flex-direction: column;
|
|
17
|
-
gap: var(--
|
|
23
|
+
gap: var(--_rows-gap);
|
|
24
|
+
}
|
|
25
|
+
/* With pictures (Joshua 2026-11-09): as far apart as a picture is from the panel's end, 20px: space.3 here and each
|
|
26
|
+
* row's space.1 either side. */
|
|
27
|
+
.newtone-slide-list:not([data-narrow]) .newtone-slide-list-rows {
|
|
28
|
+
--_rows-gap: var(--newtone-space-3);
|
|
18
29
|
}
|
|
19
30
|
.newtone-slide-list-section,
|
|
20
31
|
.newtone-slide-list-slide {
|
|
@@ -39,6 +50,11 @@
|
|
|
39
50
|
gap: var(--newtone-space-2);
|
|
40
51
|
padding: var(--newtone-space-1);
|
|
41
52
|
}
|
|
53
|
+
/* Named, not numbered (Joshua 2026-11-11): the picture as far from the panel's start as from where the panel ends, its
|
|
54
|
+
* scrollbar's room included: the panel's space.2 and space.3 here, as space.2 and the 12px track at its end. */
|
|
55
|
+
.newtone-slide-list-slide:where([data-caption='name']) {
|
|
56
|
+
padding-inline-start: var(--newtone-space-3);
|
|
57
|
+
}
|
|
42
58
|
.newtone-slide-list-slide:where([data-in-section]) {
|
|
43
59
|
padding-inline-start: var(--newtone-space-4);
|
|
44
60
|
}
|
|
@@ -57,6 +73,14 @@
|
|
|
57
73
|
.newtone-slide-list-slide:where([data-moving]) {
|
|
58
74
|
opacity: 0.4;
|
|
59
75
|
}
|
|
76
|
+
/* Option held (2026-11-09): copies are dragged, so the slides stay as they are, and the pointer says copy. */
|
|
77
|
+
.newtone-slide-list:where([data-copying]),
|
|
78
|
+
.newtone-slide-list:where([data-copying]) * {
|
|
79
|
+
cursor: copy;
|
|
80
|
+
}
|
|
81
|
+
.newtone-slide-list:where([data-copying]) .newtone-slide-list-slide:where([data-moving]) {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
60
84
|
.newtone-slide-list-section:where([data-landing]) {
|
|
61
85
|
box-shadow: inset 0 0 0 2px var(--newtone-role-text-accent);
|
|
62
86
|
}
|
|
@@ -69,13 +93,41 @@
|
|
|
69
93
|
background: var(--newtone-role-text-accent);
|
|
70
94
|
pointer-events: none;
|
|
71
95
|
}
|
|
96
|
+
/* Inside a section or not (2026-11-11): landing in a named section tints all of it, header to last slide, and the line
|
|
97
|
+
* starts where its slides are inset; at the first level the line runs the list's whole width and nothing is tinted. */
|
|
98
|
+
.newtone-slide-list-section:where([data-line-level='section'])::after,
|
|
99
|
+
.newtone-slide-list-slide:where([data-line-level='section'])::after {
|
|
100
|
+
inset-inline-start: var(--newtone-space-4);
|
|
101
|
+
}
|
|
102
|
+
.newtone-slide-list-section:where([data-landing-in])::before,
|
|
103
|
+
.newtone-slide-list-slide:where([data-landing-in])::before {
|
|
104
|
+
content: '';
|
|
105
|
+
position: absolute;
|
|
106
|
+
z-index: -1;
|
|
107
|
+
inset-inline: 0;
|
|
108
|
+
inset-block: calc(var(--_rows-gap) / -2);
|
|
109
|
+
background: var(--newtone-selection-fill);
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
}
|
|
112
|
+
.newtone-slide-list-section:where([data-landing-in='first'], [data-landing-in='only'])::before,
|
|
113
|
+
.newtone-slide-list-slide:where([data-landing-in='first'], [data-landing-in='only'])::before {
|
|
114
|
+
inset-block-start: 0;
|
|
115
|
+
border-start-start-radius: var(--newtone-radius-sm);
|
|
116
|
+
border-start-end-radius: var(--newtone-radius-sm);
|
|
117
|
+
}
|
|
118
|
+
.newtone-slide-list-section:where([data-landing-in='last'], [data-landing-in='only'])::before,
|
|
119
|
+
.newtone-slide-list-slide:where([data-landing-in='last'], [data-landing-in='only'])::before {
|
|
120
|
+
inset-block-end: 0;
|
|
121
|
+
border-end-start-radius: var(--newtone-radius-sm);
|
|
122
|
+
border-end-end-radius: var(--newtone-radius-sm);
|
|
123
|
+
}
|
|
72
124
|
.newtone-slide-list-section:where([data-line='before'])::after,
|
|
73
125
|
.newtone-slide-list-slide:where([data-line='before'])::after {
|
|
74
|
-
inset-block-start: -
|
|
126
|
+
inset-block-start: calc(var(--_rows-gap) / -2 - 1px);
|
|
75
127
|
}
|
|
76
128
|
.newtone-slide-list-section:where([data-line='after'])::after,
|
|
77
129
|
.newtone-slide-list-slide:where([data-line='after'])::after {
|
|
78
|
-
inset-block-end: -
|
|
130
|
+
inset-block-end: calc(var(--_rows-gap) / -2 - 1px);
|
|
79
131
|
}
|
|
80
132
|
.newtone-slide-list-name {
|
|
81
133
|
flex: 1;
|
|
@@ -100,7 +152,7 @@
|
|
|
100
152
|
}
|
|
101
153
|
.newtone-slide-list-thumb {
|
|
102
154
|
display: block;
|
|
103
|
-
aspect-ratio: 16 / 9;
|
|
155
|
+
aspect-ratio: var(--newtone-slide-list-ratio, 16 / 9);
|
|
104
156
|
overflow: hidden;
|
|
105
157
|
background: var(--newtone-role-surface-primary);
|
|
106
158
|
border: 1px solid var(--newtone-role-divider-secondary);
|
|
@@ -122,25 +174,23 @@
|
|
|
122
174
|
inset-block-end: var(--newtone-space-1);
|
|
123
175
|
inset-inline-start: var(--newtone-space-1);
|
|
124
176
|
}
|
|
125
|
-
/* A slide's count (2026-11-08): its open comments, on the thumbnail's top end corner
|
|
126
|
-
.
|
|
127
|
-
|
|
128
|
-
inset
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
block-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
line-height: 1;
|
|
143
|
-
font-weight: 600;
|
|
177
|
+
/* A slide's count (2026-11-08), a Badge since 2026-11-11: its open comments, on the thumbnail's top end corner, its
|
|
178
|
+
* centre space.1 in from it, ringed in the list's ground (the secondary surface). */
|
|
179
|
+
.newtone-slide-list-picture {
|
|
180
|
+
--_badge-inset: var(--newtone-space-1);
|
|
181
|
+
--_badge-ring: var(--newtone-role-surface-secondary);
|
|
182
|
+
}
|
|
183
|
+
/* Named, not numbered (2026-11-11, a list of templates): the name under the picture, one line; renamed in place. */
|
|
184
|
+
.newtone-slide-list-caption {
|
|
185
|
+
display: block;
|
|
186
|
+
margin-block-start: var(--newtone-space-1);
|
|
187
|
+
overflow: hidden;
|
|
188
|
+
text-overflow: ellipsis;
|
|
189
|
+
white-space: nowrap;
|
|
190
|
+
}
|
|
191
|
+
.newtone-slide-list-caption:where([data-renaming]) {
|
|
192
|
+
display: flex;
|
|
193
|
+
overflow: visible;
|
|
144
194
|
}
|
|
145
195
|
.newtone-slide-list-renaming {
|
|
146
196
|
position: absolute;
|
|
@@ -238,3 +288,211 @@
|
|
|
238
288
|
.newtone-slide-list-people .newtone-faces-face {
|
|
239
289
|
box-shadow: 0 0 0 2px var(--newtone-role-surface-secondary);
|
|
240
290
|
}
|
|
291
|
+
|
|
292
|
+
/* The gap under a slide (2026-11-09, `onInsert`): the 20px between two pictures. A slide pointed at shows a dot in
|
|
293
|
+
* the gaps over and under it, drawn out toward a line as the pointer nears that edge (from 48px, set in slide-list.tsx);
|
|
294
|
+
* the gap pointed at shows the whole line; held there 500ms, the line grows into the + (Joshua 2026-11-09: it becomes the button, it does not stay behind it), whose menu adds a slide or a
|
|
295
|
+
* section there.
|
|
296
|
+
* 20px the gap itself: from under the picture to the next one's top (the rows' gap and a row's padding either side)
|
|
297
|
+
* 10px more reach either side (Joshua 2026-11-10): the gap takes the picture's edge over and under it too, 40px in
|
|
298
|
+
* all, so it is easier to point at; its middle stays where it was
|
|
299
|
+
* 4px the dot, and the line's thickness: the line rounded, 28px wide (the +'s width), centred
|
|
300
|
+
* 28px the +, round, accent filled: what the line grows into
|
|
301
|
+
* 500ms how long the pointer stays before it grows; 160ms the growing, then the + shows on it
|
|
302
|
+
* 40px the gap as it grows (Joshua 2026-11-09): the slides part, making room for what may come there, and the
|
|
303
|
+
* + clears the ring round a chosen slide either side */
|
|
304
|
+
.newtone-slide-list-gap {
|
|
305
|
+
position: absolute;
|
|
306
|
+
inset-inline: 0;
|
|
307
|
+
inset-block-start: calc(100% - 10px);
|
|
308
|
+
block-size: calc(var(--_rows-gap) + 2 * var(--newtone-space-1) + 20px);
|
|
309
|
+
z-index: 2;
|
|
310
|
+
cursor: default;
|
|
311
|
+
transition: block-size 120ms ease;
|
|
312
|
+
}
|
|
313
|
+
/* As the line becomes the +, the slides part to 40px: the slide over the gap takes 20px more under it. */
|
|
314
|
+
.newtone-slide-list-slide {
|
|
315
|
+
transition: margin-block-end 120ms ease;
|
|
316
|
+
}
|
|
317
|
+
.newtone-slide-list-slide:has(.newtone-slide-list-gap:hover) {
|
|
318
|
+
margin-block-end: 20px;
|
|
319
|
+
transition: margin-block-end 160ms ease 500ms;
|
|
320
|
+
}
|
|
321
|
+
.newtone-slide-list-gap:hover {
|
|
322
|
+
block-size: calc(var(--_rows-gap) + 2 * var(--newtone-space-1) + 40px);
|
|
323
|
+
transition: block-size 160ms ease 500ms;
|
|
324
|
+
}
|
|
325
|
+
.newtone-slide-list-slide:has(.newtone-slide-list-gap[data-open]) {
|
|
326
|
+
margin-block-end: 20px;
|
|
327
|
+
transition: none;
|
|
328
|
+
}
|
|
329
|
+
.newtone-slide-list-gap[data-open] {
|
|
330
|
+
block-size: calc(var(--_rows-gap) + 2 * var(--newtone-space-1) + 40px);
|
|
331
|
+
transition: none;
|
|
332
|
+
}
|
|
333
|
+
.newtone-slide-list-gap::before {
|
|
334
|
+
content: '';
|
|
335
|
+
position: absolute;
|
|
336
|
+
/* A dot, as wide as the line is thick, on the gap's middle; drawn out toward the 28px line as the pointer nears the
|
|
337
|
+
edge by it (`--_near`, 0 to 1, set as the pointer moves: Joshua 2026-11-09, so it grows rather than blinks). */
|
|
338
|
+
inset-inline: calc(50% - 2px - 12px * var(--_near, 0));
|
|
339
|
+
inset-block-start: calc(50% - 2px);
|
|
340
|
+
block-size: 4px;
|
|
341
|
+
border-radius: 999px;
|
|
342
|
+
background: var(--newtone-role-text-accent);
|
|
343
|
+
opacity: 0;
|
|
344
|
+
pointer-events: none;
|
|
345
|
+
transition:
|
|
346
|
+
opacity 120ms ease,
|
|
347
|
+
inset-inline 60ms linear,
|
|
348
|
+
inset-block-start 120ms ease,
|
|
349
|
+
block-size 120ms ease;
|
|
350
|
+
}
|
|
351
|
+
/* A slide pointed at shows the dots in the gaps over and under it (Joshua 2026-11-09), so going on to the next slide
|
|
352
|
+
* keeps the dot between them and moves only the far one: the gap under it (here), and the gap under the slide before
|
|
353
|
+
* it (that one's). */
|
|
354
|
+
.newtone-slide-list-slide:hover .newtone-slide-list-gap::before,
|
|
355
|
+
.newtone-slide-list-slide:has(+ .newtone-slide-list-slide:hover) .newtone-slide-list-gap::before {
|
|
356
|
+
opacity: 1;
|
|
357
|
+
}
|
|
358
|
+
/* The gap itself pointed at: the line, whole, and the + once the pointer has stayed. */
|
|
359
|
+
.newtone-slide-list-gap:hover::before {
|
|
360
|
+
opacity: 1;
|
|
361
|
+
/* As wide as the + it grows into (Joshua 2026-11-09): only its height grows after. */
|
|
362
|
+
inset-inline: calc(50% - 14px);
|
|
363
|
+
animation: newtone-slide-list-grow 160ms ease 500ms forwards;
|
|
364
|
+
transition:
|
|
365
|
+
opacity 120ms ease,
|
|
366
|
+
inset-inline 120ms ease;
|
|
367
|
+
}
|
|
368
|
+
@keyframes newtone-slide-list-grow {
|
|
369
|
+
to {
|
|
370
|
+
inset-inline: calc(50% - 14px);
|
|
371
|
+
inset-block-start: calc(50% - 14px);
|
|
372
|
+
block-size: 28px;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
.newtone-slide-list-gap[data-open]::before {
|
|
376
|
+
opacity: 1;
|
|
377
|
+
inset-inline: calc(50% - 14px);
|
|
378
|
+
inset-block-start: calc(50% - 14px);
|
|
379
|
+
block-size: 28px;
|
|
380
|
+
animation: none;
|
|
381
|
+
transition: none;
|
|
382
|
+
}
|
|
383
|
+
.newtone-slide-list-gap-add {
|
|
384
|
+
all: unset;
|
|
385
|
+
/* Where the line grows to: the gap's middle both ways, larger than the gap, so placed, not laid out. */
|
|
386
|
+
position: absolute;
|
|
387
|
+
inset-block-start: 50%;
|
|
388
|
+
inset-inline-start: 50%;
|
|
389
|
+
margin-block-start: -14px;
|
|
390
|
+
margin-inline-start: -14px;
|
|
391
|
+
display: grid;
|
|
392
|
+
place-items: center;
|
|
393
|
+
inline-size: 28px;
|
|
394
|
+
block-size: 28px;
|
|
395
|
+
border-radius: 999px;
|
|
396
|
+
background: var(--newtone-role-text-accent);
|
|
397
|
+
color: var(--newtone-role-surface-primary);
|
|
398
|
+
cursor: pointer;
|
|
399
|
+
visibility: hidden;
|
|
400
|
+
opacity: 0;
|
|
401
|
+
transition: opacity 100ms ease, visibility 0s linear 100ms;
|
|
402
|
+
}
|
|
403
|
+
.newtone-slide-list-gap:hover .newtone-slide-list-gap-add {
|
|
404
|
+
visibility: visible;
|
|
405
|
+
opacity: 1;
|
|
406
|
+
transition: opacity 100ms ease 660ms, visibility 0s linear 660ms;
|
|
407
|
+
}
|
|
408
|
+
.newtone-slide-list-gap[data-open] .newtone-slide-list-gap-add {
|
|
409
|
+
visibility: visible;
|
|
410
|
+
opacity: 1;
|
|
411
|
+
transition: none;
|
|
412
|
+
}
|
|
413
|
+
.newtone-slide-list-gap-add:focus-visible {
|
|
414
|
+
outline: 2px solid var(--newtone-role-text-accent);
|
|
415
|
+
outline-offset: 2px;
|
|
416
|
+
}
|
|
417
|
+
@media (prefers-reduced-motion: reduce) {
|
|
418
|
+
.newtone-slide-list-gap,
|
|
419
|
+
.newtone-slide-list-gap:hover,
|
|
420
|
+
.newtone-slide-list-slide,
|
|
421
|
+
.newtone-slide-list-slide:has(.newtone-slide-list-gap:hover),
|
|
422
|
+
.newtone-slide-list-gap::before,
|
|
423
|
+
.newtone-slide-list-gap:hover::before,
|
|
424
|
+
.newtone-slide-list-gap-add,
|
|
425
|
+
.newtone-slide-list-gap:hover .newtone-slide-list-gap-add {
|
|
426
|
+
transition-duration: 0s;
|
|
427
|
+
}
|
|
428
|
+
.newtone-slide-list-gap:hover::before {
|
|
429
|
+
animation-duration: 0s;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/* Placing (2026-11-10, `placing`): what is being placed follows the pointer, just under and right of it, never in the
|
|
434
|
+
* way of a press. A slide is a blank picture, as wide as half a row's picture; a section is its header as a pill. While
|
|
435
|
+
* it would land nowhere it is faint; over a landing it is whole.
|
|
436
|
+
* 6rem the blank slide's width, at 16:9
|
|
437
|
+
* 12px its offset from the pointer, clear of the cursor
|
|
438
|
+
* 0.5 its opacity where it would not land */
|
|
439
|
+
.newtone-slide-list:where([data-placing]),
|
|
440
|
+
.newtone-slide-list:where([data-placing]) * {
|
|
441
|
+
cursor: copy;
|
|
442
|
+
}
|
|
443
|
+
.newtone-slide-list-ghost {
|
|
444
|
+
position: fixed;
|
|
445
|
+
z-index: 1000;
|
|
446
|
+
translate: 12px 12px;
|
|
447
|
+
pointer-events: none;
|
|
448
|
+
opacity: 0.5;
|
|
449
|
+
transition: opacity 120ms ease;
|
|
450
|
+
}
|
|
451
|
+
.newtone-slide-list-ghost[data-landing] {
|
|
452
|
+
opacity: 1;
|
|
453
|
+
}
|
|
454
|
+
.newtone-slide-list-ghost[data-what='slide'] {
|
|
455
|
+
inline-size: 6rem;
|
|
456
|
+
aspect-ratio: var(--newtone-slide-list-ratio, 16 / 9);
|
|
457
|
+
border-radius: var(--newtone-radius-sm);
|
|
458
|
+
background: var(--newtone-role-surface-primary);
|
|
459
|
+
/* Its accent ring and its shadow (close + far): material.css, the only sheet that names the shadows (Joshua 2026-11-11). */
|
|
460
|
+
}
|
|
461
|
+
.newtone-slide-list-ghost[data-what='section'] {
|
|
462
|
+
display: inline-flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
gap: var(--newtone-space-1);
|
|
465
|
+
block-size: 32px;
|
|
466
|
+
padding-inline: var(--newtone-space-2) var(--newtone-space-3);
|
|
467
|
+
border-radius: 999px;
|
|
468
|
+
background: var(--newtone-role-surface-primary);
|
|
469
|
+
color: var(--newtone-role-text-primary);
|
|
470
|
+
white-space: nowrap;
|
|
471
|
+
/* Its accent ring and its shadow (close + far): material.css, the only sheet that names the shadows (Joshua 2026-11-11). */
|
|
472
|
+
}
|
|
473
|
+
@media (prefers-reduced-motion: reduce) {
|
|
474
|
+
.newtone-slide-list-ghost {
|
|
475
|
+
transition: none;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/* A slide arriving (`arriving`, 2026-11-11): dropped in from above, as if let go over the list. It falls from 24px up,
|
|
480
|
+
* a little small and faint, settling with the reveal easing; the rows under it open its room as it is drawn. */
|
|
481
|
+
@keyframes newtone-slide-list-drop {
|
|
482
|
+
from {
|
|
483
|
+
transform: translateY(-24px) scale(0.92);
|
|
484
|
+
opacity: 0;
|
|
485
|
+
}
|
|
486
|
+
to {
|
|
487
|
+
transform: none;
|
|
488
|
+
opacity: 1;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
.newtone-slide-list-slide[data-arriving] {
|
|
492
|
+
animation: newtone-slide-list-drop calc(var(--newtone-motion-duration-reveal) / 2) var(--newtone-motion-easing-reveal) both;
|
|
493
|
+
}
|
|
494
|
+
@media (prefers-reduced-motion: reduce) {
|
|
495
|
+
.newtone-slide-list-slide[data-arriving] {
|
|
496
|
+
animation: none;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
@@ -19,18 +19,28 @@ export interface SlideListSection {
|
|
|
19
19
|
slides: SlideListSlide[];
|
|
20
20
|
folded?: boolean;
|
|
21
21
|
hidden?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Slides at the first level after the sections before it (2026-11-11, Slides: a section made of some slides leaves
|
|
24
|
+
* the ones after it where they were): no header, never folded, renamed or moved as one; `name` is not shown.
|
|
25
|
+
*/
|
|
26
|
+
bare?: boolean;
|
|
22
27
|
}
|
|
23
28
|
/** What the deck holds, top to bottom: slides before the first section, then the sections. */
|
|
24
29
|
export type SlideListItem = SlideListSlide | SlideListSection;
|
|
25
30
|
/**
|
|
26
31
|
* A move. Slides (`ids`, top to bottom) go into `section` (null: the top, before the first section), at `index` among
|
|
27
32
|
* the slides that stay there once they are taken out. A section goes to `index` among the other sections.
|
|
33
|
+
* With `copy` (Option held as they are let go, 2026-11-09), copies of the slides go there and the slides stay: `index`
|
|
34
|
+
* is then among every slide there. With `after` (2026-11-11), `section` is null and the slides go to the first level
|
|
35
|
+
* right after that section, in a run of their own (no first-level slides stood there yet).
|
|
28
36
|
*/
|
|
29
37
|
export type SlideListMove = {
|
|
30
38
|
kind: 'slides';
|
|
31
39
|
ids: string[];
|
|
32
40
|
section: string | null;
|
|
33
41
|
index: number;
|
|
42
|
+
copy?: boolean;
|
|
43
|
+
after?: string;
|
|
34
44
|
} | {
|
|
35
45
|
kind: 'section';
|
|
36
46
|
id: string;
|
|
@@ -47,6 +57,9 @@ export interface SlideListLabels {
|
|
|
47
57
|
unfold: string;
|
|
48
58
|
addSlide: string;
|
|
49
59
|
addSection: string;
|
|
60
|
+
/** In a slide's menu: "New slide", "New section". Without, `addSlide` and `addSection`. */
|
|
61
|
+
newSlide?: string;
|
|
62
|
+
newSection?: string;
|
|
50
63
|
/** A slide's number, as a screen reader hears it before its name: "Slide 3". */
|
|
51
64
|
slide: (number: number) => string;
|
|
52
65
|
/** A slide's `count`, as a screen reader hears it after its name: "2 comments". */
|
|
@@ -59,6 +72,8 @@ export interface SlideListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
|
|
|
59
72
|
label: string;
|
|
60
73
|
labels: SlideListLabels;
|
|
61
74
|
items: SlideListItem[];
|
|
75
|
+
/** The slides' proportions, width over height (2026-11-11): each thumbnail's box. 16:9 unless given. */
|
|
76
|
+
ratio?: number;
|
|
62
77
|
/** The slides chosen. */
|
|
63
78
|
chosen: string[];
|
|
64
79
|
/** `alone`: a press; `add`: with Command or Ctrl; `range`: with Shift, every slide from the last chosen to this one. */
|
|
@@ -69,16 +84,87 @@ export interface SlideListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
|
|
|
69
84
|
onFold?: (id: string, folded: boolean) => void;
|
|
70
85
|
/** A slide or a section renamed. */
|
|
71
86
|
onRename?: (id: string, name: string) => void;
|
|
87
|
+
/**
|
|
88
|
+
* A slide or a section whose name is typed into as soon as it is in the list (2026-11-11: a section just dropped).
|
|
89
|
+
* Enter or leaving keeps the name typed, Escape the one it has. Each new value starts it once.
|
|
90
|
+
*/
|
|
91
|
+
naming?: string | null;
|
|
72
92
|
onAdd?: (what: 'slide' | 'section') => void;
|
|
73
93
|
/** Which adders it shows under the list; both unless said (a list of templates has no sections); none, no row for them. */
|
|
74
94
|
adds?: readonly ('slide' | 'section')[];
|
|
95
|
+
/** What a slide's menu adds, at the top of it (2026-11-09); both unless said. */
|
|
96
|
+
menuAdds?: readonly ('slide' | 'section')[];
|
|
97
|
+
/**
|
|
98
|
+
* What labels each slide (2026-11-11): its `number` beside the picture (the default), or its `name` under it, no
|
|
99
|
+
* number (a list of templates, whose order says nothing). Narrow, `name` is the name alone.
|
|
100
|
+
*/
|
|
101
|
+
caption?: 'number' | 'name';
|
|
102
|
+
/**
|
|
103
|
+
* Something added in the gap under a slide (2026-11-09): pointed at, the gap shows an accent line; held there a
|
|
104
|
+
* moment, a + whose menu adds a slide or a section there. `after` the slide over the gap, `before` the one under it
|
|
105
|
+
* in the same section (null: none). Without it, the gaps are plain.
|
|
106
|
+
*/
|
|
107
|
+
onInsert?: (at: {
|
|
108
|
+
after: string;
|
|
109
|
+
before: string | null;
|
|
110
|
+
}, what: 'slide' | 'section') => void;
|
|
75
111
|
/** What is chosen, removed (Delete): slides, or the section whose menu it was. */
|
|
76
112
|
onRemove?: (ids: string[]) => void;
|
|
113
|
+
/**
|
|
114
|
+
* Something new being placed (2026-11-10, Slides' foot bar): a blank slide or a section follows the pointer and the
|
|
115
|
+
* landing line shows where it would go between the slides; a press there drops it (`onPlace`). Escape, or a press
|
|
116
|
+
* anywhere else that is not a control, gives it up (`onPlaceCancel`); a press on a control is left to that control.
|
|
117
|
+
*/
|
|
118
|
+
placing?: 'slide' | 'section' | null;
|
|
119
|
+
/**
|
|
120
|
+
* Where it was dropped: in `section` (null: the top, before the first section), at `index` among its slides,
|
|
121
|
+
* before the slide `before` (null: at that container's end). A section dropped there starts at `before`.
|
|
122
|
+
*/
|
|
123
|
+
onPlace?: (at: SlideListPlace) => void;
|
|
124
|
+
onPlaceCancel?: () => void;
|
|
125
|
+
/**
|
|
126
|
+
* Another place it may be dropped, outside the list (2026-11-11, Slides' main area): whether a point's element is
|
|
127
|
+
* in it. Over it the ghost shows it would land; a press there (not on a control in it) drops it (`onPlaceOutside`),
|
|
128
|
+
* and the consumer decides where in the deck it goes.
|
|
129
|
+
*/
|
|
130
|
+
placeOutside?: (el: Element) => boolean;
|
|
131
|
+
onPlaceOutside?: (what: 'slide' | 'section') => void;
|
|
132
|
+
/**
|
|
133
|
+
* A slide just put here from elsewhere (2026-11-11, Show: a layout published to a library): it drops in from above,
|
|
134
|
+
* once, as it is drawn; still for those who ask for less motion. The consumer clears it after.
|
|
135
|
+
*/
|
|
136
|
+
arriving?: string | null;
|
|
137
|
+
}
|
|
138
|
+
/** Where something placed was dropped (`onPlace`). */
|
|
139
|
+
export interface SlideListPlace {
|
|
140
|
+
what: 'slide' | 'section';
|
|
141
|
+
section: string | null;
|
|
142
|
+
index: number;
|
|
143
|
+
before: string | null;
|
|
144
|
+
/** At the first level right after this section (2026-11-11), where no first-level slides stood yet. */
|
|
145
|
+
after?: string;
|
|
77
146
|
}
|
|
78
147
|
/**
|
|
79
148
|
* A deck's slides in sections, top to bottom, each seen as a picture of itself: chosen, dragged to another place
|
|
80
149
|
* (slides between sections, sections with their slides), folded, hidden, renamed, added and removed. The consumer
|
|
81
150
|
* keeps the deck and is told each change. Blueprint components/slide-list.md.
|
|
82
151
|
*/
|
|
83
|
-
export declare function SlideList({ label, labels, items, chosen, onChoose, onMove, onToggle, onFold, onRename, onAdd, adds, onRemove, className, ...rest }: SlideListProps): import("react").JSX.Element;
|
|
152
|
+
export declare function SlideList({ label, labels, items, chosen, onChoose, onMove, onToggle, onFold, onRename, naming, onAdd, menuAdds, caption, onInsert, adds, onRemove, placing, onPlace, onPlaceCancel, placeOutside, onPlaceOutside, arriving, ratio, className, style, ...rest }: SlideListProps): import("react").JSX.Element;
|
|
153
|
+
export declare namespace SlideList {
|
|
154
|
+
export { SlideListLoading as Loading };
|
|
155
|
+
}
|
|
156
|
+
export interface SlideListLoadingProps {
|
|
157
|
+
/** What is arriving, said once: "Loading slides". */
|
|
158
|
+
label: string;
|
|
159
|
+
/** How many slides to draw: the deck's count when known, else a few. */
|
|
160
|
+
count?: number;
|
|
161
|
+
/** The slides' proportions, width over height: each skeleton's box, as the list's `ratio`. */
|
|
162
|
+
ratio?: number;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The list while its deck arrives (components/skeleton.md): numbered rows whose thumbnails are skeletons, where the
|
|
166
|
+
* slides will be, so nothing moves when they come.
|
|
167
|
+
*/
|
|
168
|
+
declare function SlideListLoading({ label, count, ratio }: SlideListLoadingProps): import("react").JSX.Element;
|
|
169
|
+
export {};
|
|
84
170
|
//# sourceMappingURL=slide-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-list.d.ts","sourceRoot":"","sources":["../../src/slide-list/slide-list.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAMH,KAAK,cAAc,EAInB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"slide-list.d.ts","sourceRoot":"","sources":["../../src/slide-list/slide-list.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAMH,KAAK,cAAc,EAInB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAA;AAOd,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6GAA6G;IAC7G,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qHAAqH;IACrH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;CACzB;AAED,mDAAmD;AACnD,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,8FAA8F;AAC9F,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,gBAAgB,C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