@myst-theme/styles 0.1.35 → 0.1.37

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.
@@ -1,8 +1,8 @@
1
1
 
2
- > @myst-theme/styles@0.1.35 build
2
+ > @myst-theme/styles@0.1.37 build
3
3
  > tailwindcss -m -i ./app.css -o ../docs/public/tailwind.css
4
4
 
5
5
 
6
6
  Rebuilding...
7
7
 
8
- Done in 779ms.
8
+ Done in 1019ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.1.37
4
+
5
+ ## 0.1.36
6
+
7
+ ### Patch Changes
8
+
9
+ - 1a153e21: Include icons in the style exports
10
+ - 7df5b23d: Add pandas dataframe styles to default jupyter outputs
11
+
3
12
  ## 0.1.35
4
13
 
5
14
  ## 0.1.34
package/index.js CHANGED
@@ -6,12 +6,14 @@ const content = [
6
6
  'node_modules/@myst-theme/site/{src,dist}/**/*.{js,ts,jsx,tsx}',
7
7
  'node_modules/@myst-theme/frontmatter/{src,dist}/**/*.{js,ts,jsx,tsx}',
8
8
  'node_modules/@myst-theme/jupyter/{src,dist}/**/*.{js,ts,jsx,tsx}',
9
+ 'node_modules/@myst-theme/icons/{src,dist}/**/*.{js,ts,jsx,tsx}',
9
10
  // Duplicate the above in case this is in a submodule
10
11
  '../../packages/myst-to-react/{src,dist}/**/*.{js,ts,jsx,tsx}',
11
12
  '../../packages/myst-demo/{src,dist}/**/*.{js,ts,jsx,tsx}',
12
13
  '../../packages/site/{src,dist}/**/*.{js,ts,jsx,tsx}',
13
14
  '../../packages/frontmatter/{src,dist}/**/*.{js,ts,jsx,tsx}',
14
15
  '../../packages/jupyter/{src,dist}/**/*.{js,ts,jsx,tsx}',
16
+ '../../packages/icons/{src,dist}/**/*.{js,ts,jsx,tsx}',
15
17
  ];
16
18
 
17
19
  const themeExtensions = {
package/jupyter.css CHANGED
@@ -8,3 +8,36 @@
8
8
  .jp-OutputPrompt {
9
9
  display: none;
10
10
  }
11
+ /* Pandas tables */
12
+ .dataframe table {
13
+ border: none;
14
+ border-collapse: collapse;
15
+ border-spacing: 0;
16
+ color: black;
17
+ font-size: 1em;
18
+ table-layout: fixed;
19
+ }
20
+ .dataframe thead {
21
+ border-bottom: 1px solid black;
22
+ vertical-align: bottom;
23
+ }
24
+ .dataframe tr,
25
+ .dataframe th,
26
+ .dataframe td {
27
+ text-align: right;
28
+ vertical-align: middle;
29
+ padding: 0.5em 0.5em;
30
+ line-height: normal;
31
+ white-space: normal;
32
+ max-width: none;
33
+ border: none;
34
+ }
35
+ .dataframe th {
36
+ font-weight: bold;
37
+ }
38
+ .dataframe tbody tr:nth-child(odd) {
39
+ background: #f5f5f5;
40
+ }
41
+ .dataframe tbody tr:hover {
42
+ background: rgba(66, 165, 245, 0.2);
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {