@parallelworks/ui 0.56.0 → 0.58.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 +36 -13
- package/dist/access/PrincipalPicker.js +2 -1
- package/dist/ai/ai.css +38 -0
- package/dist/components/Avatar.d.ts +5 -1
- package/dist/components/Avatar.js +4 -2
- package/dist/components/Markdown.d.ts +3 -0
- package/dist/components/Markdown.js +2 -1
- package/dist/components/MarkdownImpl.d.ts +1 -1
- package/dist/components/MarkdownImpl.js +5 -3
- package/dist/components/Provider.d.ts +10 -0
- package/dist/components/Provider.js +9 -0
- package/dist/components/Table.d.ts +7 -5
- package/dist/components/Table.js +6 -2
- package/dist/components/ThemeEditor.js +1 -1
- package/dist/components/category.d.ts +9 -0
- package/dist/components/category.js +30 -0
- package/dist/components/fieldBox.js +3 -3
- package/dist/components/httpsImages.d.ts +12 -0
- package/dist/components/httpsImages.js +27 -0
- package/dist/components/stickyTop.d.ts +10 -0
- package/dist/components/stickyTop.js +88 -0
- package/dist/file-explorer/FileExplorer.js +21 -15
- package/dist/graph/DependencyGraph.d.ts +14 -1
- package/dist/graph/DependencyGraph.js +169 -77
- package/dist/graph/JobSummary.js +13 -3
- package/dist/graph/StepSummary.d.ts +4 -0
- package/dist/graph/StepSummary.js +31 -0
- package/dist/graph/index.d.ts +1 -0
- package/dist/graph/index.js +2 -1
- package/dist/graph/types.d.ts +3 -0
- package/dist/graph/util.d.ts +1 -1
- package/dist/icons.d.ts +3 -0
- package/dist/icons.js +23 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/logviewer/LogViewer.js +3 -3
- package/dist/styles/theme.css +17 -0
- package/dist/styles.css +1 -1
- package/dist/theme/derive.d.ts +2 -1
- package/dist/theme/derive.js +52 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import { EmptyState } from "./components/EmptyState.js";
|
|
|
10
10
|
import { useCopy } from "./components/useCopy.js";
|
|
11
11
|
import { MenuEntries, MenuFilter, menuDivider } from "./components/MenuEntries.js";
|
|
12
12
|
import { ActionMenu } from "./components/ActionMenu.js";
|
|
13
|
+
import { categoryClasses, categoryOf } from "./components/category.js";
|
|
13
14
|
import { Avatar, avatarInitials } from "./components/Avatar.js";
|
|
14
15
|
import { Button, MethodButton } from "./components/Button.js";
|
|
15
16
|
import { isTextEntryContext, useShortcutKey } from "./components/shortcutKey.js";
|
|
@@ -72,4 +73,4 @@ import { ThemeEditor, ThemePreview } from "./components/ThemeEditor.js";
|
|
|
72
73
|
import { ToggleGroup } from "./components/ToggleGroup.js";
|
|
73
74
|
import { useCssIsDark } from "./components/useCssIsDark.js";
|
|
74
75
|
import { useApplyTheme, useColorMode } from "./components/useTheme.js";
|
|
75
|
-
export { ActionMenu, AppLink, Autocomplete, Avatar, Button, CODE_STYLES, Callout, Card, CardHeader, Checkbox, CheckboxGroup, ColorInput, Combobox, ConfirmModal, CopyButton, CopyCodeBlock, CreateModal, CreateModalSelect, CreateModalSwitch, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, DatePicker, DescriptionList, DescriptionListGroup, DescriptionListItem, Disclosure, DisclosurePanel, Drawer, Elapsed, EmptyState, ErrorText, ExternalLink, Field, FieldOption, FieldValue, 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, PageHeaderAction, PageHeaderAddButton, PageHeaderBar, PageHeaderMenu, PageHeaderProvider, Pagination, Popover, PopoverClose, ProgressBar, Radio, RadioGroup, RefreshButton, RelativeTime, RequiredMark, RevealToggle, RunStatusIcon, SIDEBAR_TOKENS, SearchInput, Section, SegmentedControl, Select, SettingModeOption, SettingRow, SettingsCard, SettingsHeading, Skeleton, Slider, 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, isPlainClick, isTextEntryContext, levelTone, menuDivider, modalPanelClassName, modeOf, parseColor, parseTheme, prefersWideGamut, resolveMode, runStatusTone, schemeFor, serializeTheme, statusTextClass, themeStylesheet, toHex, toP3, toast, useApplyTheme, useClock, useClosePopover, useColorMode, useContextMenu, useCopy, useCssIsDark, useElapsed, useFieldControl, useFieldLabelledControl, useNavigation, useOptionalWorkflowEngine, usePersistedState, useProvisionCorsRules, useRelativeTime, useRunFile, useShortcutKey, useSlots, useStrings, useWorkflowActions, useWorkflowEditing, useWorkflowEngine, useWorkflowEngineLoader };
|
|
76
|
+
export { ActionMenu, AppLink, Autocomplete, Avatar, Button, CODE_STYLES, Callout, Card, CardHeader, Checkbox, CheckboxGroup, ColorInput, Combobox, ConfirmModal, CopyButton, CopyCodeBlock, CreateModal, CreateModalSelect, CreateModalSwitch, DEFAULT_CONTRAST, DEFAULT_PRESET, DEFAULT_THEME, DatePicker, DescriptionList, DescriptionListGroup, DescriptionListItem, Disclosure, DisclosurePanel, Drawer, Elapsed, EmptyState, ErrorText, ExternalLink, Field, FieldOption, FieldValue, 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, PageHeaderAction, PageHeaderAddButton, PageHeaderBar, PageHeaderMenu, PageHeaderProvider, Pagination, Popover, PopoverClose, ProgressBar, Radio, RadioGroup, RefreshButton, RelativeTime, RequiredMark, RevealToggle, RunStatusIcon, SIDEBAR_TOKENS, SearchInput, Section, SegmentedControl, Select, SettingModeOption, SettingRow, SettingsCard, SettingsHeading, Skeleton, Slider, StatusBadge, StatusDot, Switch, THEME_PRESETS, THEME_TOKENS, TabPanel, Table, Tabs, Textarea, ThemeEditor, ThemePreview, ToggleGroup, Tooltip, TooltipProvider, UIProvider, apcaContrast, applyTheme, avatarInitials, buttonClasses, categoryClasses, categoryOf, composite, contrastRatio, cx, deltaE, deriveTheme, fieldBox, fitSeed, formatBytes, formatCount, formatDateTime, formatDuration, formatInfoTipContent, formatTimeLeft, generateTheme, isDarkColor, isPlainClick, isTextEntryContext, levelTone, menuDivider, modalPanelClassName, modeOf, parseColor, parseTheme, prefersWideGamut, resolveMode, runStatusTone, schemeFor, serializeTheme, statusTextClass, themeStylesheet, toHex, toP3, toast, useApplyTheme, useClock, useClosePopover, useColorMode, useContextMenu, useCopy, useCssIsDark, useElapsed, useFieldControl, useFieldLabelledControl, useNavigation, useOptionalWorkflowEngine, usePersistedState, useProvisionCorsRules, useRelativeTime, useRunFile, useShortcutKey, useSlots, useStrings, useWorkflowActions, useWorkflowEditing, useWorkflowEngine, useWorkflowEngineLoader };
|
|
@@ -414,10 +414,10 @@ function LogViewer({ log, height = "unset", width, downloadName = "log.txt", rou
|
|
|
414
414
|
/* @__PURE__ */ jsxs("div", {
|
|
415
415
|
className: cx("flex select-none items-center gap-x-2 p-2", inline ? "bg-[var(--theme-panel-bg)] border-b border-[var(--theme-border)]" : "theme-panel"),
|
|
416
416
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
417
|
-
className:
|
|
417
|
+
className: "flex w-full min-w-0 flex-wrap items-center gap-2",
|
|
418
418
|
children: [
|
|
419
419
|
/* @__PURE__ */ jsxs("div", {
|
|
420
|
-
className: "flex
|
|
420
|
+
className: "flex flex-auto flex-wrap gap-2",
|
|
421
421
|
children: [
|
|
422
422
|
!inline && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Button, {
|
|
423
423
|
variant: "secondary",
|
|
@@ -565,7 +565,7 @@ function LogViewer({ log, height = "unset", width, downloadName = "log.txt", rou
|
|
|
565
565
|
label: t.filterLogs,
|
|
566
566
|
value: filter,
|
|
567
567
|
onValueChange: handleFilterChange,
|
|
568
|
-
className: "w-48"
|
|
568
|
+
className: "min-w-40 flex-1 sm:w-48 sm:flex-none"
|
|
569
569
|
}),
|
|
570
570
|
/* @__PURE__ */ jsx(Button, {
|
|
571
571
|
variant: "secondary",
|
package/dist/styles/theme.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
--theme-placeholder: light-dark(#7e8796, #9da5ad);
|
|
24
24
|
--theme-link: light-dark(#06354f, #9dd7ff);
|
|
25
25
|
--theme-border: light-dark(#cacdd0, #30363d);
|
|
26
|
+
--theme-border-field: light-dark(#bdc0c3, #3a4148);
|
|
26
27
|
--theme-border-strong: light-dark(#848689, #676e76);
|
|
27
28
|
--theme-accent: light-dark(#06354f, #5b9ccf);
|
|
28
29
|
--theme-accent-text: light-dark(#ffffff, #000000);
|
|
@@ -77,6 +78,22 @@
|
|
|
77
78
|
--theme-ansi-magenta: light-dark(#8d3a88, #ffaafe);
|
|
78
79
|
--theme-ansi-cyan: light-dark(#00666c, #00dbe5);
|
|
79
80
|
--theme-ansi-white: light-dark(#555d6c, #e1e9f2);
|
|
81
|
+
--theme-category-1: light-dark(#ffcfce, #593030);
|
|
82
|
+
--theme-category-1-text: light-dark(#6e3537, #fed2d0);
|
|
83
|
+
--theme-category-2: light-dark(#f7d6b8, #533618);
|
|
84
|
+
--theme-category-2-text: light-dark(#673f12, #f6d8bc);
|
|
85
|
+
--theme-category-3: light-dark(#dfe1b7, #3f4017);
|
|
86
|
+
--theme-category-3-text: light-dark(#4e4e11, #dfe2bc);
|
|
87
|
+
--theme-category-4: light-dark(#c1e8cd, #20462f);
|
|
88
|
+
--theme-category-4-text: light-dark(#1f5636, #c5e8d0);
|
|
89
|
+
--theme-category-5: light-dark(#b3e9eb, #034649);
|
|
90
|
+
--theme-category-5-text: light-dark(#00555a, #b8e9eb);
|
|
91
|
+
--theme-category-6: light-dark(#c0e2ff, #1f405b);
|
|
92
|
+
--theme-category-6-text: light-dark(#1f4e73, #c3e2fe);
|
|
93
|
+
--theme-category-7: light-dark(#dcd8ff, #3d375a);
|
|
94
|
+
--theme-category-7-text: light-dark(#4a4273, #ddd9fe);
|
|
95
|
+
--theme-category-8: light-dark(#f5d0ec, #50314a);
|
|
96
|
+
--theme-category-8-text: light-dark(#63385a, #f4d2eb);
|
|
80
97
|
}
|
|
81
98
|
|
|
82
99
|
@media (color-gamut: p3) {
|