Skip to content

Commit 346e7ba

Browse files
committed
pop up and close modal with keyboard; tag 0.0.12
1 parent 9750fea commit 346e7ba

File tree

4 files changed

+91
-6
lines changed

4 files changed

+91
-6
lines changed

.github/workflows/upload.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
4141
&& git clone https://github.com/calcit-lang/lilac.git
4242
&& git clone https://github.com/calcit-lang/memof.git
43-
&& git clone https://github.com/Respo/respo.calcit.git --branch 0.14.39
43+
&& git clone https://github.com/Respo/respo.calcit.git --branch 0.14.40
4444
&& git clone https://github.com/Respo/reel.calcit.git
4545
&& git clone https://github.com/Respo/respo-markdown.calcit.git
46-
&& git clone https://github.com/Respo/respo-ui.calcit.git --branch 0.4.6
46+
&& git clone https://github.com/Respo/respo-ui.calcit.git
4747
&& git clone https://github.com/Respo/respo-router.calcit.git
48-
&& git clone https://github.com/Respo/alerts.calcit.git
48+
&& git clone https://github.com/Respo/alerts.calcit.git --branch 0.8.8
4949
5050
- name: "compiles to js"
5151
run: >

calcit.cirru

Lines changed: 75 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{} (:package |docs-workflow)
3-
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.11)
3+
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.12)
44
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |respo-router.calcit/ |alerts.calcit/
55
:entries $ {}
66
:files $ {}
@@ -101,6 +101,16 @@
101101
d! cursor $ next-path state xs
102102
comp-doc-page target
103103
=< nil 120
104+
comp-global-keydown
105+
{} $ :disabled-commands (#{} "\"p")
106+
fn (e d!)
107+
cond
108+
and
109+
= "\"p" $ :key e
110+
or (:meta? e) (:ctrl? e)
111+
.show quick-modal d!
112+
(= "\"Escape" (:key e))
113+
.close quick-modal d!
104114
.render quick-modal
105115
when dev? $ comp-reel (>> states :reel) reel ({})
106116
|comp-doc-page $ quote
@@ -309,6 +319,7 @@
309319
respo.css :refer $ defstyle
310320
respo-ui.css :as css
311321
"\"@memkits/azure-speech-util" :refer $ speechOne nativeSpeechOne
322+
respo.comp.global-keydown :refer $ comp-global-keydown
312323
|docs-workflow.config $ {}
313324
:defs $ {}
314325
|dev? $ quote

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.0.11",
2+
"version": "0.0.12",
33
"name": "@calcit/docs-workflow",
44
"dependencies": {
55
"@calcit/procs": "^0.5.46",

0 commit comments

Comments
 (0)