@feitio/vanilla 0.2.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/README.md +4 -3
- package/dist/feitio.js +766 -6
- package/dist/kanban.js +789 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/kanban/actions/kanban-flip.d.ts +33 -0
- package/dist/types/kanban/actions/move-card.d.ts +19 -0
- package/dist/types/kanban/actions/sync-kanban.d.ts +4 -0
- package/dist/types/kanban/actions/wire-create.d.ts +12 -0
- package/dist/types/kanban/actions/wire-drag.d.ts +8 -0
- package/dist/types/kanban/actions/wire-kanbans.d.ts +6 -0
- package/dist/types/kanban/actions/wire-minimap.d.ts +6 -0
- package/dist/types/kanban/actions/wire-move-menu.d.ts +5 -0
- package/dist/types/kanban/actions/wire-scroll-row.d.ts +5 -0
- package/dist/types/kanban/calculations/kanban-motion.d.ts +45 -0
- package/dist/types/kanban/calculations/kanban-rules.d.ts +8 -0
- package/dist/types/kanban/index.d.ts +11 -0
- package/package.json +12 -7
- package/src/index.ts +1 -0
- package/src/kanban/actions/kanban-flip.ts +172 -0
- package/src/kanban/actions/move-card.ts +61 -0
- package/src/kanban/actions/sync-kanban.ts +31 -0
- package/src/kanban/actions/wire-create.ts +84 -0
- package/src/kanban/actions/wire-drag.ts +240 -0
- package/src/kanban/actions/wire-kanbans.ts +36 -0
- package/src/kanban/actions/wire-minimap.ts +66 -0
- package/src/kanban/actions/wire-move-menu.ts +80 -0
- package/src/kanban/actions/wire-scroll-row.ts +58 -0
- package/src/kanban/calculations/kanban-motion.ts +98 -0
- package/src/kanban/calculations/kanban-rules.ts +19 -0
- package/src/kanban/index.ts +28 -0
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ npm install @feitio/core @feitio/vanilla
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
|
-
import { dialogs, forms, menus, notices, scrolls } from '@feitio/vanilla';
|
|
12
|
+
import { dialogs, forms, kanbans, menus, notices, scrolls } from '@feitio/vanilla';
|
|
13
13
|
|
|
14
14
|
const notice = notices(window); // close buttons, and timed notices that pause under the pointer
|
|
15
15
|
notice.show(document.getElementById('saved'));
|
|
@@ -17,13 +17,14 @@ menus(window); // Menu: position, focus, arrow keys
|
|
|
17
17
|
forms(window); // Switch, SegmentedControl, TimeInput, FilterField
|
|
18
18
|
dialogs(window); // openers, typed confirmation, reset on close
|
|
19
19
|
scrolls(window); // ScrollFade and BackToTop
|
|
20
|
+
kanbans(window); // Kanban: tabs, dragging, the move button, the new card; feitio-kanban-move and -create
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
Each behavior also has its own entry point (`@feitio/vanilla/notice`, `/menu`, `/forms`,
|
|
23
|
-
`/status`, `/scroll`, `/dialog`). The markup comes from Feitio's components
|
|
24
|
+
`/status`, `/scroll`, `/dialog`, `/kanban`). The markup comes from Feitio's components
|
|
24
25
|
([`@feitio/astro`](https://www.npmjs.com/package/@feitio/astro), or the HTML in the docs), and the
|
|
25
26
|
styles from [`@feitio/core`](https://www.npmjs.com/package/@feitio/core).
|
|
26
27
|
|
|
27
|
-
Docs: https://
|
|
28
|
+
Docs: https://feitio.bymaid.com/
|
|
28
29
|
|
|
29
30
|
MIT.
|