@k2b/ui 0.65.0 → 0.67.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 +47 -0
- package/dist/base.css +6 -1
- package/dist/browser/actions/Dropdown.js +2 -1
- package/dist/browser/actions/Dropdown.js.map +1 -1
- package/dist/browser/actions/FilterChip.js +3 -2
- package/dist/browser/actions/FilterChip.js.map +1 -1
- package/dist/browser/actions/SegmentedControl.js +20 -14
- package/dist/browser/actions/SegmentedControl.js.map +1 -1
- package/dist/browser/charts/core/line-details.js +52 -12
- package/dist/browser/charts/core/line-details.js.map +1 -1
- package/dist/browser/charts/core/line-extras.js +122 -0
- package/dist/browser/charts/core/line-extras.js.map +1 -0
- package/dist/browser/charts/core/line-options.js +1 -1
- package/dist/browser/charts/core/line-options.js.map +1 -1
- package/dist/browser/charts/core/snapshot.js +3 -2
- package/dist/browser/charts/core/snapshot.js.map +1 -1
- package/dist/browser/charts/core/svg-barGauge.js +2 -2
- package/dist/browser/charts/core/svg-barGauge.js.map +1 -1
- package/dist/browser/charts/core/svg-common.js +22 -1
- package/dist/browser/charts/core/svg-common.js.map +1 -1
- package/dist/browser/charts/core/svg-renderers.js +2 -2
- package/dist/browser/charts/core/svg-renderers.js.map +1 -1
- package/dist/browser/chat/ChatDecision.js +5 -4
- package/dist/browser/chat/ChatDecision.js.map +1 -1
- package/dist/browser/chat/ChatPrimitives.js +7 -5
- package/dist/browser/chat/ChatPrimitives.js.map +1 -1
- package/dist/browser/content/Calendar.js +1103 -922
- package/dist/browser/content/Calendar.js.map +1 -1
- package/dist/browser/content/CalendarDayView.js +336 -259
- package/dist/browser/content/CalendarDayView.js.map +1 -1
- package/dist/browser/content/CalendarWeekView.js +332 -236
- package/dist/browser/content/CalendarWeekView.js.map +1 -1
- package/dist/browser/content/ChartRoot.js +233 -100
- package/dist/browser/content/ChartRoot.js.map +1 -1
- package/dist/browser/content/MarkdownView.js +3 -1
- package/dist/browser/content/MarkdownView.js.map +1 -1
- package/dist/browser/content/ReferenceChip.js +2 -1
- package/dist/browser/content/ReferenceChip.js.map +1 -1
- package/dist/browser/content/calendar-days.js +114 -26
- package/dist/browser/content/calendar-days.js.map +1 -1
- package/dist/browser/content/calendar-event-detail.js +133 -98
- package/dist/browser/content/calendar-event-detail.js.map +1 -1
- package/dist/browser/content/calendar-events.js +107 -0
- package/dist/browser/content/calendar-events.js.map +1 -0
- package/dist/browser/content/calendar-messages.js +28 -2
- package/dist/browser/content/calendar-messages.js.map +1 -1
- package/dist/browser/content/calendar-month-layout.js +89 -5
- package/dist/browser/content/calendar-month-layout.js.map +1 -1
- package/dist/browser/content/calendar-month-scroll.js +2 -1
- package/dist/browser/content/calendar-month-scroll.js.map +1 -1
- package/dist/browser/content/calendar-overflow.browser-suite.js +534 -0
- package/dist/browser/content/calendar-overflow.browser-suite.js.map +1 -0
- package/dist/browser/content/calendar-overflow.js +366 -0
- package/dist/browser/content/calendar-overflow.js.map +1 -0
- package/dist/browser/content/calendar-shared.js +119 -104
- package/dist/browser/content/calendar-shared.js.map +1 -1
- package/dist/browser/content/calendar-snapshot.js +71 -0
- package/dist/browser/content/calendar-snapshot.js.map +1 -0
- package/dist/browser/content/calendar-time-view.js +519 -305
- package/dist/browser/content/calendar-time-view.js.map +1 -1
- package/dist/browser/content/chart-bar.js +3 -3
- package/dist/browser/content/chart-bar.js.map +1 -1
- package/dist/browser/content/chart-calendar.js +2 -1
- package/dist/browser/content/chart-calendar.js.map +1 -1
- package/dist/browser/content/chart-inspection-mount.js +1 -1
- package/dist/browser/content/chart-inspection-mount.js.map +1 -1
- package/dist/browser/content/chart-line-gaps.js +1 -1
- package/dist/browser/content/chart-line-gaps.js.map +1 -1
- package/dist/browser/content/chart-message-catalog.js +6 -0
- package/dist/browser/content/chart-message-catalog.js.map +1 -1
- package/dist/browser/content/chart-state-timeline.js +45 -12
- package/dist/browser/content/chart-state-timeline.js.map +1 -1
- package/dist/browser/content/chart-svg.js +5 -1
- package/dist/browser/content/chart-svg.js.map +1 -1
- package/dist/browser/content/chart-tick-room.js +23 -0
- package/dist/browser/content/chart-tick-room.js.map +1 -1
- package/dist/browser/content/index.js +3 -0
- package/dist/browser/content/index.js.map +1 -1
- package/dist/browser/content/markdown-info-blocks.js +1 -1
- package/dist/browser/content/markdown-info-blocks.js.map +1 -1
- package/dist/browser/content/markdown-links.js +36 -2
- package/dist/browser/content/markdown-links.js.map +1 -1
- package/dist/browser/feedback/prompt-form-loader.js +3 -2
- package/dist/browser/feedback/prompt-form-loader.js.map +1 -1
- package/dist/browser/feedback/toast.js +21 -1
- package/dist/browser/feedback/toast.js.map +1 -1
- package/dist/browser/inputs/AutocompleteSelect.js +2 -1
- package/dist/browser/inputs/AutocompleteSelect.js.map +1 -1
- package/dist/browser/inputs/ChoiceInputs.js +3 -2
- package/dist/browser/inputs/ChoiceInputs.js.map +1 -1
- package/dist/browser/inputs/ColorChoices.js +2 -1
- package/dist/browser/inputs/ColorChoices.js.map +1 -1
- package/dist/browser/inputs/RichSelect.js +2 -1
- package/dist/browser/inputs/RichSelect.js.map +1 -1
- package/dist/browser/inputs/Select.js +3 -2
- package/dist/browser/inputs/Select.js.map +1 -1
- package/dist/browser/inputs/date-picker.js +9 -0
- package/dist/browser/inputs/date-picker.js.map +1 -1
- package/dist/browser/inputs/markdown/Toolbar.js +18 -14
- package/dist/browser/inputs/markdown/Toolbar.js.map +1 -1
- package/dist/browser/internal/color.js +25 -0
- package/dist/browser/internal/color.js.map +1 -1
- package/dist/browser/internal/pending-loads.js +17 -0
- package/dist/browser/internal/pending-loads.js.map +1 -0
- package/dist/browser/intl/messages.js +16 -0
- package/dist/browser/intl/messages.js.map +1 -1
- package/dist/browser/layout/AppWorkspace.js +6 -0
- package/dist/browser/layout/AppWorkspace.js.map +1 -1
- package/dist/browser/layout/DetailSections.js +110 -98
- package/dist/browser/layout/DetailSections.js.map +1 -1
- package/dist/browser/layout/FloatingWindow.js +2 -1
- package/dist/browser/layout/FloatingWindow.js.map +1 -1
- package/dist/browser/layout/Navigation.js +172 -123
- package/dist/browser/layout/Navigation.js.map +1 -1
- package/dist/browser/layout/Panes.js +188 -237
- package/dist/browser/layout/Panes.js.map +1 -1
- package/dist/browser/layout/SidebarSwitcher.js +7 -3
- package/dist/browser/layout/SidebarSwitcher.js.map +1 -1
- package/dist/browser/layout/navigation-model.js.map +1 -1
- package/dist/browser/layout/panes-messages.js +0 -4
- package/dist/browser/layout/panes-messages.js.map +1 -1
- package/dist/browser/surfaces/Avatar.js +5 -2
- package/dist/browser/surfaces/Avatar.js.map +1 -1
- package/dist/browser/surfaces/NoticeCard.js +78 -36
- package/dist/browser/surfaces/NoticeCard.js.map +1 -1
- package/dist/browser/surfaces/NoticeRow.js +10 -3
- package/dist/browser/surfaces/NoticeRow.js.map +1 -1
- package/dist/browser/surfaces/index.js +1 -1
- package/dist/browser/surfaces/index.js.map +1 -1
- package/dist/browser/surfaces/notice-card-classes.js +16 -0
- package/dist/browser/surfaces/notice-card-classes.js.map +1 -0
- package/dist/browser/surfaces/person-color.js +34 -4
- package/dist/browser/surfaces/person-color.js.map +1 -1
- package/dist/browser/v2/accent.js +114 -0
- package/dist/browser/v2/accent.js.map +1 -0
- package/dist/browser/v2/action-bar.js +125 -0
- package/dist/browser/v2/action-bar.js.map +1 -0
- package/dist/browser/v2/addresses.js +135 -0
- package/dist/browser/v2/addresses.js.map +1 -0
- package/dist/browser/v2/announce.js +94 -0
- package/dist/browser/v2/announce.js.map +1 -0
- package/dist/browser/v2/attach-live.js +280 -0
- package/dist/browser/v2/attach-live.js.map +1 -0
- package/dist/browser/v2/attach.js +432 -0
- package/dist/browser/v2/attach.js.map +1 -0
- package/dist/browser/v2/bar-fold.js +405 -0
- package/dist/browser/v2/bar-fold.js.map +1 -0
- package/dist/browser/v2/behavior/adapter.js +378 -0
- package/dist/browser/v2/behavior/adapter.js.map +1 -0
- package/dist/browser/v2/behavior/bind.js +43 -0
- package/dist/browser/v2/behavior/bind.js.map +1 -0
- package/dist/browser/v2/behavior/board.js +184 -0
- package/dist/browser/v2/behavior/board.js.map +1 -0
- package/dist/browser/v2/behavior/calendar.js +39 -0
- package/dist/browser/v2/behavior/calendar.js.map +1 -0
- package/dist/browser/v2/behavior/code.js +25 -0
- package/dist/browser/v2/behavior/code.js.map +1 -0
- package/dist/browser/v2/behavior/controls.js +58 -0
- package/dist/browser/v2/behavior/controls.js.map +1 -0
- package/dist/browser/v2/behavior/dates.js +8 -0
- package/dist/browser/v2/behavior/dates.js.map +1 -0
- package/dist/browser/v2/behavior/dnd.js +545 -0
- package/dist/browser/v2/behavior/dnd.js.map +1 -0
- package/dist/browser/v2/behavior/files.js +43 -0
- package/dist/browser/v2/behavior/files.js.map +1 -0
- package/dist/browser/v2/behavior/layer.js +3 -0
- package/dist/browser/v2/behavior/layer.js.map +1 -0
- package/dist/browser/v2/behavior/lists.js +102 -0
- package/dist/browser/v2/behavior/lists.js.map +1 -0
- package/dist/browser/v2/behavior/menu.js +97 -0
- package/dist/browser/v2/behavior/menu.js.map +1 -0
- package/dist/browser/v2/behavior/messages.js +200 -0
- package/dist/browser/v2/behavior/messages.js.map +1 -0
- package/dist/browser/v2/behavior/overlays.js +304 -0
- package/dist/browser/v2/behavior/overlays.js.map +1 -0
- package/dist/browser/v2/behavior/pickers.js +86 -0
- package/dist/browser/v2/behavior/pickers.js.map +1 -0
- package/dist/browser/v2/behavior/resize.js +147 -0
- package/dist/browser/v2/behavior/resize.js.map +1 -0
- package/dist/browser/v2/behavior/segmented.js +17 -0
- package/dist/browser/v2/behavior/segmented.js.map +1 -0
- package/dist/browser/v2/behavior/select.js +134 -0
- package/dist/browser/v2/behavior/select.js.map +1 -0
- package/dist/browser/v2/behavior/time-input.js +95 -0
- package/dist/browser/v2/behavior/time-input.js.map +1 -0
- package/dist/browser/v2/behavior/time-text.js +83 -0
- package/dist/browser/v2/behavior/time-text.js.map +1 -0
- package/dist/browser/v2/behavior/tip.js +31 -0
- package/dist/browser/v2/behavior/tip.js.map +1 -0
- package/dist/browser/v2/behavior/toast.js +152 -0
- package/dist/browser/v2/behavior/toast.js.map +1 -0
- package/dist/browser/v2/behavior/treegrid.js +75 -0
- package/dist/browser/v2/behavior/treegrid.js.map +1 -0
- package/dist/browser/v2/board-messages.js +70 -0
- package/dist/browser/v2/board-messages.js.map +1 -0
- package/dist/browser/v2/board.js +471 -0
- package/dist/browser/v2/board.js.map +1 -0
- package/dist/browser/v2/button-failure.js +90 -0
- package/dist/browser/v2/button-failure.js.map +1 -0
- package/dist/browser/v2/button.js +309 -0
- package/dist/browser/v2/button.js.map +1 -0
- package/dist/browser/v2/colors.js +135 -0
- package/dist/browser/v2/colors.js.map +1 -0
- package/dist/browser/v2/columns-context.js +48 -0
- package/dist/browser/v2/columns-context.js.map +1 -0
- package/dist/browser/v2/components.js +2096 -0
- package/dist/browser/v2/components.js.map +1 -0
- package/dist/browser/v2/content.js +2195 -0
- package/dist/browser/v2/content.js.map +1 -0
- package/dist/browser/v2/control-messages.js +115 -0
- package/dist/browser/v2/control-messages.js.map +1 -0
- package/dist/browser/v2/controls.js +2623 -0
- package/dist/browser/v2/controls.js.map +1 -0
- package/dist/browser/v2/danger-zone.js +47 -0
- package/dist/browser/v2/danger-zone.js.map +1 -0
- package/dist/browser/v2/date-messages.js +61 -0
- package/dist/browser/v2/date-messages.js.map +1 -0
- package/dist/browser/v2/date-picker.js +405 -0
- package/dist/browser/v2/date-picker.js.map +1 -0
- package/dist/browser/v2/date-week-window.js +264 -0
- package/dist/browser/v2/date-week-window.js.map +1 -0
- package/dist/browser/v2/date-weeks.js +30 -0
- package/dist/browser/v2/date-weeks.js.map +1 -0
- package/dist/browser/v2/day-bar.js +87 -0
- package/dist/browser/v2/day-bar.js.map +1 -0
- package/dist/browser/v2/describe.js +582 -0
- package/dist/browser/v2/describe.js.map +1 -0
- package/dist/browser/v2/draft.js +55 -0
- package/dist/browser/v2/draft.js.map +1 -0
- package/dist/browser/v2/emoji-picker.js +240 -0
- package/dist/browser/v2/emoji-picker.js.map +1 -0
- package/dist/browser/v2/ends.js +37 -0
- package/dist/browser/v2/ends.js.map +1 -0
- package/dist/browser/v2/error-screen.js +118 -0
- package/dist/browser/v2/error-screen.js.map +1 -0
- package/dist/browser/v2/failed.js +90 -0
- package/dist/browser/v2/failed.js.map +1 -0
- package/dist/browser/v2/figures.js +179 -0
- package/dist/browser/v2/figures.js.map +1 -0
- package/dist/browser/v2/filter-bar.js +3009 -0
- package/dist/browser/v2/filter-bar.js.map +1 -0
- package/dist/browser/v2/filter-messages.js +244 -0
- package/dist/browser/v2/filter-messages.js.map +1 -0
- package/dist/browser/v2/head-search.js +159 -0
- package/dist/browser/v2/head-search.js.map +1 -0
- package/dist/browser/v2/heat-days.js +91 -0
- package/dist/browser/v2/heat-days.js.map +1 -0
- package/dist/browser/v2/heat.js +260 -0
- package/dist/browser/v2/heat.js.map +1 -0
- package/dist/browser/v2/icon.js +48 -0
- package/dist/browser/v2/icon.js.map +1 -0
- package/dist/browser/v2/index.js +84 -0
- package/dist/browser/v2/index.js.map +1 -0
- package/dist/browser/v2/layout.js +2118 -0
- package/dist/browser/v2/layout.js.map +1 -0
- package/dist/browser/v2/link.js +9 -0
- package/dist/browser/v2/link.js.map +1 -0
- package/dist/browser/v2/list-group.js +57 -0
- package/dist/browser/v2/list-group.js.map +1 -0
- package/dist/browser/v2/list-query.js +736 -0
- package/dist/browser/v2/list-query.js.map +1 -0
- package/dist/browser/v2/lookup.js +431 -0
- package/dist/browser/v2/lookup.js.map +1 -0
- package/dist/browser/v2/marks.js +733 -0
- package/dist/browser/v2/marks.js.map +1 -0
- package/dist/browser/v2/menu-panel.js +241 -0
- package/dist/browser/v2/menu-panel.js.map +1 -0
- package/dist/browser/v2/menu.js +797 -0
- package/dist/browser/v2/menu.js.map +1 -0
- package/dist/browser/v2/nav-drop.js +25 -0
- package/dist/browser/v2/nav-drop.js.map +1 -0
- package/dist/browser/v2/nav-face.js +16 -0
- package/dist/browser/v2/nav-face.js.map +1 -0
- package/dist/browser/v2/nav-tree.js +498 -0
- package/dist/browser/v2/nav-tree.js.map +1 -0
- package/dist/browser/v2/now-line.js +61 -0
- package/dist/browser/v2/now-line.js.map +1 -0
- package/dist/browser/v2/overlay-messages.js +41 -0
- package/dist/browser/v2/overlay-messages.js.map +1 -0
- package/dist/browser/v2/overlays.js +431 -0
- package/dist/browser/v2/overlays.js.map +1 -0
- package/dist/browser/v2/page-layer.js +42 -0
- package/dist/browser/v2/page-layer.js.map +1 -0
- package/dist/browser/v2/pane-name.js +55 -0
- package/dist/browser/v2/pane-name.js.map +1 -0
- package/dist/browser/v2/pane-print.js +32 -0
- package/dist/browser/v2/pane-print.js.map +1 -0
- package/dist/browser/v2/pane-sheet.js +147 -0
- package/dist/browser/v2/pane-sheet.js.map +1 -0
- package/dist/browser/v2/popover.js +152 -0
- package/dist/browser/v2/popover.js.map +1 -0
- package/dist/browser/v2/reaction-messages.js +31 -0
- package/dist/browser/v2/reaction-messages.js.map +1 -0
- package/dist/browser/v2/reactions.js +239 -0
- package/dist/browser/v2/reactions.js.map +1 -0
- package/dist/browser/v2/row-drag.js +19 -0
- package/dist/browser/v2/row-drag.js.map +1 -0
- package/dist/browser/v2/section-level.js +9 -0
- package/dist/browser/v2/section-level.js.map +1 -0
- package/dist/browser/v2/segmented.js +146 -0
- package/dist/browser/v2/segmented.js.map +1 -0
- package/dist/browser/v2/select-live.js +162 -0
- package/dist/browser/v2/select-live.js.map +1 -0
- package/dist/browser/v2/setting-messages.js +25 -0
- package/dist/browser/v2/setting-messages.js.map +1 -0
- package/dist/browser/v2/split-button.js +82 -0
- package/dist/browser/v2/split-button.js.map +1 -0
- package/dist/browser/v2/states.js +208 -0
- package/dist/browser/v2/states.js.map +1 -0
- package/dist/browser/v2/status-toolbar.js +23 -0
- package/dist/browser/v2/status-toolbar.js.map +1 -0
- package/dist/browser/v2/structure.js +503 -0
- package/dist/browser/v2/structure.js.map +1 -0
- package/dist/browser/v2/testing/index.js +26 -0
- package/dist/browser/v2/testing/index.js.map +1 -0
- package/dist/browser/v2/testing/measure-v2-layout.js +1024 -0
- package/dist/browser/v2/testing/measure-v2-layout.js.map +1 -0
- package/dist/browser/v2/testing/settled.js +58 -0
- package/dist/browser/v2/testing/settled.js.map +1 -0
- package/dist/browser/v2/testing/visible.js +14 -0
- package/dist/browser/v2/testing/visible.js.map +1 -0
- package/dist/browser/v2/toast-host.js +18 -0
- package/dist/browser/v2/toast-host.js.map +1 -0
- package/dist/browser/v2/toast.js +241 -0
- package/dist/browser/v2/toast.js.map +1 -0
- package/dist/browser/v2/tokens.js +97 -0
- package/dist/browser/v2/tokens.js.map +1 -0
- package/dist/browser/v2/tree-messages.js +32 -0
- package/dist/browser/v2/tree-messages.js.map +1 -0
- package/dist/browser/v2/types.js +71 -0
- package/dist/browser/v2/types.js.map +1 -0
- package/dist/browser/v2/unsaved-bar.js +225 -0
- package/dist/browser/v2/unsaved-bar.js.map +1 -0
- package/dist/browser/v2/unsaved-messages.js +65 -0
- package/dist/browser/v2/unsaved-messages.js.map +1 -0
- package/dist/browser/v2/width-cookie.js +45 -0
- package/dist/browser/v2/width-cookie.js.map +1 -0
- package/dist/browser/v2/workspace-messages.js +31 -0
- package/dist/browser/v2/workspace-messages.js.map +1 -0
- package/dist/browser/widgets/Dashboard.js +3 -2
- package/dist/browser/widgets/Dashboard.js.map +1 -1
- package/dist/ssr/actions/Dropdown.js +2 -1
- package/dist/ssr/actions/Dropdown.js.map +1 -1
- package/dist/ssr/actions/FilterChip.js +3 -2
- package/dist/ssr/actions/FilterChip.js.map +1 -1
- package/dist/ssr/actions/SegmentedControl.js +2 -2
- package/dist/ssr/actions/SegmentedControl.js.map +1 -1
- package/dist/ssr/charts/core/line-details.js +52 -12
- package/dist/ssr/charts/core/line-details.js.map +1 -1
- package/dist/ssr/charts/core/line-extras.js +122 -0
- package/dist/ssr/charts/core/line-extras.js.map +1 -0
- package/dist/ssr/charts/core/line-options.js +1 -1
- package/dist/ssr/charts/core/line-options.js.map +1 -1
- package/dist/ssr/charts/core/snapshot.js +3 -2
- package/dist/ssr/charts/core/snapshot.js.map +1 -1
- package/dist/ssr/charts/core/svg-barGauge.js +2 -2
- package/dist/ssr/charts/core/svg-barGauge.js.map +1 -1
- package/dist/ssr/charts/core/svg-common.js +22 -1
- package/dist/ssr/charts/core/svg-common.js.map +1 -1
- package/dist/ssr/charts/core/svg-renderers.js +2 -2
- package/dist/ssr/charts/core/svg-renderers.js.map +1 -1
- package/dist/ssr/chat/ChatDecision.js +5 -4
- package/dist/ssr/chat/ChatDecision.js.map +1 -1
- package/dist/ssr/chat/ChatPrimitives.js +7 -5
- package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
- package/dist/ssr/content/Calendar.js +410 -323
- package/dist/ssr/content/Calendar.js.map +1 -1
- package/dist/ssr/content/CalendarDayView.js +122 -49
- package/dist/ssr/content/CalendarDayView.js.map +1 -1
- package/dist/ssr/content/CalendarWeekView.js +152 -49
- package/dist/ssr/content/CalendarWeekView.js.map +1 -1
- package/dist/ssr/content/ChartRoot.js +82 -16
- package/dist/ssr/content/ChartRoot.js.map +1 -1
- package/dist/ssr/content/MarkdownView.js +3 -1
- package/dist/ssr/content/MarkdownView.js.map +1 -1
- package/dist/ssr/content/ReferenceChip.js +2 -1
- package/dist/ssr/content/ReferenceChip.js.map +1 -1
- package/dist/ssr/content/calendar-days.js +114 -26
- package/dist/ssr/content/calendar-days.js.map +1 -1
- package/dist/ssr/content/calendar-event-detail.js +46 -10
- package/dist/ssr/content/calendar-event-detail.js.map +1 -1
- package/dist/ssr/content/calendar-events.js +107 -0
- package/dist/ssr/content/calendar-events.js.map +1 -0
- package/dist/ssr/content/calendar-messages.js +28 -2
- package/dist/ssr/content/calendar-messages.js.map +1 -1
- package/dist/ssr/content/calendar-month-layout.js +89 -5
- package/dist/ssr/content/calendar-month-layout.js.map +1 -1
- package/dist/ssr/content/calendar-month-scroll.js +2 -1
- package/dist/ssr/content/calendar-month-scroll.js.map +1 -1
- package/dist/ssr/content/calendar-overflow.browser-suite.js +534 -0
- package/dist/ssr/content/calendar-overflow.browser-suite.js.map +1 -0
- package/dist/ssr/content/calendar-overflow.js +272 -0
- package/dist/ssr/content/calendar-overflow.js.map +1 -0
- package/dist/ssr/content/calendar-shared.js +47 -42
- package/dist/ssr/content/calendar-shared.js.map +1 -1
- package/dist/ssr/content/calendar-snapshot.js +71 -0
- package/dist/ssr/content/calendar-snapshot.js.map +1 -0
- package/dist/ssr/content/calendar-time-view.js +319 -136
- package/dist/ssr/content/calendar-time-view.js.map +1 -1
- package/dist/ssr/content/chart-bar.js +3 -3
- package/dist/ssr/content/chart-bar.js.map +1 -1
- package/dist/ssr/content/chart-calendar.js +2 -1
- package/dist/ssr/content/chart-calendar.js.map +1 -1
- package/dist/ssr/content/chart-inspection-mount.js +1 -1
- package/dist/ssr/content/chart-inspection-mount.js.map +1 -1
- package/dist/ssr/content/chart-line-gaps.js +1 -1
- package/dist/ssr/content/chart-line-gaps.js.map +1 -1
- package/dist/ssr/content/chart-message-catalog.js +6 -0
- package/dist/ssr/content/chart-message-catalog.js.map +1 -1
- package/dist/ssr/content/chart-state-timeline.js +45 -12
- package/dist/ssr/content/chart-state-timeline.js.map +1 -1
- package/dist/ssr/content/chart-svg.js +5 -1
- package/dist/ssr/content/chart-svg.js.map +1 -1
- package/dist/ssr/content/chart-tick-room.js +23 -0
- package/dist/ssr/content/chart-tick-room.js.map +1 -1
- package/dist/ssr/content/index.js +3 -0
- package/dist/ssr/content/index.js.map +1 -1
- package/dist/ssr/content/markdown-info-blocks.js +1 -1
- package/dist/ssr/content/markdown-info-blocks.js.map +1 -1
- package/dist/ssr/content/markdown-links.js +36 -2
- package/dist/ssr/content/markdown-links.js.map +1 -1
- package/dist/ssr/feedback/prompt-form-loader.js +3 -2
- package/dist/ssr/feedback/prompt-form-loader.js.map +1 -1
- package/dist/ssr/feedback/toast.js +21 -1
- package/dist/ssr/feedback/toast.js.map +1 -1
- package/dist/ssr/inputs/AutocompleteSelect.js +2 -1
- package/dist/ssr/inputs/AutocompleteSelect.js.map +1 -1
- package/dist/ssr/inputs/ChoiceInputs.js +3 -2
- package/dist/ssr/inputs/ChoiceInputs.js.map +1 -1
- package/dist/ssr/inputs/ColorChoices.js +2 -1
- package/dist/ssr/inputs/ColorChoices.js.map +1 -1
- package/dist/ssr/inputs/RichSelect.js +2 -1
- package/dist/ssr/inputs/RichSelect.js.map +1 -1
- package/dist/ssr/inputs/Select.js +3 -2
- package/dist/ssr/inputs/Select.js.map +1 -1
- package/dist/ssr/inputs/date-picker.js +9 -0
- package/dist/ssr/inputs/date-picker.js.map +1 -1
- package/dist/ssr/inputs/markdown/Toolbar.js +6 -1
- package/dist/ssr/inputs/markdown/Toolbar.js.map +1 -1
- package/dist/ssr/internal/color.js +25 -0
- package/dist/ssr/internal/color.js.map +1 -1
- package/dist/ssr/internal/pending-loads.js +17 -0
- package/dist/ssr/internal/pending-loads.js.map +1 -0
- package/dist/ssr/intl/messages.js +16 -0
- package/dist/ssr/intl/messages.js.map +1 -1
- package/dist/ssr/layout/AppWorkspace.js +6 -0
- package/dist/ssr/layout/AppWorkspace.js.map +1 -1
- package/dist/ssr/layout/DetailSections.js +19 -10
- package/dist/ssr/layout/DetailSections.js.map +1 -1
- package/dist/ssr/layout/FloatingWindow.js +2 -1
- package/dist/ssr/layout/FloatingWindow.js.map +1 -1
- package/dist/ssr/layout/Navigation.js +54 -26
- package/dist/ssr/layout/Navigation.js.map +1 -1
- package/dist/ssr/layout/Panes.js +32 -67
- package/dist/ssr/layout/Panes.js.map +1 -1
- package/dist/ssr/layout/SidebarSwitcher.js +7 -3
- package/dist/ssr/layout/SidebarSwitcher.js.map +1 -1
- package/dist/ssr/layout/navigation-model.js.map +1 -1
- package/dist/ssr/layout/panes-messages.js +0 -4
- package/dist/ssr/layout/panes-messages.js.map +1 -1
- package/dist/ssr/surfaces/Avatar.js +5 -2
- package/dist/ssr/surfaces/Avatar.js.map +1 -1
- package/dist/ssr/surfaces/NoticeCard.js +27 -20
- package/dist/ssr/surfaces/NoticeCard.js.map +1 -1
- package/dist/ssr/surfaces/NoticeRow.js +10 -3
- package/dist/ssr/surfaces/NoticeRow.js.map +1 -1
- package/dist/ssr/surfaces/index.js +1 -1
- package/dist/ssr/surfaces/index.js.map +1 -1
- package/dist/ssr/surfaces/notice-card-classes.js +16 -0
- package/dist/ssr/surfaces/notice-card-classes.js.map +1 -0
- package/dist/ssr/surfaces/person-color.js +34 -4
- package/dist/ssr/surfaces/person-color.js.map +1 -1
- package/dist/ssr/v2/accent.js +114 -0
- package/dist/ssr/v2/accent.js.map +1 -0
- package/dist/ssr/v2/action-bar.js +88 -0
- package/dist/ssr/v2/action-bar.js.map +1 -0
- package/dist/ssr/v2/addresses.js +135 -0
- package/dist/ssr/v2/addresses.js.map +1 -0
- package/dist/ssr/v2/announce.js +93 -0
- package/dist/ssr/v2/announce.js.map +1 -0
- package/dist/ssr/v2/attach-live.js +279 -0
- package/dist/ssr/v2/attach-live.js.map +1 -0
- package/dist/ssr/v2/attach.js +432 -0
- package/dist/ssr/v2/attach.js.map +1 -0
- package/dist/ssr/v2/bar-fold.js +405 -0
- package/dist/ssr/v2/bar-fold.js.map +1 -0
- package/dist/ssr/v2/behavior/adapter.js +378 -0
- package/dist/ssr/v2/behavior/adapter.js.map +1 -0
- package/dist/ssr/v2/behavior/bind.js +43 -0
- package/dist/ssr/v2/behavior/bind.js.map +1 -0
- package/dist/ssr/v2/behavior/board.js +184 -0
- package/dist/ssr/v2/behavior/board.js.map +1 -0
- package/dist/ssr/v2/behavior/calendar.js +39 -0
- package/dist/ssr/v2/behavior/calendar.js.map +1 -0
- package/dist/ssr/v2/behavior/code.js +25 -0
- package/dist/ssr/v2/behavior/code.js.map +1 -0
- package/dist/ssr/v2/behavior/controls.js +58 -0
- package/dist/ssr/v2/behavior/controls.js.map +1 -0
- package/dist/ssr/v2/behavior/dates.js +8 -0
- package/dist/ssr/v2/behavior/dates.js.map +1 -0
- package/dist/ssr/v2/behavior/dnd.js +545 -0
- package/dist/ssr/v2/behavior/dnd.js.map +1 -0
- package/dist/ssr/v2/behavior/files.js +43 -0
- package/dist/ssr/v2/behavior/files.js.map +1 -0
- package/dist/ssr/v2/behavior/layer.js +3 -0
- package/dist/ssr/v2/behavior/layer.js.map +1 -0
- package/dist/ssr/v2/behavior/lists.js +102 -0
- package/dist/ssr/v2/behavior/lists.js.map +1 -0
- package/dist/ssr/v2/behavior/menu.js +91 -0
- package/dist/ssr/v2/behavior/menu.js.map +1 -0
- package/dist/ssr/v2/behavior/messages.js +200 -0
- package/dist/ssr/v2/behavior/messages.js.map +1 -0
- package/dist/ssr/v2/behavior/overlays.js +293 -0
- package/dist/ssr/v2/behavior/overlays.js.map +1 -0
- package/dist/ssr/v2/behavior/pickers.js +86 -0
- package/dist/ssr/v2/behavior/pickers.js.map +1 -0
- package/dist/ssr/v2/behavior/resize.js +147 -0
- package/dist/ssr/v2/behavior/resize.js.map +1 -0
- package/dist/ssr/v2/behavior/segmented.js +17 -0
- package/dist/ssr/v2/behavior/segmented.js.map +1 -0
- package/dist/ssr/v2/behavior/select.js +133 -0
- package/dist/ssr/v2/behavior/select.js.map +1 -0
- package/dist/ssr/v2/behavior/time-input.js +95 -0
- package/dist/ssr/v2/behavior/time-input.js.map +1 -0
- package/dist/ssr/v2/behavior/time-text.js +83 -0
- package/dist/ssr/v2/behavior/time-text.js.map +1 -0
- package/dist/ssr/v2/behavior/tip.js +31 -0
- package/dist/ssr/v2/behavior/tip.js.map +1 -0
- package/dist/ssr/v2/behavior/toast.js +152 -0
- package/dist/ssr/v2/behavior/toast.js.map +1 -0
- package/dist/ssr/v2/behavior/treegrid.js +75 -0
- package/dist/ssr/v2/behavior/treegrid.js.map +1 -0
- package/dist/ssr/v2/board-messages.js +70 -0
- package/dist/ssr/v2/board-messages.js.map +1 -0
- package/dist/ssr/v2/board.js +388 -0
- package/dist/ssr/v2/board.js.map +1 -0
- package/dist/ssr/v2/button-failure.js +90 -0
- package/dist/ssr/v2/button-failure.js.map +1 -0
- package/dist/ssr/v2/button.js +304 -0
- package/dist/ssr/v2/button.js.map +1 -0
- package/dist/ssr/v2/colors.js +135 -0
- package/dist/ssr/v2/colors.js.map +1 -0
- package/dist/ssr/v2/columns-context.js +48 -0
- package/dist/ssr/v2/columns-context.js.map +1 -0
- package/dist/ssr/v2/components.js +1484 -0
- package/dist/ssr/v2/components.js.map +1 -0
- package/dist/ssr/v2/content.js +1497 -0
- package/dist/ssr/v2/content.js.map +1 -0
- package/dist/ssr/v2/control-messages.js +115 -0
- package/dist/ssr/v2/control-messages.js.map +1 -0
- package/dist/ssr/v2/controls.js +1888 -0
- package/dist/ssr/v2/controls.js.map +1 -0
- package/dist/ssr/v2/danger-zone.js +28 -0
- package/dist/ssr/v2/danger-zone.js.map +1 -0
- package/dist/ssr/v2/date-messages.js +61 -0
- package/dist/ssr/v2/date-messages.js.map +1 -0
- package/dist/ssr/v2/date-picker.js +351 -0
- package/dist/ssr/v2/date-picker.js.map +1 -0
- package/dist/ssr/v2/date-week-window.js +149 -0
- package/dist/ssr/v2/date-week-window.js.map +1 -0
- package/dist/ssr/v2/date-weeks.js +30 -0
- package/dist/ssr/v2/date-weeks.js.map +1 -0
- package/dist/ssr/v2/day-bar.js +52 -0
- package/dist/ssr/v2/day-bar.js.map +1 -0
- package/dist/ssr/v2/describe.js +582 -0
- package/dist/ssr/v2/describe.js.map +1 -0
- package/dist/ssr/v2/draft.js +55 -0
- package/dist/ssr/v2/draft.js.map +1 -0
- package/dist/ssr/v2/emoji-picker.js +182 -0
- package/dist/ssr/v2/emoji-picker.js.map +1 -0
- package/dist/ssr/v2/ends.js +27 -0
- package/dist/ssr/v2/ends.js.map +1 -0
- package/dist/ssr/v2/error-screen.js +73 -0
- package/dist/ssr/v2/error-screen.js.map +1 -0
- package/dist/ssr/v2/failed.js +63 -0
- package/dist/ssr/v2/failed.js.map +1 -0
- package/dist/ssr/v2/figures.js +101 -0
- package/dist/ssr/v2/figures.js.map +1 -0
- package/dist/ssr/v2/filter-bar.js +2495 -0
- package/dist/ssr/v2/filter-bar.js.map +1 -0
- package/dist/ssr/v2/filter-messages.js +244 -0
- package/dist/ssr/v2/filter-messages.js.map +1 -0
- package/dist/ssr/v2/head-search.js +159 -0
- package/dist/ssr/v2/head-search.js.map +1 -0
- package/dist/ssr/v2/heat-days.js +91 -0
- package/dist/ssr/v2/heat-days.js.map +1 -0
- package/dist/ssr/v2/heat.js +145 -0
- package/dist/ssr/v2/heat.js.map +1 -0
- package/dist/ssr/v2/icon.js +18 -0
- package/dist/ssr/v2/icon.js.map +1 -0
- package/dist/ssr/v2/index.js +84 -0
- package/dist/ssr/v2/index.js.map +1 -0
- package/dist/ssr/v2/layout.js +1483 -0
- package/dist/ssr/v2/layout.js.map +1 -0
- package/dist/ssr/v2/link.js +9 -0
- package/dist/ssr/v2/link.js.map +1 -0
- package/dist/ssr/v2/list-group.js +37 -0
- package/dist/ssr/v2/list-group.js.map +1 -0
- package/dist/ssr/v2/list-query.js +736 -0
- package/dist/ssr/v2/list-query.js.map +1 -0
- package/dist/ssr/v2/lookup.js +333 -0
- package/dist/ssr/v2/lookup.js.map +1 -0
- package/dist/ssr/v2/marks.js +433 -0
- package/dist/ssr/v2/marks.js.map +1 -0
- package/dist/ssr/v2/menu-panel.js +217 -0
- package/dist/ssr/v2/menu-panel.js.map +1 -0
- package/dist/ssr/v2/menu.js +733 -0
- package/dist/ssr/v2/menu.js.map +1 -0
- package/dist/ssr/v2/nav-drop.js +25 -0
- package/dist/ssr/v2/nav-drop.js.map +1 -0
- package/dist/ssr/v2/nav-face.js +16 -0
- package/dist/ssr/v2/nav-face.js.map +1 -0
- package/dist/ssr/v2/nav-tree.js +436 -0
- package/dist/ssr/v2/nav-tree.js.map +1 -0
- package/dist/ssr/v2/now-line.js +44 -0
- package/dist/ssr/v2/now-line.js.map +1 -0
- package/dist/ssr/v2/overlay-messages.js +41 -0
- package/dist/ssr/v2/overlay-messages.js.map +1 -0
- package/dist/ssr/v2/overlays.js +365 -0
- package/dist/ssr/v2/overlays.js.map +1 -0
- package/dist/ssr/v2/page-layer.js +41 -0
- package/dist/ssr/v2/page-layer.js.map +1 -0
- package/dist/ssr/v2/pane-name.js +33 -0
- package/dist/ssr/v2/pane-name.js.map +1 -0
- package/dist/ssr/v2/pane-print.js +32 -0
- package/dist/ssr/v2/pane-print.js.map +1 -0
- package/dist/ssr/v2/pane-sheet.js +147 -0
- package/dist/ssr/v2/pane-sheet.js.map +1 -0
- package/dist/ssr/v2/popover.js +144 -0
- package/dist/ssr/v2/popover.js.map +1 -0
- package/dist/ssr/v2/reaction-messages.js +31 -0
- package/dist/ssr/v2/reaction-messages.js.map +1 -0
- package/dist/ssr/v2/reactions.js +200 -0
- package/dist/ssr/v2/reactions.js.map +1 -0
- package/dist/ssr/v2/row-drag.js +19 -0
- package/dist/ssr/v2/row-drag.js.map +1 -0
- package/dist/ssr/v2/section-level.js +9 -0
- package/dist/ssr/v2/section-level.js.map +1 -0
- package/dist/ssr/v2/segmented.js +104 -0
- package/dist/ssr/v2/segmented.js.map +1 -0
- package/dist/ssr/v2/select-live.js +142 -0
- package/dist/ssr/v2/select-live.js.map +1 -0
- package/dist/ssr/v2/setting-messages.js +25 -0
- package/dist/ssr/v2/setting-messages.js.map +1 -0
- package/dist/ssr/v2/split-button.js +66 -0
- package/dist/ssr/v2/split-button.js.map +1 -0
- package/dist/ssr/v2/states.js +140 -0
- package/dist/ssr/v2/states.js.map +1 -0
- package/dist/ssr/v2/status-toolbar.js +23 -0
- package/dist/ssr/v2/status-toolbar.js.map +1 -0
- package/dist/ssr/v2/structure.js +382 -0
- package/dist/ssr/v2/structure.js.map +1 -0
- package/dist/ssr/v2/testing/index.js +26 -0
- package/dist/ssr/v2/testing/index.js.map +1 -0
- package/dist/ssr/v2/testing/measure-v2-layout.js +1024 -0
- package/dist/ssr/v2/testing/measure-v2-layout.js.map +1 -0
- package/dist/ssr/v2/testing/settled.js +58 -0
- package/dist/ssr/v2/testing/settled.js.map +1 -0
- package/dist/ssr/v2/testing/visible.js +14 -0
- package/dist/ssr/v2/testing/visible.js.map +1 -0
- package/dist/ssr/v2/toast-host.js +18 -0
- package/dist/ssr/v2/toast-host.js.map +1 -0
- package/dist/ssr/v2/toast.js +222 -0
- package/dist/ssr/v2/toast.js.map +1 -0
- package/dist/ssr/v2/tokens.js +97 -0
- package/dist/ssr/v2/tokens.js.map +1 -0
- package/dist/ssr/v2/tree-messages.js +32 -0
- package/dist/ssr/v2/tree-messages.js.map +1 -0
- package/dist/ssr/v2/types.js +71 -0
- package/dist/ssr/v2/types.js.map +1 -0
- package/dist/ssr/v2/unsaved-bar.js +183 -0
- package/dist/ssr/v2/unsaved-bar.js.map +1 -0
- package/dist/ssr/v2/unsaved-messages.js +65 -0
- package/dist/ssr/v2/unsaved-messages.js.map +1 -0
- package/dist/ssr/v2/width-cookie.js +45 -0
- package/dist/ssr/v2/width-cookie.js.map +1 -0
- package/dist/ssr/v2/workspace-messages.js +31 -0
- package/dist/ssr/v2/workspace-messages.js.map +1 -0
- package/dist/ssr/widgets/Dashboard.js +3 -2
- package/dist/ssr/widgets/Dashboard.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tabler.css +1 -1
- package/dist/types/actions/SegmentedControl.d.ts +4 -0
- package/dist/types/charts/core/line-extras.d.ts +33 -0
- package/dist/types/charts/core/line-options.d.ts +3 -0
- package/dist/types/charts/core/svg-common.d.ts +49 -2
- package/dist/types/content/Calendar.d.ts +14 -2
- package/dist/types/content/MarkdownView.d.ts +2 -0
- package/dist/types/content/calendar-days.d.ts +52 -2
- package/dist/types/content/calendar-events.d.ts +35 -0
- package/dist/types/content/calendar-messages.d.ts +13 -0
- package/dist/types/content/calendar-month-layout.d.ts +44 -4
- package/dist/types/content/calendar-month-scroll.d.ts +2 -1
- package/dist/types/content/calendar-overflow.browser-suite.d.ts +37 -0
- package/dist/types/content/calendar-overflow.d.ts +30 -0
- package/dist/types/content/calendar-shared.d.ts +9 -11
- package/dist/types/content/calendar-snapshot.d.ts +28 -0
- package/dist/types/content/calendar-time-view.d.ts +37 -12
- package/dist/types/content/chart-bar.d.ts +1 -1
- package/dist/types/content/chart-inspection-mount.d.ts +1 -1
- package/dist/types/content/chart-line-gaps.d.ts +1 -1
- package/dist/types/content/chart-message-catalog.d.ts +6 -0
- package/dist/types/content/chart-state-timeline.d.ts +20 -0
- package/dist/types/content/chart-tick-room.d.ts +8 -0
- package/dist/types/content/index.d.ts +3 -0
- package/dist/types/content/markdown-links.d.ts +2 -1
- package/dist/types/inputs/date-picker.d.ts +2 -0
- package/dist/types/internal/color.d.ts +8 -0
- package/dist/types/internal/pending-loads.d.ts +8 -0
- package/dist/types/intl/messages.d.ts +8 -0
- package/dist/types/layout/AppWorkspace.d.ts +5 -0
- package/dist/types/layout/DetailSections.d.ts +11 -1
- package/dist/types/layout/Panes.d.ts +2 -2
- package/dist/types/layout/navigation-model.d.ts +5 -0
- package/dist/types/layout/panes-messages.d.ts +0 -2
- package/dist/types/surfaces/NoticeCard.d.ts +9 -13
- package/dist/types/surfaces/NoticeRow.d.ts +6 -1
- package/dist/types/surfaces/index.d.ts +1 -1
- package/dist/types/surfaces/notice-card-classes.d.ts +14 -0
- package/dist/types/surfaces/person-color.d.ts +27 -4
- package/dist/types/v2/accent.d.ts +24 -0
- package/dist/types/v2/action-bar.d.ts +37 -0
- package/dist/types/v2/addresses.d.ts +26 -0
- package/dist/types/v2/announce.d.ts +17 -0
- package/dist/types/v2/attach-live.d.ts +21 -0
- package/dist/types/v2/attach.d.ts +37 -0
- package/dist/types/v2/bar-fold.d.ts +40 -0
- package/dist/types/v2/behavior/adapter.d.ts +69 -0
- package/dist/types/v2/behavior/bind.d.ts +14 -0
- package/dist/types/v2/behavior/board.d.ts +45 -0
- package/dist/types/v2/behavior/calendar.d.ts +35 -0
- package/dist/types/v2/behavior/code.d.ts +27 -0
- package/dist/types/v2/behavior/controls.d.ts +51 -0
- package/dist/types/v2/behavior/dates.d.ts +7 -0
- package/dist/types/v2/behavior/dnd.d.ts +61 -0
- package/dist/types/v2/behavior/files.d.ts +44 -0
- package/dist/types/v2/behavior/layer.d.ts +1 -0
- package/dist/types/v2/behavior/lists.d.ts +91 -0
- package/dist/types/v2/behavior/menu.d.ts +56 -0
- package/dist/types/v2/behavior/messages.d.ts +72 -0
- package/dist/types/v2/behavior/overlays.d.ts +126 -0
- package/dist/types/v2/behavior/pickers.d.ts +62 -0
- package/dist/types/v2/behavior/resize.d.ts +57 -0
- package/dist/types/v2/behavior/segmented.d.ts +18 -0
- package/dist/types/v2/behavior/select.d.ts +73 -0
- package/dist/types/v2/behavior/time-input.d.ts +36 -0
- package/dist/types/v2/behavior/time-text.d.ts +14 -0
- package/dist/types/v2/behavior/tip.d.ts +17 -0
- package/dist/types/v2/behavior/toast.d.ts +90 -0
- package/dist/types/v2/behavior/treegrid.d.ts +40 -0
- package/dist/types/v2/board-messages.d.ts +22 -0
- package/dist/types/v2/board.d.ts +79 -0
- package/dist/types/v2/button-failure.d.ts +18 -0
- package/dist/types/v2/button.d.ts +126 -0
- package/dist/types/v2/colors.d.ts +42 -0
- package/dist/types/v2/columns-context.d.ts +50 -0
- package/dist/types/v2/components.d.ts +519 -0
- package/dist/types/v2/content.d.ts +478 -0
- package/dist/types/v2/control-messages.d.ts +55 -0
- package/dist/types/v2/controls.d.ts +551 -0
- package/dist/types/v2/danger-zone.d.ts +23 -0
- package/dist/types/v2/date-messages.d.ts +28 -0
- package/dist/types/v2/date-picker.d.ts +47 -0
- package/dist/types/v2/date-week-window.d.ts +22 -0
- package/dist/types/v2/date-weeks.d.ts +11 -0
- package/dist/types/v2/day-bar.d.ts +28 -0
- package/dist/types/v2/describe.d.ts +18 -0
- package/dist/types/v2/draft.d.ts +36 -0
- package/dist/types/v2/emoji-picker.d.ts +10 -0
- package/dist/types/v2/ends.d.ts +8 -0
- package/dist/types/v2/error-screen.d.ts +59 -0
- package/dist/types/v2/failed.d.ts +15 -0
- package/dist/types/v2/figures.d.ts +66 -0
- package/dist/types/v2/filter-bar.d.ts +111 -0
- package/dist/types/v2/filter-messages.d.ts +121 -0
- package/dist/types/v2/head-search.d.ts +13 -0
- package/dist/types/v2/heat-days.d.ts +44 -0
- package/dist/types/v2/heat.d.ts +40 -0
- package/dist/types/v2/icon.d.ts +16 -0
- package/dist/types/v2/index.d.ts +58 -0
- package/dist/types/v2/layout.d.ts +473 -0
- package/dist/types/v2/link.d.ts +7 -0
- package/dist/types/v2/list-group.d.ts +17 -0
- package/dist/types/v2/list-query.d.ts +432 -0
- package/dist/types/v2/lookup.d.ts +45 -0
- package/dist/types/v2/marks.d.ts +321 -0
- package/dist/types/v2/menu-panel.d.ts +7 -0
- package/dist/types/v2/menu.d.ts +192 -0
- package/dist/types/v2/nav-drop.d.ts +16 -0
- package/dist/types/v2/nav-face.d.ts +12 -0
- package/dist/types/v2/nav-tree.d.ts +66 -0
- package/dist/types/v2/now-line.d.ts +19 -0
- package/dist/types/v2/overlay-messages.d.ts +18 -0
- package/dist/types/v2/overlays.d.ts +105 -0
- package/dist/types/v2/page-layer.d.ts +12 -0
- package/dist/types/v2/pane-name.d.ts +14 -0
- package/dist/types/v2/pane-print.d.ts +8 -0
- package/dist/types/v2/pane-sheet.d.ts +9 -0
- package/dist/types/v2/popover.d.ts +21 -0
- package/dist/types/v2/reaction-messages.d.ts +9 -0
- package/dist/types/v2/reactions.d.ts +41 -0
- package/dist/types/v2/row-drag.d.ts +6 -0
- package/dist/types/v2/section-level.d.ts +6 -0
- package/dist/types/v2/segmented.d.ts +36 -0
- package/dist/types/v2/select-live.d.ts +7 -0
- package/dist/types/v2/setting-messages.d.ts +10 -0
- package/dist/types/v2/split-button.d.ts +24 -0
- package/dist/types/v2/states.d.ts +58 -0
- package/dist/types/v2/status-toolbar.d.ts +13 -0
- package/dist/types/v2/structure.d.ts +101 -0
- package/dist/types/v2/testing/index.d.ts +19 -0
- package/dist/types/v2/testing/measure-v2-layout.d.ts +120 -0
- package/dist/types/v2/testing/settled.d.ts +15 -0
- package/dist/types/v2/testing/visible.d.ts +9 -0
- package/dist/types/v2/toast-host.d.ts +8 -0
- package/dist/types/v2/toast.d.ts +47 -0
- package/dist/types/v2/tokens.d.ts +89 -0
- package/dist/types/v2/tree-messages.d.ts +15 -0
- package/dist/types/v2/types.d.ts +79 -0
- package/dist/types/v2/unsaved-bar.d.ts +47 -0
- package/dist/types/v2/unsaved-messages.d.ts +31 -0
- package/dist/types/v2/width-cookie.d.ts +19 -0
- package/dist/types/v2/workspace-messages.d.ts +15 -0
- package/dist/v2.css +13237 -0
- package/package.json +36 -8
- package/skills/k2b-ui/HANDOFF.md +77 -0
- package/skills/k2b-ui/SKILL.md +259 -0
- package/skills/k2b-ui/gold/code-policy-1440.png +0 -0
- package/skills/k2b-ui/gold/code-policy-390.png +0 -0
- package/skills/k2b-ui/gold/mail-mailbox-1440.png +0 -0
- package/skills/k2b-ui/gold/mail-mailbox-390.png +0 -0
- package/skills/k2b-ui/gold/notebooks-note-1440.png +0 -0
- package/skills/k2b-ui/gold/notebooks-note-390.png +0 -0
- package/skills/k2b-ui/gold/rhythm-after.png +0 -0
- package/skills/k2b-ui/gold/rhythm-before.png +0 -0
- package/skills/k2b-ui/gold/steps.png +0 -0
- package/skills/k2b-ui/images/actions-1440.png +0 -0
- package/skills/k2b-ui/images/actions-390.png +0 -0
- package/skills/k2b-ui/images/content-1440.png +0 -0
- package/skills/k2b-ui/images/content-390.png +0 -0
- package/skills/k2b-ui/images/conversations-1440.png +0 -0
- package/skills/k2b-ui/images/conversations-390.png +0 -0
- package/skills/k2b-ui/images/detail-sheet-1440.png +0 -0
- package/skills/k2b-ui/images/detail-sheet-390.png +0 -0
- package/skills/k2b-ui/images/dialogs-1440.png +0 -0
- package/skills/k2b-ui/images/dialogs-390.png +0 -0
- package/skills/k2b-ui/images/files-1440.png +0 -0
- package/skills/k2b-ui/images/files-390.png +0 -0
- package/skills/k2b-ui/images/filtered-table-1440.png +0 -0
- package/skills/k2b-ui/images/filtered-table-390.png +0 -0
- package/skills/k2b-ui/images/form-1440.png +0 -0
- package/skills/k2b-ui/images/form-390.png +0 -0
- package/skills/k2b-ui/images/form-detail-1440.png +0 -0
- package/skills/k2b-ui/images/form-detail-390.png +0 -0
- package/skills/k2b-ui/images/frame-1440.png +0 -0
- package/skills/k2b-ui/images/frame-390.png +0 -0
- package/skills/k2b-ui/images/home-1440.png +0 -0
- package/skills/k2b-ui/images/home-390.png +0 -0
- package/skills/k2b-ui/images/list-detail-1440.png +0 -0
- package/skills/k2b-ui/images/list-detail-390.png +0 -0
- package/skills/k2b-ui/images/mail-1440.png +0 -0
- package/skills/k2b-ui/images/mail-390.png +0 -0
- package/skills/k2b-ui/images/overview-1440.png +0 -0
- package/skills/k2b-ui/images/overview-390.png +0 -0
- package/skills/k2b-ui/images/public-page-1440.png +0 -0
- package/skills/k2b-ui/images/public-page-390.png +0 -0
- package/skills/k2b-ui/images/record-1440.png +0 -0
- package/skills/k2b-ui/images/record-390.png +0 -0
- package/skills/k2b-ui/images/record-groups-1440.png +0 -0
- package/skills/k2b-ui/images/record-groups-390.png +0 -0
- package/skills/k2b-ui/images/settings-1440.png +0 -0
- package/skills/k2b-ui/images/settings-390.png +0 -0
- package/skills/k2b-ui/images/settings-page-1440.png +0 -0
- package/skills/k2b-ui/images/settings-page-390.png +0 -0
- package/skills/k2b-ui/images/start-1440.png +0 -0
- package/skills/k2b-ui/images/start-390.png +0 -0
- package/skills/k2b-ui/images/states-1440.png +0 -0
- package/skills/k2b-ui/images/states-390.png +0 -0
- package/skills/k2b-ui/images/table-1440.png +0 -0
- package/skills/k2b-ui/images/table-390.png +0 -0
- package/skills/k2b-ui/images/tree-1440.png +0 -0
- package/skills/k2b-ui/images/tree-390.png +0 -0
- package/skills/k2b-ui/mockup/shoot.mjs +470 -0
- package/skills/k2b-ui/mockup/starter.html +607 -0
- package/skills/k2b-ui/port/check.mjs +48 -0
- package/skills/k2b-ui/recipes/actions.tsx +226 -0
- package/skills/k2b-ui/recipes/content.tsx +96 -0
- package/skills/k2b-ui/recipes/conversations.tsx +231 -0
- package/skills/k2b-ui/recipes/detail-sheet.tsx +87 -0
- package/skills/k2b-ui/recipes/dialogs.tsx +146 -0
- package/skills/k2b-ui/recipes/files.tsx +468 -0
- package/skills/k2b-ui/recipes/filtered-table.tsx +154 -0
- package/skills/k2b-ui/recipes/form-detail.tsx +143 -0
- package/skills/k2b-ui/recipes/form.tsx +95 -0
- package/skills/k2b-ui/recipes/frame.tsx +206 -0
- package/skills/k2b-ui/recipes/home.tsx +186 -0
- package/skills/k2b-ui/recipes/list-detail.tsx +140 -0
- package/skills/k2b-ui/recipes/mail.tsx +230 -0
- package/skills/k2b-ui/recipes/overview.tsx +303 -0
- package/skills/k2b-ui/recipes/public-page.tsx +315 -0
- package/skills/k2b-ui/recipes/record-groups.tsx +178 -0
- package/skills/k2b-ui/recipes/record.tsx +207 -0
- package/skills/k2b-ui/recipes/settings-page.tsx +269 -0
- package/skills/k2b-ui/recipes/settings.tsx +127 -0
- package/skills/k2b-ui/recipes/start.tsx +165 -0
- package/skills/k2b-ui/recipes/states.tsx +137 -0
- package/skills/k2b-ui/recipes/table.tsx +111 -0
- package/skills/k2b-ui/recipes/tree.tsx +109 -0
- package/skills/k2b-ui/references/gold.md +195 -0
- package/skills/k2b-ui/references/list-queries.md +74 -0
- package/skills/k2b-ui/references/look.md +468 -0
- package/skills/k2b-ui/references/mistakes.md +218 -0
- package/skills/k2b-ui/references/mockups.md +260 -0
- package/skills/k2b-ui/references/primitives.md +1438 -0
- package/skills/k2b-ui/references/recipes.md +515 -0
- package/skills/k2b-ui/references/seeing.md +78 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import { type OnNavigate, type Person, type State } from "./types";
|
|
3
|
+
/** Inline custom properties are the primitive's own business: data colours and measured widths, never layout. */
|
|
4
|
+
export declare const custom: (values: Record<string, string | undefined>) => JSX.CSSProperties | undefined;
|
|
5
|
+
export { Icon, type IconProps } from "./icon";
|
|
6
|
+
export type AvatarProps = Person & {
|
|
7
|
+
/**
|
|
8
|
+
* The name stands right beside the avatar (a record head, a button with words): the avatar is then decoration and
|
|
9
|
+
* says nothing a second time. The places that show the name set it themselves.
|
|
10
|
+
*/
|
|
11
|
+
decorative?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const Face: (props: AvatarProps & {
|
|
14
|
+
place?: number;
|
|
15
|
+
}) => JSX.Element;
|
|
16
|
+
export type AvatarStackProps = {
|
|
17
|
+
/** The people, in order: who changed last, who has access. */
|
|
18
|
+
people: readonly Person[];
|
|
19
|
+
/** How many show before "+n" takes the rest: 3 when not set. */
|
|
20
|
+
max?: number;
|
|
21
|
+
/**
|
|
22
|
+
* How many people there are in all, when `people` holds only the first of them (the ones a page loaded): "+n" then
|
|
23
|
+
* counts the rest of the total. Give a `label` with the total too, such as "Felix, Jonas und 238 weitere".
|
|
24
|
+
*/
|
|
25
|
+
total?: number;
|
|
26
|
+
/** A name for the whole stack, for assistive technology; without one the names of all the people. */
|
|
27
|
+
label?: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* People side by side, each over the one before it with a ring of the surface, and "+n" for the rest. The stack is
|
|
31
|
+
* one picture with one name; the avatars in it are decoration. 20 px everywhere, each over the one before by 2 px.
|
|
32
|
+
*/
|
|
33
|
+
declare const AvatarStack: (props: AvatarStackProps) => JSX.Element;
|
|
34
|
+
export declare const Avatar: ((props: AvatarProps) => JSX.Element) & {
|
|
35
|
+
Stack: typeof AvatarStack;
|
|
36
|
+
};
|
|
37
|
+
export type MarkProps = {
|
|
38
|
+
/** A Tabler icon for the kind of thing, such as `table`, `folder` or `tool`. */
|
|
39
|
+
icon: string;
|
|
40
|
+
/**
|
|
41
|
+
* The data colour of the thing: a base, a storage, a mailbox, or the colour of its type (a table, a form, a PDF).
|
|
42
|
+
* Without one the mark stays neutral; give one wherever the data has it.
|
|
43
|
+
*/
|
|
44
|
+
color?: string;
|
|
45
|
+
/**
|
|
46
|
+
* A small picture of the thing, such as the thumbnail of a photo or the first page of a PDF. It lies over the tinted
|
|
47
|
+
* symbol in the same place: while it loads and when it fails the symbol shows, and nothing moves.
|
|
48
|
+
*/
|
|
49
|
+
image?: string;
|
|
50
|
+
/** The type in two to four letters on the corner of the picture or symbol, such as `PDF` or `XLS`. */
|
|
51
|
+
kind?: string;
|
|
52
|
+
/** A name for assistive technology; without one the mark is decoration, because the name stands beside it. */
|
|
53
|
+
label?: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* What a thing looks like: its symbol on a tint of its colour, or its picture, in one square place. Every row, tile
|
|
57
|
+
* and sidebar entry that stands for a thing leads with it (rule: each thing carries its mark). The place sets the
|
|
58
|
+
* size: 20 px in the sidebar and in a sentence, 24 px leading a row or a table's cell, and 32 px there when the list
|
|
59
|
+
* shows pictures of its things (a mark with `image` or `kind`, as files and media are; folders beside them take the
|
|
60
|
+
* same 32). A row that leads with a mark is 44 px; on the phone 56 with a mark of 40. 36 px on a tile.
|
|
61
|
+
*/
|
|
62
|
+
export declare const Mark: (props: MarkProps) => JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* The mark that leads a record's head (`RecordHead mark`): it says its place in its own markup, so the stylesheet
|
|
65
|
+
* sizes it without looking at what follows it.
|
|
66
|
+
*/
|
|
67
|
+
export declare const RecordMark: (props: Omit<MarkProps, "label">) => JSX.Element;
|
|
68
|
+
export type PreviewProps = {
|
|
69
|
+
/** What the picture shows, for assistive technology, such as "Vorschau von Ansicht Front Eiche.jpg". */
|
|
70
|
+
label: string;
|
|
71
|
+
/** The thing's symbol, which stands while the picture loads, when it fails, and for a thing without a picture. */
|
|
72
|
+
icon: string;
|
|
73
|
+
/** The data colour of the thing or of its kind, as on its `Mark`. */
|
|
74
|
+
color?: string;
|
|
75
|
+
/** The address of the picture: a photo, the first page of a PDF, a frame of a video. */
|
|
76
|
+
image?: string;
|
|
77
|
+
/** The type on the corner, such as `PDF`, or the length of a video, such as `2:14`. */
|
|
78
|
+
kind?: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* A large picture of the open thing at the top of its detail: 4:3 from text edge to text edge, round like the thing's
|
|
82
|
+
* mark. Without a picture, or while it loads or fails, the thing's symbol stands large on the
|
|
83
|
+
* tint of its colour in the same place, so nothing moves. It stands where the detail's text starts; it is never a
|
|
84
|
+
* box inside a box.
|
|
85
|
+
*/
|
|
86
|
+
export declare const Preview: (props: PreviewProps) => JSX.Element;
|
|
87
|
+
export type CoverProps = {
|
|
88
|
+
/** The address of the picture, such as the banner of a place. Without one there is no cover, and no empty band. */
|
|
89
|
+
src?: string;
|
|
90
|
+
/**
|
|
91
|
+
* What the picture shows, for people who cannot see it; `""` when it is decoration, such as a banner right above the
|
|
92
|
+
* name of its place.
|
|
93
|
+
*/
|
|
94
|
+
alt: string;
|
|
95
|
+
/**
|
|
96
|
+
* The cover stands above a task, such as a form, and only says where the person is: 72 to 88 px high instead of 120
|
|
97
|
+
* to 180 px.
|
|
98
|
+
*/
|
|
99
|
+
slim?: boolean;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* A picture across its place, such as a place's banner at the top of its page or detail: from edge to edge, cut to its
|
|
103
|
+
* height. The height follows the width of the place alone (a third of it, 120 to 180 px; `slim` a sixth, 72 to 88 px),
|
|
104
|
+
* so the server's page already holds the room and nothing moves when the picture comes. While it loads, and when it
|
|
105
|
+
* fails, a quiet tint fills the room. Without a picture the cover is not there at all.
|
|
106
|
+
*/
|
|
107
|
+
export declare const Cover: (props: CoverProps) => JSX.Element;
|
|
108
|
+
export type SparkProps = {
|
|
109
|
+
/** The values in their order, oldest first; the last one (today, this hour) stands in full colour. */
|
|
110
|
+
values: readonly number[];
|
|
111
|
+
/**
|
|
112
|
+
* What the bars say, in one sentence a person who cannot see them gets the same from: the thing, the direction and
|
|
113
|
+
* the numbers that matter, such as "Werkstatt: in 7 Tagen von 12 auf 41 Änderungen gestiegen". Not only the title
|
|
114
|
+
* of the data ("Änderungen der letzten 7 Tage"): a rise, a fall and a flat line would then say the same.
|
|
115
|
+
*/
|
|
116
|
+
label: string;
|
|
117
|
+
/**
|
|
118
|
+
* The value that fills the height. Sparks side by side that people compare share one `max`, so the same value has the
|
|
119
|
+
* same height in each; a value above it stands at the top. Without it a spark scales to its own highest value.
|
|
120
|
+
*/
|
|
121
|
+
max?: number;
|
|
122
|
+
/**
|
|
123
|
+
* The data colour of the thing the history belongs to, where it is not the colour around it: a hex colour, an
|
|
124
|
+
* `oklch()` or `var(--…)`. The bars take its soft tone and the last one its ink.
|
|
125
|
+
*/
|
|
126
|
+
color?: string;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* A few small bars of a short history, such as changes per day: in the colour of the thing it stands beside (its
|
|
130
|
+
* mark's colour), else of the app. 20 px high; only for a trend people glance at, never instead of a number.
|
|
131
|
+
*/
|
|
132
|
+
export declare const Spark: (props: SparkProps) => JSX.Element;
|
|
133
|
+
export type ChipProps = {
|
|
134
|
+
children: JSX.Element;
|
|
135
|
+
/** A symbol before the word. */
|
|
136
|
+
icon?: string;
|
|
137
|
+
} & ({
|
|
138
|
+
/**
|
|
139
|
+
* A plain chip you can press, such as "1 linked" or "+ Tag": then it is a control with a frame (rule 8).
|
|
140
|
+
*/
|
|
141
|
+
onClick?: () => void;
|
|
142
|
+
href?: string;
|
|
143
|
+
/** With `href`: opens the page in place on a plain click (see `OnNavigate`). */
|
|
144
|
+
onNavigate?: OnNavigate;
|
|
145
|
+
/** A pressable chip that is on, such as an active filter: in the tint of the app. */
|
|
146
|
+
pressed?: boolean;
|
|
147
|
+
remove?: never;
|
|
148
|
+
} | {
|
|
149
|
+
/**
|
|
150
|
+
* A remove button after the words, named for what it removes ("Anna Berg entfernen"), for a chip that stands
|
|
151
|
+
* for something that can be taken away, such as a person or a filter. A chip that is pressed itself has none
|
|
152
|
+
* (no button in a button). After a press the focus goes to the next chip's remove button, else the one before.
|
|
153
|
+
*/
|
|
154
|
+
remove: {
|
|
155
|
+
name: string;
|
|
156
|
+
onClick: () => void;
|
|
157
|
+
};
|
|
158
|
+
onClick?: never;
|
|
159
|
+
href?: never;
|
|
160
|
+
onNavigate?: never;
|
|
161
|
+
pressed?: never;
|
|
162
|
+
}) & ({
|
|
163
|
+
/**
|
|
164
|
+
* A state with a dot and a word: ok, waiting or wrong; or one that asks for nothing: `neutral` (a grey dot),
|
|
165
|
+
* `open` (a hollow ring), `running` (a ring that turns, still where the person asks for less motion).
|
|
166
|
+
*/
|
|
167
|
+
status: State;
|
|
168
|
+
/**
|
|
169
|
+
* The state as its dot and its word only, without the tinted round: for a column of states in a dense table or
|
|
170
|
+
* list, where a chip on every line is too loud. A state that asks for nothing keeps its word in the ink of the
|
|
171
|
+
* text; `warn` and `bad` colour their word too. Each keeps the row's weight; colour and mark carry the state.
|
|
172
|
+
*/
|
|
173
|
+
quiet?: boolean;
|
|
174
|
+
yours?: never;
|
|
175
|
+
tag?: never;
|
|
176
|
+
amount?: never;
|
|
177
|
+
ai?: never;
|
|
178
|
+
} | {
|
|
179
|
+
status?: never;
|
|
180
|
+
quiet?: never;
|
|
181
|
+
/** "You are next" in the blue of selection; with `dot` a state that is being worked on ("in Arbeit"). */
|
|
182
|
+
yours: true;
|
|
183
|
+
dot?: boolean;
|
|
184
|
+
tag?: never;
|
|
185
|
+
amount?: never;
|
|
186
|
+
ai?: never;
|
|
187
|
+
} | {
|
|
188
|
+
status?: never;
|
|
189
|
+
quiet?: never;
|
|
190
|
+
yours?: never;
|
|
191
|
+
/** A tag in its data colour. */
|
|
192
|
+
tag: true;
|
|
193
|
+
color?: string;
|
|
194
|
+
amount?: never;
|
|
195
|
+
ai?: never;
|
|
196
|
+
} | {
|
|
197
|
+
status?: never;
|
|
198
|
+
quiet?: never;
|
|
199
|
+
yours?: never;
|
|
200
|
+
tag?: never;
|
|
201
|
+
/** An amount of money that goes out (we pay) or comes in. */
|
|
202
|
+
amount: "out" | "in";
|
|
203
|
+
/** The arrow in a circle and the number, without the badge ground. Keeps the surrounding type. */
|
|
204
|
+
variant?: "mark";
|
|
205
|
+
ai?: never;
|
|
206
|
+
} | {
|
|
207
|
+
status?: never;
|
|
208
|
+
quiet?: never;
|
|
209
|
+
yours?: never;
|
|
210
|
+
tag?: never;
|
|
211
|
+
amount?: never /** Something Gustav proposes, in plum. */;
|
|
212
|
+
ai: true;
|
|
213
|
+
} | {
|
|
214
|
+
status?: never;
|
|
215
|
+
quiet?: never;
|
|
216
|
+
yours?: never;
|
|
217
|
+
tag?: never;
|
|
218
|
+
amount?: never;
|
|
219
|
+
ai?: never;
|
|
220
|
+
});
|
|
221
|
+
/** A round mark that shows a state, a tag, an amount or a count. Never a colour without a word. */
|
|
222
|
+
export declare const Chip: (props: ChipProps) => JSX.Element;
|
|
223
|
+
/** A small round dot of a state (internal: a row marks "unread" with it, the sidebar "new"). */
|
|
224
|
+
export declare const Dot: (props: {
|
|
225
|
+
status?: State | "app";
|
|
226
|
+
label?: string;
|
|
227
|
+
}) => JSX.Element;
|
|
228
|
+
/**
|
|
229
|
+
* The state of one slot of `Ticks`: it went well, it was slow or waiting (`warn`), it failed, there is no data for
|
|
230
|
+
* it, or, for slots that count places (the staff of a shift), a place not filled (`open`, an amber outline).
|
|
231
|
+
*/
|
|
232
|
+
export type TickState = "ok" | "warn" | "bad" | "none" | "open";
|
|
233
|
+
export type TicksProps = {
|
|
234
|
+
/**
|
|
235
|
+
* One state per time slot, oldest first, such as one per minute of the last 30 minutes. They read in the writing
|
|
236
|
+
* direction: the oldest at the start (on the right in a page written right to left). In a table cell at most 60
|
|
237
|
+
* slots: the cell's 140 px hold no more, and a strip with more is cut at its end.
|
|
238
|
+
*/
|
|
239
|
+
slots: readonly TickState[];
|
|
240
|
+
/**
|
|
241
|
+
* What the ticks say, in one sentence a person who cannot see them gets the same from, always in the same form:
|
|
242
|
+
* what, over which time, then what happened, such as "postgres-haupt, letzte 30 Minuten: 3 von 30 Abrufen
|
|
243
|
+
* fehlgeschlagen".
|
|
244
|
+
*/
|
|
245
|
+
label: string;
|
|
246
|
+
/** The data colour of what the ticks belong to; without it the colour of the app. Failures stay red. */
|
|
247
|
+
color?: string;
|
|
248
|
+
/**
|
|
249
|
+
* The ticks take the room between the text edges of their place, such as a detail: 2 px apart, each slot up to 12 px
|
|
250
|
+
* wide, the strip at the start where the place is wider; without it 140 px, the width of a table cell.
|
|
251
|
+
*/
|
|
252
|
+
stretch?: boolean;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* One tick per time slot, such as the scrapes of the last 30 minutes: ok in the soft colour of what it belongs to, a
|
|
256
|
+
* failure red and taller, a slot without data a low stub. 20 px high; the one column of a list that shows its data
|
|
257
|
+
* over time.
|
|
258
|
+
*/
|
|
259
|
+
export declare const Ticks: (props: TicksProps) => JSX.Element;
|
|
260
|
+
export type ProgressProps = {
|
|
261
|
+
value: number;
|
|
262
|
+
of: number;
|
|
263
|
+
/** The words next to the bar, such as "Arbeitstag 5 von 22". */
|
|
264
|
+
label?: string;
|
|
265
|
+
/**
|
|
266
|
+
* A bar near or at its limit says so in colour too: `warn` (almost full), `bad` (full, over). The words that say
|
|
267
|
+
* why stand beside it (a chip, a hint); never a colour alone.
|
|
268
|
+
*/
|
|
269
|
+
status?: "warn" | "bad";
|
|
270
|
+
};
|
|
271
|
+
/** A thin bar with its value. */
|
|
272
|
+
export declare const Progress: (props: ProgressProps) => JSX.Element;
|
|
273
|
+
export type RangeBarProps = {
|
|
274
|
+
/** The one scale the bars of a list share, such as the week's lowest low and highest high. */
|
|
275
|
+
domain: readonly [number, number];
|
|
276
|
+
/**
|
|
277
|
+
* Colours along the scale by meaning, such as cold to warm: each holds at its value and runs over into the next. A
|
|
278
|
+
* colour is a hex colour, an `oklch()`, a custom property of the page or `light-dark()` of two of them, which the
|
|
279
|
+
* owner keeps at 3:1 on the surface in both themes; a stop that is no colour is dropped. Without stops the bar is
|
|
280
|
+
* neutral.
|
|
281
|
+
*/
|
|
282
|
+
stops?: readonly {
|
|
283
|
+
at: number;
|
|
284
|
+
color: string;
|
|
285
|
+
}[];
|
|
286
|
+
} & ({
|
|
287
|
+
/** Where the range starts and ends, such as a day's low and high; the order does not matter. */
|
|
288
|
+
from: number;
|
|
289
|
+
to: number;
|
|
290
|
+
ranges?: undefined;
|
|
291
|
+
} | {
|
|
292
|
+
/**
|
|
293
|
+
* Several ranges in one row, such as a day's opening hours with a break (8 to 12 and 14 to 18), in any order; an
|
|
294
|
+
* empty list leaves the track empty (a day that is closed).
|
|
295
|
+
*/
|
|
296
|
+
ranges: readonly {
|
|
297
|
+
from: number;
|
|
298
|
+
to: number;
|
|
299
|
+
}[];
|
|
300
|
+
from?: undefined;
|
|
301
|
+
to?: undefined;
|
|
302
|
+
}) & ({
|
|
303
|
+
/**
|
|
304
|
+
* The range in words, such as "2,9° bis 9,1°", with every range of the row ("Mo.: 08:00 bis 12:00 und 14:00
|
|
305
|
+
* bis 18:00"): what assistive technology reads instead of the bar.
|
|
306
|
+
*/
|
|
307
|
+
label: string;
|
|
308
|
+
decorative?: false;
|
|
309
|
+
} | {
|
|
310
|
+
/** The range's words stand beside the bar (its low and high as text): the bar is then decoration. */
|
|
311
|
+
decorative: true;
|
|
312
|
+
label?: string;
|
|
313
|
+
});
|
|
314
|
+
/**
|
|
315
|
+
* A range on a shared scale: a bar from `from` to `to` on a quiet track, so the rows of a list read at a glance (the
|
|
316
|
+
* week's days by their low and high). `ranges` puts several on one track, such as opening hours with a break. It reads
|
|
317
|
+
* in the writing direction, as `Ticks` do: the scale's start stands at the line's start. With `stops` each bar shows
|
|
318
|
+
* the colours of its part of the scale. A range outside the scale stops at its ends; a range that is no number is
|
|
319
|
+
* left out, and without one the track stays empty.
|
|
320
|
+
*/
|
|
321
|
+
export declare const RangeBar: (props: RangeBarProps) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import { type MenuPanel } from "./menu";
|
|
3
|
+
/**
|
|
4
|
+
* A panel for a menu entry, such as a `DatePicker`: `{ label: "Datum und Uhrzeit …", panel: menuPanel((close) =>
|
|
5
|
+
* <DatePicker … onChange={(value) => { pick(value); close(); }} />) }`. The content is made once while it is open.
|
|
6
|
+
*/
|
|
7
|
+
export declare const menuPanel: (content: (close: () => void) => JSX.Element) => MenuPanel;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { type Accessor, type JSX } from "solid-js";
|
|
2
|
+
import { type MenuLevelParts } from "./behavior/menu";
|
|
3
|
+
import type { OnNavigate } from "./types";
|
|
4
|
+
/**
|
|
5
|
+
* One entry of a menu, as data. `onClick` runs it; a Promise keeps the menu open and the entry busy until it settles.
|
|
6
|
+
* `href` makes it a link. `checked` makes it an entry that toggles (the tick stands at its end, like in a selection).
|
|
7
|
+
* `items` opens a submenu to the side, `panel` a panel such as a calendar. `danger` is red and stands after a line.
|
|
8
|
+
*/
|
|
9
|
+
export type MenuItem = {
|
|
10
|
+
/** The words of the entry. */
|
|
11
|
+
label: string;
|
|
12
|
+
/** A Tabler icon name without the `ti-` prefix. */
|
|
13
|
+
icon?: string;
|
|
14
|
+
/** A quiet decorative Tabler icon after the words and metadata. */
|
|
15
|
+
endIcon?: string;
|
|
16
|
+
/** Extra words for assistive technology when `endIcon` carries meaning; appended to the entry's name. */
|
|
17
|
+
iconLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The data colour of the thing the entry stands for, such as an area or a calendar: a dot before its words where
|
|
20
|
+
* the entry has no icon, else its icon in that colour (a hex colour kept at 3:1 on the menu, light and dark). It goes
|
|
21
|
+
* through the colour guard (a value that is no colour leaves a neutral dot and a neutral icon) and is decoration: the
|
|
22
|
+
* entry's name stays its words.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
/** The deed; a returned Promise keeps the menu open and the entry busy until it settles. */
|
|
26
|
+
onClick?: () => unknown;
|
|
27
|
+
/** The page the entry opens, as a link. */
|
|
28
|
+
href?: string;
|
|
29
|
+
/** With `href`: opens the page in place on a plain click or Enter, as a tab or a row does (see `OnNavigate`). */
|
|
30
|
+
onNavigate?: OnNavigate;
|
|
31
|
+
/** Red, for a deed that destroys; the menu puts a line before the first one. */
|
|
32
|
+
danger?: boolean;
|
|
33
|
+
/** The entry cannot be chosen now: dimmed, and focus passes over it. */
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
/** A quiet hint at the end, such as the key that does the same ("⌘ D"). */
|
|
36
|
+
meta?: string;
|
|
37
|
+
/**
|
|
38
|
+
* One quiet sentence under the words that says what the entry means, such as what a level of access allows
|
|
39
|
+
* ("Sieht den Inhalt."), or why a disabled entry cannot be chosen now. The entry grows to two lines.
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The value set now through this entry's submenu or panel, such as the time a reminder is due: it stands at the end
|
|
44
|
+
* in the app's colour, as a filter shows a bound that is set, and is part of the entry's name. It takes the place
|
|
45
|
+
* of `meta`, which does not show beside it.
|
|
46
|
+
*/
|
|
47
|
+
current?: string;
|
|
48
|
+
/** An entry that toggles: `onClick` flips it. */
|
|
49
|
+
checked?: boolean;
|
|
50
|
+
/** A submenu, opened to the side. */
|
|
51
|
+
items?: readonly MenuEntry[];
|
|
52
|
+
/**
|
|
53
|
+
* In place of `items`: a panel, such as a `DatePicker`, opened as the next step: it takes the place of the menu the
|
|
54
|
+
* entry stands in (on the phone a sheet of its own) under a head that leads back, and Escape leads back too. Made with
|
|
55
|
+
* `menuPanel((close) => …)`, which brings the panel's code along, so a menu without a panel loads none of it. Its keys
|
|
56
|
+
* stay its own (the arrows walk a calendar, not the menu); `close` closes the menu once the panel has picked.
|
|
57
|
+
*/
|
|
58
|
+
panel?: MenuPanel;
|
|
59
|
+
/** In a section with `choice`: what choosing this entry gives; its `label` by default. */
|
|
60
|
+
value?: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Entries under a heading, such as "Antwortart". With `choice` the section is one choice: its entries are options,
|
|
64
|
+
* the one whose `value` (or `label`) is `choice` carries the tick, and choosing one closes the menu and calls
|
|
65
|
+
* `onChoose` with its value; choosing the ticked one only closes it. The menu draws a line between a section and what
|
|
66
|
+
* stands around it.
|
|
67
|
+
*/
|
|
68
|
+
export type MenuSection = {
|
|
69
|
+
/**
|
|
70
|
+
* The quiet heading over the entries, such as "Sortieren nach". "" leaves it out, for a choice whose entries say
|
|
71
|
+
* enough by themselves (offered times, with the one set now ticked).
|
|
72
|
+
*/
|
|
73
|
+
title: string;
|
|
74
|
+
/** The entries under the heading. */
|
|
75
|
+
items: readonly MenuItem[];
|
|
76
|
+
/** Makes the section one choice: the value of the chosen entry, which carries the tick. */
|
|
77
|
+
choice?: string;
|
|
78
|
+
/** Called with the value of the entry chosen in a section with `choice`; choosing closes the menu. */
|
|
79
|
+
onChoose?: (value: string) => void;
|
|
80
|
+
};
|
|
81
|
+
/** An entry, a section of entries under a heading, or a line between groups of entries. */
|
|
82
|
+
export type MenuEntry = MenuItem | MenuSection | "separator";
|
|
83
|
+
type Variant = "primary" | "secondary" | "ghost" | "text";
|
|
84
|
+
/** How a menu's or popover's button looks: the same props as `Button`. */
|
|
85
|
+
export type TriggerProps = {
|
|
86
|
+
/** `ghost` by default for a symbol alone, framed (`secondary`) with words. */
|
|
87
|
+
variant?: Variant;
|
|
88
|
+
/** A Tabler icon name; a button without words shows `dots`. */
|
|
89
|
+
icon?: string;
|
|
90
|
+
/** The button cannot open now: dimmed, and pressed no time. */
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The head's twin of `Workspace`'s `primary` (a main action that opens a menu, such as "Neu"): on the phone the
|
|
94
|
+
* floating button stands for it, so the head lets it go there. As `Button floats`.
|
|
95
|
+
*/
|
|
96
|
+
floats?: boolean;
|
|
97
|
+
} & ({
|
|
98
|
+
/** The words on the button; a chevron follows them. */
|
|
99
|
+
children: JSX.Element;
|
|
100
|
+
/** Another name for assistive technology, only where the words alone do not say enough. */
|
|
101
|
+
label?: string;
|
|
102
|
+
} | {
|
|
103
|
+
children?: undefined;
|
|
104
|
+
/** The name of the button without words; it shows as a hint. Defaults to "More actions". */
|
|
105
|
+
label?: string;
|
|
106
|
+
});
|
|
107
|
+
export type MenuProps = TriggerProps & {
|
|
108
|
+
/** The entries: items, sections under a heading, and `"separator"` between groups. */
|
|
109
|
+
items: readonly MenuEntry[];
|
|
110
|
+
/**
|
|
111
|
+
* The page's own menu "…" in its head, which a host repeats in a bar of its own on the phone (Cloud's phone bar, as
|
|
112
|
+
* `V2WorkspaceNavigation` `menu`): where the host says so (`data-k2-host-menu` on the v2 scope), the
|
|
113
|
+
* head lets it go there, so the head's start keeps the room. Elsewhere it stays.
|
|
114
|
+
*/
|
|
115
|
+
hosted?: boolean;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Lines between groups: before the first dangerous entry after others, and around a section; no line at the start,
|
|
119
|
+
* the end or twice.
|
|
120
|
+
*/
|
|
121
|
+
export declare const menuEntries: (entries: readonly MenuEntry[]) => MenuEntry[];
|
|
122
|
+
/** The inside of a menu's or popover's button, as `Button` draws it. */
|
|
123
|
+
export declare const TriggerFace: (props: {
|
|
124
|
+
icon?: string;
|
|
125
|
+
label: JSX.Element;
|
|
126
|
+
iconOnly: boolean;
|
|
127
|
+
chevron: boolean;
|
|
128
|
+
}) => JSX.Element;
|
|
129
|
+
/** Where a popup lines up with its button: under its start, or under its end when the button sits on the right. */
|
|
130
|
+
export declare const alignTo: (element: HTMLElement | undefined) => "start" | "end";
|
|
131
|
+
/** The room a menu, a submenu or a panel keeps from the edges of the window, in px. */
|
|
132
|
+
export declare const edgeRoom = 8;
|
|
133
|
+
/** What `menuPanel` makes: the panel's content and the entry that opens it. */
|
|
134
|
+
export type MenuPanel = {
|
|
135
|
+
readonly content: (close: () => void) => JSX.Element;
|
|
136
|
+
readonly Entry: (props: MenuPanelEntryProps) => JSX.Element;
|
|
137
|
+
};
|
|
138
|
+
/** What a panel's entry gets from its menu (internal: `menu-panel.tsx`). */
|
|
139
|
+
export type MenuPanelEntryProps = {
|
|
140
|
+
level: MenuLevelParts;
|
|
141
|
+
item: MenuItem;
|
|
142
|
+
keyed: Record<string, unknown>;
|
|
143
|
+
lead: boolean;
|
|
144
|
+
};
|
|
145
|
+
/** The words of an entry, its symbol and what it set (internal: also `menu-panel.tsx`). */
|
|
146
|
+
export declare const EntryFace: (props: {
|
|
147
|
+
item: MenuItem;
|
|
148
|
+
lead: boolean;
|
|
149
|
+
end?: JSX.Element;
|
|
150
|
+
}) => JSX.Element;
|
|
151
|
+
/**
|
|
152
|
+
* What a `Bar` hands the menus of its end: the menu that takes its folded buttons (`host`), those buttons as entries,
|
|
153
|
+
* and the offer of an icon-only menu to take them. Internal to `Bar` and `Menu`.
|
|
154
|
+
*/
|
|
155
|
+
export type BarFoldHost = {
|
|
156
|
+
offer: (trigger: HTMLElement) => () => void;
|
|
157
|
+
host: Accessor<HTMLElement | undefined>;
|
|
158
|
+
entries: Accessor<readonly MenuItem[]>;
|
|
159
|
+
};
|
|
160
|
+
export declare const BarFold: import("solid-js").Context<BarFoldHost | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* A tab that opens a menu of further views (internal to `Tabs`): it looks like a tab, with the chevron after its
|
|
163
|
+
* words, and is the menu's button, so Enter, Space and the arrow down open it and Escape brings the focus back.
|
|
164
|
+
*/
|
|
165
|
+
export declare const MenuTab: (props: {
|
|
166
|
+
items: readonly MenuEntry[];
|
|
167
|
+
current?: boolean;
|
|
168
|
+
/** The "Mehr" that `Tabs` adds for the tabs without room (`data-k2-more`). */
|
|
169
|
+
more?: boolean;
|
|
170
|
+
children: JSX.Element;
|
|
171
|
+
}) => JSX.Element;
|
|
172
|
+
export type MenuContextProps = {
|
|
173
|
+
/** The entries, the same as those of the "…" beside the element. */
|
|
174
|
+
items: readonly MenuEntry[];
|
|
175
|
+
/** The one element the menu belongs to, such as a `Row`; it gets no wrapper. */
|
|
176
|
+
children: JSX.Element;
|
|
177
|
+
/** No menu opens on a right-click or a long press; the browser's own menu shows instead. */
|
|
178
|
+
disabled?: boolean;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* The same menu on a thing itself: a right-click or a long press opens it at the pointer, Shift+F10 or the context
|
|
182
|
+
* menu key at the thing. The thing keeps its own element; nothing wraps it.
|
|
183
|
+
*/
|
|
184
|
+
declare const MenuContext: (props: MenuContextProps) => JSX.Element;
|
|
185
|
+
export declare const Menu: ((props: MenuProps) => JSX.Element) & {
|
|
186
|
+
Context: typeof MenuContext;
|
|
187
|
+
};
|
|
188
|
+
/** The menu of an `Action` with `items` (internal to `ActionButton`): a bar's "…" takes it in as a submenu. */
|
|
189
|
+
export declare const ActionMenu: (props: MenuProps) => JSX.Element;
|
|
190
|
+
/** The "…" of a tree place or a media tile (internal, see `MenuRootProps`). */
|
|
191
|
+
export declare const PointerMenu: (props: MenuProps) => JSX.Element;
|
|
192
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** A sidebar place that takes a dragged row (`navDrop`), as `Nav` item `drop`. */
|
|
2
|
+
export type NavDrop = {
|
|
3
|
+
/** Binds the place's element (internal: `Nav` calls it once the entry stands). */
|
|
4
|
+
bind: (element: HTMLElement) => void;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Lets a `Nav` place take a row dragged onto it (`Row drag`), such as a mail onto a folder: while a row it `accepts`
|
|
8
|
+
* (all, when left out) is over it, the place shows the blue of a selection with its edge (`data-drop-over`), and on
|
|
9
|
+
* release `onDrop` gets the row's `data`. A part of its own, as `navTree` and `menuPanel`: only an app that drops onto
|
|
10
|
+
* its sidebar carries this code. Dragging is for the pointer; give the same move a keyboard way too (the row's menu,
|
|
11
|
+
* "Verschieben").
|
|
12
|
+
*/
|
|
13
|
+
export declare const navDrop: (drop: {
|
|
14
|
+
accepts?: (data: unknown) => boolean;
|
|
15
|
+
onDrop: (data: unknown) => void;
|
|
16
|
+
}) => NavDrop;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from "solid-js";
|
|
2
|
+
import type { Person } from "./types";
|
|
3
|
+
/** A person's face in the place of a sidebar entry's symbol (`navFace`), as `Nav` item `face`. */
|
|
4
|
+
export type NavFace = {
|
|
5
|
+
/** Makes the face (internal: `Nav` calls it where the symbol would stand). */
|
|
6
|
+
render: () => JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* A person's place in the sidebar, such as their mailbox, leads with their face (20 px) instead of a symbol. A part of
|
|
10
|
+
* its own, as `navDrop` and `navTree`: only an app whose sidebar shows people carries the avatar's code.
|
|
11
|
+
*/
|
|
12
|
+
export declare const navFace: (person: Person) => NavFace;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import { type MenuEntry } from "./menu";
|
|
3
|
+
import type { OnNavigate, Status } from "./types";
|
|
4
|
+
/** One place in a tree, such as a folder of Files or a page of a notebook. */
|
|
5
|
+
export type NavTreeNode = {
|
|
6
|
+
/** Stable and unique in the whole tree. */
|
|
7
|
+
key: string;
|
|
8
|
+
label: string;
|
|
9
|
+
/** A Tabler icon name, such as `folder`; places of one tree all have one or all have none. */
|
|
10
|
+
icon?: string;
|
|
11
|
+
/** Where the place leads; a node without one only folds its children open. */
|
|
12
|
+
href?: string;
|
|
13
|
+
/** With `href`: opens the page in place on a plain click (see `OnNavigate`). */
|
|
14
|
+
onNavigate?: OnNavigate;
|
|
15
|
+
count?: number | string;
|
|
16
|
+
/** Something new here. */
|
|
17
|
+
dot?: Status;
|
|
18
|
+
/** The children loaded so far. Leave out while they are not loaded and set `branch`. */
|
|
19
|
+
children?: readonly NavTreeNode[];
|
|
20
|
+
/** It has children that load the first time it opens (the tree's `load`). */
|
|
21
|
+
branch?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* More children exist than `children` holds: a last entry "Weitere laden" loads the next page through the tree's
|
|
24
|
+
* `loadMore`. A number says how many are still to come.
|
|
25
|
+
*/
|
|
26
|
+
more?: true | number;
|
|
27
|
+
/** The deeds of this place, such as "Umbenennen": a "…" at its end, a right-click, Shift+F10 or the menu key. */
|
|
28
|
+
menu?: readonly MenuEntry[];
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* A tree of places, such as the folders of Files or the pages of a notebook. Pressing a place opens its page;
|
|
32
|
+
* pressing the arrow before it, or Right and Left, folds it open and shut without leaving the page. The open place is
|
|
33
|
+
* marked and the way to it stands open; it must be among the loaded nodes, with its ancestors.
|
|
34
|
+
*/
|
|
35
|
+
export type NavTree = {
|
|
36
|
+
/** The tree's name for assistive technology, such as "Ordner". */
|
|
37
|
+
label: string;
|
|
38
|
+
items: readonly NavTreeNode[];
|
|
39
|
+
/** The key of the open place. */
|
|
40
|
+
current?: string;
|
|
41
|
+
/** The open branches. Leave out and the tree keeps them itself, starting with the way to `current`. */
|
|
42
|
+
expanded?: readonly string[];
|
|
43
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Loads the children of a `branch` without `children` the first time it opens; the app then puts them into
|
|
46
|
+
* `items`. While it runs the branch says so; a rejection marks it failed, and opening it again tries again.
|
|
47
|
+
*/
|
|
48
|
+
load?: (key: string, context: {
|
|
49
|
+
signal: AbortSignal;
|
|
50
|
+
}) => Promise<unknown>;
|
|
51
|
+
/** More places stand at the top level than `items` holds (as a node's `more`). */
|
|
52
|
+
more?: true | number;
|
|
53
|
+
/** Loads the next page of the children of `key` (`null`: of the top level); the app adds them to `items`. */
|
|
54
|
+
loadMore?: (key: string | null) => Promise<unknown>;
|
|
55
|
+
};
|
|
56
|
+
/** The keys from the top down to the parent of `key`, or undefined when `key` is not among the loaded nodes. */
|
|
57
|
+
export declare const treePath: (nodes: readonly NavTreeNode[], key: string) => string[] | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* A `Nav` group's tree as `navTree` makes it: the places and the view that draws them. The view comes with the data,
|
|
60
|
+
* so a page whose `Nav` draws no tree loads none of its code.
|
|
61
|
+
*/
|
|
62
|
+
export type NavTreeGroup = NavTree & {
|
|
63
|
+
readonly view: (props: NavTree) => JSX.Element;
|
|
64
|
+
};
|
|
65
|
+
/** The tree of a `Nav` group: `groups={[{ label: "Ordner", tree: navTree({ label, items, current, load }) }]}`. */
|
|
66
|
+
export declare const navTree: (tree: NavTree) => NavTreeGroup;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const checkNowMessages: () => import("@k2b/stdlib").CatalogIssue[];
|
|
2
|
+
export type NowLineProps = {
|
|
3
|
+
/** The time now as the page shows it, such as "10:40". */
|
|
4
|
+
time: string;
|
|
5
|
+
/** The same moment for machines (`<time datetime>`), such as "2026-11-30T10:40". */
|
|
6
|
+
datetime?: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* "Now" between two rows of a `List` ordered by time, such as today's tasks and dates: the time at the left and a thin
|
|
10
|
+
* line in the app's colour. It takes no height, so nothing moves when it comes, goes or moves on a minute later. The
|
|
11
|
+
* app puts it where its sort key says (`nowIndex`); assistive technology hears it as an entry "Jetzt, 10:40".
|
|
12
|
+
*/
|
|
13
|
+
export declare const NowLine: (props: NowLineProps) => import("solid-js").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* Where "now" stands among rows sorted by a key that rises (a time, a date as text or a number): the index of the
|
|
16
|
+
* first row after now, so `NowLine` goes before it; the length of the list when all are earlier, 0 when all are later.
|
|
17
|
+
* A row at exactly now stays before the line.
|
|
18
|
+
*/
|
|
19
|
+
export declare const nowIndex: <T extends number | string>(keys: readonly T[], now: T) => number;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** The words of Menu, Popover and Toast, resolved from the inherited render locale. */
|
|
2
|
+
declare const overlayMessages: import("@k2b/stdlib").Catalog<{
|
|
3
|
+
moreActions: string;
|
|
4
|
+
moreInBar: string;
|
|
5
|
+
undo: string;
|
|
6
|
+
retry: string;
|
|
7
|
+
failed: string;
|
|
8
|
+
actionsFor: ({ name }: {
|
|
9
|
+
name: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
backTo: ({ name }: {
|
|
12
|
+
name: string;
|
|
13
|
+
}) => string;
|
|
14
|
+
}>;
|
|
15
|
+
export type OverlayMessages = ReturnType<(typeof overlayMessages)["resolve"]>["t"];
|
|
16
|
+
export declare const useOverlayMessages: () => (() => OverlayMessages);
|
|
17
|
+
export declare const checkOverlayMessages: () => import("@k2b/stdlib").CatalogIssue[];
|
|
18
|
+
export {};
|