@scion/workbench 19.0.0-beta.2 → 19.0.0-beta.3
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 +6 -4
- package/design/_workbench-dark-theme-design-tokens.scss +52 -12
- package/design/_workbench-icon-font.scss +1 -1
- package/design/_workbench-light-theme-design-tokens.scss +54 -14
- package/fesm2022/scion-workbench.mjs +7265 -5286
- package/fesm2022/scion-workbench.mjs.map +1 -1
- package/lib/activity/activity-bar/activity-bar.component.d.ts +10 -0
- package/lib/activity/activity-bar/activity-item/activity-item.component.d.ts +16 -0
- package/lib/activity/activity-bar/activity-stack/activity-stack.component.d.ts +10 -0
- package/lib/activity/activity-panel/activity-panel.component.d.ts +41 -0
- package/lib/activity/public_api.d.ts +1 -0
- package/lib/activity/workbench-activity.model.d.ts +110 -0
- package/lib/common/asserts.util.d.ts +1 -1
- package/lib/common/dasherize.util.d.ts +4 -0
- package/lib/common/disposable.d.ts +4 -0
- package/lib/common/dom.util.d.ts +19 -1
- package/lib/common/grid-if-visible.pipe.d.ts +13 -0
- package/lib/common/objects.util.d.ts +11 -3
- package/lib/common/observables.d.ts +8 -8
- package/lib/common/public_api.d.ts +1 -1
- package/lib/common/resolve-when.util.d.ts +9 -0
- package/lib/common/utility-types.d.ts +6 -0
- package/lib/content-projection/content-as-overlay.component.d.ts +1 -1
- package/lib/desktop/desktop.directive.d.ts +1 -1
- package/lib/dialog/dialog-footer/dialog-footer.component.d.ts +1 -2
- package/lib/dialog/dialog-footer/workbench-dialog-action.directive.d.ts +8 -10
- package/lib/dialog/dialog-footer/workbench-dialog-footer.directive.d.ts +8 -11
- package/lib/dialog/dialog-header/dialog-header.component.d.ts +1 -2
- package/lib/dialog/dialog-header/workbench-dialog-header.directive.d.ts +8 -11
- package/lib/dialog/movable.directive.d.ts +11 -12
- package/lib/dialog/public_api.d.ts +2 -2
- package/lib/dialog/resizable.directive.d.ts +8 -16
- package/lib/dialog/workbench-dialog.component.d.ts +9 -14
- package/lib/dialog/workbench-dialog.d.ts +6 -5
- package/lib/dialog//311/265workbench-dialog.d.ts +7 -6
- package/lib/filter-field/filter-field.component.d.ts +23 -26
- package/lib/glass-pane/glass-pane.directive.d.ts +4 -5
- package/lib/icon/icon-providers.d.ts +6 -0
- package/lib/icon/icon.component.d.ts +33 -0
- package/lib/icon/material-icon-provider.d.ts +25 -0
- package/lib/icon/public_api.d.ts +1 -0
- package/lib/icon/workbench-icon-provider.d.ts +30 -0
- package/lib/icon/workbench-icon-provider.model.d.ts +64 -0
- package/lib/layout/{workbench-layout.component.d.ts → grid/grid.component.d.ts} +38 -10
- package/lib/layout/grid-element/grid-element.component.d.ts +16 -20
- package/lib/layout/layout.component.d.ts +60 -0
- package/lib/layout/migration/model/workbench-grid-migration-v2.model.d.ts +22 -0
- package/lib/layout/migration/model/workbench-grid-migration-v3.model.d.ts +30 -0
- package/lib/layout/migration/model/workbench-grid-migration-v4.model.d.ts +31 -0
- package/lib/layout/migration/model/{workbench-layout-migration-v5.model.d.ts → workbench-grid-migration-v5.model.d.ts} +3 -3
- package/lib/layout/migration/model/{workbench-layout-migration-v6.model.d.ts → workbench-grid-migration-v6.model.d.ts} +3 -3
- package/lib/layout/migration/model/{workbench-layout-migration-v7.model.d.ts → workbench-grid-migration-v7.model.d.ts} +3 -3
- package/lib/layout/migration/model/workbench-layout-migration-v2.model.d.ts +9 -21
- package/lib/layout/migration/model/workbench-layout-migration-v3.model.d.ts +8 -28
- package/lib/layout/migration/model/workbench-layout-migration-v4.model.d.ts +18 -29
- package/lib/layout/migration/workbench-grid-migration-v3.service.d.ts +14 -0
- package/lib/layout/migration/workbench-grid-migration-v4.service.d.ts +12 -0
- package/lib/layout/migration/{workbench-layout-migration-v5.service.d.ts → workbench-grid-migration-v5.service.d.ts} +3 -3
- package/lib/layout/migration/workbench-grid-migration-v6.service.d.ts +12 -0
- package/lib/layout/migration/workbench-grid-migration-v7.service.d.ts +10 -0
- package/lib/layout/migration/{workbench-layout-migration-v6.service.d.ts → workbench-layout-migration-v2.service.d.ts} +5 -4
- package/lib/layout/migration/workbench-layout-migration-v3.service.d.ts +1 -5
- package/lib/layout/migration/workbench-layout-migration-v4.service.d.ts +1 -1
- package/lib/layout/public_api.d.ts +1 -1
- package/lib/layout/rendering-flag.d.ts +7 -0
- package/lib/layout/{workbench-layout.model.d.ts → workbench-grid.model.d.ts} +26 -3
- package/lib/{perspective/workbench-grid-merger.service.d.ts → layout/workbench-layout-merger.service.d.ts} +5 -5
- package/lib/layout/workbench-layout-storage.service.d.ts +28 -0
- package/lib/layout/workbench-layout.d.ts +289 -28
- package/lib/layout/workbench-layout.factory.d.ts +4 -6
- package/lib/layout/workbench-layout.service.d.ts +24 -13
- package/lib/layout/workbench-layouts.util.d.ts +25 -1
- package/lib/layout/workench-layout-serializer.service.d.ts +52 -14
- package/lib/layout//311/265workbench-layout.d.ts +351 -83
- package/lib/layout//311/265workbench-layout.factory.d.ts +6 -21
- package/lib/logging/console-appender.service.d.ts +0 -1
- package/lib/logging/public_api.d.ts +1 -1
- package/lib/message-box/message-box-footer/message-box-footer.component.d.ts +7 -8
- package/lib/message-box/message-box-header/message-box-header.component.d.ts +3 -3
- package/lib/message-box/public_api.d.ts +1 -1
- package/lib/message-box/workbench-message-box.component.d.ts +5 -8
- package/lib/message-box/workbench-message-box.options.d.ts +6 -5
- package/lib/message-box/workbench-message-box.service.d.ts +2 -1
- package/lib/message-box//311/265workbench-message-box.service.d.ts +4 -6
- package/lib/microfrontend-platform/common/microfrontend.util.d.ts +15 -2
- package/lib/microfrontend-platform/initialization/microfrontend-platform-initializer.service.d.ts +20 -38
- package/lib/microfrontend-platform/initialization/ng-zone-observable-decorator.d.ts +1 -3
- package/lib/microfrontend-platform/manifest-object-cache.service.d.ts +9 -10
- package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor.d.ts +2 -5
- package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog.component.d.ts +14 -34
- package/lib/microfrontend-platform/microfrontend-host-dialog/microfrontend-host-dialog.component.d.ts +13 -16
- package/lib/microfrontend-platform/microfrontend-host-message-box/microfrontend-host-message-box.component.d.ts +15 -18
- package/lib/microfrontend-platform/microfrontend-host-message-box/text-message/text-message.component.d.ts +0 -2
- package/lib/microfrontend-platform/microfrontend-host-popup/microfrontend-host-popup.component.d.ts +8 -12
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor.d.ts +2 -5
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box.component.d.ts +14 -33
- package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.d.ts +7 -0
- package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-installer.service.d.ts +3 -22
- package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor.d.ts +2 -5
- package/lib/microfrontend-platform/microfrontend-platform-initializer.provider.d.ts +85 -0
- package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup.component.d.ts +19 -33
- package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-command-handler.service.d.ts +3 -40
- package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-intent-handler.interceptor.d.ts +5 -4
- package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-routes.d.ts +2 -2
- package/lib/microfrontend-platform/microfrontend-view/microfrontend-view.component.d.ts +28 -33
- package/lib/microfrontend-platform/public_api.d.ts +2 -0
- package/lib/notification/notification-list.component.d.ts +3 -6
- package/lib/notification/notification.component.d.ts +14 -16
- package/lib/notification/notification.config.d.ts +4 -3
- package/lib/notification/notification.d.ts +2 -1
- package/lib/notification/notification.service.d.ts +6 -6
- package/lib/notification/public_api.d.ts +1 -1
- package/lib/notification/text-notification.component.d.ts +2 -3
- package/lib/notification//311/265notification.d.ts +5 -4
- package/lib/null-content/null-content.component.d.ts +11 -0
- package/lib/part/main-area-part/main-area-part.component.d.ts +7 -3
- package/lib/part/part-action-bar/part-action.directive.d.ts +1 -1
- package/lib/part/part-bar/part-bar.component.d.ts +6 -1
- package/lib/part/part.component.d.ts +3 -4
- package/lib/part/public_api.d.ts +1 -1
- package/lib/part/view-context-menu/text/text.component.d.ts +1 -1
- package/lib/part/view-context-menu/view-menu-item.directive.d.ts +1 -1
- package/lib/part/view-context-menu/view-menu.service.d.ts +7 -5
- package/lib/part/view-list/view-list.component.d.ts +14 -24
- package/lib/part/view-list-button/view-list-button.component.d.ts +6 -10
- package/lib/part/view-list-item/view-list-item.component.d.ts +7 -11
- package/lib/part/view-tab/view-tab.component.d.ts +14 -30
- package/lib/part/view-tab-bar/view-tab-bar.component.d.ts +1 -0
- package/lib/part/view-tab-content/view-tab-content.component.d.ts +1 -4
- package/lib/part/view-tab-drag-image/view-tab-drag-image.component.d.ts +20 -18
- package/lib/part/workbench-part.model.d.ts +23 -3
- package/lib/part//311/265workbench-part.model.d.ts +28 -8
- package/lib/perspective/public_api.d.ts +1 -1
- package/lib/perspective/workbench-perspective-view-conflict-resolver.service.d.ts +5 -5
- package/lib/perspective/workbench-perspective.model.d.ts +14 -138
- package/lib/perspective/workbench-perspective.service.d.ts +15 -5
- package/lib/perspective//311/265workbench-perspective.model.d.ts +9 -8
- package/lib/popup/popup.component.d.ts +14 -16
- package/lib/popup/popup.config.d.ts +10 -15
- package/lib/popup/popup.service.d.ts +12 -22
- package/lib/popup/public_api.d.ts +2 -2
- package/lib/portal/workbench-portal-outlet.directive.d.ts +9 -7
- package/lib/public_api.d.ts +6 -3
- package/lib/routing/public_api.d.ts +1 -1
- package/lib/routing/routing.model.d.ts +14 -13
- package/lib/routing/routing.util.d.ts +8 -8
- package/lib/routing/url-segment-matcher.d.ts +1 -1
- package/lib/routing/workbench-auxiliary-route-installer.service.d.ts +3 -12
- package/lib/routing/workbench-layout-differ.d.ts +2 -2
- package/lib/routing/workbench-navigational-states.d.ts +16 -8
- package/lib/routing/workbench-route-data.d.ts +4 -0
- package/lib/routing/workbench-router-link.directive.d.ts +16 -29
- package/lib/routing/workbench-router.service.d.ts +4 -3
- package/lib/routing//311/265workbench-router.service.d.ts +4 -4
- package/lib/startup/public_api.d.ts +4 -2
- package/lib/startup/workbench-initializer.d.ts +128 -87
- package/lib/startup/workbench-launcher.service.d.ts +41 -77
- package/lib/startup/workbench-startup.service.d.ts +37 -0
- package/lib/startup//311/265workbench-launcher.service.d.ts +19 -0
- package/lib/startup//311/265workbench-startup.service.d.ts +16 -0
- package/lib/text/public_api.d.ts +1 -0
- package/lib/text/text-providers.d.ts +6 -0
- package/lib/text/text.d.ts +30 -0
- package/lib/text/text.pipe.d.ts +24 -0
- package/lib/text/workbench-text-provider.d.ts +7 -0
- package/lib/text/workbench-text-provider.model.d.ts +40 -0
- package/lib/text/workbench-view-menu-config-text-provider.d.ts +8 -0
- package/lib/theme/workbench-theme-switcher.service.d.ts +14 -19
- package/lib/view/public_api.d.ts +1 -1
- package/lib/view/view.component.d.ts +1 -1
- package/lib/view/workbench-view.model.d.ts +11 -10
- package/lib/view//311/265workbench-view.model.d.ts +9 -7
- package/lib/view-dnd/grid-drop-targets.util.d.ts +1 -1
- package/lib/view-dnd/requires-drop-zone.pipe.d.ts +1 -1
- package/lib/view-dnd/view-drag.service.d.ts +24 -7
- package/lib/view-dnd/view-drop-zone.directive.d.ts +7 -10
- package/lib/workbench-config.d.ts +199 -28
- package/lib/workbench.component.d.ts +8 -1
- package/lib/workbench.constants.d.ts +4 -0
- package/lib/workbench.model.d.ts +2 -0
- package/lib/workbench.provider.d.ts +66 -15
- package/lib/workbench.service.d.ts +45 -10
- package/lib//311/265workbench.service.d.ts +9 -7
- package/package.json +3 -3
- package/lib/common/grid-element-if-visible.pipe.d.ts +0 -13
- package/lib/layout/migration/workbench-layout-migration-v7.service.d.ts +0 -10
- package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.service.d.ts +0 -17
- package/lib/perspective/migration/model/workbench-perspective-migration-v2.model.d.ts +0 -10
- package/lib/perspective/migration/model/workbench-perspective-migration-v3.model.d.ts +0 -10
- package/lib/perspective/migration/workbench-perspective-migration-v2.service.d.ts +0 -13
- package/lib/perspective/migration/workbench-perspective-migration-v3.service.d.ts +0 -12
- package/lib/perspective/workbench-perspective-storage.service.d.ts +0 -32
- package/lib/perspective/workench-perspective-serializer.service.d.ts +0 -26
- /package/lib/{perspective/migration/model/workbench-perspective-migration-v1.model.d.ts → layout/migration/model/workbench-layout-migration-v1.model.d.ts} +0 -0
- /package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-capability-validator.interceptor.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
SCION Workbench
|
|
2
2
|
===============
|
|
3
3
|
|
|
4
|
-
SCION Workbench enables the creation of Angular web applications that require a flexible layout to
|
|
4
|
+
SCION Workbench enables the creation of Angular web applications that require a flexible layout to display content side-by-side or stacked, all personalizable by the user via drag & drop. This type of layout is ideal for applications with non-linear workflows, enabling users to work on content in parallel. Examples include business applications, scientific or development tools, and command & control interfaces.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
An application can have multiple layouts, called perspectives. A perspective defines an arrangement of parts and views. Parts can be docked to the side or positioned relative to each other. Views are stacked in parts and can be dragged to other parts. Content can be displayed in both parts and views.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Users can personalize the layout of a perspective and switch between perspectives. The workbench remembers the last layout of each perspective, restoring it the next time it is activated.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
A perspective typically has a main area part and other parts docked to the side, providing navigation and context-sensitive assistance to support the user's workflow. Initially empty or displaying a welcome page, the main area is where the workbench opens new views by default. Users can split the main area (or any other part) by dragging views side-by-side, vertically and horizontally, even across windows.
|
|
11
|
+
|
|
12
|
+
Unlike any other part, the main area is shared between perspectives, and its layout is not reset when resetting perspectives. Having a main area and multiple perspectives is optional.
|
|
11
13
|
|
|
12
14
|
The sources for this package are in [SCION Workbench](https://github.com/SchweizerischeBundesbahnen/scion-workbench) repo. Please file issues and pull requests against that repo.
|
|
13
15
|
|
|
@@ -2,18 +2,27 @@
|
|
|
2
2
|
* Design tokens specific to the SCION Workbench.
|
|
3
3
|
*/
|
|
4
4
|
$tokens: (
|
|
5
|
+
--sci-workbench-layout-panel-left-width: 300,
|
|
6
|
+
--sci-workbench-layout-panel-right-width: 300,
|
|
7
|
+
--sci-workbench-layout-panel-bottom-height: 250,
|
|
8
|
+
--sci-workbench-layout-panel-align: justify,
|
|
9
|
+
--sci-workbench-layout-panel-animate: true,
|
|
5
10
|
--sci-workbench-view-background-color: var(--sci-workbench-part-background-color),
|
|
6
11
|
--sci-workbench-view-peripheral-background-color: var(--sci-workbench-part-peripheral-background-color),
|
|
7
12
|
--sci-workbench-part-background-color: var(--sci-color-background-primary),
|
|
8
13
|
--sci-workbench-part-peripheral-background-color: var(--sci-color-gray-75),
|
|
14
|
+
--sci-workbench-part-title-font-family: inherit,
|
|
15
|
+
--sci-workbench-part-title-font-weight: 500,
|
|
16
|
+
--sci-workbench-part-title-font-size: 1rem,
|
|
9
17
|
--sci-workbench-part-bar-padding-top: .25rem,
|
|
10
|
-
--sci-workbench-part-bar-padding-inline: .
|
|
18
|
+
--sci-workbench-part-bar-padding-inline: .5rem,
|
|
11
19
|
--sci-workbench-part-bar-background-color: var(--sci-color-background-secondary),
|
|
12
20
|
--sci-workbench-part-bar-divider-color: var(--sci-color-border),
|
|
13
|
-
--sci-workbench-part-bar-actions-padding-inline:
|
|
21
|
+
--sci-workbench-part-bar-actions-padding-inline: 0,
|
|
14
22
|
--sci-workbench-part-bar-actions-gap: .5em,
|
|
23
|
+
--sci-workbench-part-bar-border-bottom-width: 1px,
|
|
15
24
|
--sci-workbench-part-divider-color: var(--sci-color-border),
|
|
16
|
-
--sci-workbench-part-divider-color-hover: var(--sci-workbench-
|
|
25
|
+
--sci-workbench-part-divider-color-hover: var(--sci-workbench-part-divider-color),
|
|
17
26
|
--sci-workbench-part-divider-size: 1px,
|
|
18
27
|
--sci-workbench-part-divider-size-hover: 9px,
|
|
19
28
|
--sci-workbench-part-divider-touch-target-size: 5px,
|
|
@@ -21,24 +30,49 @@ $tokens: (
|
|
|
21
30
|
--sci-workbench-part-divider-opacity-hover: .125,
|
|
22
31
|
--sci-workbench-part-dropzone-background-color: color-mix(in srgb, var(--sci-color-gray-900) 10%, transparent),
|
|
23
32
|
--sci-workbench-part-dropzone-border-style: none,
|
|
24
|
-
--sci-workbench-part-dropzone-border-color:
|
|
25
|
-
--sci-workbench-part-dropzone-border-radius:
|
|
33
|
+
--sci-workbench-part-dropzone-border-color: unset,
|
|
34
|
+
--sci-workbench-part-dropzone-border-radius: unset,
|
|
26
35
|
--sci-workbench-part-peripheral-bar-background-color: var(--sci-color-gray-100),
|
|
27
|
-
--sci-workbench-part-active-tab-
|
|
36
|
+
--sci-workbench-part-active-tab-text-color-active: var(--sci-color-accent),
|
|
28
37
|
--sci-workbench-part-hidden-tab-count-size: x-small,
|
|
29
|
-
--sci-workbench-tab-
|
|
30
|
-
--sci-workbench-tab-
|
|
38
|
+
--sci-workbench-tab-cursor: var(--sci-workbench-button-cursor),
|
|
39
|
+
--sci-workbench-tab-height: 2.25rem,
|
|
40
|
+
--sci-workbench-tab-min-width: 2.5rem,
|
|
31
41
|
--sci-workbench-tab-max-width: 15rem,
|
|
32
42
|
--sci-workbench-tab-text-color: var(--sci-color-text),
|
|
43
|
+
--sci-workbench-tab-text-color-active: var(--sci-color-text),
|
|
33
44
|
--sci-workbench-tab-border-color: var(--sci-color-border),
|
|
34
45
|
--sci-workbench-tab-border-radius: var(--sci-corner-small),
|
|
35
|
-
--sci-workbench-tab-
|
|
36
|
-
--sci-workbench-tab-
|
|
46
|
+
--sci-workbench-tab-border-width: 1px,
|
|
47
|
+
--sci-workbench-tab-border-top-width: var(--sci-workbench-tab-border-width),
|
|
48
|
+
--sci-workbench-tab-padding-inline: .75em,
|
|
49
|
+
--sci-workbench-tab-padding-inline-hover: .5em,
|
|
50
|
+
--sci-workbench-tab-padding-block-hover: .2em,
|
|
51
|
+
--sci-workbench-tab-background-color-hover: var(--sci-workbench-button-background-color-hover), // use `unset` to remove hover effect
|
|
52
|
+
--sci-workbench-tab-font-family: inherit,
|
|
53
|
+
--sci-workbench-tab-font-weight: 400,
|
|
54
|
+
--sci-workbench-tab-font-size: 1rem,
|
|
55
|
+
--sci-workbench-tab-heading-font-family: inherit,
|
|
56
|
+
--sci-workbench-tab-heading-font-weight: 300,
|
|
57
|
+
--sci-workbench-tab-heading-font-size: .9em,
|
|
37
58
|
--sci-workbench-tab-drag-border-color: var(--sci-color-accent),
|
|
38
|
-
--sci-workbench-tab-drag-text-color: var(--sci-workbench-part-active-tab-
|
|
59
|
+
--sci-workbench-tab-drag-text-color: var(--sci-workbench-part-active-tab-text-color-active),
|
|
39
60
|
--sci-workbench-tab-drag-border-color-disabled: var(--sci-color-gray-600),
|
|
40
61
|
--sci-workbench-tab-drag-text-color-disabled: var(--sci-color-gray-600),
|
|
41
|
-
--sci-workbench-
|
|
62
|
+
--sci-workbench-activity-bar-background-color: var(--sci-workbench-part-peripheral-background-color),
|
|
63
|
+
--sci-workbench-activity-bar-padding: .35em,
|
|
64
|
+
--sci-workbench-activity-item-cursor: default,
|
|
65
|
+
--sci-workbench-activity-item-background-color: transparent,
|
|
66
|
+
--sci-workbench-activity-item-background-color-hover: var(--sci-workbench-button-background-color-hover),
|
|
67
|
+
--sci-workbench-activity-item-background-color-active: color-mix(in srgb, var(--sci-workbench-button-background-color-active) 75%, var(--sci-static-color-black)),
|
|
68
|
+
--sci-workbench-activity-item-text-color: var(--sci-color-text),
|
|
69
|
+
--sci-workbench-activity-item-text-color-hover: var(--sci-workbench-activity-item-text-color),
|
|
70
|
+
--sci-workbench-activity-item-text-color-active: var(--sci-workbench-activity-item-text-color),
|
|
71
|
+
--sci-workbench-activity-item-border-color: transparent,
|
|
72
|
+
--sci-workbench-activity-item-border-radius: var(--sci-corner),
|
|
73
|
+
--sci-workbench-activity-item-border-width: 1px,
|
|
74
|
+
--sci-workbench-activity-item-padding: 3px,
|
|
75
|
+
--sci-workbench-activity-item-gap: .5em,
|
|
42
76
|
--sci-workbench-notification-width: 350px,
|
|
43
77
|
--sci-workbench-notification-severity-indicator-size: 6px,
|
|
44
78
|
--sci-workbench-messagebox-max-width: 400px,
|
|
@@ -49,6 +83,8 @@ $tokens: (
|
|
|
49
83
|
--sci-workbench-messagebox-title-font-weight: bold,
|
|
50
84
|
--sci-workbench-messagebox-title-font-size: 1em,
|
|
51
85
|
--sci-workbench-messagebox-text-align: start,
|
|
86
|
+
--sci-workbench-messagebox-action-background-color-hover: var(--sci-workbench-button-background-color-hover),
|
|
87
|
+
--sci-workbench-messagebox-action-cursor: var(--sci-workbench-button-cursor),
|
|
52
88
|
--sci-workbench-dialog-padding: .75em,
|
|
53
89
|
--sci-workbench-dialog-header-height: 2.75rem,
|
|
54
90
|
--sci-workbench-dialog-header-background-color: var(--sci-color-background-elevation),
|
|
@@ -56,6 +92,10 @@ $tokens: (
|
|
|
56
92
|
--sci-workbench-dialog-title-font-weight: normal,
|
|
57
93
|
--sci-workbench-dialog-title-font-size: 1.1rem,
|
|
58
94
|
--sci-workbench-dialog-title-align: center,
|
|
95
|
+
--sci-workbench-button-cursor: default,
|
|
96
|
+
--sci-workbench-button-background-color-hover: var(--sci-color-gray-200),
|
|
97
|
+
--sci-workbench-button-background-color-active: var(--sci-color-gray-300),
|
|
98
|
+
--sci-workbench-button-outline-width-focus: 2px,
|
|
59
99
|
--sci-workbench-contextmenu-width: 18rem,
|
|
60
100
|
--sci-throbber-color: var(--sci-color-accent),
|
|
61
101
|
);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* This version is appended to the HTTP request as query parameter when fetching the icon font to support cache busting.
|
|
10
10
|
* Update this version when adding, removing or changing icons.
|
|
11
11
|
*/
|
|
12
|
-
$-version:
|
|
12
|
+
$-version: 3;
|
|
13
13
|
|
|
14
14
|
$-default-icon-font-config: (
|
|
15
15
|
// The font path must be root relative or excluded from the application build. Otherwise, the application build will fail
|
|
@@ -2,18 +2,27 @@
|
|
|
2
2
|
* Design tokens specific to the SCION Workbench.
|
|
3
3
|
*/
|
|
4
4
|
$tokens: (
|
|
5
|
+
--sci-workbench-layout-panel-left-width: 300,
|
|
6
|
+
--sci-workbench-layout-panel-right-width: 300,
|
|
7
|
+
--sci-workbench-layout-panel-bottom-height: 250,
|
|
8
|
+
--sci-workbench-layout-panel-align: justify,
|
|
9
|
+
--sci-workbench-layout-panel-animate: true,
|
|
5
10
|
--sci-workbench-view-background-color: var(--sci-workbench-part-background-color),
|
|
6
11
|
--sci-workbench-view-peripheral-background-color: var(--sci-workbench-part-peripheral-background-color),
|
|
7
12
|
--sci-workbench-part-background-color: var(--sci-color-background-primary),
|
|
8
|
-
--sci-workbench-part-peripheral-background-color: var(--sci-
|
|
13
|
+
--sci-workbench-part-peripheral-background-color: color-mix(in srgb, var(--sci-color-gray-100) 60%, var(--sci-static-color-white)),
|
|
14
|
+
--sci-workbench-part-title-font-family: inherit,
|
|
15
|
+
--sci-workbench-part-title-font-weight: 500,
|
|
16
|
+
--sci-workbench-part-title-font-size: 1rem,
|
|
9
17
|
--sci-workbench-part-bar-padding-top: .25rem,
|
|
10
|
-
--sci-workbench-part-bar-padding-inline: .
|
|
18
|
+
--sci-workbench-part-bar-padding-inline: .5rem,
|
|
11
19
|
--sci-workbench-part-bar-background-color: var(--sci-color-background-secondary),
|
|
12
20
|
--sci-workbench-part-bar-divider-color: var(--sci-color-border),
|
|
13
|
-
--sci-workbench-part-bar-actions-padding-inline:
|
|
21
|
+
--sci-workbench-part-bar-actions-padding-inline: 0,
|
|
14
22
|
--sci-workbench-part-bar-actions-gap: .5em,
|
|
23
|
+
--sci-workbench-part-bar-border-bottom-width: 1px,
|
|
15
24
|
--sci-workbench-part-divider-color: var(--sci-color-border),
|
|
16
|
-
--sci-workbench-part-divider-color-hover: var(--sci-workbench-
|
|
25
|
+
--sci-workbench-part-divider-color-hover: var(--sci-workbench-part-divider-color),
|
|
17
26
|
--sci-workbench-part-divider-size: 1px,
|
|
18
27
|
--sci-workbench-part-divider-size-hover: 9px,
|
|
19
28
|
--sci-workbench-part-divider-touch-target-size: 5px,
|
|
@@ -21,24 +30,49 @@ $tokens: (
|
|
|
21
30
|
--sci-workbench-part-divider-opacity-hover: .125,
|
|
22
31
|
--sci-workbench-part-dropzone-background-color: color-mix(in srgb, var(--sci-color-gray-900) 10%, transparent),
|
|
23
32
|
--sci-workbench-part-dropzone-border-style: none,
|
|
24
|
-
--sci-workbench-part-dropzone-border-color:
|
|
25
|
-
--sci-workbench-part-dropzone-border-radius:
|
|
26
|
-
--sci-workbench-part-peripheral-bar-background-color:
|
|
27
|
-
--sci-workbench-part-active-tab-
|
|
33
|
+
--sci-workbench-part-dropzone-border-color: unset,
|
|
34
|
+
--sci-workbench-part-dropzone-border-radius: unset,
|
|
35
|
+
--sci-workbench-part-peripheral-bar-background-color: var(--sci-color-background-secondary),
|
|
36
|
+
--sci-workbench-part-active-tab-text-color-active: var(--sci-color-accent),
|
|
28
37
|
--sci-workbench-part-hidden-tab-count-size: x-small,
|
|
29
|
-
--sci-workbench-tab-
|
|
30
|
-
--sci-workbench-tab-
|
|
38
|
+
--sci-workbench-tab-cursor: var(--sci-workbench-button-cursor),
|
|
39
|
+
--sci-workbench-tab-height: 2.25rem,
|
|
40
|
+
--sci-workbench-tab-min-width: 2.5rem,
|
|
31
41
|
--sci-workbench-tab-max-width: 15rem,
|
|
32
42
|
--sci-workbench-tab-text-color: var(--sci-color-text),
|
|
43
|
+
--sci-workbench-tab-text-color-active: var(--sci-color-text),
|
|
33
44
|
--sci-workbench-tab-border-color: var(--sci-color-border),
|
|
34
45
|
--sci-workbench-tab-border-radius: var(--sci-corner-small),
|
|
35
|
-
--sci-workbench-tab-
|
|
36
|
-
--sci-workbench-tab-
|
|
46
|
+
--sci-workbench-tab-border-width: 1px,
|
|
47
|
+
--sci-workbench-tab-border-top-width: var(--sci-workbench-tab-border-width),
|
|
48
|
+
--sci-workbench-tab-padding-inline: .75em,
|
|
49
|
+
--sci-workbench-tab-padding-inline-hover: .5em,
|
|
50
|
+
--sci-workbench-tab-padding-block-hover: .2em,
|
|
51
|
+
--sci-workbench-tab-background-color-hover: var(--sci-workbench-button-background-color-hover), // use `unset` to remove hover effect
|
|
52
|
+
--sci-workbench-tab-font-family: inherit,
|
|
53
|
+
--sci-workbench-tab-font-weight: 400,
|
|
54
|
+
--sci-workbench-tab-font-size: 1rem,
|
|
55
|
+
--sci-workbench-tab-heading-font-family: inherit,
|
|
56
|
+
--sci-workbench-tab-heading-font-weight: 300,
|
|
57
|
+
--sci-workbench-tab-heading-font-size: .9em,
|
|
37
58
|
--sci-workbench-tab-drag-border-color: var(--sci-color-accent),
|
|
38
|
-
--sci-workbench-tab-drag-text-color: var(--sci-workbench-part-active-tab-
|
|
59
|
+
--sci-workbench-tab-drag-text-color: var(--sci-workbench-part-active-tab-text-color-active),
|
|
39
60
|
--sci-workbench-tab-drag-border-color-disabled: var(--sci-color-gray-600),
|
|
40
61
|
--sci-workbench-tab-drag-text-color-disabled: var(--sci-color-gray-600),
|
|
41
|
-
--sci-workbench-
|
|
62
|
+
--sci-workbench-activity-bar-background-color: var(--sci-workbench-part-peripheral-background-color),
|
|
63
|
+
--sci-workbench-activity-bar-padding: .35em,
|
|
64
|
+
--sci-workbench-activity-item-cursor: default,
|
|
65
|
+
--sci-workbench-activity-item-background-color: transparent,
|
|
66
|
+
--sci-workbench-activity-item-background-color-hover: var(--sci-workbench-button-background-color-hover),
|
|
67
|
+
--sci-workbench-activity-item-background-color-active: color-mix(in srgb, var(--sci-workbench-button-background-color-active) 75%, var(--sci-static-color-white)),
|
|
68
|
+
--sci-workbench-activity-item-text-color: var(--sci-color-text),
|
|
69
|
+
--sci-workbench-activity-item-text-color-hover: var(--sci-workbench-activity-item-text-color),
|
|
70
|
+
--sci-workbench-activity-item-text-color-active: var(--sci-workbench-activity-item-text-color),
|
|
71
|
+
--sci-workbench-activity-item-border-color: transparent,
|
|
72
|
+
--sci-workbench-activity-item-border-radius: var(--sci-corner),
|
|
73
|
+
--sci-workbench-activity-item-border-width: 1px,
|
|
74
|
+
--sci-workbench-activity-item-padding: 3px,
|
|
75
|
+
--sci-workbench-activity-item-gap: .5em,
|
|
42
76
|
--sci-workbench-notification-width: 350px,
|
|
43
77
|
--sci-workbench-notification-severity-indicator-size: 6px,
|
|
44
78
|
--sci-workbench-messagebox-max-width: 400px,
|
|
@@ -49,6 +83,8 @@ $tokens: (
|
|
|
49
83
|
--sci-workbench-messagebox-title-font-weight: bold,
|
|
50
84
|
--sci-workbench-messagebox-title-font-size: 1em,
|
|
51
85
|
--sci-workbench-messagebox-text-align: start,
|
|
86
|
+
--sci-workbench-messagebox-action-background-color-hover: var(--sci-workbench-button-background-color-hover),
|
|
87
|
+
--sci-workbench-messagebox-action-cursor: var(--sci-workbench-button-cursor),
|
|
52
88
|
--sci-workbench-dialog-padding: .75em,
|
|
53
89
|
--sci-workbench-dialog-header-height: 2.75rem,
|
|
54
90
|
--sci-workbench-dialog-header-background-color: var(--sci-color-background-elevation),
|
|
@@ -56,5 +92,9 @@ $tokens: (
|
|
|
56
92
|
--sci-workbench-dialog-title-font-weight: normal,
|
|
57
93
|
--sci-workbench-dialog-title-font-size: 1.1rem,
|
|
58
94
|
--sci-workbench-dialog-title-align: center,
|
|
95
|
+
--sci-workbench-button-cursor: default,
|
|
96
|
+
--sci-workbench-button-background-color-hover: color-mix(in srgb, var(--sci-color-gray-200) 95%, var(--sci-static-color-white)),
|
|
97
|
+
--sci-workbench-button-background-color-active: var(--sci-color-gray-300),
|
|
98
|
+
--sci-workbench-button-outline-width-focus: 2px,
|
|
59
99
|
--sci-workbench-contextmenu-width: 18rem,
|
|
60
100
|
);
|