mirror of
https://github.com/yewprint/yewprint
synced 2024-11-21 19:13:05 +00:00
Clean-up & updates before publishing
This commit is contained in:
parent
9c0a670eed
commit
d6f41b0c1e
19 changed files with 730 additions and 9772 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
target
|
||||
/build
|
||||
/*.tgz
|
||||
/yewprint-doc/static/blueprint.css
|
||||
/yewprint-doc/static/docs-theme.css
|
||||
|
|
1009
Cargo.lock
generated
1009
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,12 @@
|
|||
[package]
|
||||
name = "run"
|
||||
version = "0.1.0"
|
||||
version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
log = "0.4"
|
||||
structopt = "0.3"
|
||||
wasm-run = "0.8"
|
||||
wasm-run = "0.9"
|
||||
yewprint-css = { path = "./yewprint-css" }
|
||||
|
||||
[workspace]
|
||||
|
|
201
LICENSE.Apache-2.0
Normal file
201
LICENSE.Apache-2.0
Normal file
|
@ -0,0 +1,201 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Cecile Tonglet
|
||||
Copyright (c) 2021 Cecile Tonglet
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
38
README.md
38
README.md
|
@ -11,23 +11,19 @@ leave a star to let me know you are interested in this project.
|
|||
Installation
|
||||
------------
|
||||
|
||||
## Use as a library (in your project)
|
||||
## Usage
|
||||
|
||||
```toml
|
||||
yewprint = { git = "https://github.com/yewprint/yewprint.git", branch = "main" }
|
||||
```
|
||||
Check the
|
||||
[template repository](https://github.com/yewprint/yewprint-template)
|
||||
to see how things work. **The Blueprint CSS needs to be downloaded from your
|
||||
build script.**
|
||||
|
||||
You will also need the CSS from Blueprint. There is a helper crate that can be
|
||||
used to automatize this:
|
||||
|
||||
```toml
|
||||
yewprint-css = { git = "https://github.com/yewprint/yewprint.git", branch = "main" }
|
||||
```
|
||||
|
||||
Then you can add this to your build process:
|
||||
To easily get started, you can use
|
||||
[cargo-generate](https://crates.io/crates/cargo-generate)
|
||||
to get started very quickly:
|
||||
|
||||
```
|
||||
yewprint_css::download_css("static/blueprint.css")?;
|
||||
cargo generate --git https://github.com/cecton/wasm-run-template.git
|
||||
```
|
||||
|
||||
## Development Environment
|
||||
|
@ -78,7 +74,7 @@ Roadmap
|
|||
- depends on: Overlay
|
||||
- [ ] [Navbar](https://blueprintjs.com/docs/#core/components/navbar)
|
||||
- [ ] [OverflowList](https://blueprintjs.com/docs/#core/components/overflow-list)
|
||||
- [ ] [PanelStack](https://blueprintjs.com/docs/#core/components/panel-stack)
|
||||
- [x] [PanelStack](https://blueprintjs.com/docs/#core/components/panel-stack)
|
||||
- [x] [ProgressBar](https://blueprintjs.com/docs/#core/components/progress-bar)
|
||||
- [ ] [ResizeSensor](https://blueprintjs.com/docs/#core/components/resize-sensor)
|
||||
- [ ] [Skeleton](https://blueprintjs.com/docs/#core/components/skeleton)
|
||||
|
@ -90,19 +86,19 @@ Roadmap
|
|||
- [x] [Tree](https://blueprintjs.com/docs/#core/components/tree)
|
||||
- depends on: Collapse, Icon
|
||||
- [ ] [FormGroup](https://blueprintjs.com/docs/#core/components/form-group)
|
||||
- [ ] [ControlGroup](https://blueprintjs.com/docs/#core/components/control-group)
|
||||
- [x] [ControlGroup](https://blueprintjs.com/docs/#core/components/control-group)
|
||||
- [ ] [Label](https://blueprintjs.com/docs/#core/components/label)
|
||||
- [ ] [Checkbox](https://blueprintjs.com/docs/#core/components/checkbox)
|
||||
- [ ] [RadioGroup](https://blueprintjs.com/docs/#core/components/radio)
|
||||
- [ ] [Sliders](https://blueprintjs.com/docs/#core/components/sliders)
|
||||
- [x] [Checkbox](https://blueprintjs.com/docs/#core/components/checkbox)
|
||||
- [x] [RadioGroup](https://blueprintjs.com/docs/#core/components/radio)
|
||||
- [x] [Sliders](https://blueprintjs.com/docs/#core/components/sliders)
|
||||
- [ ] [RangeSlider](https://blueprintjs.com/docs/#core/components/sliders.range-slider)
|
||||
- [ ] [MultiSlider](https://blueprintjs.com/docs/#core/components/sliders.multi-slider)
|
||||
- [x] [Switch](https://blueprintjs.com/docs/#core/components/switch)
|
||||
- [ ] Complete Switch API
|
||||
- [ ] [FileInput](https://blueprintjs.com/docs/#core/components/file-input)
|
||||
- [ ] [NumericInput](https://blueprintjs.com/docs/#core/components/numeric-input)
|
||||
- [ ] [InputGroup](https://blueprintjs.com/docs/#core/components/text-inputs.input-group)
|
||||
- [ ] [TextArea](https://blueprintjs.com/docs/#core/components/text-inputs.text-area)
|
||||
- [x] [NumericInput](https://blueprintjs.com/docs/#core/components/numeric-input)
|
||||
- [x] [InputGroup](https://blueprintjs.com/docs/#core/components/text-inputs.input-group)
|
||||
- [x] [TextArea](https://blueprintjs.com/docs/#core/components/text-inputs.text-area)
|
||||
- [ ] [TagInput](https://blueprintjs.com/docs/#core/components/tag-input)
|
||||
- [ ] [Overlay](https://blueprintjs.com/docs/#core/components/overlay)
|
||||
- depends on: Portal
|
||||
|
|
47
src/main.rs
47
src/main.rs
|
@ -14,7 +14,11 @@ enum Cli {
|
|||
UpdateCss,
|
||||
}
|
||||
|
||||
fn pre_build(_args: &DefaultBuildArgs, profile: BuildProfile, cargo: &mut Command) -> Result<()> {
|
||||
fn pre_build(args: &DefaultBuildArgs, profile: BuildProfile, cargo: &mut Command) -> Result<()> {
|
||||
let package = args.frontend_package();
|
||||
|
||||
download_css(package, false)?;
|
||||
|
||||
match profile {
|
||||
BuildProfile::Profiling | BuildProfile::Release => {
|
||||
cargo.args(&["--features", "wee_alloc"]);
|
||||
|
@ -31,29 +35,28 @@ fn pre_build(_args: &DefaultBuildArgs, profile: BuildProfile, cargo: &mut Comman
|
|||
fn other_cli_commands(cli: Cli, _metadata: &Metadata, package: &Package) -> Result<()> {
|
||||
match cli {
|
||||
Cli::UpdateCss => {
|
||||
yewprint_css::download_css(
|
||||
&package
|
||||
.manifest_path
|
||||
.parent()
|
||||
.unwrap()
|
||||
.join("static")
|
||||
.join("blueprint.css"),
|
||||
)?;
|
||||
|
||||
let version = yewprint_css::download_from_npm_package(
|
||||
"@blueprintjs/docs-theme",
|
||||
Path::new("package/lib/css/docs-theme.css"),
|
||||
&package
|
||||
.manifest_path
|
||||
.parent()
|
||||
.unwrap()
|
||||
.join("static")
|
||||
.join("docs-theme.css"),
|
||||
)
|
||||
.context("while downloading CSS of @blueprintjs/docs-theme")?;
|
||||
println!("Docs Theme CSS updated to: {}", version);
|
||||
download_css(package, true)?;
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn download_css(package: &Package, force: bool) -> Result<()> {
|
||||
let static_path = package.manifest_path.parent().unwrap().join("static");
|
||||
let css_path = static_path.join("blueprint.css");
|
||||
|
||||
if force || !css_path.exists() {
|
||||
yewprint_css::download_css(&css_path)?;
|
||||
|
||||
let version = yewprint_css::download_from_npm_package(
|
||||
"@blueprintjs/docs-theme",
|
||||
Path::new("package/lib/css/docs-theme.css"),
|
||||
&static_path.join("docs-theme.css"),
|
||||
)
|
||||
.context("while downloading CSS of @blueprintjs/docs-theme")?;
|
||||
log::info!("Docs Theme CSS updated to: {}", version);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -1,14 +1,22 @@
|
|||
[package]
|
||||
name = "yewprint-css"
|
||||
version = "0.1.0"
|
||||
version = "0.0.0"
|
||||
authors = ["Cecile Tonglet <cecile.tonglet@cecton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "CSS download helper for Yewprint"
|
||||
repository = "https://github.com/yewprint/yewprint"
|
||||
homepage = "https://github.com/yewprint/yewprint"
|
||||
documentation = "https://docs.rs/yewprint-css"
|
||||
readme = "README.md"
|
||||
include = ["src/**/*.rs", "README.md", "LICENSE.Apache-2.0", "LICENSE.MIT"]
|
||||
keywords = ["blueprint", "yew", "ui", "css"]
|
||||
categories = ["gui"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
flate2 = "1"
|
||||
log = "0.4"
|
||||
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
tar = "0.4"
|
||||
|
|
1
yewprint-css/LICENSE.Apache-2.0
Symbolic link
1
yewprint-css/LICENSE.Apache-2.0
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.Apache-2.0
|
1
yewprint-css/LICENSE.MIT
Symbolic link
1
yewprint-css/LICENSE.MIT
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.MIT
|
1
yewprint-css/README.md
Symbolic link
1
yewprint-css/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../README.md
|
|
@ -10,7 +10,7 @@ pub fn download_css(dest: impl AsRef<Path>) -> Result<()> {
|
|||
dest,
|
||||
)
|
||||
.context("while downloading CSS of @blueprintjs/core")?;
|
||||
println!("Blueprint CSS updated to: {}", version);
|
||||
log::info!("Blueprint CSS updated to: {}", version);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,838 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
.docs-api-drawer .docs-modifiers{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column;
|
||||
height:100%;
|
||||
margin:0; }
|
||||
|
||||
.docs-api-drawer .docs-interface-header{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex:0 0 auto;
|
||||
flex:0 0 auto;
|
||||
padding:10px 20px; }
|
||||
.docs-api-drawer .docs-interface-header + .docs-section{
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0;
|
||||
padding-left:20px;
|
||||
padding-right:20px; }
|
||||
|
||||
.docs-api-drawer .docs-modifiers-table{
|
||||
overflow:auto;
|
||||
padding-bottom:20px; }
|
||||
.docs-api-drawer .docs-modifiers-table th:first-child,
|
||||
.docs-api-drawer .docs-modifiers-table td:first-child{
|
||||
padding-left:20px; }
|
||||
.docs-api-drawer .docs-modifiers-table td:last-child{
|
||||
padding-right:20px; }
|
||||
|
||||
.docs-api-drawer.bp3-dark .docs-modifiers{
|
||||
background-color:#394b59;
|
||||
-webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
|
||||
box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4); }
|
||||
|
||||
.docs-code{
|
||||
font-family:monospace;
|
||||
font-weight:600; }
|
||||
.docs-banner{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
word-wrap:normal;
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
-webkit-box-shadow:inset 0 -1px 0 rgba(16, 22, 26, 0.15);
|
||||
box-shadow:inset 0 -1px 0 rgba(16, 22, 26, 0.15);
|
||||
color:#ffffff !important;
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex:0 0 auto;
|
||||
flex:0 0 auto;
|
||||
-webkit-box-pack:center;
|
||||
-ms-flex-pack:center;
|
||||
justify-content:center;
|
||||
left:0;
|
||||
min-height:40px;
|
||||
padding:10px 20px;
|
||||
position:fixed;
|
||||
right:0;
|
||||
text-align:center;
|
||||
top:0;
|
||||
z-index:19; }
|
||||
.docs-banner > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-banner > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-banner.bp3-intent-primary{
|
||||
background:#137cbd; }
|
||||
.docs-banner.bp3-intent-primary:hover{
|
||||
background:#106ba3; }
|
||||
.docs-banner.bp3-intent-primary:active{
|
||||
background:#0e5a8a; }
|
||||
.docs-banner.bp3-intent-success{
|
||||
background:#0f9960; }
|
||||
.docs-banner.bp3-intent-success:hover{
|
||||
background:#0d8050; }
|
||||
.docs-banner.bp3-intent-success:active{
|
||||
background:#0a6640; }
|
||||
.docs-banner.bp3-intent-warning{
|
||||
background:#d9822b; }
|
||||
.docs-banner.bp3-intent-warning:hover{
|
||||
background:#bf7326; }
|
||||
.docs-banner.bp3-intent-warning:active{
|
||||
background:#a66321; }
|
||||
.docs-banner.bp3-intent-danger{
|
||||
background:#db3737; }
|
||||
.docs-banner.bp3-intent-danger:hover{
|
||||
background:#c23030; }
|
||||
.docs-banner.bp3-intent-danger:active{
|
||||
background:#a82a2a; }
|
||||
.docs-banner:hover{
|
||||
text-decoration:none; }
|
||||
.bp3-dark .docs-banner{
|
||||
-webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
|
||||
box-shadow:0 1px 0 rgba(16, 22, 26, 0.15); }
|
||||
.docs-banner + .docs-app{
|
||||
padding-top:40px; }
|
||||
.docs-banner + .docs-app .docs-nav{
|
||||
height:calc(100vh - 40px); }
|
||||
.docs-banner + .docs-app .docs-anchor{
|
||||
margin-top:-80px; }
|
||||
.docs-title{
|
||||
margin:40px 0 20px;
|
||||
position:relative; }
|
||||
.depth-1 > .docs-title{
|
||||
margin-top:20px; }
|
||||
|
||||
.docs-anchor{
|
||||
margin-top:-40px;
|
||||
position:absolute; }
|
||||
|
||||
.docs-anchor-link{
|
||||
color:#5c7080;
|
||||
left:0;
|
||||
line-height:16px;
|
||||
opacity:0;
|
||||
padding:10px;
|
||||
position:absolute;
|
||||
top:50%;
|
||||
-webkit-transform:translate(-100%, -50%);
|
||||
transform:translate(-100%, -50%); }
|
||||
.docs-anchor-link:hover{
|
||||
color:#182026; }
|
||||
.bp3-dark .docs-anchor-link{
|
||||
color:#a7b6c2; }
|
||||
.bp3-dark .docs-anchor-link:hover{
|
||||
color:#f5f8fa; }
|
||||
.docs-anchor-link .bp3-icon-standard{
|
||||
vertical-align:top; }
|
||||
.docs-anchor-link:focus,
|
||||
.docs-title:hover .docs-anchor-link{
|
||||
opacity:1; }
|
||||
|
||||
.docs-markup .editor{
|
||||
margin:0; }
|
||||
|
||||
.editor{
|
||||
color:inherit;
|
||||
overflow:auto; }
|
||||
.editor .line{
|
||||
line-height:1.5;
|
||||
padding-right:20px;
|
||||
white-space:nowrap; }
|
||||
.editor .support.constant.handlebars{
|
||||
display:none; }
|
||||
.editor .support.constant.handlebars + span{
|
||||
background:rgba(194, 116, 194, 0.15);
|
||||
border-radius:3px;
|
||||
color:#c274c2;
|
||||
padding:0 3px; }
|
||||
.editor .support.constant.handlebars + .variable{
|
||||
background:rgba(245, 73, 139, 0.15);
|
||||
color:#f5498b; }
|
||||
|
||||
.docs-example-frame{
|
||||
margin-top:40px;
|
||||
position:relative;
|
||||
width:100%; }
|
||||
|
||||
.docs-example-frame-row{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row; }
|
||||
.docs-example-frame-row > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-example-frame-row > .docs-example{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-example-frame-row::before,
|
||||
.docs-example-frame-row > *{
|
||||
margin-right:10px; }
|
||||
.docs-example-frame-row:empty::before,
|
||||
.docs-example-frame-row > :last-child{
|
||||
margin-right:0; }
|
||||
.docs-example-frame-row .docs-example-options{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column;
|
||||
max-width:300px; }
|
||||
.docs-example-frame-row .docs-example-options > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-example-frame-row .docs-example-options > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-example-frame-row .docs-example-options::before,
|
||||
.docs-example-frame-row .docs-example-options > *{
|
||||
margin-bottom:10px; }
|
||||
.docs-example-frame-row .docs-example-options:empty::before,
|
||||
.docs-example-frame-row .docs-example-options > :last-child{
|
||||
margin-bottom:0; }
|
||||
|
||||
.docs-example-frame-column{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column; }
|
||||
.docs-example-frame-column > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-example-frame-column > .docs-example{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-example-frame-column::before,
|
||||
.docs-example-frame-column > *{
|
||||
margin-bottom:10px; }
|
||||
.docs-example-frame-column:empty::before,
|
||||
.docs-example-frame-column > :last-child{
|
||||
margin-bottom:0; }
|
||||
.docs-example-frame-column .docs-example-options{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
-webkit-box-pack:center;
|
||||
-ms-flex-pack:center;
|
||||
justify-content:center;
|
||||
max-width:unset; }
|
||||
.docs-example-frame-column .docs-example-options > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-example-frame-column .docs-example-options > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-example-frame-column .docs-example-options::before,
|
||||
.docs-example-frame-column .docs-example-options > *{
|
||||
margin-right:40px; }
|
||||
.docs-example-frame-column .docs-example-options:empty::before,
|
||||
.docs-example-frame-column .docs-example-options > :last-child{
|
||||
margin-right:0; }
|
||||
|
||||
.docs-example{
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
background:#ffffff;
|
||||
border-radius:6px;
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex:1 1 auto;
|
||||
flex:1 1 auto;
|
||||
-ms-flex-wrap:wrap;
|
||||
flex-wrap:wrap;
|
||||
-webkit-box-pack:center;
|
||||
-ms-flex-pack:center;
|
||||
justify-content:center;
|
||||
max-width:100%;
|
||||
min-width:0;
|
||||
padding:20px; }
|
||||
.bp3-dark .docs-example{
|
||||
background:#293742; }
|
||||
.docs-example > *{
|
||||
margin:20px; }
|
||||
|
||||
.docs-example-options{
|
||||
background-color:#ebf1f5;
|
||||
border-radius:6px;
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex:0 0 auto;
|
||||
flex:0 0 auto;
|
||||
padding:20px;
|
||||
text-align:left; }
|
||||
.docs-example-options .bp3-heading:not(:first-child){
|
||||
margin-top:10px; }
|
||||
.docs-example-options .docs-prop-description{
|
||||
font-size:12px; }
|
||||
.docs-example-options .bp3-control:last-child,
|
||||
.docs-example-options .bp3-form-group:last-child,
|
||||
.docs-example-options .bp3-label:last-child{
|
||||
margin-bottom:0; }
|
||||
.bp3-dark .docs-example-options{
|
||||
background-color:#394b59; }
|
||||
|
||||
.docs-example-markup{
|
||||
margin-top:10px; }
|
||||
.docs-example-markup .editor{
|
||||
background:#ebf1f5;
|
||||
border-radius:6px;
|
||||
-webkit-box-shadow:none;
|
||||
box-shadow:none;
|
||||
margin:0; }
|
||||
.bp3-dark .docs-example-markup .editor{
|
||||
background:#394b59;
|
||||
-webkit-box-shadow:none;
|
||||
box-shadow:none; }
|
||||
|
||||
.docs-example-view-source{
|
||||
border-radius:6px;
|
||||
display:block;
|
||||
margin-bottom:40px;
|
||||
margin-top:10px; }
|
||||
.docs-example-view-source.bp3-button{
|
||||
height:40px;
|
||||
-webkit-transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
|
||||
transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9); }
|
||||
.docs-example-view-source:not(:hover):not(:active){
|
||||
background-color:#ebf1f5; }
|
||||
.bp3-dark .docs-example-view-source:not(:hover):not(:active){
|
||||
background-color:#394b59; }
|
||||
|
||||
.bp3-code[data-modifier^=":"]{
|
||||
color:#c274c2; }
|
||||
|
||||
.bp3-code[data-modifier^="."]{
|
||||
color:#f5498b; }
|
||||
body{
|
||||
overflow-y:scroll; }
|
||||
.docs-flex-row{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row; }
|
||||
.docs-flex-row > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-flex-row > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
|
||||
.docs-flex-column{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column; }
|
||||
.docs-flex-column > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-flex-column > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-root{
|
||||
background-color:#f5f8fa; }
|
||||
.docs-root.bp3-dark{
|
||||
background-color:#30404d; }
|
||||
|
||||
.docs-app{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
margin:auto;
|
||||
max-width:1100px;
|
||||
min-height:100vh; }
|
||||
.docs-app > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-app > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
|
||||
.docs-nav-wrapper{
|
||||
-ms-flex-preferred-size:270px;
|
||||
flex-basis:270px;
|
||||
position:relative;
|
||||
z-index:10; }
|
||||
|
||||
.docs-nav{
|
||||
background-color:#ffffff;
|
||||
-webkit-box-shadow:1px 0 0 rgba(16, 22, 26, 0.15);
|
||||
box-shadow:1px 0 0 rgba(16, 22, 26, 0.15);
|
||||
height:100vh;
|
||||
margin-left:-999px;
|
||||
overflow-y:auto;
|
||||
padding-bottom:30px;
|
||||
padding-left:1004px;
|
||||
position:fixed;
|
||||
width:1269px; }
|
||||
.bp3-dark .docs-nav{
|
||||
background-color:#394b59;
|
||||
-webkit-box-shadow:1px 0 0 rgba(16, 22, 26, 0.4);
|
||||
box-shadow:1px 0 0 rgba(16, 22, 26, 0.4); }
|
||||
.docs-nav > *{
|
||||
padding:15px;
|
||||
padding-left:0; }
|
||||
|
||||
.docs-content-wrapper{
|
||||
-webkit-box-align:start;
|
||||
-ms-flex-align:start;
|
||||
align-items:flex-start;
|
||||
background-color:#f5f8fa;
|
||||
-ms-flex-preferred-size:830px;
|
||||
flex-basis:830px;
|
||||
outline:none; }
|
||||
.bp3-dark .docs-content-wrapper{
|
||||
background-color:#30404d; }
|
||||
|
||||
.docs-page{
|
||||
max-width:830px;
|
||||
padding-bottom:40px;
|
||||
padding-left:40px;
|
||||
padding-right:5px;
|
||||
padding-top:0;
|
||||
position:relative; }
|
||||
|
||||
.docs-page-actions{
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:5px;
|
||||
z-index:1; }
|
||||
.docs-nav-menu .bp3-menu-item{
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
padding-left:0;
|
||||
padding-right:10px;
|
||||
white-space:initial; }
|
||||
.docs-nav-menu .bp3-menu-item:hover, .docs-nav-menu .bp3-menu-item.bp3-active, .docs-nav-menu .bp3-menu-item.docs-nav-expanded{
|
||||
background-color:transparent !important;
|
||||
font-weight:600; }
|
||||
.docs-nav-menu .bp3-menu-item.depth-1{
|
||||
padding-left:20px; }
|
||||
.docs-nav-menu .bp3-menu-item.depth-2{
|
||||
padding-left:40px; }
|
||||
.docs-nav-menu .bp3-menu-item.depth-3{
|
||||
padding-left:60px; }
|
||||
.docs-nav-menu .bp3-menu-item.depth-4{
|
||||
padding-left:80px; }
|
||||
.docs-nav-menu .bp3-menu-item.depth-5{
|
||||
padding-left:100px; }
|
||||
|
||||
.docs-nav-menu .docs-nav-menu{
|
||||
display:none;
|
||||
margin-left:20px; }
|
||||
|
||||
.docs-nav-expanded + .docs-nav-menu{
|
||||
display:block; }
|
||||
|
||||
.docs-nav-title{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center; }
|
||||
.docs-nav-title > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-nav-title > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
|
||||
.docs-empty-state{
|
||||
display:none; }
|
||||
|
||||
.docs-nav-menu:empty + .docs-empty-state{
|
||||
display:block; }
|
||||
|
||||
.docs-examples-only .docs-markup,
|
||||
.docs-examples-only .docs-modifiers,
|
||||
.docs-examples-only .docs-title,
|
||||
.docs-examples-only .docs-section > .bp3-running-text{
|
||||
display:none; }
|
||||
.docs-nav-button{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
cursor:pointer;
|
||||
margin-left:-50px;
|
||||
padding:10px 15px;
|
||||
padding-left:54px; }
|
||||
.docs-nav-button > *{
|
||||
-webkit-box-flex:0;
|
||||
-ms-flex-positive:0;
|
||||
flex-grow:0;
|
||||
-ms-flex-negative:0;
|
||||
flex-shrink:0; }
|
||||
.docs-nav-button > .bp3-fill{
|
||||
-webkit-box-flex:1;
|
||||
-ms-flex-positive:1;
|
||||
flex-grow:1;
|
||||
-ms-flex-negative:1;
|
||||
flex-shrink:1; }
|
||||
.docs-nav-button::before,
|
||||
.docs-nav-button > *{
|
||||
margin-right:14px; }
|
||||
.docs-nav-button:empty::before,
|
||||
.docs-nav-button > :last-child{
|
||||
margin-right:0; }
|
||||
.docs-nav-button:hover{
|
||||
background-image:-webkit-gradient(linear, left top, right top, from(rgba(245, 248, 250, 0)), color-stop(40%, #f5f8fa));
|
||||
background-image:linear-gradient(to right, rgba(245, 248, 250, 0) 0%, #f5f8fa 40%);
|
||||
color:inherit; }
|
||||
.bp3-dark .docs-nav-button:hover{
|
||||
background-image:-webkit-gradient(linear, left top, right top, from(rgba(48, 64, 77, 0)), color-stop(40%, #30404d));
|
||||
background-image:linear-gradient(to right, rgba(48, 64, 77, 0) 0%, #30404d 40%); }
|
||||
|
||||
.docs-nav-divider{
|
||||
background-image:-webkit-gradient(linear, left top, right top, from(rgba(16, 22, 26, 0)), color-stop(40%, rgba(16, 22, 26, 0.15)));
|
||||
background-image:linear-gradient(to right, rgba(16, 22, 26, 0) 0%, rgba(16, 22, 26, 0.15) 40%);
|
||||
background-image:linear-gradient(to right, rgba(16, 22, 26, 0) 0%, rgba(16, 22, 26, 0.15) 40%);
|
||||
height:1px;
|
||||
margin-left:-50px;
|
||||
padding:0; }
|
||||
.bp3-dark .docs-nav-divider{
|
||||
background-image:-webkit-gradient(linear, left top, right top, from(rgba(16, 22, 26, 0)), color-stop(40%, rgba(16, 22, 26, 0.4)));
|
||||
background-image:linear-gradient(to right, rgba(16, 22, 26, 0) 0%, rgba(16, 22, 26, 0.4) 40%); }
|
||||
|
||||
.docs-navigator-menu{
|
||||
left:calc(50% - 200px);
|
||||
width:400px; }
|
||||
.docs-navigator-menu .bp3-menu-item small{
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex; }
|
||||
.docs-navigator-menu .bp3-menu-item.bp3-active small{
|
||||
color:rgba(255, 255, 255, 0.7); }
|
||||
|
||||
table{
|
||||
width:100%; }
|
||||
|
||||
input[type="search"]{
|
||||
-webkit-box-sizing:border-box;
|
||||
box-sizing:border-box; }
|
||||
|
||||
.bp3-callout p:last-child{
|
||||
margin:0; }
|
||||
|
||||
.docs-prop-details code{
|
||||
background:none !important;
|
||||
-webkit-box-shadow:none !important;
|
||||
box-shadow:none !important;
|
||||
color:inherit !important;
|
||||
font-size:small;
|
||||
font-weight:600;
|
||||
padding:0; }
|
||||
|
||||
.docs-prop-default{
|
||||
font-weight:400; }
|
||||
.docs-prop-default:empty{
|
||||
display:none; }
|
||||
.docs-prop-default::before{
|
||||
content:"=";
|
||||
display:inline-block;
|
||||
margin:0 5px; }
|
||||
|
||||
.docs-prop-description{
|
||||
margin-top:5px; }
|
||||
.docs-prop-description p:last-child{
|
||||
margin:0; }
|
||||
|
||||
.docs-prop-tags:empty{
|
||||
display:none; }
|
||||
|
||||
.docs-prop-tags .bp3-tag{
|
||||
margin-right:10px;
|
||||
margin-top:5px; }
|
||||
|
||||
.docs-prop-name code::after{
|
||||
font-family:"Icons16", sans-serif;
|
||||
font-size:16px;
|
||||
font-style:normal;
|
||||
font-weight:400;
|
||||
line-height:1;
|
||||
-moz-osx-font-smoothing:grayscale;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
line-height:small;
|
||||
margin-left:5px;
|
||||
vertical-align:middle; }
|
||||
|
||||
.docs-prop-is-deprecated code{
|
||||
color:#db3737; }
|
||||
.docs-prop-is-deprecated code::after{
|
||||
content:""; }
|
||||
|
||||
.docs-prop-is-required code{
|
||||
color:#0f9960; }
|
||||
.bp3-dark .docs-prop-is-required code{
|
||||
color:#15b371; }
|
||||
.docs-prop-is-required code::after{
|
||||
content:""; }
|
||||
|
||||
.docs-interface-header{
|
||||
-webkit-box-align:center;
|
||||
-ms-flex-align:center;
|
||||
align-items:center;
|
||||
-webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
|
||||
box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
font-family:monospace;
|
||||
font-size:16px;
|
||||
font-weight:600;
|
||||
-webkit-box-pack:justify;
|
||||
-ms-flex-pack:justify;
|
||||
justify-content:space-between;
|
||||
padding:10px 0;
|
||||
position:relative; }
|
||||
.docs-interface-header + .docs-section{
|
||||
-webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
|
||||
box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column;
|
||||
margin-top:10px; }
|
||||
.bp3-dark .docs-interface-header{
|
||||
-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.15);
|
||||
box-shadow:0 1px 0 rgba(255, 255, 255, 0.15); }
|
||||
.bp3-dark .docs-interface-header + .docs-section{
|
||||
-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.15);
|
||||
box-shadow:0 1px 0 rgba(255, 255, 255, 0.15); }
|
||||
|
||||
.docs-package-name{
|
||||
margin-top:2px; }
|
||||
|
||||
.docs-type-alias{
|
||||
overflow:auto;
|
||||
padding:10px 20px; }
|
||||
|
||||
.docs-section .docs-modifiers-table .bp3-html-table{
|
||||
margin-top:10px; }
|
||||
|
||||
.docs-modifiers-table th:first-child,
|
||||
.docs-modifiers-table td:first-child{
|
||||
padding-left:0; }
|
||||
|
||||
.docs-modifiers-table tr:last-child td{
|
||||
padding-bottom:0; }
|
||||
|
||||
.docs-modifiers{
|
||||
margin-bottom:40px;
|
||||
margin-top:20px; }
|
||||
|
||||
.editor-colors{
|
||||
background:#ffffff;
|
||||
color:#182026; }
|
||||
.editor-colors .entity.name,
|
||||
.editor-colors .entity.inherited-class,
|
||||
.editor-colors .meta.name,
|
||||
.editor-colors .support.type{
|
||||
color:#bf8c0a; }
|
||||
.editor-colors .brace{
|
||||
color:#293742; }
|
||||
.editor-colors .support{
|
||||
color:#00b3a4; }
|
||||
.editor-colors .entity.attribute-name{
|
||||
color:#d9822b; }
|
||||
.editor-colors .entity.function{
|
||||
color:#137cbd; }
|
||||
.editor-colors .entity.id{
|
||||
color:#bf8c0a; }
|
||||
.editor-colors .entity.pseudo-class{
|
||||
color:#c22762; }
|
||||
.editor-colors .entity.pseudo-element{
|
||||
color:#29a634; }
|
||||
.editor-colors .entity.tag{
|
||||
color:#29a634; }
|
||||
.editor-colors .class.component{
|
||||
color:#29a634; }
|
||||
.editor-colors .keyword{
|
||||
color:#a854a8; }
|
||||
.editor-colors .numeric{
|
||||
color:#c22762; }
|
||||
.editor-colors .operator{
|
||||
color:#a854a8; }
|
||||
.editor-colors .punctuation{
|
||||
color:#293742; }
|
||||
.editor-colors .storage{
|
||||
color:#a854a8; }
|
||||
.editor-colors .string{
|
||||
color:#87a629; }
|
||||
.editor-colors .variable{
|
||||
color:#00998c; }
|
||||
.editor-colors .comment{
|
||||
color:#738694; }
|
||||
.editor-colors .variable.property,
|
||||
.editor-colors .support.type.scss,
|
||||
.editor-colors .punctuation.definition.css{
|
||||
color:inherit; }
|
||||
.editor-colors .variable.constant,
|
||||
.editor-colors .variable.language{
|
||||
color:#00b3a4; }
|
||||
.editor-colors .punctuation.section.embedded{
|
||||
color:#a854a8; }
|
||||
.editor-colors .meta.type{
|
||||
font-style:italic; }
|
||||
.bp3-dark .editor-colors{
|
||||
background:#202b33;
|
||||
color:#bfccd6; }
|
||||
.bp3-dark .editor-colors .entity.name,
|
||||
.bp3-dark .editor-colors .entity.inherited-class,
|
||||
.bp3-dark .editor-colors .meta.name,
|
||||
.bp3-dark .editor-colors .support.type{
|
||||
color:#f2b824; }
|
||||
.bp3-dark .editor-colors .brace{
|
||||
color:#f5f8fa; }
|
||||
.bp3-dark .editor-colors .support{
|
||||
color:#2ee6d6; }
|
||||
.bp3-dark .editor-colors .entity.attribute-name{
|
||||
color:#f29d49; }
|
||||
.bp3-dark .editor-colors .entity.function{
|
||||
color:#2b95d6; }
|
||||
.bp3-dark .editor-colors .entity.id{
|
||||
color:#ffc940; }
|
||||
.bp3-dark .editor-colors .entity.pseudo-class{
|
||||
color:#db2c6f; }
|
||||
.bp3-dark .editor-colors .entity.pseudo-element{
|
||||
color:#29a634; }
|
||||
.bp3-dark .editor-colors .entity.tag{
|
||||
color:#29a634; }
|
||||
.bp3-dark .editor-colors .class.component{
|
||||
color:#29a634; }
|
||||
.bp3-dark .editor-colors .keyword{
|
||||
color:#a854a8; }
|
||||
.bp3-dark .editor-colors .numeric{
|
||||
color:#f5498b; }
|
||||
.bp3-dark .editor-colors .operator{
|
||||
color:#c274c2; }
|
||||
.bp3-dark .editor-colors .punctuation{
|
||||
color:#f5f8fa; }
|
||||
.bp3-dark .editor-colors .storage{
|
||||
color:#a854a8; }
|
||||
.bp3-dark .editor-colors .string{
|
||||
color:#b6d94c; }
|
||||
.bp3-dark .editor-colors .variable{
|
||||
color:#00b3a4; }
|
||||
.bp3-dark .editor-colors .comment{
|
||||
color:#738694; }
|
||||
.bp3-dark .editor-colors .variable.property,
|
||||
.bp3-dark .editor-colors .support.type.scss,
|
||||
.bp3-dark .editor-colors .punctuation.definition.css{
|
||||
color:inherit; }
|
||||
.bp3-dark .editor-colors .variable.constant,
|
||||
.bp3-dark .editor-colors .variable.language{
|
||||
color:#2ee6d6; }
|
||||
.bp3-dark .editor-colors .punctuation.section.embedded{
|
||||
color:#c274c2; }
|
||||
/*# sourceMappingURL=docs-theme.css.map */
|
|
@ -13,7 +13,7 @@
|
|||
<title>Yewprint</title>
|
||||
<script type="module">
|
||||
import init from "/app.js";
|
||||
init();
|
||||
init(new URL('app_bg.wasm', import.meta.url));
|
||||
</script>
|
||||
<link rel="icon" href="/favicon.svg">
|
||||
<link rel="stylesheet" href="/blueprint.css">
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
[package]
|
||||
name = "yewprint"
|
||||
version = "0.1.0"
|
||||
version = "0.0.0"
|
||||
authors = ["Cecile Tonglet <cecile.tonglet@cecton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Port of blueprintjs.com to Yew"
|
||||
repository = "https://github.com/yewprint/yewprint"
|
||||
homepage = "https://github.com/yewprint/yewprint"
|
||||
documentation = "https://docs.rs/yewprint"
|
||||
readme = "README.md"
|
||||
include = ["src/**/*.rs", "README.md", "LICENSE.Apache-2.0", "LICENSE.MIT"]
|
||||
keywords = ["blueprint", "yew", "ui"]
|
||||
categories = ["gui"]
|
||||
|
||||
[features]
|
||||
default = ["tree"]
|
||||
|
|
1
yewprint/LICENSE.Apache-2.0
Symbolic link
1
yewprint/LICENSE.Apache-2.0
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.Apache-2.0
|
1
yewprint/LICENSE.MIT
Symbolic link
1
yewprint/LICENSE.MIT
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.MIT
|
1
yewprint/README.md
Symbolic link
1
yewprint/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../README.md
|
Loading…
Reference in a new issue