diff --git a/calcit.cirru b/calcit.cirru index f8fb4ca..6ba1689 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -1,6 +1,6 @@ {} (:package |reel) - :configs $ {} (:init-fn |reel.app.main/main!) (:output |src) (:port 6001) (:reload-fn |reel.app.main/reload!) (:storage-key |calcit.cirru) (:version |0.6.2) + :configs $ {} (:init-fn |reel.app.main/main!) (:output |src) (:port 6001) (:reload-fn |reel.app.main/reload!) (:storage-key |calcit.cirru) (:version |0.6.3) :modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ :entries $ {} :files $ {} @@ -664,6 +664,27 @@ :data $ {} |T $ %{} :Leaf (:at 1721065248922) (:by |Oj4l0GxFU) (:text |:d) |b $ %{} :Leaf (:at 1721065261748) (:by |Oj4l0GxFU) (:text |:e) + |l $ %{} :Expr (:at 1721065242545) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721065242974) (:by |Oj4l0GxFU) (:text |{}) + |b $ %{} :Expr (:at 1721065243317) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721065243627) (:by |Oj4l0GxFU) (:text |:a) + |b $ %{} :Expr (:at 1721066245183) (:by |Oj4l0GxFU) + :data $ {} + |D $ %{} :Leaf (:at 1721066245778) (:by |Oj4l0GxFU) (:text |[]) + |T $ %{} :Leaf (:at 1721065244982) (:by |Oj4l0GxFU) (:text |:b) + |b $ %{} :Leaf (:at 1721066249654) (:by |Oj4l0GxFU) (:text |:w) + |h $ %{} :Expr (:at 1721065245985) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721065247042) (:by |Oj4l0GxFU) (:text |:c) + |b $ %{} :Expr (:at 1721065247457) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721065247783) (:by |Oj4l0GxFU) (:text |{}) + |b $ %{} :Expr (:at 1721065248601) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721065248922) (:by |Oj4l0GxFU) (:text |:d) + |b $ %{} :Leaf (:at 1721065261748) (:by |Oj4l0GxFU) (:text |:e) |v $ %{} :Expr (:at 1507357346880) (:by nil) :data $ {} |D $ %{} :Leaf (:at 1509190185032) (:by |root) (:text |list->) @@ -1320,7 +1341,7 @@ |l $ %{} :Expr (:at 1721065731781) (:by |Oj4l0GxFU) :data $ {} |T $ %{} :Leaf (:at 1721065733090) (:by |Oj4l0GxFU) (:text |=<) - |b $ %{} :Leaf (:at 1721065733743) (:by |Oj4l0GxFU) (:text |8) + |b $ %{} :Leaf (:at 1721148922090) (:by |Oj4l0GxFU) (:text |2) |h $ %{} :Leaf (:at 1721065736285) (:by |Oj4l0GxFU) (:text |nil) |o $ %{} :Expr (:at 1721065737285) (:by |Oj4l0GxFU) :data $ {} @@ -1360,6 +1381,7 @@ :data $ {} |T $ %{} :Leaf (:at 1721065818754) (:by |Oj4l0GxFU) (:text |to-lispy-string) |b $ %{} :Leaf (:at 1721065810028) (:by |Oj4l0GxFU) (:text |item) + |b $ %{} :Leaf (:at 1721149087347) (:by |Oj4l0GxFU) (:text |style-action-sep) |l $ %{} :Expr (:at 1721065820170) (:by |Oj4l0GxFU) :data $ {} |T $ %{} :Leaf (:at 1721065846107) (:by |Oj4l0GxFU) (:text |div) @@ -1725,6 +1747,24 @@ |T $ %{} :Leaf (:at 1721066079065) (:by |Oj4l0GxFU) (:text |every?) |b $ %{} :Leaf (:at 1721066119175) (:by |Oj4l0GxFU) (:text |item) |h $ %{} :Leaf (:at 1721066138541) (:by |Oj4l0GxFU) (:text |shallow-data?) + |style-action-sep $ %{} :CodeEntry (:doc |) + :code $ %{} :Expr (:at 1721149088888) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149089940) (:by |Oj4l0GxFU) (:text |defstyle) + |b $ %{} :Leaf (:at 1721149088888) (:by |Oj4l0GxFU) (:text |style-action-sep) + |h $ %{} :Expr (:at 1721149088888) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149090956) (:by |Oj4l0GxFU) (:text |{}) + |b $ %{} :Expr (:at 1721149091226) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149092191) (:by |Oj4l0GxFU) (:text "|\"&") + |b $ %{} :Expr (:at 1721149092972) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149093273) (:by |Oj4l0GxFU) (:text |{}) + |b $ %{} :Expr (:at 1721149093787) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149096508) (:by |Oj4l0GxFU) (:text |:margin) + |b $ %{} :Leaf (:at 1721149100344) (:by |Oj4l0GxFU) (:text "|\"0 4px") |style-data $ %{} :CodeEntry (:doc |) :code $ %{} :Expr (:at 1507357346880) (:by nil) :data $ {} @@ -1800,6 +1840,30 @@ :data $ {} |T $ %{} :Leaf (:at 1721066867612) (:by |Oj4l0GxFU) (:text |:cursor) |b $ %{} :Leaf (:at 1721066869010) (:by |Oj4l0GxFU) (:text |:pointer) + |s $ %{} :Expr (:at 1721148910667) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148911596) (:by |Oj4l0GxFU) (:text |:margin) + |b $ %{} :Leaf (:at 1721148916098) (:by |Oj4l0GxFU) (:text "|\"0 4px") + |h $ %{} :Expr (:at 1721148942869) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148945043) (:by |Oj4l0GxFU) (:text "|\"&:hover") + |b $ %{} :Expr (:at 1721148945692) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148945997) (:by |Oj4l0GxFU) (:text |{}) + |b $ %{} :Expr (:at 1721148946401) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148951107) (:by |Oj4l0GxFU) (:text |:box-shadow) + |b $ %{} :Expr (:at 1721148951713) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148952205) (:by |Oj4l0GxFU) (:text |str) + |b $ %{} :Leaf (:at 1721148967645) (:by |Oj4l0GxFU) (:text "|\"0px 0px 2px 2px ") + |h $ %{} :Expr (:at 1721148960123) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721148960504) (:by |Oj4l0GxFU) (:text |hsl) + |b $ %{} :Leaf (:at 1721148960758) (:by |Oj4l0GxFU) (:text |0) + |h $ %{} :Leaf (:at 1721148961003) (:by |Oj4l0GxFU) (:text |0) + |l $ %{} :Leaf (:at 1721148961831) (:by |Oj4l0GxFU) (:text |0) + |o $ %{} :Leaf (:at 1721148977552) (:by |Oj4l0GxFU) (:text |0.06) :ns $ %{} :CodeEntry (:doc |) :code $ %{} :Expr (:at 1507357346880) (:by nil) :data $ {} @@ -1905,6 +1969,10 @@ |b $ %{} :Leaf (:at 1721065329190) (:by |Oj4l0GxFU) (:text |0) |h $ %{} :Leaf (:at 1721065329190) (:by |Oj4l0GxFU) (:text |0) |l $ %{} :Leaf (:at 1721065329190) (:by |Oj4l0GxFU) (:text |90) + |h $ %{} :Expr (:at 1721149049175) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149052220) (:by |Oj4l0GxFU) (:text |:padding) + |b $ %{} :Leaf (:at 1721149054199) (:by |Oj4l0GxFU) (:text "|\"0 4px") |h $ %{} :Expr (:at 1721065329190) (:by |Oj4l0GxFU) :data $ {} |T $ %{} :Leaf (:at 1721065329190) (:by |Oj4l0GxFU) (:text |render-button) @@ -2470,6 +2538,10 @@ :data $ {} |T $ %{} :Leaf (:at 1593101283086) (:by |Oj4l0GxFU) (:text |:z-index) |j $ %{} :Leaf (:at 1593101284175) (:by |Oj4l0GxFU) (:text |9999) + |z $ %{} :Expr (:at 1721149019082) (:by |Oj4l0GxFU) + :data $ {} + |T $ %{} :Leaf (:at 1721149026958) (:by |Oj4l0GxFU) (:text |:border-radius) + |b $ %{} :Leaf (:at 1721149032894) (:by |Oj4l0GxFU) (:text "|\"6px") |css-snippet $ %{} :CodeEntry (:doc |) :code $ %{} :Expr (:at 1657820757340) (:by |Oj4l0GxFU) :data $ {} diff --git a/compact.cirru b/compact.cirru index 0accd01..5524640 100644 --- a/compact.cirru +++ b/compact.cirru @@ -1,6 +1,6 @@ {} (:package |reel) - :configs $ {} (:init-fn |reel.app.main/main!) (:reload-fn |reel.app.main/reload!) (:version |0.6.2) + :configs $ {} (:init-fn |reel.app.main/main!) (:reload-fn |reel.app.main/reload!) (:version |0.6.3) :modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ :entries $ {} :files $ {} @@ -106,6 +106,9 @@ {} :a $ [] :b :w :c $ {} (:d :e) + {} + :a $ [] :b :w + :c $ {} (:d :e) list-> ({}) -> tasks $ map fn (task) @@ -216,12 +219,12 @@ div {} $ :class-name css/row-middle <> $ str tag - =< 8 nil + =< 2 nil list-> ({}) -> params $ map-indexed fn (idx item) [] idx $ if (shallow-data? item) - <> $ to-lispy-string item + <> (to-lispy-string item) style-action-sep div {} (:class-name style-type-tag) :style $ {} (:display :inline-block) @@ -275,6 +278,10 @@ or (literal? item) and (list? item) (every? item literal?) and (map? item) (every? item shallow-data?) + |style-action-sep $ %{} :CodeEntry (:doc |) + :code $ quote + defstyle style-action-sep $ {} + "\"&" $ {} (:margin "\"0 4px") |style-data $ %{} :CodeEntry (:doc |) :code $ quote def style-data $ {} (:max-width 100) (:overflow :hidden) (:text-overflow :ellipsis) (:white-space :nowrap) (:display :inline-block) (:vertical-align :middle) @@ -287,6 +294,9 @@ :padding "\"0 8px" :line-height "\"1.4" :cursor :pointer + :margin "\"0 4px" + "\"&:hover" $ {} + :box-shadow $ str "\"0px 0px 2px 2px " (hsl 0 0 0 0.06) :ns $ %{} :CodeEntry (:doc |) :code $ quote ns reel.comp.records $ :require @@ -306,8 +316,9 @@ defn comp-operations (stopped?) div {} $ :style - {} $ :border-bottom - str "\"1px solid " $ hsl 0 0 90 + {} + :border-bottom $ str "\"1px solid " (hsl 0 0 90) + :padding "\"0 4px" render-button |Merge fn (e d!) d! $ :: :reel/merge @@ -390,6 +401,7 @@ :font-size 14 :backdrop-filter "|blur(2px)" :z-index 9999 + :border-radius "\"6px" |css-snippet $ %{} :CodeEntry (:doc |) :code $ quote defstyle css-snippet $ {} diff --git a/deps.cirru b/deps.cirru index c362c46..26144c7 100644 --- a/deps.cirru +++ b/deps.cirru @@ -3,4 +3,4 @@ |calcit-lang/lilac |main |calcit-lang/memof |main |Respo/respo.calcit |main - |Respo/respo-ui.calcit |main + |Respo/respo-ui.calcit |0.6.2 diff --git a/package.json b/package.json index 98e0a7e..cef8dd2 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.6.2", + "version": "0.6.3", "dependencies": { "@calcit/procs": "^0.9.0-a1" },