@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,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@k2b/ui/v2`: the second generation of `@k2b/ui`, built beside v1.
|
|
3
|
+
*
|
|
4
|
+
* **Provisional until the maintainer approves v2.** Names, props and styles may change in any release until then;
|
|
5
|
+
* no application ships a v2 screen before its screen is approved against the mockup.
|
|
6
|
+
*
|
|
7
|
+
* - Styles: `@k2b/ui/v2.css`, everything below the root class `k2-ui`, in the `k2-` namespace beside v1's `k2b-`.
|
|
8
|
+
* - Primitives own spacing, lines and type. They take no `class`, `style`, `size` or `gap`; free drawing belongs in
|
|
9
|
+
* `Canvas` only. The repository checks `v2-primitive-props`, `v2-app-layout-css` and `v2-no-ui-sdk-outside-ui`
|
|
10
|
+
* enforce this.
|
|
11
|
+
*/
|
|
12
|
+
export { useLocale } from "../intl/locale";
|
|
13
|
+
export { type PageAccent, pageAccent } from "./accent";
|
|
14
|
+
export { ActionBar, type ActionBarAction, type ActionBarProps } from "./action-bar";
|
|
15
|
+
export { addressOf } from "./addresses";
|
|
16
|
+
export { announce } from "./announce";
|
|
17
|
+
export { type AttachOptions, attachWorkspace, attachWorkspaces, toggleWorkspaceSidebar } from "./attach";
|
|
18
|
+
export { type GripOptions, useGrip } from "./behavior/resize";
|
|
19
|
+
export { Board, type BoardArrange, type BoardProps, type BoardSize, BoardSizes, type BoardTile } from "./board";
|
|
20
|
+
export { Button, type ButtonMutation, type ButtonProps } from "./button";
|
|
21
|
+
export { type ActivityEntry, CodeFigure, type CodeFigureProps, Digest, type DigestEntry, type DigestProps, Nav, type NavGroup, type NavItem, type NavProps, NavQuota, type NavQuotaProps, type NavSearch, Notice, type NoticeProps, Path, type PathProps, type RecordFact, RecordHead, type RecordHeadProps, type RecordId, type StatusFact, StatusRow, type StatusRowProps, type Step, Steps, type StepsProps, type Tab, Tabs, type TabsProps, } from "./components";
|
|
22
|
+
export { type CellValue, type Column, type Fact, Facts, type FactsProps, Inline, type InlineProps, List, type ListProps, type OpenTarget, Prose, type ProseProps, Row, type RowLines, type RowProps, Table, type TableGroup, type TableProps, type TableTree, Text, type TextProps, Tools, type ToolsProps, } from "./content";
|
|
23
|
+
export { Check, type CheckProps, Choice, type ChoiceOption, type ChoiceProps, CodeInput, type CodeInputProps, ColorInput, type ColorInputProps, DateInput, type DateInputProps, DateTimeInput, type DateTimeInputProps, Field, type FieldProps, ImageInput, type ImageInputProps, Input, type InputProps, type InputSend, Rating, type RatingProps, Select, type SelectOption, type SelectProps, Setting, type SettingProps, Slider, type SliderProps, TagsInput, type TagsInputProps, TimeInput, type TimeInputProps, } from "./controls";
|
|
24
|
+
export { type DangerItem, DangerZone, type DangerZoneProps } from "./danger-zone";
|
|
25
|
+
export { DatePicker, type DatePickerProps } from "./date-picker";
|
|
26
|
+
export { DayBar, type DayBarProps, type DaySpan } from "./day-bar";
|
|
27
|
+
export { type DescribeV2Options, describeV2 } from "./describe";
|
|
28
|
+
export { createDraft, type Draft, sameValue } from "./draft";
|
|
29
|
+
export { EmojiPicker, type EmojiPickerProps } from "./emoji-picker";
|
|
30
|
+
export { ErrorScreen, type ErrorScreenInviteProps, type ErrorScreenProps } from "./error-screen";
|
|
31
|
+
export { Failed, type FailedProps } from "./failed";
|
|
32
|
+
export { type Figure, type FigureListProps, Figures, type FiguresProps } from "./figures";
|
|
33
|
+
export { FilterBar, type FilterBarProps, type FilterBarViews, ListOrder, type ListOrderProps, viewIcon } from "./filter-bar";
|
|
34
|
+
export { HeadSearch } from "./head-search";
|
|
35
|
+
export { Heat, type HeatDay, type HeatProps } from "./heat";
|
|
36
|
+
export { Band, type BandProps, Bar, type BarProps, Canvas, type CanvasProps, type CellProps, Cells, Pane, type PaneProps, Seam, type SeamProps, type Tile, type TileCreate, type TilePreview, type TilePreviewColumn, type TileStat, Tiles, type TilesProps, Workspace, WorkspaceLayout, type WorkspaceLayoutProps, type WorkspaceProps, } from "./layout";
|
|
37
|
+
export { ListGroup, type ListGroupProps } from "./list-group";
|
|
38
|
+
export { Lookup, type LookupLoad, type LookupProps, type LookupResolve } from "./lookup";
|
|
39
|
+
export { Avatar, type AvatarProps, type AvatarStackProps, Chip, type ChipProps, Cover, type CoverProps, Icon, type IconProps, Mark, type MarkProps, Preview, type PreviewProps, Progress, type ProgressProps, RangeBar, type RangeBarProps, Spark, type SparkProps, type TickState, Ticks, type TicksProps, } from "./marks";
|
|
40
|
+
export { Menu, type MenuContextProps, type MenuEntry, type MenuItem, type MenuPanel, type MenuProps, type MenuSection, type TriggerProps, } from "./menu";
|
|
41
|
+
export { menuPanel } from "./menu-panel";
|
|
42
|
+
export { type NavDrop, navDrop } from "./nav-drop";
|
|
43
|
+
export { type NavFace, navFace } from "./nav-face";
|
|
44
|
+
export { type NavTree, type NavTreeGroup, type NavTreeNode, navTree } from "./nav-tree";
|
|
45
|
+
export { NowLine, type NowLineProps, nowIndex } from "./now-line";
|
|
46
|
+
export { type ConfirmOptions, confirm, Dialog, type DialogProps, overlayParent, SearchDialog, type SearchDialogProps, } from "./overlays";
|
|
47
|
+
export { PaneName, type PaneNameProps } from "./pane-name";
|
|
48
|
+
export { Popover, type PopoverPanelProps, type PopoverProps, type PopoverTipProps } from "./popover";
|
|
49
|
+
export { type Reaction, type ReactionChoices, type ReactionPicker, Reactions, type ReactionsProps } from "./reactions";
|
|
50
|
+
export { SegmentedControl, type SegmentedControlProps, type SegmentOption } from "./segmented";
|
|
51
|
+
export { SplitButton, type SplitButtonProps } from "./split-button";
|
|
52
|
+
export { Empty, type EmptyProps, Loading, type LoadingProps } from "./states";
|
|
53
|
+
export { Disclosure, type DisclosureProps, Group, type GroupProps, Section, type SectionProps } from "./structure";
|
|
54
|
+
export { type ShowToast, type ToastOptions, useToast } from "./toast";
|
|
55
|
+
export { fontWeights, gripTolerance, hairline, heights, radii, type TypeRole, textEdge, typeRoles } from "./tokens";
|
|
56
|
+
export type { Action, OnNavigate, Person, State, Status, TwoActions, Width } from "./types";
|
|
57
|
+
export { UnsavedBar, type UnsavedBarProps, type UnsavedChanges } from "./unsaved-bar";
|
|
58
|
+
export { readWidthCookie, type WidthPersistence } from "./width-cookie";
|
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { PageAccent } from "./accent";
|
|
3
|
+
import { type SparkProps } from "./marks";
|
|
4
|
+
import { type MenuEntry } from "./menu";
|
|
5
|
+
import { type Action, type ColumnWidth, type OnNavigate, type Person, type Status, type Width } from "./types";
|
|
6
|
+
import { type WidthPersistence } from "./width-cookie";
|
|
7
|
+
export type SeamProps = {
|
|
8
|
+
/** The grip's name, such as the column's: "Breite der Trefferliste". */
|
|
9
|
+
label: string;
|
|
10
|
+
/** The width of the column before the seam, in px. */
|
|
11
|
+
value: number;
|
|
12
|
+
/** Called with the new width while the grip moves, and with `reset` on Enter or a double click. */
|
|
13
|
+
onChange: (px: number) => void;
|
|
14
|
+
/** The narrowest the column gets. */
|
|
15
|
+
min: number;
|
|
16
|
+
/** The width Enter and a double click put the column back to: its default. */
|
|
17
|
+
reset: number;
|
|
18
|
+
/** The most the column may take now, from the row of columns the seam stands in, such as 55 % of its width. */
|
|
19
|
+
max: (row: HTMLElement) => number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The seam between two columns that a layout of its own places (a grid in a dialog), with the grip of `Workspace` and
|
|
23
|
+
* `Pane.Split`: the 1 px line, blue with its pill on hover and focus, a separator that a drag or the keys move (8 px,
|
|
24
|
+
* Shift 64; Home and End to the minimum and the most; Enter and a double click back to the default). The column
|
|
25
|
+
* before it has the width `value`; the layout clamps it as it likes, the grip reads the width the column has. Place
|
|
26
|
+
* it between the two columns, as their row's child; its root is one 1 px column of that row.
|
|
27
|
+
*/
|
|
28
|
+
export declare const Seam: (props: SeamProps) => JSX.Element;
|
|
29
|
+
export type WorkspaceProps = {
|
|
30
|
+
/** The sidebar column, such as `Nav`. */
|
|
31
|
+
sidebar?: JSX.Element;
|
|
32
|
+
/** The sidebar's minimum and default width; 200 and 248 px when not set. */
|
|
33
|
+
sidebarWidth?: Width;
|
|
34
|
+
/** The name of the sidebar's grip, such as "Width of the sidebar". */
|
|
35
|
+
sidebarLabel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The sidebar can be hidden on a wide screen: a button at the end of the first `Nav`'s title row hides it (a sidebar
|
|
38
|
+
* without a `Nav` has it at the start of the head), the head's button at its start shows it again, and Mod+Alt+S
|
|
39
|
+
* does both; the focus goes to the button that now stands.
|
|
40
|
+
* `attachWorkspace` reports each change (`onSidebarCollapsedChange`) for the page to keep. A command of the page
|
|
41
|
+
* ("Hide navigation") does the same with `toggleWorkspaceSidebar()`.
|
|
42
|
+
*/
|
|
43
|
+
collapsible?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The sidebar starts hidden, as the person left it; read it on the server (a cookie), so the page comes with the
|
|
46
|
+
* right width. Inside `WorkspaceLayout` it comes from there when not set.
|
|
47
|
+
*/
|
|
48
|
+
sidebarCollapsed?: boolean;
|
|
49
|
+
/** The head across the main column: a `Bar` (56 px here) with tabs or a path and the actions. */
|
|
50
|
+
head?: JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* What stands across every column under the head, above a list and its open detail alike: the page as a whole, such
|
|
53
|
+
* as a mirror's figure with its last sync and its exceptions (a `Band`, or the `Canvas` of a port). It keeps its
|
|
54
|
+
* place and its height when a detail opens or closes, from the server's markup on. On the phone it scrolls away with
|
|
55
|
+
* the page, and while a detail is the page it gives way, as the list does.
|
|
56
|
+
*/
|
|
57
|
+
top?: JSX.Element;
|
|
58
|
+
/** The main action; on the phone it floats at the bottom right. `onClick` needs the Workspace in an island. */
|
|
59
|
+
primary?: Action;
|
|
60
|
+
/**
|
|
61
|
+
* A detail opens beside the columns at times (a reader beside a list), and keeps at least this width (`true`:
|
|
62
|
+
* 400 px). The workspace keeps its room also while it is closed: the sidebar never moves between column and drawer
|
|
63
|
+
* when it opens, and `detailEmpty` stands in its place, so the column beside it keeps its width. It is the room of a
|
|
64
|
+
* detail at any depth: also of one in a split inside a column (Files: a list beside its open file, under a status
|
|
65
|
+
* row), which counts nothing else for it.
|
|
66
|
+
*/
|
|
67
|
+
detail?: true | number;
|
|
68
|
+
/**
|
|
69
|
+
* What stands in the detail's place while none is open, such as `{ icon: "mail", text: "Keine Nachricht
|
|
70
|
+
* ausgewählt" }`; "Nothing selected" in the language of the page when not set. Not on the phone, where the list is
|
|
71
|
+
* the page. `hero` stands above the sentence: a picture of the place as a whole, such as a `Heat` of the mails
|
|
72
|
+
* received per day with a line that sums it up.
|
|
73
|
+
*/
|
|
74
|
+
detailEmpty?: {
|
|
75
|
+
icon: string;
|
|
76
|
+
text: string;
|
|
77
|
+
hero?: JSX.Element;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The page's own accent, a colour from data (such as the colour a place or a team chose), as
|
|
81
|
+
* `pageAccent("#c2410c")` works it out (`#rrggbb` or `#rgb`): a part of its own, so a page without an accent loads
|
|
82
|
+
* none of its contrast work. It takes the place of the app's colour in this workspace: the primary action, the open
|
|
83
|
+
* row's tint, `Text` and `Band` `tone="app"`, and the bars of a `RangeBar` (the open row's the strongest). Its
|
|
84
|
+
* readable tones are worked out where the colour arrives, on the server too, so the first paint is final: the
|
|
85
|
+
* primary's words are white or near-black, whichever keeps 4.5:1 on it (a colour on which neither does is darkened
|
|
86
|
+
* until white does), and the colour as text is darkened in light and lightened in dark until it keeps 4.5:1 on the
|
|
87
|
+
* surface and on its tint. A bar's quiet tone keeps 3:1 also on a chosen row's tint, and a primary that would vanish
|
|
88
|
+
* on the surface gets an edge of its colour at 3:1. Focus rings and the colours of states stay; dialogs and menus
|
|
89
|
+
* rendered outside the Workspace keep the app's colour. Any other value (an `oklch()`, a custom property, no colour)
|
|
90
|
+
* gives no accent, and the app's colour stands.
|
|
91
|
+
*/
|
|
92
|
+
accent?: PageAccent;
|
|
93
|
+
/**
|
|
94
|
+
* The workspace lays its content on the page itself, without its card: no surface, edge or corners, and no line
|
|
95
|
+
* under its head. For a page of tiles that are cards of their own, such as a start page's widgets on the page's
|
|
96
|
+
* background. A page with lists, tables or a reader keeps the card.
|
|
97
|
+
*/
|
|
98
|
+
plain?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* A `Pane` or `Pane.Split`, written inside the Workspace: its columns tell it their widths, so it knows when the
|
|
101
|
+
* sidebar becomes a drawer. A column made before the Workspace (kept in a variable) is not counted.
|
|
102
|
+
*/
|
|
103
|
+
children: JSX.Element;
|
|
104
|
+
};
|
|
105
|
+
/** What the page knows about its workspaces before they render, such as the sidebar a person hid (a cookie). */
|
|
106
|
+
export type WorkspaceLayoutProps = {
|
|
107
|
+
sidebarCollapsed?: boolean;
|
|
108
|
+
children: JSX.Element;
|
|
109
|
+
};
|
|
110
|
+
/** Hands every `Workspace` inside it the page's layout, such as whether its sidebar starts hidden. */
|
|
111
|
+
export declare const WorkspaceLayout: (props: WorkspaceLayoutProps) => JSX.Element;
|
|
112
|
+
/**
|
|
113
|
+
* The working surface of an app: a sidebar, a head and the columns below it, with one hairline between columns and
|
|
114
|
+
* a grip on every line that moves. On the phone the sidebar leaves and columns become pages.
|
|
115
|
+
*
|
|
116
|
+
* It renders on the server: the frame, its columns, heads and bars are markup, and only what needs the browser loads
|
|
117
|
+
* script, through `attachWorkspace` (the page's frame entry calls `attachWorkspaces`; a Workspace inside an island
|
|
118
|
+
* attaches itself). Keep the islands small: a control, a row's actions, a list that updates.
|
|
119
|
+
*
|
|
120
|
+
* The sidebar stands beside the columns while the workspace holds it at its default width and every column at its
|
|
121
|
+
* minimum, with the lines between them; a detail it declares (`detail`) counts also while it is closed. Where it does
|
|
122
|
+
* not (a tablet, a narrow window), the sidebar is a drawer from the start of the window, opened by a button at the
|
|
123
|
+
* start of the head; picking an entry in it closes it. The stylesheet decides this from the workspace's own width, on
|
|
124
|
+
* the server's page too, so nothing moves when the page comes alive. The drawer holds the sidebar's own nodes while it
|
|
125
|
+
* is open, so its scroll position and open folds stay. The rule is a `<style>` of the workspace; a page whose content
|
|
126
|
+
* security policy allows no inline style keeps the sidebar as a column.
|
|
127
|
+
*/
|
|
128
|
+
export declare const Workspace: (props: WorkspaceProps) => JSX.Element;
|
|
129
|
+
export type PaneProps = {
|
|
130
|
+
/** The head of this column: a `Bar` (56 px; 52 px for a reader beside a list) or `Tabs`. */
|
|
131
|
+
head?: JSX.Element;
|
|
132
|
+
/**
|
|
133
|
+
* What stays under the head while the column scrolls: a `StatusRow` (52 px) above a list, or a `Bar` (40 px) with
|
|
134
|
+
* the state of an open entry, such as "3 Nachrichten · Wartet auf Antwort · Tag" above a reader. With a `head` it is
|
|
135
|
+
* one block: no line between them, close together; from 1080 px of the pane, or under a head of actions only, it
|
|
136
|
+
* joins the head's row.
|
|
137
|
+
*/
|
|
138
|
+
status?: JSX.Element;
|
|
139
|
+
/** A column that can be dragged wider: its minimum and default width; `{ fixed }`: one width, no grip. Only inside `Pane.Split`. */
|
|
140
|
+
width?: ColumnWidth;
|
|
141
|
+
/** Stable cookie slot (0–63) inside a persistent split. Omit to keep this pane transient; never reuse a slot. */
|
|
142
|
+
persistIndex?: number;
|
|
143
|
+
/** The name of the column and of its grip, such as "List". */
|
|
144
|
+
label?: string;
|
|
145
|
+
/**
|
|
146
|
+
* The detail of a list (a reader): beside the list on a wide screen. On the phone, while it is there (something is
|
|
147
|
+
* open), it is the page and the list gives way; render it only while something is open. What is open belongs in
|
|
148
|
+
* the address, so reload, back and forward show the same. A detail that closes in place hands the focus back to
|
|
149
|
+
* what opened it, such as the row. Its room is the workspace's `detail`, also for a detail in a split inside a column:
|
|
150
|
+
* declare it there, so the sidebar does not jump when the detail opens.
|
|
151
|
+
*/
|
|
152
|
+
detail?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* The way back to the list on the phone, where the detail is a page of its own, such as "Posteingang". Give it an
|
|
155
|
+
* `href`: the address of the list without the open entry. While it is there, the head of the workspace gives way on
|
|
156
|
+
* the phone, so the way back is the one bar above the detail; it is the part `Back`, which a shell may show in its
|
|
157
|
+
* own bar instead. Mark the close × of the detail's head `Button closes`: with `back` it gives way on the phone, so
|
|
158
|
+
* the detail has one way back there. A pane without a `head` (an editor, whose name stood in the workspace's head)
|
|
159
|
+
* names itself after the way back by its `label`: "‹ Werkstatt Notizen.md".
|
|
160
|
+
*/
|
|
161
|
+
back?: Action;
|
|
162
|
+
/**
|
|
163
|
+
* `"sheet"`: on the phone the detail opens as a sheet over what it belongs to, instead of a page of its own: the list
|
|
164
|
+
* or the note stays in sight behind it, dimmed, and keeps its head. The sheet stands 14 px below the window's top
|
|
165
|
+
* with a grip, scrolls inside, and closes by a swipe down, a tap on the dimmed content, Escape or its head's
|
|
166
|
+
* `Button closes`; each of them takes its `back`, so the address stays the one truth. While it is open the focus stays
|
|
167
|
+
* inside. On a wide screen it is the detail beside the list as before. Needs `detail` and `back`.
|
|
168
|
+
*/
|
|
169
|
+
phone?: "sheet";
|
|
170
|
+
/**
|
|
171
|
+
* The content brings the pane's identity head itself, such as a ported screen's head with the item's name and facts:
|
|
172
|
+
* the way back then carries itself alone ("‹ Planning"), so the name stands once on the page, in that head.
|
|
173
|
+
*/
|
|
174
|
+
ownHead?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* The way back shows on a wide screen too: for a page that stands in the place of another one, not beside a list,
|
|
177
|
+
* such as a discussion in the place of its room's stream ("‹ Frühlingsausstellung").
|
|
178
|
+
*/
|
|
179
|
+
wideBack?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* The context column (quieter sections): the info column of a record, what a form feeds, a chart beside a table, or
|
|
182
|
+
* the right half of a detail that grows on a large screen (who and what happened, beside what it is).
|
|
183
|
+
*
|
|
184
|
+
* In a `Pane.Split` of exactly one main column and this context column after it, the context stands beside the main
|
|
185
|
+
* column only where the split holds both at their default widths (a column without a `width` at 400 px). With less
|
|
186
|
+
* room it gives way to the end of the main column: the split then scrolls in one piece, the main column first and
|
|
187
|
+
* the context under it at the full width, so the main column is never squeezed and nothing hides; and it needs no
|
|
188
|
+
* room of the workspace, so the sidebar never becomes a drawer for it. `{ from }` asks for more room, in px of the
|
|
189
|
+
* split, for a main column that needs it, such as a table (`{ from: 1400 }`: a large screen); never less than the
|
|
190
|
+
* defaults. The rule is a `<style>` beside the split, made from these widths on the server too; a page whose content
|
|
191
|
+
* security policy allows no inline style keeps the context column beside, as in any other split, and so does a split
|
|
192
|
+
* with no place above it that measures (`k2-host`: a Workspace's main column or a pane), such as one in a dialog or a
|
|
193
|
+
* sidebar. `side` belongs on the inner column only: an outer `Pane detail` with `side` becomes the context column of
|
|
194
|
+
* the list and moves under it.
|
|
195
|
+
*
|
|
196
|
+
* In any other split (a list, its reader and an info column) it stands beside as every column does and counts
|
|
197
|
+
* toward the room of the workspace. Known: the split's rule asks for its panes as its own children, so a pane that
|
|
198
|
+
* an island wraps on its own gives way only where the island's wrapper is transparent to `>`.
|
|
199
|
+
*/
|
|
200
|
+
side?: boolean | {
|
|
201
|
+
from: number;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* A name under which the page keeps this column's scroll position, such as "mail-list": back and forward bring
|
|
205
|
+
* the list back where it was (the page restores every `data-scroll-preserve` region, as v1's `ScrollArea` does).
|
|
206
|
+
*/
|
|
207
|
+
scrollKey?: string;
|
|
208
|
+
/**
|
|
209
|
+
* The content stands in the middle of the column: across at its own measure, at most that of four cards (4 × 240 px
|
|
210
|
+
* with their gaps, between the text edges), and in the middle of the height where it fits. Taller content starts at
|
|
211
|
+
* the top and scrolls, as in any pane; on the phone it always starts at the top. For a page with little on it and
|
|
212
|
+
* nothing beside it, such as the first start of an app without any data: one line and a few `Tiles`. A line of text
|
|
213
|
+
* stands centred over them, on the phone at the start. It draws no
|
|
214
|
+
* line and no box of its own, and it is CSS alone, so the server's first render already stands there.
|
|
215
|
+
*/
|
|
216
|
+
center?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* This column is what the page prints, such as the open conversation of a reader: on paper the column alone at its
|
|
219
|
+
* full length, with its head's title and its content, and without the page around it or its controls (buttons,
|
|
220
|
+
* menus, fields, tabs, the way back, chips that only act). Rows and notices stay whole on a page. Paper is light,
|
|
221
|
+
* also from a dark page. Any print prints it: the app's "Print" only calls `window.print()`, and Ctrl+P or the
|
|
222
|
+
* browser's menu do the same. One column of a page has it. It changes nothing on screen.
|
|
223
|
+
*/
|
|
224
|
+
print?: boolean;
|
|
225
|
+
/** Bands, rows, sections; the pane pads nothing. */
|
|
226
|
+
children?: JSX.Element;
|
|
227
|
+
};
|
|
228
|
+
export declare function Pane(props: PaneProps): JSX.Element;
|
|
229
|
+
export declare namespace Pane {
|
|
230
|
+
var Split: (props: {
|
|
231
|
+
/** Stable cookie key, server-read widths, and the largest retained width. Panes opt in with `persistIndex`. */
|
|
232
|
+
persist?: WidthPersistence;
|
|
233
|
+
/** The panes side by side; a pane that is not there is `undefined`. */
|
|
234
|
+
children: JSX.Element;
|
|
235
|
+
}) => JSX.Element;
|
|
236
|
+
}
|
|
237
|
+
export type BarProps = {
|
|
238
|
+
/** The start place: a title, a path, tabs, an inline line. */
|
|
239
|
+
start?: JSX.Element;
|
|
240
|
+
/** The end place: buttons, a search, a person. */
|
|
241
|
+
end?: JSX.Element;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* A bar of fixed height with a line below. Its height comes from its place: 56 as the head of a workspace or pane,
|
|
245
|
+
* 52 as a status row, 40 on its own. Controls in it take the height that leaves equal air above and below. The
|
|
246
|
+
* stylesheet reads the place from the slot the bar stands in, so a bar built ahead and passed on behaves the same.
|
|
247
|
+
* In a column narrower than 480 px, a bar in the flow whose start is an `Inline` wraps instead of cutting: its things
|
|
248
|
+
* and its end flow as one line, one line stays 40, and only a second line makes the bar higher.
|
|
249
|
+
*
|
|
250
|
+
* The start keeps a least: its name at `--k2-start-least` (16ch; its whole content, where narrower), or its open
|
|
251
|
+
* tab. Where the end does not fit beside the whole start (six actions beside tabs on the phone), the end folds first:
|
|
252
|
+
* its buttons that do not fit move into a menu "…" at its end, in their order, the last first. Where the end's last
|
|
253
|
+
* `Menu` "…" (no symbol of its own, whatever its `label`) is followed only by parts that never fold (the primary, a
|
|
254
|
+
* closing ×, a menu with a symbol or words of its own), they are that menu's first section; an end made outside
|
|
255
|
+
* the bar (an island of its own) gets the bar's own "…" instead. The primary action, a closing ×, a menu and a search
|
|
256
|
+
* never fold. Only when nothing more can fold does the start shorten its words with "…", down to its least. The
|
|
257
|
+
* browser measures the fold once the page is alive; before that the bar stands as it does when nothing folds (the end
|
|
258
|
+
* whole, the start given way down to its least), so the server's page is the live one wherever nothing folds. Only an
|
|
259
|
+
* end that has to fold cuts, from its start, until the fold takes over.
|
|
260
|
+
*/
|
|
261
|
+
export declare const Bar: (props: BarProps) => JSX.Element;
|
|
262
|
+
export type BandProps = {
|
|
263
|
+
/**
|
|
264
|
+
* A tone only by meaning: a note, AI, "yours", wrong, waiting, or `app`: the tint of the app's colour (the page's
|
|
265
|
+
* own with `Workspace accent`), for the one statement that belongs to it, such as a hero without a picture above it.
|
|
266
|
+
*/
|
|
267
|
+
tone?: "note" | "ai" | "yours" | "bad" | "warn" | "app";
|
|
268
|
+
/** A name for the band, for assistive technology. */
|
|
269
|
+
label?: string;
|
|
270
|
+
/** What prints of the page: the band alone, without the page around it (`data-print-region`), such as a legal text. */
|
|
271
|
+
print?: boolean;
|
|
272
|
+
/** `Text`, `Row`s, `Prose`, `Tiles` or fields. */
|
|
273
|
+
children: JSX.Element;
|
|
274
|
+
};
|
|
275
|
+
/** A band of free height with one line below, from edge to edge. What stands in it draws no line of its own. */
|
|
276
|
+
export declare const Band: (props: BandProps) => JSX.Element;
|
|
277
|
+
export type CellProps = {
|
|
278
|
+
/** A Tabler icon before the label. */
|
|
279
|
+
icon: string;
|
|
280
|
+
/** The data colour of the symbol, such as the colour of an area. */
|
|
281
|
+
color?: string;
|
|
282
|
+
/** What the cell is about, such as "Geld heute". */
|
|
283
|
+
label: string;
|
|
284
|
+
/** The key statement: words, a number or a `Chip`. */
|
|
285
|
+
value: JSX.Element;
|
|
286
|
+
/** A quiet line under the value. */
|
|
287
|
+
meta?: JSX.Element;
|
|
288
|
+
/** The cell leads to this page: a chevron at its end. */
|
|
289
|
+
href?: string;
|
|
290
|
+
/** A short history beside the value, such as orders per day this week (`Spark`). */
|
|
291
|
+
trend?: SparkProps;
|
|
292
|
+
/**
|
|
293
|
+
* The value is on its way: a quiet bar lies on the value and on its quiet line, while symbol and label stay. What is
|
|
294
|
+
* there (a refresh) keeps its exact room unseen under the bar, a quiet line of several lines too; a value not there
|
|
295
|
+
* yet is a bar of one line. So nothing moves when it comes. Assistive technology hears "Wird geladen…" at the value.
|
|
296
|
+
* A `trend` keeps its place unseen meanwhile.
|
|
297
|
+
*/
|
|
298
|
+
loading?: boolean;
|
|
299
|
+
};
|
|
300
|
+
export declare function Cells(props: {
|
|
301
|
+
/** Two to four `Cells.Cell`. */
|
|
302
|
+
children: JSX.Element;
|
|
303
|
+
}): JSX.Element;
|
|
304
|
+
export declare namespace Cells {
|
|
305
|
+
var Cell: (props: CellProps) => JSX.Element;
|
|
306
|
+
}
|
|
307
|
+
export type TileStat = {
|
|
308
|
+
/** A Tabler icon before the words. */
|
|
309
|
+
icon?: string;
|
|
310
|
+
/** The figure in words, such as "6 Tabellen". */
|
|
311
|
+
label: string;
|
|
312
|
+
/**
|
|
313
|
+
* A state: its colour, its symbol and its words, never a colour alone. Without an `icon` the state brings its own:
|
|
314
|
+
* a check for ok, a circle with "!" for waiting, a triangle for wrong.
|
|
315
|
+
*/
|
|
316
|
+
status?: Status;
|
|
317
|
+
/** "Waits for you", in the blue of selection, such as "3 Anträge". */
|
|
318
|
+
yours?: boolean;
|
|
319
|
+
};
|
|
320
|
+
export type Tile = {
|
|
321
|
+
/** A Tabler icon for the kind of thing, such as `file-type-pdf`. */
|
|
322
|
+
icon: string;
|
|
323
|
+
/** The name, such as a file name. */
|
|
324
|
+
title: string;
|
|
325
|
+
/** A quiet line under the name, such as the size or a description. */
|
|
326
|
+
meta?: string;
|
|
327
|
+
/** The tile opens this page or file … */
|
|
328
|
+
href?: string;
|
|
329
|
+
/** … in place on a plain click (see `OnNavigate`). */
|
|
330
|
+
onNavigate?: OnNavigate;
|
|
331
|
+
/**
|
|
332
|
+
* Without `href`: the deed of the whole tile, such as opening the dialog that makes a notebook from a template. The
|
|
333
|
+
* tile's name is then a button, and the whole tile presses it.
|
|
334
|
+
*/
|
|
335
|
+
onOpen?: () => void;
|
|
336
|
+
/** The data colour of the thing: its symbol becomes its mark on a tint of this colour. */
|
|
337
|
+
color?: string;
|
|
338
|
+
/**
|
|
339
|
+
* Plain tiles only: a copy button at the end for a value of the thing, such as an endpoint's address (`label` names
|
|
340
|
+
* what it copies).
|
|
341
|
+
*/
|
|
342
|
+
copy?: {
|
|
343
|
+
label: string;
|
|
344
|
+
value: string;
|
|
345
|
+
};
|
|
346
|
+
/** Plain tiles only: the thing's further deeds behind a "…" at the end. */
|
|
347
|
+
menu?: readonly MenuEntry[];
|
|
348
|
+
/** Cards only: figures and states under the name, such as tables, forms and "8 knapp". */
|
|
349
|
+
stats?: readonly TileStat[];
|
|
350
|
+
/** Cards only: the people at the foot, such as who changed it last (`Avatar.Stack`). */
|
|
351
|
+
people?: readonly Person[];
|
|
352
|
+
/** Cards only: quiet words at the end of the foot, such as "Felix · vor 2 Min". */
|
|
353
|
+
foot?: string;
|
|
354
|
+
/** Cards only: a short history at the top end, in the thing's colour (`Spark`). */
|
|
355
|
+
trend?: SparkProps;
|
|
356
|
+
/** Media only: the picture of the thing, such as a photo or the first page of a PDF; its symbol stands without one. */
|
|
357
|
+
image?: string;
|
|
358
|
+
/** Media only: the type on the picture's corner, such as `PDF`, or a video's length. */
|
|
359
|
+
kind?: string;
|
|
360
|
+
/** Media only: a quiet symbol at the end of the second line with its name, such as the sharing state. */
|
|
361
|
+
sign?: {
|
|
362
|
+
icon: string;
|
|
363
|
+
label: string;
|
|
364
|
+
};
|
|
365
|
+
/** The stable key of the tile, which a selection names; its `href` or title when not set. */
|
|
366
|
+
key?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Cards only: a glance of what the thing holds, across the top of the card above its name: a small table (its
|
|
369
|
+
* columns and first rows, as words), a page (its title and first words), or a sign for a thing that holds nothing yet.
|
|
370
|
+
* It is a picture of the content: assistive technology reads the card by its name. Keep its values short: the app
|
|
371
|
+
* chooses columns and rows whose words fit, at most about 12 characters a cell, so nothing is cut with "…" at 1440 or
|
|
372
|
+
* on the phone; leave out what does not fit, such as a book's author. A cut cell reads as cheap. The phone shows a
|
|
373
|
+
* table's first two columns, so a column that matters, such as an amount, comes second.
|
|
374
|
+
*/
|
|
375
|
+
preview?: TilePreview;
|
|
376
|
+
};
|
|
377
|
+
/** What a card's preview shows: the app gives the words, the card draws them. */
|
|
378
|
+
export type TilePreview = {
|
|
379
|
+
table: {
|
|
380
|
+
columns: readonly TilePreviewColumn[];
|
|
381
|
+
rows: readonly (readonly string[])[];
|
|
382
|
+
};
|
|
383
|
+
page?: never;
|
|
384
|
+
icon?: never;
|
|
385
|
+
} | {
|
|
386
|
+
page: {
|
|
387
|
+
title: string;
|
|
388
|
+
text?: string;
|
|
389
|
+
};
|
|
390
|
+
table?: never;
|
|
391
|
+
icon?: never;
|
|
392
|
+
} | {
|
|
393
|
+
icon: string;
|
|
394
|
+
table?: never;
|
|
395
|
+
page?: never;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* A column of a preview's table: its head, or its head and its place. `align: "end"` sets the column at the end with
|
|
399
|
+
* figures of one width, for amounts and counts.
|
|
400
|
+
*/
|
|
401
|
+
export type TilePreviewColumn = string | {
|
|
402
|
+
label: string;
|
|
403
|
+
align?: "end";
|
|
404
|
+
};
|
|
405
|
+
/** The last card, which makes a new thing: a dashed frame, its name, and optional quick choices such as templates. */
|
|
406
|
+
export type TileCreate = {
|
|
407
|
+
/** What it makes, such as "Neue Base". */
|
|
408
|
+
title: string;
|
|
409
|
+
/** A quiet line, such as "Leer beginnen oder aus einer Vorlage". */
|
|
410
|
+
meta?: string;
|
|
411
|
+
/** The page that makes it … */
|
|
412
|
+
href?: string;
|
|
413
|
+
/** … or the deed. */
|
|
414
|
+
onClick?: () => void;
|
|
415
|
+
/** Quick choices as round chips, such as the templates "CRM" and "Lager". */
|
|
416
|
+
choices?: readonly Action[];
|
|
417
|
+
};
|
|
418
|
+
/** Like things side by side, such as attachments. Each is pressed, so each is round; never nested. */
|
|
419
|
+
export type TilesProps = {
|
|
420
|
+
/** The tiles, in order. */
|
|
421
|
+
items: readonly Tile[];
|
|
422
|
+
/**
|
|
423
|
+
* `card`: each thing a card in a grid (at least 240 px a card), with its mark, figures, people and a short history,
|
|
424
|
+
* such as the bases of Grids or the projects of a team. Without it: small tiles in one wrapping line (attachments).
|
|
425
|
+
*/
|
|
426
|
+
variant?: "card" | "media";
|
|
427
|
+
/** The last tile makes a new thing: a dashed card, or among media a dashed picture with a plus ("Neuer Ordner"). */
|
|
428
|
+
create?: TileCreate;
|
|
429
|
+
/**
|
|
430
|
+
* Media only: the tiles stand in a selection (pair it with `StatusRow selection`). Each tile has a box on its
|
|
431
|
+
* picture, named by its title; it shows under the pointer, with the focus, on touch, and on every tile while one is
|
|
432
|
+
* selected. A selected tile is tinted blue with a line inside its edge.
|
|
433
|
+
*/
|
|
434
|
+
select?: {
|
|
435
|
+
selected: readonly string[];
|
|
436
|
+
onChange: (key: string, selected: boolean) => void;
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* At most this many tiles share a row and grow with its width, such as the four ways to start a notebook across
|
|
440
|
+
* the page. A tile never gets narrower than 240 px for it: where n do not fit, they stand in rows of half of them
|
|
441
|
+
* (four as 2 × 2, never 3 + 1), and below that one under the other. On the phone a row always holds half of them,
|
|
442
|
+
* even below 240 px a tile. Fewer tiles than n keep the width a tile has in a full row; in a `Pane center` they
|
|
443
|
+
* stand in the middle under its centred line, as a full row does.
|
|
444
|
+
*/
|
|
445
|
+
perRow?: number;
|
|
446
|
+
/** One deed after the tiles, such as "Alle herunterladen". */
|
|
447
|
+
more?: Action;
|
|
448
|
+
/** A name for the tiles, for assistive technology. */
|
|
449
|
+
label?: string;
|
|
450
|
+
};
|
|
451
|
+
export declare const Tiles: (props: TilesProps) => JSX.Element;
|
|
452
|
+
export type CanvasProps = {
|
|
453
|
+
/** What the drawing shows, for assistive technology. */
|
|
454
|
+
label: string;
|
|
455
|
+
/**
|
|
456
|
+
* The height of the drawing in px; the width comes from its place. `"fill"`: the drawing is the whole pane (an
|
|
457
|
+
* editor, a frame of another page, a map that is the page). It stands directly in its `Pane` and takes the height
|
|
458
|
+
* the pane has left under what stands above it, from the first render on, so nothing is measured and nothing moves;
|
|
459
|
+
* it scrolls itself, and below 240 px the pane scrolls instead. It asks its pane for those 240 px only, never for
|
|
460
|
+
* what the drawing holds: one drawing that asks for no height of its own takes the whole height, and what is taller
|
|
461
|
+
* scrolls inside it. Give it one child, the drawing: a second child stands in a row of its own under the first and
|
|
462
|
+
* is cut away.
|
|
463
|
+
*/
|
|
464
|
+
height?: number | "fill";
|
|
465
|
+
/** The drawing: an SVG, a map, a chart of `@k2b/ui`; inside it, CSS is free. */
|
|
466
|
+
children: JSX.Element;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* The one way out: a surface with its own drawing, where an app may write its own CSS. Never measured by the rules.
|
|
470
|
+
* It draws no line of its own; the structure around it separates it, and a drawing that needs an edge draws it.
|
|
471
|
+
* While the drawing loads, has no data or fails, `Loading`, `Empty` or `Failed` stand inside it and keep its height.
|
|
472
|
+
*/
|
|
473
|
+
export declare const Canvas: (props: CanvasProps) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Link } from "@k2b/ssr/nav";
|
|
2
|
+
/**
|
|
3
|
+
* The element of something pressable (internal): a link renders `@k2b/ssr/nav`'s `Link`, so `onNavigate` follows its
|
|
4
|
+
* one contract (plain same-origin clicks only, a pending page swap cancelled, history through the event); anything
|
|
5
|
+
* else renders the given element.
|
|
6
|
+
*/
|
|
7
|
+
export declare const linkOr: <const T extends "a" | "button" | "span">(href: string | undefined, otherwise: T) => typeof Link | T;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Action } from "./types";
|
|
2
|
+
export type ListGroupProps = {
|
|
3
|
+
/** The group's name, such as "Heute". */
|
|
4
|
+
label: string;
|
|
5
|
+
/** How many rows it holds: a number in the page's language and in full (1.284), words such as "99+" as given. */
|
|
6
|
+
count?: number | string;
|
|
7
|
+
/** One quiet text action after the name and count; the group head owns its size. */
|
|
8
|
+
action?: Action;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A group inside one `List`, over its rows: a head in the row's type with its count quiet beside it, such as "Heute 20"
|
|
12
|
+
* over today's entries of an activity, or "Personen 14" over the people of a group, with the clear line and more air
|
|
13
|
+
* above it than a row has, and no line under it. For
|
|
14
|
+
* a long list in parts of one kind; parts read on their own are `Section`s, the groups of a table its `group`. A
|
|
15
|
+
* module of its own, so a list without groups loads none of it.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ListGroup: (props: ListGroupProps) => import("solid-js").JSX.Element;
|