@ac-kit/ui-common 0.1.0 → 0.3.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/CHANGELOG.md +210 -0
- package/README.md +383 -9
- package/dist/adapter/_anchor.d.ts +13 -0
- package/dist/adapter/_anchor.d.ts.map +1 -0
- package/dist/adapter/_anchor.js +39 -0
- package/dist/adapter/_anchor.js.map +1 -0
- package/dist/adapter/_dom.d.ts +14 -0
- package/dist/adapter/_dom.d.ts.map +1 -0
- package/dist/adapter/_dom.js +31 -0
- package/dist/adapter/_dom.js.map +1 -0
- package/dist/adapter/_live-announcer.d.ts +26 -0
- package/dist/adapter/_live-announcer.d.ts.map +1 -0
- package/dist/adapter/_live-announcer.js +101 -0
- package/dist/adapter/_live-announcer.js.map +1 -0
- package/dist/adapter/join-classes.d.ts.map +1 -0
- package/dist/adapter/join-classes.js.map +1 -0
- package/dist/anchored/anchored.d.ts +19 -0
- package/dist/anchored/anchored.d.ts.map +1 -0
- package/dist/anchored/anchored.js +2 -0
- package/dist/anchored/anchored.js.map +1 -0
- package/dist/bit-grid/bit-grid.d.ts +151 -0
- package/dist/bit-grid/bit-grid.d.ts.map +1 -0
- package/dist/bit-grid/bit-grid.js +201 -0
- package/dist/bit-grid/bit-grid.js.map +1 -0
- package/dist/focus/typeahead.d.ts +112 -0
- package/dist/focus/typeahead.d.ts.map +1 -0
- package/dist/focus/typeahead.js +178 -0
- package/dist/focus/typeahead.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/menu/menu.d.ts +157 -0
- package/dist/menu/menu.d.ts.map +1 -0
- package/dist/menu/menu.js +162 -0
- package/dist/menu/menu.js.map +1 -0
- package/dist/preact/bit-grid.d.ts +39 -0
- package/dist/preact/bit-grid.d.ts.map +1 -0
- package/dist/preact/bit-grid.js +72 -0
- package/dist/preact/bit-grid.js.map +1 -0
- package/dist/preact/button.d.ts.map +1 -1
- package/dist/preact/button.js +1 -1
- package/dist/preact/button.js.map +1 -1
- package/dist/preact/dialog.d.ts.map +1 -1
- package/dist/preact/dialog.js +1 -1
- package/dist/preact/dialog.js.map +1 -1
- package/dist/preact/index.d.ts +10 -1
- package/dist/preact/index.d.ts.map +1 -1
- package/dist/preact/index.js +10 -1
- package/dist/preact/index.js.map +1 -1
- package/dist/preact/knob.d.ts.map +1 -1
- package/dist/preact/knob.js +6 -14
- package/dist/preact/knob.js.map +1 -1
- package/dist/preact/menu-button.d.ts +117 -0
- package/dist/preact/menu-button.d.ts.map +1 -0
- package/dist/preact/menu-button.js +330 -0
- package/dist/preact/menu-button.js.map +1 -0
- package/dist/preact/meter.d.ts.map +1 -1
- package/dist/preact/meter.js +1 -1
- package/dist/preact/meter.js.map +1 -1
- package/dist/preact/progress-ring.d.ts +42 -0
- package/dist/preact/progress-ring.d.ts.map +1 -0
- package/dist/preact/progress-ring.js +26 -0
- package/dist/preact/progress-ring.js.map +1 -0
- package/dist/preact/radio-group.d.ts.map +1 -1
- package/dist/preact/radio-group.js +1 -1
- package/dist/preact/radio-group.js.map +1 -1
- package/dist/preact/readout.d.ts.map +1 -1
- package/dist/preact/readout.js +1 -1
- package/dist/preact/readout.js.map +1 -1
- package/dist/preact/slider.d.ts.map +1 -1
- package/dist/preact/slider.js +7 -5
- package/dist/preact/slider.js.map +1 -1
- package/dist/preact/spin-button.d.ts +67 -0
- package/dist/preact/spin-button.d.ts.map +1 -0
- package/dist/preact/spin-button.js +132 -0
- package/dist/preact/spin-button.js.map +1 -0
- package/dist/preact/swatch-strip.d.ts +30 -0
- package/dist/preact/swatch-strip.d.ts.map +1 -0
- package/dist/preact/swatch-strip.js +17 -0
- package/dist/preact/swatch-strip.js.map +1 -0
- package/dist/preact/switch.js +1 -1
- package/dist/preact/switch.js.map +1 -1
- package/dist/preact/tabs.d.ts +97 -0
- package/dist/preact/tabs.d.ts.map +1 -0
- package/dist/preact/tabs.js +264 -0
- package/dist/preact/tabs.js.map +1 -0
- package/dist/preact/toaster.d.ts +43 -0
- package/dist/preact/toaster.d.ts.map +1 -0
- package/dist/preact/toaster.js +356 -0
- package/dist/preact/toaster.js.map +1 -0
- package/dist/preact/toggle-button.d.ts.map +1 -1
- package/dist/preact/toggle-button.js +1 -1
- package/dist/preact/toggle-button.js.map +1 -1
- package/dist/preact/toolbar.d.ts.map +1 -1
- package/dist/preact/toolbar.js +3 -9
- package/dist/preact/toolbar.js.map +1 -1
- package/dist/preact/tooltip.d.ts +67 -0
- package/dist/preact/tooltip.d.ts.map +1 -0
- package/dist/preact/tooltip.js +165 -0
- package/dist/preact/tooltip.js.map +1 -0
- package/dist/preact/tree.d.ts +93 -0
- package/dist/preact/tree.d.ts.map +1 -0
- package/dist/preact/tree.js +399 -0
- package/dist/preact/tree.js.map +1 -0
- package/dist/progress/progress.d.ts +51 -0
- package/dist/progress/progress.d.ts.map +1 -0
- package/dist/progress/progress.js +43 -0
- package/dist/progress/progress.js.map +1 -0
- package/dist/react/_props.d.ts +22 -0
- package/dist/react/_props.d.ts.map +1 -0
- package/dist/react/_props.js +14 -0
- package/dist/react/_props.js.map +1 -0
- package/dist/react/bit-grid.d.ts +40 -0
- package/dist/react/bit-grid.d.ts.map +1 -0
- package/dist/react/bit-grid.js +71 -0
- package/dist/react/bit-grid.js.map +1 -0
- package/dist/react/button.d.ts +60 -0
- package/dist/react/button.d.ts.map +1 -0
- package/dist/react/button.js +34 -0
- package/dist/react/button.js.map +1 -0
- package/dist/react/dialog.d.ts +44 -0
- package/dist/react/dialog.d.ts.map +1 -0
- package/dist/react/dialog.js +91 -0
- package/dist/react/dialog.js.map +1 -0
- package/dist/react/index.d.ts +22 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +22 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/knob.d.ts +55 -0
- package/dist/react/knob.d.ts.map +1 -0
- package/dist/react/knob.js +144 -0
- package/dist/react/knob.js.map +1 -0
- package/dist/react/menu-button.d.ts +147 -0
- package/dist/react/menu-button.d.ts.map +1 -0
- package/dist/react/menu-button.js +342 -0
- package/dist/react/menu-button.js.map +1 -0
- package/dist/react/meter.d.ts +34 -0
- package/dist/react/meter.d.ts.map +1 -0
- package/dist/react/meter.js +23 -0
- package/dist/react/meter.js.map +1 -0
- package/dist/react/progress-ring.d.ts +42 -0
- package/dist/react/progress-ring.d.ts.map +1 -0
- package/dist/react/progress-ring.js +28 -0
- package/dist/react/progress-ring.js.map +1 -0
- package/dist/react/radio-group.d.ts +52 -0
- package/dist/react/radio-group.d.ts.map +1 -0
- package/dist/react/radio-group.js +30 -0
- package/dist/react/radio-group.js.map +1 -0
- package/dist/react/readout.d.ts +23 -0
- package/dist/react/readout.d.ts.map +1 -0
- package/dist/react/readout.js +13 -0
- package/dist/react/readout.js.map +1 -0
- package/dist/react/slider.d.ts +44 -0
- package/dist/react/slider.d.ts.map +1 -0
- package/dist/react/slider.js +167 -0
- package/dist/react/slider.js.map +1 -0
- package/dist/react/spin-button.d.ts +71 -0
- package/dist/react/spin-button.d.ts.map +1 -0
- package/dist/react/spin-button.js +132 -0
- package/dist/react/spin-button.js.map +1 -0
- package/dist/react/swatch-strip.d.ts +31 -0
- package/dist/react/swatch-strip.d.ts.map +1 -0
- package/dist/react/swatch-strip.js +17 -0
- package/dist/react/swatch-strip.js.map +1 -0
- package/dist/react/switch.d.ts +26 -0
- package/dist/react/switch.d.ts.map +1 -0
- package/dist/react/switch.js +19 -0
- package/dist/react/switch.js.map +1 -0
- package/dist/react/tabs.d.ts +95 -0
- package/dist/react/tabs.d.ts.map +1 -0
- package/dist/react/tabs.js +274 -0
- package/dist/react/tabs.js.map +1 -0
- package/dist/react/toaster.d.ts +43 -0
- package/dist/react/toaster.d.ts.map +1 -0
- package/dist/react/toaster.js +368 -0
- package/dist/react/toaster.js.map +1 -0
- package/dist/react/toggle-button.d.ts +37 -0
- package/dist/react/toggle-button.d.ts.map +1 -0
- package/dist/react/toggle-button.js +22 -0
- package/dist/react/toggle-button.js.map +1 -0
- package/dist/react/toolbar.d.ts +25 -0
- package/dist/react/toolbar.d.ts.map +1 -0
- package/dist/react/toolbar.js +143 -0
- package/dist/react/toolbar.js.map +1 -0
- package/dist/react/tooltip.d.ts +68 -0
- package/dist/react/tooltip.d.ts.map +1 -0
- package/dist/react/tooltip.js +165 -0
- package/dist/react/tooltip.js.map +1 -0
- package/dist/react/tree.d.ts +94 -0
- package/dist/react/tree.d.ts.map +1 -0
- package/dist/react/tree.js +422 -0
- package/dist/react/tree.js.map +1 -0
- package/dist/react/use-element-binding.d.ts +35 -0
- package/dist/react/use-element-binding.d.ts.map +1 -0
- package/dist/react/use-element-binding.js +51 -0
- package/dist/react/use-element-binding.js.map +1 -0
- package/dist/spin-button/spin-button.d.ts +110 -0
- package/dist/spin-button/spin-button.d.ts.map +1 -0
- package/dist/spin-button/spin-button.js +179 -0
- package/dist/spin-button/spin-button.js.map +1 -0
- package/dist/swatch-strip/swatch-strip.d.ts +60 -0
- package/dist/swatch-strip/swatch-strip.d.ts.map +1 -0
- package/dist/swatch-strip/swatch-strip.js +60 -0
- package/dist/swatch-strip/swatch-strip.js.map +1 -0
- package/dist/tabs/tabs.d.ts +157 -0
- package/dist/tabs/tabs.d.ts.map +1 -0
- package/dist/tabs/tabs.js +120 -0
- package/dist/tabs/tabs.js.map +1 -0
- package/dist/toast/toast-queue.d.ts +212 -0
- package/dist/toast/toast-queue.d.ts.map +1 -0
- package/dist/toast/toast-queue.js +290 -0
- package/dist/toast/toast-queue.js.map +1 -0
- package/dist/toast/toasts-obscure.d.ts +25 -0
- package/dist/toast/toasts-obscure.d.ts.map +1 -0
- package/dist/toast/toasts-obscure.js +30 -0
- package/dist/toast/toasts-obscure.js.map +1 -0
- package/dist/tooltip/tooltip.d.ts +183 -0
- package/dist/tooltip/tooltip.d.ts.map +1 -0
- package/dist/tooltip/tooltip.js +185 -0
- package/dist/tooltip/tooltip.js.map +1 -0
- package/dist/tree/tree.d.ts +302 -0
- package/dist/tree/tree.d.ts.map +1 -0
- package/dist/tree/tree.js +439 -0
- package/dist/tree/tree.js.map +1 -0
- package/package.json +47 -14
- package/styles.css +1084 -3
- package/dist/preact/join-classes.d.ts.map +0 -1
- package/dist/preact/join-classes.js.map +0 -1
- /package/dist/{preact → adapter}/join-classes.d.ts +0 -0
- /package/dist/{preact → adapter}/join-classes.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,215 @@
|
|
|
1
1
|
# @ac-kit/ui-common
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5c203e7: Two displays join the controls.
|
|
8
|
+
|
|
9
|
+
- `BitGrid` (`/preact`, `/react`) shows bytes as a grid of bits or hex bytes.
|
|
10
|
+
Cells that differ from a `reference` are filled, named byte ranges
|
|
11
|
+
(`fields`) are tinted and listed in a legend, and with `onActivate` a cell
|
|
12
|
+
can be clicked or activated with Enter or Space, the chosen one marked by
|
|
13
|
+
`selectedIndex`. It is a WAI-ARIA `grid` with one tab stop, the arrows,
|
|
14
|
+
Home and End, read-only without `onActivate`. The core exports
|
|
15
|
+
`bitGridCells`, `bitGridCellLabel`, `bitGridKeyIndex`, `bitGridAttributes`
|
|
16
|
+
and `BIT_GRID_FIELD_TONES`.
|
|
17
|
+
- `SwatchStrip` (`/preact`, `/react`) shows a row of colours as named swatches
|
|
18
|
+
or as one gradient, with hard stops unless an `interpolation` space is given.
|
|
19
|
+
The core exports `swatchStripGradient`, `swatchStripItemLabel` and
|
|
20
|
+
`swatchStripSummary`.
|
|
21
|
+
|
|
22
|
+
`styles.css` styles both through `--ack-bit-grid-*` and `--ack-swatch-strip-*`
|
|
23
|
+
custom properties.
|
|
24
|
+
- 5c203e7: New `@ac-kit/ui-common/react` subpath: every Preact component (`Knob`, `Slider`, `ToggleButton`, `Readout`, `Meter`, `Switch`, `RadioGroup`, `Button`, `IconButton`, `Toolbar`, `Dialog`, `MenuButton` and its items, `Tooltip`, `Toaster`, `Tabs` and its parts, `ProgressRing`, `SpinButton`, `Tree`) for React 18 and 19, with the same props, classes, `data-*` and ARIA attributes, plus `useElementBinding`, `useLatest` and `joinClasses`. Components take `className` beside `class`; `onChange` keeps its once-per-gesture meaning; `Button`, `IconButton`, `ToggleButton` and `MenuButton` forward a `ref` to their button. `react` and `react-dom` are optional peer dependencies, as `@types/react` is. Single taps and long presses now settle 32 ms after their deadline, through `@ac-kit/ui-gesture`'s new `deadlineGrace`.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [5c203e7]
|
|
29
|
+
- Updated dependencies [5c203e7]
|
|
30
|
+
- Updated dependencies [5c203e7]
|
|
31
|
+
- Updated dependencies [5c203e7]
|
|
32
|
+
- Updated dependencies [5c203e7]
|
|
33
|
+
- Updated dependencies [5c203e7]
|
|
34
|
+
- Updated dependencies [5c203e7]
|
|
35
|
+
- Updated dependencies [5c203e7]
|
|
36
|
+
- Updated dependencies [5c203e7]
|
|
37
|
+
- Updated dependencies [5c203e7]
|
|
38
|
+
- Updated dependencies [5c203e7]
|
|
39
|
+
- Updated dependencies [5c203e7]
|
|
40
|
+
- Updated dependencies [5c203e7]
|
|
41
|
+
- Updated dependencies [5c203e7]
|
|
42
|
+
- Updated dependencies [5c203e7]
|
|
43
|
+
- Updated dependencies [5c203e7]
|
|
44
|
+
- Updated dependencies [5c203e7]
|
|
45
|
+
- Updated dependencies [5c203e7]
|
|
46
|
+
- Updated dependencies [5c203e7]
|
|
47
|
+
- Updated dependencies [5c203e7]
|
|
48
|
+
- Updated dependencies [5c203e7]
|
|
49
|
+
- @ac-kit/algo@0.7.0
|
|
50
|
+
- @ac-kit/core@0.14.0
|
|
51
|
+
- @ac-kit/format-svg@0.2.0
|
|
52
|
+
- @ac-kit/math-geometry@0.5.0
|
|
53
|
+
- @ac-kit/math-linear@0.5.0
|
|
54
|
+
- @ac-kit/math-scalar@0.5.0
|
|
55
|
+
- @ac-kit/ui-gesture@0.2.0
|
|
56
|
+
- @ac-kit/browser@0.4.1
|
|
57
|
+
|
|
58
|
+
## 0.2.0
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- 0b4fe43: A menu button, a tooltip and toasts, over the Popover API and CSS anchor
|
|
63
|
+
positioning, and a typeahead for lists.
|
|
64
|
+
|
|
65
|
+
- `MenuButton` (`/preact`), with `MenuItem`, `MenuItemCheckbox`,
|
|
66
|
+
`MenuItemRadio`, `MenuGroup` and `MenuSeparator`, follows the WAI-ARIA menu
|
|
67
|
+
button and menu patterns: Enter, Space and the arrows open it on its first
|
|
68
|
+
or last item, the arrows, Home, End and typed names move in it, Enter
|
|
69
|
+
chooses and closes, Space checks a checkbox or radio item and keeps it open,
|
|
70
|
+
Escape, Tab and a press outside close it, and focus returns to the button
|
|
71
|
+
before an item's callback runs. A disabled item stays focusable and is not
|
|
72
|
+
chosen. `onOpenChange` reports the open state; the items' checked states are
|
|
73
|
+
the caller's.
|
|
74
|
+
- `Tooltip` (`/preact`) describes or names its trigger (`relation`), shows on
|
|
75
|
+
a mouse or pen hover after `showDelayMs` and at once on a keyboard focus,
|
|
76
|
+
stays while the trigger or the tooltip is hovered or focused, and hides on
|
|
77
|
+
Escape (without closing a dialog around it) and on a press, per WCAG 2.2
|
|
78
|
+
success criterion 1.4.13. The tooltips of a `TooltipGroup` show one at a
|
|
79
|
+
time, the next without its delay.
|
|
80
|
+
- `Toaster` (`/preact`) shows a `ToastQueue`'s toasts in a named region at an
|
|
81
|
+
edge of the viewport and announces each one through a polite or assertive
|
|
82
|
+
live region; while a modal dialog holds focus, both move into it so they are
|
|
83
|
+
neither inert nor silent. F8 takes focus to the toasts and back, Escape
|
|
84
|
+
dismisses the focused one, and their clocks stop while hovered, focused or
|
|
85
|
+
with the page hidden. A toast with an action stays until dismissed unless
|
|
86
|
+
given a duration; showing a toast again with its id updates it in place.
|
|
87
|
+
Toasts covering part of the focused control fade until hovered (WCAG 2.2
|
|
88
|
+
success criterion 2.4.11).
|
|
89
|
+
- The core gains the framework-free parts every adapter shares:
|
|
90
|
+
`menuButtonAttributes`, `menuAttributes`, `menuItemAttributes`,
|
|
91
|
+
`menuButtonKeyAction`, `menuKeyAction`; `tooltipAttributes`,
|
|
92
|
+
`tooltipTriggerAttributes`, `tooltipStep`, `TOOLTIP_CLOSED`,
|
|
93
|
+
`TooltipGroup`; `ToastQueue`, `toasterAttributes`, `toastAttributes`,
|
|
94
|
+
`toastAnnouncement`, `toastsObscure`; `Typeahead`, `typeaheadIndex` (grapheme- and
|
|
95
|
+
locale-aware, case- and accent-insensitive), `isTypeaheadKey`; and the
|
|
96
|
+
`AnchoredSide` and `AnchoredAlign` placement types.
|
|
97
|
+
- `styles.css` places a menu or tooltip on its `data-side` and `data-align`,
|
|
98
|
+
flipping it when the viewport has no room and shifting it inside, with new
|
|
99
|
+
`--ack-menu-*`, `--ack-tooltip-*`, `--ack-toast-*` and `--ack-toaster-inset`
|
|
100
|
+
properties; their transitions stop under `prefers-reduced-motion: reduce`.
|
|
101
|
+
A browser without anchor positioning needs a polyfill, or shows them in the
|
|
102
|
+
middle of the viewport.
|
|
103
|
+
|
|
104
|
+
The package now depends on `@ac-kit/browser`.
|
|
105
|
+
- 0b4fe43: Tabs, a progress ring, a spin button and a tree view.
|
|
106
|
+
|
|
107
|
+
- `Tabs` (`/preact`), with `TabList`, `Tab` and `TabPanel`, follows the
|
|
108
|
+
WAI-ARIA tabs pattern: one tab stop on the selected tab, the arrows along
|
|
109
|
+
the list moving round (mirrored right to left), Home and End to the ends,
|
|
110
|
+
then the panel or its first control. Activation is `automatic` (a tab shows
|
|
111
|
+
its panel as the arrows reach it) or `manual` (Enter, Space or a click). A
|
|
112
|
+
disabled tab is focusable and never selected. With `onDelete`, Delete closes
|
|
113
|
+
the focused tab, focus moving to the next and the nearest enabled tab
|
|
114
|
+
selected in its place. Hidden panels stay rendered `hidden="until-found"`,
|
|
115
|
+
so they keep their state and find in page selects the tab of a match. The
|
|
116
|
+
selection is the caller's.
|
|
117
|
+
- `ProgressRing` (`/preact`) is a `progressbar` drawn as an arc from twelve
|
|
118
|
+
o'clock, with its value and `valueText`, or turning while indeterminate
|
|
119
|
+
(still under `prefers-reduced-motion: reduce`); it can draw its value text
|
|
120
|
+
inside.
|
|
121
|
+
- `SpinButton` (`/preact`) follows the WAI-ARIA spinbutton pattern: Arrow Up
|
|
122
|
+
and Down, Page Up and Down by ten steps, Home and End to the bounds it has,
|
|
123
|
+
either bound optional. With `parse`, the value is also typed, committed on
|
|
124
|
+
Enter or blur snapped to the steps and bounds, reverted on Escape, and
|
|
125
|
+
marked invalid while it is not a number. Its − and + buttons are named, out
|
|
126
|
+
of the tab order, never take focus, stop at the bounds, and announce the new
|
|
127
|
+
value politely when focus is elsewhere. `onChange` fires once per key,
|
|
128
|
+
press or entry.
|
|
129
|
+
- `Tree` (`/preact`) follows the WAI-ARIA tree view pattern over the caller's
|
|
130
|
+
nodes (`roots`, `childrenOf`, `textValueOf`, `renderItem`): one tab stop,
|
|
131
|
+
the pattern's keys including `*`, typeahead and the multiple-selection keys,
|
|
132
|
+
mirrored right to left; `selectionMode` `single`, `multiple` or `none`,
|
|
133
|
+
`selectionFollowsFocus`, `onActivate` (Enter and a click), disabled nodes
|
|
134
|
+
focusable but never selected or activated, and lazy children shown busy
|
|
135
|
+
until loaded (`isBranch`). Expansion and selection are the caller's. Every
|
|
136
|
+
row states its level, position and set size; a row is drawn again only when
|
|
137
|
+
its own state changes, and focus moves to the nearest row left when the
|
|
138
|
+
focused one goes away.
|
|
139
|
+
- The core gains the framework-free parts: `tabListAttributes`,
|
|
140
|
+
`tabAttributes`, `tabPanelAttributes`, `tabsKeyAction`;
|
|
141
|
+
`progressAttributes`; `SpinButtonRange`, `snapSpinButtonValue`,
|
|
142
|
+
`spinButtonValue`, `spinButtonAttributes`; `TreeSource`, `TreeRows`,
|
|
143
|
+
`visibleTreeRows` (iterative, a node's row in O(1), a node shown twice
|
|
144
|
+
refused), `treeKeyAction`, `nextTreeSelection`, `expandTreeSiblings`,
|
|
145
|
+
`treePath`, `treeTabStop`, `treeAttributes`, `treeItemAttributes`; and
|
|
146
|
+
`typeaheadCharacter` and `Typeahead.find`, which the menu now uses too.
|
|
147
|
+
- `styles.css` draws them with new `--ack-tabs-*`, `--ack-tab-*`,
|
|
148
|
+
`--ack-progress-ring-*`, `--ack-spin-button-*` and `--ack-tree-*`
|
|
149
|
+
properties; a selected tab and a selected row carry a bar besides their
|
|
150
|
+
colour, forced colours draw them in system colours, and every new
|
|
151
|
+
transition and animation stops under `prefers-reduced-motion: reduce`.
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- 0b4fe43: `Knob` and `Slider` fixes. A `Knob` that is disabled drops a tap pending in its
|
|
156
|
+
double-tap window, so enabling it again before the deadline no longer requests
|
|
157
|
+
entry. A `Slider` swallows the click after a press released away from where it
|
|
158
|
+
started, even with no move in between, and lets through the click of a press
|
|
159
|
+
whose moves never left the press point. The arrow keys, Page Up and Page Down,
|
|
160
|
+
Home and End of both step from the value they show: a value of `200` in
|
|
161
|
+
`[0, 100]` shows `100`, and ArrowLeft gives `99`.
|
|
162
|
+
- Updated dependencies [0b4fe43]
|
|
163
|
+
- Updated dependencies [0b4fe43]
|
|
164
|
+
- Updated dependencies [0b4fe43]
|
|
165
|
+
- Updated dependencies [0b4fe43]
|
|
166
|
+
- Updated dependencies [0b4fe43]
|
|
167
|
+
- Updated dependencies [0b4fe43]
|
|
168
|
+
- Updated dependencies [0b4fe43]
|
|
169
|
+
- Updated dependencies [0b4fe43]
|
|
170
|
+
- Updated dependencies [0b4fe43]
|
|
171
|
+
- Updated dependencies [0b4fe43]
|
|
172
|
+
- Updated dependencies [0b4fe43]
|
|
173
|
+
- Updated dependencies [0b4fe43]
|
|
174
|
+
- Updated dependencies [0b4fe43]
|
|
175
|
+
- Updated dependencies [0b4fe43]
|
|
176
|
+
- Updated dependencies [0b4fe43]
|
|
177
|
+
- Updated dependencies [0b4fe43]
|
|
178
|
+
- Updated dependencies [0b4fe43]
|
|
179
|
+
- Updated dependencies [0b4fe43]
|
|
180
|
+
- Updated dependencies [0b4fe43]
|
|
181
|
+
- Updated dependencies [0b4fe43]
|
|
182
|
+
- Updated dependencies [0b4fe43]
|
|
183
|
+
- Updated dependencies [0b4fe43]
|
|
184
|
+
- Updated dependencies [0b4fe43]
|
|
185
|
+
- Updated dependencies [0b4fe43]
|
|
186
|
+
- Updated dependencies [0b4fe43]
|
|
187
|
+
- Updated dependencies [0b4fe43]
|
|
188
|
+
- Updated dependencies [0b4fe43]
|
|
189
|
+
- Updated dependencies [0b4fe43]
|
|
190
|
+
- Updated dependencies [0b4fe43]
|
|
191
|
+
- Updated dependencies [0b4fe43]
|
|
192
|
+
- Updated dependencies [0b4fe43]
|
|
193
|
+
- Updated dependencies [0b4fe43]
|
|
194
|
+
- Updated dependencies [0b4fe43]
|
|
195
|
+
- Updated dependencies [0b4fe43]
|
|
196
|
+
- Updated dependencies [0b4fe43]
|
|
197
|
+
- Updated dependencies [0b4fe43]
|
|
198
|
+
- Updated dependencies [0b4fe43]
|
|
199
|
+
- Updated dependencies [0b4fe43]
|
|
200
|
+
- Updated dependencies [0b4fe43]
|
|
201
|
+
- Updated dependencies [0b4fe43]
|
|
202
|
+
- Updated dependencies [0b4fe43]
|
|
203
|
+
- Updated dependencies [0b4fe43]
|
|
204
|
+
- @ac-kit/algo@0.6.0
|
|
205
|
+
- @ac-kit/browser@0.4.0
|
|
206
|
+
- @ac-kit/core@0.13.0
|
|
207
|
+
- @ac-kit/math-geometry@0.4.0
|
|
208
|
+
- @ac-kit/math-linear@0.4.0
|
|
209
|
+
- @ac-kit/math-scalar@0.4.0
|
|
210
|
+
- @ac-kit/ui-gesture@0.1.1
|
|
211
|
+
- @ac-kit/format-svg@0.1.5
|
|
212
|
+
|
|
3
213
|
## 0.1.0
|
|
4
214
|
|
|
5
215
|
### Minor Changes
|