@k2b/ui 0.66.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/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 +174 -45
- package/dist/browser/v2/button.js.map +1 -1
- 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 +1761 -428
- package/dist/browser/v2/components.js.map +1 -1
- package/dist/browser/v2/content.js +1650 -562
- package/dist/browser/v2/content.js.map +1 -1
- 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 +2391 -336
- package/dist/browser/v2/controls.js.map +1 -1
- 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 +244 -59
- package/dist/browser/v2/describe.js.map +1 -1
- 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 +66 -7
- package/dist/browser/v2/index.js.map +1 -1
- package/dist/browser/v2/layout.js +1815 -275
- package/dist/browser/v2/layout.js.map +1 -1
- 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 +607 -85
- package/dist/browser/v2/marks.js.map +1 -1
- 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 +132 -104
- package/dist/browser/v2/states.js.map +1 -1
- 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 +331 -156
- package/dist/browser/v2/structure.js.map +1 -1
- package/dist/browser/v2/testing/index.js +3 -0
- package/dist/browser/v2/testing/index.js.map +1 -1
- package/dist/browser/v2/testing/measure-v2-layout.js +367 -105
- package/dist/browser/v2/testing/measure-v2-layout.js.map +1 -1
- package/dist/browser/v2/testing/settled.js +8 -2
- package/dist/browser/v2/testing/settled.js.map +1 -1
- 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 +14 -0
- package/dist/browser/v2/tokens.js.map +1 -1
- 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 +51 -4
- package/dist/browser/v2/types.js.map +1 -1
- 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 +172 -45
- package/dist/ssr/v2/button.js.map +1 -1
- 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 +1184 -218
- package/dist/ssr/v2/components.js.map +1 -1
- package/dist/ssr/v2/content.js +1026 -256
- package/dist/ssr/v2/content.js.map +1 -1
- 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 +1715 -95
- package/dist/ssr/v2/controls.js.map +1 -1
- 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 +244 -59
- package/dist/ssr/v2/describe.js.map +1 -1
- 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 +66 -7
- package/dist/ssr/v2/index.js.map +1 -1
- package/dist/ssr/v2/layout.js +1214 -108
- package/dist/ssr/v2/layout.js.map +1 -1
- 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 +331 -24
- package/dist/ssr/v2/marks.js.map +1 -1
- 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 +89 -77
- package/dist/ssr/v2/states.js.map +1 -1
- 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 +224 -71
- package/dist/ssr/v2/structure.js.map +1 -1
- package/dist/ssr/v2/testing/index.js +3 -0
- package/dist/ssr/v2/testing/index.js.map +1 -1
- package/dist/ssr/v2/testing/measure-v2-layout.js +367 -105
- package/dist/ssr/v2/testing/measure-v2-layout.js.map +1 -1
- package/dist/ssr/v2/testing/settled.js +8 -2
- package/dist/ssr/v2/testing/settled.js.map +1 -1
- 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 +14 -0
- package/dist/ssr/v2/tokens.js.map +1 -1
- 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 +51 -4
- package/dist/ssr/v2/types.js.map +1 -1
- 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 +77 -5
- 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 +375 -29
- package/dist/types/v2/content.d.ts +265 -20
- package/dist/types/v2/control-messages.d.ts +55 -0
- package/dist/types/v2/controls.d.ts +459 -26
- 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/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 +45 -9
- package/dist/types/v2/layout.d.ts +363 -14
- 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 +247 -16
- 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 +31 -18
- package/dist/types/v2/status-toolbar.d.ts +13 -0
- package/dist/types/v2/structure.d.ts +58 -4
- package/dist/types/v2/testing/index.d.ts +3 -0
- package/dist/types/v2/testing/measure-v2-layout.d.ts +30 -9
- package/dist/types/v2/testing/settled.d.ts +2 -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 +13 -1
- package/dist/types/v2/tree-messages.d.ts +15 -0
- package/dist/types/v2/types.d.ts +38 -3
- 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 +12208 -2043
- package/package.json +15 -6
- package/skills/k2b-ui/HANDOFF.md +77 -0
- package/skills/k2b-ui/SKILL.md +181 -123
- 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-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 +55 -14
- 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 +85 -50
- package/skills/k2b-ui/recipes/mail.tsx +96 -59
- 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 +129 -66
- package/skills/k2b-ui/recipes/record.tsx +91 -47
- 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 +86 -43
- 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 +59 -3
- package/skills/k2b-ui/references/mockups.md +260 -0
- package/skills/k2b-ui/references/primitives.md +1227 -99
- package/skills/k2b-ui/references/recipes.md +425 -11
- package/skills/k2b-ui/references/seeing.md +10 -26
|
@@ -2,27 +2,161 @@
|
|
|
2
2
|
|
|
3
3
|
A recipe is a whole screen in one file under `recipes/`, with sample data at
|
|
4
4
|
the top and one default export. Copy the file, keep its structure, replace
|
|
5
|
-
the data.
|
|
6
|
-
|
|
5
|
+
the data. Recipes are the way without a mockup: a small change, a
|
|
6
|
+
draft, and a good base for a mockup. A screen that
|
|
7
|
+
has an approved mockup is ported from it instead ([mockups](mockups.md)). Recipes are port-phase code: they compile with the first `@k2b/ui`
|
|
8
|
+
release after 0.66.0 (`port/check.mjs` says whether yours has it). The
|
|
9
|
+
pictures in `images/` are drawn from these files (light, 1440 and 390 px), and a browser
|
|
7
10
|
test keeps every recipe free of findings, so code and picture always match.
|
|
8
11
|
|
|
9
12
|
Read the recipe file next to its picture: each part in the code is one
|
|
10
13
|
thing you can point at in the image.
|
|
11
14
|
|
|
15
|
+
Most recipes also export `states`: the same screen empty, loading, failed
|
|
16
|
+
or in another state that fits it (a form while it saves). Fibel's examples
|
|
17
|
+
switch between them, and the browser test checks each one. A state stands
|
|
18
|
+
where the data would stand; the head and the status row never move. A
|
|
19
|
+
state that shows an open menu, panel, dialog or toast is `{ render, press }`:
|
|
20
|
+
the screen, and the names of the buttons and menu entries a person presses,
|
|
21
|
+
in order, to open it.
|
|
22
|
+
|
|
23
|
+
## The recipes and the look
|
|
24
|
+
|
|
25
|
+
Every screen must meet [the look](look.md), recipes included. The recipes
|
|
26
|
+
and pictures of this version show the structure of each screen (which
|
|
27
|
+
primitive stands where, the states, the phone), not yet its identity: by
|
|
28
|
+
the wireframe check in look.md, each of them is still a wireframe. Copy
|
|
29
|
+
the structure, then add what look.md asks. Where a part is missing, write
|
|
30
|
+
the gap at its place and name it in your report. Never copy a recipe's
|
|
31
|
+
bare look as the result.
|
|
32
|
+
|
|
33
|
+
| Recipe | What it still lacks (rule in look.md) |
|
|
34
|
+
| --- | --- |
|
|
35
|
+
| `frame`, `list-detail`, `mail`, `actions` | hero (1), marks and one data picture per row (3), tinted head of the open entry (5), two-column detail on a large screen (12) |
|
|
36
|
+
| `table`, `filtered-table`, `states` | hero with its trend (1), marks and a data column (3), the screen filled with real data, a context column on a large screen (12) |
|
|
37
|
+
| `record`, `record-groups` | tinted object head with sign and key facts (5), people beside what they did (3) |
|
|
38
|
+
| `form`, `form-detail`, `settings` | the object's tinted head (5); settings as `Setting` rows (10) |
|
|
39
|
+
| `dialogs`, `content` | marks and people in rows (3), a large screen that uses its room (12) |
|
|
40
|
+
|
|
41
|
+
Each rebuilt recipe carries its screen brief (look.md, "Write the screen
|
|
42
|
+
brief") at the top of its section here.
|
|
43
|
+
|
|
44
|
+
## frame.tsx: the frame of an app
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
`Workspace` with `detail` and `detailEmpty`; a `Nav` with two groups
|
|
50
|
+
(a group `action`, a `dot`, a folding "Mehr", a `foot`) and creating as
|
|
51
|
+
its `primary` ("Neuer Auftrag", the "+" beside the app's name, mirrored as
|
|
52
|
+
`Workspace primary` for the phone); a head `Bar` with `Tabs` (a menu tab
|
|
53
|
+
"Weitere"); a list `Pane` with `width`, `scrollKey` and a
|
|
54
|
+
`StatusRow`; the open entry as `Pane detail` with `back`, a head `Bar`
|
|
55
|
+
and a status `Bar` with `Inline` chips.
|
|
56
|
+
|
|
57
|
+
- What is open comes from the address. Without an open entry the detail is
|
|
58
|
+
not rendered (`undefined`, never `false`), and `detailEmpty` holds its
|
|
59
|
+
place, so nothing moves when it opens.
|
|
60
|
+
- On a tablet the sidebar becomes a drawer behind a button in the head; on
|
|
61
|
+
the phone the open entry is the page and `back` is its one way back.
|
|
62
|
+
- States: `closed`, `empty`, `loading`, `failed`.
|
|
63
|
+
|
|
64
|
+
## tree.tsx: folders as a tree
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+

|
|
68
|
+
|
|
69
|
+
`Nav` with a plain group ("Zuletzt", "Favoriten") and a group with `tree`
|
|
70
|
+
(folders; "Website" is `current`, so the way to it is open; "Archiv" and
|
|
71
|
+
"Texte" are `branch` and load on the first open; "Kunden" has `more`); a
|
|
72
|
+
head `Bar` with the `Path`; uploading is the `Nav primary`; a `Pane` with a
|
|
73
|
+
`StatusRow` and a `Table` with `tree` (folders and files as rows in
|
|
74
|
+
levels; the open file is `current`, so its folder starts open).
|
|
75
|
+
|
|
76
|
+
- Give the loaded nodes down to the open place; the rest loads through
|
|
77
|
+
`load` and `loadMore` when a person opens it. Never load the whole tree.
|
|
78
|
+
- On the phone the sidebar is a drawer with the same tree, and the table
|
|
79
|
+
shows its top level; a folder opens as its own page.
|
|
80
|
+
|
|
81
|
+
## conversations.tsx: conversations in the sidebar and a chat thread
|
|
82
|
+
|
|
83
|
+

|
|
84
|
+

|
|
85
|
+
|
|
86
|
+
`Nav` with the app's name and `primary` ("Neuer Chat", an icon button at the
|
|
87
|
+
end of the name's row), `search` under it,
|
|
88
|
+
a plain group with the filters ("Ungelesen" with its count, "Für dich",
|
|
89
|
+
"Kanäle entdecken"), its `list` (the conversations as a `List` of
|
|
90
|
+
two-line `Row`s; the open one is `current`) with `phone: "page"`, and
|
|
91
|
+
"Archiv" at the foot; the open conversation is the `Pane detail` beside
|
|
92
|
+
it, with its way back. Two columns: no list pane of its own, no head bar.
|
|
93
|
+
|
|
94
|
+
Screen brief: people coordinating a delivery read the latest message,
|
|
95
|
+
distinguish team notes from replies, then answer. The eye follows the open
|
|
96
|
+
person → newest entry → composer; no invented count or trend. At 390 px
|
|
97
|
+
only the open thread shows, at 1024 the list becomes the sidebar page/drawer,
|
|
98
|
+
at 1440 the sidebar and thread stand beside each other; 1920 keeps bubbles
|
|
99
|
+
at their reading measure. The open conversation carries identity in its
|
|
100
|
+
head; outgoing bubbles use the app tint, notes their own note tone.
|
|
101
|
+
|
|
102
|
+
The thread is a bounded `Canvas height="fill"` drawing: `Avatar` and `Text`
|
|
103
|
+
in incoming/outgoing bubbles, quiet event rows ("Mira hat übernommen"), a
|
|
104
|
+
day divider, and a `Notice tone="note"` in chronological place, explicitly
|
|
105
|
+
labelled internal with who and when. A composer slot stays below the
|
|
106
|
+
scrolling history; the demo uses a full-width `Input multiline rows={1}`
|
|
107
|
+
with an accessible label/placeholder and a bottom-aligned `Button` in its
|
|
108
|
+
`end`. One line separates it from history; no visible field label or separate
|
|
109
|
+
action bar adds height. Sending is the open thread's deed.
|
|
110
|
+
|
|
111
|
+
- Gap: v2 has no `Thread`, `Message`/bubble, `VirtualFeed` or `Composer`.
|
|
112
|
+
This recipe draws those shapes only inside `Canvas`; it does not invent
|
|
113
|
+
library props. It renders a bounded history, not an unbounded feed.
|
|
114
|
+
- The history's reverse scroll container starts at the bottom in server
|
|
115
|
+
markup too, while the DOM stays oldest first. A `ResizeObserver` keeps
|
|
116
|
+
it pinned as entries arrive or resize, unless the reader scrolled up;
|
|
117
|
+
then it preserves that text's position. Returning to the bottom resumes
|
|
118
|
+
following. The observer and scroll listener are cleaned up on unmount.
|
|
119
|
+
- Replies are an in-memory demo with fixed example times. An application
|
|
120
|
+
supplies its authorized entries and composer, commits through its service,
|
|
121
|
+
and keeps a failed send visible with its draft and a retry path.
|
|
122
|
+
|
|
123
|
+
- The list scrolls on its own between the filters and the foot; it is
|
|
124
|
+
made once, so a new count or a new group keeps its rows and its scroll.
|
|
125
|
+
- On the phone the list with its search is the page and "Neuer Chat"
|
|
126
|
+
floats (`Workspace` `primary`); a conversation that opens is the page in
|
|
127
|
+
its place, and its way back returns to the list. The open thread hides the
|
|
128
|
+
create FAB. Its Canvas-owned head puts back and avatar/name (and any thread
|
|
129
|
+
deeds in the `Bar end`) in one 44 px phone bar, without `Pane back` above it.
|
|
130
|
+
|
|
12
131
|
## list-detail.tsx: a list beside the open entry
|
|
13
132
|
|
|
14
133
|

|
|
15
134
|

|
|
16
135
|
|
|
17
|
-
`Workspace` with `Nav
|
|
136
|
+
`Workspace` with `Nav` (creating, "Neue Quelle", as its `primary`), a head `Bar` with `Tabs`;
|
|
18
137
|
`Pane.Split` with the list (`StatusRow`, `List` of two-line `Row`s, the open
|
|
19
|
-
one `
|
|
138
|
+
one `current`) and a `Pane detail` (head `Bar` with the name and actions,
|
|
20
139
|
`Notice tone="bad"` with a way out, `Section`s with `Facts` and `Row`s).
|
|
21
140
|
|
|
22
141
|
- On the phone the detail pane leaves. Open an entry as its own route there.
|
|
23
142
|
- An error of the open entry is a `Notice` at the top of the detail, not a
|
|
24
143
|
red text somewhere.
|
|
25
144
|
|
|
145
|
+
## detail-sheet.tsx: details beside, a sheet on the phone
|
|
146
|
+
|
|
147
|
+

|
|
148
|
+

|
|
149
|
+
|
|
150
|
+
`Workspace` with `Nav` and a head `Bar`; `Pane.Split` with the note and a
|
|
151
|
+
`Pane detail phone="sheet"` (head `Bar` with the name and a × `closes`,
|
|
152
|
+
`Section`s with `Row`s).
|
|
153
|
+
|
|
154
|
+
- On the phone the details are a sheet over the note, which stays in sight;
|
|
155
|
+
every way to close it takes the pane's `back`, the note's address without
|
|
156
|
+
the details.
|
|
157
|
+
- Use it for details that belong to what stays beside them. A list's open
|
|
158
|
+
entry stays a page of its own on the phone (`list-detail.tsx`).
|
|
159
|
+
|
|
26
160
|
## form.tsx: a form with server errors and a conflict
|
|
27
161
|
|
|
28
162
|

|
|
@@ -35,7 +169,43 @@ with "Cancel" and the one primary "Save", disabled while the conflict lasts.
|
|
|
35
169
|
|
|
36
170
|
- Validation and server answers live in the app's state; the primitives
|
|
37
171
|
only show `error`.
|
|
38
|
-
-
|
|
172
|
+
- A long form stands in its own pane or route; a short task above the page
|
|
173
|
+
is a `Dialog` (see `dialogs.tsx`).
|
|
174
|
+
- States: `fresh` (nothing sent yet), `errors` ("Pflichtfeld." and the
|
|
175
|
+
server's errors at their fields), `saving` (`Button busy`).
|
|
176
|
+
|
|
177
|
+
## form-detail.tsx: a form beside a list
|
|
178
|
+
|
|
179
|
+

|
|
180
|
+

|
|
181
|
+
|
|
182
|
+
Creating is the `Nav primary` "Neuer Termin" (no head: it only named the
|
|
183
|
+
place); the open form is a `Pane detail` beside the list, so the list stays in view while it is
|
|
184
|
+
filled in, with `Select`, `DateInput`, `Input`, `Choice` inside a `Field`, a
|
|
185
|
+
multiline `Input`, and `Check`s, one of them `disabled` with the reason
|
|
186
|
+
in its words. Its footer `Bar` saves with a default button.
|
|
187
|
+
|
|
188
|
+
- One primary per page: creating (`Nav primary`, floating on the phone as
|
|
189
|
+
`Workspace primary`) is it, so the form beside it never gets a second.
|
|
190
|
+
- On the phone the form is the page; `back` leads to the list.
|
|
191
|
+
- States: `errors`, `saving`.
|
|
192
|
+
|
|
193
|
+
## settings.tsx: settings with more than text
|
|
194
|
+
|
|
195
|
+

|
|
196
|
+

|
|
197
|
+
|
|
198
|
+
The sign-in settings of an app: a `Field` with an `action` that resets it
|
|
199
|
+
to its default, a `Select` the operator fixed (`disabled`), allowed
|
|
200
|
+
domains in a `TagsInput`, a logo in an `ImageInput`, an accent colour in a
|
|
201
|
+
`ColorInput`, how dark the background is in a `Slider`, a pairing code in a
|
|
202
|
+
`CodeInput`, and two `Disclosure`s with questions in a `Section`.
|
|
203
|
+
|
|
204
|
+
- A field's deed stands at the end of its label line and never moves the
|
|
205
|
+
field; it takes the place of `optional`.
|
|
206
|
+
- A choice the person may not change is a dimmed control with the reason
|
|
207
|
+
in its hint, not a missing one.
|
|
208
|
+
- States: `empty`, `locked`.
|
|
39
209
|
|
|
40
210
|
## record.tsx: a record, first tab
|
|
41
211
|
|
|
@@ -52,19 +222,25 @@ statements. Below them a `Pane.Split`: the main column with
|
|
|
52
222
|
- What needs a person comes first; history comes after.
|
|
53
223
|
- Area colours (`color`) mark the same area in cells, sections and groups
|
|
54
224
|
(tabs carry no colour).
|
|
225
|
+
- States: `empty` (a new customer), `loading` and `failed` (the history,
|
|
226
|
+
which loads on its own: its state stands in its section).
|
|
55
227
|
|
|
56
228
|
## record-groups.tsx: a record tab with groups
|
|
57
229
|
|
|
58
230
|

|
|
59
231
|

|
|
60
232
|
|
|
61
|
-
|
|
233
|
+
A `Band tone="note"` with the one statement of the tab; one `Section` for
|
|
234
|
+
the area with a `summary`; one `Group` per delivery with
|
|
62
235
|
`meta`, a `state` chip and actions. Inside a group: a strong sentence, its
|
|
63
236
|
way as `Steps`, a `Table` with two-line cells and `Progress`, `Facts inline`
|
|
64
237
|
with a print button. A finished group is `folded`.
|
|
65
238
|
|
|
66
239
|
- Never a `Group` inside a `Group`, never a line inside one.
|
|
67
240
|
- "You are next" is `Chip yours`, not a red badge.
|
|
241
|
+
- A group's state is a quiet dot and its word (`Chip status quiet`): amber
|
|
242
|
+
for what waits, grey for what is done ("Ausgezahlt"), never a green pill.
|
|
243
|
+
- States: `empty`, `loading`, `failed`, in the place of the groups.
|
|
68
244
|
|
|
69
245
|
## mail.tsx: a list with a reader
|
|
70
246
|
|
|
@@ -81,17 +257,87 @@ sender `Row` (avatar, icon buttons in `end`), `Prose`, `Tiles`.
|
|
|
81
257
|
`title` and `meta` (who, when).
|
|
82
258
|
- The reply: until the composer of `@k2b/editor` arrives (gap), a `Band`
|
|
83
259
|
with a `Field` and `<Input multiline />`, followed by a `Bar` whose `end`
|
|
84
|
-
holds "Senden" as a default button (
|
|
85
|
-
|
|
260
|
+
holds "Senden" as a default button ("Neue Nachricht" is the `Nav
|
|
261
|
+
primary`).
|
|
262
|
+
- State `closed`: no message is open. `detailEmpty` has a `hero`: a `Heat`
|
|
263
|
+
of the mails per day whose `summary` sums up the year ("… Mails in den
|
|
264
|
+
letzten 12 Monaten · Ø … pro Tag"). The hero is made once in the
|
|
265
|
+
component and handed over, never written inside the `detailEmpty` object.
|
|
266
|
+
|
|
267
|
+
## overview.tsx: an overview of things with a face
|
|
268
|
+
|
|
269
|
+

|
|
270
|
+

|
|
271
|
+
|
|
272
|
+
The bases of Grids. `Nav` entries with `color`, so each base leads with its
|
|
273
|
+
`Mark`; a `StatusRow` whose lead says what counts today, with chips for
|
|
274
|
+
what lets a person act; `Tiles variant="card"` with `stats`, `people`,
|
|
275
|
+
`foot`, `trend` and the `create` card with templates as `choices`; a
|
|
276
|
+
`List` of two-line `Row`s with `mark` in the colour of their kind; a
|
|
277
|
+
`Pane side` with `Digest activity`, each sentence with the thing's
|
|
278
|
+
`Mark` and name.
|
|
279
|
+
|
|
280
|
+
- A base has one colour and symbol, the same in the sidebar, on its card
|
|
281
|
+
and in a sentence. A kind of thing (table, board, form) has one colour
|
|
282
|
+
across the app.
|
|
283
|
+
- A form or a workflow that did something is a person with its name.
|
|
284
|
+
- States: `empty` (a new installation; the card that makes a base stays).
|
|
285
|
+
|
|
286
|
+
## home.tsx: the home of one place
|
|
287
|
+
|
|
288
|
+

|
|
289
|
+

|
|
290
|
+
|
|
291
|
+
One base: `Cells` with a `trend` on the first, the things as `Section`s of
|
|
292
|
+
`Row`s with `mark`, their figures in the second line and their state as a
|
|
293
|
+
chip in `marks`; then `Digest activity` under "Zuletzt geändert".
|
|
294
|
+
|
|
295
|
+
- A state that needs a person (a failed workflow, new form entries) stands
|
|
296
|
+
in its row and as a `dot` on its sidebar entry.
|
|
297
|
+
- States: `quiet` (a day without anything that needs a person).
|
|
298
|
+
|
|
299
|
+
## files.tsx: a folder with list, grid and selection
|
|
300
|
+
|
|
301
|
+

|
|
302
|
+

|
|
303
|
+
|
|
304
|
+
Two full-width rows above list and detail: a head `Bar` with `Path`, a
|
|
305
|
+
sharing `Chip` and the search as its symbol; creating is the `Nav primary`
|
|
306
|
+
"+" with its ways ("Hochladen", "Neuer Ordner");
|
|
307
|
+
then the `FilterBar` with `results` and `end` (`ListOrder`, a `Menu` for
|
|
308
|
+
list or grid). The list is a `Table` with `select`, `group` (folders,
|
|
309
|
+
files), a `mark` column with thumbnails and types, an `avatar` column; the
|
|
310
|
+
open file is a `Pane detail` with `Preview`, a bar of deeds, `Facts` and
|
|
311
|
+
sections for sharing and versions. `Nav` shows storages with `color` and
|
|
312
|
+
the storage's `quota`.
|
|
313
|
+
|
|
314
|
+
- While files are selected, `StatusRow selection` takes the bar's place at
|
|
315
|
+
the same height.
|
|
316
|
+
- States: `grid` (`Tiles variant="media"`), `selecting` (three photos).
|
|
317
|
+
|
|
318
|
+
## settings-page.tsx: a settings page
|
|
319
|
+
|
|
320
|
+

|
|
321
|
+

|
|
322
|
+
|
|
323
|
+
The state first as `Cells` (a `trend`, chips with tone); a `Table` for the
|
|
324
|
+
one setting with a value per kind (a switch per row); `Setting` rows for
|
|
325
|
+
everything else, one `Section` per topic; a `Pane side` with the methods
|
|
326
|
+
as rows with `mark` and state, and `Digest activity` of who changed what.
|
|
327
|
+
The head says "1 Änderung" and saves the page as a whole.
|
|
328
|
+
|
|
329
|
+
- States: `saved` (nothing to save: the deeds are disabled).
|
|
86
330
|
|
|
87
331
|
## table.tsx: a table with a status row
|
|
88
332
|
|
|
89
333
|

|
|
90
334
|

|
|
91
335
|
|
|
92
|
-
`StatusRow` with the lead ("
|
|
93
|
-
button at the end; `Table` with widths, a
|
|
94
|
-
|
|
336
|
+
`StatusRow` with the lead ("14 offen"), facts computed from the rows (sum,
|
|
337
|
+
overdue) and a filter button at the end; `Table` with widths, a state column
|
|
338
|
+
as a quiet dot and its word (`Chip status quiet`: grey for open, red only for
|
|
339
|
+
overdue), an amount column `align: "end"`, the reminder only on the rows it
|
|
340
|
+
applies to, `drop` on the columns that matter
|
|
95
341
|
least, and `phone(row)` so the phone shows two-line rows instead of a cut
|
|
96
342
|
table. `open(row)` gives each row the address of its invoice (on the phone
|
|
97
343
|
too); `empty` says "Keine offenen Rechnungen." in place of the table, and
|
|
@@ -99,3 +345,171 @@ too); `empty` says "Keine offenen Rechnungen." in place of the table, and
|
|
|
99
345
|
|
|
100
346
|
- The lead says the one thing; the rest are facts, which leave on the phone.
|
|
101
347
|
- A deed per row is a `Button variant="text"` in its own last column.
|
|
348
|
+
|
|
349
|
+
## filtered-table.tsx: a table people filter, sort and group
|
|
350
|
+
|
|
351
|
+

|
|
352
|
+

|
|
353
|
+
|
|
354
|
+
`defineListQuery` declares the fields (`choice`, `numberRange`, `lookup`),
|
|
355
|
+
the search, the sorts and the grouping once; `FilterBar` shows the active
|
|
356
|
+
filters as statements in `Pane status` above the `StatusRow`, and
|
|
357
|
+
`ListOrder` shows the sort and the grouping in its `filters`. The `Table`
|
|
358
|
+
shows what the server found for the address.
|
|
359
|
+
|
|
360
|
+
- The server reads the same address with `orderQuery.parse(...)` and filters
|
|
361
|
+
its own data; `@k2b/ui` filters nothing.
|
|
362
|
+
- The bar writes the address and calls `onChange`; load the rows again there.
|
|
363
|
+
- On the phone the bar is one line that scrolls; a tap opens the filter sheet.
|
|
364
|
+
- Pass `views` only when the app stores views (see
|
|
365
|
+
[list queries](list-queries.md)).
|
|
366
|
+
|
|
367
|
+
## actions.tsx: where deeds stand
|
|
368
|
+
|
|
369
|
+

|
|
370
|
+

|
|
371
|
+
|
|
372
|
+
The head `Bar` holds `Tabs`, a `Popover tip` on the refresh button, a
|
|
373
|
+
`Menu` "Filter" with ticked entries (a `Popover` in the head leaves on the phone),
|
|
374
|
+
and a `Menu` with a choice section and toggles. Creating is the `Nav
|
|
375
|
+
primary` "Neues Angebot" with its choices (`items`, a submenu for the
|
|
376
|
+
templates). Each `Row` stands in a
|
|
377
|
+
`Menu.Context` and has a `Button pressed` star and a "…" `Menu` with the
|
|
378
|
+
same entries in its `end`. The offer the address names opens in a
|
|
379
|
+
`Pane detail` with its own deeds; `Button busy` while it sends, and a
|
|
380
|
+
`Notice` with a `disabled` action that says why.
|
|
381
|
+
|
|
382
|
+
- One list of entries feeds the row's "…" and its right-click.
|
|
383
|
+
- Deleting answers with a toast and "Rückgängig".
|
|
384
|
+
|
|
385
|
+
## dialogs.tsx: a dialog, a question, a toast
|
|
386
|
+
|
|
387
|
+

|
|
388
|
+

|
|
389
|
+
|
|
390
|
+
Members of a space in `Section`s. "Einladen" opens a `Dialog` with
|
|
391
|
+
`Field`s and its own primary in the foot (a sheet on the phone);
|
|
392
|
+
`Workspace primary` opens the same dialog. Removing a member asks with
|
|
393
|
+
`Dialog.confirm`, then a toast offers "Rückgängig"; "Erneut senden"
|
|
394
|
+
answers with a toast with `status` `ok` or `bad`.
|
|
395
|
+
|
|
396
|
+
- A menu entry that opens `Dialog.confirm` returns nothing (`void`), so
|
|
397
|
+
the menu closes while the question asks.
|
|
398
|
+
- The open state of the dialog lives in the screen (`open`,
|
|
399
|
+
`onOpenChange`).
|
|
400
|
+
- One primary path. Form-changing alternatives go into a `Choice` at the
|
|
401
|
+
top; alternatives using the same fields go into a quiet footer `Menu`.
|
|
402
|
+
Never tabs inside a dialog ([Dialog details](primitives.md#overlays-dialog-menu-popover-toast)).
|
|
403
|
+
|
|
404
|
+
## start.tsx: the first start of an app without data
|
|
405
|
+
|
|
406
|
+

|
|
407
|
+

|
|
408
|
+
|
|
409
|
+
A person opens Notebooks or Grids for the first time. No sidebar and no
|
|
410
|
+
switcher: a `Pane center` with one `Text type="lead"` line ("Leg dein
|
|
411
|
+
erstes Notizbuch an") and `Tiles variant="card" perRow={4}`. Each card
|
|
412
|
+
shows a `preview` of what it makes across its top (`{ page }` for the
|
|
413
|
+
blank way, `{ table }` with a template's first table, `{ icon }` where
|
|
414
|
+
there is nothing to show), its `Mark` in the app's colour, its name and
|
|
415
|
+
`meta` ("6 Seiten"). The whole card opens the dialog that makes it:
|
|
416
|
+
`onOpen`, or `href` to an address that opens the dialog.
|
|
417
|
+
|
|
418
|
+
- The blank way first, then at most three templates; the rest stay in
|
|
419
|
+
the dialog's choice, which a quiet line under the cards says.
|
|
420
|
+
- Four in one row on a wide screen, 2 × 2 where four do not fit and on
|
|
421
|
+
the phone; the line stands centred, on the phone at the start.
|
|
422
|
+
- An app with one way to start puts its primary `Button` in an `Inline`
|
|
423
|
+
under the line instead of cards; it stands centred like the line. A
|
|
424
|
+
`Section` under it (what a person still follows, such as bases being
|
|
425
|
+
deleted) keeps the start block's 920 px, centred, and draws no line
|
|
426
|
+
under it as the pane's last section.
|
|
427
|
+
- States: `grids` (the first base: tables and a sign for the blank base),
|
|
428
|
+
`single` (one way to start, with a section under it).
|
|
429
|
+
|
|
430
|
+
## states.tsx: the states of a list
|
|
431
|
+
|
|
432
|
+

|
|
433
|
+

|
|
434
|
+
|
|
435
|
+
A list with a `StatusRow` and its states in the place of the rows:
|
|
436
|
+
`Empty` for nothing yet and another `Empty` for nothing behind a
|
|
437
|
+
filter, `Loading` with the rows and lines that usually come, `Failed`
|
|
438
|
+
with "Erneut versuchen". A `Notice tone="bad"` names the deed for a
|
|
439
|
+
problem a person must fix; a connection that retries on its own says so in
|
|
440
|
+
the `StatusRow` facts.
|
|
441
|
+
|
|
442
|
+
- The head and the status row never move between the states.
|
|
443
|
+
|
|
444
|
+
## content.tsx: a page to read
|
|
445
|
+
|
|
446
|
+

|
|
447
|
+

|
|
448
|
+
|
|
449
|
+
A head `Bar` with the title as `Text type="lead"`, a ghost "Teilen" and
|
|
450
|
+
the one primary "Bearbeiten" (mirrored as `Workspace primary`); a `Band`
|
|
451
|
+
with the text as `Prose markdown` (rendered safely: no raw HTML, no images,
|
|
452
|
+
only web and mail links); a `Section` with a key in `Facts` (`mono`,
|
|
453
|
+
`copy`); the files as `Tiles` in a `Section` with a count; a plan of its own
|
|
454
|
+
in a `Canvas` with `height`, directly in its `Section`. `states` exports
|
|
455
|
+
empty (`Empty` with "Text schreiben"), loading (`Loading` rows) and failed
|
|
456
|
+
(`Failed`), each in place of the text below the head.
|
|
457
|
+
|
|
458
|
+
- Writing the text happens behind "Bearbeiten": the Markdown editor of
|
|
459
|
+
`@k2b/editor` has no v2 form yet (gap).
|
|
460
|
+
- Code to read and copy is a `Facts` item with `mono` and `copy`; a code
|
|
461
|
+
block with highlighting is a gap. Media open from their `Tiles`; an image
|
|
462
|
+
or video viewer is a gap.
|
|
463
|
+
- A chart is a `Chart` of `@k2b/ui` in a `Canvas` in its `Section`, sized
|
|
464
|
+
`style={{ height: "100%" }}`. Inside `.k2-ui` it takes the v2 font, the
|
|
465
|
+
meta role (12 px), the v2 inks and lines, the surface as separator in
|
|
466
|
+
both themes, the text edge in a `Canvas`, and a tooltip like a v2
|
|
467
|
+
overlay. It needs the `@k2b/ui` stylesheet and a `.k2b-ui` ancestor, which
|
|
468
|
+
every Cloud page has; with `v2.css` alone a chart has no size (gap), so
|
|
469
|
+
this recipe draws its plan itself.
|
|
470
|
+
- A state timeline (`kind="stateTimeline"`) takes `now` from the page (the
|
|
471
|
+
server's request time, never a clock in the component) and draws it as a
|
|
472
|
+
thin line with "Jetzt" on its time axis; runs of seconds stay 3 units wide, centred on their
|
|
473
|
+
start; a start still to come has `planned: true` and is an outline that
|
|
474
|
+
says "geplant".
|
|
475
|
+
- With no data, put `Empty` in place of the `Canvas`. `Loading` and
|
|
476
|
+
`Failed` hold rows, not the height of a drawing, so the page moves while a
|
|
477
|
+
chart loads (gap).
|
|
478
|
+
|
|
479
|
+
## public-page.tsx: a page for visitors
|
|
480
|
+
|
|
481
|
+

|
|
482
|
+

|
|
483
|
+
|
|
484
|
+
A page that people open without signing in, without the Cloud shell (a
|
|
485
|
+
venue's programme, a public form, a share). In Cloud it stands in
|
|
486
|
+
`MinimalLayout ui="v2"`. A head `Bar` with the brand as `RecordHead` (its
|
|
487
|
+
initials on its colour) and the one task as the primary with `keep` and short
|
|
488
|
+
words, so on a phone the brand and the task share one row and nothing floats
|
|
489
|
+
over a row; the status row names what asks to act as toned chips ("1 fast
|
|
490
|
+
voll", "1 ausgebucht"), and only on a quiet day the day's count, never the
|
|
491
|
+
figures a group head or a column repeats. The programme is one
|
|
492
|
+
`Table` grouped by day: the event with when, where and its type (the title
|
|
493
|
+
keeps the room at 1024), its host as `Avatar` (every event has one, so every
|
|
494
|
+
phone row leads with a mark and the text edge never jumps), the seats taken
|
|
495
|
+
as `Progress` (a value with a limit gets a meter), and the seats: a `Chip`
|
|
496
|
+
with colour, sign and word only for the exceptions (booked out, almost full),
|
|
497
|
+
quiet words for the rest. A page to read has no grips: its columns and its
|
|
498
|
+
side column keep a width `{ fixed }`. On the phone each event is a row of two
|
|
499
|
+
lines with its seats. A `Pane side` holds the visit and only what the table
|
|
500
|
+
does not say: free places today as one meter, the way in as `Facts`, and
|
|
501
|
+
access as a `Section` of its own (good news is no notice). The status row
|
|
502
|
+
names its reference ("Bis Sonntag"), so its chips count the rows the list
|
|
503
|
+
shows. Seats read one way everywhere: free seats in words beside the meter of
|
|
504
|
+
what is taken. The host shows as a face and a name. Each date is said once.
|
|
505
|
+
`states` exports kiosk (the same page on a wall screen: no task, what runs now
|
|
506
|
+
marked "läuft" on its row, "aktualisiert sich jede Minute" in the head), empty
|
|
507
|
+
and failed.
|
|
508
|
+
|
|
509
|
+
- A visitor page has no rail and no sidebar: the brand stands in the head.
|
|
510
|
+
- A kiosk refreshes itself and says so in words, never with a button.
|
|
511
|
+
- A long title wraps (`wrap`) before it is cut, and a range of numbers in it
|
|
512
|
+
(1920–1960) stays on one line.
|
|
513
|
+
- Gaps: the brand mark (`Mark`) and a larger kiosk type come with the
|
|
514
|
+
identity primitives; a phone row of a table may still wrap a long title; a
|
|
515
|
+
longer brand name or task still gives the phone head a second row.
|
|
@@ -7,32 +7,11 @@ and fix what the cheaper one finds before you pay for the next.
|
|
|
7
7
|
| Step | Cost | Finds |
|
|
8
8
|
| --- | --- | --- |
|
|
9
9
|
| types | free with the build | wrong or missing props, an icon button without a name, two `Chip` kinds |
|
|
10
|
-
|
|
|
10
|
+
| the layout rule (Cloud's repository checks it; elsewhere the diff) | ~1 s | `class`, `style`, spreads, `innerHTML`, stylesheets outside `Canvas`; a `Canvas` in the wrong place; a `*.port.tsx` component outside a `Canvas`, its root without `data-port`, `style` in it |
|
|
11
11
|
| outline (`describeV2`) | ~30 lines of text | the structure, every text, counts, hidden parts, `Problems` |
|
|
12
|
-
| layout (`measureV2Layout`) | a browser | lines short of the edge, double lines, a line inside one band or group, cut control labels, wrapped one-line texts, text off the four type roles, grips off their line |
|
|
12
|
+
| layout (`measureV2Layout`) | a browser | lines short of the edge, double lines, a line inside one band or group, cut control labels, controls that stick out of their bar or pane, wrapped one-line texts, text off the four type roles, grips off their line |
|
|
13
13
|
| screenshot | an image per width | everything else; only when in doubt |
|
|
14
14
|
|
|
15
|
-
## In the Cloud monorepo
|
|
16
|
-
|
|
17
|
-
`packages/ui/scripts/v2-preview.ts` runs all steps on one screen file
|
|
18
|
-
whose default export is a component without props:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
bun packages/ui/scripts/v2-preview.ts packages/my-app/src/screens/sources.tsx --text
|
|
22
|
-
bun packages/ui/scripts/v2-preview.ts packages/my-app/src/screens/sources.tsx --png .local/shots
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
- `--text`: types, rule and outline from the server markup, no browser.
|
|
26
|
-
Use it after every edit.
|
|
27
|
-
- without `--text`: Chromium at 1440 and 390 px (`--width` to change),
|
|
28
|
-
outline with layout (hidden parts, dropped columns) and the measurement.
|
|
29
|
-
- `--png <dir>`: also a light screenshot per width.
|
|
30
|
-
- Exit code 0 means every step is clean.
|
|
31
|
-
- On a shared machine, run the browser variant through its load wrapper.
|
|
32
|
-
|
|
33
|
-
`bun run check` runs the rule on every app; `bun run --cwd packages/<app>
|
|
34
|
-
typecheck` runs the types.
|
|
35
|
-
|
|
36
15
|
## The outline
|
|
37
16
|
|
|
38
17
|
`describeV2` reads the `data-k2-part` marks. One line per part, indented by
|
|
@@ -64,10 +43,10 @@ required part there (the error state, the empty state, the main action, the
|
|
|
64
43
|
phone)? At 390 px the outline says which parts are hidden and which table
|
|
65
44
|
columns dropped.
|
|
66
45
|
|
|
67
|
-
##
|
|
46
|
+
## In your app's tests
|
|
68
47
|
|
|
69
|
-
`@k2b/ui/v2/testing` brings the
|
|
70
|
-
|
|
48
|
+
`@k2b/ui/v2/testing` brings the checks to a Playwright test of your app (port
|
|
49
|
+
phase: the first `@k2b/ui` release after 0.66.0) (Playwright is an optional peer dependency of `@k2b/ui`):
|
|
71
50
|
|
|
72
51
|
```ts
|
|
73
52
|
import { expect, test } from "@playwright/test";
|
|
@@ -82,6 +61,11 @@ for (const width of [1440, 390])
|
|
|
82
61
|
});
|
|
83
62
|
```
|
|
84
63
|
|
|
64
|
+
Count and read what a person sees with `visibleCount(locator)` and
|
|
65
|
+
`visibleTexts(locator)`: a Table keeps its phone rows beside its table and a
|
|
66
|
+
month keeps rows for other heights, so a raw `count()` counts parts that are
|
|
67
|
+
not drawn.
|
|
68
|
+
|
|
85
69
|
Print the outline (`console.log(await describeV2Page(page))`) when you
|
|
86
70
|
need to see the screen. With server markup and no browser (happy-dom,
|
|
87
71
|
linkedom), call `describeV2(element)` from `@k2b/ui/v2` without `layout`.
|