@wardic/solid 1.0.0 → 1.1.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 +5 -2
- package/dist/browser/appear.js +42 -3
- package/dist/browser/appear.js.map +1 -1
- package/dist/browser/batch-handoff.js +2 -17
- package/dist/browser/batch-handoff.js.map +1 -1
- package/dist/browser/batch-reorder-group.js +40 -11
- package/dist/browser/batch-reorder-group.js.map +1 -1
- package/dist/browser/batch-reorder-places.js +517 -50
- package/dist/browser/batch-reorder-places.js.map +1 -1
- package/dist/browser/batch-reorder.js +284 -42
- package/dist/browser/batch-reorder.js.map +1 -1
- package/dist/browser/batch.js +4 -4
- package/dist/browser/batch.js.map +1 -1
- package/dist/browser/create-ward.js +28 -10
- package/dist/browser/create-ward.js.map +1 -1
- package/dist/browser/create-wardic.js +44 -0
- package/dist/browser/create-wardic.js.map +1 -0
- package/dist/browser/element.js +12 -3
- package/dist/browser/element.js.map +1 -1
- package/dist/browser/feature.js +57 -22
- package/dist/browser/feature.js.map +1 -1
- package/dist/browser/features/all.js +8 -0
- package/dist/browser/features/all.js.map +1 -1
- package/dist/browser/features/colors.js.map +1 -1
- package/dist/browser/features/dom-animation.js +8 -0
- package/dist/browser/features/dom-animation.js.map +1 -1
- package/dist/browser/features/dom-max.js +6 -0
- package/dist/browser/features/dom-max.js.map +1 -1
- package/dist/browser/features/drag.js.map +1 -1
- package/dist/browser/features/focus.js.map +1 -1
- package/dist/browser/features/hover.js.map +1 -1
- package/dist/browser/features/in-view.js.map +1 -1
- package/dist/browser/features/keys.js +6 -0
- package/dist/browser/features/keys.js.map +1 -1
- package/dist/browser/features/layout.js +14 -3
- package/dist/browser/features/layout.js.map +1 -1
- package/dist/browser/features/pan.js.map +1 -1
- package/dist/browser/features/press.js.map +1 -1
- package/dist/browser/features/scroll.js +10 -3
- package/dist/browser/features/scroll.js.map +1 -1
- package/dist/browser/features/timeline-keys.js +100 -0
- package/dist/browser/features/timeline-keys.js.map +1 -0
- package/dist/browser/imperative.js +182 -4
- package/dist/browser/imperative.js.map +1 -1
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/instance-features.js +66 -0
- package/dist/browser/instance-features.js.map +1 -0
- package/dist/browser/layout-member.js +0 -2
- package/dist/browser/layout-member.js.map +1 -1
- package/dist/browser/layout-projection.js +8 -1
- package/dist/browser/layout-projection.js.map +1 -1
- package/dist/browser/layout.js +5 -6
- package/dist/browser/layout.js.map +1 -1
- package/dist/browser/live-scroll.js +29 -21
- package/dist/browser/live-scroll.js.map +1 -1
- package/dist/browser/live-style.js +10 -0
- package/dist/browser/live-style.js.map +1 -1
- package/dist/browser/live-value.js +11 -2
- package/dist/browser/live-value.js.map +1 -1
- package/dist/browser/member-hold.js +37 -7
- package/dist/browser/member-hold.js.map +1 -1
- package/dist/browser/messages.js +20 -0
- package/dist/browser/messages.js.map +1 -0
- package/dist/browser/presence-controller.js +136 -44
- package/dist/browser/presence-controller.js.map +1 -1
- package/dist/browser/presence-record.js.map +1 -1
- package/dist/browser/presence.js.map +1 -1
- package/dist/browser/provider.js +57 -11
- package/dist/browser/provider.js.map +1 -1
- package/dist/browser/reorder.js.map +1 -1
- package/dist/browser/runtime.js +15 -9
- package/dist/browser/runtime.js.map +1 -1
- package/dist/browser/scroll-values.js +46 -0
- package/dist/browser/scroll-values.js.map +1 -0
- package/dist/browser/spans-check.js +25 -0
- package/dist/browser/spans-check.js.map +1 -0
- package/dist/browser/spine.js +149 -207
- package/dist/browser/spine.js.map +1 -1
- package/dist/browser/timelines.js +9 -0
- package/dist/browser/timelines.js.map +1 -0
- package/dist/browser/unstable/v2/batch-reorder-group.js +36 -6
- package/dist/browser/unstable/v2/batch-reorder-group.js.map +1 -1
- package/dist/browser/unstable/v2/create-wardic.js +45 -0
- package/dist/browser/unstable/v2/create-wardic.js.map +1 -0
- package/dist/browser/unstable/v2/element.js +12 -2
- package/dist/browser/unstable/v2/element.js.map +1 -1
- package/dist/browser/unstable/v2/index.js +1 -0
- package/dist/browser/unstable/v2/index.js.map +1 -1
- package/dist/browser/unstable/v2/lifecycle.js +2 -0
- package/dist/browser/unstable/v2/lifecycle.js.map +1 -1
- package/dist/browser/unstable/v2/live-scroll.js +22 -13
- package/dist/browser/unstable/v2/live-scroll.js.map +1 -1
- package/dist/browser/unstable/v2/live-value.js +9 -1
- package/dist/browser/unstable/v2/live-value.js.map +1 -1
- package/dist/browser/unstable/v2/presence.js.map +1 -1
- package/dist/browser/unstable/v2/provider.js +60 -13
- package/dist/browser/unstable/v2/provider.js.map +1 -1
- package/dist/browser/unstable/v2/reorder.js.map +1 -1
- package/dist/browser/unstable/v2/w.js +7 -8
- package/dist/browser/unstable/v2/w.js.map +1 -1
- package/dist/browser/unstable/v2/ward.js +27 -9
- package/dist/browser/unstable/v2/ward.js.map +1 -1
- package/dist/browser/unstable/v2/wardic-instance.js +2 -0
- package/dist/browser/unstable/v2/wardic-instance.js.map +1 -0
- package/dist/browser/w.js +8 -9
- package/dist/browser/w.js.map +1 -1
- package/dist/browser/wardic-instance.js +2 -0
- package/dist/browser/wardic-instance.js.map +1 -0
- package/dist/server/appear.js +42 -3
- package/dist/server/appear.js.map +1 -1
- package/dist/server/batch-handoff.js +2 -17
- package/dist/server/batch-handoff.js.map +1 -1
- package/dist/server/batch-reorder-group.js +40 -11
- package/dist/server/batch-reorder-group.js.map +1 -1
- package/dist/server/batch-reorder-places.js +517 -50
- package/dist/server/batch-reorder-places.js.map +1 -1
- package/dist/server/batch-reorder.js +284 -42
- package/dist/server/batch-reorder.js.map +1 -1
- package/dist/server/batch.js +4 -4
- package/dist/server/batch.js.map +1 -1
- package/dist/server/create-ward.js +28 -10
- package/dist/server/create-ward.js.map +1 -1
- package/dist/server/create-wardic.js +44 -0
- package/dist/server/create-wardic.js.map +1 -0
- package/dist/server/element.js +12 -3
- package/dist/server/element.js.map +1 -1
- package/dist/server/feature.js +57 -22
- package/dist/server/feature.js.map +1 -1
- package/dist/server/features/all.js +8 -0
- package/dist/server/features/all.js.map +1 -1
- package/dist/server/features/colors.js.map +1 -1
- package/dist/server/features/dom-animation.js +8 -0
- package/dist/server/features/dom-animation.js.map +1 -1
- package/dist/server/features/dom-max.js +6 -0
- package/dist/server/features/dom-max.js.map +1 -1
- package/dist/server/features/drag.js.map +1 -1
- package/dist/server/features/focus.js.map +1 -1
- package/dist/server/features/hover.js.map +1 -1
- package/dist/server/features/in-view.js.map +1 -1
- package/dist/server/features/keys.js +6 -0
- package/dist/server/features/keys.js.map +1 -1
- package/dist/server/features/layout.js +14 -3
- package/dist/server/features/layout.js.map +1 -1
- package/dist/server/features/pan.js.map +1 -1
- package/dist/server/features/press.js.map +1 -1
- package/dist/server/features/scroll.js +10 -3
- package/dist/server/features/scroll.js.map +1 -1
- package/dist/server/features/timeline-keys.js +100 -0
- package/dist/server/features/timeline-keys.js.map +1 -0
- package/dist/server/imperative.js +182 -4
- package/dist/server/imperative.js.map +1 -1
- package/dist/server/index.js +2 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/instance-features.js +66 -0
- package/dist/server/instance-features.js.map +1 -0
- package/dist/server/layout-member.js +0 -2
- package/dist/server/layout-member.js.map +1 -1
- package/dist/server/layout-projection.js +8 -1
- package/dist/server/layout-projection.js.map +1 -1
- package/dist/server/layout.js +5 -6
- package/dist/server/layout.js.map +1 -1
- package/dist/server/live-scroll.js +29 -21
- package/dist/server/live-scroll.js.map +1 -1
- package/dist/server/live-style.js +10 -0
- package/dist/server/live-style.js.map +1 -1
- package/dist/server/live-value.js +11 -2
- package/dist/server/live-value.js.map +1 -1
- package/dist/server/member-hold.js +37 -7
- package/dist/server/member-hold.js.map +1 -1
- package/dist/server/messages.js +20 -0
- package/dist/server/messages.js.map +1 -0
- package/dist/server/presence-controller.js +136 -44
- package/dist/server/presence-controller.js.map +1 -1
- package/dist/server/presence-record.js.map +1 -1
- package/dist/server/presence.js.map +1 -1
- package/dist/server/provider.js +57 -11
- package/dist/server/provider.js.map +1 -1
- package/dist/server/reorder.js.map +1 -1
- package/dist/server/runtime.js +15 -9
- package/dist/server/runtime.js.map +1 -1
- package/dist/server/scroll-values.js +46 -0
- package/dist/server/scroll-values.js.map +1 -0
- package/dist/server/spans-check.js +25 -0
- package/dist/server/spans-check.js.map +1 -0
- package/dist/server/spine.js +149 -207
- package/dist/server/spine.js.map +1 -1
- package/dist/server/timelines.js +9 -0
- package/dist/server/timelines.js.map +1 -0
- package/dist/server/unstable/v2/batch-reorder-group.js +36 -6
- package/dist/server/unstable/v2/batch-reorder-group.js.map +1 -1
- package/dist/server/unstable/v2/create-wardic.js +45 -0
- package/dist/server/unstable/v2/create-wardic.js.map +1 -0
- package/dist/server/unstable/v2/element.js +12 -2
- package/dist/server/unstable/v2/element.js.map +1 -1
- package/dist/server/unstable/v2/index.js +1 -0
- package/dist/server/unstable/v2/index.js.map +1 -1
- package/dist/server/unstable/v2/lifecycle.js +2 -0
- package/dist/server/unstable/v2/lifecycle.js.map +1 -1
- package/dist/server/unstable/v2/live-scroll.js +22 -13
- package/dist/server/unstable/v2/live-scroll.js.map +1 -1
- package/dist/server/unstable/v2/live-value.js +9 -1
- package/dist/server/unstable/v2/live-value.js.map +1 -1
- package/dist/server/unstable/v2/presence.js.map +1 -1
- package/dist/server/unstable/v2/provider.js +60 -13
- package/dist/server/unstable/v2/provider.js.map +1 -1
- package/dist/server/unstable/v2/reorder.js.map +1 -1
- package/dist/server/unstable/v2/w.js +7 -8
- package/dist/server/unstable/v2/w.js.map +1 -1
- package/dist/server/unstable/v2/ward.js +27 -9
- package/dist/server/unstable/v2/ward.js.map +1 -1
- package/dist/server/unstable/v2/wardic-instance.js +2 -0
- package/dist/server/unstable/v2/wardic-instance.js.map +1 -0
- package/dist/server/w.js +8 -9
- package/dist/server/w.js.map +1 -1
- package/dist/server/wardic-instance.js +2 -0
- package/dist/server/wardic-instance.js.map +1 -0
- package/dist/solid/appear.d.ts +15 -2
- package/dist/solid/appear.d.ts.map +1 -1
- package/dist/solid/appear.js +43 -2
- package/dist/solid/appear.js.map +1 -1
- package/dist/solid/batch-handoff.d.ts.map +1 -1
- package/dist/solid/batch-handoff.js +2 -15
- package/dist/solid/batch-handoff.js.map +1 -1
- package/dist/solid/batch-reorder-group.d.ts +17 -15
- package/dist/solid/batch-reorder-group.d.ts.map +1 -1
- package/dist/solid/batch-reorder-group.jsx +37 -7
- package/dist/solid/batch-reorder-group.jsx.map +1 -1
- package/dist/solid/batch-reorder-places.d.ts +184 -23
- package/dist/solid/batch-reorder-places.d.ts.map +1 -1
- package/dist/solid/batch-reorder-places.js +397 -41
- package/dist/solid/batch-reorder-places.js.map +1 -1
- package/dist/solid/batch-reorder.d.ts +30 -1
- package/dist/solid/batch-reorder.d.ts.map +1 -1
- package/dist/solid/batch-reorder.js +298 -37
- package/dist/solid/batch-reorder.js.map +1 -1
- package/dist/solid/batch.d.ts.map +1 -1
- package/dist/solid/batch.js +4 -4
- package/dist/solid/batch.js.map +1 -1
- package/dist/solid/config.d.ts +141 -103
- package/dist/solid/config.d.ts.map +1 -1
- package/dist/solid/create-ward.d.ts +3 -1
- package/dist/solid/create-ward.d.ts.map +1 -1
- package/dist/solid/create-ward.jsx +29 -9
- package/dist/solid/create-ward.jsx.map +1 -1
- package/dist/solid/create-wardic.d.ts +24 -0
- package/dist/solid/create-wardic.d.ts.map +1 -0
- package/dist/solid/create-wardic.jsx +42 -0
- package/dist/solid/create-wardic.jsx.map +1 -0
- package/dist/solid/element.d.ts +26 -8
- package/dist/solid/element.d.ts.map +1 -1
- package/dist/solid/element.jsx +13 -5
- package/dist/solid/element.jsx.map +1 -1
- package/dist/solid/feature.d.ts +91 -3
- package/dist/solid/feature.d.ts.map +1 -1
- package/dist/solid/feature.js +48 -19
- package/dist/solid/feature.js.map +1 -1
- package/dist/solid/features/all.d.ts +9 -2
- package/dist/solid/features/all.d.ts.map +1 -1
- package/dist/solid/features/all.js +18 -1
- package/dist/solid/features/all.js.map +1 -1
- package/dist/solid/features/colors.d.ts +1 -1
- package/dist/solid/features/colors.d.ts.map +1 -1
- package/dist/solid/features/colors.js.map +1 -1
- package/dist/solid/features/dom-animation.d.ts +5 -2
- package/dist/solid/features/dom-animation.d.ts.map +1 -1
- package/dist/solid/features/dom-animation.js +8 -0
- package/dist/solid/features/dom-animation.js.map +1 -1
- package/dist/solid/features/dom-max.d.ts +2 -2
- package/dist/solid/features/dom-max.d.ts.map +1 -1
- package/dist/solid/features/dom-max.js +6 -0
- package/dist/solid/features/dom-max.js.map +1 -1
- package/dist/solid/features/drag.d.ts +1 -1
- package/dist/solid/features/drag.d.ts.map +1 -1
- package/dist/solid/features/drag.js.map +1 -1
- package/dist/solid/features/focus.d.ts +1 -1
- package/dist/solid/features/focus.d.ts.map +1 -1
- package/dist/solid/features/focus.js.map +1 -1
- package/dist/solid/features/hover.d.ts +1 -1
- package/dist/solid/features/hover.d.ts.map +1 -1
- package/dist/solid/features/hover.js.map +1 -1
- package/dist/solid/features/in-view.d.ts +1 -1
- package/dist/solid/features/in-view.d.ts.map +1 -1
- package/dist/solid/features/in-view.js.map +1 -1
- package/dist/solid/features/keys.d.ts +16 -1
- package/dist/solid/features/keys.d.ts.map +1 -1
- package/dist/solid/features/keys.js +7 -0
- package/dist/solid/features/keys.js.map +1 -1
- package/dist/solid/features/layout.d.ts +7 -1
- package/dist/solid/features/layout.d.ts.map +1 -1
- package/dist/solid/features/layout.js +14 -4
- package/dist/solid/features/layout.js.map +1 -1
- package/dist/solid/features/pan.d.ts +1 -1
- package/dist/solid/features/pan.d.ts.map +1 -1
- package/dist/solid/features/pan.js.map +1 -1
- package/dist/solid/features/press.d.ts +1 -1
- package/dist/solid/features/press.d.ts.map +1 -1
- package/dist/solid/features/press.js.map +1 -1
- package/dist/solid/features/scroll.d.ts +5 -3
- package/dist/solid/features/scroll.d.ts.map +1 -1
- package/dist/solid/features/scroll.js +12 -3
- package/dist/solid/features/scroll.js.map +1 -1
- package/dist/solid/features/timeline-keys.d.ts +7 -0
- package/dist/solid/features/timeline-keys.d.ts.map +1 -0
- package/dist/solid/features/timeline-keys.js +97 -0
- package/dist/solid/features/timeline-keys.js.map +1 -0
- package/dist/solid/imperative.d.ts +3 -3
- package/dist/solid/imperative.d.ts.map +1 -1
- package/dist/solid/imperative.js +146 -4
- package/dist/solid/imperative.js.map +1 -1
- package/dist/solid/index.d.ts +4 -2
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.jsx +2 -1
- package/dist/solid/index.jsx.map +1 -1
- package/dist/solid/instance-features.d.ts +7 -0
- package/dist/solid/instance-features.d.ts.map +1 -0
- package/dist/solid/instance-features.js +63 -0
- package/dist/solid/instance-features.js.map +1 -0
- package/dist/solid/layout-member.d.ts +0 -2
- package/dist/solid/layout-member.d.ts.map +1 -1
- package/dist/solid/layout-member.js +0 -2
- package/dist/solid/layout-member.js.map +1 -1
- package/dist/solid/layout-projection.d.ts +6 -0
- package/dist/solid/layout-projection.d.ts.map +1 -1
- package/dist/solid/layout-projection.jsx +8 -1
- package/dist/solid/layout-projection.jsx.map +1 -1
- package/dist/solid/layout.d.ts +4 -3
- package/dist/solid/layout.d.ts.map +1 -1
- package/dist/solid/layout.jsx +5 -6
- package/dist/solid/layout.jsx.map +1 -1
- package/dist/solid/live-scroll.d.ts +4 -0
- package/dist/solid/live-scroll.d.ts.map +1 -1
- package/dist/solid/live-scroll.jsx +29 -19
- package/dist/solid/live-scroll.jsx.map +1 -1
- package/dist/solid/live-style.d.ts +11 -0
- package/dist/solid/live-style.d.ts.map +1 -1
- package/dist/solid/live-style.js +10 -0
- package/dist/solid/live-style.js.map +1 -1
- package/dist/solid/live-value.d.ts +1 -0
- package/dist/solid/live-value.d.ts.map +1 -1
- package/dist/solid/live-value.jsx +12 -3
- package/dist/solid/live-value.jsx.map +1 -1
- package/dist/solid/member-hold.d.ts +5 -19
- package/dist/solid/member-hold.d.ts.map +1 -1
- package/dist/solid/member-hold.js +42 -7
- package/dist/solid/member-hold.js.map +1 -1
- package/dist/solid/messages.d.ts +20 -0
- package/dist/solid/messages.d.ts.map +1 -0
- package/dist/solid/messages.js +22 -0
- package/dist/solid/messages.js.map +1 -0
- package/dist/solid/presence-controller.d.ts +1 -1
- package/dist/solid/presence-controller.d.ts.map +1 -1
- package/dist/solid/presence-controller.js +125 -34
- package/dist/solid/presence-controller.js.map +1 -1
- package/dist/solid/presence-record.d.ts +3 -3
- package/dist/solid/presence-record.d.ts.map +1 -1
- package/dist/solid/presence-record.js.map +1 -1
- package/dist/solid/presence.d.ts +3 -1
- package/dist/solid/presence.d.ts.map +1 -1
- package/dist/solid/presence.jsx.map +1 -1
- package/dist/solid/provider.d.ts +17 -3
- package/dist/solid/provider.d.ts.map +1 -1
- package/dist/solid/provider.jsx +55 -7
- package/dist/solid/provider.jsx.map +1 -1
- package/dist/solid/reorder.d.ts +5 -4
- package/dist/solid/reorder.d.ts.map +1 -1
- package/dist/solid/reorder.jsx.map +1 -1
- package/dist/solid/runtime.d.ts +10 -2
- package/dist/solid/runtime.d.ts.map +1 -1
- package/dist/solid/runtime.js +15 -9
- package/dist/solid/runtime.js.map +1 -1
- package/dist/solid/scroll-values.d.ts +30 -0
- package/dist/solid/scroll-values.d.ts.map +1 -0
- package/dist/solid/scroll-values.js +44 -0
- package/dist/solid/scroll-values.js.map +1 -0
- package/dist/solid/spans-check.d.ts +4 -0
- package/dist/solid/spans-check.d.ts.map +1 -0
- package/dist/solid/spans-check.js +23 -0
- package/dist/solid/spans-check.js.map +1 -0
- package/dist/solid/spine.d.ts +144 -13
- package/dist/solid/spine.d.ts.map +1 -1
- package/dist/solid/spine.js +131 -183
- package/dist/solid/spine.js.map +1 -1
- package/dist/solid/timelines.d.ts +44 -0
- package/dist/solid/timelines.d.ts.map +1 -0
- package/dist/solid/timelines.js +10 -0
- package/dist/solid/timelines.js.map +1 -0
- package/dist/solid/unstable/v2/batch-reorder-group.d.ts +18 -17
- package/dist/solid/unstable/v2/batch-reorder-group.d.ts.map +1 -1
- package/dist/solid/unstable/v2/batch-reorder-group.jsx +32 -5
- package/dist/solid/unstable/v2/batch-reorder-group.jsx.map +1 -1
- package/dist/solid/unstable/v2/create-wardic.d.ts +25 -0
- package/dist/solid/unstable/v2/create-wardic.d.ts.map +1 -0
- package/dist/solid/unstable/v2/create-wardic.jsx +43 -0
- package/dist/solid/unstable/v2/create-wardic.jsx.map +1 -0
- package/dist/solid/unstable/v2/element.d.ts +52 -18
- package/dist/solid/unstable/v2/element.d.ts.map +1 -1
- package/dist/solid/unstable/v2/element.jsx +13 -4
- package/dist/solid/unstable/v2/element.jsx.map +1 -1
- package/dist/solid/unstable/v2/index.d.ts +3 -1
- package/dist/solid/unstable/v2/index.d.ts.map +1 -1
- package/dist/solid/unstable/v2/index.jsx +1 -0
- package/dist/solid/unstable/v2/index.jsx.map +1 -1
- package/dist/solid/unstable/v2/lifecycle.d.ts +29 -0
- package/dist/solid/unstable/v2/lifecycle.d.ts.map +1 -1
- package/dist/solid/unstable/v2/lifecycle.js +2 -0
- package/dist/solid/unstable/v2/lifecycle.js.map +1 -1
- package/dist/solid/unstable/v2/live-scroll.d.ts +4 -0
- package/dist/solid/unstable/v2/live-scroll.d.ts.map +1 -1
- package/dist/solid/unstable/v2/live-scroll.jsx +22 -11
- package/dist/solid/unstable/v2/live-scroll.jsx.map +1 -1
- package/dist/solid/unstable/v2/live-value.d.ts +1 -0
- package/dist/solid/unstable/v2/live-value.d.ts.map +1 -1
- package/dist/solid/unstable/v2/live-value.jsx +10 -1
- package/dist/solid/unstable/v2/live-value.jsx.map +1 -1
- package/dist/solid/unstable/v2/presence.d.ts +3 -1
- package/dist/solid/unstable/v2/presence.d.ts.map +1 -1
- package/dist/solid/unstable/v2/presence.jsx.map +1 -1
- package/dist/solid/unstable/v2/provider.d.ts +17 -3
- package/dist/solid/unstable/v2/provider.d.ts.map +1 -1
- package/dist/solid/unstable/v2/provider.jsx +58 -10
- package/dist/solid/unstable/v2/provider.jsx.map +1 -1
- package/dist/solid/unstable/v2/reorder.d.ts +4 -3
- package/dist/solid/unstable/v2/reorder.d.ts.map +1 -1
- package/dist/solid/unstable/v2/reorder.jsx.map +1 -1
- package/dist/solid/unstable/v2/w.d.ts +41 -10
- package/dist/solid/unstable/v2/w.d.ts.map +1 -1
- package/dist/solid/unstable/v2/w.jsx +5 -7
- package/dist/solid/unstable/v2/w.jsx.map +1 -1
- package/dist/solid/unstable/v2/ward.d.ts +15 -8
- package/dist/solid/unstable/v2/ward.d.ts.map +1 -1
- package/dist/solid/unstable/v2/ward.jsx +28 -8
- package/dist/solid/unstable/v2/ward.jsx.map +1 -1
- package/dist/solid/unstable/v2/wardic-instance.d.ts +47 -0
- package/dist/solid/unstable/v2/wardic-instance.d.ts.map +1 -0
- package/dist/solid/unstable/v2/wardic-instance.js +2 -0
- package/dist/solid/unstable/v2/wardic-instance.js.map +1 -0
- package/dist/solid/w.d.ts +24 -10
- package/dist/solid/w.d.ts.map +1 -1
- package/dist/solid/w.jsx +8 -7
- package/dist/solid/w.jsx.map +1 -1
- package/dist/solid/ward-keys.d.ts +22 -3
- package/dist/solid/ward-keys.d.ts.map +1 -1
- package/dist/solid/wardic-instance.d.ts +46 -0
- package/dist/solid/wardic-instance.d.ts.map +1 -0
- package/dist/solid/wardic-instance.js +2 -0
- package/dist/solid/wardic-instance.js.map +1 -0
- package/package.json +4 -4
- package/src/appear.ts +56 -2
- package/src/batch-handoff.ts +2 -16
- package/src/batch-reorder-group.tsx +47 -21
- package/src/batch-reorder-places.ts +566 -54
- package/src/batch-reorder.ts +333 -40
- package/src/batch.ts +4 -4
- package/src/config.ts +177 -123
- package/src/create-ward.tsx +32 -8
- package/src/create-wardic.tsx +45 -0
- package/src/element.tsx +52 -16
- package/src/feature.ts +157 -25
- package/src/features/all.ts +11 -2
- package/src/features/colors.ts +1 -1
- package/src/features/dom-animation.ts +2 -2
- package/src/features/dom-max.ts +1 -2
- package/src/features/drag.ts +1 -1
- package/src/features/focus.ts +1 -1
- package/src/features/hover.ts +1 -1
- package/src/features/in-view.ts +1 -1
- package/src/features/keys.ts +18 -1
- package/src/features/layout.ts +17 -5
- package/src/features/pan.ts +1 -1
- package/src/features/press.ts +1 -1
- package/src/features/scroll.ts +14 -4
- package/src/features/timeline-keys.ts +109 -0
- package/src/imperative.ts +168 -10
- package/src/index.tsx +6 -1
- package/src/instance-features.ts +88 -0
- package/src/layout-member.ts +0 -4
- package/src/layout-projection.tsx +10 -1
- package/src/layout.tsx +7 -6
- package/src/live-scroll.tsx +30 -22
- package/src/live-style.ts +21 -0
- package/src/live-value.tsx +12 -2
- package/src/member-hold.ts +45 -26
- package/src/messages.ts +27 -0
- package/src/presence-controller.ts +222 -106
- package/src/presence-record.ts +3 -3
- package/src/presence.tsx +3 -1
- package/src/provider.tsx +62 -7
- package/src/reorder.tsx +5 -4
- package/src/runtime.ts +17 -10
- package/src/scroll-values.ts +53 -0
- package/src/spans-check.ts +25 -0
- package/src/spine.ts +219 -187
- package/src/timelines.ts +46 -0
- package/src/unstable/v2/batch-reorder-group.tsx +42 -18
- package/src/unstable/v2/create-wardic.tsx +46 -0
- package/src/unstable/v2/element.tsx +85 -24
- package/src/unstable/v2/index.tsx +5 -0
- package/src/unstable/v2/lifecycle.ts +35 -0
- package/src/unstable/v2/live-scroll.tsx +22 -11
- package/src/unstable/v2/live-value.tsx +10 -0
- package/src/unstable/v2/presence.tsx +3 -1
- package/src/unstable/v2/provider.tsx +65 -9
- package/src/unstable/v2/reorder.tsx +9 -4
- package/src/unstable/v2/w.tsx +49 -13
- package/src/unstable/v2/ward.tsx +48 -13
- package/src/unstable/v2/wardic-instance.ts +50 -0
- package/src/w.tsx +33 -16
- package/src/ward-keys.ts +38 -17
- package/src/wardic-instance.ts +49 -0
|
@@ -2,24 +2,78 @@
|
|
|
2
2
|
* A **Batch Reorder group**'s places (#712, ADR-0072 decisions 3 and 4), Solid-free and DOM-free but for
|
|
3
3
|
* the style strings: where each item goes, from its index, and how the group and its items are styled.
|
|
4
4
|
*
|
|
5
|
-
* - **Places**:
|
|
6
|
-
*
|
|
5
|
+
* - **Places**: `axis` picks the shape, a column (`"y"`), a row (`"x"`) or a wrapping grid (`"xy"`), `gap`
|
|
6
|
+
* apart. Every item one size: a grid's `columns`, else as many as the group's width holds (Q36). Each its
|
|
7
|
+
* own size, a function's (#714, *Amendment (#714)*): each place after the sizes before it, a grid's rows
|
|
8
|
+
* breaking where the next item doesn't fit the group's width, each item at its row's top.
|
|
9
|
+
* - **A column's items may take the group's content width** (#714, Q10), exact on the server too: `100%` in
|
|
10
|
+
* flow; placed, their padding box less the group's padding, once it's read; before, `100cqi`, the group a
|
|
11
|
+
* size container ({@link groupWidthOf}).
|
|
7
12
|
* - **The items' origin is their static position**: each item is `position: absolute` with no `top` or
|
|
8
13
|
* `left`, so it sits where it would in flow, at the start of the group's content box, its padding kept;
|
|
9
14
|
* right to left, at its right edge, the places going leftward from there (Q35).
|
|
10
15
|
* - **A grid whose width isn't read yet** (a server's, Q37; a client's until its first read) is laid out by
|
|
11
|
-
* CSS
|
|
16
|
+
* CSS, each item in flow, at the same places: CSS grid for one size, `flex-wrap` for each its own (#714, Q5).
|
|
12
17
|
*
|
|
13
18
|
* @module
|
|
14
19
|
*/
|
|
15
20
|
import type * as CoreReorder from "@wardic/core/Reorder";
|
|
16
21
|
import * as Style from "@wardic/dom/Style";
|
|
17
22
|
import * as Equivalence from "effect/Equivalence";
|
|
18
|
-
/**
|
|
23
|
+
/** An item's size in a Batch Reorder group, in px. */
|
|
19
24
|
export interface ReorderBatchItemSize {
|
|
20
25
|
readonly width: number;
|
|
21
26
|
readonly height: number;
|
|
22
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* An item's size in a column (`axis="y"`), in px: its height, and its width, or, left out, the group's
|
|
30
|
+
* content width, padding and border inside it (#714, Q10).
|
|
31
|
+
*/
|
|
32
|
+
export interface ReorderBatchColumnSize {
|
|
33
|
+
readonly width?: number | undefined;
|
|
34
|
+
readonly height: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A group's shape and its items' sizes (#714, ADR-0072 *Amendment (#714)*): one size for every item, or
|
|
38
|
+
* a function giving each item's. In a column (`"y"`, the default) a size may leave out `width`: the item
|
|
39
|
+
* takes the group's content width. `columns` goes only with one size: a function's rows break at the
|
|
40
|
+
* group's width (Q9).
|
|
41
|
+
*/
|
|
42
|
+
export type ReorderBatchSizing<V> = {
|
|
43
|
+
/** The list's shape: `"y"`, a column (the default), `"x"`, a row, or `"xy"`, a grid that wraps. */
|
|
44
|
+
readonly axis?: CoreReorder.Axis | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Every item's size, in px, or a function giving each item's from it and its index, called for every
|
|
47
|
+
* item at each change of the list and tracked: what it reads places every item again. In a column,
|
|
48
|
+
* `width` left out is the group's content width.
|
|
49
|
+
*/
|
|
50
|
+
readonly itemSize: ReorderBatchItemSize;
|
|
51
|
+
/** A grid's columns: how many items a row holds. Left out, as many as the group's width holds, read again as it's resized. */
|
|
52
|
+
readonly columns?: number | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
readonly axis?: "y" | undefined;
|
|
55
|
+
readonly itemSize: ReorderBatchColumnSize;
|
|
56
|
+
readonly columns?: number | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
readonly axis?: CoreReorder.Axis | undefined;
|
|
59
|
+
readonly itemSize: (item: V, i: number) => ReorderBatchItemSize;
|
|
60
|
+
/** Only with one size: a function's rows break at the group's width. */
|
|
61
|
+
readonly columns?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
readonly axis?: "y" | undefined;
|
|
64
|
+
readonly itemSize: (item: V, i: number) => ReorderBatchColumnSize;
|
|
65
|
+
readonly columns?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
readonly axis?: CoreReorder.Axis | undefined;
|
|
68
|
+
/** Left out, each item's size is read from the page: its own content's, a column's items as wide as the group. */
|
|
69
|
+
readonly itemSize?: undefined;
|
|
70
|
+
readonly columns?: undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* A group's `itemSize` as its places read it, whatever its shape: one size, a function of each item, or
|
|
74
|
+
* none, each item's read from the page (#714).
|
|
75
|
+
*/
|
|
76
|
+
export type BatchReorderItemSizes = ReorderBatchColumnSize | ((item: never, i: number) => ReorderBatchColumnSize) | undefined;
|
|
23
77
|
/** A point, or a length on each axis, in px. */
|
|
24
78
|
export interface XY {
|
|
25
79
|
readonly x: number;
|
|
@@ -29,13 +83,29 @@ export interface XY {
|
|
|
29
83
|
export type ReorderBatchGap = number | XY;
|
|
30
84
|
/** A group's direction: its places from its content box's left, or, right to left, from its right. */
|
|
31
85
|
export type BatchReorderDirection = "ltr" | "rtl";
|
|
32
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* What the group reads of its element once it's on the page (Q35, Q36): the direction it inherits, its
|
|
88
|
+
* content box's width, and its edges.
|
|
89
|
+
*/
|
|
33
90
|
export interface BatchReorderRead {
|
|
34
91
|
readonly direction: BatchReorderDirection;
|
|
35
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Its content width, read where its places come from it, a grid with no `columns`, of one size or each
|
|
94
|
+
* its own (#714); `undefined` for any other.
|
|
95
|
+
*/
|
|
36
96
|
readonly width: number | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* What its own `width` and `height` hold besides its content box, on each axis (#714): its padding and
|
|
99
|
+
* border when it's `border-box`, as a CSS reset makes it; none when it's `content-box`.
|
|
100
|
+
*/
|
|
101
|
+
readonly edges: XY;
|
|
102
|
+
/**
|
|
103
|
+
* Its horizontal padding (#714): what an absolutely placed item's `100%`, its padding box's width, holds
|
|
104
|
+
* besides its content box's.
|
|
105
|
+
*/
|
|
106
|
+
readonly padding: number;
|
|
37
107
|
}
|
|
38
|
-
/** Whether two reads of a group's element are alike: the same direction and
|
|
108
|
+
/** Whether two reads of a group's element are alike: the same direction, width, edges and padding. */
|
|
39
109
|
export declare const sameRead: (a: BatchReorderRead | undefined, b: BatchReorderRead | undefined) => boolean;
|
|
40
110
|
/**
|
|
41
111
|
* Where a Batch Reorder group's items go (decision 3): its shape, its items' size, the gap, a grid's
|
|
@@ -43,16 +113,20 @@ export declare const sameRead: (a: BatchReorderRead | undefined, b: BatchReorder
|
|
|
43
113
|
*/
|
|
44
114
|
export interface BatchReorderGeometry {
|
|
45
115
|
readonly axis: CoreReorder.Axis;
|
|
46
|
-
readonly itemSize:
|
|
116
|
+
readonly itemSize: BatchReorderItemSizes;
|
|
47
117
|
readonly gap: ReorderBatchGap | undefined;
|
|
48
118
|
readonly columns: number | undefined;
|
|
49
119
|
readonly direction: BatchReorderDirection;
|
|
50
120
|
readonly width: number | undefined;
|
|
121
|
+
/** What its own size holds besides its content box (#714): none before it's read, a server's. */
|
|
122
|
+
readonly edges: XY;
|
|
123
|
+
/** Its horizontal padding (#714): `undefined` before it's read, a server's. */
|
|
124
|
+
readonly padding: number | undefined;
|
|
51
125
|
}
|
|
52
126
|
/** What a group's props give its geometry, as either binding reads them. */
|
|
53
127
|
export interface BatchReorderProps {
|
|
54
128
|
readonly axis?: CoreReorder.Axis | undefined;
|
|
55
|
-
readonly itemSize
|
|
129
|
+
readonly itemSize?: BatchReorderItemSizes;
|
|
56
130
|
readonly gap?: ReorderBatchGap | undefined;
|
|
57
131
|
readonly columns?: number | undefined;
|
|
58
132
|
readonly direction?: BatchReorderDirection | undefined;
|
|
@@ -67,44 +141,131 @@ export declare const geometryOf: (props: BatchReorderProps, read: BatchReorderRe
|
|
|
67
141
|
/**
|
|
68
142
|
* A group's places, resolved from its geometry once a change: how many a row holds, the step from one to
|
|
69
143
|
* the next on each axis, which way the columns go (right to left, leftward from the right edge), every
|
|
70
|
-
* item's size, and the group's width.
|
|
144
|
+
* item's size, and the group's width; or, its items each their own size, each one's place and size.
|
|
71
145
|
*/
|
|
72
146
|
export interface BatchReorderPlaces {
|
|
73
147
|
readonly columns: number;
|
|
74
148
|
readonly stepX: number;
|
|
75
149
|
readonly stepY: number;
|
|
76
150
|
readonly signX: number;
|
|
151
|
+
/** Every item's size; `NO_SIZE` when each is its own (`each`). */
|
|
77
152
|
readonly itemSize: ReorderBatchItemSize;
|
|
78
|
-
/** The group's width: its places', or, its
|
|
153
|
+
/** The group's width: its places', or, its width the app's, what it read of it (0 before). */
|
|
79
154
|
readonly width: number;
|
|
80
|
-
/** Whether its columns
|
|
81
|
-
readonly
|
|
155
|
+
/** Whether its width is the app's (its columns or its rows from its width, Q36; a column of its width, #714): it sets none. */
|
|
156
|
+
readonly appsWidth: boolean;
|
|
157
|
+
/** Whether any item takes the group's content width (#714, Q10): {@link groupWidthOf}'s. */
|
|
158
|
+
readonly takesWidth: boolean;
|
|
159
|
+
/** Each item's place and size, its items each their own size (#714); `undefined` when they're one. */
|
|
160
|
+
readonly each: ItemPlaces | undefined;
|
|
161
|
+
/** Whether its items' sizes are read from the page (#714): never written on them. */
|
|
162
|
+
readonly sizesRead: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Whether its items are laid out in flow by CSS, each at no place: a grid whose rows break at a width it
|
|
165
|
+
* hasn't read (Q37), or items whose sizes it hasn't read yet (#714, decision 4).
|
|
166
|
+
*/
|
|
167
|
+
readonly inFlow: boolean;
|
|
168
|
+
/** The width an item that takes the group's content width is given ({@link groupWidthOf}). */
|
|
169
|
+
readonly groupWidth: string;
|
|
82
170
|
}
|
|
83
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* What a group has read of its items' sizes, their sizes left out of `itemSize` (#714): each one's, by its
|
|
173
|
+
* value, and whether its first came in. Until then its items are in flow.
|
|
174
|
+
*/
|
|
175
|
+
export interface SizesRead {
|
|
176
|
+
/** An item's border box, as last read; `undefined` until it's read. */
|
|
177
|
+
readonly sizeOf: (item: unknown) => ReorderBatchItemSize | undefined;
|
|
178
|
+
readonly arrived: boolean;
|
|
179
|
+
}
|
|
180
|
+
/** No sizes read: a server's, and a client's before its first. */
|
|
181
|
+
export declare const NONE_READ: SizesRead;
|
|
182
|
+
/** Each item's place, from the start of the group's content box, and its size, in the list's order (#714). */
|
|
183
|
+
export interface ItemPlaces {
|
|
184
|
+
readonly xs: Float64Array;
|
|
185
|
+
readonly ys: Float64Array;
|
|
186
|
+
/** Each one's width: `NaN` for one that takes the group's content width (Q10). */
|
|
187
|
+
readonly widths: Float64Array;
|
|
188
|
+
readonly heights: Float64Array;
|
|
189
|
+
/** The group's size: its places' far edges. */
|
|
190
|
+
readonly width: number;
|
|
191
|
+
readonly height: number;
|
|
192
|
+
}
|
|
193
|
+
/** A grid whose rows break at its width: `"xy"` with no `columns`, its items one size (Q36) or each their own (#714). */
|
|
84
194
|
export declare const isFromWidth: (geometry: BatchReorderGeometry) => boolean;
|
|
85
|
-
/** Whether a group's items are laid out in flow by CSS
|
|
195
|
+
/** Whether a group's items are laid out in flow by CSS: its rows from a width it hasn't read. */
|
|
86
196
|
export declare const inGridFlow: (geometry: BatchReorderGeometry) => boolean;
|
|
87
|
-
/**
|
|
88
|
-
export declare const
|
|
197
|
+
/** Whether a group reads its items' sizes from the page: its `itemSize` left out (#714). */
|
|
198
|
+
export declare const readsSizes: (geometry: BatchReorderGeometry) => boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Whether a group's items are in flow, its first sizes `arrived` or not: a grid's width unread, or its items'
|
|
201
|
+
* sizes, read from the page (#714).
|
|
202
|
+
*/
|
|
203
|
+
export declare const itemsInFlow: (geometry: BatchReorderGeometry, arrived: boolean) => boolean;
|
|
204
|
+
/** Whether `places` are of items each their own size given by a function (#714): those written on their elements. */
|
|
205
|
+
export declare const writesSizes: (places: BatchReorderPlaces) => boolean;
|
|
206
|
+
/**
|
|
207
|
+
* `geometry`'s places for `values`: every item one size, each its own, a function's, or each its own as
|
|
208
|
+
* `read` from the page (#714). An error names a grid's `columns` that isn't a whole number.
|
|
209
|
+
*/
|
|
210
|
+
export declare const resolvePlaces: (geometry: BatchReorderGeometry, values: ReadonlyArray<unknown>, read?: SizesRead) => BatchReorderPlaces;
|
|
89
211
|
/** Whether two resolutions place every item alike. */
|
|
90
212
|
export declare const samePlaces: (a: BatchReorderPlaces, b: BatchReorderPlaces) => boolean;
|
|
91
|
-
/** Item `i`'s place among `places`: its column and row, a step apart, from its static position. */
|
|
213
|
+
/** Item `i`'s place among `places`: its column and row, a step apart, or its own (#714), from its static position. */
|
|
92
214
|
export declare const placeOf: (places: BatchReorderPlaces, i: number) => XY;
|
|
215
|
+
/**
|
|
216
|
+
* Item `i`'s width among `places`: one taking the group's content width has none, its width the group's by
|
|
217
|
+
* CSS and never read (#714): a column's crossover reads its places' `y` alone.
|
|
218
|
+
*/
|
|
219
|
+
export declare const widthAt: (places: BatchReorderPlaces, i: number) => number;
|
|
220
|
+
/** Item `i`'s height among `places`. */
|
|
221
|
+
export declare const heightAt: (places: BatchReorderPlaces, i: number) => number;
|
|
93
222
|
/** The group's size for `n` items: its width, and its places' height, the last row's far edge. */
|
|
94
223
|
export declare const extentOf: (places: BatchReorderPlaces, n: number) => ReorderBatchItemSize;
|
|
95
224
|
/** `px`. */
|
|
96
225
|
export declare const px: (n: number) => string;
|
|
226
|
+
/**
|
|
227
|
+
* The width of an item that takes the group's content width (#714, Q10), `inFlow` or not, its padding and
|
|
228
|
+
* border inside it (border-box). In flow, `100%`: its content box's. Placed, once the group's padding is
|
|
229
|
+
* read, its padding box's (an absolutely placed box's `100%`) less that padding: a resize of the group is
|
|
230
|
+
* then a layout alone. Before, a server's, all of a size container's inline size, the group being one
|
|
231
|
+
* ({@link containsWidth}): exact, at a style recalc of every item each time the group's width changes.
|
|
232
|
+
*/
|
|
233
|
+
export declare const groupWidthOf: (geometry: BatchReorderGeometry, inFlow: boolean) => string;
|
|
97
234
|
/**
|
|
98
235
|
* The group element's style for `places`, `geometry` and `n` items, under `own`: positioned, its direction,
|
|
99
|
-
* and sized to its places, or, a grid whose width isn't read yet, laid out by CSS
|
|
100
|
-
* the server and the client, so
|
|
236
|
+
* and sized to its places, or, a grid whose width isn't read yet, laid out by CSS (Q37; #714, Q5): CSS grid
|
|
237
|
+
* for items of one size, `flex-wrap` for each their own, the same on the server and the client, so
|
|
238
|
+
* hydrating keeps the markup. Items that take its content width have it as their query container until its
|
|
239
|
+
* padding is read, out of flow (#714).
|
|
101
240
|
*/
|
|
102
241
|
export declare const groupStyleOf: (places: BatchReorderPlaces, n: number, geometry: BatchReorderGeometry, own: Style.Input) => Style.Style;
|
|
103
242
|
/**
|
|
104
|
-
* An item's own style under its group's:
|
|
105
|
-
*
|
|
243
|
+
* An item's own style under its group's, `inFlow` or not: a drag element's defaults; sized, its items one
|
|
244
|
+
* size; a column's items read from the page as wide as the group (#714, Q6); and, unless its group lays it out
|
|
245
|
+
* in flow, absolute at its static position (no `top` or `left`): the start of the group's content box. Items
|
|
246
|
+
* each their own size, a function's, are sized each by {@link sizeStyleOf} (#714).
|
|
247
|
+
*/
|
|
248
|
+
export declare const itemBaseOf: (geometry: BatchReorderGeometry, inFlow: boolean) => Readonly<Record<string, string>>;
|
|
249
|
+
/** Item `i`'s own size as style, its items each their own size (#714): `width` and `height`, or none. */
|
|
250
|
+
export declare const sizeStyleOf: (places: BatchReorderPlaces, i: number) => Readonly<Record<string, string>>;
|
|
251
|
+
/** A size last written on an item's element (#714): its width and height as written, and whether the width was the group's. */
|
|
252
|
+
export interface WrittenSize {
|
|
253
|
+
readonly width: string;
|
|
254
|
+
readonly height: string;
|
|
255
|
+
readonly tookGroupWidth: boolean;
|
|
256
|
+
}
|
|
257
|
+
/** An element whose width was the group's, `was`, written no longer: its own `box-sizing` back (#714). */
|
|
258
|
+
export declare const releaseGroupWidth: (el: HTMLElement, was: WrittenSize | undefined) => void;
|
|
259
|
+
/**
|
|
260
|
+
* `el`'s own size as `was` written, taken back where its style is still that: its items' sizes read from the
|
|
261
|
+
* page now (#714). A width that was the group's stays, a column's read from the page being the group's too.
|
|
262
|
+
*/
|
|
263
|
+
export declare const unwriteSizeOn: (el: HTMLElement, was: WrittenSize | undefined) => void;
|
|
264
|
+
/**
|
|
265
|
+
* Item `i`'s own size written on `el`, its items each their own size (#714), where it isn't already: what
|
|
266
|
+
* `written` holds, by element, is what was last written.
|
|
106
267
|
*/
|
|
107
|
-
export declare const
|
|
268
|
+
export declare const writeSizeOn: (el: HTMLElement, places: BatchReorderPlaces, i: number, written: WeakMap<Element, WrittenSize>) => void;
|
|
108
269
|
/**
|
|
109
270
|
* A style as CSS text: the one every item of a group shares, written once as each is made, where a key at
|
|
110
271
|
* a time cost each item a write per key (#712, Q47).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-reorder-places.d.ts","sourceRoot":"","sources":["../../src/batch-reorder-places.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"batch-reorder-places.d.ts","sourceRoot":"","sources":["../../src/batch-reorder-places.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,KAAK,WAAW,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAG1C,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAA;AASjD,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAC5B;IACA,mGAAmG;IACnG,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,IAAI,GAAG,SAAS,CAAA;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAA;IACvC,8HAA8H;IAC9H,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACtC,GACC;IACA,QAAQ,CAAC,IAAI,CA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