Skip to content

Commit

Permalink
simplify deps graph a bit in styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Aug 16, 2024
1 parent 2184ca4 commit 7a8e3fc
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: calcit-lang/[email protected]
with:
version: "0.9.3"
version: "0.9.4"

- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: calcit-lang/[email protected]
with:
version: "0.9.3"
version: "0.9.4"

- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page

Expand Down
43 changes: 36 additions & 7 deletions calcit.cirru

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

12 changes: 8 additions & 4 deletions compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@
{} $ :padding-right 24
; div ({})
<> $ str that-ns "\"/" that-def
comp-entry-deps that-ns that-def deps-dict pkg $ #{}
comp-entry-deps that-ns that-def deps-dict pkg $ []
|comp-entry-deps $ %{} :CodeEntry (:doc |)
:code $ quote
defn comp-entry-deps (that-ns that-def deps-dict pkg footprints)
Expand All @@ -1117,14 +1117,16 @@
div
{} $ :class-name
if
> (count this-deps) 2
> (count this-deps) 1
, css/column
span $ {}
:class-name $ str-spaced css/font-code! style-def
:inner-text that-def
:on-click $ fn (e d!)
d! :writer/edit $ :: :def that-ns that-def
<> that-ns style-ns
if
not= that-ns $ get (last footprints) 1
<> that-ns style-ns
if (includes? footprints entry)
div ({}) (<> "\"<RECUR>")
list->
Expand All @@ -1139,7 +1141,7 @@
[] (str item)
tag-match item
:reference child-ns child-def
comp-entry-deps child-ns child-def deps-dict pkg $ include footprints entry
comp-entry-deps child-ns child-def deps-dict pkg $ conj footprints entry
_ $ div ({})
<> $ str "\"Unknown data: " item
|style-def $ %{} :CodeEntry (:doc |)
Expand All @@ -1150,6 +1152,8 @@
:position :sticky
:top 0
:cursor :pointer
:opacity 0.8
"\"&:hover" $ {} (:opacity 1)
|style-deps-area $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle style-deps-area $ {}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"vite": "^5.4.1"
},
"dependencies": {
"@calcit/procs": "^0.9.3",
"@calcit/procs": "^0.9.4",
"chalk": "^5.3.0",
"dayjs": "^1.11.12",
"gaze": "^1.1.3",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock

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

0 comments on commit 7a8e3fc

Please sign in to comment.