@cocoar/vue-ui 3.4.0-beta.1 → 3.4.0-beta.8
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 +1 -1
- package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +34 -25
- package/package.json +4 -4
- package/skills/cocoar-vue-ui/SKILL.md +9 -5
- package/skills/cocoar-vue-ui/references/components/avatar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/badge.md +2 -0
- package/skills/cocoar-vue-ui/references/components/breadcrumb.md +2 -0
- package/skills/cocoar-vue-ui/references/components/button.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/agenda-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/coar-calendar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/day-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/index.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/month-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/time-selection.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/timeline-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/week-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/work-week-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/calendar/year-view.md +2 -0
- package/skills/cocoar-vue-ui/references/components/card.md +2 -0
- package/skills/cocoar-vue-ui/references/components/checkbox-group.md +2 -0
- package/skills/cocoar-vue-ui/references/components/checkbox.md +2 -0
- package/skills/cocoar-vue-ui/references/components/code-block.md +2 -0
- package/skills/cocoar-vue-ui/references/components/context-menu.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/checkbox.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/date-columns.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/editing.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/multi-select.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/number.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/select.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid/text.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-grid.md +2 -0
- package/skills/cocoar-vue-ui/references/components/data-list.md +2 -0
- package/skills/cocoar-vue-ui/references/components/date-or-time-picker.md +2 -0
- package/skills/cocoar-vue-ui/references/components/date-picker.md +2 -0
- package/skills/cocoar-vue-ui/references/components/date-time-picker.md +2 -0
- package/skills/cocoar-vue-ui/references/components/date-views.md +2 -0
- package/skills/cocoar-vue-ui/references/components/dialog.md +2 -0
- package/skills/cocoar-vue-ui/references/components/divider.md +2 -0
- package/skills/cocoar-vue-ui/references/components/document-viewer/annotations.md +2 -0
- package/skills/cocoar-vue-ui/references/components/document-viewer/coar-document-viewer.md +2 -0
- package/skills/cocoar-vue-ui/references/components/document-viewer/index.md +2 -0
- package/skills/cocoar-vue-ui/references/components/document-viewer/toolbar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/drag-drop.md +2 -0
- package/skills/cocoar-vue-ui/references/components/dual-listbox.md +2 -0
- package/skills/cocoar-vue-ui/references/components/form-field.md +2 -0
- package/skills/cocoar-vue-ui/references/components/link.md +2 -0
- package/skills/cocoar-vue-ui/references/components/listbox.md +2 -0
- package/skills/cocoar-vue-ui/references/components/map/editor.md +2 -0
- package/skills/cocoar-vue-ui/references/components/map/index.md +2 -0
- package/skills/cocoar-vue-ui/references/components/markdown-diagrams.md +2 -0
- package/skills/cocoar-vue-ui/references/components/markdown-editor.md +2 -0
- package/skills/cocoar-vue-ui/references/components/markdown-form.md +2 -0
- package/skills/cocoar-vue-ui/references/components/markdown.md +2 -0
- package/skills/cocoar-vue-ui/references/components/menu.md +2 -0
- package/skills/cocoar-vue-ui/references/components/mermaid.md +2 -0
- package/skills/cocoar-vue-ui/references/components/navbar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/note.md +2 -0
- package/skills/cocoar-vue-ui/references/components/notice.md +2 -0
- package/skills/cocoar-vue-ui/references/components/number-input.md +2 -0
- package/skills/cocoar-vue-ui/references/components/otp-input.md +2 -0
- package/skills/cocoar-vue-ui/references/components/page-builder/coar-page-builder.md +2 -0
- package/skills/cocoar-vue-ui/references/components/page-builder/coar-page-renderer.md +2 -0
- package/skills/cocoar-vue-ui/references/components/pagination.md +2 -0
- package/skills/cocoar-vue-ui/references/components/panel-layout.md +2 -0
- package/skills/cocoar-vue-ui/references/components/password-input.md +2 -0
- package/skills/cocoar-vue-ui/references/components/popconfirm.md +2 -0
- package/skills/cocoar-vue-ui/references/components/popover.md +2 -0
- package/skills/cocoar-vue-ui/references/components/progress-bar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/radio-group.md +2 -0
- package/skills/cocoar-vue-ui/references/components/script-editor.md +2 -0
- package/skills/cocoar-vue-ui/references/components/segmented-control.md +2 -0
- package/skills/cocoar-vue-ui/references/components/select.md +2 -0
- package/skills/cocoar-vue-ui/references/components/sidebar.md +2 -0
- package/skills/cocoar-vue-ui/references/components/spinner.md +2 -0
- package/skills/cocoar-vue-ui/references/components/switch.md +2 -0
- package/skills/cocoar-vue-ui/references/components/table.md +2 -0
- package/skills/cocoar-vue-ui/references/components/tabs.md +2 -0
- package/skills/cocoar-vue-ui/references/components/tag.md +2 -0
- package/skills/cocoar-vue-ui/references/components/text-input.md +2 -0
- package/skills/cocoar-vue-ui/references/components/toast.md +2 -0
- package/skills/cocoar-vue-ui/references/components/tooltip.md +2 -0
- package/skills/cocoar-vue-ui/references/components/tree.md +2 -0
- package/skills/cocoar-vue-ui/references/components/wizard.md +2 -0
- package/skills/cocoar-vue-ui/references/components/zoned-date-time-picker.md +2 -0
- package/skills/cocoar-vue-ui/references/foundations/design-principles.md +27 -3
- package/skills/cocoar-vue-ui/references/guide/mobile.md +219 -2
|
@@ -41,6 +41,62 @@ validation, disabled/readonly states, and link-button semantics stay unchanged.
|
|
|
41
41
|
Connecting a mouse does not switch the presentation. Narrowing the viewport does
|
|
42
42
|
not automatically enable this mode either.
|
|
43
43
|
|
|
44
|
+
## What decides what
|
|
45
|
+
|
|
46
|
+
Each aspect of how a component looks and behaves has one source. They are
|
|
47
|
+
independent of each other:
|
|
48
|
+
|
|
49
|
+
| Aspect | Decided by |
|
|
50
|
+
|--------|------------|
|
|
51
|
+
| Brand: colours, fonts, shapes | The app's theme (`--coar-*` tokens, see [Theming](./theming.md)) |
|
|
52
|
+
| Colour scheme | The `dark-mode` class on the root element |
|
|
53
|
+
| Control sizes | The `coar-mobile` class |
|
|
54
|
+
| Layout in the available space | The size of the component's container — for example `CoarCalendar` and the month list view use CSS container queries, and the day view's multi-day variation derives its number of columns from the container width |
|
|
55
|
+
| Input behaviour: hover effects, drag engine | The input the browser reports — for example `CoarDataList` shows row hover only under `(hover: hover)`, and `useDragDrop` with `engine: 'auto'` uses its pointer engine on a coarse pointer |
|
|
56
|
+
|
|
57
|
+
Some cases:
|
|
58
|
+
|
|
59
|
+
- **A tablet with a mouse** in an app that sets `coar-mobile` keeps the mobile
|
|
60
|
+
sizes. Whether hover effects appear depends on what the browser reports for
|
|
61
|
+
the device (`(hover: hover)`), never on the class.
|
|
62
|
+
- **A narrow desktop window** does not get phone sizes. Only the class changes
|
|
63
|
+
sizes; components whose container gets narrow adapt their layout where they
|
|
64
|
+
support it.
|
|
65
|
+
- **A touch notebook** without the class keeps the desktop sizes. Touch works,
|
|
66
|
+
but the controls are not enlarged.
|
|
67
|
+
|
|
68
|
+
## A mode, not a theme
|
|
69
|
+
|
|
70
|
+
Under `coar-mobile` the library's stylesheet sets only `--coar-control-*`
|
|
71
|
+
tokens (`packages/ui/styles/tokens/mobile.css`): heights, minimum target sizes,
|
|
72
|
+
the minimum editable font size and the visibility of clear buttons. Apart from
|
|
73
|
+
that, the input frame paints its border without taking layout space. No colour,
|
|
74
|
+
radius or font family changes, so a brand theme applies in both modes unchanged.
|
|
75
|
+
|
|
76
|
+
The control tokens are ordinary inherited custom properties, so the usual
|
|
77
|
+
cascade decides which value a control gets: the nearest ancestor that sets a
|
|
78
|
+
token wins, and on the same element the more specific selector, then the later
|
|
79
|
+
rule. There is no fixed order between the mode and a brand theme beyond that.
|
|
80
|
+
|
|
81
|
+
A brand that wants its own mobile sizes therefore sets them with a selector
|
|
82
|
+
that includes the class:
|
|
83
|
+
|
|
84
|
+
```css
|
|
85
|
+
/* brand and mode on the same element, e.g. <html class="my-brand coar-mobile"> */
|
|
86
|
+
.my-brand.coar-mobile {
|
|
87
|
+
--coar-control-m-height: 56px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* a local mobile area inside the brand */
|
|
91
|
+
.my-brand .coar-mobile {
|
|
92
|
+
--coar-control-m-height: 56px;
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
A brand rule without the class is the wrong tool: it either loses against
|
|
97
|
+
`.coar-mobile` or, where it wins, changes the desktop presentation too, because
|
|
98
|
+
the controls read these tokens in both modes.
|
|
99
|
+
|
|
44
100
|
## Supported controls
|
|
45
101
|
|
|
46
102
|
This is the first mobile-controls increment, not a mobile redesign of the entire
|
|
@@ -94,8 +150,13 @@ This increment does not add a mobile-context bridge for local overlays.
|
|
|
94
150
|
Date/time pickers, select panels, dialogs, OTP inputs, grids, and editors do not
|
|
95
151
|
have dedicated mobile presentations in this increment. In particular,
|
|
96
152
|
`CoarZonedDateTimePicker` does not yet switch to a sheet or a stepped mobile flow.
|
|
97
|
-
|
|
98
|
-
|
|
153
|
+
|
|
154
|
+
The class changes sizes only. A component without a mobile presentation keeps
|
|
155
|
+
its own layout in both modes (see [Device support](#device-support)); adapted
|
|
156
|
+
controls inside it, such as the buttons of a dialog, still take the mobile
|
|
157
|
+
sizes. A component that
|
|
158
|
+
needs a different pattern on a phone will get an explicit option for it; no
|
|
159
|
+
component changes its behaviour or layout pattern because the class is present.
|
|
99
160
|
|
|
100
161
|
## Customizing the floors
|
|
101
162
|
|
|
@@ -121,3 +182,159 @@ password fields with both clear/reveal buttons and number fields with steppers.
|
|
|
121
182
|
|
|
122
183
|
The playground's `/mobile-controls` page demonstrates every size, local scope
|
|
123
184
|
switching, nested themes, textarea behavior, and non-editable states.
|
|
185
|
+
|
|
186
|
+
## Device support {#device-support}
|
|
187
|
+
|
|
188
|
+
Every component page states, under its title, how far it supports three device
|
|
189
|
+
classes:
|
|
190
|
+
|
|
191
|
+
- **Desktop** — mouse and keyboard.
|
|
192
|
+
- **Tablet** — touch without hover, in the default presentation.
|
|
193
|
+
- **Phone** — touch on a narrow screen, with `coar-mobile`.
|
|
194
|
+
|
|
195
|
+
Each class has one of four values:
|
|
196
|
+
|
|
197
|
+
| Value | Meaning |
|
|
198
|
+
|-------|---------|
|
|
199
|
+
| `ready` | Everything the page documents is reachable with that device's input and fits its width. On the phone an interactive component also needs a mobile presentation under `coar-mobile` that has left Preview. |
|
|
200
|
+
| `partial` | The main purpose works; the note on the page names the limit. |
|
|
201
|
+
| `planned` | Not adapted yet; an adaptation is planned. |
|
|
202
|
+
| `no` (shown as "not supported") | Not meant for this device. |
|
|
203
|
+
|
|
204
|
+
In a page's frontmatter this is one line, `devices: { desktop: ready, tablet: ready, phone: partial }`,
|
|
205
|
+
with a `devicesNote` when a value is `partial` or `no`.
|
|
206
|
+
|
|
207
|
+
The values state the result of design and code review. Automated touch tests
|
|
208
|
+
are only being added, and testing on real devices remains the job of the app.
|
|
209
|
+
|
|
210
|
+
**Form controls**
|
|
211
|
+
|
|
212
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
213
|
+
|---|---|---|---|---|
|
|
214
|
+
| [Button](../components/button.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
215
|
+
| [Form Field](../components/form-field.md) | ready | ready | partial | Works on phones; the label and the status popover have no .coar-mobile presentation yet. |
|
|
216
|
+
| [Text Input](../components/text-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
217
|
+
| [Number Input](../components/number-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
218
|
+
| [Password Input](../components/password-input.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
219
|
+
| [OTP Input](../components/otp-input.md) | ready | ready | partial | Works on phones (numeric keyboard, SMS autofill) but has no .coar-mobile presentation yet. |
|
|
220
|
+
| [Select](../components/select.md) | ready | ready | planned | A phone presentation (sheet) is planned. |
|
|
221
|
+
| [Listbox](../components/listbox.md) | ready | partial | planned | Multi-highlight needs Ctrl/Shift-click or keys; drag on touch needs dragEngine 'pointer' or 'auto'. |
|
|
222
|
+
| [Dual Listbox](../components/dual-listbox.md) | ready | partial | planned | Move buttons work on touch; multi-highlight needs Ctrl/Shift, and drag needs dragEngine 'pointer'. |
|
|
223
|
+
| [Checkbox](../components/checkbox.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
224
|
+
| [Checkbox Group](../components/checkbox-group.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
225
|
+
| [Radio Group](../components/radio-group.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
226
|
+
| [Switch](../components/switch.md) | ready | ready | partial | Mobile sizes under .coar-mobile; the mobile presentation is still Preview. |
|
|
227
|
+
| [Segmented Control](../components/segmented-control.md) | ready | ready | planned | A .coar-mobile presentation is planned. |
|
|
228
|
+
| [Date Picker](../components/date-picker.md) | ready | ready | planned | A phone presentation (sheet) is planned. |
|
|
229
|
+
| [DateTime Picker](../components/date-time-picker.md) | ready | ready | planned | A phone presentation (sheet) is planned. |
|
|
230
|
+
| [Zoned DateTime Picker](../components/zoned-date-time-picker.md) | ready | ready | planned | A phone presentation (sheet) is planned. |
|
|
231
|
+
| [Date · optional time](../components/date-or-time-picker.md) | ready | ready | planned | A phone presentation (sheet) is planned. |
|
|
232
|
+
| [Date Views](../components/date-views.md) | ready | ready | ready | |
|
|
233
|
+
|
|
234
|
+
**Display**
|
|
235
|
+
|
|
236
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
237
|
+
|---|---|---|---|---|
|
|
238
|
+
| [Avatar](../components/avatar.md) | ready | ready | ready | |
|
|
239
|
+
| [Badge](../components/badge.md) | ready | ready | ready | |
|
|
240
|
+
| [Card](../components/card.md) | ready | ready | ready | |
|
|
241
|
+
| [Code Block](../components/code-block.md) | ready | ready | partial | Readable and scrollable on phones; the copy and collapse buttons have no .coar-mobile presentation yet. |
|
|
242
|
+
| [Data List](../components/data-list.md) | ready | partial | planned | Item menus open on right-click and multi-select needs modifier keys, so both are hard to reach by touch. |
|
|
243
|
+
| [Divider](../components/divider.md) | ready | ready | ready | |
|
|
244
|
+
| [Link](../components/link.md) | ready | ready | ready | |
|
|
245
|
+
| [Note](../components/note.md) | ready | ready | ready | |
|
|
246
|
+
| [Notice](../components/notice.md) | ready | ready | ready | |
|
|
247
|
+
| [Progress Bar](../components/progress-bar.md) | ready | ready | ready | |
|
|
248
|
+
| [Spinner](../components/spinner.md) | ready | ready | ready | |
|
|
249
|
+
| [Table](../components/table.md) | ready | ready | partial | Wide tables need a scroll container from the host; nothing wraps them for narrow screens. |
|
|
250
|
+
| [Tag](../components/tag.md) | ready | partial | partial | The close button is a 10–14 px icon without a larger touch target. |
|
|
251
|
+
|
|
252
|
+
**Navigation**
|
|
253
|
+
|
|
254
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
255
|
+
|---|---|---|---|---|
|
|
256
|
+
| [Menu](../components/menu.md) | ready | ready | planned | Touch-sized rows for phones are planned. |
|
|
257
|
+
| [Context Menu](../components/context-menu.md) | ready | partial | planned | Opens on right-click; on touch that depends on the browser's long press, so offer your own trigger as well. |
|
|
258
|
+
| [Sidebar](../components/sidebar.md) | ready | partial | partial | Split-trigger flyouts open only on hover and icon-only labels are tooltips; no phone drawer. |
|
|
259
|
+
| [Navbar](../components/navbar.md) | ready | ready | partial | No collapsed or menu layout for narrow screens; slot content must fit the phone width. |
|
|
260
|
+
| [Tabs](../components/tabs.md) | ready | ready | partial | The tab bar neither scrolls nor wraps, so many tabs overflow phone widths. |
|
|
261
|
+
| [Tree](../components/tree.md) | ready | partial | not supported | Desktop-first: right-click menus, HTML5 drag and hover-revealed row actions are not tuned for touch. |
|
|
262
|
+
| [Breadcrumb](../components/breadcrumb.md) | ready | ready | partial | Crumbs wrap to fit narrow screens, but their link targets are not enlarged under .coar-mobile. |
|
|
263
|
+
| [Pagination](../components/pagination.md) | ready | ready | partial | Works on phones with fewer maxVisiblePages, but has no .coar-mobile presentation yet. |
|
|
264
|
+
|
|
265
|
+
**Layout**
|
|
266
|
+
|
|
267
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
268
|
+
|---|---|---|---|---|
|
|
269
|
+
| [Panel Layout](../components/panel-layout.md) | ready | partial | not supported | Resize dividers are 6 px wide and hard to hit by touch; the workbench layout is not meant for phones. |
|
|
270
|
+
| [Wizard](../components/wizard.md) | ready | ready | partial | Works on phones and the step indicator scrolls, but there is no .coar-mobile presentation yet. |
|
|
271
|
+
|
|
272
|
+
**Overlay**
|
|
273
|
+
|
|
274
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
275
|
+
|---|---|---|---|---|
|
|
276
|
+
| [Dialog](../components/dialog.md) | ready | ready | planned | Shrinks to the screen width on a phone; a sheet presentation for phones is planned. |
|
|
277
|
+
| [Popover](../components/popover.md) | ready | partial | planned | The default hover mode relies on emulated mouse events on touch; use mode 'click' or 'both'. |
|
|
278
|
+
| [Popconfirm](../components/popconfirm.md) | ready | ready | planned | Opens on tap; touch-sized popovers for phones are planned. |
|
|
279
|
+
| [Toast](../components/toast.md) | ready | ready | partial | Toasts are a fixed 380 px wide and overflow 360 px phone screens. |
|
|
280
|
+
| [Tooltip](../components/tooltip.md) | ready | partial | partial | Hints show on hover or focus, so touch users may not see them; keep essential information elsewhere. |
|
|
281
|
+
|
|
282
|
+
**Utilities**
|
|
283
|
+
|
|
284
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
285
|
+
|---|---|---|---|---|
|
|
286
|
+
| [Drag & Drop](../components/drag-drop.md) | ready | partial | partial | The default engine 'native' uses HTML5 drag events, made for the mouse; on touch use engine 'pointer' or 'auto'. |
|
|
287
|
+
|
|
288
|
+
**Content (@cocoar/vue-markdown, -editor, -form, -mermaid, @cocoar/vue-script-editor)**
|
|
289
|
+
|
|
290
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
291
|
+
|---|---|---|---|---|
|
|
292
|
+
| [Markdown](../components/markdown.md) | ready | ready | partial | Wide tables get no horizontal scroll container and can overflow narrow screens. |
|
|
293
|
+
| [Markdown Editor](../components/markdown-editor.md) | ready | partial | partial | Typing and the toolbar work on touch; table row/column grips and the code-block edit button need hover. |
|
|
294
|
+
| [Markdown Form](../components/markdown-form.md) | ready | ready | partial | Works on phones; its select and date fields still open the desktop panels. |
|
|
295
|
+
| [Diagrams](../components/markdown-diagrams.md) | ready | partial | partial | With zoomable, touch zooms with the buttons but cannot pan a zoomed diagram. |
|
|
296
|
+
| [Mermaid Diagram](../components/mermaid.md) | ready | partial | partial | With zoomable, touch zooms with the buttons but cannot pan a zoomed diagram. |
|
|
297
|
+
| [Script Editor](../components/script-editor.md) | ready | partial | not supported | Monaco does not support mobile browsers; touch editing has gaps and phones are out of scope. |
|
|
298
|
+
|
|
299
|
+
**Data Grid (@cocoar/vue-data-grid)**
|
|
300
|
+
|
|
301
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
302
|
+
|---|---|---|---|---|
|
|
303
|
+
| [Data Grid](../components/data-grid.md) | ready | partial | not supported | Touch scrolls and selects; editing starts with double-click and menus with right-click; not built for phones. |
|
|
304
|
+
|
|
305
|
+
**Page Builder (@cocoar/vue-page-builder)**
|
|
306
|
+
|
|
307
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
308
|
+
|---|---|---|---|---|
|
|
309
|
+
| [`<CoarPageBuilder>`](../components/page-builder/coar-page-builder.md) | ready | partial | not supported | Drag and drop works by touch; code editing uses Monaco, not made for touch; not meant for phones. |
|
|
310
|
+
| [`<CoarPageRenderer>`](../components/page-builder/coar-page-renderer.md) | ready | ready | partial | Responsive pages adapt to phone widths; its select and date fields still open desktop panels. |
|
|
311
|
+
|
|
312
|
+
**Document Viewer (@cocoar/vue-document-viewer)**
|
|
313
|
+
|
|
314
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
315
|
+
|---|---|---|---|---|
|
|
316
|
+
| [Document Viewer](../components/document-viewer/index.md) | ready | partial | partial | Pinch zoom and drawing work on touch; marker/ink style flyouts open only on hover; not adapted to phones. |
|
|
317
|
+
| [CoarDocumentViewer](../components/document-viewer/coar-document-viewer.md) | ready | partial | partial | Pinch zoom and drawing work on touch; marker/ink style flyouts open only on hover; not adapted to phones. |
|
|
318
|
+
| [Annotations](../components/document-viewer/annotations.md) | ready | partial | partial | Drawing works with touch; marker and ink width and color open only on hover; not adapted to phones. |
|
|
319
|
+
|
|
320
|
+
**Map (@cocoar/vue-map)**
|
|
321
|
+
|
|
322
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
323
|
+
|---|---|---|---|---|
|
|
324
|
+
| [Map](../components/map/index.md) | ready | ready | partial | Pan and zoom work by touch; the map's controls have no .coar-mobile presentation yet. |
|
|
325
|
+
| [Map Editor](../components/map/editor.md) | ready | partial | partial | Map editing works on touch; the point list's drag reorder is mouse-only and nothing is phone-adapted. |
|
|
326
|
+
|
|
327
|
+
**Calendar (@cocoar/vue-calendar)**
|
|
328
|
+
|
|
329
|
+
| Page | Desktop | Tablet | Phone | Note |
|
|
330
|
+
|---|---|---|---|---|
|
|
331
|
+
| [Calendar](../components/calendar/index.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
332
|
+
| [`<CoarCalendar>` — Composer](../components/calendar/coar-calendar.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
333
|
+
| [`<CoarYearView>` — Year View](../components/calendar/year-view.md) | ready | ready | planned | Tap to drill in works on touch; a phone presentation of the calendar is planned. |
|
|
334
|
+
| [Month Views](../components/calendar/month-view.md) | ready | partial | planned | Taps work on touch; multi-day bar resize handles are only 6 px and a touch on a pill always drags it. |
|
|
335
|
+
| [`<CoarDayView>` — Day View](../components/calendar/day-view.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
336
|
+
| [`<CoarWeekView>` — Week View](../components/calendar/week-view.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
337
|
+
| [`<CoarWorkWeekView>` — Work Week View](../components/calendar/work-week-view.md) | ready | partial | planned | Taps, swipe paging and long-press selection work on touch; event resize handles are only 6 px tall. |
|
|
338
|
+
| [Selecting time, drafts & bands](../components/calendar/time-selection.md) | ready | ready | planned | Long press selects on touch; the hover time indicator appears only for mouse and pen. |
|
|
339
|
+
| [`<CoarAgendaView>` — Agenda View](../components/calendar/agenda-view.md) | ready | ready | planned | Taps and scrolling work on touch; a phone presentation of the calendar is planned. |
|
|
340
|
+
| [`<CoarTimelineView>` — Timeline View](../components/calendar/timeline-view.md) | ready | ready | planned | Finger panning works like mouse panning; a phone presentation of the calendar is planned. |
|