@asanchez-sa/abby 0.0.0-stage → 0.1.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/README.md +217 -2
- package/dist/_virtual/_rolldown/runtime.js +26 -0
- package/dist/agents/approvals.d.ts +46 -0
- package/dist/agents/approvals.js +58 -0
- package/dist/agents/changes.d.ts +21 -0
- package/dist/agents/changes.js +21 -0
- package/dist/agents/hooks.d.ts +20 -0
- package/dist/agents/hooks.js +58 -0
- package/dist/agents/index.d.ts +11 -0
- package/dist/agents/index.js +9 -0
- package/dist/agents/run-tool.d.ts +44 -0
- package/dist/agents/run-tool.js +79 -0
- package/dist/agents/ui-sdk.d.ts +5 -0
- package/dist/agents/ui-sdk.js +3 -0
- package/dist/behaviors/canvas/index.d.ts +2 -0
- package/dist/behaviors/canvas/index.js +1 -0
- package/dist/behaviors/canvas/ui-sdk.d.ts +2 -0
- package/dist/behaviors/canvas/ui-sdk.js +1 -0
- package/dist/behaviors/drag-and-drop/index.d.ts +2 -0
- package/dist/behaviors/drag-and-drop/index.js +1 -0
- package/dist/behaviors/drag-and-drop/ui-sdk.d.ts +2 -0
- package/dist/behaviors/drag-and-drop/ui-sdk.js +1 -0
- package/dist/behaviors/dragging/index.d.ts +2 -0
- package/dist/behaviors/dragging/index.js +1 -0
- package/dist/behaviors/dragging/ui-sdk.d.ts +2 -0
- package/dist/behaviors/dragging/ui-sdk.js +1 -0
- package/dist/behaviors/focus/index.d.ts +2 -0
- package/dist/behaviors/focus/index.js +1 -0
- package/dist/behaviors/focus/ui-sdk.d.ts +2 -0
- package/dist/behaviors/focus/ui-sdk.js +1 -0
- package/dist/behaviors/lists/index.d.ts +3 -0
- package/dist/behaviors/lists/index.js +3 -0
- package/dist/behaviors/lists/ui-sdk.d.ts +3 -0
- package/dist/behaviors/lists/ui-sdk.js +3 -0
- package/dist/behaviors/popups/index.d.ts +3 -0
- package/dist/behaviors/popups/index.js +3 -0
- package/dist/behaviors/popups/ui-sdk.d.ts +3 -0
- package/dist/behaviors/popups/ui-sdk.js +3 -0
- package/dist/behaviors/preferences/index.d.ts +3 -0
- package/dist/behaviors/preferences/index.js +3 -0
- package/dist/behaviors/preferences/ui-sdk.d.ts +3 -0
- package/dist/behaviors/preferences/ui-sdk.js +3 -0
- package/dist/behaviors/selection/index.d.ts +3 -0
- package/dist/behaviors/selection/index.js +3 -0
- package/dist/behaviors/selection/indicator.d.ts +13 -0
- package/dist/behaviors/selection/indicator.js +20 -0
- package/dist/behaviors/selection/ui-sdk.d.ts +2 -0
- package/dist/behaviors/selection/ui-sdk.js +1 -0
- package/dist/behaviors/transitions/index.d.ts +3 -0
- package/dist/behaviors/transitions/index.js +3 -0
- package/dist/behaviors/transitions/ui-sdk.d.ts +3 -0
- package/dist/behaviors/transitions/ui-sdk.js +3 -0
- package/dist/behaviors/trees/index.d.ts +2 -0
- package/dist/behaviors/trees/index.js +1 -0
- package/dist/behaviors/trees/ui-sdk.d.ts +2 -0
- package/dist/behaviors/trees/ui-sdk.js +1 -0
- package/dist/components/accordion/accordion.d.ts +13 -0
- package/dist/components/accordion/accordion.js +165 -0
- package/dist/components/alert/alert.d.ts +13 -0
- package/dist/components/alert/alert.js +131 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/components/alert-dialog/alert-dialog.js +257 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +7 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +57 -0
- package/dist/components/attachment/attachment.d.ts +48 -0
- package/dist/components/attachment/attachment.js +372 -0
- package/dist/components/autocomplete/autocomplete.d.ts +32 -0
- package/dist/components/autocomplete/autocomplete.js +466 -0
- package/dist/components/avatar/avatar.d.ts +6 -0
- package/dist/components/avatar/avatar.js +100 -0
- package/dist/components/avatar-group/avatar-group.d.ts +9 -0
- package/dist/components/avatar-group/avatar-group.js +75 -0
- package/dist/components/badge/badge.d.ts +15 -0
- package/dist/components/badge/badge.js +31 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +24 -0
- package/dist/components/breadcrumb/breadcrumb.js +279 -0
- package/dist/components/bubble/bubble.d.ts +26 -0
- package/dist/components/bubble/bubble.js +173 -0
- package/dist/components/button/button.d.ts +18 -0
- package/dist/components/button/button.js +91 -0
- package/dist/components/button-group/button-group.d.ts +15 -0
- package/dist/components/button-group/button-group.js +71 -0
- package/dist/components/calendar/calendar.d.ts +29 -0
- package/dist/components/calendar/calendar.js +453 -0
- package/dist/components/card/card.d.ts +14 -0
- package/dist/components/card/card.js +213 -0
- package/dist/components/carousel/carousel.d.ts +16 -0
- package/dist/components/carousel/carousel.js +364 -0
- package/dist/components/chain-of-thought/chain-of-thought.d.ts +72 -0
- package/dist/components/chain-of-thought/chain-of-thought.js +491 -0
- package/dist/components/chat/chat.d.ts +48 -0
- package/dist/components/chat/chat.js +207 -0
- package/dist/components/checkbox/checkbox.d.ts +10 -0
- package/dist/components/checkbox/checkbox.js +118 -0
- package/dist/components/checkpoint/checkpoint.d.ts +24 -0
- package/dist/components/checkpoint/checkpoint.js +178 -0
- package/dist/components/choice-cards/choice-cards.d.ts +38 -0
- package/dist/components/choice-cards/choice-cards.js +255 -0
- package/dist/components/code-block/code-block.d.ts +58 -0
- package/dist/components/code-block/code-block.js +506 -0
- package/dist/components/code-block/highlighter.js +96 -0
- package/dist/components/code-block/use-highlighted-code.d.ts +11 -0
- package/dist/components/code-block/use-highlighted-code.js +54 -0
- package/dist/components/collapsible/collapsible.d.ts +10 -0
- package/dist/components/collapsible/collapsible.js +92 -0
- package/dist/components/color-picker/color-picker.d.ts +17 -0
- package/dist/components/color-picker/color-picker.js +395 -0
- package/dist/components/combobox/combobox.d.ts +54 -0
- package/dist/components/combobox/combobox.js +683 -0
- package/dist/components/command/command.d.ts +23 -0
- package/dist/components/command/command.js +373 -0
- package/dist/components/command-dock/command-dock.d.ts +118 -0
- package/dist/components/command-dock/command-dock.js +944 -0
- package/dist/components/confirmation/confirmation.d.ts +58 -0
- package/dist/components/confirmation/confirmation.js +181 -0
- package/dist/components/context/context.d.ts +82 -0
- package/dist/components/context/context.js +490 -0
- package/dist/components/date-input/date-input.d.ts +16 -0
- package/dist/components/date-input/date-input.js +89 -0
- package/dist/components/date-picker/date-picker.d.ts +28 -0
- package/dist/components/date-picker/date-picker.js +361 -0
- package/dist/components/dialog/dialog.d.ts +14 -0
- package/dist/components/dialog/dialog.js +261 -0
- package/dist/components/drawer/drawer.d.ts +16 -0
- package/dist/components/drawer/drawer.js +309 -0
- package/dist/components/empty/empty.d.ts +18 -0
- package/dist/components/empty/empty.js +192 -0
- package/dist/components/field/field.d.ts +15 -0
- package/dist/components/field/field.js +261 -0
- package/dist/components/file-input/file-input.d.ts +12 -0
- package/dist/components/file-input/file-input.js +216 -0
- package/dist/components/file-tree/file-tree.d.ts +45 -0
- package/dist/components/file-tree/file-tree.js +283 -0
- package/dist/components/hover-card/hover-card.d.ts +10 -0
- package/dist/components/hover-card/hover-card.js +118 -0
- package/dist/components/icon/icon.d.ts +14 -0
- package/dist/components/icon/icon.js +60 -0
- package/dist/components/image-cropper/image-cropper.d.ts +15 -0
- package/dist/components/image-cropper/image-cropper.js +334 -0
- package/dist/components/inline-citation/inline-citation.d.ts +46 -0
- package/dist/components/inline-citation/inline-citation.js +269 -0
- package/dist/components/input/input.d.ts +9 -0
- package/dist/components/input/input.js +43 -0
- package/dist/components/input-group/input-group.d.ts +42 -0
- package/dist/components/input-group/input-group.js +192 -0
- package/dist/components/item/item.d.ts +32 -0
- package/dist/components/item/item.js +394 -0
- package/dist/components/kbd/kbd.d.ts +9 -0
- package/dist/components/kbd/kbd.js +75 -0
- package/dist/components/label/label.d.ts +6 -0
- package/dist/components/label/label.js +40 -0
- package/dist/components/link/link.d.ts +21 -0
- package/dist/components/link/link.js +126 -0
- package/dist/components/listbox/listbox.d.ts +20 -0
- package/dist/components/listbox/listbox.js +199 -0
- package/dist/components/marker/marker.d.ts +11 -0
- package/dist/components/marker/marker.js +88 -0
- package/dist/components/menu/menu.d.ts +38 -0
- package/dist/components/menu/menu.js +553 -0
- package/dist/components/menubar/menubar.d.ts +9 -0
- package/dist/components/menubar/menubar.js +47 -0
- package/dist/components/message/message.d.ts +44 -0
- package/dist/components/message/message.js +328 -0
- package/dist/components/message-scroller/message-scroller.d.ts +111 -0
- package/dist/components/message-scroller/message-scroller.js +957 -0
- package/dist/components/meter/meter.d.ts +8 -0
- package/dist/components/meter/meter.js +162 -0
- package/dist/components/model-selector/model-selector.d.ts +155 -0
- package/dist/components/model-selector/model-selector.js +905 -0
- package/dist/components/native-select/native-select.d.ts +27 -0
- package/dist/components/native-select/native-select.js +226 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +29 -0
- package/dist/components/navigation-menu/navigation-menu.js +318 -0
- package/dist/components/not-label.js +9 -0
- package/dist/components/note-editor/blocks.d.ts +22 -0
- package/dist/components/note-editor/blocks.js +245 -0
- package/dist/components/note-editor/diff.d.ts +19 -0
- package/dist/components/note-editor/diff.js +64 -0
- package/dist/components/note-editor/editor.js +249 -0
- package/dist/components/note-editor/note-editor.d.ts +109 -0
- package/dist/components/note-editor/note-editor.js +954 -0
- package/dist/components/note-editor/parts/comments.d.ts +24 -0
- package/dist/components/note-editor/parts/comments.js +336 -0
- package/dist/components/note-editor/parts/header.d.ts +25 -0
- package/dist/components/note-editor/parts/header.js +263 -0
- package/dist/components/note-editor/parts/history.d.ts +56 -0
- package/dist/components/note-editor/parts/history.js +409 -0
- package/dist/components/note-editor/parts/presence.d.ts +31 -0
- package/dist/components/note-editor/parts/presence.js +140 -0
- package/dist/components/note-editor/parts/suggestions.d.ts +45 -0
- package/dist/components/note-editor/parts/suggestions.js +316 -0
- package/dist/components/note-editor/parts/toolbar.d.ts +38 -0
- package/dist/components/note-editor/parts/toolbar.js +683 -0
- package/dist/components/note-editor/people.d.ts +84 -0
- package/dist/components/note-editor/people.js +276 -0
- package/dist/components/note-editor/person.d.ts +11 -0
- package/dist/components/note-editor/person.js +15 -0
- package/dist/components/note-place/note-place.d.ts +42 -0
- package/dist/components/note-place/note-place.js +256 -0
- package/dist/components/note-status/note-status.d.ts +59 -0
- package/dist/components/note-status/note-status.js +380 -0
- package/dist/components/number-input/number-input.d.ts +12 -0
- package/dist/components/number-input/number-input.js +252 -0
- package/dist/components/otp-input/otp-input.d.ts +12 -0
- package/dist/components/otp-input/otp-input.js +136 -0
- package/dist/components/pagination/pagination.d.ts +23 -0
- package/dist/components/pagination/pagination.js +218 -0
- package/dist/components/password-input/password-input.d.ts +11 -0
- package/dist/components/password-input/password-input.js +117 -0
- package/dist/components/plan/plan.d.ts +51 -0
- package/dist/components/plan/plan.js +320 -0
- package/dist/components/popover/popover.d.ts +16 -0
- package/dist/components/popover/popover.js +268 -0
- package/dist/components/preferences/preferences.d.ts +5 -0
- package/dist/components/preferences/preferences.js +18 -0
- package/dist/components/progress/progress.d.ts +8 -0
- package/dist/components/progress/progress.js +162 -0
- package/dist/components/prompt-input/prompt-input.d.ts +247 -0
- package/dist/components/prompt-input/prompt-input.js +1367 -0
- package/dist/components/questionnaire/questionnaire.d.ts +174 -0
- package/dist/components/questionnaire/questionnaire.js +1628 -0
- package/dist/components/queue/queue.d.ts +82 -0
- package/dist/components/queue/queue.js +471 -0
- package/dist/components/radio/radio.d.ts +7 -0
- package/dist/components/radio/radio.js +101 -0
- package/dist/components/rating/rating.d.ts +10 -0
- package/dist/components/rating/rating.js +95 -0
- package/dist/components/reasoning/reasoning.d.ts +50 -0
- package/dist/components/reasoning/reasoning.js +233 -0
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/resizable/resizable.js +100 -0
- package/dist/components/scroll-area/scroll-area.d.ts +17 -0
- package/dist/components/scroll-area/scroll-area.js +211 -0
- package/dist/components/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/segmented-control/segmented-control.js +142 -0
- package/dist/components/select/select.d.ts +43 -0
- package/dist/components/select/select.js +577 -0
- package/dist/components/separator/separator.d.ts +4 -0
- package/dist/components/separator/separator.js +38 -0
- package/dist/components/sheet/sheet.d.ts +24 -0
- package/dist/components/sheet/sheet.js +330 -0
- package/dist/components/sidebar/sidebar.d.ts +138 -0
- package/dist/components/sidebar/sidebar.js +1374 -0
- package/dist/components/skeleton/skeleton.d.ts +4 -0
- package/dist/components/skeleton/skeleton.js +40 -0
- package/dist/components/slider/slider.d.ts +9 -0
- package/dist/components/slider/slider.js +193 -0
- package/dist/components/sources/sources.d.ts +35 -0
- package/dist/components/sources/sources.js +209 -0
- package/dist/components/spinner/spinner.d.ts +11 -0
- package/dist/components/spinner/spinner.js +59 -0
- package/dist/components/stack-trace/parse-stack-trace.d.ts +21 -0
- package/dist/components/stack-trace/parse-stack-trace.js +61 -0
- package/dist/components/stack-trace/stack-trace.d.ts +79 -0
- package/dist/components/stack-trace/stack-trace.js +434 -0
- package/dist/components/subagent/subagent.d.ts +71 -0
- package/dist/components/subagent/subagent.js +450 -0
- package/dist/components/suggestion/suggestion.d.ts +21 -0
- package/dist/components/suggestion/suggestion.js +130 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/switch/switch.js +70 -0
- package/dist/components/table/table.d.ts +19 -0
- package/dist/components/table/table.js +284 -0
- package/dist/components/table-of-contents/spy.js +84 -0
- package/dist/components/table-of-contents/table-of-contents.d.ts +92 -0
- package/dist/components/table-of-contents/table-of-contents.js +787 -0
- package/dist/components/tabs/tabs.d.ts +25 -0
- package/dist/components/tabs/tabs.js +273 -0
- package/dist/components/task/task.d.ts +40 -0
- package/dist/components/task/task.js +262 -0
- package/dist/components/terminal/terminal.d.ts +82 -0
- package/dist/components/terminal/terminal.js +457 -0
- package/dist/components/test-results/test-results.d.ts +127 -0
- package/dist/components/test-results/test-results.js +687 -0
- package/dist/components/textarea/textarea.d.ts +8 -0
- package/dist/components/textarea/textarea.js +43 -0
- package/dist/components/time-input/time-input.d.ts +7 -0
- package/dist/components/time-input/time-input.js +82 -0
- package/dist/components/timeline/timeline.d.ts +19 -0
- package/dist/components/timeline/timeline.js +247 -0
- package/dist/components/toast/toast.d.ts +12 -0
- package/dist/components/toast/toast.js +285 -0
- package/dist/components/toggle/toggle.d.ts +15 -0
- package/dist/components/toggle/toggle.js +137 -0
- package/dist/components/token-input/token-input.d.ts +7 -0
- package/dist/components/token-input/token-input.js +117 -0
- package/dist/components/tool/tool.d.ts +66 -0
- package/dist/components/tool/tool.js +413 -0
- package/dist/components/toolbar/toolbar.d.ts +91 -0
- package/dist/components/toolbar/toolbar.js +655 -0
- package/dist/components/tooltip/tooltip.d.ts +8 -0
- package/dist/components/tooltip/tooltip.js +97 -0
- package/dist/components/trace/trace.d.ts +31 -0
- package/dist/components/trace/trace.js +309 -0
- package/dist/components/tree/tree.d.ts +13 -0
- package/dist/components/tree/tree.js +258 -0
- package/dist/components/trigger-menu/trigger-menu.d.ts +30 -0
- package/dist/components/trigger-menu/trigger-menu.js +352 -0
- package/dist/components/usage/usage.d.ts +132 -0
- package/dist/components/usage/usage.js +1368 -0
- package/dist/components/waterfall/waterfall.d.ts +20 -0
- package/dist/components/waterfall/waterfall.js +360 -0
- package/dist/components/week-strip/week-strip.d.ts +177 -0
- package/dist/components/week-strip/week-strip.js +1081 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.js +27 -0
- package/dist/core/ui-sdk.d.ts +3 -0
- package/dist/core/ui-sdk.js +3 -0
- package/dist/core/use-primitive-state.d.ts +14 -0
- package/dist/core/use-primitive-state.js +25 -0
- package/dist/styles/LICENSE-shadcn.md +21 -0
- package/dist/styles/color-scheme.css +32 -0
- package/dist/styles/components.css +303 -0
- package/dist/styles/index.css +41 -0
- package/dist/styles/tokens.css +474 -0
- package/dist/styles/typeset/shadcn.css +506 -0
- package/dist/styles/typeset.css +70 -0
- package/dist/styles/utilities.css +555 -0
- package/dist/tools/observe/index.d.ts +2 -0
- package/dist/tools/observe/index.js +3 -0
- package/dist/tools/observe/ui-sdk.d.ts +1 -0
- package/dist/tools/observe/ui-sdk.js +2 -0
- package/dist/tools/testing/check-agent.d.ts +28 -0
- package/dist/tools/testing/check-agent.js +42 -0
- package/dist/tools/testing/index.d.ts +4 -0
- package/dist/tools/testing/index.js +4 -0
- package/dist/tools/testing/ui-sdk.d.ts +1 -0
- package/dist/tools/testing/ui-sdk.js +2 -0
- package/dist/utilities/cn/index.d.ts +12 -0
- package/dist/utilities/cn/index.js +47 -0
- package/dist/utilities/color/index.d.ts +2 -0
- package/dist/utilities/color/index.js +3 -0
- package/dist/utilities/color/ui-sdk.d.ts +1 -0
- package/dist/utilities/color/ui-sdk.js +2 -0
- package/dist/utilities/date/index.d.ts +2 -0
- package/dist/utilities/date/index.js +6 -0
- package/dist/utilities/date/ui-sdk.d.ts +1 -0
- package/dist/utilities/date/ui-sdk.js +2 -0
- package/dist/utilities/image/index.d.ts +2 -0
- package/dist/utilities/image/index.js +3 -0
- package/dist/utilities/image/ui-sdk.d.ts +1 -0
- package/dist/utilities/image/ui-sdk.js +2 -0
- package/dist/utilities/mobile/index.d.ts +2 -0
- package/dist/utilities/mobile/index.js +1 -0
- package/dist/utilities/mobile/ui-sdk.d.ts +2 -0
- package/dist/utilities/mobile/ui-sdk.js +1 -0
- package/dist/utilities/number/index.d.ts +2 -0
- package/dist/utilities/number/index.js +3 -0
- package/dist/utilities/number/ui-sdk.d.ts +1 -0
- package/dist/utilities/number/ui-sdk.js +2 -0
- package/dist/utilities/platform/index.d.ts +3 -0
- package/dist/utilities/platform/index.js +14 -0
- package/dist/utilities/platform/ui-sdk.d.ts +3 -0
- package/dist/utilities/platform/ui-sdk.js +3 -0
- package/dist/utilities/storage/index.d.ts +2 -0
- package/dist/utilities/storage/index.js +1 -0
- package/dist/utilities/storage/ui-sdk.d.ts +2 -0
- package/dist/utilities/storage/ui-sdk.js +1 -0
- package/dist/utilities/text/index.d.ts +3 -0
- package/dist/utilities/text/index.js +3 -0
- package/dist/utilities/text/ui-sdk.d.ts +3 -0
- package/dist/utilities/text/ui-sdk.js +3 -0
- package/package.json +192 -4
- package/skills/agent-ready-ui/SKILL.md +229 -0
- package/skills/blocks/SKILL.md +262 -0
- package/skills/compose-screens/SKILL.md +354 -0
- package/skills/note-editor/SKILL.md +493 -0
- package/skills/note-status/SKILL.md +295 -0
- package/skills/setup/SKILL.md +136 -0
- package/skills/theming/SKILL.md +216 -0
- package/src/blocks/notes/adapters.ts +77 -0
- package/src/blocks/notes/data.ts +508 -0
- package/src/blocks/notes/notes-block.tsx +244 -0
- package/src/blocks/notes/parts/home.tsx +219 -0
- package/src/blocks/notes/parts/no-access.tsx +84 -0
- package/src/blocks/notes/parts/note-screen.tsx +412 -0
- package/src/blocks/notes/parts/notes-sidebar.tsx +277 -0
- package/src/blocks/notes/parts/panels.tsx +393 -0
- package/src/blocks/notes/parts/place.ts +15 -0
- package/src/blocks/notes/parts/review-dialog.tsx +159 -0
- package/src/blocks/notes/parts/share.tsx +172 -0
- package/src/blocks/notes/texts.ts +135 -0
- package/src/blocks/shell/adapters.ts +69 -0
- package/src/blocks/shell/data.ts +281 -0
- package/src/blocks/shell/parts/compose.tsx +292 -0
- package/src/blocks/shell/parts/home.tsx +203 -0
- package/src/blocks/shell/parts/marks.tsx +144 -0
- package/src/blocks/shell/parts/rail.tsx +166 -0
- package/src/blocks/shell/parts/rooms-column.tsx +326 -0
- package/src/blocks/shell/shell-block.tsx +210 -0
- package/src/blocks/shell/texts.ts +80 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn } from "../../utilities/cn/index.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
// src/components/table/table.tsx
|
|
6
|
+
function Table(t0) {
|
|
7
|
+
const $ = c(14);
|
|
8
|
+
let className;
|
|
9
|
+
let props;
|
|
10
|
+
let scrollLabel;
|
|
11
|
+
if ($[0] !== t0) {
|
|
12
|
+
({className, scrollLabel, ...props} = t0);
|
|
13
|
+
$[0] = t0;
|
|
14
|
+
$[1] = className;
|
|
15
|
+
$[2] = props;
|
|
16
|
+
$[3] = scrollLabel;
|
|
17
|
+
} else {
|
|
18
|
+
className = $[1];
|
|
19
|
+
props = $[2];
|
|
20
|
+
scrollLabel = $[3];
|
|
21
|
+
}
|
|
22
|
+
const t1 = scrollLabel ? "region" : void 0;
|
|
23
|
+
const t2 = scrollLabel ? 0 : void 0;
|
|
24
|
+
let t3;
|
|
25
|
+
if ($[4] !== className) {
|
|
26
|
+
t3 = cn("w-full caption-bottom text-sm", className);
|
|
27
|
+
$[4] = className;
|
|
28
|
+
$[5] = t3;
|
|
29
|
+
} else t3 = $[5];
|
|
30
|
+
let t4;
|
|
31
|
+
if ($[6] !== props || $[7] !== t3) {
|
|
32
|
+
t4 = /* @__PURE__ */ jsx("table", {
|
|
33
|
+
"data-slot": "table",
|
|
34
|
+
className: t3,
|
|
35
|
+
...props
|
|
36
|
+
});
|
|
37
|
+
$[6] = props;
|
|
38
|
+
$[7] = t3;
|
|
39
|
+
$[8] = t4;
|
|
40
|
+
} else t4 = $[8];
|
|
41
|
+
let t5;
|
|
42
|
+
if ($[9] !== scrollLabel || $[10] !== t1 || $[11] !== t2 || $[12] !== t4) {
|
|
43
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
44
|
+
"data-slot": "table-container",
|
|
45
|
+
role: t1,
|
|
46
|
+
"aria-label": scrollLabel,
|
|
47
|
+
tabIndex: t2,
|
|
48
|
+
className: "relative w-full overflow-x-auto focus-ring-inset",
|
|
49
|
+
children: t4
|
|
50
|
+
});
|
|
51
|
+
$[9] = scrollLabel;
|
|
52
|
+
$[10] = t1;
|
|
53
|
+
$[11] = t2;
|
|
54
|
+
$[12] = t4;
|
|
55
|
+
$[13] = t5;
|
|
56
|
+
} else t5 = $[13];
|
|
57
|
+
return t5;
|
|
58
|
+
}
|
|
59
|
+
function TableHeader(t0) {
|
|
60
|
+
const $ = c(8);
|
|
61
|
+
let className;
|
|
62
|
+
let props;
|
|
63
|
+
if ($[0] !== t0) {
|
|
64
|
+
({className, ...props} = t0);
|
|
65
|
+
$[0] = t0;
|
|
66
|
+
$[1] = className;
|
|
67
|
+
$[2] = props;
|
|
68
|
+
} else {
|
|
69
|
+
className = $[1];
|
|
70
|
+
props = $[2];
|
|
71
|
+
}
|
|
72
|
+
let t1;
|
|
73
|
+
if ($[3] !== className) {
|
|
74
|
+
t1 = cn("[&_tr]:border-b", className);
|
|
75
|
+
$[3] = className;
|
|
76
|
+
$[4] = t1;
|
|
77
|
+
} else t1 = $[4];
|
|
78
|
+
let t2;
|
|
79
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
80
|
+
t2 = /* @__PURE__ */ jsx("thead", {
|
|
81
|
+
"data-slot": "table-header",
|
|
82
|
+
className: t1,
|
|
83
|
+
...props
|
|
84
|
+
});
|
|
85
|
+
$[5] = props;
|
|
86
|
+
$[6] = t1;
|
|
87
|
+
$[7] = t2;
|
|
88
|
+
} else t2 = $[7];
|
|
89
|
+
return t2;
|
|
90
|
+
}
|
|
91
|
+
function TableBody(t0) {
|
|
92
|
+
const $ = c(8);
|
|
93
|
+
let className;
|
|
94
|
+
let props;
|
|
95
|
+
if ($[0] !== t0) {
|
|
96
|
+
({className, ...props} = t0);
|
|
97
|
+
$[0] = t0;
|
|
98
|
+
$[1] = className;
|
|
99
|
+
$[2] = props;
|
|
100
|
+
} else {
|
|
101
|
+
className = $[1];
|
|
102
|
+
props = $[2];
|
|
103
|
+
}
|
|
104
|
+
let t1;
|
|
105
|
+
if ($[3] !== className) {
|
|
106
|
+
t1 = cn("[&_tr:last-child]:border-0", className);
|
|
107
|
+
$[3] = className;
|
|
108
|
+
$[4] = t1;
|
|
109
|
+
} else t1 = $[4];
|
|
110
|
+
let t2;
|
|
111
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
112
|
+
t2 = /* @__PURE__ */ jsx("tbody", {
|
|
113
|
+
"data-slot": "table-body",
|
|
114
|
+
className: t1,
|
|
115
|
+
...props
|
|
116
|
+
});
|
|
117
|
+
$[5] = props;
|
|
118
|
+
$[6] = t1;
|
|
119
|
+
$[7] = t2;
|
|
120
|
+
} else t2 = $[7];
|
|
121
|
+
return t2;
|
|
122
|
+
}
|
|
123
|
+
function TableFooter(t0) {
|
|
124
|
+
const $ = c(8);
|
|
125
|
+
let className;
|
|
126
|
+
let props;
|
|
127
|
+
if ($[0] !== t0) {
|
|
128
|
+
({className, ...props} = t0);
|
|
129
|
+
$[0] = t0;
|
|
130
|
+
$[1] = className;
|
|
131
|
+
$[2] = props;
|
|
132
|
+
} else {
|
|
133
|
+
className = $[1];
|
|
134
|
+
props = $[2];
|
|
135
|
+
}
|
|
136
|
+
let t1;
|
|
137
|
+
if ($[3] !== className) {
|
|
138
|
+
t1 = cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className);
|
|
139
|
+
$[3] = className;
|
|
140
|
+
$[4] = t1;
|
|
141
|
+
} else t1 = $[4];
|
|
142
|
+
let t2;
|
|
143
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
144
|
+
t2 = /* @__PURE__ */ jsx("tfoot", {
|
|
145
|
+
"data-slot": "table-footer",
|
|
146
|
+
className: t1,
|
|
147
|
+
...props
|
|
148
|
+
});
|
|
149
|
+
$[5] = props;
|
|
150
|
+
$[6] = t1;
|
|
151
|
+
$[7] = t2;
|
|
152
|
+
} else t2 = $[7];
|
|
153
|
+
return t2;
|
|
154
|
+
}
|
|
155
|
+
/** Mark a selected row with `data-selected`. */
|
|
156
|
+
function TableRow(t0) {
|
|
157
|
+
const $ = c(8);
|
|
158
|
+
let className;
|
|
159
|
+
let props;
|
|
160
|
+
if ($[0] !== t0) {
|
|
161
|
+
({className, ...props} = t0);
|
|
162
|
+
$[0] = t0;
|
|
163
|
+
$[1] = className;
|
|
164
|
+
$[2] = props;
|
|
165
|
+
} else {
|
|
166
|
+
className = $[1];
|
|
167
|
+
props = $[2];
|
|
168
|
+
}
|
|
169
|
+
let t1;
|
|
170
|
+
if ($[3] !== className) {
|
|
171
|
+
t1 = cn("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-selected:bg-muted data-selected:outline data-selected:-outline-offset-1 data-selected:outline-input", className);
|
|
172
|
+
$[3] = className;
|
|
173
|
+
$[4] = t1;
|
|
174
|
+
} else t1 = $[4];
|
|
175
|
+
let t2;
|
|
176
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
177
|
+
t2 = /* @__PURE__ */ jsx("tr", {
|
|
178
|
+
"data-slot": "table-row",
|
|
179
|
+
className: t1,
|
|
180
|
+
...props
|
|
181
|
+
});
|
|
182
|
+
$[5] = props;
|
|
183
|
+
$[6] = t1;
|
|
184
|
+
$[7] = t2;
|
|
185
|
+
} else t2 = $[7];
|
|
186
|
+
return t2;
|
|
187
|
+
}
|
|
188
|
+
function TableHead(t0) {
|
|
189
|
+
const $ = c(8);
|
|
190
|
+
let className;
|
|
191
|
+
let props;
|
|
192
|
+
if ($[0] !== t0) {
|
|
193
|
+
({className, ...props} = t0);
|
|
194
|
+
$[0] = t0;
|
|
195
|
+
$[1] = className;
|
|
196
|
+
$[2] = props;
|
|
197
|
+
} else {
|
|
198
|
+
className = $[1];
|
|
199
|
+
props = $[2];
|
|
200
|
+
}
|
|
201
|
+
let t1;
|
|
202
|
+
if ($[3] !== className) {
|
|
203
|
+
t1 = cn("h-10 px-2 text-start align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0", className);
|
|
204
|
+
$[3] = className;
|
|
205
|
+
$[4] = t1;
|
|
206
|
+
} else t1 = $[4];
|
|
207
|
+
let t2;
|
|
208
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
209
|
+
t2 = /* @__PURE__ */ jsx("th", {
|
|
210
|
+
"data-slot": "table-head",
|
|
211
|
+
className: t1,
|
|
212
|
+
...props
|
|
213
|
+
});
|
|
214
|
+
$[5] = props;
|
|
215
|
+
$[6] = t1;
|
|
216
|
+
$[7] = t2;
|
|
217
|
+
} else t2 = $[7];
|
|
218
|
+
return t2;
|
|
219
|
+
}
|
|
220
|
+
function TableCell(t0) {
|
|
221
|
+
const $ = c(8);
|
|
222
|
+
let className;
|
|
223
|
+
let props;
|
|
224
|
+
if ($[0] !== t0) {
|
|
225
|
+
({className, ...props} = t0);
|
|
226
|
+
$[0] = t0;
|
|
227
|
+
$[1] = className;
|
|
228
|
+
$[2] = props;
|
|
229
|
+
} else {
|
|
230
|
+
className = $[1];
|
|
231
|
+
props = $[2];
|
|
232
|
+
}
|
|
233
|
+
let t1;
|
|
234
|
+
if ($[3] !== className) {
|
|
235
|
+
t1 = cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", className);
|
|
236
|
+
$[3] = className;
|
|
237
|
+
$[4] = t1;
|
|
238
|
+
} else t1 = $[4];
|
|
239
|
+
let t2;
|
|
240
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
241
|
+
t2 = /* @__PURE__ */ jsx("td", {
|
|
242
|
+
"data-slot": "table-cell",
|
|
243
|
+
className: t1,
|
|
244
|
+
...props
|
|
245
|
+
});
|
|
246
|
+
$[5] = props;
|
|
247
|
+
$[6] = t1;
|
|
248
|
+
$[7] = t2;
|
|
249
|
+
} else t2 = $[7];
|
|
250
|
+
return t2;
|
|
251
|
+
}
|
|
252
|
+
function TableCaption(t0) {
|
|
253
|
+
const $ = c(8);
|
|
254
|
+
let className;
|
|
255
|
+
let props;
|
|
256
|
+
if ($[0] !== t0) {
|
|
257
|
+
({className, ...props} = t0);
|
|
258
|
+
$[0] = t0;
|
|
259
|
+
$[1] = className;
|
|
260
|
+
$[2] = props;
|
|
261
|
+
} else {
|
|
262
|
+
className = $[1];
|
|
263
|
+
props = $[2];
|
|
264
|
+
}
|
|
265
|
+
let t1;
|
|
266
|
+
if ($[3] !== className) {
|
|
267
|
+
t1 = cn("mt-4 text-sm text-muted-foreground", className);
|
|
268
|
+
$[3] = className;
|
|
269
|
+
$[4] = t1;
|
|
270
|
+
} else t1 = $[4];
|
|
271
|
+
let t2;
|
|
272
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
273
|
+
t2 = /* @__PURE__ */ jsx("caption", {
|
|
274
|
+
"data-slot": "table-caption",
|
|
275
|
+
className: t1,
|
|
276
|
+
...props
|
|
277
|
+
});
|
|
278
|
+
$[5] = props;
|
|
279
|
+
$[6] = t1;
|
|
280
|
+
$[7] = t2;
|
|
281
|
+
} else t2 = $[7];
|
|
282
|
+
return t2;
|
|
283
|
+
}
|
|
284
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// src/components/table-of-contents/spy.ts
|
|
2
|
+
/**
|
|
3
|
+
* The id an `href` points at, or `null` for a link with no hash. `#install`
|
|
4
|
+
* and a whole URL ending in `#install` name the same section, and both are
|
|
5
|
+
* decoded, since an id may hold a space or a slash.
|
|
6
|
+
*/
|
|
7
|
+
function hashTarget(href) {
|
|
8
|
+
if (!href) return null;
|
|
9
|
+
const at = href.indexOf("#");
|
|
10
|
+
if (at === -1) return null;
|
|
11
|
+
const raw = href.slice(at + 1);
|
|
12
|
+
if (!raw) return null;
|
|
13
|
+
try {
|
|
14
|
+
return decodeURIComponent(raw);
|
|
15
|
+
} catch {
|
|
16
|
+
return raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Which section the reading line falls in. A line in a gap belongs to the
|
|
21
|
+
* section most recently passed, a line above the first section to the first,
|
|
22
|
+
* and a line below every section to the last. `atEnd`, for a scroller that
|
|
23
|
+
* can go no further, picks the last section even when it is too short to
|
|
24
|
+
* reach the line.
|
|
25
|
+
*/
|
|
26
|
+
function sectionAt(sections, line, atEnd = false) {
|
|
27
|
+
if (sections.length === 0) return void 0;
|
|
28
|
+
const ordered = [...sections].sort((a, b) => a.top - b.top);
|
|
29
|
+
if (atEnd) return ordered.at(-1)?.value;
|
|
30
|
+
let passed;
|
|
31
|
+
for (const section of ordered) {
|
|
32
|
+
if (section.top > line) break;
|
|
33
|
+
passed = section;
|
|
34
|
+
if (line < section.bottom) return section.value;
|
|
35
|
+
}
|
|
36
|
+
return passed?.value ?? ordered[0]?.value;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Every section on screen, in page order: the one at the reading line, then
|
|
40
|
+
* each one whose top is above `floor`, the bottom of the scroll viewport. The
|
|
41
|
+
* first is there even when its heading has scrolled out of sight.
|
|
42
|
+
*/
|
|
43
|
+
function sectionsInView(sections, line, floor) {
|
|
44
|
+
const current = sectionAt(sections, line);
|
|
45
|
+
if (current === void 0) return [];
|
|
46
|
+
const ordered = [...sections].sort((a, b) => a.top - b.top);
|
|
47
|
+
const start = ordered.findIndex((section) => section.value === current);
|
|
48
|
+
const result = [current];
|
|
49
|
+
for (const section of ordered.slice(start + 1)) {
|
|
50
|
+
if (section.top >= floor) break;
|
|
51
|
+
if (!result.includes(section.value)) result.push(section.value);
|
|
52
|
+
}
|
|
53
|
+
return result;
|
|
54
|
+
}
|
|
55
|
+
const round = (value) => Math.round(value * 10) / 10;
|
|
56
|
+
/**
|
|
57
|
+
* The contour line as an SVG path: straight down each row at its level's
|
|
58
|
+
* offset, with a short S-bend across the boundary where the level changes.
|
|
59
|
+
* A bend is never taller than half of either row. The line is drawn half a
|
|
60
|
+
* pixel in, so a one-pixel stroke lands on the pixel grid.
|
|
61
|
+
*/
|
|
62
|
+
function contourPath(rows, step, bend) {
|
|
63
|
+
const first = rows[0];
|
|
64
|
+
if (!first) return "";
|
|
65
|
+
const x = (row) => round(Math.max(0, row.depth) * step + .5);
|
|
66
|
+
const parts = [`M${x(first)} ${round(first.top)}`];
|
|
67
|
+
for (const [index, row] of rows.entries()) {
|
|
68
|
+
const next = rows[index + 1];
|
|
69
|
+
if (!next) {
|
|
70
|
+
parts.push(`L${x(row)} ${round(row.bottom)}`);
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
if (x(next) === x(row)) continue;
|
|
74
|
+
const boundary = (row.bottom + next.top) / 2;
|
|
75
|
+
const reach = Math.max(0, Math.min(bend, (row.bottom - row.top) / 2, (next.bottom - next.top) / 2));
|
|
76
|
+
parts.push(`L${x(row)} ${round(boundary - reach)}`, `C${x(row)} ${round(boundary)} ${x(next)} ${round(boundary)} ${x(next)} ${round(boundary + reach)}`);
|
|
77
|
+
}
|
|
78
|
+
return parts.join(" ");
|
|
79
|
+
}
|
|
80
|
+
/** How wide the contour's drawing has to be: the deepest level, plus the stroke. */
|
|
81
|
+
function contourWidth(rows, step) {
|
|
82
|
+
return rows.reduce((most, row) => Math.max(most, row.depth), 0) * step + 2;
|
|
83
|
+
}
|
|
84
|
+
export { contourPath, contourWidth, hashTarget, sectionAt, sectionsInView };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ChangeDetails } from "../../core/ui-sdk.js";
|
|
2
|
+
import { index_d_exports } from "../../core/index.js";
|
|
3
|
+
import { LinkPartProps } from "../link/link.js";
|
|
4
|
+
import { ComponentProps, ReactNode, RefObject } from "react";
|
|
5
|
+
/** How the list marks where the reader is. */
|
|
6
|
+
type TableOfContentsVariant = "rail" | "contour";
|
|
7
|
+
/** `link-press` when a link was followed, `scroll` when the reader scrolled to another section. */
|
|
8
|
+
type TableOfContentsReason = "link-press" | "scroll";
|
|
9
|
+
/** The element that scrolls, or a ref to it. */
|
|
10
|
+
type TableOfContentsScroller = HTMLElement | null | RefObject<HTMLElement | null>;
|
|
11
|
+
type TableOfContentsOptions = {
|
|
12
|
+
/** The active section, when the app holds it. The scroll spy then stands aside. */
|
|
13
|
+
value?: string;
|
|
14
|
+
/** The section active at first, when the app doesn't hold it. */
|
|
15
|
+
defaultValue?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Runs when a link is followed or the reader scrolls to another section, not
|
|
18
|
+
* when the page is first read. `details.reason` tells the two apart, and
|
|
19
|
+
* `details.cancel()` refuses a followed link: the mark and the page stay.
|
|
20
|
+
*/
|
|
21
|
+
onValueChange?: (value: string, details: ChangeDetails<TableOfContentsReason>) => void;
|
|
22
|
+
/**
|
|
23
|
+
* How far below the top of the scroll viewport the reading line sits, in
|
|
24
|
+
* pixels. Raise it to clear a sticky header. 16 by default.
|
|
25
|
+
*/
|
|
26
|
+
offset?: number;
|
|
27
|
+
/** The element that scrolls, when it isn't the page: a panel, or a scroll area's viewport. */
|
|
28
|
+
root?: TableOfContentsScroller;
|
|
29
|
+
};
|
|
30
|
+
type TableOfContentsProps = TableOfContentsOptions & Omit<index_d_exports.PartProps<"nav">, "children" | "defaultValue"> & {
|
|
31
|
+
/**
|
|
32
|
+
* Watches the page and keeps the active section at the reading line. On
|
|
33
|
+
* by default while uncontrolled. Pass `false` to leave the active section
|
|
34
|
+
* alone, or `true` with `value` to hear where the reader is in
|
|
35
|
+
* `onValueChange` while the app holds the value.
|
|
36
|
+
*/
|
|
37
|
+
observe?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* `rail` is a hairline with one segment on the active section. `contour`
|
|
40
|
+
* is a line that steps in with each level and lights every section on
|
|
41
|
+
* screen.
|
|
42
|
+
*/
|
|
43
|
+
variant?: TableOfContentsVariant;
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* The sections of a long page as a rail of links, with one mark on the
|
|
48
|
+
* section being read. `aria-label` names the landmark: translate it, and
|
|
49
|
+
* change it when the page has another navigation.
|
|
50
|
+
*/
|
|
51
|
+
declare function TableOfContents({ value, defaultValue, onValueChange, observe, offset, root, variant, "aria-label": ariaLabel, className, children, ...props }: TableOfContentsProps): import("react").JSX.Element | null;
|
|
52
|
+
/**
|
|
53
|
+
* The small heading above the list, like "On this page". The `nav` already
|
|
54
|
+
* has a name, so this is for the eye. A `p` by default: pass `render={<h2 />}`
|
|
55
|
+
* when the page's outline should list it.
|
|
56
|
+
*/
|
|
57
|
+
declare function TableOfContentsTitle({ className, render, ...props }: index_d_exports.PartProps<"p">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
58
|
+
/**
|
|
59
|
+
* The ordered list of sections. It draws the rail and the mark, placed from
|
|
60
|
+
* the rows as they measure, and hidden until then so the mark never slides
|
|
61
|
+
* in from the top of the list.
|
|
62
|
+
*/
|
|
63
|
+
declare function TableOfContentsList({ className, children, ref, ...props }: ComponentProps<"ol">): import("react").JSX.Element;
|
|
64
|
+
type TableOfContentsItemProps = Omit<ComponentProps<"li">, "value"> & {
|
|
65
|
+
/** The section this row stands for. It matches the root's `value`. */
|
|
66
|
+
value: string;
|
|
67
|
+
/** How deep the section sits. Each level steps the row in, for a section under a section. */
|
|
68
|
+
depth?: number;
|
|
69
|
+
};
|
|
70
|
+
/** One section in the list. It holds the section's `TableOfContentsLink`. */
|
|
71
|
+
declare function TableOfContentsItem({ value, depth, className, style, children, ...props }: TableOfContentsItemProps): import("react").JSX.Element;
|
|
72
|
+
type TableOfContentsLinkProps = Omit<LinkPartProps, "href"> & {
|
|
73
|
+
/** The section this link jumps to, hash included: `#install`. */
|
|
74
|
+
href: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The link to one section. Following it moves the mark at once. With a
|
|
78
|
+
* `root`, it scrolls that element to put the section on the reading line; on
|
|
79
|
+
* the page, the browser jumps. The active one has `aria-current="location"`.
|
|
80
|
+
* An agent finds it by its text and follows it with `follow`. For a router's
|
|
81
|
+
* link, pass it to `render`.
|
|
82
|
+
*
|
|
83
|
+
* An `onClick` that calls `preventDefault()` keeps the page still and the
|
|
84
|
+
* mark still moves, for sections that swap in place.
|
|
85
|
+
*/
|
|
86
|
+
declare function TableOfContentsLink({ href, disabled, className, onClick, ...props }: TableOfContentsLinkProps): import("react").JSX.Element;
|
|
87
|
+
/**
|
|
88
|
+
* An identifier inside a link, like a prop's name under an API heading: a
|
|
89
|
+
* small pill in the link's color, so it dims and lights with its row.
|
|
90
|
+
*/
|
|
91
|
+
declare function TableOfContentsCode({ className, ...props }: ComponentProps<"code">): import("react").JSX.Element;
|
|
92
|
+
export { TableOfContents, TableOfContentsCode, TableOfContentsItem, type TableOfContentsItemProps, TableOfContentsLink, type TableOfContentsLinkProps, TableOfContentsList, type TableOfContentsProps, type TableOfContentsReason, type TableOfContentsScroller, TableOfContentsTitle, type TableOfContentsVariant };
|