@scion/workbench 19.0.0-beta.2 → 20.0.0-beta.1
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/_index.scss +2 -2
- 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 +8478 -6545
- package/fesm2022/scion-workbench.mjs.map +1 -1
- package/index.d.ts +5465 -3
- package/package.json +23 -19
- package/lib/activation-instant.provider.d.ts +0 -12
- package/lib/common/asserts.util.d.ts +0 -13
- package/lib/common/class-list.d.ts +0 -64
- package/lib/common/coerce-observable.pipe.d.ts +0 -12
- package/lib/common/css-class.util.d.ts +0 -5
- package/lib/common/disposable.d.ts +0 -9
- package/lib/common/dom.util.d.ts +0 -66
- package/lib/common/grid-element-if-visible.pipe.d.ts +0 -13
- package/lib/common/instanceof.pipe.d.ts +0 -10
- package/lib/common/math.util.d.ts +0 -7
- package/lib/common/null-if-empty.pipe.d.ts +0 -10
- package/lib/common/objects.util.d.ts +0 -21
- package/lib/common/observables.d.ts +0 -26
- package/lib/common/operators.d.ts +0 -13
- package/lib/common/public_api.d.ts +0 -1
- package/lib/common/stringify-error.util.d.ts +0 -4
- package/lib/common/throw-error.util.d.ts +0 -4
- package/lib/common/typeof.pipe.d.ts +0 -10
- package/lib/common/uid.util.d.ts +0 -9
- package/lib/common//311/265destroy-ref.d.ts +0 -11
- package/lib/communication/workbench-broadcast-channel.d.ts +0 -26
- package/lib/content-projection/content-as-overlay.component.d.ts +0 -60
- package/lib/desktop/desktop.directive.d.ts +0 -37
- package/lib/desktop/public_api.d.ts +0 -1
- package/lib/dialog/dialog-footer/dialog-action-filter.pipe.d.ts +0 -11
- package/lib/dialog/dialog-footer/dialog-footer.component.d.ts +0 -11
- package/lib/dialog/dialog-footer/workbench-dialog-action.directive.d.ts +0 -29
- package/lib/dialog/dialog-footer/workbench-dialog-footer.directive.d.ts +0 -29
- package/lib/dialog/dialog-header/dialog-header.component.d.ts +0 -13
- package/lib/dialog/dialog-header/workbench-dialog-header.directive.d.ts +0 -29
- package/lib/dialog/movable.directive.d.ts +0 -50
- package/lib/dialog/public_api.d.ts +0 -6
- package/lib/dialog/resizable.directive.d.ts +0 -83
- package/lib/dialog/workbench-dialog.component.d.ts +0 -60
- package/lib/dialog/workbench-dialog.d.ts +0 -117
- package/lib/dialog/workbench-dialog.options.d.ts +0 -64
- package/lib/dialog/workbench-dialog.registry.d.ts +0 -43
- package/lib/dialog/workbench-dialog.service.d.ts +0 -96
- package/lib/dialog//311/265workbench-dialog.d.ts +0 -127
- package/lib/dialog//311/265workbench-dialog.service.d.ts +0 -29
- package/lib/executor/latest-task-executor.d.ts +0 -26
- package/lib/executor/single-task-executor.d.ts +0 -23
- package/lib/filter-field/filter-field.component.d.ts +0 -60
- package/lib/glass-pane/blockable.d.ts +0 -11
- package/lib/glass-pane/blocking.d.ts +0 -17
- package/lib/glass-pane/glass-pane.directive.d.ts +0 -52
- package/lib/layout/grid-element/grid-element.component.d.ts +0 -41
- package/lib/layout/migration/model/workbench-layout-migration-v2.model.d.ts +0 -22
- package/lib/layout/migration/model/workbench-layout-migration-v3.model.d.ts +0 -30
- package/lib/layout/migration/model/workbench-layout-migration-v4.model.d.ts +0 -31
- package/lib/layout/migration/model/workbench-layout-migration-v5.model.d.ts +0 -36
- package/lib/layout/migration/model/workbench-layout-migration-v6.model.d.ts +0 -35
- package/lib/layout/migration/model/workbench-layout-migration-v7.model.d.ts +0 -37
- package/lib/layout/migration/workbench-layout-migration-v3.service.d.ts +0 -16
- package/lib/layout/migration/workbench-layout-migration-v4.service.d.ts +0 -12
- package/lib/layout/migration/workbench-layout-migration-v5.service.d.ts +0 -12
- package/lib/layout/migration/workbench-layout-migration-v6.service.d.ts +0 -12
- package/lib/layout/migration/workbench-layout-migration-v7.service.d.ts +0 -10
- package/lib/layout/public_api.d.ts +0 -3
- package/lib/layout/stringifier.d.ts +0 -33
- package/lib/layout/workbench-layout.component.d.ts +0 -37
- package/lib/layout/workbench-layout.d.ts +0 -257
- package/lib/layout/workbench-layout.factory.d.ts +0 -20
- package/lib/layout/workbench-layout.model.d.ts +0 -93
- package/lib/layout/workbench-layout.service.d.ts +0 -46
- package/lib/layout/workbench-layouts.util.d.ts +0 -27
- package/lib/layout/workench-layout-serializer.service.d.ts +0 -72
- package/lib/layout//311/265workbench-layout.d.ts +0 -477
- package/lib/layout//311/265workbench-layout.factory.d.ts +0 -37
- package/lib/logging/console-appender.service.d.ts +0 -11
- package/lib/logging/index.d.ts +0 -5
- package/lib/logging/logger-names.d.ts +0 -22
- package/lib/logging/logger.d.ts +0 -69
- package/lib/logging/logging-support.d.ts +0 -6
- package/lib/logging/logging.model.d.ts +0 -52
- package/lib/logging/public_api.d.ts +0 -2
- package/lib/logging//311/265logger.d.ts +0 -21
- package/lib/message-box/message-box-footer/message-box-footer.component.d.ts +0 -18
- package/lib/message-box/message-box-header/message-box-header.component.d.ts +0 -7
- package/lib/message-box/public_api.d.ts +0 -2
- package/lib/message-box/workbench-message-box.component.d.ts +0 -28
- package/lib/message-box/workbench-message-box.options.d.ts +0 -95
- package/lib/message-box/workbench-message-box.service.d.ts +0 -99
- package/lib/message-box//311/265workbench-message-box.service.d.ts +0 -18
- package/lib/microfrontend-platform/common/microfrontend.util.d.ts +0 -26
- package/lib/microfrontend-platform/initialization/microfrontend-platform-initializer.service.d.ts +0 -49
- package/lib/microfrontend-platform/initialization/ng-zone-observable-decorator.d.ts +0 -14
- package/lib/microfrontend-platform/initialization/workbench-host-manifest-interceptor.service.d.ts +0 -1
- package/lib/microfrontend-platform/manifest-object-cache.service.d.ts +0 -33
- package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-capability-validator.interceptor.d.ts +0 -11
- package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor.d.ts +0 -28
- package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog.component.d.ts +0 -52
- package/lib/microfrontend-platform/microfrontend-host-dialog/microfrontend-host-dialog.component.d.ts +0 -35
- package/lib/microfrontend-platform/microfrontend-host-message-box/microfrontend-host-message-box.component.d.ts +0 -40
- package/lib/microfrontend-platform/microfrontend-host-message-box/text-message/text-message.component.d.ts +0 -25
- package/lib/microfrontend-platform/microfrontend-host-popup/microfrontend-host-popup.component.d.ts +0 -27
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-capability-validator.interceptor.d.ts +0 -10
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor.d.ts +0 -28
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-legacy-intent-translator.interceptor.d.ts +0 -11
- package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box.component.d.ts +0 -48
- package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.service.d.ts +0 -17
- package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-capability-validator.interceptor.d.ts +0 -10
- package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-installer.service.d.ts +0 -24
- package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor.d.ts +0 -20
- package/lib/microfrontend-platform/microfrontend-perspective/workbench-perspective-data.d.ts +0 -9
- package/lib/microfrontend-platform/microfrontend-platform-config-loader.d.ts +0 -13
- package/lib/microfrontend-platform/microfrontend-platform.config.d.ts +0 -20
- package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup-capability-validator.interceptor.d.ts +0 -10
- package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup-intent-handler.interceptor.d.ts +0 -35
- package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup.component.d.ts +0 -47
- package/lib/microfrontend-platform/microfrontend-splash/microfrontend-splash.component.d.ts +0 -5
- package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-command-handler.service.d.ts +0 -42
- package/lib/microfrontend-platform/microfrontend-view/microfrontend-view.component.d.ts +0 -72
- package/lib/microfrontend-platform/microfrontend-view/microfrontend-workbench-view.model.d.ts +0 -14
- package/lib/microfrontend-platform/public_api.d.ts +0 -3
- package/lib/microfrontend-platform/routing/microfrontend-view-capability-validator.interceptor.d.ts +0 -10
- package/lib/microfrontend-platform/routing/microfrontend-view-intent-handler.interceptor.d.ts +0 -32
- package/lib/microfrontend-platform/routing/microfrontend-view-routes.d.ts +0 -56
- package/lib/microfrontend-platform/stable-capability-id-assigner.interceptor.d.ts +0 -11
- package/lib/microfrontend-platform/workbench-microfrontend-support.d.ts +0 -7
- package/lib/migration/workbench-migration.d.ts +0 -9
- package/lib/migration/workbench-migrator.d.ts +0 -18
- package/lib/notification/notification-css-classes.pipe.d.ts +0 -13
- package/lib/notification/notification-list.component.d.ts +0 -19
- package/lib/notification/notification.component.d.ts +0 -29
- package/lib/notification/notification.config.d.ts +0 -85
- package/lib/notification/notification.d.ts +0 -31
- package/lib/notification/notification.service.d.ts +0 -49
- package/lib/notification/public_api.d.ts +0 -3
- package/lib/notification/text-notification.component.d.ts +0 -11
- package/lib/notification//311/265notification.d.ts +0 -18
- package/lib/page-not-found/page-not-found.component.d.ts +0 -11
- package/lib/part/main-area-part/main-area-part.component.d.ts +0 -37
- package/lib/part/part-action/part-action.component.d.ts +0 -39
- package/lib/part/part-action-bar/part-action.directive.d.ts +0 -62
- package/lib/part/part-bar/part-bar.component.d.ts +0 -24
- package/lib/part/part-portal.pipe.d.ts +0 -17
- package/lib/part/part.component.d.ts +0 -38
- package/lib/part/public_api.d.ts +0 -3
- package/lib/part/view-context-menu/accelerator-format.pipe.d.ts +0 -10
- package/lib/part/view-context-menu/menu-item/menu-item.component.d.ts +0 -39
- package/lib/part/view-context-menu/text/text.component.d.ts +0 -6
- package/lib/part/view-context-menu/view-menu-item.directive.d.ts +0 -75
- package/lib/part/view-context-menu/view-menu.component.d.ts +0 -22
- package/lib/part/view-context-menu/view-menu.service.d.ts +0 -51
- package/lib/part/view-list/view-list.component.d.ts +0 -32
- package/lib/part/view-list-button/view-list-button.component.d.ts +0 -22
- package/lib/part/view-list-item/view-list-item.component.d.ts +0 -17
- package/lib/part/view-tab/view-tab.component.d.ts +0 -51
- package/lib/part/view-tab-bar/view-tab-bar.component.d.ts +0 -163
- package/lib/part/view-tab-content/view-tab-content.component.d.ts +0 -10
- package/lib/part/view-tab-drag-image/view-tab-drag-image.component.d.ts +0 -36
- package/lib/part/workbench-part-action.registry.d.ts +0 -7
- package/lib/part/workbench-part.model.d.ts +0 -91
- package/lib/part/workbench-part.registry.d.ts +0 -7
- package/lib/part//311/265workbench-part.model.d.ts +0 -84
- package/lib/perspective/migration/model/workbench-perspective-migration-v1.model.d.ts +0 -8
- 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/public_api.d.ts +0 -1
- package/lib/perspective/workbench-grid-merger.service.d.ts +0 -19
- package/lib/perspective/workbench-perspective-storage.service.d.ts +0 -32
- package/lib/perspective/workbench-perspective-view-conflict-resolver.service.d.ts +0 -18
- package/lib/perspective/workbench-perspective.model.d.ts +0 -215
- package/lib/perspective/workbench-perspective.registry.d.ts +0 -7
- package/lib/perspective/workbench-perspective.service.d.ts +0 -63
- package/lib/perspective/workench-perspective-serializer.service.d.ts +0 -26
- package/lib/perspective//311/265workbench-perspective.model.d.ts +0 -71
- package/lib/popup/popup.component.d.ts +0 -28
- package/lib/popup/popup.config.d.ts +0 -193
- package/lib/popup/popup.origin.d.ts +0 -44
- package/lib/popup/popup.service.d.ts +0 -68
- package/lib/popup/public_api.d.ts +0 -3
- package/lib/portal/wb-component-portal.d.ts +0 -81
- package/lib/portal/workbench-portal-outlet.directive.d.ts +0 -30
- package/lib/public_api.d.ts +0 -22
- package/lib/registry/workbench-object-registry.d.ts +0 -51
- package/lib/routing/empty-outlet/empty-outlet.component.d.ts +0 -15
- package/lib/routing/public_api.d.ts +0 -5
- package/lib/routing/router-outlet-root-context.directive.d.ts +0 -10
- package/lib/routing/routing.model.d.ts +0 -155
- package/lib/routing/routing.util.d.ts +0 -116
- package/lib/routing/url-segment-matcher.d.ts +0 -20
- package/lib/routing/workbench-auxiliary-route-installer.service.d.ts +0 -53
- package/lib/routing/workbench-layout-differ.d.ts +0 -33
- package/lib/routing/workbench-navigational-states.d.ts +0 -40
- package/lib/routing/workbench-outlet-differ.d.ts +0 -48
- package/lib/routing/workbench-route-data.d.ts +0 -29
- package/lib/routing/workbench-route-guards.d.ts +0 -62
- package/lib/routing/workbench-router-link.directive.d.ts +0 -59
- package/lib/routing/workbench-router.service.d.ts +0 -65
- package/lib/routing/workbench-url-observer.service.d.ts +0 -73
- package/lib/routing//311/265location.d.ts +0 -8
- package/lib/routing//311/265workbench-router.service.d.ts +0 -78
- package/lib/startup/public_api.d.ts +0 -2
- package/lib/startup/splash/splash.component.d.ts +0 -8
- package/lib/startup/workbench-initializer.d.ts +0 -127
- package/lib/startup/workbench-launcher.service.d.ts +0 -99
- package/lib/storage/public_api.d.ts +0 -1
- package/lib/storage/workbench-storage.d.ts +0 -16
- package/lib/theme/workbench-theme-switcher.service.d.ts +0 -32
- package/lib/view/public_api.d.ts +0 -1
- package/lib/view/view-context-provider.d.ts +0 -6
- package/lib/view/view-move-handler.service.d.ts +0 -27
- package/lib/view/view-portal.pipe.d.ts +0 -14
- package/lib/view/view.component.d.ts +0 -32
- package/lib/view/workbench-view-menu-item.registry.d.ts +0 -7
- package/lib/view/workbench-view.model.d.ts +0 -225
- package/lib/view/workbench-view.registry.d.ts +0 -7
- package/lib/view//311/265workbench-view.model.d.ts +0 -154
- package/lib/view-dnd/grid-drop-targets.util.d.ts +0 -22
- package/lib/view-dnd/requires-drop-zone.pipe.d.ts +0 -13
- package/lib/view-dnd/view-drag.service.d.ts +0 -237
- package/lib/view-dnd/view-drop-placeholder-renderer.service.d.ts +0 -27
- package/lib/view-dnd/view-drop-zone.directive.d.ts +0 -115
- package/lib/view-dnd/view-tab-drag-image-renderer.service.d.ts +0 -57
- package/lib/workbench-config.d.ts +0 -168
- package/lib/workbench-element-references.d.ts +0 -17
- package/lib/workbench-id.d.ts +0 -7
- package/lib/workbench.component.d.ts +0 -34
- package/lib/workbench.constants.d.ts +0 -69
- package/lib/workbench.model.d.ts +0 -218
- package/lib/workbench.provider.d.ts +0 -38
- package/lib/workbench.service.d.ts +0 -158
- package/lib//311/265workbench.service.d.ts +0 -52
- package/public-api.d.ts +0 -4
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
|
|
package/_index.scss
CHANGED
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
* The icon font can be customized using the [IcoMoon](https://icomoon.io/app) web application by importing the icon font definition file `scion-workbench-icons.json`.
|
|
109
109
|
*
|
|
110
110
|
* If deploying the application in a subdirectory, use a relative directory path for the browser to load the icon files relative to the document base URL (as specified in the `<base>` HTML tag).
|
|
111
|
-
* Note that using a relative path requires to exclude the icon files from the application build. Depending on building the application with esbuild `@angular
|
|
111
|
+
* Note that using a relative path requires to exclude the icon files from the application build. Depending on building the application with esbuild `@angular/build:application`
|
|
112
112
|
* or webpack `@angular-devkit/build-angular:browser`, different steps are required to exclude the icons from the build.
|
|
113
113
|
*
|
|
114
|
-
* ### Using @angular
|
|
114
|
+
* ### Using @angular/build:application (esbuild, default since Angular 20)
|
|
115
115
|
* Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL:
|
|
116
116
|
* ```scss
|
|
117
117
|
* @use '@scion/workbench' with (
|
|
@@ -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
|
);
|