Skip to content

Commit

Permalink
refine css rule in defstyle ; tag 0.14.45
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed May 17, 2023
1 parent 70bcb23 commit 189958c
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 219 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/cr'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.27/cr'
name: 'cr'
version: '0.6.23'
version: '0.6.27'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/caps'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.27/caps'
name: 'caps'
version: '0.6.23'
version: '0.6.27'

- name: "load deps"
run: caps --ci && yarn
Expand Down
11 changes: 7 additions & 4 deletions calcit.cirru

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

6 changes: 3 additions & 3 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |respo)
:configs $ {} (:init-fn |respo.main/main!) (:reload-fn |respo.main/reload!) (:version |0.14.44)
:configs $ {} (:init-fn |respo.main/main!) (:reload-fn |respo.main/reload!) (:version |0.14.45)
:modules $ [] |memof/compact.cirru |lilac/compact.cirru |calcit-test/compact.cirru
:entries $ {}
:files $ {}
Expand Down Expand Up @@ -781,9 +781,9 @@
assert "\"expected rule name in string" $ string? k
assert "\"expected rule styles in map" $ map? v
let
rule-name $ .!replace k "\"$0" style-name
rule-name $ .!replace k "\"$0" (str "\"." style-name)
css-line $ style->string (.to-list v)
str "\"." rule-name "\" {" &newline css-line &newline "\"}"
str rule-name "\" {" &newline css-line &newline "\"}"
.to-list
.join-str $ str &newline &newline
:ns $ quote
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "0.14.44",
"version": "0.14.45",
"dependencies": {
"@calcit/procs": "^0.6.23"
"@calcit/procs": "^0.6.27"
},
"scripts": {
"test": "cr --once --emit-js --init-fn=respo.test.main/main! && node test.mjs"
},
"devDependencies": {
"vite": "^4.1.4"
"vite": "^4.3.7"
}
}
Loading

0 comments on commit 189958c

Please sign in to comment.