@jupyterlab/application 3.6.0-alpha.5 → 3.6.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/application",
3
- "version": "3.6.0-alpha.5",
3
+ "version": "3.6.0-rc.0",
4
4
  "description": "JupyterLab - Application",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -42,17 +42,17 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@fortawesome/fontawesome-free": "^5.12.0",
45
- "@jupyterlab/apputils": "^3.6.0-alpha.5",
46
- "@jupyterlab/coreutils": "^5.6.0-alpha.5",
47
- "@jupyterlab/docregistry": "^3.6.0-alpha.5",
48
- "@jupyterlab/rendermime": "^3.6.0-alpha.5",
49
- "@jupyterlab/rendermime-interfaces": "^3.6.0-alpha.5",
50
- "@jupyterlab/services": "^6.6.0-alpha.5",
51
- "@jupyterlab/statedb": "^3.6.0-alpha.5",
52
- "@jupyterlab/translation": "^3.6.0-alpha.5",
53
- "@jupyterlab/ui-components": "^3.6.0-alpha.5",
45
+ "@jupyterlab/apputils": "^3.6.0-rc.0",
46
+ "@jupyterlab/coreutils": "^5.6.0-rc.0",
47
+ "@jupyterlab/docregistry": "^3.6.0-rc.0",
48
+ "@jupyterlab/rendermime": "^3.6.0-rc.0",
49
+ "@jupyterlab/rendermime-interfaces": "^3.6.0-rc.0",
50
+ "@jupyterlab/services": "^6.6.0-rc.0",
51
+ "@jupyterlab/statedb": "^3.6.0-rc.0",
52
+ "@jupyterlab/translation": "^3.6.0-rc.0",
53
+ "@jupyterlab/ui-components": "^3.6.0-rc.0",
54
54
  "@lumino/algorithm": "^1.9.0",
55
- "@lumino/application": "^1.31.0",
55
+ "@lumino/application": "^1.31.1",
56
56
  "@lumino/commands": "^1.19.0",
57
57
  "@lumino/coreutils": "^1.11.0",
58
58
  "@lumino/disposable": "^1.10.0",
@@ -63,7 +63,7 @@
63
63
  "@lumino/widgets": "^1.33.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@jupyterlab/testutils": "^3.6.0-alpha.5",
66
+ "@jupyterlab/testutils": "^3.6.0-rc.0",
67
67
  "@types/jest": "^26.0.10",
68
68
  "jest": "^26.4.2",
69
69
  "rimraf": "~3.0.0",
package/style/buttons.css CHANGED
@@ -17,7 +17,8 @@ button {
17
17
  }
18
18
 
19
19
  button:focus-visible {
20
- border: 1px solid var(--md-blue-900);
20
+ outline: 1px solid var(--md-blue-900);
21
+ outline-offset: -1px;
21
22
  }
22
23
 
23
24
  button.jp-mod-styled.jp-mod-accept {
@@ -35,7 +36,7 @@ button.jp-mod-styled.jp-mod-accept:active {
35
36
  }
36
37
 
37
38
  button.jp-mod-styled.jp-mod-accept:focus-visible {
38
- border: 1px solid var(--md-blue-900);
39
+ outline: 1px solid var(--md-blue-900);
39
40
  }
40
41
 
41
42
  button.jp-mod-styled.jp-mod-reject {
@@ -53,7 +54,7 @@ button.jp-mod-styled.jp-mod-reject:active {
53
54
  }
54
55
 
55
56
  button.jp-mod-styled.jp-mod-reject:focus-visible {
56
- border: 1px solid var(--md-grey-800);
57
+ outline: 1px solid var(--md-grey-800);
57
58
  }
58
59
 
59
60
  button.jp-mod-styled.jp-mod-warn {
@@ -71,7 +72,7 @@ button.jp-mod-styled.jp-mod-warn:active {
71
72
  }
72
73
 
73
74
  button.jp-mod-styled.jp-mod-warn:focus-visible {
74
- border: 1px solid var(--md-red-900);
75
+ outline: 1px solid var(--md-red-900);
75
76
  }
76
77
 
77
78
  .jp-Button-flat {
package/style/menus.css CHANGED
@@ -38,6 +38,24 @@
38
38
  line-height: calc(var(--jp-private-menubar-height) - var(--jp-border-width));
39
39
  }
40
40
 
41
+ .lm-MenuBar-content:focus-visible {
42
+ outline-offset: -3px; /* this value is a compromise between Firefox, Chrome,
43
+ and Safari over this outline's visibility and discretion */
44
+ }
45
+
46
+ .lm-MenuBar:focus-visible {
47
+ outline: 1px solid var(--jp-accept-color-active, var(--jp-brand-color1));
48
+ outline-offset: -1px;
49
+ }
50
+
51
+ .lm-MenuBar-menu:focus-visible,
52
+ .lm-MenuBar-item:focus-visible,
53
+ .lm-Menu-item:focus-visible {
54
+ outline: unset;
55
+ outline-offset: unset;
56
+ -moz-outline-radius: unset;
57
+ }
58
+
41
59
  .lm-MenuBar-item.lm-mod-active {
42
60
  background: var(--jp-layout-color2);
43
61
  }
package/style/tabs.css CHANGED
@@ -20,7 +20,6 @@
20
20
 
21
21
  .lm-DockPanel-tabBar,
22
22
  .lm-TabPanel-tabBar {
23
- border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
24
23
  overflow: visible;
25
24
  color: var(--jp-ui-font-color1);
26
25
  font-size: var(--jp-ui-font-size1);
@@ -49,7 +48,7 @@
49
48
  flex: 0 1 var(--jp-private-horizontal-tab-width);
50
49
  align-items: center;
51
50
  min-height: calc(
52
- var(--jp-private-horizontal-tab-height) + var(--jp-border-width)
51
+ var(--jp-private-horizontal-tab-height) + 2 * var(--jp-border-width)
53
52
  );
54
53
  min-width: 0px;
55
54
  margin-left: calc(-1 * var(--jp-border-width));
@@ -66,6 +65,16 @@
66
65
  background: var(--jp-layout-color1);
67
66
  }
68
67
 
68
+ .lm-DockPanel-tabBar .lm-TabBar-tab:not(.lm-mod-current)::after,
69
+ .lm-DockPanel-tabBar .lm-TabBar-addButton::after {
70
+ position: absolute;
71
+ content: '';
72
+ bottom: 0;
73
+ left: calc(-1 * var(--jp-border-width));
74
+ width: calc(100% + 2 * var(--jp-border-width));
75
+ border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
76
+ }
77
+
69
78
  .lm-DockPanel-tabBar .lm-TabBar-tab:first-child,
70
79
  .lm-TabPanel-tabBar .lm-TabBar-tab:first-child {
71
80
  margin-left: 0;
@@ -75,10 +84,6 @@
75
84
  .lm-DockPanel-tabBar .lm-TabBar-tab.lm-mod-current {
76
85
  background: var(--jp-layout-color1);
77
86
  color: var(--jp-ui-font-color0);
78
- min-height: calc(
79
- var(--jp-private-horizontal-tab-height) + 2 * var(--jp-border-width)
80
- );
81
- transform: translateY(var(--jp-border-width));
82
87
  }
83
88
 
84
89
  .lm-TabPanel-tabBar .lm-TabBar-tab.lm-mod-current {
@@ -103,10 +108,6 @@
103
108
  background: var(--jp-layout-color1);
104
109
  }
105
110
 
106
- .lm-TabBar-tab.lm-mod-current:hover {
107
- background: var(--jp-layout-color1);
108
- }
109
-
110
111
  .lm-DockPanel-tabBar .lm-TabBar.lm-mod-left .lm-TabBar-tab,
111
112
  .lm-DockPanel-tabBar .lm-TabBar.lm-mod-right .lm-TabBar-tab {
112
113
  flex: 0 1 40px;
@@ -147,11 +148,6 @@
147
148
  margin-right: 4px;
148
149
  }
149
150
 
150
- .lm-DockPanel-tabBar .lm-TabBar-tab.lm-mod-current .lm-TabBar-tabIcon,
151
- .lm-TabPanel-tabBar .lm-TabBar-tab.lm-mod-current .lm-TabBar-tabIcon {
152
- margin-bottom: var(--jp-border-width);
153
- }
154
-
155
151
  .lm-TabBar-tab.lm-mod-drag-image {
156
152
  background: var(--jp-layout-color1);
157
153
  border: var(--jp-border-width) solid var(--jp-border-color1);