Skip to content

Commit

Permalink
add link light; tag 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 13, 2024
1 parent b8512a1 commit 34a9015
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 113 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'

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

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

- name: "compiles to js"
run: >
Expand Down
96 changes: 89 additions & 7 deletions calcit.cirru

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

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

{} (:package |respo-ui)
:configs $ {} (:init-fn |respo-ui.main/main!) (:reload-fn |respo-ui.main/reload!) (:version |0.6.0)
:configs $ {} (:init-fn |respo-ui.main/main!) (:reload-fn |respo-ui.main/reload!) (:version |0.6.1)
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-router.calcit/ |respo-markdown.calcit/
:entries $ {}
:files $ {}
Expand Down Expand Up @@ -921,8 +921,10 @@
state $ :data states
div ({})
div ({}) (<> |Widgets)
div ({}) (<> "|Some text as description" ui/text-label) (=< nil 16)
div ({}) (<> "|link to external pages" ui/text-label) (=< nil 16)
a $ {} (:class-name css/link) (:inner-text |link)
div ({}) (<> "|slight link without underscore" ui/text-label) (=< nil 16)
a $ {} (:class-name css/link-slight) (:inner-text |link)
=< nil 16
div
{} $ :style
Expand Down Expand Up @@ -1071,7 +1073,7 @@
:vertical-align :top
|link $ %{} :CodeEntry (:doc |)
:code $ quote
def link $ {} (:text-decoration :underline) (:user-select :no-select) (:height 24) (:line-height |24px) (:margin 4) (:display :inline-block) (:cursor :pointer) (:user-select :none)
def link $ {} (:text-decoration :underline) (:height 24) (:line-height |24px) (:margin 4) (:display :inline-block) (:cursor :pointer) (:user-select :none)
:color $ hsl 200 100 76
|row $ %{} :CodeEntry (:doc |)
:code $ quote
Expand Down Expand Up @@ -1228,6 +1230,16 @@
"\"$0:active" $ {}
:color $ hsl 200 100 40
:transform "\"scale(1.04)"
|link-slight $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle link-slight $ {}
"\"$0" $ merge ui/link
{} $ :text-decoration :none
"\"$0:hover" $ {}
:color $ hsl 200 100 56
"\"$0:active" $ {}
:color $ hsl 200 100 40
:transform "\"scale(1.04)"
|preset $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle preset $ {}
Expand Down
2 changes: 1 addition & 1 deletion package.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
:dependencies $ {}
|calcit-lang/lilac |main
|calcit-lang/memof |main
|Respo/respo.calcit |main
|Respo/respo.calcit |0.16.7
|Respo/respo-router.calcit |main
|Respo/respo-markdown.calcit |main
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.6.0",
"version": "0.6.1",
"dependencies": {
"@calcit/procs": "^0.8.33",
"@calcit/procs": "^0.8.41",
"copy-text-to-clipboard": "^3.2.0",
"dayjs": "^1.11.10"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"cirru-color": "^0.2.4",
"vite": "^5.1.3"
"vite": "^5.1.6"
}
}
Loading

0 comments on commit 34a9015

Please sign in to comment.