@olenbetong/synergi-react 5.8.0 → 5.9.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/dist/styles/styles.css +1 -1
- package/dist/styles/styles.css.map +1 -1
- package/es/chrome/assistant.d.ts +52 -2
- package/es/chrome/assistant.js +87 -21
- package/es/chrome/assistantDataObjects.d.ts +47 -0
- package/es/chrome/assistantDataObjects.js +318 -0
- package/es/components/DateNavigator/index.css +8 -3
- package/es/components/PdfViewer/PdfViewer.js +34 -15
- package/es/components/Toolbar/Toolbar.css +3 -3
- package/es/components/ValueToggleGroup/index.css +1 -1
- package/es/index.css +1 -1
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/package.json +2 -2
- package/src/chrome/assistant.test.tsx +55 -1
- package/src/chrome/assistant.ts +126 -24
- package/src/chrome/assistantDataObjects.test.tsx +162 -0
- package/src/chrome/assistantDataObjects.ts +365 -0
- package/src/components/DateNavigator/index.css +8 -3
- package/src/components/PdfViewer/PdfViewer.tsx +34 -14
- package/src/components/Toolbar/Toolbar.css +3 -3
- package/src/components/Toolbar/ToolbarBreadcrumbs.browser.test.tsx +3 -2
- package/src/components/Toolbar/index.tsx +2 -1
- package/src/components/ValueToggleGroup/index.css +1 -1
- package/src/index.ts +7 -0
|
@@ -237,7 +237,8 @@ function BreadcrumbsInner({ items }: ToolbarBreadcrumbsProps) {
|
|
|
237
237
|
if (open) placeMenu();
|
|
238
238
|
}}
|
|
239
239
|
>
|
|
240
|
-
{
|
|
240
|
+
{/* Nearest first, like a browser's back menu: the crumb just before the visible trail is at the top. */}
|
|
241
|
+
{hiddenItems.toReversed().map((item, index) => (
|
|
241
242
|
// oxlint-disable-next-line react/no-array-index-key -- stable list with no reordering
|
|
242
243
|
<li key={index} onClick={() => menuRef.current?.hidePopover()}>
|
|
243
244
|
<BreadcrumbLink item={item} />
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
color: rgb(0 0 0 / 0.5);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.ObValueToggleOption input:checked:focus
|
|
74
|
+
.ObValueToggleOption input:checked:focus + .ObValueToggleLabel {
|
|
75
75
|
--color-bg: var(--brand-light);
|
|
76
76
|
outline: 2px solid var(--brand-light);
|
|
77
77
|
}
|
package/src/index.ts
CHANGED
|
@@ -50,13 +50,20 @@ export {
|
|
|
50
50
|
export { type MergeJobOptions, type MergePhase, useMergeJob } from "./components/MergeProgressDialog/useMergeJob.js";
|
|
51
51
|
export {
|
|
52
52
|
type AssistantTool,
|
|
53
|
+
type AssistantToolGroup,
|
|
53
54
|
type AssistantToolParameters,
|
|
54
55
|
isAssistantEnabled,
|
|
55
56
|
openAssistant,
|
|
56
57
|
useAssistantContext,
|
|
57
58
|
useAssistantInstructions,
|
|
58
59
|
useAssistantTool,
|
|
60
|
+
useAssistantToolGroup,
|
|
59
61
|
} from "./chrome/assistant.js";
|
|
62
|
+
export {
|
|
63
|
+
type AssistantDataObjectOptions,
|
|
64
|
+
type AssistantField,
|
|
65
|
+
useAssistantDataObject,
|
|
66
|
+
} from "./chrome/assistantDataObjects.js";
|
|
60
67
|
export { type OpenReportOptions, openReport } from "./chrome/openReport.js";
|
|
61
68
|
export { refreshPage, useDisablePullToRefresh, usePullToRefresh } from "./chrome/refresh.js";
|
|
62
69
|
export {
|