terrier-engine 4.52.5 → 4.52.6
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/package.json +1 -1
- package/terrier/gen/hub-icons.ts +18 -2
- package/terrier/images/icons/step_none.svg +1 -0
- package/terrier/images/icons/step_required.svg +1 -0
- package/terrier/images/optimized/icon-step_none.svg +1 -0
- package/terrier/images/optimized/icon-step_required.svg +1 -0
- package/terrier/images/raw/icon-step_none.svg +15 -0
- package/terrier/images/raw/icon-step_required.svg +15 -0
- package/terrier/plugins/load-on-scroll-plugin.ts +5 -2
package/package.json
CHANGED
package/terrier/gen/hub-icons.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// This file was automatically generated on 2025-
|
|
1
|
+
// This file was automatically generated on 2025-06-03 15:21:22 -0500, DO NOT EDIT IT MANUALLY!
|
|
2
2
|
|
|
3
3
|
import {ColorName} from "../theme"
|
|
4
4
|
import {PartTag} from "tuff-core/parts"
|
|
@@ -357,6 +357,14 @@ import StepInvestigateRaw from '../images/icons/step_investigate.svg?raw'
|
|
|
357
357
|
// @ts-ignore
|
|
358
358
|
import StepInvestigateSrc from '../images/icons/step_investigate.svg'
|
|
359
359
|
// @ts-ignore
|
|
360
|
+
import StepNoneRaw from '../images/icons/step_none.svg?raw'
|
|
361
|
+
// @ts-ignore
|
|
362
|
+
import StepNoneSrc from '../images/icons/step_none.svg'
|
|
363
|
+
// @ts-ignore
|
|
364
|
+
import StepRequiredRaw from '../images/icons/step_required.svg?raw'
|
|
365
|
+
// @ts-ignore
|
|
366
|
+
import StepRequiredSrc from '../images/icons/step_required.svg'
|
|
367
|
+
// @ts-ignore
|
|
360
368
|
import StepReviewRaw from '../images/icons/step_review.svg?raw'
|
|
361
369
|
// @ts-ignore
|
|
362
370
|
import StepReviewSrc from '../images/icons/step_review.svg'
|
|
@@ -774,6 +782,14 @@ export const IconDefs: Record<HubIconName,{ raw: string, src: string }> = {
|
|
|
774
782
|
raw: StepInvestigateRaw,
|
|
775
783
|
src: StepInvestigateSrc,
|
|
776
784
|
},
|
|
785
|
+
"hub-step_none": {
|
|
786
|
+
raw: StepNoneRaw,
|
|
787
|
+
src: StepNoneSrc,
|
|
788
|
+
},
|
|
789
|
+
"hub-step_required": {
|
|
790
|
+
raw: StepRequiredRaw,
|
|
791
|
+
src: StepRequiredSrc,
|
|
792
|
+
},
|
|
777
793
|
"hub-step_review": {
|
|
778
794
|
raw: StepReviewRaw,
|
|
779
795
|
src: StepReviewSrc,
|
|
@@ -841,7 +857,7 @@ export const IconDefs: Record<HubIconName,{ raw: string, src: string }> = {
|
|
|
841
857
|
}
|
|
842
858
|
|
|
843
859
|
const Names = [
|
|
844
|
-
'hub-active', 'hub-admin', 'hub-archive', 'hub-arrow_down', 'hub-arrow_left', 'hub-arrow_right', 'hub-arrow_up', 'hub-assign', 'hub-attachment', 'hub-back', 'hub-badge', 'hub-board', 'hub-bookmark', 'hub-bookmark_add', 'hub-bookmark_remove', 'hub-bookmarked', 'hub-bookmarks', 'hub-branch', 'hub-bug', 'hub-calculator', 'hub-checkmark', 'hub-close', 'hub-clypboard', 'hub-comment', 'hub-complete', 'hub-dashboard', 'hub-data_pull', 'hub-data_update', 'hub-database', 'hub-day', 'hub-delete', 'hub-documentation', 'hub-edit', 'hub-existing_child', 'hub-existing_parent', 'hub-feature', 'hub-flex', 'hub-forward', 'hub-github', 'hub-history', 'hub-home', 'hub-image', 'hub-inbox', 'hub-info', 'hub-internal', 'hub-issue', 'hub-lane', 'hub-lane_asap', 'hub-lane_days', 'hub-lane_hours', 'hub-lane_weeks', 'hub-lanes_board', 'hub-level_complete', 'hub-level_highway', 'hub-level_on_ramp', 'hub-level_parking', 'hub-link', 'hub-list_view', 'hub-metrics', 'hub-minus', 'hub-new_child', 'hub-new_parent', 'hub-night', 'hub-origin', 'hub-pending', 'hub-plot', 'hub-plus', 'hub-post', 'hub-posts', 'hub-pr_closed', 'hub-pr_merged', 'hub-pr_open', 'hub-prioritized', 'hub-project', 'hub-question', 'hub-reaction', 'hub-recent', 'hub-refresh', 'hub-related_posts', 'hub-releases', 'hub-request', 'hub-settings', 'hub-split_view', 'hub-status', 'hub-step_demo', 'hub-step_deploy', 'hub-step_develop', 'hub-step_investigate', 'hub-step_review', 'hub-step_test', 'hub-steps', 'hub-steps_board', 'hub-subscribe', 'hub-support', 'hub-team', 'hub-terrier', 'hub-thumbs_up', 'hub-type', 'hub-unprioritized', 'hub-upload', 'hub-user', 'hub-users', 'hub-website', 'hub-week'
|
|
860
|
+
'hub-active', 'hub-admin', 'hub-archive', 'hub-arrow_down', 'hub-arrow_left', 'hub-arrow_right', 'hub-arrow_up', 'hub-assign', 'hub-attachment', 'hub-back', 'hub-badge', 'hub-board', 'hub-bookmark', 'hub-bookmark_add', 'hub-bookmark_remove', 'hub-bookmarked', 'hub-bookmarks', 'hub-branch', 'hub-bug', 'hub-calculator', 'hub-checkmark', 'hub-close', 'hub-clypboard', 'hub-comment', 'hub-complete', 'hub-dashboard', 'hub-data_pull', 'hub-data_update', 'hub-database', 'hub-day', 'hub-delete', 'hub-documentation', 'hub-edit', 'hub-existing_child', 'hub-existing_parent', 'hub-feature', 'hub-flex', 'hub-forward', 'hub-github', 'hub-history', 'hub-home', 'hub-image', 'hub-inbox', 'hub-info', 'hub-internal', 'hub-issue', 'hub-lane', 'hub-lane_asap', 'hub-lane_days', 'hub-lane_hours', 'hub-lane_weeks', 'hub-lanes_board', 'hub-level_complete', 'hub-level_highway', 'hub-level_on_ramp', 'hub-level_parking', 'hub-link', 'hub-list_view', 'hub-metrics', 'hub-minus', 'hub-new_child', 'hub-new_parent', 'hub-night', 'hub-origin', 'hub-pending', 'hub-plot', 'hub-plus', 'hub-post', 'hub-posts', 'hub-pr_closed', 'hub-pr_merged', 'hub-pr_open', 'hub-prioritized', 'hub-project', 'hub-question', 'hub-reaction', 'hub-recent', 'hub-refresh', 'hub-related_posts', 'hub-releases', 'hub-request', 'hub-settings', 'hub-split_view', 'hub-status', 'hub-step_demo', 'hub-step_deploy', 'hub-step_develop', 'hub-step_investigate', 'hub-step_none', 'hub-step_required', 'hub-step_review', 'hub-step_test', 'hub-steps', 'hub-steps_board', 'hub-subscribe', 'hub-support', 'hub-team', 'hub-terrier', 'hub-thumbs_up', 'hub-type', 'hub-unprioritized', 'hub-upload', 'hub-user', 'hub-users', 'hub-website', 'hub-week'
|
|
845
861
|
] as const
|
|
846
862
|
|
|
847
863
|
export type HubIconName = typeof Names[number]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="currentColor" fill-opacity="0.33"><circle cx="7.5" cy="7.5" r="3.5"/><circle cx="16" cy="7.5" r="3.5"/><circle cx="24.5" cy="7.5" r="3.5"/><circle cx="7.5" cy="16" r="3.5"/><circle cx="16" cy="16" r="3.5"/><circle cx="24.5" cy="16" r="3.5"/><circle cx="7.5" cy="24.5" r="3.5"/><circle cx="16" cy="24.5" r="3.5"/><circle cx="24.5" cy="24.5" r="3.5"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="currentColor"><circle cx="7.5" cy="7.5" r="3.5" fill-opacity="0.33"/><circle cx="16" cy="7.5" r="3.5" fill-opacity="0.33"/><circle cx="24.5" cy="7.5" r="3.5" fill-opacity="0.33"/><circle cx="7.5" cy="16" r="3.5" fill-opacity="0.33"/><circle cx="24.5" cy="16" r="3.5" fill-opacity="0.33"/><circle cx="7.5" cy="24.5" r="3.5" fill-opacity="0.33"/><circle cx="16" cy="24.5" r="3.5" fill-opacity="0.33"/><circle cx="24.5" cy="24.5" r="3.5" fill-opacity="0.33"/><path fill-rule="evenodd" d="M16 4a2.602 2.602 0 0 1 2.576 2.97l-.976 6.826 6.192-3.036a2.602 2.602 0 1 1 1.592 4.9L18.59 16.84l4.802 4.95a2.602 2.602 0 1 1-4.168 3.029L16 18.722l-3.224 6.098a2.602 2.602 0 1 1-4.168-3.028l4.802-4.951-6.794-1.182a2.602 2.602 0 1 1 1.592-4.9l6.19 3.037-.974-6.826A2.602 2.602 0 0 1 16 4Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="#000" fill-opacity=".25"><circle cx="7.5" cy="7.5" r="3.5"/><circle cx="16" cy="7.5" r="3.5"/><circle cx="24.5" cy="7.5" r="3.5"/><circle cx="7.5" cy="16" r="3.5"/><circle cx="16" cy="16" r="3.5"/><circle cx="24.5" cy="16" r="3.5"/><circle cx="7.5" cy="24.5" r="3.5"/><circle cx="16" cy="24.5" r="3.5"/><circle cx="24.5" cy="24.5" r="3.5"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="#000"><circle cx="7.5" cy="7.5" r="3.5" fill-opacity=".25"/><circle cx="16" cy="7.5" r="3.5" fill-opacity=".25"/><circle cx="24.5" cy="7.5" r="3.5" fill-opacity=".25"/><circle cx="7.5" cy="16" r="3.5" fill-opacity=".25"/><circle cx="24.5" cy="16" r="3.5" fill-opacity=".25"/><circle cx="7.5" cy="24.5" r="3.5" fill-opacity=".25"/><circle cx="16" cy="24.5" r="3.5" fill-opacity=".25"/><circle cx="24.5" cy="24.5" r="3.5" fill-opacity=".25"/><path fill-rule="evenodd" d="M16 4a2.602 2.602 0 0 1 2.576 2.97l-.976 6.826 6.192-3.036a2.602 2.602 0 1 1 1.592 4.9L18.59 16.84l4.802 4.95a2.602 2.602 0 1 1-4.168 3.029L16 18.722l-3.224 6.098a2.602 2.602 0 1 1-4.168-3.028l4.802-4.951-6.794-1.182a2.602 2.602 0 1 1 1.592-4.9l6.19 3.037-.974-6.826A2.602 2.602 0 0 1 16 4Z"/></g></svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>icon-steps_none</title>
|
|
4
|
+
<g id="icon-steps_none" stroke="none" fill="none" fill-opacity="0.25" fill-rule="nonzero">
|
|
5
|
+
<circle id="Oval" fill="#000000" cx="7.5" cy="7.5" r="3.5"></circle>
|
|
6
|
+
<circle id="Oval-Copy" fill="#000000" cx="16" cy="7.5" r="3.5"></circle>
|
|
7
|
+
<circle id="Oval-Copy-2" fill="#000000" cx="24.5" cy="7.5" r="3.5"></circle>
|
|
8
|
+
<circle id="Oval-Copy-6" fill="#000000" cx="7.5" cy="16" r="3.5"></circle>
|
|
9
|
+
<circle id="Oval-Copy-5" fill="#000000" cx="16" cy="16" r="3.5"></circle>
|
|
10
|
+
<circle id="Oval-Copy-4" fill="#000000" cx="24.5" cy="16" r="3.5"></circle>
|
|
11
|
+
<circle id="Oval-Copy-10" fill="#000000" cx="7.5" cy="24.5" r="3.5"></circle>
|
|
12
|
+
<circle id="Oval-Copy-9" fill="#000000" cx="16" cy="24.5" r="3.5"></circle>
|
|
13
|
+
<circle id="Oval-Copy-8" fill="#000000" cx="24.5" cy="24.5" r="3.5"></circle>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>icon-step_required</title>
|
|
4
|
+
<g id="icon-step_required" stroke="none" fill="none">
|
|
5
|
+
<circle id="Oval" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="7.5" cy="7.5" r="3.5"></circle>
|
|
6
|
+
<circle id="Oval-Copy" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="16" cy="7.5" r="3.5"></circle>
|
|
7
|
+
<circle id="Oval-Copy-2" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="24.5" cy="7.5" r="3.5"></circle>
|
|
8
|
+
<circle id="Oval-Copy-6" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="7.5" cy="16" r="3.5"></circle>
|
|
9
|
+
<circle id="Oval-Copy-4" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="24.5" cy="16" r="3.5"></circle>
|
|
10
|
+
<circle id="Oval-Copy-10" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="7.5" cy="24.5" r="3.5"></circle>
|
|
11
|
+
<circle id="Oval-Copy-9" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="16" cy="24.5" r="3.5"></circle>
|
|
12
|
+
<circle id="Oval-Copy-8" fill-opacity="0.25" fill="#000000" fill-rule="nonzero" cx="24.5" cy="24.5" r="3.5"></circle>
|
|
13
|
+
<path d="M16,4 C17.4369821,4 18.6018862,5.16490413 18.6018862,6.60188621 C18.6018862,6.72500452 18.5931475,6.84796757 18.5757359,6.96984848 L17.5997174,13.796 L23.7922383,10.7598593 C25.0823555,10.1269967 26.6412386,10.6598068 27.2741012,11.949924 C27.3283239,12.0604592 27.3746325,12.1747036 27.4126782,12.2917961 C27.8567301,13.6584472 27.1088156,15.1263121 25.7421644,15.570364 C25.6250719,15.6084096 25.5054267,15.6380963 25.3841306,15.6592002 L18.5897174,16.841 L23.391604,21.7915664 C24.3921603,22.8229755 24.3671491,24.4702089 23.33574,25.4707651 C23.2473705,25.5564912 23.1530278,25.6358368 23.053423,25.7082039 C21.8908801,26.5528408 20.2637394,26.295127 19.4191025,25.1325841 C19.3467354,25.0329793 19.2815293,24.9283636 19.2239757,24.8195256 L15.9997174,18.722 L12.7760243,24.8195256 C12.1042848,26.0898341 10.5299439,26.5750702 9.25963545,25.9033307 C9.15079747,25.8457772 9.04618178,25.7805711 8.94657697,25.7082039 C7.78403406,24.8635671 7.52632029,23.2364264 8.37095715,22.0738834 C8.44332428,21.9742786 8.52266992,21.8799359 8.60839597,21.7915664 L13.4097174,16.841 L6.61586938,15.6592002 C5.20015533,15.4128849 4.25217032,14.0655439 4.4984856,12.6498299 C4.51958949,12.5285338 4.54927615,12.4088885 4.5873218,12.2917961 C5.03137369,10.9251449 6.49923853,10.1772304 7.86588969,10.6212823 C7.98298216,10.6593279 8.09722656,10.7056366 8.20776173,10.7598593 L14.3987174,13.796 L13.4242641,6.96984848 C13.2210441,5.54730881 14.209498,4.22937023 15.6320377,4.02615027 C15.7539186,4.00873872 15.8768817,4 16,4 Z" id="Combined-Shape" fill="#000000" fill-rule="evenodd"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -72,6 +72,11 @@ export default class LoadOnScrollPlugin<TState> extends PartPlugin<LoadOnScrollO
|
|
|
72
72
|
this.observer.observe(lastElement)
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
remove() {
|
|
76
|
+
this.observer?.disconnect()
|
|
77
|
+
this.observer = undefined
|
|
78
|
+
}
|
|
79
|
+
|
|
75
80
|
private onIntersect(entries: IntersectionObserverEntry[], obs: IntersectionObserver) {
|
|
76
81
|
if (this.isLoading) return
|
|
77
82
|
if (entries.length == 0 || !entries[0].isIntersecting) return
|
|
@@ -85,8 +90,6 @@ export default class LoadOnScrollPlugin<TState> extends PartPlugin<LoadOnScrollO
|
|
|
85
90
|
const nextState = await this.state.loadNextStates(partStates)
|
|
86
91
|
if (nextState === undefined) {
|
|
87
92
|
// No more states to load; remove the plugin to avoid additional loads
|
|
88
|
-
this.observer?.disconnect()
|
|
89
|
-
this.observer = undefined
|
|
90
93
|
this.part.removePlugin(this.id)
|
|
91
94
|
return
|
|
92
95
|
}
|