diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index 4986f35..e16b6a8 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -19,15 +19,15 @@ jobs: - uses: supplypike/setup-bin@v3 with: - uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.30/cr' + uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.33/cr' name: 'cr' - version: '0.8.30' + version: '0.8.33' - uses: supplypike/setup-bin@v3 with: - uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.30/caps' + uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.33/caps' name: 'caps' - version: '0.8.30' + version: '0.8.33' - run: caps --ci && cr --entry server --emit-ir -1 diff --git a/calcit.cirru b/calcit.cirru index 2c60519..3c70cc7 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -472,7 +472,7 @@ |y $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} |T $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |println) - |j $ %{} :Leaf (:at 1624471413142) (:by |B1y7Rc-Zz) (:text "|\"Code updated.") + |j $ %{} :Leaf (:at 1707394780870) (:by |B1y7Rc-Zz) (:text "|\"Code updated.") |render-app! $ %{} :CodeEntry (:doc |) :code $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} @@ -1082,7 +1082,7 @@ |D $ %{} :Expr (:at 1690018150980) (:by |B1y7Rc-Zz) :data $ {} |T $ %{} :Leaf (:at 1690018136255) (:by |B1y7Rc-Zz) (:text |:offline) - |T $ %{} :Leaf (:at 1562176386393) (:by |B1y7Rc-Zz) (:text "|\"No connection...") + |T $ %{} :Leaf (:at 1707456423929) (:by |B1y7Rc-Zz) (:text "|\"No connection...") |r $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} |T $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |{}) @@ -1093,7 +1093,16 @@ |v $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} |T $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |:font-size) - |j $ %{} :Leaf (:at 1535565156897) (:by |B1y7Rc-Zz) (:text |24) + |j $ %{} :Leaf (:at 1707456451399) (:by |B1y7Rc-Zz) (:text |16) + |w $ %{} :Expr (:at 1707456455057) (:by |B1y7Rc-Zz) + :data $ {} + |T $ %{} :Leaf (:at 1707456455880) (:by |B1y7Rc-Zz) (:text |:color) + |b $ %{} :Expr (:at 1707456456550) (:by |B1y7Rc-Zz) + :data $ {} + |T $ %{} :Leaf (:at 1707456456313) (:by |B1y7Rc-Zz) (:text |hsl) + |b $ %{} :Leaf (:at 1707456457107) (:by |B1y7Rc-Zz) (:text |0) + |h $ %{} :Leaf (:at 1707456457318) (:by |B1y7Rc-Zz) (:text |0) + |l $ %{} :Leaf (:at 1707456475105) (:by |B1y7Rc-Zz) (:text |50) |comp-status-color $ %{} :CodeEntry (:doc |) :code $ %{} :Expr (:at 1524279216692) (:by |root) :data $ {} @@ -1187,7 +1196,7 @@ |T $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |:require) |j $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} - |j $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |hsl.core) + |j $ %{} :Leaf (:at 1707456468963) (:by |B1y7Rc-Zz) (:text |respo.util.format) |r $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |:refer) |v $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} @@ -1731,10 +1740,10 @@ |r $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} |T $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |<>) - |j $ %{} :Expr (:at 1536561771096) (:by |B1y7Rc-Zz) + |j $ %{} :Expr (:at 1707456417144) (:by |B1y7Rc-Zz) :data $ {} - |T $ %{} :Leaf (:at 1536561772481) (:by |B1y7Rc-Zz) (:text |:title) - |j $ %{} :Leaf (:at 1536561776186) (:by |B1y7Rc-Zz) (:text |config/site) + |T $ %{} :Leaf (:at 1707456417144) (:by |B1y7Rc-Zz) (:text |:title) + |b $ %{} :Leaf (:at 1707456417144) (:by |B1y7Rc-Zz) (:text |config/site) |v $ %{} :Leaf (:at 1500541010211) (:by |root) (:text |nil) |v $ %{} :Expr (:at 1500541010211) (:by nil) :data $ {} @@ -2812,7 +2821,7 @@ |v $ %{} :Expr (:at 1500541255553) (:by nil) :data $ {} |T $ %{} :Leaf (:at 1500541255553) (:by |root) (:text |println) - |j $ %{} :Leaf (:at 1706636692809) (:by |B1y7Rc-Zz) (:text "|\"Code updated..") + |j $ %{} :Leaf (:at 1707394853916) (:by |B1y7Rc-Zz) (:text "|\"Code updated..") |v5 $ %{} :Expr (:at 1636649564368) (:by |B1y7Rc-Zz) :data $ {} |T $ %{} :Leaf (:at 1636649565603) (:by |B1y7Rc-Zz) (:text |if) @@ -3285,6 +3294,20 @@ :data $ {} |T $ %{} :Leaf (:at 1507830657551) (:by |root) (:text |count) |j $ %{} :Leaf (:at 1507830658789) (:by |root) (:text |records) + |w $ %{} :Expr (:at 1707454842428) (:by |B1y7Rc-Zz) + :data $ {} + |T $ %{} :Leaf (:at 1707454847802) (:by |B1y7Rc-Zz) (:text |:attached) + |b $ %{} :Expr (:at 1707455955624) (:by |B1y7Rc-Zz) + :data $ {} + |D $ %{} :Leaf (:at 1707455956181) (:by |B1y7Rc-Zz) (:text |{}) + |L $ %{} :Expr (:at 1707455959904) (:by |B1y7Rc-Zz) + :data $ {} + |T $ %{} :Leaf (:at 1707455962632) (:by |B1y7Rc-Zz) (:text |:type) + |b $ %{} :Leaf (:at 1707455965088) (:by |B1y7Rc-Zz) (:text |:msg) + |T $ %{} :Expr (:at 1707455956808) (:by |B1y7Rc-Zz) + :data $ {} + |D $ %{} :Leaf (:at 1707455959188) (:by |B1y7Rc-Zz) (:text |:content) + |T $ %{} :Leaf (:at 1707455993646) (:by |B1y7Rc-Zz) (:text "||SOME data") |r $ %{} :Expr (:at 1507830661017) (:by |root) :data $ {} |D $ %{} :Leaf (:at 1507830661999) (:by |root) (:text |merge) diff --git a/compact.cirru b/compact.cirru index 14fcb64..aa8e4b1 100644 --- a/compact.cirru +++ b/compact.cirru @@ -173,7 +173,8 @@ :loading , "\"Loading..." (:offline) "\"No connection..." - {} (:font-family ui/font-fancy) (:font-size 24) + {} (:font-family ui/font-fancy) (:font-size 16) + :color $ hsl 0 0 50 |comp-status-color $ %{} :CodeEntry (:doc |) :code $ quote defcomp comp-status-color (color) @@ -188,7 +189,7 @@ :ns $ %{} :CodeEntry (:doc |) :code $ quote ns app.comp.container $ :require - hsl.core :refer $ hsl + respo.util.format :refer $ hsl respo-ui.core :as ui respo-ui.css :as css respo.core :refer $ defcomp <> >> div span button input pre @@ -526,6 +527,7 @@ router $ :router session base-data $ {} (:logged-in? logged-in?) (:session session) :reel-length $ count records + :attached $ {} (:type :msg) (:content "|SOME data") merge base-data $ if logged-in? {} :user $ twig-user diff --git a/package.json b/package.json index cc2446c..d8ca36b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@calcit/procs": "^0.8.30" + "@calcit/procs": "^0.8.33" }, "scripts": { "compile-page": "cr --emit-js --once", diff --git a/yarn.lock b/yarn.lock index 421ac21..497820e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@calcit/procs@^0.8.30": - version "0.8.30" - resolved "https://registry.npmmirror.com/@calcit/procs/-/procs-0.8.30.tgz#11dc72e1a4e1dc82c80d4466f20a1aa973496281" - integrity sha512-72JrSJGeC0lR0rUB2qPzkUGe75hdgkpudlqBOLplL+BeHum9qIivhI/49IhPMIGDT+xncFiwUvEoDLYL0D09vg== +"@calcit/procs@^0.8.33": + version "0.8.33" + resolved "https://registry.yarnpkg.com/@calcit/procs/-/procs-0.8.33.tgz#d442cbfbf239446166f7753f2bdb90c4a62315e9" + integrity sha512-vkpFOYKJGXhynuRrMTC0WXSzW9nzdiQhCFaQYUkmtRIqsmYjnExJrJTxdV4odhoCznx3pog0/ciRfJXgc9DMzQ== dependencies: "@calcit/ternary-tree" "0.0.23" "@cirru/parser.ts" "^0.0.6" @@ -331,7 +331,7 @@ picocolors@^1.0.0: postcss@^8.4.35: version "8.4.35" - resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7" integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA== dependencies: nanoid "^3.3.7"