-
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Built-in Tables - interactive viewer (#646)
- Loading branch information
Showing
13 changed files
with
358 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name = "Pluto" | |
uuid = "c3e4b0f8-55cb-11ea-2926-15256bba5781" | ||
license = "MIT" | ||
authors = ["Fons van der Plas <[email protected]>", "MikoΕaj Bochenski <[email protected]>"] | ||
version = "0.12.7" | ||
version = "0.12.8" | ||
|
||
[deps] | ||
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | ||
|
@@ -16,16 +16,20 @@ MsgPack = "99f44e22-a591-53d1-9472-aa23ef4bd671" | |
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" | ||
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | ||
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
|
||
[compat] | ||
HTTP = "^0.8.18" | ||
MsgPack = "1.1" | ||
Tables = "1" | ||
julia = "^1.0.0" | ||
|
||
[extras] | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test", "Random"] | ||
test = ["Test", "Random", "DataFrames", "OffsetArrays"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,30 +122,55 @@ jltree.collapsed r:last-child::after { | |
content: ""; | ||
} | ||
|
||
jltree r > more { | ||
jlmore { | ||
display: inline-block; | ||
margin: 0.6em 0em; | ||
padding: 0.6em 0em; | ||
cursor: pointer; | ||
/* this only affects jlmore inside a table */ | ||
width: 100%; | ||
} | ||
|
||
jltree r > more::before { | ||
jlmore::before { | ||
margin-left: 0.2em; | ||
margin-right: 0.5em; | ||
top: -0.1em; | ||
bottom: -0.1em; | ||
display: inline-block; | ||
position: relative; | ||
content: ""; | ||
background-size: 100%; | ||
height: 17px; | ||
width: 17px; | ||
height: 1em; | ||
width: 1em; | ||
opacity: 0.5; | ||
background-image: url(https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/ellipsis-vertical.svg); | ||
} | ||
|
||
jltree.collapsed r > more { | ||
jlmore.loading::before { | ||
background-image: url(https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/sync-outline.svg); | ||
animation: loadspin 3s ease-in-out infinite; | ||
} | ||
|
||
@keyframes loadspin { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
25% { | ||
transform: rotate(180deg); | ||
} | ||
50% { | ||
transform: rotate(180deg); | ||
} | ||
75% { | ||
transform: rotate(360deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
jltree.collapsed jlmore { | ||
margin: 0em; | ||
} | ||
jltree.collapsed r > more::before { | ||
jltree.collapsed jlmore::before { | ||
background-image: url(https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/ellipsis-horizontal.svg); | ||
} | ||
|
||
|
@@ -196,3 +221,32 @@ jlerror > section > ol > li > span { | |
opacity: 0.8; | ||
padding: 0px 1em; | ||
} | ||
|
||
table.pluto-table { | ||
table-layout: fixed; | ||
} | ||
|
||
table.pluto-table td { | ||
max-width: 300px; | ||
overflow: hidden; | ||
} | ||
|
||
table.pluto-table .schema-types { | ||
color: rgba(0, 0, 0, 0.4); | ||
font-family: "JuliaMono", monospace; | ||
font-size: 0.75rem; | ||
opacity: 0; | ||
} | ||
|
||
table.pluto-table thead:hover .schema-types { | ||
opacity: 1; | ||
} | ||
|
||
table.pluto-table .schema-names { | ||
transform: translate(0, 0.5em); | ||
transition: transform 0.1s ease-in-out; | ||
} | ||
|
||
table.pluto-table thead:hover .schema-names { | ||
transform: translate(0, 0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
08e9c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
08e9c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/24479
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: