@harborclient/sdk 1.1.12 → 1.1.14
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/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +2 -0
- package/dist/components/CatalogCard/index.d.ts +51 -0
- package/dist/components/CatalogCard/index.d.ts.map +1 -0
- package/dist/components/CatalogCard/index.js +23 -0
- package/dist/components/CatalogReadmeMarkdown/index.d.ts +13 -0
- package/dist/components/CatalogReadmeMarkdown/index.d.ts.map +1 -0
- package/dist/components/CatalogReadmeMarkdown/index.js +53 -0
- package/dist/components/FormGroup/index.d.ts +6 -1
- package/dist/components/FormGroup/index.d.ts.map +1 -1
- package/dist/components/FormGroup/index.js +21 -10
- package/dist/components/FormSection/index.d.ts +37 -0
- package/dist/components/FormSection/index.d.ts.map +1 -0
- package/dist/components/FormSection/index.js +9 -0
- package/dist/components/ProgressBar/index.d.ts +20 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.js +10 -0
- package/dist/components/ProgressBar/progressBar.logic.d.ts +9 -0
- package/dist/components/ProgressBar/progressBar.logic.d.ts.map +1 -0
- package/dist/components/ProgressBar/progressBar.logic.js +13 -0
- package/dist/components/PromptModal/index.d.ts +82 -0
- package/dist/components/PromptModal/index.d.ts.map +1 -0
- package/dist/components/PromptModal/index.js +22 -0
- package/dist/components/PromptModal/promptModal.logic.d.ts +8 -0
- package/dist/components/PromptModal/promptModal.logic.d.ts.map +1 -0
- package/dist/components/PromptModal/promptModal.logic.js +9 -0
- package/dist/components/ScreenshotCarousel/ScreenshotLightbox.d.ts +29 -0
- package/dist/components/ScreenshotCarousel/ScreenshotLightbox.d.ts.map +1 -0
- package/dist/components/ScreenshotCarousel/ScreenshotLightbox.js +66 -0
- package/dist/components/ScreenshotCarousel/index.d.ts +35 -0
- package/dist/components/ScreenshotCarousel/index.d.ts.map +1 -0
- package/dist/components/ScreenshotCarousel/index.js +89 -0
- package/dist/components/ScreenshotCarousel/variants.d.ts +17 -0
- package/dist/components/ScreenshotCarousel/variants.d.ts.map +1 -0
- package/dist/components/ScreenshotCarousel/variants.js +22 -0
- package/dist/components/SelectionActionToolbar/index.d.ts +41 -0
- package/dist/components/SelectionActionToolbar/index.d.ts.map +1 -0
- package/dist/components/SelectionActionToolbar/index.js +13 -0
- package/dist/components/SettingIdLabel/index.d.ts +16 -0
- package/dist/components/SettingIdLabel/index.d.ts.map +1 -0
- package/dist/components/SettingIdLabel/index.js +7 -0
- package/dist/components/SettingSectionHeading/index.d.ts +33 -0
- package/dist/components/SettingSectionHeading/index.d.ts.map +1 -0
- package/dist/components/SettingSectionHeading/index.js +10 -0
- package/dist/components/SidebarItem/SidebarBadge.d.ts +49 -0
- package/dist/components/SidebarItem/SidebarBadge.d.ts.map +1 -0
- package/dist/components/SidebarItem/SidebarBadge.js +52 -0
- package/dist/components/SidebarItem/SidebarRunItem.d.ts.map +1 -1
- package/dist/components/SidebarItem/SidebarRunItem.js +2 -1
- package/dist/components/SidebarItem/index.d.ts +2 -1
- package/dist/components/SidebarItem/index.d.ts.map +1 -1
- package/dist/components/SidebarItem/index.js +2 -1
- package/dist/components/SidebarItem/sidebarItemClasses.d.ts +8 -0
- package/dist/components/SidebarItem/sidebarItemClasses.d.ts.map +1 -1
- package/dist/components/SidebarItem/sidebarItemClasses.js +18 -8
- package/dist/components/StatusDot/index.d.ts +42 -0
- package/dist/components/StatusDot/index.d.ts.map +1 -0
- package/dist/components/StatusDot/index.js +42 -0
- package/dist/components/ThemeVariantPickerModal/index.d.ts +71 -0
- package/dist/components/ThemeVariantPickerModal/index.d.ts.map +1 -0
- package/dist/components/ThemeVariantPickerModal/index.js +37 -0
- package/dist/components/index.d.ts +24 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +15 -1
- package/package.json +6 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@harborclient/sdk/jsx-runtime";
|
|
2
|
+
import { cn } from '../utils.js';
|
|
3
|
+
/**
|
|
4
|
+
* Returns the Tailwind background class for the chosen status dot variant.
|
|
5
|
+
*
|
|
6
|
+
* @param variant - Color preset for the dot.
|
|
7
|
+
* @returns Tailwind background color class.
|
|
8
|
+
*/
|
|
9
|
+
export function statusDotVariantClass(variant) {
|
|
10
|
+
switch (variant) {
|
|
11
|
+
case 'success':
|
|
12
|
+
return 'bg-success';
|
|
13
|
+
case 'danger':
|
|
14
|
+
return 'bg-danger';
|
|
15
|
+
case 'accent':
|
|
16
|
+
return 'bg-accent';
|
|
17
|
+
case 'warning':
|
|
18
|
+
return 'bg-warning';
|
|
19
|
+
case 'info':
|
|
20
|
+
return 'bg-info';
|
|
21
|
+
case 'muted':
|
|
22
|
+
default:
|
|
23
|
+
return 'bg-muted';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Returns Tailwind size classes for the chosen dot size preset.
|
|
28
|
+
*
|
|
29
|
+
* @param size - Dot diameter preset.
|
|
30
|
+
* @returns Tailwind width and height classes.
|
|
31
|
+
*/
|
|
32
|
+
function sizeClasses(size) {
|
|
33
|
+
return size === 'sm' ? 'h-1.5 w-1.5' : 'h-2 w-2';
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Renders a small circular status indicator with optional screen-reader text.
|
|
37
|
+
* Use `label` when status is not conveyed by adjacent visible text.
|
|
38
|
+
*/
|
|
39
|
+
export function StatusDot({ variant = 'muted', label, size = 'md', title, className, ...props }) {
|
|
40
|
+
const hasLabel = label != null && label.length > 0;
|
|
41
|
+
return (_jsxs("span", { className: cn('inline-flex shrink-0 items-center', className), title: title, ...props, children: [_jsx("span", { className: cn('inline-block shrink-0 rounded-full', sizeClasses(size), statusDotVariantClass(variant)), "aria-hidden": "true" }), hasLabel ? _jsx("span", { className: "sr-only", children: label }) : null] }));
|
|
42
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { JSX, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* One selectable theme variant shown in the picker.
|
|
4
|
+
*/
|
|
5
|
+
export interface ThemeVariantOption {
|
|
6
|
+
/** Theme id within the plugin manifest. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Human-readable option label. */
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Props {
|
|
12
|
+
/**
|
|
13
|
+
* Selectable theme variants contributed by the plugin.
|
|
14
|
+
*/
|
|
15
|
+
variants: ThemeVariantOption[];
|
|
16
|
+
/**
|
|
17
|
+
* Whether variants are chosen from a dropdown or a radio fieldset.
|
|
18
|
+
*/
|
|
19
|
+
selectionMode: 'select' | 'radio';
|
|
20
|
+
/**
|
|
21
|
+
* Dialog heading rendered in the modal header row.
|
|
22
|
+
*/
|
|
23
|
+
title: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Body copy shown above the selector (or alone when the selector is hidden).
|
|
26
|
+
*/
|
|
27
|
+
description: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Visible label for the selector control, or screen-reader legend text for radio mode.
|
|
30
|
+
*/
|
|
31
|
+
selectorLabel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* When false, hides the selector while still confirming the first variant.
|
|
34
|
+
*/
|
|
35
|
+
showSelector?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* External in-flight flag from the parent (for example Redux-managed switching).
|
|
38
|
+
*/
|
|
39
|
+
busy?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Optional status text shown below the body while busy (select mode).
|
|
42
|
+
*/
|
|
43
|
+
busyStatus?: ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Primary action button label when idle.
|
|
46
|
+
*/
|
|
47
|
+
confirmLabel: string;
|
|
48
|
+
/**
|
|
49
|
+
* Primary action button label while busy (radio mode).
|
|
50
|
+
*/
|
|
51
|
+
busyConfirmLabel?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Secondary dismiss button label.
|
|
54
|
+
*/
|
|
55
|
+
cancelLabel: string;
|
|
56
|
+
/**
|
|
57
|
+
* Applies the selected variant and closes the dialog.
|
|
58
|
+
*
|
|
59
|
+
* @param themeId - Theme id within the plugin manifest.
|
|
60
|
+
*/
|
|
61
|
+
onConfirm: (themeId: string) => void | Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Dismisses the picker without changing the active theme.
|
|
64
|
+
*/
|
|
65
|
+
onCancel: () => void;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Modal that lets the user choose which theme variant to apply from a plugin.
|
|
69
|
+
*/
|
|
70
|
+
export declare function ThemeVariantPickerModal({ variants, selectionMode, title, description, selectorLabel, showSelector, busy, busyStatus, confirmLabel, busyConfirmLabel, cancelLabel, onConfirm, onCancel }: Props): JSX.Element;
|
|
71
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeVariantPickerModal/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAE/B;;OAEG;IACH,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC;IAElC;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,SAAS,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,aAAa,EACb,KAAK,EACL,WAAW,EACX,aAA+B,EAC/B,YAAmB,EACnB,IAAY,EACZ,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,QAAQ,EACT,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAoFrB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@harborclient/sdk/jsx-runtime";
|
|
2
|
+
import { useCallback, useId, useState } from '@harborclient/sdk/react';
|
|
3
|
+
import { Button } from '../Button/index.js';
|
|
4
|
+
import { FormGroup } from '../FormGroup/index.js';
|
|
5
|
+
import { Modal, ModalFooter } from '../Modal/index.js';
|
|
6
|
+
import { StatusMessage } from '../StatusMessage/index.js';
|
|
7
|
+
import { Radio, Select } from '../forms/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Modal that lets the user choose which theme variant to apply from a plugin.
|
|
10
|
+
*/
|
|
11
|
+
export function ThemeVariantPickerModal({ variants, selectionMode, title, description, selectorLabel = 'Theme variant', showSelector = true, busy = false, busyStatus, confirmLabel, busyConfirmLabel, cancelLabel, onConfirm, onCancel }) {
|
|
12
|
+
const titleId = useId();
|
|
13
|
+
const selectId = useId();
|
|
14
|
+
const radioGroupName = useId();
|
|
15
|
+
const [selectedThemeId, setSelectedThemeId] = useState(variants[0]?.id ?? '');
|
|
16
|
+
const [internalBusy, setInternalBusy] = useState(false);
|
|
17
|
+
const effectiveBusy = busy || internalBusy;
|
|
18
|
+
const primaryLabel = effectiveBusy && busyConfirmLabel ? busyConfirmLabel : confirmLabel;
|
|
19
|
+
/**
|
|
20
|
+
* Applies the selected variant and closes the dialog.
|
|
21
|
+
*/
|
|
22
|
+
const handleConfirm = useCallback(() => {
|
|
23
|
+
if (!selectedThemeId) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
setInternalBusy(true);
|
|
27
|
+
void (async () => {
|
|
28
|
+
try {
|
|
29
|
+
await onConfirm(selectedThemeId);
|
|
30
|
+
}
|
|
31
|
+
finally {
|
|
32
|
+
setInternalBusy(false);
|
|
33
|
+
}
|
|
34
|
+
})();
|
|
35
|
+
}, [onConfirm, selectedThemeId]);
|
|
36
|
+
return (_jsxs(Modal, { onClose: onCancel, labelledBy: titleId, title: title, closeDisabled: effectiveBusy, disableEscape: effectiveBusy, children: [_jsx("p", { className: "mb-3 text-[14px] text-muted", children: description }), showSelector && selectionMode === 'select' ? (_jsx(FormGroup, { label: selectorLabel, htmlFor: selectId, children: _jsx(Select, { id: selectId, value: selectedThemeId, disabled: effectiveBusy || variants.length === 0, onChange: (event) => setSelectedThemeId(event.target.value), children: variants.map((variant) => (_jsx("option", { value: variant.id, children: variant.label }, variant.id))) }) })) : null, showSelector && selectionMode === 'radio' ? (_jsxs("fieldset", { className: "m-0 space-y-2 border-none p-0", children: [_jsx("legend", { className: "sr-only", children: selectorLabel }), variants.map((variant) => (_jsx(FormGroup, { label: variant.label, layout: "checkbox", children: _jsx(Radio, { name: radioGroupName, checked: selectedThemeId === variant.id, onChange: () => setSelectedThemeId(variant.id), disabled: effectiveBusy }) }, variant.id)))] })) : null, effectiveBusy && busyStatus ? (_jsx(StatusMessage, { className: "mt-3", children: busyStatus })) : null, _jsxs(ModalFooter, { children: [_jsx(Button, { type: "button", variant: "secondary", disabled: effectiveBusy, onClick: onCancel, children: cancelLabel }), _jsx(Button, { type: "button", variant: "primary", disabled: effectiveBusy || !selectedThemeId, onClick: handleConfirm, children: primaryLabel })] })] }));
|
|
37
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { AsyncListState, ErrorRetry, LoadingMessage } from './AsyncListState/index.js';
|
|
2
2
|
export { AutocompleteInput, SuggestionList, useAutocomplete, type AutocompleteInputProps, type AutocompleteSource } from './Autocomplete/index.js';
|
|
3
3
|
export { Card } from './Card/index.js';
|
|
4
|
+
export { CatalogReadmeMarkdown } from './CatalogReadmeMarkdown/index.js';
|
|
5
|
+
export { CatalogCard } from './CatalogCard/index.js';
|
|
6
|
+
export type { Props as CatalogCardProps, CatalogCardCategory } from './CatalogCard/index.js';
|
|
4
7
|
export { ColorPicker } from './ColorPicker/index.js';
|
|
5
8
|
export type { Props as ColorPickerProps } from './ColorPicker/index.js';
|
|
6
9
|
export { colorsMatch, CUSTOM_SWATCH_SLOT_COUNT, DEFAULT_COLOR_PICKER_PRESETS, normalizeCssColor, toHexColorInputValue } from './ColorPicker/colorUtils.js';
|
|
@@ -10,6 +13,8 @@ export type { Props as BusyIndicatorProps } from './BusyIndicator/index.js';
|
|
|
10
13
|
export { BackButton } from './BackButton/index.js';
|
|
11
14
|
export { Badge } from './Badge/index.js';
|
|
12
15
|
export type { BadgeVariant } from './Badge/index.js';
|
|
16
|
+
export { StatusDot, statusDotVariantClass } from './StatusDot/index.js';
|
|
17
|
+
export type { StatusDotVariant, StatusDotSize } from './StatusDot/index.js';
|
|
13
18
|
export { Breadcrumb } from './Breadcrumb/index.js';
|
|
14
19
|
export type { BreadcrumbSegment } from './Breadcrumb/index.js';
|
|
15
20
|
export { Button } from './Button/index.js';
|
|
@@ -29,6 +34,8 @@ export { FOOTER_BAR_HEIGHT, FOOTER_ICON_BUTTON_SIZE, FOOTER_STATUS_BAR_SLOT_HEIG
|
|
|
29
34
|
export { FooterIcon } from './FooterIcon/index.js';
|
|
30
35
|
export { FooterPanel } from './FooterPanel/index.js';
|
|
31
36
|
export { FormGroup } from './FormGroup/index.js';
|
|
37
|
+
export { FormSection } from './FormSection/index.js';
|
|
38
|
+
export type { Props as FormSectionProps } from './FormSection/index.js';
|
|
32
39
|
export { Input, Checkbox, Radio, Select, Textarea, field, fieldFrame, surfaceField, mergeFieldClasses } from './forms/index.js';
|
|
33
40
|
export type { FieldVariant } from './forms/classes.js';
|
|
34
41
|
export { KeyValueEditor } from './KeyValueEditor/index.js';
|
|
@@ -36,6 +43,9 @@ export type { Props as KeyValueEditorProps } from './KeyValueEditor/index.js';
|
|
|
36
43
|
export { MethodSelect } from './MethodSelect/index.js';
|
|
37
44
|
export { Modal, ModalFooter, ModalFormLayout } from './Modal/index.js';
|
|
38
45
|
export { ModalHeader } from './Modal/ModalHeader.js';
|
|
46
|
+
export { PromptModal } from './PromptModal/index.js';
|
|
47
|
+
export type { Props as PromptModalProps } from './PromptModal/index.js';
|
|
48
|
+
export { defaultCanSubmitPromptValue } from './PromptModal/promptModal.logic.js';
|
|
39
49
|
export { portalToBody } from './portalToBody.js';
|
|
40
50
|
export { clampMenuPosition, getSubmenuAnchoredPosition, getTriggerAnchoredMenuPosition, MENU_MIN_WIDTH_PX, MENU_TRIGGER_OFFSET_PX, MENU_VIEWPORT_MARGIN_PX, type MenuPosition, type MenuSize } from './menuPosition.js';
|
|
41
51
|
export { OverlayCloseButton } from './OverlayCloseButton/index.js';
|
|
@@ -45,9 +55,16 @@ export { PageSidebar } from './PageSidebar/index.js';
|
|
|
45
55
|
export type { PageSidebarItem } from './PageSidebar/index.js';
|
|
46
56
|
export { SidebarLayout } from './SidebarLayout/index.js';
|
|
47
57
|
export { PanelCloseButton } from './PanelCloseButton/index.js';
|
|
58
|
+
export { ProgressBar } from './ProgressBar/index.js';
|
|
59
|
+
export type { Props as ProgressBarProps } from './ProgressBar/index.js';
|
|
48
60
|
export { Resizable, ResizeHandle, useResizable } from './Resizable/index.js';
|
|
49
61
|
export type { UseResizableOptions, UseResizableResult } from './Resizable/useResizable.js';
|
|
50
62
|
export { Scrollbars, type ScrollbarsAxis } from './Scrollbars/index.js';
|
|
63
|
+
export { SelectionActionToolbar } from './SelectionActionToolbar/index.js';
|
|
64
|
+
export type { Props as SelectionActionToolbarProps } from './SelectionActionToolbar/index.js';
|
|
65
|
+
export { ScreenshotCarousel } from './ScreenshotCarousel/index.js';
|
|
66
|
+
export { ScreenshotLightbox } from './ScreenshotCarousel/ScreenshotLightbox.js';
|
|
67
|
+
export { screenshotCarouselImageFrameClassName, screenshotCarouselLightboxEnabled, type ScreenshotCarouselVariant } from './ScreenshotCarousel/variants.js';
|
|
51
68
|
export { SidebarSection, SidebarSections, type SidebarSectionConfig } from './SidebarSection/index.js';
|
|
52
69
|
export { Sidebar, type SidebarSide } from './Sidebar/index.js';
|
|
53
70
|
export { DEFAULT_HEIGHT, MIN_HEIGHT, footerPanelClassName, footerPanelCloseButtonClassName, getFooterPanelMaxSize } from './Resizable/footerPanelUtils.js';
|
|
@@ -56,11 +73,17 @@ export { RoundButton } from './RoundButton/index.js';
|
|
|
56
73
|
export { RowActionsMenu } from './RowActionsMenu/index.js';
|
|
57
74
|
export type { MenuItem } from './RowActionsMenu/index.js';
|
|
58
75
|
export { buildReorderMenuGroup } from './rowActionsMenuHelpers.js';
|
|
76
|
+
export { SettingIdLabel } from './SettingIdLabel/index.js';
|
|
77
|
+
export type { Props as SettingIdLabelProps } from './SettingIdLabel/index.js';
|
|
78
|
+
export { SettingSectionHeading } from './SettingSectionHeading/index.js';
|
|
79
|
+
export type { Props as SettingSectionHeadingProps } from './SettingSectionHeading/index.js';
|
|
59
80
|
export { SegmentedTabs, SegmentedTabsGroup, SegmentedTabPanel } from './SegmentedTabs/index.js';
|
|
60
81
|
export type { TabItem } from './SegmentedTabs/index.js';
|
|
61
82
|
export { Spinner } from './Spinner/index.js';
|
|
62
83
|
export { StatusMessage } from './StatusMessage/index.js';
|
|
63
84
|
export { TabCloseButton } from './TabCloseButton/index.js';
|
|
85
|
+
export { ThemeVariantPickerModal } from './ThemeVariantPickerModal/index.js';
|
|
86
|
+
export type { Props as ThemeVariantPickerModalProps, ThemeVariantOption } from './ThemeVariantPickerModal/index.js';
|
|
64
87
|
export { TabBar, TabBarShell, TabNewButton, TabContextMenu, ClosingTabShell, useSortableTabItem, useExitingTabItems, detectRemovedTabItems, resolveInsertBeforeId, buildTabCloseMenuGroups, tabIdsToCloseOthers, tabIdsToCloseToTheRight, type TabBarItem, type TabBarNewTab, type TabBarSortableCursor, type ExitingTabItem } from './TabBar/index.js';
|
|
65
88
|
export { Toolbar } from './Toolbar/index.js';
|
|
66
89
|
export type { ToolbarAction } from './Toolbar/index.js';
|
|
@@ -76,6 +99,6 @@ export { cleanVariables, resolveTabListKeyAction } from './utils.js';
|
|
|
76
99
|
export type { TabListKeyOptions } from './utils.js';
|
|
77
100
|
export { useDialogFocus, getFocusableElements } from './useDialogFocus.js';
|
|
78
101
|
export { segment, segmentGroup, tabItem } from './classes.js';
|
|
79
|
-
export { SidebarItem, SidebarListbox, SidebarList, SidebarTree, SidebarTreeGroup, handleSidebarOptionKeyDown, type SidebarItemListboxOption, type SidebarItemTreeItem, SortableSidebarItem, stopSortableDragPointerDown, SidebarColorDot, sourceRow, METHOD_CLASSES, statusDotClass, SIDEBAR_ITEM_BUTTON_CLASS, SidebarMethodBadge, SidebarStatusDot, SidebarStatusMarker, SidebarRequestItem, SidebarDocumentItem, SidebarFolderItem, SidebarRunItem, SidebarHistoryItem, SidebarEnvironmentItem, SidebarTabGroupItem, SidebarCommitItem, type SidebarItemSortableConfig } from './SidebarItem/index.js';
|
|
102
|
+
export { SidebarItem, SidebarListbox, SidebarList, SidebarTree, SidebarTreeGroup, handleSidebarOptionKeyDown, type SidebarItemListboxOption, type SidebarItemTreeItem, SortableSidebarItem, stopSortableDragPointerDown, SidebarColorDot, SidebarBadge, sourceRow, METHOD_CLASSES, statusDotVariant, statusDotClass, SIDEBAR_ITEM_BUTTON_CLASS, SidebarMethodBadge, SidebarStatusDot, SidebarStatusMarker, SidebarRequestItem, SidebarDocumentItem, SidebarFolderItem, SidebarRunItem, SidebarHistoryItem, SidebarEnvironmentItem, SidebarTabGroupItem, SidebarCommitItem, type SidebarItemSortableConfig, type SidebarBadgeVariant } from './SidebarItem/index.js';
|
|
80
103
|
export type { FormDataPart, FormDataPartType, HttpMethod, KeyValue, Variable } from '../types.js';
|
|
81
104
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,YAAY,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACL,WAAW,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mCAAmC,EACnC,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,YAAY,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,MA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}
|
package/dist/components/index.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export { AsyncListState, ErrorRetry, LoadingMessage } from './AsyncListState/index.js';
|
|
2
2
|
export { AutocompleteInput, SuggestionList, useAutocomplete } from './Autocomplete/index.js';
|
|
3
3
|
export { Card } from './Card/index.js';
|
|
4
|
+
export { CatalogReadmeMarkdown } from './CatalogReadmeMarkdown/index.js';
|
|
5
|
+
export { CatalogCard } from './CatalogCard/index.js';
|
|
4
6
|
export { ColorPicker } from './ColorPicker/index.js';
|
|
5
7
|
export { colorsMatch, CUSTOM_SWATCH_SLOT_COUNT, DEFAULT_COLOR_PICKER_PRESETS, normalizeCssColor, toHexColorInputValue } from './ColorPicker/colorUtils.js';
|
|
6
8
|
export { DEFAULT_CUSTOM_SWATCHES_STORAGE_KEY, loadCustomSwatches, padCustomSwatchSlots, persistCustomSwatches } from './ColorPicker/customSwatches.js';
|
|
7
9
|
export { BusyIndicator } from './BusyIndicator/index.js';
|
|
8
10
|
export { BackButton } from './BackButton/index.js';
|
|
9
11
|
export { Badge } from './Badge/index.js';
|
|
12
|
+
export { StatusDot, statusDotVariantClass } from './StatusDot/index.js';
|
|
10
13
|
export { Breadcrumb } from './Breadcrumb/index.js';
|
|
11
14
|
export { Button } from './Button/index.js';
|
|
12
15
|
export { CodeEditor, CODE_EDITOR_THEME_OPTIONS } from './CodeEditor/index.js';
|
|
@@ -21,11 +24,14 @@ export { FOOTER_BAR_HEIGHT, FOOTER_ICON_BUTTON_SIZE, FOOTER_STATUS_BAR_SLOT_HEIG
|
|
|
21
24
|
export { FooterIcon } from './FooterIcon/index.js';
|
|
22
25
|
export { FooterPanel } from './FooterPanel/index.js';
|
|
23
26
|
export { FormGroup } from './FormGroup/index.js';
|
|
27
|
+
export { FormSection } from './FormSection/index.js';
|
|
24
28
|
export { Input, Checkbox, Radio, Select, Textarea, field, fieldFrame, surfaceField, mergeFieldClasses } from './forms/index.js';
|
|
25
29
|
export { KeyValueEditor } from './KeyValueEditor/index.js';
|
|
26
30
|
export { MethodSelect } from './MethodSelect/index.js';
|
|
27
31
|
export { Modal, ModalFooter, ModalFormLayout } from './Modal/index.js';
|
|
28
32
|
export { ModalHeader } from './Modal/ModalHeader.js';
|
|
33
|
+
export { PromptModal } from './PromptModal/index.js';
|
|
34
|
+
export { defaultCanSubmitPromptValue } from './PromptModal/promptModal.logic.js';
|
|
29
35
|
export { portalToBody } from './portalToBody.js';
|
|
30
36
|
export { clampMenuPosition, getSubmenuAnchoredPosition, getTriggerAnchoredMenuPosition, MENU_MIN_WIDTH_PX, MENU_TRIGGER_OFFSET_PX, MENU_VIEWPORT_MARGIN_PX } from './menuPosition.js';
|
|
31
37
|
export { OverlayCloseButton } from './OverlayCloseButton/index.js';
|
|
@@ -34,8 +40,13 @@ export { PageHeader } from './PageHeader/index.js';
|
|
|
34
40
|
export { PageSidebar } from './PageSidebar/index.js';
|
|
35
41
|
export { SidebarLayout } from './SidebarLayout/index.js';
|
|
36
42
|
export { PanelCloseButton } from './PanelCloseButton/index.js';
|
|
43
|
+
export { ProgressBar } from './ProgressBar/index.js';
|
|
37
44
|
export { Resizable, ResizeHandle, useResizable } from './Resizable/index.js';
|
|
38
45
|
export { Scrollbars } from './Scrollbars/index.js';
|
|
46
|
+
export { SelectionActionToolbar } from './SelectionActionToolbar/index.js';
|
|
47
|
+
export { ScreenshotCarousel } from './ScreenshotCarousel/index.js';
|
|
48
|
+
export { ScreenshotLightbox } from './ScreenshotCarousel/ScreenshotLightbox.js';
|
|
49
|
+
export { screenshotCarouselImageFrameClassName, screenshotCarouselLightboxEnabled } from './ScreenshotCarousel/variants.js';
|
|
39
50
|
export { SidebarSection, SidebarSections } from './SidebarSection/index.js';
|
|
40
51
|
export { Sidebar } from './Sidebar/index.js';
|
|
41
52
|
export { DEFAULT_HEIGHT, MIN_HEIGHT, footerPanelClassName, footerPanelCloseButtonClassName, getFooterPanelMaxSize } from './Resizable/footerPanelUtils.js';
|
|
@@ -43,10 +54,13 @@ export { ResourceList, ResourceListRow, ResourceListPrimary, ResourceListEmptyIt
|
|
|
43
54
|
export { RoundButton } from './RoundButton/index.js';
|
|
44
55
|
export { RowActionsMenu } from './RowActionsMenu/index.js';
|
|
45
56
|
export { buildReorderMenuGroup } from './rowActionsMenuHelpers.js';
|
|
57
|
+
export { SettingIdLabel } from './SettingIdLabel/index.js';
|
|
58
|
+
export { SettingSectionHeading } from './SettingSectionHeading/index.js';
|
|
46
59
|
export { SegmentedTabs, SegmentedTabsGroup, SegmentedTabPanel } from './SegmentedTabs/index.js';
|
|
47
60
|
export { Spinner } from './Spinner/index.js';
|
|
48
61
|
export { StatusMessage } from './StatusMessage/index.js';
|
|
49
62
|
export { TabCloseButton } from './TabCloseButton/index.js';
|
|
63
|
+
export { ThemeVariantPickerModal } from './ThemeVariantPickerModal/index.js';
|
|
50
64
|
export { TabBar, TabBarShell, TabNewButton, TabContextMenu, ClosingTabShell, useSortableTabItem, useExitingTabItems, detectRemovedTabItems, resolveInsertBeforeId, buildTabCloseMenuGroups, tabIdsToCloseOthers, tabIdsToCloseToTheRight } from './TabBar/index.js';
|
|
51
65
|
export { Toolbar } from './Toolbar/index.js';
|
|
52
66
|
export { Table, TableBody, TableCell, TableHead, TableHeader, tableCellClass, tableCellClassLoose, tableHeadClass, tableHeadClassLoose } from './Table/index.js';
|
|
@@ -57,4 +71,4 @@ export { VisibilityMenu } from './VisibilityMenu/index.js';
|
|
|
57
71
|
export { cleanVariables, resolveTabListKeyAction } from './utils.js';
|
|
58
72
|
export { useDialogFocus, getFocusableElements } from './useDialogFocus.js';
|
|
59
73
|
export { segment, segmentGroup, tabItem } from './classes.js';
|
|
60
|
-
export { SidebarItem, SidebarListbox, SidebarList, SidebarTree, SidebarTreeGroup, handleSidebarOptionKeyDown, SortableSidebarItem, stopSortableDragPointerDown, SidebarColorDot, sourceRow, METHOD_CLASSES, statusDotClass, SIDEBAR_ITEM_BUTTON_CLASS, SidebarMethodBadge, SidebarStatusDot, SidebarStatusMarker, SidebarRequestItem, SidebarDocumentItem, SidebarFolderItem, SidebarRunItem, SidebarHistoryItem, SidebarEnvironmentItem, SidebarTabGroupItem, SidebarCommitItem } from './SidebarItem/index.js';
|
|
74
|
+
export { SidebarItem, SidebarListbox, SidebarList, SidebarTree, SidebarTreeGroup, handleSidebarOptionKeyDown, SortableSidebarItem, stopSortableDragPointerDown, SidebarColorDot, SidebarBadge, sourceRow, METHOD_CLASSES, statusDotVariant, statusDotClass, SIDEBAR_ITEM_BUTTON_CLASS, SidebarMethodBadge, SidebarStatusDot, SidebarStatusMarker, SidebarRequestItem, SidebarDocumentItem, SidebarFolderItem, SidebarRunItem, SidebarHistoryItem, SidebarEnvironmentItem, SidebarTabGroupItem, SidebarCommitItem } from './SidebarItem/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harborclient/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"description": "TypeScript SDK for HarborClient development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"harborclient",
|
|
@@ -173,7 +173,9 @@
|
|
|
173
173
|
"@szhsin/react-accordion": "^1.4.2",
|
|
174
174
|
"overlayscrollbars": "^2.16.0",
|
|
175
175
|
"overlayscrollbars-react": "^0.5.6",
|
|
176
|
-
"react": ">=18"
|
|
176
|
+
"react": ">=18",
|
|
177
|
+
"react-markdown": ">=10",
|
|
178
|
+
"remark-gfm": ">=4"
|
|
177
179
|
},
|
|
178
180
|
"dependencies": {
|
|
179
181
|
"@codemirror/autocomplete": "^6.20.3",
|
|
@@ -229,6 +231,8 @@
|
|
|
229
231
|
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
230
232
|
"react": "^19.2.7",
|
|
231
233
|
"react-dom": "^19.2.7",
|
|
234
|
+
"react-markdown": "^10.1.0",
|
|
235
|
+
"remark-gfm": "^4.0.1",
|
|
232
236
|
"storybook": "^10.4.6",
|
|
233
237
|
"tailwindcss": "^4.3.1",
|
|
234
238
|
"ts-jest": "^29.4.11",
|