Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiny Components #8

Closed
wants to merge 99 commits into from
Closed
Show file tree
Hide file tree
Changes from 97 commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
ccca7c3
WIP: Components section initial commit
Oct 23, 2023
d483ffd
scss
Oct 27, 2023
0c71154
template
Oct 27, 2023
8b66f95
list page rough layout and images
Oct 27, 2023
9520b83
Adds component detail files for
garrettgman Nov 3, 2023
8f23d84
Components area with placeholder content
Nov 4, 2023
03f5909
components sidebar styling
Nov 5, 2023
1e77fbf
Inputs / outputs content
Nov 5, 2023
134ff0f
Merges updates from components branch
garrettgman Nov 8, 2023
c876a36
Adds help text detail page
garrettgman Nov 8, 2023
969638a
first draft component output matplotlib figure
chendaniely Nov 8, 2023
8c67961
Adds tooltips detail page
garrettgman Nov 8, 2023
112c171
add ui-object page
skaltman Nov 9, 2023
6dbfec0
change file name
skaltman Nov 9, 2023
af64393
Adds modal messages
garrettgman Nov 9, 2023
ea75e5a
Adds notifications detail page
garrettgman Nov 9, 2023
7a5bb40
limit text to just the shiny aspects
chendaniely Nov 9, 2023
bdeb24c
tweak wording
skaltman Nov 9, 2023
aca1736
remove numpy import
chendaniely Nov 9, 2023
0b1d9c9
add toggle variation
skaltman Nov 9, 2023
5cf3974
add highlighting
skaltman Nov 9, 2023
6c95734
fix up matplotlib text to match seaborn
chendaniely Nov 9, 2023
2c92c2a
fix and add bullet points
chendaniely Nov 9, 2023
efa1adf
output component plot for seaborn, match matchmatplotlib
chendaniely Nov 9, 2023
d79d32d
Merge pull request #17 from posit-dev/components-ui-html
gregswinehart Nov 9, 2023
1598521
Adds progress bar
garrettgman Nov 9, 2023
8f43eec
add to sidebar nav, indentation fix
Nov 9, 2023
2474aaf
Adds QAs
garrettgman Nov 9, 2023
25ae3cc
Update components/display-messages/help-text.qmd
garrettgman Nov 9, 2023
1579848
Adds missing hyphens
garrettgman Nov 9, 2023
7bfa3aa
Update components/display-messages/notifications.qmd
garrettgman Nov 9, 2023
3edf1bb
Update components/display-messages/tooltips.qmd
garrettgman Nov 9, 2023
d966890
Update components/display-messages/tooltips.qmd
garrettgman Nov 9, 2023
2ffcd5b
Update components/display-messages/tooltips.qmd
garrettgman Nov 9, 2023
fe1b5c1
styling fixes
Nov 9, 2023
021d90e
Merge pull request #18 from posit-dev/components-garrett
gregswinehart Nov 9, 2023
e8769ed
create plotly component example
chendaniely Nov 10, 2023
a0dade8
Component: output value_box
chendaniely Nov 10, 2023
8c665f0
ipyleaflet component
chendaniely Nov 10, 2023
3b4907b
fix indendation for render
chendaniely Nov 10, 2023
a4a05fa
update requirements.txt
chendaniely Nov 10, 2023
2443602
Merge pull request #23 from posit-dev/fix-help-text-indentation
gregswinehart Nov 10, 2023
c5b1ef4
Merge pull request #24 from posit-dev/update-requirements
gregswinehart Nov 10, 2023
c1bb91c
move details section to .qmd body
Nov 13, 2023
193d02b
previewapp updates
Nov 13, 2023
4fec246
remove placeholder variations
Nov 13, 2023
93fd341
ejs spacing, preview fix
Nov 13, 2023
dd92384
Merge branch 'main' into components
gregswinehart Nov 13, 2023
01d0358
update inputs
Nov 13, 2023
5f56644
inputs cleanup
Nov 13, 2023
3c95002
Merge branch 'component-output-plot_matplotlib' into components
Nov 13, 2023
6ce31a4
Merge commit 'efa1adfef8834c44736e9b57bb8f267126011bc7' into components
Nov 13, 2023
f618bfe
Merge commit 'e8769edfa43e548cb30fe96e2127aae92a1b71c1' into components
Nov 13, 2023
431af67
move seaborn details
Nov 13, 2023
430da3c
Merge commit 'a0dade8a5bfe35eede08ad5d00eba0f5a951e255' into components
Nov 13, 2023
09d335d
Merge commit '8c665f01c5a6564531dfe97d98888d56faa46faf' into components
Nov 13, 2023
05c4861
sidebar additions, fix yml on matplotlib
Nov 14, 2023
ff975a1
filters are in _metadata.yml, card transition
Nov 14, 2023
86105ba
Updates "See...below." to "See...variation." in select input detail p…
garrettgman Nov 14, 2023
d418f99
Changes example text in Text Area to Hello World
garrettgman Nov 14, 2023
4dafb17
Adds instructions re @render.table to datagrid and datatable.
garrettgman Nov 14, 2023
53ee89c
Requested changes to maps and plotly output
garrettgman Nov 14, 2023
8047bf7
Adds see also section to UI output
garrettgman Nov 14, 2023
4b486f6
Adds text to sliders about datetime module.
garrettgman Nov 14, 2023
f3a4fab
inputs details
Nov 15, 2023
c76510c
plot previews
Nov 15, 2023
af75530
redo Garrett's pass
Nov 15, 2023
efad7a7
add variation preview height to ejs, defaults to 150px
Nov 15, 2023
37a664d
value-box example heights
Nov 15, 2023
b9bdf24
Mentions `matplot.pyplot` in matplot output page.
garrettgman Nov 15, 2023
c4ad06c
Adds plots as inputs information and link suggestions
garrettgman Nov 15, 2023
813734e
markdownify and add links
Nov 16, 2023
11df11c
cleanup
Nov 17, 2023
581936d
link
Nov 17, 2023
e4b8e3e
fix preview
Nov 17, 2023
66bff36
latest grays from shiny
Nov 17, 2023
2a9176b
add shinylive link option
Nov 17, 2023
8ae1a16
list page hero and lil design nudges
Nov 18, 2023
57cf7bf
notification size fixes
Nov 18, 2023
e2632e4
animation timing fix
Nov 18, 2023
45c8e1c
more padding
Nov 18, 2023
dc948e1
spacing nudges
Nov 18, 2023
097555c
remove manual svg for piggy bank in valuebox examples
chendaniely Nov 19, 2023
0d44748
improved preview and transition
Nov 21, 2023
381419c
components list page tweaks and cleanup
Nov 21, 2023
baa9b47
shinylilve link in both preview and code view, hero image container
Nov 21, 2023
1fb7d6d
nonstop bg shenanigans
Nov 21, 2023
67a967c
cleanup
Nov 21, 2023
08c2dfb
add favicons to value box with shinylive editor links
chendaniely Nov 21, 2023
e6a3a2e
add favicons to requirements.txt
chendaniely Nov 21, 2023
f5f2cdb
move help text into notifications
chendaniely Nov 22, 2023
23f20ab
Merge commit 'e6a3a2eb7441a3fa4c5dbd96137d23f9d725f9ee' into components
Nov 22, 2023
c9e5610
Merge commit 'f5f2cdbc571fe5c87912b1f1a98481ab85554fb6' into components
Nov 22, 2023
4304d14
merge help text update
Nov 22, 2023
b8b701d
remove experimental in tooltip example
Nov 22, 2023
59a5ab1
remove unused images
Nov 22, 2023
2c2e7de
Merge branch 'main' into components
Nov 22, 2023
48def07
change help text link to notifications
Nov 23, 2023
67374e7
Update components/inputs/checkbox.qmd
gregswinehart Nov 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
project:
type: website
preview:
port: 1414
output-dir: _build
render:
# List index.qmd first so that / redirects to it instead of components.html.
- /index.qmd
- /*.qmd
- components
- inputs
- outputs
- display-messages
- docs
- in-depth
- development
Expand Down Expand Up @@ -51,6 +57,8 @@ website:
card-style: "summary_large_image"

navbar:
background: primary
foreground: light
logo: shiny-for-python.svg
logo-alt: The logo for Shiny for Python
search: true
Expand All @@ -64,10 +72,13 @@ website:
- docs/deploy-cloud.qmd
- docs/deploy-on-prem.qmd
- docs/shinylive.qmd
- text: "Components"
file: components/index.qmd
- text: "Gallery"
file: gallery/index.qmd
- text: "Examples"
href: https://shinylive.io/py/examples/
target: _blank
- text: "Function Reference"
href: api/index.qmd
- text: "Help"
Expand Down Expand Up @@ -95,7 +106,53 @@ website:
- icon: youtube
href: https://www.youtube.com/playlist?list=PL9HYL-VRX0oRbLoj3FyL5zeASU5FMDgVe
aria-label: Shiny YouTube Playlist

sidebar:
- id: components
collapse-level: 2
contents:
- text: "![](/images/blank-pixel.png){.sidebar-title}__COMPONENTS__"
href: components/
- section: "![](/images/sliders.svg){.sidebar-icon .sidebar-subtitle}__Inputs__"
contents:
- components/inputs/action-button.qmd
- components/inputs/action-link.qmd
- components/inputs/checkbox.qmd
- components/inputs/checkbox-group.qmd
- components/inputs/date-range-selector.qmd
- components/inputs/date-selector.qmd
- components/inputs/numeric-input.qmd
- components/inputs/password-field.qmd
- components/inputs/radio-buttons.qmd
- components/inputs/select-single.qmd
- components/inputs/select-multiple.qmd
- components/inputs/selectize-single.qmd
- components/inputs/selectize-multiple.qmd
- components/inputs/slider.qmd
- components/inputs/slider-range.qmd
- components/inputs/switch.qmd
- components/inputs/text-area.qmd
- components/inputs/text-box.qmd
- section: "![](/images/bar-chart-line-fill.svg){.sidebar-icon .sidebar-subtitle}__Outputs__"
contents:
- components/outputs/data-grid.qmd
- components/outputs/datatable.qmd
- components/outputs/image.qmd
- components/outputs/map-ipyleaflet.qmd
- components/outputs/plot-matplotlib.qmd
- components/outputs/plot-plotly.qmd
- components/outputs/plot-seaborn.qmd
- components/outputs/text.qmd
- components/outputs/ui.qmd
- components/outputs/value-box.qmd
- components/outputs/verbatim-text.qmd
- section: "![](/images/chat-dots-fill.svg){.sidebar-icon .sidebar-subtitle}__Display Messages__"
contents:
- components/display-messages/modal.qmd
- components/display-messages/notifications.qmd
- components/display-messages/progress-bar.qmd
- components/display-messages/tooltips.qmd

- id: docs
style: "floating"
collapse-level: 2
Expand Down Expand Up @@ -151,7 +208,9 @@ format:
include-in-header: include-in-header.html
code-copy: true
link-external-newwindow: true

grid:
sidebar-width: 300px
gutter-width: 2.5rem

editor:
markdown:
Expand Down
240 changes: 0 additions & 240 deletions components.qmd

This file was deleted.

12 changes: 12 additions & 0 deletions components/_metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sidebar: components
format:
html:
css: _partials/components.css
toc: false
code-line-numbers: true
include-after-body: _partials/componentsjs.html
filters:
- quarto
- line-highlight
- shinylive

Binary file added components/_partials/animation.lottie
Binary file not shown.
Loading