Skip to content

Commit

Permalink
fix space in action items; tag 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jul 16, 2024
1 parent c363e6e commit 4d67b45
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 9 deletions.
76 changes: 74 additions & 2 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -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 $ {}
Expand Down Expand Up @@ -106,6 +106,9 @@
{}
:a $ [] :b :w
:c $ {} (:d :e)
{}
:a $ [] :b :w
:c $ {} (:d :e)
list-> ({})
-> tasks $ map
fn (task)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 $ {}
Expand Down
2 changes: 1 addition & 1 deletion deps.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.2",
"version": "0.6.3",
"dependencies": {
"@calcit/procs": "^0.9.0-a1"
},
Expand Down

0 comments on commit 4d67b45

Please sign in to comment.