@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.
Files changed (195) hide show
  1. package/README.md +6 -4
  2. package/design/_workbench-dark-theme-design-tokens.scss +52 -12
  3. package/design/_workbench-icon-font.scss +1 -1
  4. package/design/_workbench-light-theme-design-tokens.scss +54 -14
  5. package/fesm2022/scion-workbench.mjs +7265 -5286
  6. package/fesm2022/scion-workbench.mjs.map +1 -1
  7. package/lib/activity/activity-bar/activity-bar.component.d.ts +10 -0
  8. package/lib/activity/activity-bar/activity-item/activity-item.component.d.ts +16 -0
  9. package/lib/activity/activity-bar/activity-stack/activity-stack.component.d.ts +10 -0
  10. package/lib/activity/activity-panel/activity-panel.component.d.ts +41 -0
  11. package/lib/activity/public_api.d.ts +1 -0
  12. package/lib/activity/workbench-activity.model.d.ts +110 -0
  13. package/lib/common/asserts.util.d.ts +1 -1
  14. package/lib/common/dasherize.util.d.ts +4 -0
  15. package/lib/common/disposable.d.ts +4 -0
  16. package/lib/common/dom.util.d.ts +19 -1
  17. package/lib/common/grid-if-visible.pipe.d.ts +13 -0
  18. package/lib/common/objects.util.d.ts +11 -3
  19. package/lib/common/observables.d.ts +8 -8
  20. package/lib/common/public_api.d.ts +1 -1
  21. package/lib/common/resolve-when.util.d.ts +9 -0
  22. package/lib/common/utility-types.d.ts +6 -0
  23. package/lib/content-projection/content-as-overlay.component.d.ts +1 -1
  24. package/lib/desktop/desktop.directive.d.ts +1 -1
  25. package/lib/dialog/dialog-footer/dialog-footer.component.d.ts +1 -2
  26. package/lib/dialog/dialog-footer/workbench-dialog-action.directive.d.ts +8 -10
  27. package/lib/dialog/dialog-footer/workbench-dialog-footer.directive.d.ts +8 -11
  28. package/lib/dialog/dialog-header/dialog-header.component.d.ts +1 -2
  29. package/lib/dialog/dialog-header/workbench-dialog-header.directive.d.ts +8 -11
  30. package/lib/dialog/movable.directive.d.ts +11 -12
  31. package/lib/dialog/public_api.d.ts +2 -2
  32. package/lib/dialog/resizable.directive.d.ts +8 -16
  33. package/lib/dialog/workbench-dialog.component.d.ts +9 -14
  34. package/lib/dialog/workbench-dialog.d.ts +6 -5
  35. package/lib/dialog//311/265workbench-dialog.d.ts +7 -6
  36. package/lib/filter-field/filter-field.component.d.ts +23 -26
  37. package/lib/glass-pane/glass-pane.directive.d.ts +4 -5
  38. package/lib/icon/icon-providers.d.ts +6 -0
  39. package/lib/icon/icon.component.d.ts +33 -0
  40. package/lib/icon/material-icon-provider.d.ts +25 -0
  41. package/lib/icon/public_api.d.ts +1 -0
  42. package/lib/icon/workbench-icon-provider.d.ts +30 -0
  43. package/lib/icon/workbench-icon-provider.model.d.ts +64 -0
  44. package/lib/layout/{workbench-layout.component.d.ts → grid/grid.component.d.ts} +38 -10
  45. package/lib/layout/grid-element/grid-element.component.d.ts +16 -20
  46. package/lib/layout/layout.component.d.ts +60 -0
  47. package/lib/layout/migration/model/workbench-grid-migration-v2.model.d.ts +22 -0
  48. package/lib/layout/migration/model/workbench-grid-migration-v3.model.d.ts +30 -0
  49. package/lib/layout/migration/model/workbench-grid-migration-v4.model.d.ts +31 -0
  50. package/lib/layout/migration/model/{workbench-layout-migration-v5.model.d.ts → workbench-grid-migration-v5.model.d.ts} +3 -3
  51. package/lib/layout/migration/model/{workbench-layout-migration-v6.model.d.ts → workbench-grid-migration-v6.model.d.ts} +3 -3
  52. package/lib/layout/migration/model/{workbench-layout-migration-v7.model.d.ts → workbench-grid-migration-v7.model.d.ts} +3 -3
  53. package/lib/layout/migration/model/workbench-layout-migration-v2.model.d.ts +9 -21
  54. package/lib/layout/migration/model/workbench-layout-migration-v3.model.d.ts +8 -28
  55. package/lib/layout/migration/model/workbench-layout-migration-v4.model.d.ts +18 -29
  56. package/lib/layout/migration/workbench-grid-migration-v3.service.d.ts +14 -0
  57. package/lib/layout/migration/workbench-grid-migration-v4.service.d.ts +12 -0
  58. package/lib/layout/migration/{workbench-layout-migration-v5.service.d.ts → workbench-grid-migration-v5.service.d.ts} +3 -3
  59. package/lib/layout/migration/workbench-grid-migration-v6.service.d.ts +12 -0
  60. package/lib/layout/migration/workbench-grid-migration-v7.service.d.ts +10 -0
  61. package/lib/layout/migration/{workbench-layout-migration-v6.service.d.ts → workbench-layout-migration-v2.service.d.ts} +5 -4
  62. package/lib/layout/migration/workbench-layout-migration-v3.service.d.ts +1 -5
  63. package/lib/layout/migration/workbench-layout-migration-v4.service.d.ts +1 -1
  64. package/lib/layout/public_api.d.ts +1 -1
  65. package/lib/layout/rendering-flag.d.ts +7 -0
  66. package/lib/layout/{workbench-layout.model.d.ts → workbench-grid.model.d.ts} +26 -3
  67. package/lib/{perspective/workbench-grid-merger.service.d.ts → layout/workbench-layout-merger.service.d.ts} +5 -5
  68. package/lib/layout/workbench-layout-storage.service.d.ts +28 -0
  69. package/lib/layout/workbench-layout.d.ts +289 -28
  70. package/lib/layout/workbench-layout.factory.d.ts +4 -6
  71. package/lib/layout/workbench-layout.service.d.ts +24 -13
  72. package/lib/layout/workbench-layouts.util.d.ts +25 -1
  73. package/lib/layout/workench-layout-serializer.service.d.ts +52 -14
  74. package/lib/layout//311/265workbench-layout.d.ts +351 -83
  75. package/lib/layout//311/265workbench-layout.factory.d.ts +6 -21
  76. package/lib/logging/console-appender.service.d.ts +0 -1
  77. package/lib/logging/public_api.d.ts +1 -1
  78. package/lib/message-box/message-box-footer/message-box-footer.component.d.ts +7 -8
  79. package/lib/message-box/message-box-header/message-box-header.component.d.ts +3 -3
  80. package/lib/message-box/public_api.d.ts +1 -1
  81. package/lib/message-box/workbench-message-box.component.d.ts +5 -8
  82. package/lib/message-box/workbench-message-box.options.d.ts +6 -5
  83. package/lib/message-box/workbench-message-box.service.d.ts +2 -1
  84. package/lib/message-box//311/265workbench-message-box.service.d.ts +4 -6
  85. package/lib/microfrontend-platform/common/microfrontend.util.d.ts +15 -2
  86. package/lib/microfrontend-platform/initialization/microfrontend-platform-initializer.service.d.ts +20 -38
  87. package/lib/microfrontend-platform/initialization/ng-zone-observable-decorator.d.ts +1 -3
  88. package/lib/microfrontend-platform/manifest-object-cache.service.d.ts +9 -10
  89. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor.d.ts +2 -5
  90. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog.component.d.ts +14 -34
  91. package/lib/microfrontend-platform/microfrontend-host-dialog/microfrontend-host-dialog.component.d.ts +13 -16
  92. package/lib/microfrontend-platform/microfrontend-host-message-box/microfrontend-host-message-box.component.d.ts +15 -18
  93. package/lib/microfrontend-platform/microfrontend-host-message-box/text-message/text-message.component.d.ts +0 -2
  94. package/lib/microfrontend-platform/microfrontend-host-popup/microfrontend-host-popup.component.d.ts +8 -12
  95. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor.d.ts +2 -5
  96. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box.component.d.ts +14 -33
  97. package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.d.ts +7 -0
  98. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-installer.service.d.ts +3 -22
  99. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor.d.ts +2 -5
  100. package/lib/microfrontend-platform/microfrontend-platform-initializer.provider.d.ts +85 -0
  101. package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup.component.d.ts +19 -33
  102. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-command-handler.service.d.ts +3 -40
  103. package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-intent-handler.interceptor.d.ts +5 -4
  104. package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-routes.d.ts +2 -2
  105. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view.component.d.ts +28 -33
  106. package/lib/microfrontend-platform/public_api.d.ts +2 -0
  107. package/lib/notification/notification-list.component.d.ts +3 -6
  108. package/lib/notification/notification.component.d.ts +14 -16
  109. package/lib/notification/notification.config.d.ts +4 -3
  110. package/lib/notification/notification.d.ts +2 -1
  111. package/lib/notification/notification.service.d.ts +6 -6
  112. package/lib/notification/public_api.d.ts +1 -1
  113. package/lib/notification/text-notification.component.d.ts +2 -3
  114. package/lib/notification//311/265notification.d.ts +5 -4
  115. package/lib/null-content/null-content.component.d.ts +11 -0
  116. package/lib/part/main-area-part/main-area-part.component.d.ts +7 -3
  117. package/lib/part/part-action-bar/part-action.directive.d.ts +1 -1
  118. package/lib/part/part-bar/part-bar.component.d.ts +6 -1
  119. package/lib/part/part.component.d.ts +3 -4
  120. package/lib/part/public_api.d.ts +1 -1
  121. package/lib/part/view-context-menu/text/text.component.d.ts +1 -1
  122. package/lib/part/view-context-menu/view-menu-item.directive.d.ts +1 -1
  123. package/lib/part/view-context-menu/view-menu.service.d.ts +7 -5
  124. package/lib/part/view-list/view-list.component.d.ts +14 -24
  125. package/lib/part/view-list-button/view-list-button.component.d.ts +6 -10
  126. package/lib/part/view-list-item/view-list-item.component.d.ts +7 -11
  127. package/lib/part/view-tab/view-tab.component.d.ts +14 -30
  128. package/lib/part/view-tab-bar/view-tab-bar.component.d.ts +1 -0
  129. package/lib/part/view-tab-content/view-tab-content.component.d.ts +1 -4
  130. package/lib/part/view-tab-drag-image/view-tab-drag-image.component.d.ts +20 -18
  131. package/lib/part/workbench-part.model.d.ts +23 -3
  132. package/lib/part//311/265workbench-part.model.d.ts +28 -8
  133. package/lib/perspective/public_api.d.ts +1 -1
  134. package/lib/perspective/workbench-perspective-view-conflict-resolver.service.d.ts +5 -5
  135. package/lib/perspective/workbench-perspective.model.d.ts +14 -138
  136. package/lib/perspective/workbench-perspective.service.d.ts +15 -5
  137. package/lib/perspective//311/265workbench-perspective.model.d.ts +9 -8
  138. package/lib/popup/popup.component.d.ts +14 -16
  139. package/lib/popup/popup.config.d.ts +10 -15
  140. package/lib/popup/popup.service.d.ts +12 -22
  141. package/lib/popup/public_api.d.ts +2 -2
  142. package/lib/portal/workbench-portal-outlet.directive.d.ts +9 -7
  143. package/lib/public_api.d.ts +6 -3
  144. package/lib/routing/public_api.d.ts +1 -1
  145. package/lib/routing/routing.model.d.ts +14 -13
  146. package/lib/routing/routing.util.d.ts +8 -8
  147. package/lib/routing/url-segment-matcher.d.ts +1 -1
  148. package/lib/routing/workbench-auxiliary-route-installer.service.d.ts +3 -12
  149. package/lib/routing/workbench-layout-differ.d.ts +2 -2
  150. package/lib/routing/workbench-navigational-states.d.ts +16 -8
  151. package/lib/routing/workbench-route-data.d.ts +4 -0
  152. package/lib/routing/workbench-router-link.directive.d.ts +16 -29
  153. package/lib/routing/workbench-router.service.d.ts +4 -3
  154. package/lib/routing//311/265workbench-router.service.d.ts +4 -4
  155. package/lib/startup/public_api.d.ts +4 -2
  156. package/lib/startup/workbench-initializer.d.ts +128 -87
  157. package/lib/startup/workbench-launcher.service.d.ts +41 -77
  158. package/lib/startup/workbench-startup.service.d.ts +37 -0
  159. package/lib/startup//311/265workbench-launcher.service.d.ts +19 -0
  160. package/lib/startup//311/265workbench-startup.service.d.ts +16 -0
  161. package/lib/text/public_api.d.ts +1 -0
  162. package/lib/text/text-providers.d.ts +6 -0
  163. package/lib/text/text.d.ts +30 -0
  164. package/lib/text/text.pipe.d.ts +24 -0
  165. package/lib/text/workbench-text-provider.d.ts +7 -0
  166. package/lib/text/workbench-text-provider.model.d.ts +40 -0
  167. package/lib/text/workbench-view-menu-config-text-provider.d.ts +8 -0
  168. package/lib/theme/workbench-theme-switcher.service.d.ts +14 -19
  169. package/lib/view/public_api.d.ts +1 -1
  170. package/lib/view/view.component.d.ts +1 -1
  171. package/lib/view/workbench-view.model.d.ts +11 -10
  172. package/lib/view//311/265workbench-view.model.d.ts +9 -7
  173. package/lib/view-dnd/grid-drop-targets.util.d.ts +1 -1
  174. package/lib/view-dnd/requires-drop-zone.pipe.d.ts +1 -1
  175. package/lib/view-dnd/view-drag.service.d.ts +24 -7
  176. package/lib/view-dnd/view-drop-zone.directive.d.ts +7 -10
  177. package/lib/workbench-config.d.ts +199 -28
  178. package/lib/workbench.component.d.ts +8 -1
  179. package/lib/workbench.constants.d.ts +4 -0
  180. package/lib/workbench.model.d.ts +2 -0
  181. package/lib/workbench.provider.d.ts +66 -15
  182. package/lib/workbench.service.d.ts +45 -10
  183. package/lib//311/265workbench.service.d.ts +9 -7
  184. package/package.json +3 -3
  185. package/lib/common/grid-element-if-visible.pipe.d.ts +0 -13
  186. package/lib/layout/migration/workbench-layout-migration-v7.service.d.ts +0 -10
  187. package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.service.d.ts +0 -17
  188. package/lib/perspective/migration/model/workbench-perspective-migration-v2.model.d.ts +0 -10
  189. package/lib/perspective/migration/model/workbench-perspective-migration-v3.model.d.ts +0 -10
  190. package/lib/perspective/migration/workbench-perspective-migration-v2.service.d.ts +0 -13
  191. package/lib/perspective/migration/workbench-perspective-migration-v3.service.d.ts +0 -12
  192. package/lib/perspective/workbench-perspective-storage.service.d.ts +0 -32
  193. package/lib/perspective/workench-perspective-serializer.service.d.ts +0 -26
  194. /package/lib/{perspective/migration/model/workbench-perspective-migration-v1.model.d.ts → layout/migration/model/workbench-layout-migration-v1.model.d.ts} +0 -0
  195. /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 arrange 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.
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
- The workbench layout is a grid of parts. Parts are aligned relative to each other. Each part is a stack of views. Content is displayed in views or parts.
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
- The layout can be divided into a main and a peripheral area, with the main area as the primary place for opening views. The peripheral area arranges parts around the main area to provide navigation or context-sensitive assistance to support the user's workflow. Defining a main area is optional and recommended for applications requiring a dedicated and maximizable area for user interaction.
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
- Multiple layouts, called perspectives, are supported. Perspectives can be switched. Only one perspective is active at a time. Perspectives share the same main area, if any.
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: .1rem,
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: .25rem,
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-sashbox-splitter-background-color),
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: none,
25
- --sci-workbench-part-dropzone-border-radius: none,
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-active-text-color: var(--sci-color-accent),
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-height: 2.5rem,
30
- --sci-workbench-tab-min-width: 5rem,
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-padding-inline: .725em,
36
- --sci-workbench-tab-hover-background-color: none,
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-active-text-color),
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-tab-active-text-color: var(--sci-color-text),
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: 2;
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-workbench-part-background-color),
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: .1rem,
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: .25rem,
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-sashbox-splitter-background-color),
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: none,
25
- --sci-workbench-part-dropzone-border-radius: none,
26
- --sci-workbench-part-peripheral-bar-background-color: color-mix(in srgb, var(--sci-color-gray-200) 50%, transparent),
27
- --sci-workbench-part-active-tab-active-text-color: var(--sci-color-accent),
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-height: 2.5rem,
30
- --sci-workbench-tab-min-width: 5rem,
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-padding-inline: .725em,
36
- --sci-workbench-tab-hover-background-color: none,
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-active-text-color),
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-tab-active-text-color: var(--sci-color-text),
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
  );