Skip to content

Commit

Permalink
deploy: 12ba400
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Jul 30, 2023
1 parent 435da19 commit 1c5086c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
14 changes: 13 additions & 1 deletion creative-scala.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
*/

/*
Expand Down Expand Up @@ -191,6 +191,10 @@ select,
textarea {
font-family: inherit;
/* 1 */
font-feature-settings: inherit;
/* 1 */
font-variation-settings: inherit;
/* 1 */
font-size: 100%;
/* 1 */
font-weight: inherit;
Expand Down Expand Up @@ -341,6 +345,14 @@ menu {
padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 id="gooey" class="title">Gooey</h1>

<h2 id="getting-started" class="section">Getting Started</h2>
<p>To use Gooey, add the following to your <code>build.sbt</code></p>
<pre><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.creativescala&quot;</span><span> %% </span><span class="string-literal">&quot;gooey&quot;</span><span> % </span><span class="string-literal">&quot;0.1-2b05ab5-SNAPSHOT&quot;</span></code></pre>
<pre><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.creativescala&quot;</span><span> %% </span><span class="string-literal">&quot;gooey&quot;</span><span> % </span><span class="string-literal">&quot;0.1-12ba400-SNAPSHOT&quot;</span></code></pre>

<h2 id="scaladoc" class="section">ScalaDoc</h2>
<p>See the ScalaDoc <a href="https://javadoc.io/doc/org.creativescala/gooey-docs_3/latest/gooey/index.html">index</a> for API documentation.</p>
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7907,7 +7907,7 @@ function $h_Lgooey_examples_PetRating$() {
/*<skip>*/
}
$h_Lgooey_examples_PetRating$.prototype = $c_Lgooey_examples_PetRating$.prototype;
$c_Lgooey_examples_PetRating$.prototype.mount__T__V = (function(id) {
$c_Lgooey_examples_PetRating$.prototype.first__T__V = (function(id) {
var c = $n($m_Lgooey_component_Textbox$().Lgooey_component_Textbox$__f_empty).withLabel__T__Lgooey_component_Textbox("Pet name");
var second = $n($m_Lgooey_component_Slider$().apply__I__I__Lgooey_component_Slider(10, 14)).withLabel__T__Lgooey_component_Slider("Rating");
var petRatingUi = new $c_Lgooey_component_And(c, second);
Expand All @@ -7917,9 +7917,9 @@ $c_Lgooey_examples_PetRating$.prototype.mount__T__V = (function(id) {
var env$1 = new $c_Lgooey_calico_Environment(env);
$n($n($$x1).renderComponentToId__Lcats_effect_kernel_Resource__T__Lcats_effect_kernel_Async__Lcats_effect_IO($as_Lcats_effect_kernel_Resource(petRatingUi.build__Lgooey_component_And$Algebra__O__O(algebra, env$1)), id, $m_Lcats_effect_IO$().Lcats_effect_IO$__f__asyncForIO)).unsafeRunAndForget__Lcats_effect_unsafe_IORuntime__V($m_Lcalico_unsafe_runtime$package$().given_IORuntime__Lcats_effect_unsafe_IORuntime())
});
$c_Lgooey_examples_PetRating$.prototype.mount = (function(arg) {
$c_Lgooey_examples_PetRating$.prototype.first = (function(arg) {
var prep0 = $as_T(arg);
this.mount__T__V(prep0)
this.first__T__V(prep0)
});
var $d_Lgooey_examples_PetRating$ = new $TypeData().initClass({
Lgooey_examples_PetRating$: 0
Expand Down
6 changes: 3 additions & 3 deletions main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion quick-start.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1 id="quick-start" class="title">Quick Start</h1>
<p>Calling <code>create</code> builds a backend specific representation using whichever backend is in the <code>given</code> scope. In this case it&#39;s the Calico backend which we imported earlier. We then use a backend specific method, <code>renderComponentToId</code>, to create the UI in the webpage as the position of the element with the given id (in this case the id is <code>ui</code>). Finally we run UI, using the Calico specific operation <code>unsafeRunAndForget</code>.</p>
<p>With that all done, we end up with the masterpiece below.</p>
<div id="pet-rating"></div>
<script>PetRating.mount("pet-rating")</script>
<script>PetRating.first("pet-rating")</script>
<p class="nextPage"><a href="calico.html">Calico Backend→</a></p>
</main>
<footer>Creative Scala is copyright Noel Welsh</footer>
Expand Down

0 comments on commit 1c5086c

Please sign in to comment.