@parallelworks/ui 0.45.0 → 0.47.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 +16 -5
- package/dist/ai/agent/permissions.d.ts +1 -1
- package/dist/ai/agent/permissions.js +1 -1
- package/dist/ai/ai.css +4 -4
- package/dist/ai/components/ChatInput.js +1 -1
- package/dist/ai/components/ChatStage.d.ts +1 -1
- package/dist/ai/components/ChatStage.js +1 -1
- package/dist/ai/core/pasteLanguage.d.ts +1 -1
- package/dist/ai/core/pasteLanguage.js +1 -1
- package/dist/brandIcons.js +1 -1
- package/dist/components/ColorInput.d.ts +36 -0
- package/dist/components/ColorInput.js +82 -0
- package/dist/components/Combobox.d.ts +5 -2
- package/dist/components/Combobox.js +12 -11
- package/dist/components/CreateModal.js +2 -2
- package/dist/components/DatePicker.d.ts +5 -1
- package/dist/components/DatePicker.js +7 -7
- package/dist/components/Field.d.ts +19 -5
- package/dist/components/Field.js +21 -4
- package/dist/components/Input.d.ts +11 -1
- package/dist/components/Input.js +9 -6
- package/dist/components/Loader.d.ts +1 -1
- package/dist/components/MenuEntries.js +1 -1
- package/dist/components/NumberInput.d.ts +1 -0
- package/dist/components/OneTimeCodeInput.d.ts +23 -0
- package/dist/components/OneTimeCodeInput.js +39 -0
- package/dist/components/Provider.d.ts +15 -6
- package/dist/components/Provider.js +17 -5
- package/dist/components/SearchInput.d.ts +1 -0
- package/dist/components/Section.d.ts +7 -2
- package/dist/components/Section.js +58 -39
- package/dist/components/SegmentedControl.d.ts +4 -2
- package/dist/components/SegmentedControl.js +4 -2
- package/dist/components/Select.d.ts +2 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/StatusBadge.d.ts +2 -2
- package/dist/components/StatusBadge.js +1 -1
- package/dist/components/Tabs.js +1 -0
- package/dist/components/ThemeEditor.js +15 -52
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToggleGroup.d.ts +42 -0
- package/dist/components/ToggleGroup.js +69 -0
- package/dist/components/comboboxItems.d.ts +1 -1
- package/dist/components/fieldBox.js +1 -1
- package/dist/components/tone.d.ts +1 -1
- package/dist/editing.d.ts +1 -1
- package/dist/file-explorer/FileExplorerContext.js +11 -11
- package/dist/file-explorer/FilePreview/useObjectBlobUrl.js +4 -4
- package/dist/file-explorer/FilePreview/useObjectText.js +4 -4
- package/dist/file-explorer/FilePreview/usePresignedUrl.js +4 -4
- package/dist/file-explorer/lib/types.d.ts +2 -2
- package/dist/file-explorer/toasts.js +9 -9
- package/dist/form/Fields/BooleanField.js +1 -1
- package/dist/form/Fields/ColorField.js +6 -10
- package/dist/form/Fields/DropdownField.js +1 -1
- package/dist/form/Fields/DurationField.js +1 -1
- package/dist/form/Fields/MultiDropdownField.js +1 -1
- package/dist/form/Fields/StringField.js +1 -1
- package/dist/form/Fields/TextAreaField.js +1 -1
- package/dist/form/Form.js +1 -1
- package/dist/form/utils/fieldItems.d.ts +1 -1
- package/dist/graph/GraphEditorDialogs.js +1 -1
- package/dist/graph/InputDialog.js +2 -2
- package/dist/graph/SuggestionInput.d.ts +1 -1
- package/dist/graph/SuggestionInput.js +1 -1
- package/dist/graph/WorkflowSettingsDialog.js +1 -1
- package/dist/graph/editorFields.js +2 -2
- package/dist/graph/editorPrimitives.d.ts +2 -2
- package/dist/graph/editorPrimitives.js +1 -1
- package/dist/graph/editorStrings.d.ts +2 -2
- package/dist/graph/editorStrings.js +4 -4
- package/dist/graph/inputRefs.js +2 -2
- package/dist/graph/stepWith.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +14 -10
- package/dist/list/ListViewControls.js +1 -1
- package/dist/list/listSearch.js +1 -1
- package/dist/logviewer/segments.d.ts +1 -1
- package/dist/logviewer/segments.js +1 -1
- package/dist/styles/theme.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme/derive.d.ts +3 -0
- package/dist/theme/derive.js +11 -7
- package/package.json +1 -1
|
@@ -204,14 +204,14 @@ var GRAPH_EDITOR_STRINGS = {
|
|
|
204
204
|
default: "After the steps before it succeed",
|
|
205
205
|
always: "Always, even after a failure or a cancel",
|
|
206
206
|
failure: "Only after a step failed",
|
|
207
|
-
|
|
207
|
+
canceled: "Only after the run was canceled",
|
|
208
208
|
success: "Only if nothing failed or was canceled"
|
|
209
209
|
},
|
|
210
210
|
jobConditions: {
|
|
211
211
|
default: "After the jobs it needs succeed",
|
|
212
212
|
always: "Always, whatever the jobs it needs did",
|
|
213
213
|
failure: "Only if a job it needs failed",
|
|
214
|
-
|
|
214
|
+
canceled: "Only if a job it needs was canceled",
|
|
215
215
|
success: "Only if every job it needs succeeded"
|
|
216
216
|
},
|
|
217
217
|
modeFromInput: "From an input",
|
|
@@ -620,8 +620,8 @@ var INPUTS_EDITOR_STRINGS = {
|
|
|
620
620
|
hidden: "Hide the field from the form; its default is still used. Use an expression to decide when.",
|
|
621
621
|
disabled: "Show the field but don’t let users change it. Use an expression to decide when.",
|
|
622
622
|
ignore: "Don’t pass this field’s value to the run. Use an expression to decide when.",
|
|
623
|
-
placeholder: "
|
|
624
|
-
prefillDefault: "Put the default in the field as its value. When off, the field starts empty and shows the default as
|
|
623
|
+
placeholder: "Gray hint text shown while the field is empty.",
|
|
624
|
+
prefillDefault: "Put the default in the field as its value. When off, the field starts empty and shows the default as gray hint text.",
|
|
625
625
|
textarea: "Show a bigger box for several lines of text.",
|
|
626
626
|
minLength: "The fewest characters the value can have.",
|
|
627
627
|
maxLength: "The most characters the value can have.",
|
package/dist/graph/inputRefs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AddIcon } from "../icons.js";
|
|
2
2
|
import { useStrings } from "../components/Provider.js";
|
|
3
3
|
import { ActionMenu } from "../components/ActionMenu.js";
|
|
4
|
+
import { Textarea } from "../components/Input.js";
|
|
4
5
|
import { Switch } from "../components/Switch.js";
|
|
5
6
|
import { IconButton } from "../components/IconButton.js";
|
|
6
|
-
import { Textarea } from "../components/Input.js";
|
|
7
7
|
import { Select } from "../components/Select.js";
|
|
8
8
|
import { useGraphEditorStrings, useInputsEditorStrings } from "./editorStrings.js";
|
|
9
9
|
import { asRecord } from "./records.js";
|
|
@@ -182,7 +182,7 @@ function FlagField({ label, yamlKey, description, value, original, fallback = fa
|
|
|
182
182
|
var CONDITIONS = [
|
|
183
183
|
["always", "always"],
|
|
184
184
|
["failure()", "failure"],
|
|
185
|
-
["
|
|
185
|
+
["canceled()", "canceled"],
|
|
186
186
|
["success()", "success"]
|
|
187
187
|
];
|
|
188
188
|
/** When a job or step runs: any condition, typed, with the executor's status checks and the form's switches offered. */
|
package/dist/graph/stepWith.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RemoveIcon } from "../icons.js";
|
|
2
2
|
import { useRepoSuggestions, useWorkflowActions, useWorkflowEditing, useWorkflowJsonResolver } from "../components/Provider.js";
|
|
3
3
|
import { ErrorText } from "../components/Field.js";
|
|
4
|
-
import { IconButton } from "../components/IconButton.js";
|
|
5
4
|
import { Input, Textarea } from "../components/Input.js";
|
|
5
|
+
import { IconButton } from "../components/IconButton.js";
|
|
6
6
|
import { useGraphEditorStrings, useInputsEditorStrings } from "./editorStrings.js";
|
|
7
7
|
import { asRecord } from "./records.js";
|
|
8
8
|
import { loadUsesInputs, splitAtRef } from "./usesInputs.js";
|
package/dist/icons.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Activity, Archive, ArrowDown, ArrowDownWideNarrow, ArrowLeft, ArrowRigh
|
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/icons.tsx
|
|
5
5
|
var STROKE_WIDTH = 2;
|
|
6
|
-
/** The text's size and
|
|
6
|
+
/** The text's size and color by default, so a class such as `size-4` or a
|
|
7
7
|
* parent's font size sets it. */
|
|
8
8
|
function icon(Glyph, defaults) {
|
|
9
9
|
function Icon({ title, children, ...props }) {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { type ButtonSize, type ButtonStyle, type ButtonVariant, buttonClasses, }
|
|
|
6
6
|
export { default as Callout } from './components/Callout.js';
|
|
7
7
|
export { Card, CardHeader, type CardProps } from './components/Card.js';
|
|
8
8
|
export { Checkbox, CheckboxGroup, type CheckboxProps } from './components/Checkbox.js';
|
|
9
|
+
export { ColorInput, type ColorInputProps } from './components/ColorInput.js';
|
|
9
10
|
export { Autocomplete, type AutocompleteProps, Combobox, type ComboboxGroup, type ComboboxItem, type ComboboxItems, type ComboboxProps, } from './components/Combobox.js';
|
|
10
11
|
export { ConfirmModal } from './components/ConfirmModal.js';
|
|
11
12
|
export { type OpenMenu, type OpenMenuOptions, useContextMenu, } from './components/ContextMenu.js';
|
|
@@ -17,7 +18,7 @@ export { Disclosure, DisclosurePanel, type DisclosureProps } from './components/
|
|
|
17
18
|
export { Drawer, type DrawerProps } from './components/Drawer.js';
|
|
18
19
|
export { EmptyState, type EmptyStateProps } from './components/EmptyState.js';
|
|
19
20
|
export { ExternalLink, type ExternalLinkProps } from './components/ExternalLink.js';
|
|
20
|
-
export { Field, type FieldControlProps, type FieldLayout, FieldOption, type FieldProps, RevealToggle, useFieldControl, } from './components/Field.js';
|
|
21
|
+
export { ErrorText, Field, type FieldControlProps, type FieldLayout, FieldOption, type FieldProps, FieldValue, type FieldValueProps, RevealToggle, useFieldControl, } from './components/Field.js';
|
|
21
22
|
export { type FieldBoxOptions, type FieldBoxSize, fieldBox } from './components/fieldBox.js';
|
|
22
23
|
export type { FloatingAnchor } from './components/floating.js';
|
|
23
24
|
export { HoverCard, type HoverCardProps } from './components/HoverCard.js';
|
|
@@ -33,6 +34,7 @@ export { type MenuAction, type MenuDivider, MenuEntries, type MenuEntry, MenuFil
|
|
|
33
34
|
export { type BarSize, type BarTone, levelTone, Meter, ProgressBar, } from './components/Meter.js';
|
|
34
35
|
export { Modal, ModalDescription, type ModalProps, ModalTitle, modalPanelClassName, } from './components/Modal.js';
|
|
35
36
|
export { NumberInput, type NumberInputProps } from './components/NumberInput.js';
|
|
37
|
+
export { OneTimeCodeInput, type OneTimeCodeInputProps } from './components/OneTimeCodeInput.js';
|
|
36
38
|
export { Overview } from './components/Overview.js';
|
|
37
39
|
export { BreadcrumbsActionButton, BreadcrumbsRightAction, BreadcrumbsTitleAction, HeaderActionMenu, HeaderAddButton, HeaderEditButton, PageHeader, type PageHeaderBreadcrumb, type PageHeaderCrumb, } from './components/PageHeader.js';
|
|
38
40
|
export { PAGE_SIZES, Pagination, type PaginationProps } from './components/Pagination.js';
|
|
@@ -59,10 +61,12 @@ export { CompactTable, Table } from './components/Table.js';
|
|
|
59
61
|
export { type TabItem, TabPanel, Tabs, type TabsProps } from './components/Tabs.js';
|
|
60
62
|
export { ThemeEditor, type ThemeEditorProps, ThemePreview } from './components/ThemeEditor.js';
|
|
61
63
|
export { type ToastAction, type Toaster, type ToastOptions, type ToastTone, type ToastUpdate, toast, } from './components/Toast.js';
|
|
64
|
+
export { ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, } from './components/ToggleGroup.js';
|
|
62
65
|
export { Tooltip, type TooltipProps, TooltipProvider, type TooltipSide, } from './components/Tooltip.js';
|
|
63
66
|
export { type CopyOptions, useCopy } from './components/useCopy.js';
|
|
64
67
|
export { useCssIsDark } from './components/useCssIsDark.js';
|
|
65
68
|
export { useApplyTheme, useColorMode } from './components/useTheme.js';
|
|
69
|
+
export { cx } from './cx.js';
|
|
66
70
|
export type { EditRefusalReason, FieldPatch, GraphEdit, GraphEditResult, GraphEditState, GraphLayout, GraphPosition, GraphSlot, InputEdit, InputPath, LintFix, NeedRef, StepRef, WorkflowAction, WorkflowActionInput, WorkflowEditing, WorkflowLintContext, WorkflowLintProblem, } from './editing.js';
|
|
67
71
|
export type { EngineJob, EngineStep, EvaluateOptions, ExpansionKeys, LogCommand, LogSegment, MatrixGroup, ProcessedLogLine, RunStatus, WorkflowEngine, WorkflowVariable, WorkflowVariables, } from './engine.js';
|
|
68
72
|
export { formatBytes, formatCount, formatDateTime, formatDuration, formatTimeLeft, type TimeValue, } from './format.js';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { cx } from "./cx.js";
|
|
1
2
|
import { MenuCheckboxItem, MenuGroupLabel, MenuItem, MenuLinkItem, MenuPopup, MenuRadioItem, MenuSeparator, MenuSubmenuTrigger } from "./components/Menu.js";
|
|
2
3
|
import { EmptyState } from "./components/EmptyState.js";
|
|
3
4
|
import { buttonClasses } from "./components/buttonClasses.js";
|
|
@@ -14,7 +15,17 @@ import { Button, MethodButton } from "./components/Button.js";
|
|
|
14
15
|
import Callout from "./components/Callout.js";
|
|
15
16
|
import { Card, CardHeader } from "./components/Card.js";
|
|
16
17
|
import { Checkbox, CheckboxGroup } from "./components/Checkbox.js";
|
|
18
|
+
import { JND, composite, deltaE, parseColor, toHex, toP3 } from "./theme/color.js";
|
|
19
|
+
import { apcaContrast, contrastRatio, isDarkColor } from "./theme/contrast.js";
|
|
20
|
+
import { CODE_STYLES, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, THEME_PRESETS, modeOf, parseTheme, resolveMode, schemeFor, serializeTheme } from "./theme/model.js";
|
|
21
|
+
import { SIDEBAR_TOKENS, THEME_TOKENS, deriveTheme, generateTheme, themeStylesheet } from "./theme/derive.js";
|
|
22
|
+
import { fitSeed } from "./theme/fit.js";
|
|
23
|
+
import { applyTheme, prefersWideGamut } from "./theme/index.js";
|
|
24
|
+
import { RequiredMark } from "./components/RequiredMark.js";
|
|
25
|
+
import { ErrorText, Field, FieldOption, FieldValue, RevealToggle, useFieldControl } from "./components/Field.js";
|
|
17
26
|
import { fieldBox } from "./components/fieldBox.js";
|
|
27
|
+
import { Input, Textarea } from "./components/Input.js";
|
|
28
|
+
import { ColorInput } from "./components/ColorInput.js";
|
|
18
29
|
import { Autocomplete, Combobox } from "./components/Combobox.js";
|
|
19
30
|
import { Modal, ModalDescription, ModalTitle, modalPanelClassName } from "./components/Modal.js";
|
|
20
31
|
import { ConfirmModal } from "./components/ConfirmModal.js";
|
|
@@ -29,16 +40,14 @@ import { Popover, PopoverClose, useClosePopover } from "./components/Popover.js"
|
|
|
29
40
|
import { InfoTip, formatInfoTipContent } from "./components/InfoTip.js";
|
|
30
41
|
import DescriptionList, { DescriptionListItem } from "./components/DescriptionList.js";
|
|
31
42
|
import { Drawer } from "./components/Drawer.js";
|
|
32
|
-
import { RequiredMark } from "./components/RequiredMark.js";
|
|
33
|
-
import { Field, FieldOption, RevealToggle, useFieldControl } from "./components/Field.js";
|
|
34
43
|
import { HoverCard } from "./components/HoverCard.js";
|
|
35
44
|
import { isTextEntryContext, useShortcutKey } from "./components/shortcutKey.js";
|
|
36
45
|
import { IconButton } from "./components/IconButton.js";
|
|
37
|
-
import { Input, Textarea } from "./components/Input.js";
|
|
38
46
|
import { LetterBadge } from "./components/LetterBadge.js";
|
|
39
47
|
import Markdown from "./components/Markdown.js";
|
|
40
48
|
import { Meter, ProgressBar, levelTone } from "./components/Meter.js";
|
|
41
49
|
import { NumberInput } from "./components/NumberInput.js";
|
|
50
|
+
import { OneTimeCodeInput } from "./components/OneTimeCodeInput.js";
|
|
42
51
|
import { LoadingRegion, Skeleton } from "./components/Skeleton.js";
|
|
43
52
|
import { Overview } from "./components/Overview.js";
|
|
44
53
|
import { BreadcrumbsActionButton, BreadcrumbsRightAction, BreadcrumbsTitleAction, HeaderActionMenu, HeaderAddButton, HeaderEditButton, PageHeader } from "./components/PageHeader.js";
|
|
@@ -59,13 +68,8 @@ import Sort from "./components/Sort.js";
|
|
|
59
68
|
import { StatusBadge, StatusDot, statusTextClass } from "./components/StatusBadge.js";
|
|
60
69
|
import { CompactTable, Table } from "./components/Table.js";
|
|
61
70
|
import { TabPanel, Tabs } from "./components/Tabs.js";
|
|
62
|
-
import { JND, composite, deltaE, parseColor, toHex, toP3 } from "./theme/color.js";
|
|
63
|
-
import { apcaContrast, contrastRatio, isDarkColor } from "./theme/contrast.js";
|
|
64
|
-
import { CODE_STYLES, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, THEME_PRESETS, modeOf, parseTheme, resolveMode, schemeFor, serializeTheme } from "./theme/model.js";
|
|
65
|
-
import { SIDEBAR_TOKENS, THEME_TOKENS, deriveTheme, generateTheme, themeStylesheet } from "./theme/derive.js";
|
|
66
|
-
import { fitSeed } from "./theme/fit.js";
|
|
67
|
-
import { applyTheme, prefersWideGamut } from "./theme/index.js";
|
|
68
71
|
import { ThemeEditor, ThemePreview } from "./components/ThemeEditor.js";
|
|
72
|
+
import { ToggleGroup } from "./components/ToggleGroup.js";
|
|
69
73
|
import { useCssIsDark } from "./components/useCssIsDark.js";
|
|
70
74
|
import { useApplyTheme, useColorMode } from "./components/useTheme.js";
|
|
71
|
-
export { ActionMenu, Autocomplete, Avatar, BreadcrumbProvider, BreadcrumbsActionButton, BreadcrumbsRightAction, BreadcrumbsTitleAction, Button, CODE_STYLES, Callout, Card, CardHeader, Checkbox, CheckboxGroup, Combobox, CompactTable, ConfirmModal, CopyCodeBlock, CopyToClipboard, CreateModal, CreateModalSelect, CreateModalSwitch, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, DatePicker, DescriptionList, DescriptionListItem, Disclosure, DisclosurePanel, Drawer, Elapsed, EmptyState, ExternalLink, Field, FieldOption, HeaderActionMenu, HeaderAddButton, HeaderEditButton, HoverCard, IconButton, InfoTip, Input, JND, LetterBadge, Loader, LoadingRegion, Markdown, MenuCheckboxItem, MenuEntries, MenuFilter, MenuGroupLabel, MenuItem, MenuLinkItem, MenuPopup, MenuRadioItem, MenuSeparator, MenuSubmenuTrigger, Meter, MethodButton, Modal, ModalDescription, ModalTitle, NumberInput, Overview, PAGE_SIZES, PageHeader, Pagination, Popover, PopoverClose, ProgressBar, Radio, RadioGroup, RefreshButton, RelativeTime, RequiredMark, RevealToggle, RunStatusIcon, SIDEBAR_TOKENS, SearchInput, Section, SegmentedControl, Select, SettingModeOption, SettingRow, SettingsCard, SettingsHeading, Skeleton, Slider, Sort, StatusBadge, StatusDot, Switch, THEME_PRESETS, THEME_TOKENS, TabPanel, Table, Tabs, Textarea, ThemeEditor, ThemePreview, Tooltip, TooltipProvider, UIProvider, apcaContrast, applyTheme, avatarInitials, buttonClasses, composite, contrastRatio, deltaE, deriveTheme, fieldBox, fitSeed, formatBytes, formatCount, formatDateTime, formatDuration, formatInfoTipContent, formatTimeLeft, generateTheme, isDarkColor, isTextEntryContext, levelTone, menuDivider, modalPanelClassName, modeOf, parseColor, parseTheme, prefersWideGamut, resolveMode, runStatusTone, schemeFor, serializeTheme, statusTextClass, themeStylesheet, toHex, toP3, toast, useApplyTheme, useBreadcrumb, useClearBreadcrumbs, useClock, useClosePopover, useColorMode, useContextMenu, useCopy, useCssIsDark, useElapsed, useFieldControl, useHideBreadcrumbs, useNavigation, useOptionalWorkflowEngine, usePersistedState, useProvisionCorsRules, useRelativeTime, useRunFile, useSetBreadcrumbs, useSetDefaultBreadcrumbs, useShortcutKey, useSlots, useStrings, useWorkflowActions, useWorkflowEditing, useWorkflowEngine, useWorkflowEngineLoader };
|
|
75
|
+
export { ActionMenu, Autocomplete, Avatar, BreadcrumbProvider, BreadcrumbsActionButton, BreadcrumbsRightAction, BreadcrumbsTitleAction, Button, CODE_STYLES, Callout, Card, CardHeader, Checkbox, CheckboxGroup, ColorInput, Combobox, CompactTable, ConfirmModal, CopyCodeBlock, CopyToClipboard, CreateModal, CreateModalSelect, CreateModalSwitch, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, DatePicker, DescriptionList, DescriptionListItem, Disclosure, DisclosurePanel, Drawer, Elapsed, EmptyState, ErrorText, ExternalLink, Field, FieldOption, FieldValue, HeaderActionMenu, HeaderAddButton, HeaderEditButton, HoverCard, IconButton, InfoTip, Input, JND, LetterBadge, Loader, LoadingRegion, Markdown, MenuCheckboxItem, MenuEntries, MenuFilter, MenuGroupLabel, MenuItem, MenuLinkItem, MenuPopup, MenuRadioItem, MenuSeparator, MenuSubmenuTrigger, Meter, MethodButton, Modal, ModalDescription, ModalTitle, NumberInput, OneTimeCodeInput, Overview, PAGE_SIZES, PageHeader, Pagination, Popover, PopoverClose, ProgressBar, Radio, RadioGroup, RefreshButton, RelativeTime, RequiredMark, RevealToggle, RunStatusIcon, SIDEBAR_TOKENS, SearchInput, Section, SegmentedControl, Select, SettingModeOption, SettingRow, SettingsCard, SettingsHeading, Skeleton, Slider, Sort, StatusBadge, StatusDot, Switch, THEME_PRESETS, THEME_TOKENS, TabPanel, Table, Tabs, Textarea, ThemeEditor, ThemePreview, ToggleGroup, Tooltip, TooltipProvider, UIProvider, apcaContrast, applyTheme, avatarInitials, buttonClasses, composite, contrastRatio, cx, deltaE, deriveTheme, fieldBox, fitSeed, formatBytes, formatCount, formatDateTime, formatDuration, formatInfoTipContent, formatTimeLeft, generateTheme, isDarkColor, isTextEntryContext, levelTone, menuDivider, modalPanelClassName, modeOf, parseColor, parseTheme, prefersWideGamut, resolveMode, runStatusTone, schemeFor, serializeTheme, statusTextClass, themeStylesheet, toHex, toP3, toast, useApplyTheme, useBreadcrumb, useClearBreadcrumbs, useClock, useClosePopover, useColorMode, useContextMenu, useCopy, useCssIsDark, useElapsed, useFieldControl, useHideBreadcrumbs, useNavigation, useOptionalWorkflowEngine, usePersistedState, useProvisionCorsRules, useRelativeTime, useRunFile, useSetBreadcrumbs, useSetDefaultBreadcrumbs, useShortcutKey, useSlots, useStrings, useWorkflowActions, useWorkflowEditing, useWorkflowEngine, useWorkflowEngineLoader };
|
|
@@ -222,7 +222,7 @@ function FacetSubmenu({ view, facet }) {
|
|
|
222
222
|
children: /* @__PURE__ */ jsx(Menu.Input, {
|
|
223
223
|
placeholder: strings.list.searchOptions,
|
|
224
224
|
"aria-label": strings.list.searchOptions,
|
|
225
|
-
className: "w-full bg-transparent text-[13px] text-(--theme-app) outline-none placeholder:text-(--theme-
|
|
225
|
+
className: "w-full bg-transparent text-[13px] text-(--theme-app) outline-none placeholder:text-(--theme-placeholder)"
|
|
226
226
|
})
|
|
227
227
|
}), /* @__PURE__ */ jsx(Menu.List, { children: rows })] }) : rows, options.length === 0 && /* @__PURE__ */ jsx("div", {
|
|
228
228
|
className: "px-3 py-1.5 text-[13px] text-(--theme-muted-text-color)",
|
package/dist/list/listSearch.js
CHANGED
|
@@ -104,7 +104,7 @@ function ListSearchControl({ search, placeholder, label: labelProp }) {
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
placeholder,
|
|
107
|
-
className: "min-w-24 flex-1 bg-transparent text-[13px] text-(--theme-app) placeholder:text-(--theme-
|
|
107
|
+
className: "min-w-24 flex-1 bg-transparent text-[13px] text-(--theme-app) placeholder:text-(--theme-placeholder) focus:outline-none"
|
|
108
108
|
}),
|
|
109
109
|
/* @__PURE__ */ jsx("button", {
|
|
110
110
|
type: "button",
|
|
@@ -3,7 +3,7 @@ export declare function parseAnsiSegments(line: string): LogSegment[];
|
|
|
3
3
|
export declare function plainSegments(text: string): LogSegment[];
|
|
4
4
|
/**
|
|
5
5
|
* Matches are located on the concatenated line text so a term straddling an
|
|
6
|
-
* ANSI
|
|
6
|
+
* ANSI color boundary still highlights, then sliced back onto the segments it
|
|
7
7
|
* covers.
|
|
8
8
|
*/
|
|
9
9
|
export declare function highlightSegments(segments: LogSegment[], searchTerm: string): LogSegment[];
|
|
@@ -24,7 +24,7 @@ function plainSegments(text) {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Matches are located on the concatenated line text so a term straddling an
|
|
27
|
-
* ANSI
|
|
27
|
+
* ANSI color boundary still highlights, then sliced back onto the segments it
|
|
28
28
|
* covers.
|
|
29
29
|
*/
|
|
30
30
|
function highlightSegments(segments, searchTerm) {
|
package/dist/styles/theme.css
CHANGED