From 5d24b58f3707e3dfafb08ea48e20f49273154e17 Mon Sep 17 00:00:00 2001 From: jiyinyiyong Date: Tue, 22 Jun 2021 16:23:09 +0800 Subject: [PATCH] drop event propagation; bump 0.0.3 --- calcit.cirru | 6 ++++- compact.cirru | 3 ++- package.json | 6 ++--- yarn.lock | 62 +++++++++++++++++++++++++-------------------------- 4 files changed, 41 insertions(+), 36 deletions(-) diff --git a/calcit.cirru b/calcit.cirru index 5320187..541f342 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -469,6 +469,10 @@ :data $ {} |T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1622476196384) (:text |.!remove) |j $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1586366343733) (:text |root) + |v $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1624350104764) + :data $ {} + |T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1624350065033) (:text |.!stopPropagation) + |j $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1624350105888) (:text |event) |yD $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1586366343733) :data $ {} |T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1586366343733) (:text |set!) @@ -1151,4 +1155,4 @@ :init-fn |pointed-prompt.app.main/main! :compact-output? true :storage-key |calcit.cirru - :version |0.0.2 + :version |0.0.3 diff --git a/compact.cirru b/compact.cirru index a19a534..575054d 100644 --- a/compact.cirru +++ b/compact.cirru @@ -2,7 +2,7 @@ {} (:package |pointed-prompt) :configs $ {} (:init-fn |pointed-prompt.app.main/main!) (:reload-fn |pointed-prompt.app.main/reload!) :modules $ [] - :version |0.0.2 + :version |0.0.3 :files $ {} |pointed-prompt.core $ {} :ns $ quote @@ -79,6 +79,7 @@ if textarea? (.-metaKey event) true cb $ .-value input .!remove root + .!stopPropagation event .!addEventListener close "\"click" $ fn (event) (.!remove root) when textarea? set! (.-style submit) (style->string style-submit) diff --git a/package.json b/package.json index babaa06..8d807c7 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "version": "0.0.2", + "version": "0.0.3", "dependencies": { - "@calcit/procs": "^0.4.0-a6" + "@calcit/procs": "^0.4.0-a13" }, "devDependencies": { - "vite": "^2.3.7" + "vite": "^2.3.8" } } diff --git a/yarn.lock b/yarn.lock index f5bda63..5fb53c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,19 +2,19 @@ # yarn lockfile v1 -"@calcit/procs@^0.4.0-a6": - version "0.4.0-a6" - resolved "https://registry.npmjs.org/@calcit/procs/-/procs-0.4.0-a6.tgz#ba610d090610829b32a26232f8d3671de39c9f35" - integrity sha512-TWHIU9dE0gLVKQWOS8IJ+TB2fzPb6vHs9Nsthr+gfUWR7cz6oM4mNNLN8pkE+tap3PtgQp/ad3rq9mUZBO5U0g== +"@calcit/procs@^0.4.0-a13": + version "0.4.0-a13" + resolved "https://registry.npmjs.org/@calcit/procs/-/procs-0.4.0-a13.tgz#1f30da30b2037d89d32bb0836c0c5533d9d8aeb9" + integrity sha512-ZiL9Qk/1Hi+zDyEpQXZBTppOFyIocXL7OPXMXqDTSfyHV5F2cJRkVKO+Ba9uh4PNoulqpphUc+kNNbXlJFa3Fg== dependencies: - "@calcit/ternary-tree" "0.0.13" + "@calcit/ternary-tree" "0.0.16" "@cirru/parser.ts" "^0.0.3" "@cirru/writer.ts" "^0.1.3" -"@calcit/ternary-tree@0.0.13": - version "0.0.13" - resolved "https://registry.npmjs.org/@calcit/ternary-tree/-/ternary-tree-0.0.13.tgz#8532c6eb327e26564bf708446a4062ee1ea97ec3" - integrity sha512-AfDfkc/npJBk1P5Q1eUy8kJUVa9NalXcO9/ZV31nJmwTQiEbmPX2DpOSF9H4LrwryMLZevmju2B54y+/+WeaIQ== +"@calcit/ternary-tree@0.0.16": + version "0.0.16" + resolved "https://registry.npmjs.org/@calcit/ternary-tree/-/ternary-tree-0.0.16.tgz#8932ab23fea3c3d13e61671b06ca3b38c2244736" + integrity sha512-SsYe0qXRutmPKLvkDYydqQx+i5pDdlkkOAyGqyCHlcvknHj1oMEue4N0FBNN0VhgWxplCS5VXqMgSIL/rWktpA== "@cirru/parser.ts@^0.0.3": version "0.0.3" @@ -31,12 +31,12 @@ colorette@^1.2.2: resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== -esbuild@^0.12.5: - version "0.12.8" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.12.8.tgz#ac90da77cb3bfbf49ab815200bcef7ffe1a3348f" - integrity sha512-sx/LwlP/SWTGsd9G4RlOPrXnIihAJ2xwBUmzoqe2nWwbXORMQWtAGNJNYLBJJqa3e9PWvVzxdrtyFZJcr7D87g== +esbuild@^0.12.8: + version "0.12.9" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.12.9.tgz#bed4e7087c286cd81d975631f77d47feb1660070" + integrity sha512-MWRhAbMOJ9RJygCrt778rz/qNYgA4ZVj6aXnNPxFjs7PmIpb0fuB9Gmg5uWrr6n++XKwwm/RmSz6RR5JL2Ocsw== -fsevents@~2.3.1: +fsevents@~2.3.2: version "2.3.2" resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== @@ -70,16 +70,16 @@ path-parse@^1.0.6: resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -postcss@^8.3.0: - version "8.3.4" - resolved "https://registry.npmjs.org/postcss/-/postcss-8.3.4.tgz#41ece1c43f2f7c74dc7d90144047ce052757b822" - integrity sha512-/tZY0PXExXXnNhKv3TOvZAOUYRyuqcCbBm2c17YMDK0PlVII3K7/LKdt3ScHL+hhouddjUWi+1sKDf9xXW+8YA== +postcss@^8.3.4: + version "8.3.5" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.3.5.tgz#982216b113412bc20a86289e91eb994952a5b709" + integrity sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA== dependencies: colorette "^1.2.2" nanoid "^3.1.23" source-map-js "^0.6.2" -resolve@^1.19.0: +resolve@^1.20.0: version "1.20.0" resolved "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -88,25 +88,25 @@ resolve@^1.19.0: path-parse "^1.0.6" rollup@^2.38.5: - version "2.51.2" - resolved "https://registry.npmjs.org/rollup/-/rollup-2.51.2.tgz#6de71e28c833089a0bd745a09671a3e2b92af6b7" - integrity sha512-ReV2eGEadA7hmXSzjxdDKs10neqH2QURf2RxJ6ayAlq93ugy6qIvXMmbc5cWMGCDh1h5T4thuWO1e2VNbMq8FA== + version "2.52.2" + resolved "https://registry.npmjs.org/rollup/-/rollup-2.52.2.tgz#a7e90d10ddae3e8472c2857bd9f44b09ef34a47a" + integrity sha512-4RlFC3k2BIHlUsJ9mGd8OO+9Lm2eDF5P7+6DNQOp5sx+7N/1tFM01kELfbxlMX3MxT6owvLB1ln4S3QvvQlbUA== optionalDependencies: - fsevents "~2.3.1" + fsevents "~2.3.2" source-map-js@^0.6.2: version "0.6.2" resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== -vite@^2.3.7: - version "2.3.7" - resolved "https://registry.npmjs.org/vite/-/vite-2.3.7.tgz#3023892419367465e1af1739578f8663d04243b2" - integrity sha512-Y0xRz11MPYu/EAvzN94+FsOZHbSvO6FUvHv127CyG7mV6oDoay2bw+g5y9wW3Blf8OY3chaz3nc/DcRe1IQ3Nw== +vite@^2.3.8: + version "2.3.8" + resolved "https://registry.npmjs.org/vite/-/vite-2.3.8.tgz#42e3e03953859fd410e4e6ab3d1cca0aab2adc3c" + integrity sha512-QiEx+iqNnJntSgSF2fWRQvRey9pORIrtNJzNyBJXwc+BdzWs83FQolX84cTBo393cfhObrtWa6180dAa4NLDiQ== dependencies: - esbuild "^0.12.5" - postcss "^8.3.0" - resolve "^1.19.0" + esbuild "^0.12.8" + postcss "^8.3.4" + resolve "^1.20.0" rollup "^2.38.5" optionalDependencies: - fsevents "~2.3.1" + fsevents "~2.3.2"